/* ==========================================================================
   1. SETUP & VARIÁVEIS (:root)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Manrope:wght@400;600;700;800&display=swap');

:root {
    /* --- PALETA DE CORES (High-End Dark Mode) --- */
    --bg-body: #0B0B0B;
    --bg-surface: #121212;
    --bg-surface-highlight: #1A1A1A;
    
    /* Dourado Metálico */
    --gold-primary: #CFA45D;
    --gold-gradient: linear-gradient(135deg, #DFC088 0%, #CFA45D 50%, #9E7D44 100%);
    --gold-glow: rgba(207, 164, 93, 0.25);
    
    /* Tipografia e Bordas */
    --text-main: #FFFFFF;
    --text-body: #E0E0E0;
    --text-muted: #888888;
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-gold: rgba(207, 164, 93, 0.3);

    /* --- LAYOUT --- */
    --container-max: 1240px;
    --header-height: 90px;
    --radius-card: 16px;
    --radius-btn: 6px;
    
    /* --- ANIMAÇÕES --- */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 100%; overflow-x: hidden; }

body {
    background-color: var(--bg-body);
    color: var(--text-body);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image: radial-gradient(circle at top center, #1a1500 0%, #0B0B0B 60%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    cursor: none; /* Cursor personalizado ativo */
}

.container { width: 90%; max-width: var(--container-max); margin: 0 auto; padding: 0 1rem; }

/* ==========================================================================
   3. TIPOGRAFIA & UI
   ========================================================================== */
h1, h2, h3, h4, h5, h6 { font-family: 'Manrope', sans-serif; color: var(--text-main); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(3rem, 6vw, 5.5rem); letter-spacing: -0.04em; line-height: 1.05; }
h2 { letter-spacing: -0.03em; }
p { opacity: 0.9; font-weight: 300; }

.kicker { display: block; color: var(--gold-primary); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 1rem; }
.text-gradient { background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2.5rem; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.9rem; border-radius: var(--radius-btn); transition: var(--transition-smooth); cursor: pointer; border: none; position: relative; overflow: hidden; }
.btn--gold { background: var(--gold-gradient); color: #000000; box-shadow: 0 4px 20px rgba(207, 164, 93, 0.15); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(207, 164, 93, 0.4); }
.btn--outline { background: transparent; border: 1px solid var(--gold-primary); color: var(--gold-primary); }
.btn--outline:hover { background: rgba(207, 164, 93, 0.1); color: var(--text-main); }

/* ==========================================================================
   4. HEADER & NAV
   ========================================================================== */
.header { position: fixed; top: 0; width: 100%; height: var(--header-height); background: transparent; z-index: 1000; display: flex; align-items: center; transition: all 0.4s ease; border-bottom: 1px solid transparent; }
.header.header-scrolled { background: #0B0B0B; border-bottom: 1px solid var(--border-subtle); height: 80px; }

.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }

/* LOGO PADRÃO (200px) */
.logo img { 
    width: 300px; 
    height: auto; 
    border-radius: 0; 
    display: block; 
    object-fit: contain;
    transition: transform 0.3s ease; 
}
.logo:hover img { transform: scale(1.05); }

.nav-menu { display: flex; gap: 2rem; list-style: none; }
.nav-link { color: var(--text-body); text-decoration: none; font-size: 0.9rem; font-weight: 500; text-transform: uppercase; transition: color 0.3s; }
.nav-link:hover { color: var(--gold-primary); }
.mobile-toggle { display: none; color: var(--text-main); background: none; border: none; cursor: pointer; }

/* ==========================================================================
   5. SEÇÕES & EFEITOS
   ========================================================================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: var(--header-height); }
.hero-content { position: relative; z-index: 2; max-width: 800px; }

.section { padding: 6rem 0; }
.section-darker { background-color: #050505; }
.reveal-up { opacity: 0; transform: translateY(40px); transition: 0.8s ease-out; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: 0.8s ease-out; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: 0.8s ease-out; }
.visible { opacity: 1; transform: translate(0, 0); }

/* ==========================================================================
   6. PORTFOLIO & CARDS
   ========================================================================== */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.portfolio-card { height: 400px; border-radius: 16px; position: relative; overflow: hidden; border: 1px solid var(--border-subtle); cursor: pointer; }
.portfolio-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.6s ease; filter: brightness(0.5); }
.portfolio-card:hover .portfolio-bg { transform: scale(1.1); filter: brightness(0.3); }
.portfolio-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 2rem; background: linear-gradient(to top, #000, transparent); transform: translateY(10px); transition: 0.4s ease; }
.portfolio-card:hover .portfolio-content { transform: translateY(0); }
.portfolio-tag { color: var(--gold-primary); font-size: 0.75rem; text-transform: uppercase; font-weight: 700; display: block; margin-bottom: 0.5rem; }
.portfolio-content h3 { font-size: 1.5rem; color: white; margin-bottom: 0.5rem; }
.portfolio-content p { color: #ccc; font-size: 0.9rem; margin: 0; line-height: 1.4; }

/* ==========================================================================
   7. DIFERENCIAIS (GRÁFICO CORRIGIDO & ANIMADO)
   ========================================================================== */
.check-list { list-style: none; }

.comparison-card { 
    background: var(--bg-surface); 
    border: 1px solid var(--border-subtle); 
    border-radius: 12px; 
    padding: 2rem; 
    position: relative; 
    overflow: hidden; 
}
.comparison-card::before { 
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; 
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent); 
}
.comp-header { 
    display: flex; justify-content: space-between; align-items: center; 
    margin-bottom: 2rem; border-bottom: 1px solid var(--border-subtle); padding-bottom: 1rem; 
    color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase; 
}
.chart-bar-container { 
    display: flex; justify-content: space-between; align-items: flex-end; 
    height: 200px; padding-top: 20px; 
}
.chart-col { 
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end; 
    gap: 10px; width: 15%; height: 100%; position: relative;
}
.chart-col span { font-size: 0.8rem; color: var(--text-muted); }
.bar { 
    width: 100%; background: #333; border-radius: 4px; position: relative;
    transform-origin: bottom; transition: height 1s cubic-bezier(0.34, 1.56, 0.64, 1); height: 0%;
}
.chart-active .chart-col:nth-child(1) .bar { height: 30%; transition-delay: 0.2s; }
.chart-active .chart-col:nth-child(2) .bar { height: 50%; transition-delay: 0.4s; }
.chart-active .chart-col:nth-child(3) .bar { height: 75%; transition-delay: 0.6s; }
.chart-active .chart-col:nth-child(4) .bar { height: 100%; transition-delay: 0.8s; }
.gold-bar { background: var(--gold-gradient); box-shadow: 0 0 20px rgba(207, 164, 93, 0.3); }
.bar-tooltip { 
    position: absolute; top: -35px; left: 50%; transform: translateX(-50%) translateY(10px); 
    background: var(--gold-primary); color: black; padding: 4px 8px; 
    border-radius: 4px; font-weight: bold; font-size: 0.8rem; white-space: nowrap; opacity: 0; 
    transition: all 0.5s ease 1.2s; 
}
.chart-active .bar-tooltip { opacity: 1; transform: translateX(-50%) translateY(0); animation: bounce 2s infinite 1.5s; }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-5px); } }

