/* =======================================================
   1. VARIÁVEIS GLOBAIS E TEMA (PADRÃO: ESCURO)
======================================================= */
:root {
    /* Cores Principais do Site (PADRÃO ESCURO) */
    --primary-color: #F0F0F0;
    --bg-color: #121212;
    --bg-secondary: #1A1A1A;
    --text-primary: #F0F0F0;
    --text-secondary: #B0B0B0;
    --card-bg: #1E1E1E;
    
    --accent-yellow: #FEDD00;
    --support-red: #FE0100;
    
    /* Cores da Seção da Estrada (ESCURECIDAS POR PADRÃO) */
    --asphalt-950: #101215;
    --asphalt-900: #16181c;
    --asphalt-800: #1e2126;
    --asphalt-700: #292d33;
    --asphalt-600: #383d45;
    --yellow-dim: rgba(255, 212, 0, .18);
    --yellow-glow: rgba(255, 212, 0, .45);
    --road-white: #f7f7f5;
    --muted: #a9adb6;
    --muted-dim: #6d717a;
    --road-remaining: #34383f;
    
    /* Transparências e Bordas */
    --grid-dots: rgba(255, 255, 255, 0.035);
    --hud-bg: rgba(30, 33, 38, 0.75);
    --footer-border: rgba(255, 255, 255, 0.08);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-mono: 'JetBrains Mono', monospace;
}

/* QUANDO O USUÁRIO ATIVAR O MODO CLARO */
body.light-mode {
    --primary-color: #424241;
    --bg-color: #FFFFFF;
    --bg-secondary: #F9F9F9;
    --text-primary: #2C2C2C;
    --text-secondary: #5A5A5A;
    --card-bg: #FFFFFF;
    
    --asphalt-950: #F9F9F9;
    --asphalt-900: #FFFFFF;
    --asphalt-800: #FFFFFF;
    --asphalt-700: #E0E0E0;
    --asphalt-600: #CCCCCC;
    --yellow-dim: rgba(254, 221, 0, 0.2);
    --yellow-glow: rgba(254, 221, 0, 0.4);
    --road-white: #2C2C2C;
    --muted: #5A5A5A;
    --muted-dim: #888888;
    --road-remaining: #E0E0E0;
    
    --grid-dots: rgba(0, 0, 0, 0.05);
    --hud-bg: rgba(255, 255, 255, 0.85);
    --footer-border: rgba(0, 0, 0, 0.08);
}

