/* ===== DESIGN TOKENS ===== */
:root {
    --bg-primary: #0a0f0d;
    --bg-secondary: #111a14;
    --bg-card: #152018;
    --accent: #c3ff00;
    --accent-dim: #8ab800;
    --accent-glow: rgba(195, 255, 0, 0.15);
    --green: #2ecc71;
    --red: #e74c3c;
    --text: #e8efe8;
    --text-dim: #8fb898;
    --border: rgba(195, 255, 0, 0.12);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
    font-family: inherit; font-size: inherit; color: inherit;
    background: none; border: none; outline: none;
}
ul { list-style: none; }

/* ===== ACCESSIBILITY ===== */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ===== VALIDATION ===== */
.field-error {
    border-color: var(--red) !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2), 0 2px 10px rgba(0, 0, 0, 0.1) inset !important;
    animation: shake 0.3s ease;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-accent { color: var(--accent); }
.full-width { grid-column: 1 / -1; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 15, 13, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(195, 255, 0, 0.05);
    transition: var(--transition);
}
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); }
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; }
.logo-img {
    width: 36px; height: 36px; border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 12px var(--accent-glow);
    transition: var(--transition);
}
.nav-logo:hover .logo-img { box-shadow: 0 0 20px var(--accent-glow); transform: scale(1.05); }
.logo-circle {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--accent); color: var(--bg-primary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem;
}
.logo-text { letter-spacing: -0.5px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    font-size: 0.9rem; font-weight: 500; color: var(--text-dim);
    transition: var(--transition); position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--accent); border-radius: 1px;
    transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    background: var(--accent) !important; color: var(--bg-primary) !important;
    padding: 8px 20px !important; border-radius: 8px; font-weight: 600 !important;
}
.nav-cta:hover { opacity: 0.9; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 12px;
    font-weight: 600; font-size: 1rem;
    cursor: pointer; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none; text-transform: uppercase; letter-spacing: 0.5px;
}
.btn-primary {
    background: var(--accent); color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(195, 255, 0, 0.1);
}
.btn-primary:hover { 
    transform: translateY(-3px) scale(1.02); 
    box-shadow: 0 10px 25px rgba(195, 255, 0, 0.3); 
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.03); color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover { 
    border-color: var(--accent); color: var(--accent); 
    background: rgba(195, 255, 0, 0.05);
    transform: translateY(-3px);
}
.btn-whatsapp {
    background: #25d366; color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    background: #22c55e;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; padding: 120px 24px 80px; text-align: center;
    overflow: hidden;
}
.hero-bg-particles {
    position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(circle at 20% 30%, rgba(195,255,0,0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(46,204,113,0.06) 0%, transparent 50%);
    filter: blur(40px);
    animation: breathe 10s ease-in-out infinite alternate;
}
@keyframes breathe {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}
.hero-content { position: relative; z-index: 1; max-width: 900px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; border-radius: 50px;
    background: var(--accent-glow); border: 1px solid var(--border);
    font-size: 0.8rem; font-weight: 500; color: var(--accent);
    margin-bottom: 32px; letter-spacing: 0.5px;
}
.badge-dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-title {
    font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700; line-height: 1.1; margin-bottom: 24px;
    letter-spacing: -1px;
}
.hero-sub {
    font-size: 1.15rem; color: var(--text-dim);
    max-width: 640px; margin: 0 auto 40px; line-height: 1.7;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
    display: flex; align-items: center; justify-content: center; gap: 40px;
    padding-top: 40px; border-top: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-number {
    font-family: var(--font-mono); font-size: 2rem; font-weight: 700; color: var(--accent);
    display: inline;
}
.stat-suffix { font-family: var(--font-mono); font-size: 2rem; font-weight: 700; color: var(--accent); display: inline; }
.stat-label { font-size: 0.8rem; color: var(--text-dim); display: block; margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.hero-scroll-indicator {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--text-dim); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
}
.scroll-line { width: 1px; height: 40px; background: var(--border); animation: scroll-anim 2s infinite; }
@keyframes scroll-anim {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== SECTIONS ===== */
.section { padding: 120px 0; }
.section-label {
    font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500;
    color: var(--accent); text-transform: uppercase; letter-spacing: 3px;
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.5px;
}
.section-subtitle { color: var(--text-dim); font-size: 1.1rem; max-width: 600px; margin-bottom: 60px; }

/* ===== PROBLEMA ===== */
.problema-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.problema-card {
    background: linear-gradient(145deg, rgba(21, 32, 24, 0.8), rgba(15, 22, 17, 0.4));
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(195, 255, 0, 0.08);
    border-radius: var(--radius-lg); padding: 40px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0; transform: translateY(30px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.problema-card.revealed { opacity: 1; transform: translateY(0); }
.problema-card:hover { 
    border-color: rgba(195, 255, 0, 0.3); 
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(195, 255, 0, 0.05) inset;
}
.problema-icon {
    width: 64px; height: 64px; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--accent-glow);
    border: 1px solid var(--border);
}
.problema-icon svg { stroke: var(--accent); }
.problema-number {
    font-family: var(--font-mono); font-size: 3rem; font-weight: 700;
    color: var(--accent); margin-bottom: 12px; line-height: 1;
}
.problema-card p { color: var(--text-dim); line-height: 1.6; }
.problema-card strong { color: var(--text); }

/* ===== CALCULADORA ===== */
.section-calc { background: var(--bg-secondary); }
.calc-wrapper {
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 48px; max-width: 800px; margin: 0 auto;
    position: relative; overflow: visible;
}
.calc-wrapper::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--green), var(--accent));
}
.calc-progress { margin-bottom: 40px; }
.progress-bar {
    height: 3px; background: var(--border); border-radius: 3px; margin-bottom: 20px;
    position: relative; overflow: hidden;
}
.progress-bar::after {
    content: ''; position: absolute; top: 0; left: 0; height: 100%;
    background: var(--accent); border-radius: 3px;
    width: var(--progress, 20%); transition: width 0.4s ease;
}
.progress-steps { display: flex; justify-content: space-between; }
.progress-step {
    font-size: 0.8rem; color: var(--text-dim); display: flex; align-items: center; gap: 6px;
    transition: var(--transition); cursor: pointer; user-select: none;
}
.progress-step:hover { color: var(--accent); }
.progress-step:hover span { border-color: var(--accent); }
.progress-step span {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--bg-card); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: 600; transition: var(--transition);
}
.progress-step.active { color: var(--accent); }
.progress-step.active span { background: var(--accent); color: var(--bg-primary); border-color: var(--accent); }
.progress-step.done span { background: var(--green); color: #fff; border-color: var(--green); }

.calc-step { display: none; animation: fadeIn 0.4s ease; }
.calc-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

.step-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 8px; }
.step-desc { color: var(--text-dim); margin-bottom: 24px; font-size: 0.95rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--text-dim); }
.form-group input, .form-group select, .form-group textarea {
    padding: 14px 18px; border-radius: 10px;
    background: rgba(10, 15, 13, 0.6); 
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text); transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) inset;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent); 
    background: rgba(10, 15, 13, 0.9);
    box-shadow: 0 0 0 3px rgba(195, 255, 0, 0.15), 0 2px 10px rgba(0, 0, 0, 0.1) inset;
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-card); }
.form-group textarea { resize: vertical; }