/* =========================================
   8. ECOSSISTEMA ORBITAL (COVER FLOW 3D)
   ========================================= */
.orbit-wrapper { position: relative; width: 100%; height: 480px; display: flex; justify-content: center; align-items: center; overflow: hidden; perspective: 1000px; cursor: grab; margin-bottom: 3rem; }
.orbit-wrapper:active { cursor: grabbing; }
.orbit-ring { position: relative; width: 300px; height: 400px; transform-style: preserve-3d; }
.orbit-item { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform-style: preserve-3d; }
.orbit-card { width: 100%; height: 100%; background: rgba(18, 18, 18, 0.95); border: 1px solid var(--border-subtle); border-radius: 20px; padding: 2.5rem 1.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 15px 40px rgba(0,0,0,0.6); user-select: none; backdrop-filter: blur(10px); transition: border-color 0.3s, box-shadow 0.3s; }
.orbit-card:hover { border-color: var(--gold-primary); box-shadow: 0 0 30px rgba(207, 164, 93, 0.15); }
.card-icon { font-size: 3.5rem; margin-bottom: 1.5rem; filter: drop-shadow(0 0 10px rgba(207, 164, 93, 0.4)); }
.orbit-card h3 { font-size: 1.4rem; margin-bottom: 1rem; color: white; }
.orbit-card p { font-size: 0.9rem; color: #bbb; line-height: 1.5; }
.orbit-instruction { position: absolute; bottom: 20px; width: 100%; text-align: center; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.2em; pointer-events: none; opacity: 0.7; }

/* ==========================================================================
   9. ARQUITETURA NØRAN (DESIGN REFINADO HIGH-END)
   ========================================================================== */
.arquitetura-noran { 
    background-color: #030303; /* Fundo ainda mais profundo */
    padding: 10rem 1.5rem; 
    color: #ffffff; 
    font-family: 'Inter', sans-serif; 
    position: relative; 
    overflow: hidden; 
}

/* Efeito de luz de fundo para dar profundidade ao palco */
.arquitetura-noran::before { 
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); 
    width: 100%; height: 600px; 
    background: radial-gradient(ellipse at top, rgba(207, 164, 93, 0.06), transparent 60%); 
    z-index: 0; pointer-events: none; 
}