/* =======================================================
   2. CONFIGURAÇÕES GLOBAIS
======================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Outfit', sans-serif; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { background-color: var(--bg-color); color: var(--text-primary); line-height: 1.6; transition: background-color 0.4s ease, color 0.4s ease; overflow-x: hidden; -webkit-font-smoothing: antialiased; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }

.cta-button { display: inline-block; padding: 16px 36px; font-size: 1.1rem; font-weight: 800; border-radius: 8px; background-color: var(--accent-yellow); color: #000; text-decoration: none; box-shadow: 0 8px 20px rgba(254, 209, 0, 0.2); transition: var(--transition); border: none; cursor: pointer; }
.cta-button:hover { background-color: #E6AC00; transform: translateY(-2px); box-shadow: 0 12px 25px rgba(254, 209, 0, 0.3); }

.section-title { font-size: 2.5rem; font-weight: 800; text-align: center; margin-bottom: 50px; color: var(--primary-color); }

/* =======================================================
   3. HEADER DINÂMICO
======================================================= */
.header { height: 150px; position: fixed; top: 0; width: 100%; background-color: transparent; z-index: 1000; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }
.header.scrolled { height: 120px; background-color: var(--bg-color); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.header-content { display: flex; justify-content: space-between; align-items: center; height: 100%; padding: 0 50px; }

.logo { position: relative; height: 100%; margin-right: 60px; flex-shrink: 0; display: flex; align-items: center; }
.logo-img { height: 200px; width: auto; object-fit: contain; position: relative; transition: height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
/* Configuração para alinhar a imagem e o texto no cabeçalho */
.logo { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    text-decoration: none; 
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFF; /* Branco no modo transparente */
    white-space: nowrap;
    transition: color 0.4s ease;
}

/* Quando rolar a tela, o texto fica com a cor escura do tema */
.header.scrolled .logo-text {
    color: var(--text-primary);
}
.header.scrolled .logo-img { height: 150px; filter: none; }

.main-nav { display: flex; gap: 40px; justify-content: flex-end; flex-grow: 1; }
.main-nav a { color: #FFF; font-weight: 600; font-size: 1.1rem; text-decoration: none; transition: color 0.4s ease; }
.header.scrolled .main-nav a { color: var(--text-primary); }
.main-nav a:hover { color: var(--accent-yellow); }

.theme-toggle-btn { background: none; border: none; cursor: pointer; color: #FFF; margin-left: 30px; display: flex; align-items: center; transition: color 0.4s ease; }
.header.scrolled .theme-toggle-btn { color: var(--text-primary); }

/* =======================================================
   4. HERO FULL-SCREEN E CARROSSEL VERTICAL
======================================================= */
.hero-full-screen { height: 100vh; width: 100%; background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./imagens/carros.jpg'); background-size: cover; background-position: center; background-attachment: fixed; position: relative; z-index: 10; }
.hero-content-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 40px; height: 100%; padding-top: 150px; }

.left-col { color: #FFF; }
.hero-badges { display: flex; gap: 15px; margin-bottom: 24px; flex-wrap: wrap; }
.rating, .cnh-partner-badge { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); padding: 6px 16px; border-radius: 30px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; }
.cnh-partner-logo { height: 18px; }
.left-col h1 { font-size: 3.8rem; font-weight: 800; line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.02em; }
.left-col p { font-size: 1.3rem; color: #E0E0E0; margin-bottom: 40px; line-height: 1.6; max-width: 90%; }
.hero-actions-container { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

.right-col { display: flex; justify-content: flex-end; align-items: center; }
.hero-word-carousel { 
    position: relative; 
    height: 420px; 
    display: block; 
    overflow: hidden;
    min-width: 380px; /* Garante que a caixa seja larga o suficiente */
    padding-right: 25px; /* Cria uma margem interna de segurança para o "pulo" de 15px */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%); 
    mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%); 
}
.carousel-arrow { position: absolute; left: 0; top: 180px; height: 60px; display: flex; align-items: center; color: var(--accent-yellow); font-size: 1.8rem; z-index: 10; }
.carousel-track { display: flex; flex-direction: column; padding-left: 45px; margin: 0; }
.carousel-item { 
    height: 60px; 
    line-height: 60px; 
    display: block; 
    font-size: 2.8rem; 
    font-weight: 800; 
    color: rgba(255, 255, 255, 0.15); 
    white-space: nowrap; /* IMPEDIMENTO DE QUEBRA: Garante que palavras longas fiquem em uma linha só */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); 
    transform: translateX(0); 
}
.carousel-item.active { background: linear-gradient(90deg, #FFFFFF 0%, var(--accent-yellow) 80%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; color: #FFF; transform: translateX(15px); }

/* =======================================================
   5. SCROLLYTELLING (O NOVO CAMINHO SVG)
======================================================= */
.journey-wrapper { background-color: var(--asphalt-950); color: var(--road-white); }
.journey-intro { position: relative; min-height: 92vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; overflow: hidden; background: radial-gradient(60% 50% at 50% 20%, rgba(255,212,0,.08), transparent 70%), var(--asphalt-950); }
.journey-intro::before { 
    content:""; 
    position:absolute; 
    inset:0; 
    /* Use a variável --grid-dots aqui: */
    background-image: radial-gradient(var(--grid-dots) 1px, transparent 1px); 
    background-size: 26px 26px; 
    mask-image: radial-gradient(60% 60% at 50% 35%, black, transparent 80%); 
    pointer-events: none; 
}
.intro-eyebrow { font-family: var(--font-mono); letter-spacing: .22em; text-transform: uppercase; font-size: 13px; color: var(--accent-yellow); display:flex; align-items:center; gap:10px; margin-bottom: 22px; }
.intro-eyebrow::before, .intro-eyebrow::after { content:""; width: 26px; height: 1px; background: var(--accent-yellow); opacity: .6; }
.journey-intro h2 { font-weight: 800; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.05; margin: 0 0 22px; max-width: 18ch; color: var(--road-white); }
.journey-intro h2 em { font-style: normal; color: var(--accent-yellow); }
.intro-sub { max-width: 520px; color: var(--muted); font-size: 1.05rem; line-height: 1.6; margin: 0 0 46px; }
.intro-sub strong { color: var(--road-white); font-weight: 600; }

.intro-route { width: 220px; height: 40px; margin-bottom: 40px; }
.intro-route path { fill:none; stroke: var(--road-remaining); stroke-width: 3; stroke-linecap: round; }
.intro-route .drawn { stroke: var(--accent-yellow); stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw-teaser 2.6s ease-in-out infinite; }
.intro-route circle { fill: var(--accent-yellow); }
@keyframes draw-teaser { 0% { stroke-dashoffset: 300; } 45%, 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -300; } }

.scroll-cue { display:flex; flex-direction:column; align-items:center; gap:10px; color: var(--muted-dim); font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.scroll-cue svg { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); opacity:.5; } 50% { transform: translateY(6px); opacity:1; } }

/* STICKY PROGRESS HUD */
.journey-hud { position: sticky; top: 140px; z-index: 20; display:flex; justify-content:center; pointer-events: none; }
.hud-pill { 
    pointer-events: auto; 
    display:flex; 
    align-items:center; 
    gap:14px; 
    /* Use a variável --hud-bg aqui: */
    background: var(--hud-bg); 
    border: 1px solid var(--asphalt-600); 
    backdrop-filter: blur(10px); 
    padding: 10px 18px; 
    border-radius: 999px; 
    font-family: var(--font-mono); 
    font-size: 12px; 
    letter-spacing: .08em; 
    color: var(--muted); 
    opacity: 0; 
    transform: translateY(-10px); 
    transition: opacity .35s ease, transform .35s ease; 
}
.hud-pill.is-visible { opacity:1; transform: translateY(0); }
.hud-count { color: var(--road-white); font-weight:600; }
.hud-count .active { color: var(--accent-yellow); }
.hud-bar { width: 90px; height: 4px; background: var(--asphalt-700); border-radius: 4px; overflow: hidden; }
.hud-bar-fill { height:100%; width: 0%; background: var(--accent-yellow); border-radius: 4px; transition: width .12s linear; }

/* THE TRACK */
.journey-track { position: relative; max-width: 1180px; margin: 0 auto; padding: 40px 24px 140px; }
.road-svg { position:absolute; top:0; left:0; width:100%; height:100%; pointer-events:none; overflow: visible; }
.road-bg { fill:none; stroke: var(--road-remaining); stroke-width: 3; stroke-linecap: round; }
.road-progress { fill:none; stroke: var(--accent-yellow); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--yellow-glow)); }
.road-car { transition: transform .08s linear; }
.road-car .car-glow { fill: var(--accent-yellow); opacity: .18; }
.road-car .car-body { fill: var(--asphalt-950); stroke: var(--accent-yellow); stroke-width: 1.6; }
.road-car .car-window { fill: var(--accent-yellow); }

.stage { position: relative; display: grid; grid-template-columns: 1fr 88px 1fr; align-items: center; min-height: 300px; padding: 36px 0; }
.stage-dot { grid-column: 2; justify-self: center; width: 64px; height: 64px; border-radius: 50%; background: var(--asphalt-800); border: 1.5px solid var(--asphalt-600); display:flex; align-items:center; justify-content:center; position: relative; color: var(--muted-dim); transition: color .4s ease, border-color .4s ease, background .4s ease, box-shadow .4s ease, transform .4s ease; }
.stage-dot svg { width: 28px; height: 28px; transition: transform .4s ease; }
.stage-dot::before { content:""; position:absolute; inset:-8px; border-radius: 50%; border: 1px dashed var(--asphalt-600); opacity: 0; transition: opacity .4s ease, transform .6s ease; transform: scale(.8); }
.stage-dot.is-passed { color: var(--asphalt-950); background: var(--accent-yellow); border-color: var(--accent-yellow); box-shadow: 0 0 0 6px var(--yellow-dim); }
.stage-dot.is-active { transform: scale(1.08); }
.stage-dot.is-active::before { opacity: 1; transform: scale(1); animation: pulse-ring 1.8s ease-out infinite; }
@keyframes pulse-ring { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }

.stage-card { grid-column: 1; justify-self: end; max-width: 420px; text-align: right; opacity: 0; transform: translate(24px, 14px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.stage.side-right .stage-card { grid-column: 3; justify-self: start; text-align: left; transform: translate(-24px, 14px); }
.stage.in-view .stage-card { opacity: 1; transform: translate(0,0); }

.stage-eyebrow { display:inline-flex; align-items:center; gap:8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-yellow); margin-bottom: 12px; }
.stage.side-right .stage-eyebrow { flex-direction: row; }
.stage:not(.side-right) .stage-eyebrow { flex-direction: row-reverse; }
.stage-eyebrow .rule { width: 22px; height:1px; background: var(--accent-yellow); opacity:.5; }

.stage-card h3 { font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0 0 12px; color: var(--road-white); }
.stage-card p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }

.stage-card::before { content:""; position:absolute; top: 50%; height: 1px; width: 28px; background: linear-gradient(to left, var(--asphalt-600), transparent); right: -28px; }
.stage.side-right .stage-card::before { left: -28px; right: auto; background: linear-gradient(to right, var(--asphalt-600), transparent); }

.journey-end { text-align:center; padding: 20px 24px 100px; color: var(--muted); }
.journey-end .flag { width:38px; height:38px; margin-bottom: 14px; color: var(--accent-yellow); }
.journey-end p { font-family: var(--font-mono); font-size: 12px; letter-spacing:.12em; text-transform: uppercase; }

/* =======================================================
   6. SEÇÕES COMUNS (RESUMO, DIFERENCIAIS, SERVIÇOS, FAQ)
======================================================= */
.steps-summary, .differentials, .services, .testimonials, .faq { padding: 100px 0; background-color: var(--bg-color); }
.differentials { background-color: var(--bg-secondary); }
.testimonials { background-color: var(--bg-secondary); }

/* =========================================
   ESTILOS DO MINI-SIMULADO (QUIZ)
========================================= */
.simulado-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.quiz-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 50px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz-panel { display: none; width: 100%; }
.quiz-panel.active { display: block; animation: fadeIn 0.5s ease; }

.quiz-progress {
    font-family: var(--font-mono);
    color: var(--accent-yellow);
    font-size: 0.9rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.quiz-panel h3 { font-size: 2rem; margin-bottom: 15px; color: var(--text-primary); }
.quiz-panel p { color: var(--text-secondary); margin-bottom: 30px; font-size: 1.1rem; }

.quiz-options { display: flex; flex-direction: column; gap: 12px; }

.quiz-btn {
    background: var(--asphalt-800);
    border: 1px solid var(--asphalt-600);
    color: var(--text-primary);
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.quiz-btn:hover { background: var(--asphalt-700); border-color: var(--accent-yellow); }

/* Cores de Feedback (Acerto e Erro) */
.quiz-btn.correct { background: #198754; color: #FFF; border-color: #198754; }
.quiz-btn.wrong { background: #DC3545; color: #FFF; border-color: #DC3545; }

/* Botão sem fundo para resetar */
.text-button {
    background: none; border: none; color: var(--muted);
    display: block; margin: 20px auto 0; cursor: pointer;
    text-decoration: underline; font-size: 1rem; transition: color 0.3s;
}
.text-button:hover { color: var(--text-primary); }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   LINKS DOS SIMULADOS OFICIAIS (RESULTADO)
========================================= */
.official-simulators {
    margin: 25px 0 35px 0;
    padding: 20px;
    background: var(--asphalt-900);
    border: 1px solid var(--asphalt-600);
    border-radius: 12px;
}

.official-simulators p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.app-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: #FFF;
    transition: transform 0.3s, opacity 0.3s, box-shadow 0.3s;
}
/* Configuração universal para os ícones SVG dos botões do simulado */
.app-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor; /* Puxa a cor do texto automaticamente (Branco) */
}

.app-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Cores específicas de cada plataforma */
.pc-btn { background-color: #333333; }
.playstore-btn { background-color: #00875F; }
.appstore-btn { background-color: #0066CC; }

/* Ajuste mobile para os links não ficarem espremidos */
@media (max-width: 600px) {
    .app-links {
        flex-direction: column;
    }
    .app-btn {
        justify-content: center;
    }
}
.summary-cards-grid, .diff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.summary-card, .diff-item, .service-card, .testimonial-box { background: var(--card-bg); padding: 40px 30px; border-radius: 16px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.03); transition: transform 0.3s ease; }
.summary-card:hover, .service-card:hover { transform: translateY(-5px); }

.summary-card span { display: inline-block; width: 40px; height: 40px; background: var(--accent-yellow); color: #000; font-weight: 800; border-radius: 50%; text-align: center; line-height: 40px; margin-bottom: 20px; font-size: 1.2rem; }
.summary-card h4 { font-size: 1.3rem; color: var(--primary-color); }
.diff-item h3 { font-size: 1.4rem; color: var(--primary-color); margin-bottom: 15px; }
.diff-item p { color: var(--text-secondary); }

.cards-catalog { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-card h3 { font-size: 1.5rem; color: var(--primary-color); margin-bottom: 15px; }
.service-card p { color: var(--text-secondary); }

.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; }
.testimonial-box p { font-size: 1.2rem; font-style: italic; color: var(--text-secondary); margin-bottom: 20px; }
.testimonial-box h4 { color: var(--primary-color); font-weight: 700; }

.accordion { max-width: 800px; margin: 0 auto; }
details { background: var(--card-bg); border-radius: 8px; margin-bottom: 15px; border: 1px solid rgba(0,0,0,0.05); }
summary { padding: 20px; font-size: 1.2rem; font-weight: 600; color: var(--primary-color); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary:after { content: '+'; font-size: 1.5rem; color: var(--accent-yellow); }
details[open] summary:after { content: '-'; }
details p { padding: 0 20px 20px; color: var(--text-secondary); }

.center-btn { text-align: center; }

/* Rótulo pequeno usado antes dos títulos de seção */
.eyebrow-label { display:inline-flex; align-items:center; gap:8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--text-secondary); margin-bottom: 14px; }
.eyebrow-label::before { content:""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-yellow); flex-shrink: 0; }

/* Ícones dos cards de Serviços */
.service-card { display: flex; flex-direction: column; align-items: flex-start; }
.service-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--accent-yellow); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; box-shadow: 0 8px 20px rgba(254, 221, 0, .28); flex-shrink: 0; }
.service-icon svg { width: 28px; height: 28px; stroke: #1a1a1a; }
.card-content { margin-bottom: 26px; }
.service-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 12px 0; font-weight: 700; font-size: .95rem; color: var(--primary-color); text-decoration: none; border-top: 1px solid rgba(0,0,0,.08); width: 100%; transition: var(--transition); }
body.dark-mode .service-cta { border-top-color: rgba(255,255,255,.1); }
.service-cta svg { transition: transform .3s ease; flex-shrink: 0; }
.service-cta:hover { color: var(--accent-yellow); }
.service-cta:hover svg { transform: translateX(4px); }

/* Ícones dos Diferenciais */
.diff-item { text-align: left; }
.diff-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--bg-color); border: 1px solid rgba(0,0,0,.06); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--accent-yellow); box-shadow: 0 4px 14px rgba(0,0,0,.05); }
body.dark-mode .diff-icon { background: var(--bg-secondary); border-color: rgba(255,255,255,.06); }
.diff-icon svg { width: 24px; height: 24px; }

