/* ======================== 1. VARIÁVEIS & RESET ======================== */
:root {
    --preto: #111111;
    --branco: #FFFFFF;
    --marrom-terra: #A87B5A;
    --azul-cta: #3b3bff;
    --creme: #fdfbf7; /* Adicionei para a classe section--cream */
    --cinza-escuro: #1A1A1A; /* Para a seção de testemunhos */
    --font-main: 'Space Grotesk', sans-serif;
        --verde-brasil: #009c3b;
    --amarelo-brasil: #ffdf00;
    --azul-brasil: #002776;

}


/* 2. SUBSTITUA O CSS DO CURSOR POR ESTE */

.cursor {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    
    /* Degradê Brasil Sofisticado */
    background: linear-gradient(135deg, var(--verde-brasil), var(--amarelo-brasil));
    
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000; /* Acima de tudo */
    pointer-events: none;
    transform: translate(-50%, -50%);
    
    /* Sombra sutil para dar profundidade 3D */
    box-shadow: 0 0 10px rgba(0, 156, 59, 0.4);
    
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s, transform 0.1s;
}

/* Estado Hover (Quando passa sobre links/botões) */
.cursor.hover {
    width: 50px;
    height: 50px;
    
    /* Fundo transparente para virar um anel */
    background: transparent;
    
    /* Borda Amarela Vibrante */
    border: 2px solid var(--amarelo-brasil);
    
    /* Brilho externo amarelo */
    box-shadow: 0 0 15px rgba(255, 223, 0, 0.3);
}

/* Estado Active (Quando clica) - Adicionaremos via JS se quiser, 
   mas o CSS pseudo-classe :active não funciona bem em div fixa. 
   Vamos usar uma classe .click via JS abaixo */
.cursor.click {
    transform: translate(-50%, -50%) scale(0.8);
    background: var(--azul-brasil);
    border-color: var(--azul-brasil);
    box-shadow: 0 0 15px rgba(0, 39, 118, 0.5);
}

/* Esconde no Mobile/Tablet (Importante!) */
@media (max-width: 992px) {
    .cursor { display: none; }
    body { cursor: auto; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--branco);
    color: var(--preto);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ======================== 2. UTILITÁRIOS & PRELOADER ======================== */
body.loading { overflow: hidden; }

#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 99999; display: flex; overflow: hidden;
}
.preloader-panel {
    width: 50%; height: 100%; background-color: var(--preto);
}
.preloader-content {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; justify-content: center; align-items: center;
}
.preloader-counter {
    font-family: var(--font-main); font-weight: 700;
    font-size: clamp(4rem, 15vw, 10rem); color: var(--branco);
}



/* Transição de Página */
#page-transition-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: var(--preto); z-index: 9999;
    transform: translateY(100%); pointer-events: none;
}

/* ======================== 3. HEADER & NAV ======================== */
#header {
    position: fixed; top: 1.5rem; left: 50%;
    transform: translateX(-50%); width: 90%; max-width: 900px;
    z-index: 500; transition: all 0.3s ease;
}
#header.scrolled .header__container {
    background-color: var(--preto); border-color: #333;
}
.header__container {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.8rem 1.5rem; border-radius: 50px;
    background-color: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: background-color 0.4s ease, border-color 0.4s ease;
}
.header__logo {
    font-weight: 700; color: var(--branco); font-size: 1.2rem;
}

/* Navegação Desktop Padrão */
.header__nav-container { display: flex; align-items: center; gap: 2rem; }
.nav-column { display: flex; gap: 2rem; }
.nav-column__title { display: none; } /* Só aparece no mobile */

.nav-column__link {
    color: #c0c0c0; font-weight: 700; font-size: 0.9rem;
    transition: color 0.3s;
}
.nav-column__link:hover { color: var(--branco); }