.container-noran { max-width: 1240px; margin: 0 auto; position: relative; z-index: 1; }

.arq-header { text-align: center; max-width: 850px; margin: 0 auto 6rem auto; }

.badge-gold { 
    display: inline-block; color: #D4AF37; font-size: 0.8rem; text-transform: uppercase; 
    letter-spacing: 0.25em; font-weight: 700; margin-bottom: 2.5rem; 
    border: 1px solid rgba(212, 175, 55, 0.3); padding: 0.6rem 1.5rem; 
    border-radius: 50px; background: rgba(212, 175, 55, 0.05); 
    backdrop-filter: blur(5px); 
}

.arq-header h2 { font-size: 2.6rem; line-height: 1.25; margin-bottom: 1.5rem; font-weight: 300; letter-spacing: -1px; }
.arq-header h2 strong { font-weight: 700; background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.arq-header p { color: #888888; font-size: 1.15rem; line-height: 1.7; max-width: 750px; margin: 0 auto; }

/* Grid com linha de conexão visual (Flow) */
.arq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-bottom: 5rem; position: relative; }

/* Linha conectora entre os cards (Apenas no Desktop) */
@media (min-width: 993px) {
    .arq-grid::after { 
        content: ''; position: absolute; top: 50%; left: 10%; right: 10%; height: 1px; 
        background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.15), transparent); 
        z-index: 0; 
    }
}

/* Cartões Refinados (Metal/Glass Look) */
.arq-card { 
    background: linear-gradient(180deg, #0f0f0f 0%, #050505 100%); 
    border: 1px solid rgba(255, 255, 255, 0.02); 
    border-top: 1px solid rgba(212, 175, 55, 0.15); /* Reflexo dourado no topo */
    padding: 4rem 3rem; 
    border-radius: 16px; 
    position: relative; 
    overflow: hidden; 
    z-index: 1; 
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.8); 
}

/* Hover Dramático */
.arq-card:hover { 
    border-top-color: #D4AF37; 
    border-bottom-color: rgba(212, 175, 55, 0.1); 
    transform: translateY(-12px); 
    box-shadow: 0 25px 50px rgba(0,0,0,0.9), 0 0 40px rgba(212, 175, 55, 0.05); 
}

