/* ==========================================
   CALCULACDI — MAIN STYLESHEET
   Clean, modern, production-ready
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ==========================================
   RESET & VARIABLES
   ========================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand */
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;

    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --green-400: #4ade80;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;

    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;

    --red-50: #fef2f2;
    --red-100: #fee2e2;
    --red-500: #ef4444;
    --red-600: #dc2626;

    /* Neutrals */
    --gray-0: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --gray-950: #030712;

    /* Spacing */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.25rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;

    /* Radius */
    --r-sm: 0.375rem;
    --r-md: 0.5rem;
    --r-lg: 0.75rem;
    --r-xl: 1rem;
    --r-2xl: 1.5rem;
    --r-full: 9999px;

    /* Shadows */
    --sh-xs: 0 1px 2px rgba(0, 0, 0, .05);
    --sh-sm: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .06);
    --sh-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);
    --sh-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
    --sh-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04);

    /* Typography */
    --font-sans: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    /* Transitions */
    --tr: 150ms ease;
    --tr-md: 250ms ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
    -webkit-font-smoothing: antialiased;
}

/* ==========================================
   UTILITIES
   ========================================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--sp-6);
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--sp-4);
    }
}

/* ==========================================
   HEADER
   ========================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    padding: var(--sp-4) 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    text-decoration: none;
    color: var(--gray-900);
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.logo-text strong {
    font-weight: 700;
    color: var(--blue-600);
}

.logo--footer .logo-text strong {
    color: var(--blue-400);
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.nav-link {
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--r-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    transition: background var(--tr), color var(--tr);
    white-space: nowrap;
}

.nav-link:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.nav-link.active {
    background: var(--blue-600);
    color: white;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--sp-2);
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--tr-md);
}

@media (max-width: 640px) {
    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav.nav--open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid var(--gray-200);
        padding: var(--sp-4) var(--sp-6);
        gap: var(--sp-2);
        box-shadow: var(--sh-lg);
    }

    .nav.nav--open .nav-link {
        border-radius: var(--r-md);
    }
}

/* ==========================================
   HERO
   ========================================== */
.hero {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: var(--sp-16) 0 var(--sp-12);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 800px 400px at 60% 0%, rgba(37, 99, 235, .07) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 10% 100%, rgba(37, 99, 235, .04) 0%, transparent 60%);
    pointer-events: none;
}

.hero--fire::before {
    background:
        radial-gradient(ellipse 800px 400px at 60% 0%, rgba(16, 185, 129, .07) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 10% 100%, rgba(16, 185, 129, .04) 0%, transparent 60%);
}

.hero .container {
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    background: var(--blue-50);
    color: var(--blue-700);
    border: 1px solid var(--blue-200);
    border-radius: var(--r-full);
    padding: var(--sp-1) var(--sp-4);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: var(--sp-5);
}

.hero-badge--fire {
    background: var(--green-50);
    color: var(--green-700);
    border-color: var(--green-100);
}

.hero-title {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--gray-900);
    margin-bottom: var(--sp-5);
    max-width: 700px;
}

.hero-accent {
    color: var(--blue-600);
}

.hero-accent--fire {
    color: var(--green-600);
}

.hero-desc {
    font-size: 1.0625rem;
    color: var(--gray-600);
    max-width: 580px;
    margin-bottom: var(--sp-10);
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--sp-8);
    flex-wrap: wrap;
}

.hstat {
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
}

.hstat-val {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--gray-900);
    font-family: var(--font-mono);
}

.hstat-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-weight: 500;
}

.hstat-div {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

@media (max-width: 640px) {
    .hero {
        padding: var(--sp-10) 0 var(--sp-8);
    }

    .hstat-div {
        display: none;
    }

    .hero-stats {
        gap: var(--sp-6);
    }
}

/* ==========================================
   CALCULATOR SECTION
   ========================================== */
.calc-section {
    padding: var(--sp-16) 0;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
    align-items: start;
}

@media (max-width: 768px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }

    .calc-section {
        padding: var(--sp-10) 0;
    }
}

/* Calculator Card */
.calc-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow: var(--sh-md);
}

.calc-card-header {
    padding: var(--sp-6) var(--sp-6) 0;
    margin-bottom: var(--sp-6);
}

.calc-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.calc-subtitle {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: var(--sp-1);
}

/* Form */
.calc-form {
    padding: 0 var(--sp-6) var(--sp-6);
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
}