/* ======================== BOTÃO HAMBÚRGUER PREMIUM ======================== */
.hamburger {
    display: none; /* Invisível em Desktop (aparece no media query) */
    width: 40px;   /* Área de clique confortável */
    height: 40px;
    position: relative;
    cursor: pointer;
    z-index: 9999; /* Sempre acima de tudo */
    background: transparent;
    border: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Container interno para alinhar as linhas */
.hamburger-inner {
    width: 28px;
    height: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Estilo base das linhas */
.hamburger span {
    display: block;
    position: absolute;
    height: 2px;           /* Linha fina e elegante */
    width: 100%;
    background: var(--branco);
    border-radius: 4px;
    opacity: 1;
    left: 0;
    transform-origin: center;
    
    /* A MÁGICA DA FLUIDEZ:
       Animamos 'top' primeiro, e 'transform' (rotação) depois. 
       Isso cria o efeito de 2 tempos. */
    transition: 
        top 0.3s 0.3s cubic-bezier(0.33, 1, 0.68, 1), 
        transform 0.3s 0s cubic-bezier(0.33, 1, 0.68, 1),
        width 0.3s ease,
        background-color 0.3s;
}

/* Posição Inicial das Linhas */
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { top: 100%; transform: translateY(-100%); }


/* === ESTADO HOVER (ANTES DE CLICAR) === */
/* As linhas se afastam um pouco, "respirando" */
.hamburger:hover span:nth-child(1) { top: -2px; }
.hamburger:hover span:nth-child(3) { top: calc(100% + 2px); }


/* === ESTADO ATIVO (O "X") === */
.hamburger.is-active span:nth-child(1) {
    top: 50%;
    /* Gira 45 graus APÓS mover para o centro */
    transform: translateY(-50%) rotate(45deg);
    
    /* Inverte a transição: move 'top' rápido, gira 'transform' depois */
    transition: 
        top 0.3s 0s cubic-bezier(0.33, 1, 0.68, 1), 
        transform 0.3s 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
    transform: scale(0); /* Desaparece suavemente */
    transition: all 0.2s ease;
}

.hamburger.is-active span:nth-child(3) {
    top: 50%;
    /* Gira -45 graus APÓS mover para o centro */
    transform: translateY(-50%) rotate(-45deg);
    
    transition: 
        top 0.3s 0s cubic-bezier(0.33, 1, 0.68, 1), 
        transform 0.3s 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

/* Se estiver em fundo claro (opcional, dependendo da sua página) */
/* .hamburger.is-active span { background: var(--marrom-terra); } */

/* Media Query para garantir que apareça no mobile */
@media (max-width: 992px) {
    .hamburger { display: block; }
}
/* ======================== 4. HERO ======================== */
.hero {
    height: 100vh; position: relative; display: flex;
    align-items: center; justify-content: center;
    color: var(--branco); overflow: hidden; background-color: var(--preto);
}
.hero__background {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=2070&auto=format&fit=crop');
    background-size: cover; background-position: center;
    filter: blur(8px) brightness(0.6); transform: scale(1.1); z-index: 1;
}
.hero__content { text-align: center; padding: 0 5%; position: relative; z-index: 2; }
.hero__awards {
    display: flex; justify-content: center; gap: 1.5rem;
    font-size: 0.8rem; font-weight: 700; opacity: 0.8; margin-bottom: 1rem;
}
.hero__title {
    font-size: clamp(3rem, 9vw, 8rem); line-height: 1;
    font-weight: 700; text-shadow: 0px 2px 10px rgba(0,0,0,0.3);
}
.hero__floating-image {
    width: 100px; height: 100px;
    background-image: url(https://images.unsplash.com/photo-1531746020798-1c13c32a8853?q=80&w=1974&auto=format&fit=crop);
    background-size: cover; background-position: center; border-radius: 1.5rem;
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); z-index: 10;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.2);
}
.hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem); margin-top: 1rem;
    font-weight: 400; opacity: 0.9;
}
.hero__footer {
    position: absolute; bottom: -20vh; left: 5%; width: 90%;
    display: flex; justify-content: space-between; font-size: 0.9rem;
}

/* ======================== 5. MARCAS (MARQUEE) ======================== */
.brands {
    padding: 6rem 0; background-color: var(--preto); color: var(--branco);
    position: relative; z-index: 20; overflow: hidden;
}
.brands__container { width: 90%; max-width: 1120px; margin: 0 auto; text-align: center; }
.brands__title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; margin-bottom: 4rem; }
.brands-marquee {
    width: 100%; overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}