.form-section-label {
    font-size: 0.9rem !important; font-weight: 600 !important;
    color: var(--accent) !important; letter-spacing: 0.5px;
    padding-bottom: 4px; border-bottom: 1px solid var(--border);
    margin-top: 8px;
}
.step-note {
    margin-top: 20px; padding: 16px; border-radius: 8px;
    background: var(--accent-glow); border: 1px solid var(--border);
    font-size: 0.85rem; color: var(--text-dim);
}

.calc-actions { display: flex; justify-content: space-between; margin-top: 32px; gap: 16px; }
.btn-submit { width: 100%; justify-content: center; }

/* ===== RESULTADO ===== */
.calc-result { animation: fadeInUp 0.6s ease; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.result-title { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 4px; }
.result-empresa { color: var(--text-dim); margin-bottom: 32px; }
.result-main { text-align: center; padding: 40px; margin-bottom: 32px; background: var(--bg-card); border-radius: var(--radius); }
.result-big-number {
    font-family: var(--font-mono); font-size: 4rem; font-weight: 700; color: var(--accent);
    display: block; line-height: 1;
}
.result-unit { font-family: var(--font-mono); font-size: 1.2rem; color: var(--text-dim); display: block; margin-top: 8px; }
.result-desc { font-size: 0.85rem; color: var(--text-dim); margin-top: 8px; }

.result-breakdown { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.breakdown-item { display: grid; grid-template-columns: 1fr 100px 80px; align-items: center; gap: 12px; }
.breakdown-bar {
    height: 8px; background: var(--bg-card); border-radius: 4px; overflow: hidden; position: relative;
}
.breakdown-bar::after {
    content: ''; position: absolute; top: 0; left: 0; height: 100%;
    background: var(--accent); border-radius: 4px;
    width: var(--pct); transition: width 1s ease;
}
.breakdown-label { font-size: 0.85rem; color: var(--text-dim); }
.breakdown-value { font-family: var(--font-mono); font-size: 0.9rem; text-align: right; }

.result-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.comparison-card {
    padding: 24px; border-radius: var(--radius); text-align: center;
}
.comparison-bad { background: rgba(231,76,60,0.1); border: 1px solid rgba(231,76,60,0.2); }
.comparison-good { background: rgba(195,255,0,0.06); border: 1px solid var(--border); }
.comparison-card h4 { font-size: 1rem; margin-bottom: 8px; }
.comparison-value { font-family: var(--font-mono); font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; }
.comparison-bad .comparison-value { color: var(--red); }
.comparison-good .comparison-value { color: var(--accent); }
.comparison-card p { font-size: 0.8rem; color: var(--text-dim); }

.result-economy {
    text-align: center; padding: 24px; background: var(--accent-glow);
    border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 32px;
}
.economy-label { font-size: 0.85rem; color: var(--text-dim); display: block; }
.economy-value {
    font-family: var(--font-mono); font-size: 2.5rem; font-weight: 700;
    color: var(--accent); display: block; margin: 8px 0;
}
.economy-desc { font-size: 0.8rem; color: var(--text-dim); }
.result-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; flex-direction: column; }

/* ===== 1. SELO DE RISCO REGULATÓRIO ===== */
.risk-badge {
    text-align: center;
    padding: 32px 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    border: 2px solid var(--risk-color, rgba(255,255,255,0.1));
    background: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(0,0,0,0.2));
    animation: fadeInUp 0.6s ease;
    position: relative;
    overflow: hidden;
}
.risk-badge::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--risk-color, transparent), transparent 70%);
    opacity: 0.1;
    pointer-events: none;
}
.risk-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 10px var(--risk-color, transparent));
}
.risk-level {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--risk-color, var(--text));
    margin-bottom: 8px;
}
.risk-desc {
    font-size: 0.95rem;
    color: var(--text-dim);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}