/* =======================================================
   6.1 AVALIAÇÕES DO GOOGLE (LOOP INFINITO)
======================================================= */
.reviews { padding: 100px 0; background-color: var(--bg-color); overflow: hidden; }
.reviews-header { text-align: center; max-width: 620px; margin: 0 auto 50px; }
.reviews-header .eyebrow-label { justify-content: center; }
.reviews-header .eyebrow-label::before { order: -1; }
.reviews-rating { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: -10px; }
.google-g { width: 30px; height: 30px; flex-shrink: 0; }
.reviews-score { font-size: 1.9rem; font-weight: 800; color: var(--primary-color); }
.reviews-stars { display: flex; gap: 2px; color: var(--accent-yellow); }
.reviews-stars svg, .review-stars svg { width: 16px; height: 16px; fill: currentColor; }
.reviews-count { color: var(--text-secondary); font-size: .95rem; }

.reviews-marquee { position: relative; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 24px; width: max-content; padding: 4px 24px; animation: marquee-scroll 38s linear infinite; }
.reviews-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.review-card { width: 340px; flex-shrink: 0; background: var(--card-bg); border: 1px solid rgba(0,0,0,.05); border-radius: 18px; padding: 30px; box-shadow: 0 5px 20px rgba(0,0,0,.05); display: flex; flex-direction: column; gap: 16px; }
body.dark-mode .review-card { border-color: rgba(255,255,255,.06); }
.review-top { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-yellow); color: #1a1a1a; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.05rem; flex-shrink: 0; }
.review-meta h4 { margin: 0 0 2px; font-size: .98rem; font-weight: 700; color: var(--primary-color); }
.review-meta span { font-size: .8rem; color: var(--text-secondary); }
.review-stars { display: flex; gap: 3px; }
.review-card p { color: var(--text-primary); font-size: 1.02rem; line-height: 1.6; font-style: italic; flex-grow: 1; margin: 0; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review-source { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-secondary); }
.review-source svg { width: 16px; height: 16px; flex-shrink: 0; }