.brands-track {
    display: flex; gap: 6rem; align-items: center;
    animation: marquee 40s linear infinite;
}
.brands-marquee:hover .brands-track { animation-play-state: paused; }
.brands-track img {
    height: 45px; width: auto; object-fit: contain;
    filter: brightness(0) invert(1) grayscale(1); opacity: 0.7; transition: opacity 0.3s;
}
.brands-track img:hover { opacity: 1; }
@keyframes marquee { from { transform: translateX(0%); } to { transform: translateX(-50%); } }

/* ======================== 6. GALERIA ======================== */
.gallery {
    padding: 8rem 0; position: relative; z-index: 20;
    background-color: var(--branco); color: var(--preto); overflow: hidden;
}
.gallery__container { width: 90%; max-width: 1280px; margin: 0 auto; }
.gallery__header { text-align: center; margin-bottom: 4rem; }
.gallery__title { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; }
.gallery__subtitle { font-size: 1.1rem; max-width: 600px; margin: 1rem auto 0; color: #555; }

.gallery-marquee { width: 100%; overflow: hidden; }
.gallery-track { display: flex; width: max-content; animation: horizontal-marquee 60s linear infinite; }
.gallery-marquee:hover .gallery-track { animation-play-state: paused; }
.gallery-card {
    height: 350px; width: auto; margin: 0 1rem; border-radius: 12px;
    overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.gallery-card img { height: 100%; width: 100%; object-fit: cover; display: block; }
@keyframes horizontal-marquee { from { transform: translateX(0%); } to { transform: translateX(-50%); } }

/* ======================== 7. LISTA DE PROJETOS ======================== */
.projects { padding: 0 5%; background-color: var(--branco); position: relative; z-index: 20; }
.project-item { padding: 3rem 0; border-top: 2px solid var(--preto); position: relative; }
.project-item:last-child { border-bottom: 2px solid var(--preto); }
.project-item__text { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.project-item__number, .project-item__year { font-size: 1rem; color: #888; }
.project-item__title {
    font-size: clamp(2.5rem, 8vw, 6rem); line-height: 1;
    font-weight: 700; flex-grow: 1; text-align: center; padding: 0 2rem;
}
.project-item__image {
    position: fixed; top: 0; left: 0; width: 350px; height: 450px;
    background-size: cover; background-position: center;
    z-index: -1; pointer-events: none; opacity: 0; transform: scale(0.8);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.project-item:hover .project-item__image { opacity: 1; transform: scale(1); }

/* ======================== 8. INSTAGRAM (Corrigido e Desduplicado) ======================== */
.section--cream { background-color: var(--creme); }
.instagram { padding: 6rem 0; position: relative; z-index: 20; }
.instagram__container { width: 90%; max-width: 1120px; margin: 0 auto; }
.instagram__header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 3rem; gap: 2rem;
}
.instagram__title {
    font-size: clamp(2rem, 5vw, 3rem); color: var(--preto);
    font-weight: 700; flex-shrink: 0;
}
.instagram__subtitle { font-size: 1rem; color: #555; max-width: 450px; }

.instagram-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.instagram-card {
    cursor: pointer; background-color: var(--branco);
    border: 1px solid #EAEAEA; border-radius: 16px; overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.instagram-card:hover {
    transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}
.card__header { display: flex; align-items: center; padding: 0.8rem 1rem; }
.card__username { font-weight: 700; color: var(--preto); font-size: 0.9rem; }
.card__media {
    position: relative; width: 100%; padding-bottom: 125%; /* Proporção 5:4 */
    background-size: cover; background-position: center;
}
.play-button {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60px; height: 60px; background-color: rgba(0,0,0,0.5);
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
}
.play-button svg { width: 30px; height: 30px; fill: var(--branco); margin-left: 4px; }
.card__footer {
    display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 1rem;
}
.card__actions { display: flex; gap: 1rem; }
.card__footer svg { width: 24px; height: 24px; fill: var(--preto); }
/* Like Button Interaction */
.like-button { cursor: pointer; transition: fill 0.2s; }
.like-button.is-liked { fill: #ed4956 !important; }

/* ======================== 9. EXPERTISE ======================== */
.expertise { padding: 8rem 0; position: relative; z-index: 20; color: var(--preto); }
.expertise__container { width: 90%; max-width: 1120px; margin: 0 auto; }
.expertise__header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px solid #dcdcdc;
}
.expertise__title {
    font-size: clamp(4rem, 10vw, 7rem); font-weight: 700;
    line-height: 0.85; color: var(--preto);
}
.expertise__subtitle {
    font-size: 0.9rem; color: #555; text-align: right; max-width: 300px;
}
.expertise-list ul { list-style: none; }
.expertise-list__header {
    display: flex; justify-content: space-between; font-size: 0.8rem;
    color: #888; text-transform: uppercase; padding: 0 1rem 0.5rem 1rem;
}
.expertise-item {
    display: flex; align-items: center; padding: 1.5rem 1rem;
    border-bottom: 1px solid #dcdcdc; font-size: 1.2rem; font-weight: 700;
}
.item-number { color: #888; width: 80px; flex-shrink: 0; }
.item-name { flex-grow: 1; }
.item-icon { width: 12px; height: 12px; background-color: var(--preto); }

/* ======================== 10. SELECTED WORK ======================== */
.selected-work {
    padding: 8rem 0; background-color: var(--preto); color: var(--branco);
    position: relative; z-index: 20;
}
.work__container { width: 90%; max-width: 1440px; margin: 0 auto; }
.work__header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 3rem; padding: 0 1rem;
}
.work__title {
    font-size: clamp(4rem, 10vw, 7rem); font-weight: 700; line-height: 0.85;
}
.work__subtitle {
    font-size: 0.9rem; color: #aaa; text-align: right; max-width: 300px;
}
.work-grid { display: grid; gap: 2rem; }
.work-card { border: 1px solid #333; border-radius: 12px; overflow: hidden; }
.card-marquee { height: 300px; overflow: hidden; }
.card-track {
    display: flex; width: max-content; height: 100%;
    animation: card-marquee 40s linear infinite;
}
.card-track img {
    height: 100%; width: auto; object-fit: cover; padding-right: 1.5rem;
}
@keyframes card-marquee { from { transform: translateX(0%); } to { transform: translateX(-50%); } }

.card-footer {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 1.5rem; background-color: var(--branco); color: var(--preto);
}
/* ======================== FOOTER (NOVO LAYOUT PREMIUM) ======================== */
.footer {
    background-color: var(--preto);
    color: var(--branco);
    padding: 8rem 0 2rem 0;
    position: relative;
    z-index: 20;
    overflow: hidden;
}

.footer__container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.footer__content-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 6rem;
}

/* --- Coluna Esquerda (CTA) --- */
.footer__cta-column {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer__cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}
.reg-mark {
    font-size: 1rem;
    position: relative;
    top: -1.5rem;
    font-weight: 400;
}

.footer__big-email {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--branco);
    text-decoration: none;
    line-height: 1;
    margin-bottom: 2rem;
    word-break: break-all; /* Garante que e-mails longos não quebrem o layout */
    transition: color 0.3s ease;
}

.footer__big-email:hover {
    color: var(--marrom-terra); /* Cor da marca no hover */
}

.footer__cta-text {
    color: #888;
    font-size: 1.1rem;
    max-width: 400px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Botão Pílula Branco */
.footer__contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--branco);
    color: var(--preto);
    padding: 0.8rem 2rem 0.8rem 0.8rem; /* Padding maior na direita para o texto */
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-icon {
    width: 40px;
    height: 40px;
    background-color: var(--preto);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--branco);
    transition: transform 0.3s ease;
}

.footer__contact-btn:hover {
    background-color: var(--marrom-terra); /* Marca no hover */
    color: var(--branco);
}

.footer__contact-btn:hover .btn-icon {
    transform: translateX(5px);
    background-color: var(--branco);
    color: var(--preto);
}

/* --- Coluna Direita (Navegação) --- */
.footer__nav-column {
    width: 50%;
}

.footer__nav-list {
    list-style: none;
}

.footer__nav-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Linhas divisórias sutis */
}

.footer__nav-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    text-decoration: none;
    color: var(--branco);
    transition: padding 0.3s ease, color 0.3s ease;
}

.nav-number {
    font-size: 1rem;
    color: #666; /* Número mais apagado */
    margin-right: 1.5rem;
    font-weight: 400;
}

.nav-text {
    font-size: 1.5rem;
    font-weight: 700;
    flex-grow: 1; /* Empurra a seta para a direita */
}

.nav-arrow {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

/* Hover na Navegação */
.footer__nav-item:hover {
    color: var(--marrom-terra);
    padding-left: 1rem; /* Leve movimento para a direita */
}

.footer__nav-item:hover .nav-number {
    color: var(--marrom-terra);
}

.footer__nav-item:hover .nav-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* --- Copyright Bottom --- */
.footer__bottom-copyright {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .footer__content-wrapper {
        flex-direction: column;
        gap: 4rem;
    }
    .footer__cta-column, .footer__nav-column {
        width: 100%;
    }
    .footer {
        padding: 6rem 0 2rem 0;
    }
}
.project-title { font-size: 1.2rem; font-weight: 700; }
.project-category { font-size: 0.9rem; color: #888; }
.project-link { font-weight: 700; text-decoration: underline; }

/* ======================== 11. VIDEO FEATURE ======================== */
.video-feature {
    position: relative; height: 80vh; background-color: var(--preto);
    display: flex; justify-content: center; align-items: center;
    overflow: hidden; color: var(--branco); z-index: 20;
}
.video-feature__background {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: 1;
}
.video-feature__overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4); z-index: 2;
}
.video-feature__content { position: relative; z-index: 3; text-align: center; }
.video-feature__icon { margin-bottom: 1rem; }
.video-feature__title {
    font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.2;
}

/* ======================== 12. FOOTER ======================== */
.footer {
    background-color: var(--preto); color: var(--branco);
    padding: 8rem 5% 2rem 5%; position: relative; z-index: 20;
}
.footer__title { font-size: clamp(2.5rem, 7vw, 5rem); margin-bottom: 2rem; }
.footer__email {
    display: inline-block; font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-decoration: underline; margin-bottom: 8rem; transition: color 0.3s;
}
.footer__email:hover { color: var(--marrom-terra); }
.footer__bottom {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 1rem; font-weight: 700;
}
.footer__socials a { margin-right: 1.5rem; text-decoration: underline; }
.footer__location span { margin-left: 1rem; }

/* ======================== 13. MEDIA QUERIES (UNIFICADAS) ======================== */

/* Tablet (até 992px) */
@media (max-width: 992px) {
    .instagram-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-card { height: 300px; }
    
    /* Menu Mobile começa a aparecer aqui se desejar, ou mantemos em 768px */
    /* Ajustes no Header para Tablet */
    .header__nav { display: none; }
    .hamburger { display: block; }
    
    /* Lógica do Menu Dropdown (quando ativo) */
    .header__nav.is-active {
        display: block; position: absolute; top: calc(100% + 10px);
        left: 0; width: 100%; background-color: var(--preto);
        border-radius: 12px; padding: 2rem; opacity: 1;
        transform: translateY(0); pointer-events: auto;
    }
    
    /* Ajuste do Container do Header para comportar dropdown */
    #header {
        max-width: none; width: 100%; top: 0; border-radius: 0; position: relative;
    }
    .header__container { border-radius: 0; padding: 1rem 5%; }
    
    /* Dentro do menu */
    .header__nav-container { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
    .nav-column { display: block; }
    .nav-column__title {
        display: block; color: #888; font-size: 0.8rem;
        font-weight: 700; text-transform: uppercase; margin-bottom: 1rem;
    }
    .nav-column__link {
        display: block; color: var(--branco); margin-bottom: 0.8rem;
    }
}

/* Mobile (até 768px) */
@media (max-width: 768px) {
    /* UI Geral */
    .cursor { display: none; }
    body { cursor: auto; }
    
    /* Header (ajustes finos para mobile) */
    .header__cta { display: none; }
    body.menu-open { overflow: hidden; }
    
    /* Hero */
    .hero__floating-image { display: none; } /* Opcional: esconder a imagem flutuante no mobile */

    /* Gallery */
    .gallery-track { animation-duration: 45s; }
    .gallery-card { height: 220px; margin: 0 0.8rem; }
    
    /* Projects */
    .project-item__text { flex-direction: column; align-items: center; gap: 1rem; }
    .project-item__title { padding: 0; }
    .project-item__image { display: none; }
    
    /* Instagram */
    .instagram__header { flex-direction: column; align-items: flex-start; }
    .instagram-grid { grid-template-columns: 1fr; }
    
    /* Expertise */
    .expertise__header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .expertise__subtitle { text-align: left; }
    .expertise-item { font-size: 1rem; }
    .item-number { width: 40px; }
    
    /* Work */
    .work__header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .work__subtitle { text-align: left; }
    .card-marquee { height: 200px; }
    
    /* Footer */
    .footer__bottom { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .footer__email { margin-bottom: 4rem; }
}

/* ======================== WHATSAPP OFICIAL STYLING ======================== */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    z-index: 9000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    cursor: pointer;
    
    /* Cor Oficial Principal */
    background-color: #25D366; 
    
    /* Sombra verde suave */
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    
    /* Entrada animada (Controlada pelo JS) */
    opacity: 0; 
    transform: scale(0.5);
    
    transition: all 0.3s ease;
}

/* Container do Ícone */
/* ... regras do .whatsapp-btn ... */

/* ÍCONE SIMPLIFICADO */
.whatsapp-btn i {
    color: #ffffff;      /* Cor branca */
    font-size: 40px;     /* Tamanho do ícone (Aumente ou diminua aqui) */
    z-index: 2;          /* Ficar acima da animação */
    transition: transform 0.3s ease;
    line-height: 1;      /* Remove espaços extras */
}

/* Efeito ao passar o mouse (ícone cresce um pouco) */
.whatsapp-btn:hover i {
    transform: scale(1.1) rotate(-5deg); /* Um leve balanço */
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    .whatsapp-btn i {
        font-size: 32px; /* Um pouco menor no celular */
    }
}
/* Tooltip (Balão de Texto) */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: #FFFFFF;
    color: #111111;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    
    /* Triângulo do balão */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #FFFFFF;
}