@media (max-width: 400px) {
    .field-row {
        grid-template-columns: 1fr;
    }
}

.field-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.field-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.field-prefix,
.field-suffix {
    position: absolute;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-400);
    pointer-events: none;
}

.field-prefix {
    left: var(--sp-4);
}

.field-suffix {
    right: var(--sp-4);
}

.field-input {
    width: 100%;
    padding: var(--sp-3) var(--sp-4);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-lg);
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-900);
    background: white;
    transition: border-color var(--tr), box-shadow var(--tr);
    appearance: none;
}

.field-input:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.field-wrap .field-input {
    padding-left: var(--sp-10);
}

.field-wrap:has(.field-suffix) .field-input {
    padding-right: var(--sp-12);
}

.field-select {
    cursor: pointer;
    padding-left: var(--sp-4);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
}

.field-hint {
    font-size: 0.75rem;
    color: var(--gray-400);
}

/* Tipo grid */
.tipo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-2);
}

.tipo-option {
    cursor: pointer;
}

.tipo-option input[type="radio"] {
    display: none;
}

.tipo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-3) var(--sp-2);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-lg);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    background: white;
    transition: all var(--tr);
    text-align: center;
    cursor: pointer;
}

.tipo-option input:checked+.tipo-btn {
    border-color: var(--blue-500);
    background: var(--blue-50);
    color: var(--blue-700);
}

.tipo-btn:hover {
    border-color: var(--blue-300);
    background: var(--blue-50);
}

/* Buttons */
.btn-calc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    padding: var(--sp-4) var(--sp-6);
    background: var(--blue-600);
    color: white;
    border: none;
    border-radius: var(--r-xl);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--tr), transform var(--tr), box-shadow var(--tr-md);
    margin-top: var(--sp-2);
}

.btn-calc:hover {
    background: var(--blue-700);
    transform: translateY(-1px);
    box-shadow: var(--sh-lg);
}

.btn-calc:active {
    transform: translateY(0);
}

.btn-calc--fire {
    background: var(--green-600);
}

.btn-calc--fire:hover {
    background: var(--green-700);
}

/* ==========================================
   RESULTS CARD
   ========================================== */
.results-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow: var(--sh-md);
    min-height: 400px;
}

.results-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--sp-16) var(--sp-8);
    text-align: center;
    color: var(--gray-500);
    height: 100%;
    min-height: 400px;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: var(--sp-4);
    opacity: .5;
}

.results-empty p {
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 260px;
}

.results-content {
    padding: var(--sp-6);
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
}

/* Result hero */
.result-hero {
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-800) 100%);
    border-radius: var(--r-xl);
    padding: var(--sp-6);
    color: white;
}

.result-hero-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: .8;
    margin-bottom: var(--sp-2);
}

.result-hero-val {
    display: block;
    font-family: var(--font-mono);
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: var(--sp-2);
}

.result-hero-sub {
    font-size: 0.8125rem;
    opacity: .75;
}

/* FIRE hero result */
.fire-hero-result {
    background: linear-gradient(135deg, var(--green-600) 0%, var(--green-700) 100%);
    border-radius: var(--r-xl);
    padding: var(--sp-6);
    color: white;
    text-align: center;
}

.fire-result-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: .85;
    margin-bottom: var(--sp-3);
}

.fire-result-years {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-3);
}

.fire-years-num {
    font-family: var(--font-mono);
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

.fire-years-unit {
    font-size: 1.75rem;
    font-weight: 600;
    opacity: .9;
}

.fire-result-date {
    font-size: 1rem;
    opacity: .85;
}

/* Result rows */
.result-rows {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-3) var(--sp-4);
    border-radius: var(--r-lg);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
}

.result-row--green {
    background: var(--green-50);
    border-color: var(--green-100);
}

.result-row--orange {
    background: var(--amber-50);
    border-color: var(--amber-100);
}

.result-row--blue {
    background: var(--blue-50);
    border-color: var(--blue-100);
}

.result-row--total {
    font-weight: 700;
}

.rr-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.rr-val {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
}

.rr-badge {
    display: inline-flex;
    align-items: center;
    background: var(--amber-100);
    color: #92400e;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: var(--r-full);
}

/* Comparison block */
.comparison-block {
    border-top: 1px solid var(--gray-100);
    padding-top: var(--sp-5);
}

.comp-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--sp-3);
}

.comp-table {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.comp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-3) var(--sp-4);
    border-radius: var(--r-md);
    font-size: 0.875rem;
}