/* Risk level variants */
.risk-baixo { --risk-color: #2ecc71; }
.risk-moderado { --risk-color: #f1c40f; }
.risk-alto { --risk-color: #e67e22; }
.risk-critico { --risk-color: #e74c3c; }

/* ===== 2. ÍNDICE DE DESPERDÍCIO AMBIENTAL ===== */
.waste-index-card {
    padding: 28px 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    animation: fadeInUp 0.6s ease 0.1s both;
}
.waste-index-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}
.waste-index-bar-wrapper {
    max-width: 500px;
    margin: 0 auto 16px;
}
.waste-index-bar {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #2ecc71 0%, #f1c40f 30%, #e67e22 60%, #e74c3c 100%);
    position: relative;
    overflow: visible;
}
.waste-index-fill {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    border-radius: 6px;
    background: transparent;
    transition: width 1s ease;
}
.waste-index-pointer {
    position: absolute;
    top: -6px;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    transform: translateX(-50%);
    transition: left 1s ease;
    z-index: 2;
}
.waste-index-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.7rem;
    color: var(--text-dim);
}
.waste-index-result {
    text-align: center;
    margin-top: 12px;
}
.waste-index-value {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}
.waste-index-max {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--text-dim);
}
.waste-index-class {
    display: inline-block;
    margin-left: 12px;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
}
.waste-index-card[data-level="bom"] .waste-index-class { color: #2ecc71; border-color: rgba(46,204,113,0.3); background: rgba(46,204,113,0.1); }
.waste-index-card[data-level="atencao"] .waste-index-class { color: #f1c40f; border-color: rgba(241,196,15,0.3); background: rgba(241,196,15,0.1); }
.waste-index-card[data-level="alto"] .waste-index-class { color: #e67e22; border-color: rgba(230,126,34,0.3); background: rgba(230,126,34,0.1); }
.waste-index-card[data-level="critico"] .waste-index-class { color: #e74c3c; border-color: rgba(231,76,60,0.3); background: rgba(231,76,60,0.1); }
.waste-index-desc {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 4px;
}

/* ===== 6. PROJEÇÃO DE CUSTO DA INAÇÃO (5 ANOS) ===== */
.projection-card {
    padding: 32px 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    background: rgba(231,76,60,0.04);
    border: 1px solid rgba(231,76,60,0.15);
    animation: fadeInUp 0.6s ease 0.2s both;
}
.projection-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}
.projection-subtitle {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 24px;
}
.projection-subtitle strong {
    color: var(--red);
}
.projection-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.projection-year {
    display: grid;
    grid-template-columns: 60px 1fr 100px;
    align-items: center;
    gap: 12px;
}
.projection-year-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dim);
}
.projection-bar-track {
    height: 10px;
    background: rgba(231,76,60,0.1);
    border-radius: 5px;
    overflow: hidden;
}
.projection-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #e67e22, #e74c3c);
    border-radius: 5px;
    transition: width 1s ease;
}
.projection-year-value {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--red);
    text-align: right;
}
.projection-total {
    text-align: center;
    padding: 20px;
    background: rgba(231,76,60,0.1);
    border-radius: 12px;
    border: 1px solid rgba(231,76,60,0.2);
}
.projection-total-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 4px;
}
.projection-total-value {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--red);
}