/* Animação de Pulso (Ring) */
.whatsapp-pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    z-index: 1;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* === INTERAÇÕES === */

/* Hover: Muda para o Verde Escuro Oficial */
.whatsapp-btn:hover {
    background-color: #128C7E; /* Verde escuro oficial do WA */
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(18, 140, 126, 0.5);
}

/* Hover: Mostra o Tooltip */
.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* === RESPONSIVIDADE === */
@media (max-width: 768px) {
    .whatsapp-btn {
        width: 56px;
        height: 56px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    .whatsapp-icon-container svg {
        width: 28px;
        height: 28px;
    }
    /* No mobile, geralmente escondemos o tooltip para não atrapalhar */
    .whatsapp-tooltip {
        display: none;
    }
}

/* ======================== SEÇÃO VISUAL IDENTITY (GRID) ======================== */
.section--black {
    background-color: var(--preto);
    color: var(--branco);
}

.visual-id {
    padding: 8rem 0;
    position: relative;
    z-index: 20;
}

.visual-id__container {
    width: 90%;
    max-width: 1200px; /* Um pouco mais largo para o grid respirar */
    margin: 0 auto;
}

.visual-id__header {
    text-align: center;
    margin-bottom: 5rem;
}
.visual-id__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
}
.visual-id__subtitle {
    color: #888;
    font-size: 1.1rem;
}

