/* ========== RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ========== VARIÁVEIS ========== */
:root {
    --color-primary: #E5B91F; 
    --color-primary-light: #F3CA3E; 
    --color-primary-hover: #D5A910;
    
    --color-black: #111111;
    --color-text: #666666;
    --color-bg: #FFFFFF;
    --color-border: #EEEEEE;
    
    --font-title: 'Poppins', sans-serif;
    --font-main: 'Inter', sans-serif;
    
    --transition-smooth: 0.3s ease;
}

/* ========== BASE ========== */
body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

button:focus-visible, a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ========== BOTÕES GERAIS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    border-radius: 10px;
    transition: all var(--transition-smooth);
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-black);
    font-weight: 700;
    padding: 15px 28px;
}

.btn--primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229, 185, 31, 0.25);
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-black);
    font-weight: 600;
    padding: 15px 20px;
}

.btn--secondary:hover {
    color: var(--color-primary-hover);
    gap: 12px; /* Empurra a seta levemente para a direita */
}


/* ========== HERO SECTION ========== */
.hero {
    min-height: calc(100vh - 88px);
    margin-top: 88px;
    display: flex;
    align-items: center;
    padding: 60px 0;
    background-color: var(--color-bg);
    overflow: hidden;
}

.hero__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* --- Hero Content (Esquerda) --- */
.hero__content {
    flex: 0 0 45%;
    max-width: 580px;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary);
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero__tag-line {
    width: 32px;
    height: 2px;
    background-color: var(--color-primary);
}

.hero__title {
    font-family: var(--font-title);
    font-size: clamp(3rem, 4.8vw, 4.2rem);
    font-weight: 800;
    color: var(--color-black);
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero__desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Hero Visual (Direita) --- */
.hero__visual {
    flex: 0 0 50%;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    perspective: 1200px;
}

.hero__shape {
    position: absolute;
    background-color: var(--color-primary-light);
    border-radius: 14px;
    width: 75%;
    height: 85%;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Brilho que varre a forma amarela uma vez, ao carregar a página */
.hero__shape::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-18deg);
    animation: heroShine 2.2s ease-in-out 1.1s 1;
}

.hero__image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transform: scale(1.05); /* Faz a imagem vazar levemente o container/shape */
    animation: heroFloat 5.5s ease-in-out infinite;
    animation-delay: 1.2s;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.hero__floating-card {
    position: absolute;
    bottom: 20px;
    left: -20px;
    z-index: 3;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: cardFloat 4.5s ease-in-out infinite;
    animation-delay: 1.4s;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(229, 185, 31, 0.15);
    color: var(--color-primary-hover);
    border-radius: 10px;
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-text strong {
    font-family: var(--font-title);
    font-size: 15px;
    color: var(--color-black);
    font-weight: 700;
}

.card-text span {
    font-size: 13px;
    color: var(--color-text);
}

/* Flutuação contínua sutil da imagem principal */
@keyframes heroFloat {
    0%, 100% { transform: scale(1.05) translateY(0); }
    50% { transform: scale(1.05) translateY(-14px); }
}

/* Flutuação contínua sutil do card de destaque (fora de sincronia com a imagem) */
@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Brilho único ao carregar a página */
@keyframes heroShine {
    0% { left: -60%; }
    100% { left: 140%; }
}



/* ========== MARCAS ATENDIDAS ========== */
.brands {
    background-color: #F8F8F6; /* Fundo off-white elegante */
    border-top: 1px solid var(--color-border);
    padding: 50px 0;
    overflow: hidden;
}

.brands__container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brands__title {
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-light); /* Texto sutil e elegante */
    letter-spacing: 1.5px;
    margin-bottom: 40px;
}

.brands__slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Máscara linear que faz os logos sumirem gradualmente nas bordas (efeito premium) */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brands__track {
    display: flex;
    align-items: center;
    gap: 70px;
    width: max-content;
    /* Animação de rolagem de 40s (bem suave). O JS dobra o conteúdo para fazer o loop perfeito */
    animation: scrollBrands 40s linear infinite; 
}