.reviews-cta { text-align: center; margin-top: 46px; }
.reviews-cta .secondary-link { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-color); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent-yellow); padding-bottom: 3px; transition: var(--transition); }
.reviews-cta .secondary-link:hover { color: var(--accent-yellow); gap: 12px; }

/* =======================================================
   6.2 LOCALIZAÇÃO
======================================================= */
.location { padding: 100px 0; background-color: var(--bg-secondary); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.location-info h2 { font-size: 2.1rem; font-weight: 800; color: var(--primary-color); margin-bottom: 18px; line-height: 1.2; }
.location-lead { color: var(--text-secondary); margin-bottom: 34px; max-width: 460px; }

.location-detail-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 36px; }
.location-detail { display: flex; gap: 16px; align-items: flex-start; }
.location-detail .icon-badge { width: 44px; height: 44px; border-radius: 12px; background: var(--card-bg); border: 1px solid rgba(0,0,0,.06); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent-yellow); }
body.dark-mode .location-detail .icon-badge { border-color: rgba(255,255,255,.06); }
.location-detail .icon-badge svg { width: 20px; height: 20px; }
.location-detail h4 { font-size: 1.02rem; margin-bottom: 4px; color: var(--primary-color); font-weight: 700; }
.location-detail p { color: var(--text-secondary); font-size: .95rem; margin: 0; line-height: 1.5; }
.location-detail a { color: var(--text-secondary); text-decoration: none; transition: color .3s; }
.location-detail a:hover { color: var(--accent-yellow); }