/* ===== 7. MINI-INSIGHT ESTRATÉGICO ===== */
.insight-card {
    padding: 28px 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    background: rgba(195,255,0,0.04);
    border: 1px solid rgba(195,255,0,0.12);
    animation: fadeInUp 0.6s ease 0.3s both;
}
.insight-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.insight-icon {
    font-size: 2rem;
}
.insight-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent);
}
.insight-text {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ===== COMO FUNCIONA ===== */
.how-grid { display: flex; align-items: stretch; gap: 16px; }
.how-card {
    background: linear-gradient(145deg, rgba(21, 32, 24, 0.8), rgba(15, 22, 17, 0.4));
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(195, 255, 0, 0.08);
    border-radius: var(--radius-lg); padding: 40px 32px;
    position: relative; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0; transform: translateY(30px);
}
.how-card.revealed { opacity: 1; transform: translateY(0); }
.how-card:hover { 
    border-color: rgba(195, 255, 0, 0.3); 
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(195, 255, 0, 0.05) inset;
}
.how-number {
    font-family: var(--font-mono); font-size: 3rem; font-weight: 700;
    color: var(--accent); opacity: 0.3; margin-bottom: 16px;
}
.how-card h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 12px; }
.how-card p { color: var(--text-dim); font-size: 0.95rem; }
.how-arrow { display: flex; align-items: center; color: var(--accent); font-size: 1.5rem; opacity: 0.4; }