.comp-row:first-child {
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
}

.comp-row:not(:first-child) {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
}

.comp-label {
    font-weight: 500;
    color: var(--gray-700);
}

.comp-val {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--gray-900);
}

/* FIRE how box */
.fire-how-box {
    display: flex;
    gap: var(--sp-3);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-left: 3px solid var(--green-500);
    border-radius: var(--r-lg);
    padding: var(--sp-4);
    align-items: flex-start;
}

.fire-how-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 1px;
}

#fireHowText {
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.6;
}

#fireHowText strong {
    color: var(--green-700);
}

/* Result note */
.result-note {
    font-size: 0.75rem;
    color: var(--gray-400);
    line-height: 1.5;
    border-top: 1px solid var(--gray-100);
    padding-top: var(--sp-4);
}

/* ==========================================
   SECTION COMMONS
   ========================================== */
.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--gray-900);
    margin-bottom: var(--sp-3);
}

.section-sub {
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: var(--sp-10);
}

/* ==========================================
   EDUCATIONAL SECTION
   ========================================== */
.edu-section {
    padding: var(--sp-20) 0;
    background: white;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.edu-header {
    margin-bottom: var(--sp-10);
}

.edu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
}

.edu-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {

    .edu-grid,
    .edu-grid--3 {
        grid-template-columns: 1fr;
    }

    .edu-section {
        padding: var(--sp-12) 0;
    }
}

.edu-card {
    padding: var(--sp-6);
    border: 1px solid var(--gray-200);
    border-radius: var(--r-xl);
    background: var(--gray-50);
    transition: border-color var(--tr-md), box-shadow var(--tr-md);
}

.edu-card--fire {
    background: var(--green-50);
    border-color: var(--green-100);
}

.edu-card:hover {
    border-color: var(--blue-300);
    box-shadow: var(--sh-md);
}

.edu-card--fire:hover {
    border-color: var(--green-300);
}

.edu-num {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--blue-400);
    letter-spacing: 0.04em;
    margin-bottom: var(--sp-4);
}

.edu-num--fire {
    color: var(--green-500);
}

.edu-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--sp-3);
    letter-spacing: -0.01em;
}

.edu-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.edu-card strong {
    color: var(--gray-800);
    font-weight: 600;
}

/* ==========================================
   PRODUCTS TABLE
   ========================================== */
.products-section {
    padding: var(--sp-20) 0;
}

.products-table-wrap {
    overflow-x: auto;
    border-radius: var(--r-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--sh-sm);
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9375rem;
}