/* GRID LAYOUT */
.visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Colunas como na referência */
    gap: 1.5rem; /* Espaço entre os cards */
}

/* CARD ESTILO */
.visual-card {
    position: relative;
    width: 100%;
    /* Define uma altura fixa ou proporção para ficarem uniformes */
    aspect-ratio: 4 / 3; 
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px; /* Canto levemente arredondado */
}

.visual-card__image {
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.visual-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem preencha tudo */
}

/* Overlay escuro para o texto aparecer */
.visual-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%; /* Gradiente só na parte de baixo */
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    z-index: 1;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.visual-card__content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 2;
}

.client-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--branco);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.project-tags {
    font-size: 0.75rem;
    font-weight: 700;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* HOVER EFFECTS */
.visual-card:hover .visual-card__image {
    transform: scale(1.05); /* Zoom suave na imagem */
}

.visual-card:hover .visual-card__overlay {
    opacity: 1; /* Escurece um pouco mais para ler melhor */
}

.visual-card:hover .client-name {
    transform: translateY(-2px); /* Texto sobe levemente */
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .visual-grid {
        grid-template-columns: 1fr; /* 1 Coluna no Mobile */
        gap: 1rem;
    }
    .visual-card {
        aspect-ratio: 16 / 9; /* Cards mais panorâmicos no mobile */
    }
    .visual-card__content {
        bottom: 1.5rem;
        left: 1.5rem;
    }
    .client-name {
        font-size: 1.2rem;
    }
}


/* ======================== SEÇÃO FOTOGRAFIA (HORIZONTAL) ======================== */
.photography {
    position: relative;
    overflow: hidden; /* O GSAP vai controlar o scroll */
    padding: 0;       /* Padding controlado internamente */
}

.photography__header-container {
    position: absolute;
    top: 4rem;
    left: 5%;
    z-index: 10;
    pointer-events: none; /* Permite clicar através do texto */
}

.photography__title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--preto);
    line-height: 0.9;
    margin-bottom: 1rem;
}

