:root {
    --noce-green: #233728;
    --noce-black: #231d1b;
    --noce-gray: #6b6b6b;
    --noce-light: #e6e6e6;
    --noce-white: #ffffff;
    --overlay-dark: rgba(35,29,27,0.45);

    /* Tipografia Oficial Noce Mobili — Aktiv Grotesk */
    --font-display: 'Aktiv Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Aktiv Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Aktiv Grotesk — Tipografia Oficial Noce Mobili */
@font-face {
    font-family: 'Aktiv Grotesk';
    src: url('/fonts/AktivGrotesk-Hairline.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    src: url('/fonts/AktivGrotesk-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    src: url('/fonts/AktivGrotesk-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    src: url('/fonts/AktivGrotesk-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    src: url('/fonts/AktivGrotesk-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--noce-white);
    color: var(--noce-black);
    font-family: var(--font-body);
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar mais discreta (mantém acessibilidade) */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(35,55,40,0.3); border-radius: 3px; }
body { scrollbar-width: thin; scrollbar-color: rgba(35,55,40,0.3) transparent; }

/* Lenis config */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* FIXED UI */
.fixed-ui {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 999;
}
.logo {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: box-shadow 0.3s;
}
.whatsapp-btn::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid #25D366;
    opacity: 0;
    animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}
.whatsapp-btn:hover {
    box-shadow: 0 6px 25px rgba(37,211,102,0.4);
}

/* SECTIONS */
.section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

/* HERO */
.hero {
    background: var(--noce-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; 
}
.hero-overlay {
    position: absolute; inset: 0;
    background-color: var(--overlay-dark);
}
.hero-content {
    position: relative; z-index: 10;
    color: var(--noce-white);
    text-align: center;
}
.hero-logo {
    font-family: 'Aktiv Grotesk', serif;
    font-size: 20vw;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1;
}
.hero-content .main-logo-img {
    height: var(--hero-logo-size-desktop, 12vw);
    width: auto;
    object-fit: contain;
    margin-bottom: 2rem;
    transition: height 0.3s ease;
}
.hero-tagline {
    font-size: 14px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-top: 1rem;
    padding: 0 6vw;
    line-height: 1.6;
    text-align: center;
    max-width: 700px;
}

/* MANIFESTO */
.manifesto {
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    background: var(--noce-white);
    color: var(--noce-black);
    padding: 6vh 5vw; /* Adds breathable space around */
}
.manifesto-wrap {
    display: flex;
    gap: 0.3vw;
    overflow: hidden;
    margin-bottom: 2.5rem;
    align-items: center;
    justify-content: center;
}
.manifesto-wrap h2 {
    font-weight: 300;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    white-space: nowrap;
    padding: 0 0.5vw;
}
.manifesto-body {
    width: 100%;
    display: flex;
    justify-content: center;
}
.m-body {
    max-width: 800px; 
    font-size: clamp(1rem, 1.5vw, 1.5rem); 
    line-height: 1.6;
    text-align: center;
    padding: 0 5vw;
}

/* AMBIENTES (Horizontal Scroll) */
.ambiente-pin-wrap {
    height: 100vh;
    display: flex;
    background: var(--noce-green);
    color: var(--noce-white);
    position: relative;
    overflow: hidden;
}

/* Entry Título */
.ambiente-entry {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    z-index: 10;
    pointer-events: none;
}
.ambiente-entry h2 {
    font-size: 18vw;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* O Track de rolagem lateral — Desktop: overflow scroll / Mobile: swipe nativo */
.ambiente-track {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;
}
.ambiente-track::-webkit-scrollbar { display: none; }

/* Setas de Navegação (apenas desktop) */
.amb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--noce-white);
    width: 52px; height: 52px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background 0.2s, opacity 0.3s;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}
.amb-arrow:hover { background: rgba(255,255,255,0.3); }
.amb-arrow-prev { left: 2rem; }
.amb-arrow-next { right: 2rem; }

.gallery-item {
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    position: relative;
    flex-shrink: 0;
    scroll-snap-align: start;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: var(--pos-desk, center center);
}
.gallery-item .overlay-title {
    position: absolute;
    bottom: 3rem; left: 3rem;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    background: rgba(0,0,0,0.5);
    padding: 1rem;
}
/* Estilo da Microlegenda (Glassmorphism) */
.gallery-item .micro-caption {
    position: absolute;
    bottom: 3rem; right: 3rem;
    font-size: 12px;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: var(--noce-white);
    max-width: 300px;
}
.gallery-sweep-line {
    position: absolute; right: 0; top: 0; width: 1px; height: 100%; background: var(--noce-white);
}

/* ACABAMENTOS (Amostras) */
.acabamentos-sec {
    background: var(--noce-white);
    padding: 10vh 0;
}
.section-entry-word {
    text-align: center; font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 100; color: var(--noce-black);
    letter-spacing: 0.05em;
    margin-bottom: 4rem;
}
.acabamentos-wrapper {
    position: relative;
    width: 100%;
    min-height: 200vh; /* Espaço pro ScrollTrigger flutuar elementos */
    background: transparent;
    overflow: hidden;
}
.swatch {
    position: absolute;
    width: 280px; height: 420px;
    background: #ccc;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    z-index: 1;
}
.swatch img { width: 100%; height: 100%; object-fit: cover; }
.swatch .name {
    position: absolute; bottom: 0; background: var(--noce-white);
    width: 100%; padding: 1rem; font-size: 12px; opacity: 0; transition: 0.3s;
}
.swatch:hover .name, .swatch.active .name { opacity: 1; }
.swatch.active {
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

/* PROCESSO */
.processo {
    background: var(--noce-green);
    color: var(--noce-white);
    display: flex; flex-direction: column; justify-content: center;
    position: relative;
    padding: 6vh 0 4rem;
}
.proc-head { text-align: center; margin-bottom: 4rem; font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 300; letter-spacing: 0.05em;}
.proc-steps {
    display: flex; justify-content: space-around; align-items: flex-start;
    position: relative; z-index: 2;
    padding: 0 2vw;
    gap: 1rem;
}
.step { text-align: center; flex: 1; max-width: 160px; }
.step p { word-break: break-word; }
.step-num {
    font-size: 2rem; width: 60px; height: 60px;
    border: 1px solid var(--noce-white); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem; background: var(--noce-green);
}
.proc-linha-progresso {
    position: absolute; top: 50%; left: 10vw; width: 80vw; height: 1px;
    background: rgba(255,255,255,0.2); z-index: 1;
}

/* PARCEIROS (Spotlight) */
.parceiros-sec {
    background: var(--noce-green);
    color: var(--noce-white);
    position: relative;
}
.parceiros-title {
    position: sticky; top: 10vh; text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 100; /* Hairline */
    font-family: 'Aktiv Grotesk', sans-serif;
    letter-spacing: 0.05em;
    padding: 0 5vw;
}
.parceiros-spotlight {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4vw;
    padding-top: 8vh;
    padding-bottom: 8vh;
}
.parc-logo {
    width: 140px; max-width: 18vw; height: auto; margin: 1.5vh 0;
    opacity: 0.2; filter: grayscale(100%);
    transition: all 0.5s;
}
.parc-logo.active {
    opacity: 1; filter: grayscale(0%);
    transform: scale(1.05); /* Escala reduzida também na ativação */
}

/* INSTAGRAM */
.instagram-strip { height: 50vh; background: var(--noce-white); overflow: hidden; display: flex; align-items: center;}
.insta-horizontal { display: flex; gap: 1rem; }
.insta-item { width: 300px; height: 300px; background: #eee; }

/* CONTATO CTA */
.contato {
    background: var(--noce-green); display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: var(--noce-white); text-align: center;
}
.cta-headline { font-size: clamp(2rem, 5vw, 4rem); font-weight: 100; letter-spacing: 0.05em; margin-bottom: 4rem;}
.cta-btns { display: flex; gap: 2rem; }
.btn-outline {
    padding: 1.5rem 3rem; border: 1px solid var(--noce-white);
    color: var(--noce-white); letter-spacing: 0.25em; text-transform: uppercase; font-size: 12px;
}
.minimal-footer { position: relative; margin-top: 4rem; font-size: 10px; color: rgba(255,255,255,0.4); }

/* === ACCESSIBILITY: Skip Link === */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: var(--noce-green);
    color: var(--noce-white);
    z-index: 10000;
    font-size: 0.85rem;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* === CTA INTERMEDIÁRIO === */
.cta-mid {
    min-height: auto;
    padding: 6rem 2rem;
    background: var(--noce-white);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cta-mid-inner {
    text-align: center;
}
.cta-mid-text {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 300;
    color: var(--noce-gray);
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-mid-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border: 1px solid var(--noce-green) !important;
    color: var(--noce-green) !important;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
}
.cta-mid-btn:hover {
    background: var(--noce-green);
    color: var(--noce-white) !important;
}

/* === FAQ SECTION === */
.faq-sec {
    min-height: auto;
    padding: 8rem 2rem;
    background: var(--noce-white);
}
.faq-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 100;
    letter-spacing: 0.05em;
    color: var(--noce-black);
    margin-bottom: 4rem;
}
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--noce-light);
    padding: 1.5rem 0;
}
.faq-item summary {
    font-weight: 400;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 0.02em;
    color: var(--noce-black);
}
.faq-item summary::after {
    content: '+';
    font-weight: 100;
    font-size: 1.5rem;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
}
.faq-item[open] summary::after {
    content: '−';
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--noce-gray);
    font-weight: 300;
}

/* === SWIPE ICON === */
.swipe-icon-container {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}
.swipe-icon-container.visible { opacity: 1; }
.swipe-text {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}
.swipe-hand {
    fill: rgba(255,255,255,0.4);
    width: 24px;
    height: 24px;
    animation: swipe-anim 1.5s ease-in-out infinite;
}
@keyframes swipe-anim {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-10px); }
}

/* === PROCESSO — TYPOGRAPHY FIX === */
.proc-title {
    font-weight: 100;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    letter-spacing: 0.05em;
}