.products-table thead {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.products-table th {
    padding: var(--sp-4) var(--sp-5);
    text-align: left;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.products-table td {
    padding: var(--sp-4) var(--sp-5);
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}

.products-table tr:last-child td {
    border-bottom: none;
}

.products-table tr:hover td {
    background: var(--gray-50);
}

.table-highlight td {
    background: var(--blue-50) !important;
    font-weight: 600;
}

.prod-name {
    display: inline-flex;
    align-items: center;
    padding: var(--sp-1) var(--sp-3);
    border-radius: var(--r-full);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.prod-cdb {
    background: var(--blue-100);
    color: var(--blue-800);
}

.prod-lci {
    background: var(--green-100);
    color: var(--green-800);
}

.prod-tesouro {
    background: var(--amber-100);
    color: #92400e;
}

.prod-poup {
    background: var(--gray-100);
    color: var(--gray-700);
}

/* Tags */
.tag {
    display: inline-flex;
    padding: 2px var(--sp-3);
    border-radius: var(--r-full);
    font-size: 0.8125rem;
    font-weight: 600;
}

.tag-green {
    background: var(--green-100);
    color: var(--green-700);
}

.tag-red {
    background: var(--red-100);
    color: var(--red-700, #b91c1c);
}

.tag-orange {
    background: var(--amber-100);
    color: #92400e;
}

.tag-blue {
    background: var(--blue-100);
    color: var(--blue-700);
}

@media (max-width: 768px) {
    .products-section {
        padding: var(--sp-12) 0;
    }

    .products-table th,
    .products-table td {
        padding: var(--sp-3) var(--sp-4);
        font-size: 0.875rem;
    }
}

/* ==========================================
   FAQ
   ========================================== */
.faq-section {
    padding: var(--sp-20) 0;
    background: white;
    border-top: 1px solid var(--gray-100);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    max-width: 800px;
}

.faq-item {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-xl);
    overflow: hidden;
    transition: border-color var(--tr);
    background: white;
}

.faq-item[open] {
    border-color: var(--blue-300);
    box-shadow: var(--sh-sm);
}

.faq-q {
    padding: var(--sp-5) var(--sp-6);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: color var(--tr);
}

.faq-q::-webkit-details-marker {
    display: none;
}

.faq-q::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--gray-400);
    flex-shrink: 0;
    margin-left: var(--sp-4);
    transition: transform var(--tr-md);
}

.faq-item[open] .faq-q::after {
    transform: rotate(45deg);
    color: var(--blue-500);
}

.faq-a {
    padding: 0 var(--sp-6) var(--sp-5);
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.75;
    border-top: 1px solid var(--gray-100);
}

.faq-a p {
    padding-top: var(--sp-4);
}

.faq-a strong {
    color: var(--gray-800);
    font-weight: 600;
}

@media (max-width: 768px) {
    .faq-section {
        padding: var(--sp-12) 0;
    }

    .faq-list {
        max-width: 100%;
    }
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    padding: var(--sp-16) 0 var(--sp-20);
}

.cta-box {
    background: var(--blue-600);
    border-radius: var(--r-2xl);
    padding: var(--sp-12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-8);
    overflow: hidden;
    position: relative;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 600px 400px at 80% 50%, rgba(255, 255, 255, .08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-box--reverse {
    background: var(--green-600);
    flex-direction: row-reverse;
}

.cta-box--reverse::before {
    background: radial-gradient(ellipse 600px 400px at 20% 50%, rgba(255, 255, 255, .08) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    max-width: 500px;
}

.cta-badge {
    display: inline-flex;
    background: rgba(255, 255, 255, .2);
    color: white;
    border-radius: var(--r-full);
    padding: var(--sp-1) var(--sp-4);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--sp-4);
}

.cta-badge--green {
    background: rgba(255, 255, 255, .2);
}

.cta-title {
    font-size: clamp(1.375rem, 2.5vw, 1.875rem);
    font-weight: 800;
    color: white;
    letter-spacing: -0.03em;
    margin-bottom: var(--sp-4);
    line-height: 1.2;
}

.cta-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, .85);
    line-height: 1.7;
    margin-bottom: var(--sp-6);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-4) var(--sp-6);
    background: white;
    color: var(--blue-700);
    border-radius: var(--r-xl);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform var(--tr), box-shadow var(--tr-md);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--sh-xl);
}

.btn-cta--green {
    color: var(--green-700);
}

/* CTA chart visual */
.cta-visual {
    display: flex;
    align-items: flex-end;
    flex-shrink: 0;
}

.cta-visual--left {
    order: -1;
}

.cta-chart {
    display: flex;
    align-items: flex-end;
    gap: var(--sp-2);
    height: 100px;
}

.cta-bar {
    width: 20px;
    background: rgba(255, 255, 255, .3);
    border-radius: 4px 4px 0 0;
    transition: height 0.3s ease;
}

.cta-bar--accent {
    background: white;
}

@media (max-width: 768px) {
    .cta-box {
        flex-direction: column;
        padding: var(--sp-8);
        text-align: center;
    }

    .cta-box--reverse {
        flex-direction: column;
    }

    .cta-visual {
        display: none;
    }

    .cta-section {
        padding: var(--sp-10) 0 var(--sp-12);
    }
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--gray-900);
    padding: var(--sp-16) 0 var(--sp-8);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--sp-10);
    margin-bottom: var(--sp-10);
    padding-bottom: var(--sp-10);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--sp-8);
    }
}

.footer-brand .logo {
    color: white;
    margin-bottom: var(--sp-4);
}

.footer-brand .logo-text {
    color: rgba(255, 255, 255, .9);
}

.footer-brand p {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.6;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-400);
    margin-bottom: var(--sp-4);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--gray-300);
    text-decoration: none;
    transition: color var(--tr);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.footer-legal {
    font-size: 0.8125rem;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 700px;
}

.footer-legal strong {
    color: var(--gray-400);
}

.footer-copy {
    font-size: 0.8125rem;
    color: var(--gray-600);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-content {
    animation: fadeInUp 0.35s ease;
}

/* ==========================================
   SCROLLBAR
   ========================================== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* ==========================================
   SELECTION
   ========================================== */
::selection {
    background: var(--blue-100);
    color: var(--blue-900);
}