/* Tipografia Vazada (Stroke) para os Números de Fundo */
.arq-number { 
    position: absolute; top: -15px; right: -15px; 
    font-size: 10rem; font-weight: 800; color: transparent; 
    -webkit-text-stroke: 1px rgba(212, 175, 55, 0.07); 
    line-height: 1; z-index: -1; transition: 0.5s ease; user-select: none; 
}
.arq-card:hover .arq-number { 
    -webkit-text-stroke: 1px rgba(212, 175, 55, 0.2); 
    transform: scale(1.05) rotate(-5deg); 
}

.arq-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.4; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; }
.arq-card h4 { font-size: 0.95rem; color: #D4AF37; font-weight: 400; margin-bottom: 2rem; font-style: italic; letter-spacing: 0.02em; }
.arq-card p { color: #888888; font-size: 0.95rem; line-height: 1.7; }

.arq-footer { text-align: center; position: relative; z-index: 2; margin-top: 4rem; }

/* Botão Magnético */
.btn-auditoria { 
    display: inline-block; background: linear-gradient(135deg, #D4AF37 0%, #AA8020 100%); 
    color: #000; padding: 1.2rem 3.5rem; font-size: 0.95rem; font-weight: 800; 
    text-transform: uppercase; letter-spacing: 0.15em; text-decoration: none; 
    border-radius: 4px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15); 
}
.btn-auditoria:hover { 
    transform: scale(1.03) translateY(-3px); 
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.35); color: #000; 
}

/* Responsividade Arquitetura (Ajuste para Mobile/Tablet) */
@media (max-width: 992px) {
    .arq-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .arq-header h2 { font-size: 2rem; }
}
@media (max-width: 768px) {
    .arquitetura-noran { padding: 6rem 1rem; }
    .arq-card { padding: 3rem 2rem; }
    .arq-number { font-size: 8rem; right: -5px; }
    .btn-auditoria { width: 100%; padding: 1.2rem 1rem; }
}
/* ==========================================================================
   10. PLANOS, QUALIFICAÇÃO & EXTRAS
   ========================================================================== */
.qualification-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.qual-card { padding: 3rem; border-radius: 16px; border: 1px solid var(--border-subtle); background: var(--bg-surface); transition: 0.3s; }
.qual-card.bad { border-left: 4px solid #ff4444; } .qual-card.bad .qual-icon { color: #ff4444; font-size: 2.5rem; margin-bottom: 1rem; }
.qual-card.good { border: 1px solid var(--gold-primary); background: linear-gradient(180deg, rgba(207, 164, 93, 0.05), transparent); }
.qual-card.good .qual-icon { color: var(--gold-primary); font-size: 2.5rem; margin-bottom: 1rem; }
.qual-card ul { list-style: none; padding: 0; } .qual-card li { margin-bottom: 1rem; color: var(--text-muted); }

.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.plan-card { background: var(--bg-surface); padding: 3rem 2rem; border-radius: 16px; border: 1px solid var(--border-subtle); text-align: center; display: flex; flex-direction: column; justify-content: space-between; transition: 0.3s; }
.plan-card.featured { border: 1px solid var(--gold-primary); background: linear-gradient(180deg, rgba(207, 164, 93, 0.08) 0%, var(--bg-surface) 100%); transform: scale(1.05); z-index: 2; }
.plan-name { font-size: 2rem; color: white; margin-bottom: 0.5rem; }
.plan-price { font-size: 1.5rem; font-weight: 800; color: var(--gold-primary); margin-bottom: 1rem; }
.plan-features { list-style: none; text-align: left; margin: 2rem 0; } .plan-features li { margin-bottom: 0.8rem; font-size: 0.9rem; display: flex; gap: 10px; }
.popular-badge { background: var(--gold-primary); color: black; font-weight: bold; font-size: 0.7rem; padding: 4px 10px; border-radius: 4px; display: inline-block; margin-bottom: 1rem; }

/* ==========================================================================
   11. CONTATO & FAQ
   ========================================================================== */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contact-form-wrapper { background: var(--bg-surface); padding: 2.5rem; border-radius: 16px; border: 1px solid var(--border-subtle); }
.input-field { width: 100%; padding: 1rem; background: #1a1a1a; border: 1px solid var(--border-subtle); color: white; border-radius: var(--radius-btn); outline: none; transition: 0.3s; }
.input-field:focus { border-color: var(--gold-primary); background: #222; }
.info-item { display: flex; gap: 1rem; margin-bottom: 2rem; }
.info-icon { width: 40px; height: 40px; background: rgba(207, 164, 93, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold-primary); }

.faq-wrapper { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 8px; overflow: hidden; transition: 0.3s; }
.faq-item[open] { border-color: var(--gold-primary); background: var(--bg-surface-highlight); }
.faq-item summary { padding: 1.5rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; color: white; }
.faq-item summary::after { content: '+'; color: var(--gold-primary); font-size: 1.5rem; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.5rem 1.5rem; color: var(--text-muted); font-size: 0.95rem; }

/* ==========================================================================
   12. FOOTER (RODAPÉ)
   ========================================================================== */
.footer { background: #000; padding: 5rem 0 2rem; border-top: 1px solid var(--border-subtle); }
.footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; }
.footer__brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0px; }
.footer__brand img { height: 140px; width: 140px; border-radius: 50%; object-fit: cover; display: block; margin: 0; padding: 0; }
.footer__brand p { margin: -15px 0 0 0; font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.3em; line-height: 1; opacity: 0.8; }
.footer__legal { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.footer__legal a { color: var(--text-muted); font-size: 0.75rem; text-decoration: none; margin-left: 1rem; transition: 0.3s; border-bottom: 1px solid transparent; }
.footer__legal a:hover { color: var(--gold-primary); border-color: var(--gold-primary); }

/* ==========================================================================
   13. ELEMENTOS ESPECÍFICOS (TIMELINE, CALC, FLIP)
   ========================================================================== */
.mvv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.flip-card { background-color: transparent; width: 100%; height: 320px; perspective: 1000px; cursor: pointer; }
.flip-card-inner { position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.8s; transform-style: preserve-3d; }
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back { position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 16px; padding: 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--border-subtle); }
.flip-card-front { background: var(--bg-surface); }
.flip-card-front h3 { font-size: 2rem; color: white; margin-top: 1rem; letter-spacing: -0.02em; }
.mvv-icon-box { width: 80px; height: 80px; background: rgba(255, 255, 255, 0.03); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-subtle); font-size: 2.5rem; transition: 0.3s; }
.flip-card:hover .mvv-icon-box { background: var(--gold-gradient); transform: scale(1.1); box-shadow: 0 0 20px rgba(207, 164, 93, 0.5); border-color: transparent; }
.flip-card-back { background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%); color: white; transform: rotateY(180deg); border: 1px solid var(--gold-primary); }
.flip-card-back h3 { color: var(--gold-primary); margin-bottom: 1.5rem; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.1em; }
.flip-card-back p { font-size: 0.95rem; line-height: 1.6; color: #e0e0e0; }
.values-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.values-tags span { background: rgba(207, 164, 93, 0.15); padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; color: var(--gold-primary); border: 1px solid rgba(207, 164, 93, 0.3); }

/* Calculadora ROI */
.calculator-card { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 24px; padding: 3rem; max-width: 600px; margin: 0 auto; }
.calc-input-group label { display: block; color: white; font-weight: 600; margin-bottom: 1.5rem; font-size: 1.1rem; text-align: center;}
input[type=range] { -webkit-appearance: none; width: 100%; height: 6px; background: rgba(255, 255, 255, 0.1); border-radius: 5px; outline: none; cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; background: var(--gold-primary); border-radius: 50%; cursor: grab; box-shadow: 0 0 15px rgba(207, 164, 93, 0.6); margin-top: -9px; transition: transform 0.2s; }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.2); }
.range-value { margin-top: 1rem; text-align: right; font-family: 'Manrope', sans-serif; font-size: 1.5rem; font-weight: 700; color: white; }
.calc-result { margin-top: 3rem; text-align: center; padding: 2rem; background: rgba(207, 164, 93, 0.05); border-radius: 16px; border: 1px solid var(--border-gold); }
.calc-label { display: block; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 0.5rem; }
.calc-number { display: block; font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 1rem; }
.calc-obs { font-size: 0.75rem; color: var(--text-muted); opacity: 0.7; margin: 0; }