/* ===== PARCEIROS / CREDIBILIDADE ===== */
.section-partners { background: var(--bg-secondary); }
.partners-logos {
    display: flex; justify-content: center; gap: 24px; margin-bottom: 60px; flex-wrap: wrap;
}
.partner-logo {
    padding: 20px 32px; border: 1px solid var(--border); border-radius: var(--radius);
    font-weight: 600; font-size: 0.95rem; color: var(--text-dim);
    transition: var(--transition); letter-spacing: 0.5px;
    display: flex; align-items: center; gap: 10px;
}
.partner-logo:hover { border-color: var(--accent); color: var(--accent); }
.partner-badge { display: flex; align-items: center; justify-content: center; }
.partner-badge svg { stroke: var(--accent); }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.impact-card {
    text-align: center; padding: 40px 32px;
    background: linear-gradient(145deg, rgba(21, 32, 24, 0.8), rgba(15, 22, 17, 0.4));
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(195, 255, 0, 0.08);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0; transform: translateY(30px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.impact-card.revealed { opacity: 1; transform: translateY(0); }
.impact-card:hover { 
    border-color: rgba(195, 255, 0, 0.3); 
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(195, 255, 0, 0.05) inset;
}
.impact-icon {
    width: 72px; height: 72px; margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--accent-glow);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.impact-card:hover .impact-icon { border-color: var(--accent); box-shadow: 0 0 20px var(--accent-glow); }
.impact-icon svg { stroke: var(--accent); }
.impact-number {
    font-family: var(--font-mono); font-size: 1.8rem; font-weight: 700;
    color: var(--accent); margin-bottom: 8px;
}
.impact-card h4 {
    font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
    margin-bottom: 12px; color: var(--text);
}
.impact-card p { color: var(--text-dim); line-height: 1.7; font-size: 0.95rem; }
.impact-cta-row {
    display: flex; justify-content: center; gap: 16px; margin-top: 48px; flex-wrap: wrap;
}

/* ===== CONTATO ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info p { color: var(--text-dim); line-height: 1.7; margin-bottom: 32px; font-size: 1.05rem; }
.contact-links { display: flex; flex-direction: column; gap: 16px; }
.contact-link {
    display: flex; align-items: center; gap: 12px; padding: 16px 20px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); transition: var(--transition);
}
.contact-link:hover { border-color: var(--accent); }
.contact-icon { font-size: 1.3rem; }
.contact-form {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
    background: var(--bg-card); padding: 40px; border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

/* ===== FOOTER ===== */
.footer { padding: 60px 0 32px; border-top: 1px solid var(--border); }
.footer-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo-row { display: flex; align-items: center; gap: 10px; }
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; max-width: 300px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.9rem; color: var(--text-dim); transition: var(--transition); position: relative; }
.footer-links a:hover { color: var(--accent); }
.footer-links a::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px;
    background: var(--accent); transition: width 0.3s ease;
}
.footer-links a:hover::after { width: 100%; }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 0.8rem; color: var(--text-dim); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
    animation: float-bounce 3s infinite ease-in-out;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes float-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 1024px) {
    .problema-grid, .impact-grid { grid-template-columns: repeat(2, 1fr); }
    .how-grid { flex-wrap: wrap; }
    .how-arrow { display: none; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .result-comparison { grid-template-columns: 1fr; }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-primary); border-bottom: 1px solid var(--border); flex-direction: column; padding: 24px; gap: 16px; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
    .hero { padding-bottom: 60px; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .stat-divider { width: 40px; height: 1px; }
    .hero-scroll-indicator { display: none; }
    .problema-grid, .impact-grid { grid-template-columns: 1fr; }
    .how-grid { flex-direction: column; }
    .how-arrow { display: none; }
    .form-grid { grid-template-columns: 1fr; }
    .calc-wrapper { padding: 24px; }
    .progress-steps { flex-wrap: wrap; gap: 8px; }
    .progress-step { font-size: 0.7rem; }
    .result-comparison { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-form { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; gap: 24px; align-items: center; text-align: center; }
    .footer-brand { align-items: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
    .breakdown-item { grid-template-columns: 1fr 60px 60px; }
    .partners-logos { gap: 16px; }
    .partner-logo { padding: 14px 24px; font-size: 0.9rem; }

    /* Novos elementos responsive */
    .risk-badge { padding: 24px 16px; }
    .risk-level { font-size: 1rem; letter-spacing: 1px; }
    .risk-desc { font-size: 0.85rem; }
    .waste-index-value { font-size: 2rem; }
    .projection-year { grid-template-columns: 50px 1fr 80px; gap: 8px; }
    .projection-year-value { font-size: 0.75rem; }
    .projection-total-value { font-size: 1.5rem; }
    .insight-card { padding: 20px 16px; }

    /* Raio-X responsive */
    .raiox-grid { grid-template-columns: 1fr; }
    .raiox-company-name { font-size: 1rem; }
    .cnpj-input-wrapper { flex-direction: row; }
}

/* ===== CNPJ RAIO-X ===== */
.cnpj-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: visible;
}
.cnpj-input-wrapper input {
    flex: 1;
    padding-right: 50px;
}
.btn-cnpj-search {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    border-radius: 8px;
    background: var(--accent);
    color: var(--bg-primary);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
.btn-cnpj-search:hover {
    background: var(--accent-dim);
    transform: translateY(-50%) scale(1.05);
}
.cnpj-loading {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 13, 0.9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--accent);
    z-index: 2;
}
.cnpj-spinner {
    width: 18px; height: 18px;
    border: 2px solid rgba(195,255,0,0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: cnpj-spin 0.6s linear infinite;
}
@keyframes cnpj-spin { to { transform: rotate(360deg); } }

.cnpj-hint {
    font-size: 0.8rem;
    margin-top: 6px;
    display: none;
}
.cnpj-hint-error { color: var(--red); }
.cnpj-hint-warn { color: #f39c12; }
.cnpj-hint-success { color: var(--green); }

/* Raio-X Card */
.raiox-card {
    background: linear-gradient(145deg, rgba(21, 32, 24, 0.8), rgba(15, 22, 17, 0.4));
    border: 1px solid rgba(195, 255, 0, 0.15);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.raiox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(195, 255, 0, 0.05);
    border-bottom: 1px solid rgba(195, 255, 0, 0.08);
}
.raiox-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.raiox-title-row svg { stroke: var(--accent); }
.raiox-title-row h4 {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
}
.status-ativa {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--green);
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    letter-spacing: 1px;
}
.status-inativa {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--red);
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    letter-spacing: 1px;
}
.raiox-body { padding: 20px; }
.raiox-company { margin-bottom: 16px; }
.raiox-company-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}
.raiox-company-fantasy {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
    margin-top: 2px;
}
.raiox-company-cnpj {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 4px;
}
.raiox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}
.raiox-item {
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.raiox-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.raiox-value {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.4;
}
.raiox-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border-left: 3px solid #f39c12;
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.5;
}
.raiox-alert svg { flex-shrink: 0; margin-top: 2px; }
.raiox-alert strong { font-weight: 700; }

/* ===== TOOLTIP HELP ICONS ===== */
.tooltip-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(195, 255, 0, 0.15);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    cursor: help;
    position: relative;
    margin-left: 6px;
    vertical-align: middle;
    line-height: 1;
    flex-shrink: 0;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}