.photography__subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 400px;
    font-weight: 400;
}

/* Container que segura o trilho */
.photo-track-container {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
}

/* O trilho longo que contém as fotos */
.photo-track {
    display: flex;
    gap: 4vw; /* Espaço entre fotos */
    padding-left: 5vw; /* Espaço inicial */
    padding-right: 10vw; /* Espaço final */
    width: max-content; /* Largura baseada no conteúdo */
}

/* Estilo de cada item de foto */
.photo-item {
    position: relative;
    height: 60vh; /* Altura padrão das fotos */
    flex-shrink: 0; /* Impede que encolham */
    transition: transform 0.3s ease;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%); /* Começa preto e branco (Minimalista) */
    transition: filter 0.5s ease;
}

/* Efeito Hover na Foto: Fica Colorida */
.photo-item:hover img {
    filter: grayscale(0%);
}

/* Formatos Diferentes para Ritmo Visual */
.photo-item.portrait { aspect-ratio: 3/4; }
.photo-item.landscape { aspect-ratio: 16/9; }
.photo-item.wide { aspect-ratio: 4/3; }

.photo-caption {
    position: absolute;
    bottom: -2rem;
    left: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--preto);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.photo-item:hover .photo-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Indicador de Scroll no canto */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    right: 5%;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--preto);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}