.location-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border-radius: 8px; border: 2px solid var(--primary-color); color: var(--primary-color); font-weight: 700; text-decoration: none; transition: var(--transition); }
.btn-outline:hover { background: var(--primary-color); color: #fff; transform: translateY(-2px); }
body.dark-mode .btn-outline { border-color: var(--text-primary); color: var(--text-primary); }
body.dark-mode .btn-outline:hover { background: var(--text-primary); color: var(--bg-color); }

.map-frame { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.15); aspect-ratio: 4 / 3; border: 6px solid var(--card-bg); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.15) contrast(1.05); }
body.dark-mode .map-frame iframe { filter: grayscale(.5) invert(.9) contrast(.85); }

/* =======================================================
   6.3 ANIMAÇÃO DE ENTRADA GENÉRICA (.reveal)
======================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =======================================================
   7. FOOTER PROFISSIONAL E BOTÕES FLUTUANTES
======================================================= */
.footer {
    background-color: var(--card-bg);
    color: var(--text-secondary);
    padding: 80px 0 30px;
    border-top: 1px solid var(--footer-border);
}
body.dark-mode .footer { border-top: 1px solid rgba(255,255,255,0.05); }

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Dá mais espaço para a logo e o texto */
    gap: 60px;
    margin-bottom: 60px;
}