.tooltip-trigger:hover {
    background: var(--accent);
    color: var(--bg-primary);
    transform: scale(1.1);
}
.tooltip-content {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 280px;
    padding: 12px 16px;
    background: rgba(20, 30, 22, 0.97);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.5;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    white-space: normal;
    text-align: left;
}
.tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(20, 30, 22, 0.97);
}
/* Desktop: show on hover */
@media (hover: hover) {
    .tooltip-trigger:hover .tooltip-content {
        display: block;
    }
}
/* Mobile: show on tap via JS class */
.tooltip-trigger.tooltip-active .tooltip-content {
    display: block;
}
/* Mobile repositioning to avoid overflow */
@media (max-width: 768px) {
    .tooltip-content {
        max-width: 240px;
        position: fixed;
        bottom: auto;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 200;
        pointer-events: auto;
    }
    .tooltip-content::after {
        display: none;
    }
    .tooltip-trigger.tooltip-active::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 150;
    }
    .tooltip-trigger.tooltip-active .tooltip-content {
        z-index: 200;
    }
}
/* Adjust label to flex for tooltip alignment */
.form-group label {
    display: inline-flex;
    align-items: center;
}

/* ===== RESULT TREES PILL ===== */
.result-trees {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(46, 204, 113, 0.08);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(46, 204, 113, 0.25);
    color: var(--green);
    font-weight: 600;
    font-size: 0.95rem;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    flex-wrap: wrap;
}
.result-trees svg {
    flex-shrink: 0;
}
.result-trees strong {
    font-family: var(--font-mono);
    font-size: 1.1em;
}
@media (max-width: 768px) {
    .result-trees {
        padding: 10px 16px;
        font-size: 0.85rem;
        border-radius: 16px;
        gap: 8px;
        max-width: 100%;
    }
}

/* ===== PRÉ-RELATÓRIO SECTION ===== */
.pre-report-section {
    margin-top: 40px;
    background: linear-gradient(145deg, rgba(21, 32, 24, 0.95), rgba(10, 15, 12, 0.9));
    border: 1px solid rgba(195, 255, 0, 0.2);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.pre-report-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(195,255,0,0.2));
}
.pre-report-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.pre-report-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text);
    font-size: 1.1rem;
}
.pre-report-badge {
    background: var(--accent-glow);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 1px;
}
.pre-report-title-row {
    margin-bottom: 28px;
}
.pre-report-title-row h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 6px;
}
.pre-report-title-row p {
    color: var(--text-dim);
    font-size: 0.95rem;
}
.pre-report-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.pre-report-metric {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}
.pre-report-metric-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.pre-report-metric-value {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}
.pre-report-desc {
    color: var(--text-dim);
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 24px;
    text-align: center;
}
.pre-report-breakdown {
    margin-bottom: 24px;
}
.pre-report-breakdown h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 12px;
}
.pre-report-breakdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.pre-report-breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}
.pre-report-breakdown-label {
    font-size: 0.85rem;
    color: var(--text-dim);
}
.pre-report-breakdown-value {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}
.pre-report-insight {
    background: rgba(195, 255, 0, 0.05);
    border: 1px solid rgba(195, 255, 0, 0.15);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}
.pre-report-insight h4 {
    font-size: 0.95rem;
    color: var(--accent);
    margin-bottom: 8px;
}
.pre-report-insight p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
}
.pre-report-costs {
    margin-bottom: 28px;
}
.pre-report-cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-dim);
    font-size: 0.9rem;
}
.pre-report-cost-item.highlight {
    border-bottom: none;
    padding-top: 16px;
}
.pre-report-cost-value {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1rem;
}
.cost-bad { color: #e74c3c; }
.cost-good { color: var(--accent); }
.pre-report-deliverables {
    margin-bottom: 24px;
}
.pre-report-deliverables h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 16px;
    text-align: center;
}
.pre-report-deliver-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.pre-report-deliver-item {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    transition: var(--transition);
}
.pre-report-deliver-item:hover {
    border-color: rgba(195, 255, 0, 0.3);
    transform: translateY(-2px);
}
.deliver-icon {
    font-size: 1.6rem;
    margin-bottom: 8px;
}
.pre-report-deliver-item strong {
    display: block;
    color: var(--text);
    margin-bottom: 6px;
    font-size: 0.9rem;
}
.pre-report-deliver-item p {
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.5;
}
.pre-report-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.pre-report-footer p {
    font-size: 0.85rem;
    color: var(--text-dim);
}
@media (max-width: 768px) {
    .pre-report-section {
        padding: 24px 16px;
    }
    .pre-report-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .pre-report-grid,
    .pre-report-breakdown-grid,
    .pre-report-deliver-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== RELATED POSTS (Blog cross-linking) ===== */
.related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}
.related-posts h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text);
}
.related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 768px) {
    .related-grid { grid-template-columns: 1fr; }
}
.related-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}
.related-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
.related-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--accent);
}
.related-card p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.5;
}