/* Timeline Blindada */
.timeline { position: relative; max-width: 1000px; margin: 0 auto; padding: 4rem 0; }
.timeline-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; background: rgba(255, 255, 255, 0.05); transform: translateX(-50%); border-radius: 4px; z-index: 1; }
.timeline-progress { position: absolute; left: 0; top: 0; width: 100%; height: 0%; background: var(--gold-primary); box-shadow: 0 0 20px rgba(207, 164, 93, 0.6); border-radius: 4px; transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1); z-index: 2; }
.timeline-progress::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; background: #fff; border-radius: 50%; box-shadow: 0 0 25px var(--gold-primary), 0 0 10px #fff; }
.timeline-drop { position: absolute; left: 50%; transform: translateX(-50%); width: 4px; height: 150px; background: linear-gradient(to bottom, transparent, #fff, var(--gold-primary), transparent); top: -150px; z-index: 5; box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 10px var(--gold-primary); border-radius: 4px; animation: drop-flow 3s cubic-bezier(0.4, 0.26, 0, 0.97) infinite; }
@keyframes drop-flow { 0% { top: -150px; opacity: 0; } 10% { opacity: 1; } 50% { opacity: 1; } 90% { opacity: 0; } 100% { top: 100%; opacity: 0; } }
.timeline-item { padding: 20px 60px; position: relative; width: 50%; box-sizing: border-box; z-index: 3; opacity: 0.3; transition: all 0.5s ease; cursor: pointer; filter: grayscale(1); }
.timeline-item.left { left: 0; text-align: right; }
.timeline-item.right { left: 50%; text-align: left; }
.timeline-item::before { content: ''; position: absolute; width: 20px; height: 20px; background: var(--bg-surface); border: 3px solid var(--border-subtle); border-radius: 50%; top: 40px; z-index: 10; transition: 0.4s; }
.timeline-item.left::before { right: -12px; }
.timeline-item.right::before { left: -12px; }
.timeline-item.active { opacity: 1; transform: scale(1.03); filter: grayscale(0); }
.timeline-item.active::before { background: var(--gold-primary); border-color: #fff; box-shadow: 0 0 30px var(--gold-primary); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(207, 164, 93, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(207, 164, 93, 0); } 100% { box-shadow: 0 0 0 0 rgba(207, 164, 93, 0); } }
.timeline-item.active .timeline-content { border-color: var(--gold-primary); box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.timeline-content { background: var(--bg-surface); padding: 2.5rem; border-radius: 20px; border: 1px solid var(--border-subtle); transition: 0.3s; }
.step-number { position: absolute; top: -20px; font-size: 3rem; font-weight: 800; color: rgba(255, 255, 255, 0.05); font-family: 'Manrope', sans-serif; }
.timeline-item.left .step-number { right: 20px; }
.timeline-item.right .step-number { left: 20px; }

/* ==========================================================================
   14. FLOATING EXTRAS (Cursor, WhatsApp, Cookies, Loader)
   ========================================================================== */
.cursor-dot { width: 8px; height: 8px; background-color: var(--gold-primary); position: fixed; top: 0; left: 0; border-radius: 50%; z-index: 10000; pointer-events: none; transform: translate(-50%, -50%); }
.cursor-outline { width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.5); position: fixed; top: 0; left: 0; border-radius: 50%; z-index: 9999; pointer-events: none; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, background-color 0.2s; }
body.hovering .cursor-outline { width: 60px; height: 60px; background-color: rgba(207, 164, 93, 0.1); border-color: var(--gold-primary); }

.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(15, 15, 15, 0.98); border-top: 1px solid var(--border-gold); padding: 1.5rem; z-index: 99999; backdrop-filter: blur(10px); box-shadow: 0 -10px 40px rgba(0,0,0,0.8); transform: translateY(100%); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); display: flex; justify-content: center; }
.cookie-banner.show { transform: translateY(0); }
.cookie-content { max-width: 1200px; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cookie-content p { margin: 0; font-size: 0.85rem; color: var(--text-body); flex: 1; min-width: 250px; }

#preloader { 
    position: fixed; 
    inset: 0; 
    background-color: #000; 
    z-index: 99999; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: opacity 0.8s ease, visibility 0.8s ease; 
}

.loader-content { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 1.5rem; 
    width: 90%; /* Garante que o conteúdo não encoste nas bordas no mobile */
}

.loader-logo { 
    /* AJUSTE AQUI: Em vez de 800px fixos, usamos largura relativa */
    width: 70vw; 
    max-width: 400px; /* No desktop ela não passará disso */
    height: auto;
    opacity: 0; 
    animation: fadeUp 1s ease forwards; 
}

.loader-line { 
    /* A linha de carregamento deve seguir a proporção da logo */
    width: 0%; 
    height: 2px; 
    background: var(--gold-gradient); 
    animation: loadLine 1.5s ease-in-out forwards; 
}

@keyframes fadeUp { 
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); } 
}