/* Coluna 1: Marca */
.footer-brand .footer-logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.footer-logo { height: 40px; width: auto; }
.footer-logo-text { font-size: 1.5rem; font-weight: 800; color: var(--text-primary); }

.footer-brand p {
    margin-bottom: 24px;
    max-width: 350px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Redes Sociais */
.social-icons { display: flex; gap: 15px; }
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    transition: var(--transition);
    text-decoration: none;
}
.social-icons a:hover {
    background-color: var(--accent-yellow);
    color: #000;
    transform: translateY(-3px);
}
.social-icons svg { width: 18px; height: 18px; fill: currentColor; }

/* Colunas 2 e 3: Links Rápidos e Legal */
.footer-links h3, .footer-legal h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 24px;
    font-weight: 700;
}
.footer-links { display: flex; flex-direction: column; gap: 14px; }
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}
.footer-links a:hover { color: var(--accent-yellow); }

.footer-legal p { margin-bottom: 16px; font-size: 0.95rem; line-height: 1.6; }
.footer-legal strong { color: var(--text-primary); }

/* Rodapé Bottom (Créditos e Direitos) */
.footer-bottom { 
    border-top: 1px solid var(--footer-border); 
    padding-top: 24px; 
}
body.dark-mode .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.copyright, .dev-credits { font-size: 0.9rem; color: var(--muted-dim); margin: 0; }