/* ===== PAINEL DE EXPOSIÇÃO REGULATÓRIA ===== */
.risk-exposure-panel {
    background: linear-gradient(135deg, rgba(20,20,30,0.95), rgba(30,15,15,0.95));
    border: 1px solid rgba(231,76,60,0.3);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.risk-exposure-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2ecc71, #f1c40f, #e67e22, #e74c3c);
}
.exposure-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.exposure-header svg {
    color: #e74c3c;
    flex-shrink: 0;
}
.exposure-header h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

/* Score Display */
.exposure-score-wrapper {
    text-align: center;
    margin-bottom: 24px;
}
.exposure-score-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.exposure-score-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 16px;
}
.exposure-score-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 4rem;
    font-weight: 700;
    color: #e74c3c;
    line-height: 1;
    transition: color 0.5s ease;
}
.exposure-score-max {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.4);
    font-weight: 400;
}

/* Exposure Bar */
.exposure-bar-track {
    width: 100%;
    height: 12px;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    position: relative;
    overflow: visible;
}
.exposure-bar-fill {
    height: 100%;
    border-radius: 6px;
    background: #e74c3c;
    transition: width 1.5s cubic-bezier(0.22,1,0.36,1), background 0.5s ease;
    width: 0;
}
.exposure-bar-pointer {
    position: absolute;
    top: -4px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    border: 3px solid currentColor;
    transform: translateX(-50%);
    transition: left 1.5s cubic-bezier(0.22,1,0.36,1);
    left: 0;
    box-shadow: 0 0 12px rgba(0,0,0,0.3);
}
.exposure-bar-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Compliance Seal */
.compliance-seal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 10px;
    margin: 20px 0;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: sealPulse 2s infinite;
}
.seal-danger {
    background: rgba(231,76,60,0.15);
    border: 2px solid #e74c3c;
    color: #e74c3c;
}
.seal-warning {
    background: rgba(241,196,15,0.15);
    border: 2px solid #f1c40f;
    color: #f1c40f;
    animation: none;
}
.seal-ok {
    background: rgba(46,204,113,0.15);
    border: 2px solid #2ecc71;
    color: #2ecc71;
    animation: none;
}
@keyframes sealPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(231,76,60,0.4); }
    50% { box-shadow: 0 0 20px 4px rgba(231,76,60,0.2); }
}
.seal-icon {
    font-size: 1.3rem;
}

/* Exposure Cards */
.exposure-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}
.exposure-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}
.exposure-card-multa {
    border-color: rgba(231,76,60,0.3);
}
.exposure-card-cbam {
    border-color: rgba(52,152,219,0.3);
}
.exposure-card-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.exposure-card-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 6px;
}
.exposure-card-cbam .exposure-card-value {
    color: #3498db;
}
.exposure-card-detail {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

/* Obligations */
.exposure-obligations {
    margin-bottom: 20px;
}
.obligation-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(231,76,60,0.08);
    border-left: 3px solid #e74c3c;
    border-radius: 0 8px 8px 0;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}
.obligation-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Comparison Bullets */
.exposure-comparison {
    margin-bottom: 20px;
}
.exposure-comparison h4 {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
}
.comparison-bullets {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.comparison-bullet {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.06);
}
.bullet-pct {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--green, #00c97b);
    min-width: 55px;
    text-align: center;
    flex-shrink: 0;
}
.bullet-text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
}
.bullet-source {
    color: rgba(255,255,255,0.35);
    font-size: 0.75rem;
}

/* Disclaimer */
.exposure-disclaimer {
    padding: 14px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    margin-top: 16px;
}
.exposure-disclaimer p {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
    line-height: 1.5;
    margin: 0 0 6px 0;
}
.exposure-disclaimer p:last-child {
    margin-bottom: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .risk-exposure-panel {
        padding: 20px 16px;
    }
    .exposure-score-value {
        font-size: 3rem;
    }
    .exposure-cards {
        grid-template-columns: 1fr;
    }
    .exposure-card-value {
        font-size: 1.4rem;
    }
    .compliance-seal {
        font-size: 0.8rem;
        padding: 12px 16px;
    }
}

/* ===== KEN BURNS IMAGE SHOWCASE ===== */
.image-showcase {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}
.image-showcase img {
    width: 110%;
    height: 110%;
    object-fit: cover;
    filter: brightness(0.55) saturate(0.9);
    animation: kenburns-1 25s ease-in-out infinite alternate;
    will-change: transform;
}
.image-showcase:nth-of-type(2) img {
    animation: kenburns-2 22s ease-in-out infinite alternate;
}
.image-showcase:nth-of-type(3) img {
    animation: kenburns-3 28s ease-in-out infinite alternate;
}
@keyframes kenburns-1 {
    0%   { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(-3%, -2%); }
}
@keyframes kenburns-2 {
    0%   { transform: scale(1.18) translate(-4%, -1%); }
    100% { transform: scale(1) translate(2%, 1%); }
}
@keyframes kenburns-3 {
    0%   { transform: scale(1.05) translate(1%, 3%); }
    100% { transform: scale(1.12) translate(-2%, -3%); }
}
.image-showcase .caption {
    position: absolute;
    bottom: 32px;
    left: 32px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
    z-index: 2;
}
.image-showcase::after {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--border);
    z-index: 2;
}