@keyframes loadLine { 
    /* Ajusta a linha para um tamanho harmônico no mobile */
    to { width: 200px; } 
}

/* No Mobile, podemos diminuir ainda mais a linha se necessário */
@media (max-width: 768px) {
    @keyframes loadLine { 
        to { width: 150px; } 
    }
}
#preloader.loaded { opacity: 0; visibility: hidden; }

.whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background-color: #25D366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 9999; animation: pulse-green 2s infinite; }
.whatsapp-float svg { width: 35px; height: 35px; fill: white; }
@keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ==========================================================================
   15. MEDIA QUERIES INTERMEDIÁRIAS (Tablets)
   ========================================================================== */
@media (max-width: 992px) {
    .arq-grid { grid-template-columns: 1fr; gap: 2rem; }
    .arq-header h2 { font-size: 1.8rem; }
}

/* ==========================================================================
   16.MOBILE  PERFECT (Responsividade Otimizada - DEVE FICAR NO FIM)
   ========================================================================== */
@media (max-width: 768px) {
    /* GERAL & TIPOGRAFIA */
    .section { padding: 4rem 0; } 
    h1 { font-size: 2.2rem; line-height: 1.1; margin-bottom: 1rem; }
    h2.section-title { font-size: 1.8rem; }
    p { font-size: 0.95rem; line-height: 1.5; }

    /* HEADER & MENU */
    .mobile-toggle { display: block; z-index: 1100; position: relative; color: white; padding: 10px; }
    .nav-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: #0B0B0B; flex-direction: column; justify-content: center; align-items: center; gap: 2rem; padding-bottom: 4rem; transform: translateY(-100%); transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1); z-index: 1050; opacity: 1; visibility: hidden; }
    .nav-menu.active { transform: translateY(0); visibility: visible; }
    .nav-link { font-size: 1.5rem; font-weight: 600; }
    .header-actions .btn { display: none; } 

    /* HERO SECTION */
    .hero { padding-top: 120px; align-items: flex-start; }
    .hero-content { text-align: left; }
    .hero-buttons { flex-direction: column; gap: 1rem; width: 100%; }
    .btn { width: 100%; } 

    /* TIMELINE (Ajuste Crítico - Lista Vertical) */
    .timeline { padding: 2rem 0; }
    .timeline-line { left: 20px; transform: none; }
    .timeline-progress { left: 0; width: 4px; }
    .timeline-drop { display: none; } 
    .timeline-progress::after { left: 50%; transform: translateX(-50%); bottom: -5px; } 
    .timeline-item { width: 100%; padding-left: 60px; padding-right: 0; text-align: left; margin-bottom: 2.5rem; }
    .timeline-item.left, .timeline-item.right { left: 0; text-align: left; }
    .timeline-item.left::before, .timeline-item.right::before { left: 11px; right: auto; }
    .timeline-item.left .step-number, .timeline-item.right .step-number { right: auto; left: 60px; top: -25px; font-size: 2.5rem; }
    .timeline-content { padding: 1.5rem; } 

    /* GRÁFICO, ECOSSISTEMA & GRIDS */
    .chart-bar-container { height: 180px; padding: 0 10px; }
    .bar-tooltip { font-size: 0.7rem; padding: 2px 6px; top: -30px; }
    
    .contact-wrapper, .qualification-grid, .plans-grid, .portfolio-grid, .mvv-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .plan-card.featured { transform: scale(1); margin: 0; }
    
    /* Ecossistema Mobile */
    .orbit-wrapper { height: auto; margin-top: 2rem; overflow: visible; }
    .orbit-scene { perspective: none; display: block; }
    .orbit-instruction { display: none; }
    .orbit-core { display: none; } 
    .orbit-ring { width: 100%; height: auto; transform: none !important; display: flex; flex-direction: column; gap: 1.5rem; }
    .orbit-item { position: relative; top: auto; left: auto; transform: none !important; width: 100%; }
    .orbit-card { width: 100%; transform: none !important; margin: 0; background: var(--bg-surface); }

    /* ARQUITETURA NØRAN MOBILE */
    .arquitetura-noran { padding: 4rem 1rem; }
    .arq-header { margin-bottom: 3rem; }
    .arq-number { font-size: 2.5rem; }
    .arq-card { padding: 2rem 1.5rem; }

    /* RODAPÉ & EXTRAS */
    .footer .container { flex-direction: column; text-align: center; gap: 2rem; }
    .footer__brand { align-items: center; }
    .footer__legal { align-items: center; text-align: center; width: 100%; }
    
    .cookie-content { flex-direction: column; text-align: center; gap: 1rem; }
    .cookie-actions { width: 100%; }
    
    body { cursor: auto; } 
    .cursor-dot, .cursor-outline { display: none; }
    
    .whatsapp-float { width: 55px; height: 55px; bottom: 20px; right: 20px; }
}