.scroll-indicator .line {
    width: 40px;
    height: 1px;
    background-color: var(--preto);
}

/* === RESPONSIVIDADE === */
@media (max-width: 992px) {
    /* No mobile/tablet, desligamos o GSAP horizontal complexo 
       e usamos scroll nativo horizontal (mais fluido para dedo) */
    
    .photography {
        padding: 6rem 0;
        height: auto;
        overflow-x: hidden;
    }
    
    .photography__header-container {
        position: relative;
        top: 0;
        left: 0;
        padding: 0 5% 3rem 5%;
    }
    
    .photo-track-container {
        height: auto;
        overflow-x: auto; /* Scroll nativo */
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        padding-bottom: 2rem; /* Espaço para scrollbar */
    }
    
    .photo-track {
        padding-left: 5%;
        padding-right: 5%;
        gap: 1.5rem;
    }
    
    .photo-item {
        height: 50vh; /* Altura menor no mobile */
    }
    
    .photo-item img {
        filter: grayscale(0%); /* Sempre colorido no mobile */
    }
    
    .photo-caption {
        opacity: 1; /* Sempre visível no mobile */
        bottom: -1.5rem;
        transform: none;
    }
    
    .scroll-indicator { display: none; }
}

/* ======================== BOTÃO NEXT FOTOGRAFIA ======================== */
.photo-next-btn {
    position: absolute;
    bottom: 3rem; /* Alinhado com a parte inferior */
    right: 5%;    /* Alinhado à direita */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid var(--preto);
    background: transparent;
    color: var(--preto);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 15; /* Acima do conteúdo */
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Ícone SVG */
.photo-next-btn svg {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

/* Efeito de Hover (Preenchimento) */
.photo-next-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--marrom-terra); /* Cor da marca */
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.photo-next-btn:hover::before {
    transform: scale(1);
}

.photo-next-btn:hover {
    border-color: var(--marrom-terra);
    color: var(--branco); /* Ícone fica branco */
}

.photo-next-btn:hover svg {
    transform: translateX(3px); /* Ícone move levemente para direita */
}

/* Ajuste se tiver o indicador de scroll "Scroll" por perto */
.scroll-indicator {
    right: 120px; /* Empurra o texto "Scroll" para a esquerda do botão */
}

/* Responsividade */
@media (max-width: 992px) {
    .photo-next-btn {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        right: 1.5rem;
        background-color: rgba(255, 255, 255, 0.8); /* Fundo leve no mobile */
        backdrop-filter: blur(5px);
        border: 1px solid rgba(0,0,0,0.1);
    }
    /* No mobile, o indicador de texto some, então o botão fica sozinho */
}

/* ======================== SEÇÃO WEDDING (STICKY) ======================== */
.weddings {
    padding: 8rem 0;
    position: relative;
    background-color: var(--preto); /* Contraste com a seção anterior */
    color: var(--branco);
}

.weddings__container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start; /* Importante para o sticky funcionar */
    gap: 4rem;
}