/* ===== TEAM CAROUSEL ===== */
.section-team { padding: 100px 0; }
.team-carousel {
    position: relative;
    max-width: 800px;
    margin: 48px auto 0;
}
.carousel-viewport {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    min-height: 360px;
}
.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.carousel-slide.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}
.slide-content {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    height: 360px;
}
.slide-info {
    flex: 1;
    padding: 48px 40px;
}
.slide-role {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.slide-name {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.slide-desc {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 20px;
}
.slide-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}
.team-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.team-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.2s ease;
}
.team-linkedin:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(34, 197, 94, 0.08);
}
.slide-photo {
    width: 260px;
    min-width: 260px;
    height: 360px;
    overflow: hidden;
}
.slide-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide-photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
}
.slide-photo--placeholder span {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.3;
}
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.carousel-arrow:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.carousel-arrow--left { left: -56px; }
.carousel-arrow--right { right: -56px; }
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.3;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}
.carousel-dot.active {
    opacity: 1;
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* Responsive — Ken Burns + Carousel */
@media (max-width: 900px) {
    .carousel-arrow--left { left: -8px; }
    .carousel-arrow--right { right: -8px; }
    .carousel-arrow { width: 36px; height: 36px; opacity: 0.9; }
}
@media (max-width: 700px) {
    .image-showcase { height: 240px; }
    .image-showcase .caption { bottom: 16px; left: 16px; font-size: 0.7rem; }
    .slide-content { flex-direction: column-reverse; height: auto; }
    .slide-photo { width: 100%; min-width: auto; height: 240px; }
    .slide-info { padding: 28px 24px; }
    .slide-name { font-size: 1.4rem; }
    .carousel-arrow--left { left: 8px; }
    .carousel-arrow--right { right: 8px; }
    .carousel-viewport { min-height: auto; }
}

/* ===== ROADMAP TIMELINE ===== */
.section-roadmap { padding: 120px 0; }
.roadmap-timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
    padding: 20px 0;
}
.roadmap-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--border) 40%, var(--border));
    transform: translateX(-50%);
}
.roadmap-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 48px;
    width: 50%;
}
.roadmap-item:last-child { margin-bottom: 0; }
.roadmap-left {
    justify-content: flex-end;
    padding-right: 48px;
    align-self: flex-start;
}
.roadmap-right {
    justify-content: flex-start;
    padding-left: 48px;
    margin-left: 50%;
}
.roadmap-node {
    position: absolute;
    top: 24px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    z-index: 2;
}
.roadmap-left .roadmap-node { right: -8px; }
.roadmap-right .roadmap-node { left: -8px; }
.roadmap-node--done {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
}
.roadmap-node--active {
    background: #f59e0b;
    border-color: #f59e0b;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.5);
    animation: node-pulse 2s ease-in-out infinite;
}
@keyframes node-pulse {
    0%, 100% { box-shadow: 0 0 8px rgba(245, 158, 11, 0.3); }
    50% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.7); }
}
.roadmap-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    max-width: 380px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.roadmap-card:hover {
    border-color: rgba(34, 197, 94, 0.3);
    transform: translateY(-2px);
}
.roadmap-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid var(--border);
    margin-bottom: 12px;
}
.roadmap-badge--done {
    color: var(--accent);
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
}
.roadmap-badge--active {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}
.roadmap-date {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.roadmap-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.roadmap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.roadmap-list li {
    position: relative;
    padding-left: 16px;
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 6px;
}
.roadmap-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}
/* Responsive Roadmap */
@media (max-width: 768px) {
    .roadmap-line { left: 20px; }
    .roadmap-item { width: 100%; padding-left: 52px !important; padding-right: 0 !important; }
    .roadmap-left { justify-content: flex-start; }
    .roadmap-right { margin-left: 0; }
    .roadmap-left .roadmap-node,
    .roadmap-right .roadmap-node { left: 12px; right: auto; }
    .roadmap-card { max-width: 100%; }
}

/* ===== LGPD COOKIE CONSENT ===== */
.lgpd-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(10, 15, 13, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-dim);
}
.lgpd-banner a {
    color: var(--accent);
    text-decoration: underline;
}
.lgpd-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.btn-sm {
    font-size: 0.75rem;
    padding: 8px 16px;
}
@media (max-width: 600px) {
    .lgpd-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
    }
}