/* =================================================================
   AJUSTE DA CALCULADORA APENAS MOBILE
   ================================================================= */
@media (max-width: 768px) {
    /* Ajusta o card para não vazar das bordas */
    .calculator-card {
        padding: 1.5rem !important; /* Diminui o respiro interno */
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 16px !important;
    }

    /* Coloca o seletor e o valor em linhas diferentes para ganhar espaço */
    .range-wrapper {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }

    /* Aumenta o tamanho da fonte do resultado para leitura clara */
    .calc-number {
        font-size: 2.2rem !important;
        word-wrap: break-word !important; /* Garante que o número grande não quebre o layout */
    }

    /* Ajusta o label para não ficar muito grande */
    .calc-input-group label {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
    }

    /* Garante que o valor do investimento (R$) fique centralizado */
    .range-value {
        text-align: center !important;
        margin-top: 0.5rem !important;
        font-size: 1.2rem !important;
    }
    .calc-number {
        font-size: 1.8rem !important; /* Diminuímos um pouco a base para garantir que caiba */
        white-space: nowrap !important; /* Proíbe o número de quebrar linha */
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        letter-spacing: -0.05em !important; /* Aproxima um pouco os números para ganhar espaço */
    }

    /* Ajuste extra no container para dar o máximo de largura possível */
    .calc-result {
        padding: 1.5rem 0.5rem !important; /* Reduzimos o respiro nas laterais do fundo dourado */
    }
}