/* --- Lado Esquerdo (Texto) --- */
.weddings__info {
    width: 40%;
    height: 100vh; /* Altura da tela para centralizar */
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
}

.section-tag {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--marrom-terra);
    margin-bottom: 1rem;
    display: block;
}

.weddings__title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 0.9;
    margin-bottom: 2rem;
}

.weddings__description {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
    max-width: 400px;
    margin-bottom: 3rem;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--branco);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--marrom-terra);
    border-color: var(--marrom-terra);
    gap: 15px; /* Seta move para direita */
}

/* --- Lado Direito (Galeria) --- */
.weddings__gallery {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 6rem; /* Espaço grande entre fotos */
    padding-top: 4rem; /* Um pouco de respiro no topo */
    padding-bottom: 4rem;
}

.wedding-card {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.wedding-card img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(30%); /* Levemente desaturado para elegância */
    transition: filter 0.5s ease;
}

.wedding-card:hover img {
    filter: grayscale(0%);
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .weddings__container {
        flex-direction: column; /* Empilha no mobile */
    }
    
    .weddings__info {
        width: 100%;
        height: auto;
        position: relative; /* Remove o sticky no mobile */
        top: auto;
        margin-bottom: 4rem;
    }
    
    .weddings__gallery {
        width: 100%;
        gap: 2rem;
        padding-top: 0;
    }
}

/* ======================== HEADER FIXO MOBILE (ATUALIZADO) ======================== */
@media (max-width: 992px) {
    
    /* 1. O Container Principal do Header */
    #header {
        position: fixed; /* O SEGREDO: Fixa na tela */
        top: 0;
        left: 0;
        width: 100%;
        max-width: none;
        transform: none; /* Remove a centralização do desktop */
        padding: 0;      /* Remove padding externo */
        z-index: 5000;   /* Garante que fique acima do conteúdo */
        transition: all 0.3s ease;
        background-color: transparent; /* Fundo inicial transparente */
    }

    /* 2. O Conteúdo Interno (Logo e Botão) */
    .header__container {
        width: 100%;
        border-radius: 0; /* Remove as bordas arredondadas do desktop */
        border: none;
        background-color: transparent;
        backdrop-filter: none;
        padding: 1.2rem 1.5rem; /* Espaçamento interno confortável */
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* 3. Estado "Scrolled" (Quando rola para baixo) */
    /* O JS já adiciona essa classe, agora damos estilo a ela no mobile */
    #header.scrolled {
        background-color: rgba(17, 17, 17, 0.95); /* Fundo quase preto */
        backdrop-filter: blur(10px); /* Efeito de vidro */
        box-shadow: 0 5px 20px rgba(0,0,0,0.2); /* Sombra suave */
    }
    
    /* Ajuste fino quando rolar: diminui um pouco o tamanho para ficar compacto */
    #header.scrolled .header__container {
        padding: 0.8rem 1.5rem;
    }

    /* 4. Ajustes de Z-Index para o Menu Funcionar */
    .header__logo {
        position: relative;
        z-index: 5002; /* Acima do fundo do menu */
    }
    
    .hamburger {
        position: relative;
        margin-left: auto;
        z-index: 5002; /* Acima do fundo do menu */
    }

    /* O Menu Fullscreen (Fundo Preto) */
    .header__nav {
        z-index: 5001; /* Abaixo do logo/hambúrguer, mas acima do resto */
        padding-top: 80px; /* Espaço para não ficar embaixo do logo */
    }
}