/* Destaque para o seu nome! (Laranja igual ao print) */
.dev-credits a {
    color: #F05A28; 
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.3s;
}
.dev-credits a:hover { opacity: 0.8; }

.disclaimer { text-align: center; font-size: 0.8rem; color: var(--muted-dim); margin: 0; }

/* Botão Flutuante WPP (Mantido o seu código original) */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background-color: #25D366; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); z-index: 1000; transition: transform 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); }

/* =======================================================
   8. RESPONSIVIDADE
======================================================= */
@media (max-width: 992px) {
    /* 1. AJUSTE DO CABEÇALHO PARA O BOTÃO CABER */
    .header { height: 80px; padding: 0; }
    .header-content { padding: 0 20px; }
    
    .logo { gap: 10px; }
    .logo-img { height: 50px; } /* Logo bem menor no mobile */
    .logo-text { font-size: 1.2rem; } /* Texto menor no mobile */
    
    .header.scrolled { height: 70px; }
    .header.scrolled .logo-img { height: 40px; }
    
    .main-nav { display: none; }
    
    .theme-toggle-btn { margin-left: 10px; } /* Reduz a margem do botão */

    /* 2. CORREÇÃO DA IMAGEM DE FUNDO (BUG DO IOS/MOBILE) */
    .hero-full-screen { 
        background-attachment: scroll; /* Desativa o fundo fixo no celular, consertando o zoom */
        padding-top: 80px;
    }
    
    .hero-content-grid { grid-template-columns: 1fr; padding-top: 60px; text-align: center; }
    .left-col h1 { font-size: 2.5rem; }
    .left-col p { max-width: 100%; margin: 0 auto 30px; }
    .hero-badges, .hero-actions-container { justify-content: center; align-items: center; }
    .right-col { display: none; } 
    
    .section-title { font-size: 2rem; }

    .location-grid { grid-template-columns: 1fr; gap: 40px; }
    .location-info { text-align: center; }
    .location-lead { margin-left: auto; margin-right: auto; }
    .location-detail { text-align: left; }
    .location-actions { justify-content: center; }
    .map-frame { aspect-ratio: 16 / 10; }

    .review-card { width: 280px; padding: 24px; }
    .reviews-header .eyebrow-label { justify-content: center; }

    /* AJUSTES DO FOOTER PARA MOBILE */
    .footer { padding: 50px 0 20px; }
    .footer-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-brand .footer-logo-container { justify-content: center; }
    .footer-brand p { margin: 0 auto 24px; }
    .social-icons { justify-content: center; }
    .footer-bottom-flex { flex-direction: column; gap: 12px; justify-content: center; }
}

@media (max-width: 860px) {
    .journey-track { padding-left: 8px; padding-right: 24px; }
    .stage { grid-template-columns: 56px 1fr; min-height: 260px; }
    .stage-dot { grid-column: 1; justify-self: start; width: 52px; height: 52px; }
    .stage-dot svg { width: 22px; height: 22px; }
    .stage-card, .stage.side-right .stage-card { grid-column: 2; justify-self: start; text-align: left; max-width: 100%; transform: translate(0, 18px); }
    .stage.in-view .stage-card { transform: translate(0,0); }
    .stage-card::before, .stage.side-right .stage-card::before { left: -26px; right:auto; top: 26px; width: 20px; background: linear-gradient(to right, var(--asphalt-600), transparent); }
    .stage:not(.side-right) .stage-eyebrow { flex-direction: row; }
    .journey-hud { top: 90px; /* Ajuste para não conflitar com header menor */ }
    .hud-bar { width: 60px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior:auto !important; }
}