/* Pausa a rolagem quando o usuário passa o mouse por cima */
.brands__track:hover {
    animation-play-state: paused;
}

.brands__logo {
    height: 35px; /* Altura controlada para não quebrar o layout */
    width: auto;
    object-fit: contain;
    filter: grayscale(1) opacity(0.5); /* Inicialmente cinza e meio transparente */
    transition: all var(--transition-smooth);
    cursor: pointer;
}

/* Efeito de hover: volta a cor original ou escurece */
.brands__logo:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.05); /* Pequeno salto de destaque */
}

/* Keyframe do loop infinito */
@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Translada exatamente 50% porque o JS vai duplicar o conteúdo original */
        transform: translateX(-50%);
    }
}

/* ========== RESPONSIVO MARCAS (MOBILE) ========== */
@media (max-width: 900px) {
    .brands {
        padding: 40px 0;
    }
    
    .brands__title {
        font-size: 12px;
        margin-bottom: 30px;
    }

    .brands__track {
        gap: 50px; /* Reduz o espaço entre logos no celular */
    }

    .brands__logo {
        height: 28px; /* Logos levemente menores no mobile */
    }
}



/* ========== SERVIÇOS (ACCORDION CAROUSEL) ========== */
.services {
    background-color: #F6F6F2;
    padding: 100px 0;
    overflow: hidden;
}

.services__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.services__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 40px;
}

.services__header-text {
    max-width: 600px;
}

.services__tag {
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary-hover);
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.services__title {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 3vw, 2.8rem);
    font-weight: 800;
    color: var(--color-black);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.services__desc {
    font-size: 17px;
    color: var(--color-text);
    line-height: 1.6;
}

.services__controls {
    display: flex;
    align-items: center;
    gap: 24px;
}

.services__counter {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-light);
    letter-spacing: 2px;
}

#current-slide {
    color: var(--color-black);
    font-size: 20px;
}

.services__arrows {
    display: flex;
    gap: 12px;
}

.services__arrows button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #DFDFD8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    transition: all var(--transition-smooth);
}

.services__arrows button:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

/* Accordion Layout */
.services__accordion {
    display: flex;
    height: 600px; /* Altura fixa no desktop */
    gap: 16px;
}

/* Cores de Fundo do Card Externo */
.bg-amarelo-claro { background-color: #FFFAEF; }
.bg-cinza-claro   { background-color: #F4F4F4; }
.bg-creme         { background-color: #FCFAF5; }
.bg-amarelo       { background-color: #FFF3C4; }
.bg-branco-cinza  { background-color: #F9F9F9; }
.bg-grafite       { background-color: #E8E8E8; }

/* Cores da Forma Interna (atrás da imagem) */
.bg-shape-amarelo { background-color: var(--color-primary); }
.bg-shape-amarelo-escuro { background-color: var(--color-primary-hover); }
.bg-shape-cinza { background-color: #E0E0E0; }
.bg-shape-creme { background-color: #F0EBE1; }
.bg-shape-branco { background-color: #FFFFFF; }

/* Estilo Base do Card */
.service-card {
    position: relative;
    flex: 1; /* Fechado */
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card.active {
    flex: 4.5; /* Aberto */
    cursor: default;
}

/* 1. Imagem e Fundo Abstrato (Movimenta-se internamente) */
.service-card__image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1), padding 0.6s;
    z-index: 1;
}

.service-card.active .service-card__image-wrapper {
    width: 55%; /* No card aberto, a imagem vai para o lado direito */
    justify-content: flex-end; /* Empurra a máquina para a direita */
    padding-right: 40px; /* Dá uma margem da borda do card */
}

/* O Retângulo Colorido Atrás da Imagem */
.service-card__shape {
    position: absolute;
    width: 80%;
    height: 80%;
    border-radius: 20px;
    z-index: 1;
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    /* Some em 0.15s */
    transition: opacity 0.15s ease, transform 0.15s ease, width 0.15s, height 0.15s;
}

.service-card.active .service-card__shape {
    opacity: 1;
    width: 50%; 
    height: 75%;
    right: 40px; 
    transform: scale(1) translateY(0);
    /* Abre suavemente em 0.6s com atraso de 0.1s */
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1) 0.1s;
}

/* A Imagem do Produto */
.service-card__image-wrapper img {
    width: 78%; 
    height: 68%;
    object-fit: contain;
    object-position: center;
    transform: scale(1.4) translateX(10%);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    
    /* AQUI ESTÁ A MÁGICA: Diminua a opacidade para deixar a imagem quase invisível */
    opacity: 0.17; 
    
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

.service-card.active .service-card__image-wrapper img {
    /* Imagem aberta: estado e tamanho ajustados para o layout premium */
    width: auto;
    max-width: 85%; /* Limita o tamanho máximo dentro do espaço dela */
    max-height: 76%;
    transform: scale(1) translateX(0);
    opacity: 1;
}

/* 2. Textos do Card Fechado */
.service-card__closed {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0;
    height: 100%;
    position: relative;
    z-index: 3;
    opacity: 1;
    transition: opacity 0.3s;
}

.service-card.active .service-card__closed {
    opacity: 0;
    pointer-events: none;
}

.service-card__num {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 24px;
}

.service-card__vertical-title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-black);
    white-space: nowrap;
}

/* Dica visual de que o card fechado é clicável */
.service-card__hint {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(17, 17, 17, 0.22);
    color: var(--color-black);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.service-card__hint svg {
    transition: transform 0.3s ease;
}

.service-card:hover .service-card__hint {
    opacity: 1;
    background-color: var(--color-black);
    border-color: var(--color-black);
    color: var(--color-primary);
    transform: translateY(-3px);
}

.service-card:hover .service-card__hint svg {
    transform: rotate(90deg);
}

/* Pulso de atenção disparado uma vez via JS ao carregar a página,
   pra deixar claro que os cards fechados podem ser clicados */
@keyframes hintPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(229, 185, 31, 0); }
    50% { transform: scale(1.18); box-shadow: 0 0 0 6px rgba(229, 185, 31, 0.18); }
}

.service-card__hint.is-pulsing {
    animation: hintPulse 1s ease-in-out 2;
}

/* 3. Textos do Card Aberto (Fica na Esquerda) */
.service-card__open {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%; /* Mantém o texto com limite para gerar espaço negativo */
    height: 100%;
    padding: 48px 24px 48px 48px; /* Ajuste do padding para garantir o respiro */
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-30px);
    transition: all 0.5s ease;
    z-index: 3;
}

.service-card.active .service-card__open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0.2s;
}

.service-card__huge-num {
    font-family: var(--font-title);
    font-size: 72px; /* Ligeiramente menor para dar mais espaço ao título */
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 12px;
}

.service-card__title {
    font-family: var(--font-title);
    font-size: 34px;
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.service-card__text {
    font-size: 16px;
    color: var(--color-text);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 90%; /* Garante que o texto não invada a área da imagem */
}

.service-card__link {
    font-weight: 700;
    color: var(--color-black);
    display: inline-flex;
    align-items: center;
    transition: color var(--transition-smooth);
}

.service-card__link:hover {
    color: var(--color-primary-hover);
}

/* ========== RESPONSIVO (MOBILE) ========== */
@media (max-width: 900px) {
    .services {
        padding: 60px 0;
    }

    .services__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        margin-bottom: 40px;
    }

    /* Vira um Mobile Scroll Carousel */
    .services__accordion {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        height: 600px;
        gap: 16px;
        padding-bottom: 10px;
    }
    
    .services__accordion::-webkit-scrollbar {
        display: none;
    }

    .service-card, .service-card.active {
        flex: 0 0 85% !important;
        scroll-snap-align: center;
        display: flex;
        flex-direction: column;
    }

    .service-card__closed {
        display: none;
    }

    /* Redefine posições absolutas no mobile para empilhar: Imagem cima, texto baixo */
    .service-card__image-wrapper,
    .service-card.active .service-card__image-wrapper {
        position: relative;
        width: 100%;
        height: 50%;
        margin-top: 20px;
        justify-content: center; /* Centraliza de novo no celular */
        padding-right: 0;
    }

    .service-card__shape,
    .service-card.active .service-card__shape {
        width: 75%;
        height: 100%;
        right: auto;
    }

  .service-card__image-wrapper img,
    .service-card.active .service-card__image-wrapper img {
        max-width: 85%;
        max-height: 90%;
        transform: scale(1) translateX(0);
        opacity: 1;
        visibility: visible;
    }
    .service-card__open,
    .service-card.active .service-card__open {
        position: relative;
        width: 100%;
        height: 50%;
        padding: 24px 32px;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .service-card__huge-num {
        font-size: 60px;
        margin-bottom: 8px;
    }

    .service-card__title {
        font-size: 28px;
    }
    
    .service-card__text {
        max-width: 100%;
    }
}

/* ========== POR QUE ESCOLHER A G7 ========== */
.why {
    background-color: var(--color-bg);
    padding: 100px 0;
    overflow: hidden;
}

.why__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.why__header {
    margin-bottom: 56px;
    max-width: 640px;
}

.why__tag {
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary-hover);
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.why__title {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 3vw, 2.8rem);
    font-weight: 800;
    color: var(--color-black);
    line-height: 1.15;
    letter-spacing: -1px;
}

/* Lista em zigue-zague */
.why__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.why-item {
    display: flex;
    align-items: center;
    gap: 32px;

    /* estado inicial (antes de entrar na viewport) */
    opacity: 0;
    transform: translateY(56px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Zigue-zague: inverte a ordem card/número a cada linha par */
.why-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* Número grande decorativo, fixo na coluna oposta ao card */
.why-item__num {
    flex: 0 0 300px;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: clamp(70px, 7vw, 110px);
    line-height: 1;
    color: var(--color-black);
    opacity: 0.18;
    text-align: center;
    user-select: none;
    pointer-events: none;
}

.why-card {
    flex: 1;
    max-width: 620px;
    border-radius: 24px;
    padding: 40px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform var(--transition-smooth);
}

.why-card:hover {
    transform: translateY(-4px);
}

/* ===== Cores dos blocos — cada card com uma cor forte e diferente ===== */

/* 01 — Grafite */
.why-card--grafite {
    background-color: var(--color-black);
    color: #fff;
}

.why-card--grafite .why-card__text {
    color: rgba(255, 255, 255, 0.65);
}

.why-card--grafite .why-card__icon {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-primary);
}

/* 02 — Azul forte */
.why-card--azul {
    background-color: #1F4FD8;
    color: #fff;
}

.why-card--azul .why-card__text {
    color: rgba(255, 255, 255, 0.7);
}

.why-card--azul .why-card__icon {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* 03 — Verde forte */
.why-card--verde {
    background-color: #146C43;
    color: #fff;
}

.why-card--verde .why-card__text {
    color: rgba(255, 255, 255, 0.7);
}

.why-card--verde .why-card__icon {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* 04 — Amarelo (cor da marca) */
.why-card--amarelo {
    background-color: var(--color-primary);
    color: var(--color-black);
}

.why-card--amarelo .why-card__icon {
    background-color: rgba(17, 17, 17, 0.08);
    color: var(--color-black);
}

.why-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

/* Número pequeno dentro do card: só aparece no mobile */
.why-card__num {
    display: none;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.5;
    margin-bottom: 8px;
}

.why-card__title {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    line-height: 1.15;
}

.why-card__text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-text);
}

/* ========== RESPONSIVO (MOBILE) ========== */
@media (max-width: 900px) {
    .why {
        padding: 60px 0;
    }

    .why__header {
        margin-bottom: 32px;
    }

    .why__list {
        gap: 16px;
    }

    .why-item,
    .why-item:nth-child(even) {
        flex-direction: column;
        gap: 0;
    }

    .why-item__num {
        display: none;
    }

    .why-card {
        flex: none;
        max-width: 100%;
        width: 100%;
        min-height: auto;
        padding: 32px;
    }

    .why-card__num {
        display: block;
    }

    .why-card__title {
        font-size: 21px;
    }
}



/* ========== SOBRE A G7 ========== */
.about {
    background-color: #F6F6F2;
    padding: 100px 0;
    overflow: hidden;
}

.about__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
}

/* --- Visual (Esquerda) --- */
.about__visual {
    flex: 0 0 45%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about__shape {
    position: absolute;
    background-color: var(--color-primary-light);
    border-radius: 14px;
    width: 85%;
    height: 90%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.about__image {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    border-radius: 16px;
    position: relative;
    z-index: 2;
    transform: translate(16px, 16px);
}

.about__floating-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    z-index: 3;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* --- Content (Direita) --- */
.about__content {
    flex: 0 0 48%;
    max-width: 560px;
}

.about__tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary-hover);
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.about__tag-line {
    width: 32px;
    height: 2px;
    background-color: var(--color-primary-hover);
}

.about__title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 800;
    color: var(--color-black);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.about__text {
    font-size: 17px;
    line-height: 1.75;
    color: var(--color-text);
    margin-bottom: 20px;
}

.about__highlight {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-black);
    line-height: 1.5;
    margin-bottom: 40px;
    padding-left: 20px;
    border-left: 3px solid var(--color-primary);
}

.about__actions {
    display: flex;
}

/* ========== RESPONSIVO (MOBILE) ========== */
@media (max-width: 900px) {
    .about {
        padding: 60px 0;
    }

    .about__container {
        flex-direction: column;
        padding: 0 24px;
        gap: 56px;
    }

    .about__visual,
    .about__content {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .about__image {
        max-height: 380px;
        transform: translate(10px, 10px);
    }

    .about__shape {
        width: 90%;
        height: 85%;
    }

    .about__floating-card {
        bottom: -16px;
        right: 16px;
        padding: 12px 18px;
    }

    .about__title {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }

    .about__highlight {
        font-size: 16px;
    }

    .about__actions .btn {
        width: 100%;
    }
}


/* ========== COMO FUNCIONA ========== */
.how {
    background-color: #F7F7F5;
    /* Diminuímos de 250vh para 140vh. Isso deixa o tempo de "trava" bem mais curto, 
       fazendo a barra encher super rápido com poucas roladas! */
    height: 140vh; 
    position: relative;
    padding: 0; 
}

.how__container {
    /* Faz o conteúdo travar no topo da tela */
    position: sticky;
    top: 0;
    
    /* Mantém o visual centralizado e do mesmo tamanho */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 32px; /* Adicionamos uma margem de segurança interna */
}
.how__header {
    max-width: 640px;
    margin-bottom: 80px;
}
/* Ajuste fino para não ficar espremido no celular */
@media (max-width: 900px) {
    .how__container {
        padding: 80px 24px;
        min-height: auto;
        /* No mobile, centraliza um pouco mais para cima */
        top: 5vh; 
    }
}
.how__tag {
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary-hover);
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.how__title {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 3vw, 2.8rem);
    font-weight: 800;
    color: var(--color-black);
    line-height: 1.15;
    letter-spacing: -1px;
}

/* --- Fluxo horizontal (Desktop) --- */
.how__flow {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.how__line {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #E4E4DE;
    z-index: 1;
}

.how__line-fill {
    height: 100%;
    width: 0%;
    background-color: var(--color-primary);
    transition: width 0.15s linear;
}

.how-step {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 280px;
    padding-top: 48px;
}

.how-step__dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--color-bg);
    border: 2px solid #E4E4DE;
    transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.how-step.is-active .how-step__dot {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    transform: scale(1.15);
}

.how-step__num {
    display: block;
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 800;
    color: var(--color-primary-hover);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.how-step__title {
    font-family: var(--font-title);
    font-size: 19px;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.25;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.how-step__text {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--color-text);
}

/* ========== RESPONSIVO (MOBILE) ========== */
@media (max-width: 900px) {
    .how {
        padding: 60px 0 70px;
    }

    .how__header {
        margin-bottom: 56px;
    }

    /* Vira fluxo vertical */
    .how__flow {
        flex-direction: column;
        gap: 40px;
    }

    .how__line {
        top: 0;
        bottom: 0;
        left: 10px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .how__line-fill {
        width: 100%;
        height: 0%;
        transition: height 0.15s linear;
    }

    .how-step {
        max-width: 100%;
        padding-top: 0;
        padding-left: 44px;
    }

    .how-step__dot {
        top: 2px;
        left: 0;
    }
}
/* ========== CTA FINAL ========== */
.final-cta {
    background-color: var(--color-bg);
    padding: 40px 0 100px;
}

.final-cta__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.final-cta__box {
    position: relative;
    background-color: var(--color-primary);
    border-radius: 32px;
    padding: 72px 64px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Formas abstratas decorativas */
.final-cta__shape {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(17, 17, 17, 0.06);
    pointer-events: none;
}

.final-cta__shape--1 {
    width: 340px;
    height: 340px;
    top: -140px;
    right: -80px;
}

.final-cta__shape--2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: 220px;
    background-color: rgba(17, 17, 17, 0.04);
}

.final-cta__content {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.final-cta__tag {
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.6);
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.final-cta__title {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
    font-weight: 800;
    color: var(--color-black);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.final-cta__desc {
    font-size: 17px;
    line-height: 1.65;
    color: rgba(17, 17, 17, 0.75);
    max-width: 440px;
}

.final-cta__action {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    flex-shrink: 0;
}

.btn--dark {
    background-color: var(--color-black);
    color: #fff;
    font-weight: 700;
    padding: 18px 32px;
    white-space: nowrap;
}

.btn--dark:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.final-cta__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 15px;
    color: var(--color-black);
    transition: opacity var(--transition-smooth);
}

.final-cta__phone:hover {
    opacity: 0.65;
}

/* ========== RESPONSIVO (MOBILE) ========== */
@media (max-width: 900px) {
    .final-cta {
        padding: 20px 0 70px;
    }

    .final-cta__box {
        flex-direction: column;
        align-items: flex-start;
        padding: 48px 28px;
        border-radius: 24px;
        gap: 32px;
    }

    .final-cta__shape--1 {
        width: 220px;
        height: 220px;
        top: -100px;
        right: -80px;
    }

    .final-cta__shape--2 {
        display: none;
    }

    .final-cta__content {
        max-width: 100%;
    }

    .final-cta__title {
        font-size: clamp(1.9rem, 8vw, 2.4rem);
    }

    .final-cta__action {
        align-items: flex-start;
        width: 100%;
    }

    .final-cta__action .btn--dark {
        width: 100%;
        justify-content: center;
    }
}

/* ========== ANIMAÇÕES ========== */
@media (prefers-reduced-motion: no-preference) {
    .animate-fade-up {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .animate-fade-left {
        opacity: 0;
        transform: translateX(30px);
        animation: fadeLeft 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes fadeUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeLeft {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

/* Quando o usuário prefere menos movimento, desliga os loops contínuos e o parallax */
@media (prefers-reduced-motion: reduce) {
    .hero__image,
    .hero__floating-card,
    .hero__shape::after {
        animation: none !important;
    }
}

/* ========== RESPONSIVO (MOBILE) ========== */
@media (max-width: 900px) {
    .hero {
        padding: 40px 0;
        height: auto;
        min-height: auto;
    }

    .hero__container {
        flex-direction: column;
        padding: 0 24px;
        gap: 64px;
    }

    .hero__content, .hero__visual {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .hero__title {
        font-size: clamp(2.5rem, 11vw, 3.8rem);
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn--primary, .btn--secondary {
        width: 100%;
    }

    .hero__visual {
        justify-content: center;
    }

    .hero__shape {
        width: 90%;
        height: 80%;
        right: 5%;
    }

    .hero__image {
        transform: scale(1);
        animation: none; /* Evita flutuação no mobile, onde o espaço é mais apertado */
    }

    .hero__floating-card {
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%) !important; /* Força a centralização ignorando animação X */
        width: 90%;
        max-width: 340px;
        justify-content: center;
        animation: none;
    }
}

/* Compensa a altura do header fixo ao navegar via âncora */
.hero,
.brands,
.services,
.why,
.about,
.how {
    scroll-margin-top: 100px;
}