/* ═══════════════════════════════════════════════════════════════
   Navant Ecomex — Premium B2B Landing Page CSS
   Design System: Clean, Editorial, Professional B2B Finance
   Paleta: Slate & White base + Deep Navy & Emerald accents
   ═══════════════════════════════════════════════════════════════ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {

    /* Brand */
    --primary: #0b1726;
    --primary-hover: #102236;

    /* Navy Ecomex */
    --primary-blue: #12395b;
    --primary-blue-l: #edf5fb;
    --primary-blue-b: #8ab7d4;

    /* Trade & Compliance */
    --secondary: #0f766e;
    --secondary-l: #ecfdf5;
    --secondary-b: #5eead4;

    /* ROI */
    --gold: #c08b2c;
    --gold-l: #fff8e7;
    --gold-b: #f2c66a;

    /* Success */
    --emerald: #15803d;
    --emerald-l: #ecfdf3;
    --emerald-b: #86efac;

    /* Alert */
    --red: #c24141;
    --red-l: #fff1f1;
    --red-b: #fca5a5;

    /* Background */
    --bg-main: #f3f6f8;
    --bg-card: #ffffff;
    --bg-surf: #e8edf2;
    --bg-surf-2: #d5dee7;

    /* Borders */
    --line: #d7e1ea;
    --line-light: #e8eef3;
    --line-focus: #90a4b7;

    /* Typography */
    --text-h: #0b1726;
    --text-b: #243647;
    --text-m: #617587;
    --text-light: #8a9bab;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-main);
    color: var(--text-b);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

strong {
    font-weight: 600;
    color: var(--text-h);
}

input,
button,
select {
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── BACKGROUNDS ─────────────────────────────────────────── */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.bg-orb-1 {
    width: 700px;
    height: 700px;
    top: -100px;
    left: -10%;
    background: #dbeef6;
}

/* Soft Blue */
.bg-orb-2 {
    width: 600px;
    height: 600px;
    top: 1200px;
    right: -5%;
    background: #f7f3e8;
}

/* Soft Amber */
.bg-orb-3 {
    width: 500px;
    height: 500px;
    top: 2200px;
    left: -5%;
    background: #dff5ee;
    opacity: 0.35;
}

/* Soft Emerald */

.grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 24px 24px;
}

/* ─── NAVBAR ───────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all var(--t) var(--ease);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.nav-inner {
    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: 8px;
    flex-shrink: 0;
}

.logo-mark svg {
    display: block;
}

.nav-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    color: var(--text-h);
    font-weight: 500;
}

.nav-brand strong {
    font-weight: 800;
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
    margin-left: 32px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-b);
    transition: color var(--t);
    position: relative;
    padding: 6px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width var(--t);
}

.nav-links a:hover {
    color: var(--text-h);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--primary-blue);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: var(--r-sm);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--primary-blue);
    cursor: pointer;
    transition: all var(--t) var(--ease);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--gold);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: var(--r-sm);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: all var(--t) var(--ease);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.btn-gold:hover {
    background: #9a4004;
    border-color: #9a4004;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    color: var(--text-b);
    padding: 10px 20px;
    border-radius: var(--r-sm);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--line);
    cursor: pointer;
    transition: all var(--t) var(--ease);
    white-space: nowrap;
}

.btn-ghost:hover {
    background: var(--bg-card);
    color: var(--text-h);
    border-color: var(--line-focus);
}

.btn-large {
    padding: 14px 28px;
    font-size: 0.95rem;
    border-radius: var(--r-sm);
}

/* ─── SECTION BASE ─────────────────────────────────────────── */
.section {
    position: relative;
    z-index: 1;
    padding: 88px 0;
}

.section-dark {
    background: var(--bg-card);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
    color: var(--text-h);
}

.section-sub {
    font-size: 1rem;
    color: var(--text-b);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-blue);
    background: var(--primary-blue-l);
    border: 1px solid var(--primary-blue-b);
    padding: 4px 12px;
    border-radius: var(--r-sm);
    margin-bottom: 16px;
}

.tag-gold {
    color: var(--gold);
    background: var(--gold-l);
    border-color: var(--gold-b);
}

.tag-green {
    color: var(--emerald);
    background: var(--emerald-l);
    border-color: var(--emerald-b);
}

.gradient-text-cyan {
    color: var(--primary-blue);
}

.gradient-text-gold {
    color: var(--gold);
}

.num {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

/* ─── HERO ─────────────────────────────────────────────────── */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
    position: relative;
    z-index: 1;
    background: transparent;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-l);
    border: 1px solid var(--gold-b);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--r-sm);
    margin-bottom: 20px;
    font-family: monospace;
    letter-spacing: 0.02em;
}

.pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: blink 2.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-m);
    margin-bottom: 12px;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: var(--text-h);
}

.hero-sub {
    font-size: 1rem;
    color: var(--text-b);
    line-height: 1.65;
    max-width: 500px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

/* ── Mini-simulador inline ── */
.hero-mini-sim {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 16px;
    margin-bottom: 24px;
    max-width: 480px;
    box-shadow: var(--shadow);
}

.mini-sim-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-m);
    margin-bottom: 8px;
}

.mini-sim-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-sim-prefix {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-b);
    white-space: nowrap;
    padding-left: 4px;
}

.mini-sim-row input {
    flex: 1;
    background: var(--bg-main);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 8px 12px;
    font-size: 0.85rem;
    color: var(--text-h);
    outline: none;
    transition: border-color var(--t);
}

.mini-sim-row input::placeholder {
    color: var(--text-light);
}

.mini-sim-row input:focus {
    border-color: var(--line-focus);
}

.mini-sim-row button {
    background: var(--gold);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.8rem;
    border: 1px solid var(--gold);
    border-radius: var(--r-sm);
    padding: 8px 14px;
    cursor: pointer;
    transition: all var(--t);
    white-space: nowrap;
}

.mini-sim-row button:hover {
    background: #9a4004;
    border-color: #9a4004;
}

.mini-sim-hint {
    font-size: 0.7rem;
    color: var(--text-m);
    margin-top: 6px;
}

/* ── Dashboard (Visual) ── */
.hero-visual {
    position: relative;
}

.dashboard {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 16px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background:
        linear-gradient(90deg,
            transparent,
            var(--secondary-b),
            transparent);
}

.dash-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line-light);
}

.titlebar-dots {
    display: flex;
    gap: 5px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.r {
    background: #cbd5e1;
}

.dot.y {
    background: #e2e8f0;
}

.dot.g {
    background: #f1f5f9;
}

.titlebar-label {
    font-size: 0.7rem;
    color: var(--text-m);
    font-weight: 500;
}

.dash-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.kpi {
    border-radius: var(--r-sm);
    padding: 12px 10px;
    background: var(--bg-main);
    border: 1px solid var(--line-light);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kpi-label {
    font-size: 0.62rem;
    color: var(--text-m);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kpi-value {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-h);
}

.kpi-a .kpi-value {
    color: var(--gold);
}

.kpi-b .kpi-value {
    color: var(--primary-blue);
}

.kpi-c .kpi-value {
    color: var(--emerald);
}

.kpi-delta {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--emerald);
}

.dash-divider {
    height: 1px;
    background: var(--line-light);
    margin-bottom: 12px;
}

.feed-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-m);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--r-sm);
    margin-bottom: 4px;
    background: var(--bg-card);
    border: 1px solid var(--line-light);
    transition: all var(--t);
}

.feed-item:last-child {
    margin-bottom: 0;
}

.feed-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.feed-dot.green {
    background: var(--emerald);
}

.feed-dot.cyan {
    background: var(--primary-blue);
}

.feed-dot.gold {
    background: var(--gold);
}

.feed-dot.red {
    background: var(--red);
}

.feed-item>div {
    flex: 1;
    min-width: 0;
}

.feed-name {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-h);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feed-sub {
    display: block;
    font-size: 0.65rem;
    color: var(--text-m);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feed-time {
    font-size: 0.62rem;
    color: var(--text-light);
    flex-shrink: 0;
}

.visual-float-card {
    position: absolute;
    bottom: -12px;
    right: -12px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
}

.float-icon {
    font-size: 1.1rem;
}

.visual-float-card strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-h);
}

.visual-float-card span {
    font-size: 0.65rem;
    color: var(--text-m);
}

/* ─── STATS BAR ─────────────────────────────────────────────── */
.stats-bar {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg-card);
    padding: 28px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    padding: 0 24px;
    text-align: center;
    border-right: 1px solid var(--line);
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-h);
    margin-bottom: 2px;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-m);
    line-height: 1.35;
}

/* ─── CHALLENGES ───────────────────────────────────────────── */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.challenge-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 24px;
    transition: all var(--t) var(--ease);
}

.challenge-card:hover {
    border-color: var(--line-focus);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.challenge-highlight {
    border-color: var(--gold-b);
    background: var(--gold-l);
}

.ch-emoji {
    font-size: 1.6rem;
    margin-bottom: 12px;
    display: block;
}

.challenge-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-h);
    margin-bottom: 8px;
    line-height: 1.3;
}

.challenge-card p {
    font-size: 0.82rem;
    color: var(--text-b);
    line-height: 1.6;
}

.ch-impact {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--red);
    background: var(--red-l);
    border: 1px solid var(--red-b);
    padding: 2px 8px;
    border-radius: var(--r-sm);
}

.ch-impact.gold {
    color: var(--gold);
    background: var(--gold-l);
    border-color: var(--gold-b);
}

.ch-impact.green {
    color: var(--emerald);
    background: var(--emerald-l);
    border-color: var(--emerald-b);
}

/* ─── PILLARS ──────────────────────────────────────────────── */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.pillar {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 24px;
    transition: all var(--t) var(--ease);
}

.pillar:hover {
    border-color: var(--line-focus);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr, var(--primary-blue));
    background: color-mix(in srgb, var(--clr, var(--primary-blue)) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--clr, var(--primary-blue)) 20%, transparent);
    margin-bottom: 14px;
}

.pillar h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-h);
}

.pillar p {
    font-size: 0.82rem;
    color: var(--text-b);
    line-height: 1.6;
}

/* ─── TABS / MÓDULOS ───────────────────────────────────────── */
.tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.tab {
    padding: 8px 18px;
    border-radius: var(--r-sm);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid var(--line);
    background: var(--bg-card);
    color: var(--text-b);
    transition: all var(--t) var(--ease);
    font-family: inherit;
}

.tab:hover {
    border-color: var(--line-focus);
    color: var(--text-h);
}

.tab.active {
    background: var(--primary-blue-l);
    border-color: var(--primary-blue-b);
    color: var(--primary-blue);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeUp 0.3s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.module-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 20px;
    transition: all var(--t) var(--ease);
}

.module-card:hover {
    border-color: var(--line-focus);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mod-icon {
    font-size: 1.3rem;
    margin-bottom: 12px;
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--c, var(--primary-blue)) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--c, var(--primary-blue)) 20%, transparent);
}

.module-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-h);
}

.module-card p {
    font-size: 0.8rem;
    color: var(--text-b);
    line-height: 1.6;
}

/* ─── COMPARATIVO ───────────────────────────────────────────── */
.compare-wrap {
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    overflow-x: auto;
    background: var(--bg-card);
    box-shadow: var(--shadow);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.compare-table thead tr {
    background: var(--bg-main);
}

.compare-table th {
    padding: 12px 18px;
    text-align: left;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-m);
    border-bottom: 1px solid var(--line);
}

.th-new {
    color: var(--primary-blue) !important;
}

.compare-table td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--line-light);
    color: var(--text-b);
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table tbody tr:hover {
    background: var(--bg-main);
}

.compare-table td:first-child {
    color: var(--text-h);
    font-weight: 600;
}

.bad {
    color: var(--text-m);
}

.good {
    font-weight: 600;
    color: var(--emerald);
}

/* ─── DEPOIMENTOS ───────────────────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.testi-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all var(--t) var(--ease);
}

.testi-card:hover {
    border-color: var(--line-focus);
    box-shadow: var(--shadow-md);
}

.testi-result {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 2px;
}

.testi-result-label {
    font-size: 0.68rem;
    color: var(--text-m);
    margin-bottom: 14px;
    font-weight: 600;
}

.testi-quote {
    font-size: 0.82rem;
    color: var(--text-b);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
    font-style: italic;
}

.testi-quote::before {
    content: '“';
    color: var(--primary-blue);
    font-size: 1.2rem;
    line-height: 0;
    font-style: normal;
    font-weight: 700;
}

.testi-quote::after {
    content: '”';
    color: var(--primary-blue);
    font-size: 1.2rem;
    line-height: 0;
    font-style: normal;
    font-weight: 700;
}

.testi-person {
    border-top: 1px solid var(--line-light);
    padding-top: 12px;
}

.testi-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-h);
}

.testi-role {
    font-size: 0.7rem;
    color: var(--text-m);
    margin-top: 1px;
}

.testi-sector {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-blue);
    background: var(--primary-blue-l);
    border: 1px solid var(--primary-blue-b);
    padding: 2px 8px;
    border-radius: var(--r-sm);
}

/* ─── SIMULADOR ─────────────────────────────────────────────── */
.sim-box {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.sim-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 36px;
    padding: 40px;
}

.sim-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line-light);
    padding-bottom: 8px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.sim-tabs::-webkit-scrollbar {
    display: none;
}

.sim-tab-btn {
    background: transparent;
    border: none;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-m);
    cursor: pointer;
    transition: all var(--t) var(--ease);
    position: relative;
    border-radius: var(--r-sm);
    flex-shrink: 0;
}

.sim-tab-btn:hover {
    color: var(--text-h);
    background: var(--bg-main);
}

.sim-tab-btn.active {
    color: var(--primary-blue);
    background: var(--primary-blue-l);
}

.sim-panel {
    display: none;
}

.sim-panel.active {
    display: block;
}

.sim-form select {
    width: 100%;
    background: var(--bg-main);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--text-h);
    outline: none;
    transition: all var(--t) var(--ease);
    -webkit-appearance: none;
}

.sim-form select:focus {
    border-color: var(--primary-blue-b);
    box-shadow: 0 0 0 3px var(--primary-blue-l);
}

.sim-left h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: var(--text-h);
}

.sim-left>p {
    font-size: 0.88rem;
    color: var(--text-b);
    line-height: 1.6;
    margin-bottom: 24px;
}

.sim-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sim-form label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-b);
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sim-form input {
    width: 100%;
    background: var(--bg-main);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--text-h);
    outline: none;
    transition: all var(--t) var(--ease);
}

.sim-form input::placeholder {
    color: var(--text-light);
}

.sim-form input:focus {
    border-color: var(--primary-blue-b);
    box-shadow: 0 0 0 3px var(--primary-blue-l);
}

.sim-result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
    border-radius: var(--r-lg);
    border: 1px dashed var(--line-focus);
    padding: 24px;
    font-size: 0.82rem;
    color: var(--text-m);
    text-align: center;
    background: var(--bg-main);
    transition: all 0.3s;
}

.sim-result.has-result {
    border-style: solid;
    border-color: var(--gold-b);
    background: var(--bg-card);
    box-shadow: var(--shadow);
    text-align: left;
}

.result-total-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-m);
    margin-bottom: 4px;
}

.result-total {
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--gold);
    margin-bottom: 18px;
}

.tax-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: var(--r-sm);
    background: var(--bg-main);
    border: 1px solid var(--line-light);
    margin-bottom: 6px;
    font-size: 0.78rem;
}

.tax-label {
    color: var(--text-b);
}

.tax-value {
    font-weight: 700;
    color: var(--text-h);
    font-size: 0.82rem;
}

.tax-row.highlight {
    border-color: var(--gold-b);
    background: var(--gold-l);
}

.tax-row.highlight .tax-value {
    color: var(--gold);
}

.sim-confidence {
    font-size: 0.68rem;
    color: var(--text-m);
    margin-top: 12px;
    text-align: center;
}

.sim-cta {
    display: block;
    text-align: center;
    margin-top: 14px;
    background: var(--gold);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 10px 16px;
    border-radius: var(--r-sm);
    transition: all var(--t);
    box-shadow: var(--shadow-sm);
}

.sim-cta:hover {
    background: #9a4004;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--text-h);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ─── CTA ──────────────────────────────────────────────────── */
.cta-box {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 44px;
}

.cta-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.028em;
    margin-bottom: 12px;
    color: var(--text-h);
}

.cta-text>p {
    font-size: 0.88rem;
    color: var(--text-b);
    line-height: 1.6;
    margin-bottom: 20px;
}

.cta-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cta-benefits li {
    font-size: 0.82rem;
    color: var(--text-b);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-benefits li::before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-blue);
    flex-shrink: 0;
}

.cta-form-header {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-h);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cta-form input,
.cta-form select {
    background: var(--bg-main);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 10px 14px;
    font-size: 0.82rem;
    color: var(--text-h);
    outline: none;
    transition: all var(--t) var(--ease);
    -webkit-appearance: none;
}

.cta-form input::placeholder {
    color: var(--text-light);
}

.cta-form select {
    color: var(--text-b);
}

.cta-form input:focus,
.cta-form select:focus {
    border-color: var(--primary-blue-b);
    box-shadow: 0 0 0 3px var(--primary-blue-l);
}

.cta-form .btn-primary {
    margin-top: 4px;
    border-radius: var(--r-sm);
}

.form-fine {
    font-size: 0.7rem;
    color: var(--text-m);
    margin-top: 8px;
    text-align: center;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
}

.form-success.show {
    display: flex;
}

.form-success-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--emerald-l);
    border: 1px solid var(--emerald-b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--emerald);
    font-weight: 700;
}

.form-success h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-h);
}

.form-success p {
    font-size: 0.82rem;
    color: var(--text-b);
    line-height: 1.6;
}

/* ─── FOOTER ───────────────────────────────────────────────── */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--line);
    padding: 44px 0 24px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 32px;
}

.footer-brand p {
    font-size: 0.82rem;
    color: var(--text-b);
    margin: 10px 0 14px;
    line-height: 1.6;
}

.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.footer-tags span {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--primary-blue);
    background: var(--primary-blue-l);
    border: 1px solid var(--primary-blue-b);
    padding: 2px 8px;
    border-radius: var(--r-sm);
}

.footer-col h5 {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-m);
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col a {
    font-size: 0.8rem;
    color: var(--text-b);
    transition: color var(--t);
}

.footer-col a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid var(--line-light);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    color: var(--text-m);
    flex-wrap: wrap;
    gap: 8px;
}

/* ─── SCROLL REVEAL ─────────────────────────────────────────── */
[data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal][data-delay="1"] {
    transition-delay: 0.1s;
}

[data-reveal][data-delay="2"] {
    transition-delay: 0.2s;
}

[data-reveal][data-delay="3"] {
    transition-delay: 0.3s;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── CLIENTS BAR ────────────────────────────────────────────── */
.clients-bar {
    position: relative;
    z-index: 1;
    background: var(--bg-main);
    border-bottom: 1px solid var(--line);
    padding: 36px 0;
    overflow: hidden;
}

.clients-header {
    text-align: center;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-m);
    margin-bottom: 24px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.client-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all var(--t) var(--ease);
}

.client-card:hover {
    border-color: var(--line-focus);
    box-shadow: var(--shadow);
}

.client-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.client-body {
    flex: 1;
    min-width: 0;
}

.client-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-h);
    margin-bottom: 1px;
}

.client-meta {
    font-size: 0.68rem;
    color: var(--text-m);
    margin-bottom: 6px;
}

.client-quote {
    font-size: 0.78rem;
    color: var(--text-b);
    line-height: 1.5;
    font-style: italic;
}

.client-result {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold);
    margin-top: 6px;
    display: block;
}

/* ─── LEAD MAGNET ────────────────────────────────────────────── */
.lead-magnet-box {
    background: var(--primary-blue-l);
    border: 1px solid var(--primary-blue-b);
    border-radius: var(--r-xl);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px;
    align-items: center;
    padding: 32px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.lead-magnet-visual {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 200px;
    background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.02));
    pointer-events: none;
}

.lead-magnet-left {
    position: relative;
    z-index: 1;
}

.lead-magnet-left h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: var(--text-h);
}

.lead-magnet-left p {
    font-size: 0.82rem;
    color: var(--text-b);
    line-height: 1.6;
    margin-bottom: 0;
}

.lead-items {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.lead-item {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--primary-blue);
    background: var(--primary-blue-l);
    border: 1px solid var(--primary-blue-b);
    padding: 2px 10px;
    border-radius: var(--r-sm);
}

.lead-form-inline {
    display: flex;
    gap: 8px;
    align-items: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.lead-form-inline input {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 10px 14px;
    font-size: 0.82rem;
    color: var(--text-h);
    outline: none;
    transition: all var(--t) var(--ease);
    width: 220px;
}

.lead-form-inline input::placeholder {
    color: var(--text-light);
}

.lead-form-inline input:focus {
    border-color: var(--primary-blue-b);
    box-shadow: 0 0 0 3px var(--primary-blue-l);
}

.lead-form-inline .btn-gold {
    border-radius: var(--r-sm);
    padding: 10px 16px;
}

.lead-success {
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--emerald);
}

.lead-success.show {
    display: flex;
}

/* ─── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-surf-2);
    border-radius: 3px;
}

::selection {
    background: var(--primary-blue-b);
    color: var(--primary-blue);
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media(max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .clients-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lead-magnet-box {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 28px;
    }

    .lead-form-inline {
        width: 100%;
    }

    .lead-form-inline input {
        width: 100%;
        flex: 1;
    }

    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--line);
        padding: 16px;
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid var(--line);
    }

    .stat-item:last-child,
    .stat-item:nth-last-child(2) {
        border-bottom: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-inner,
    .sim-inner {
        grid-template-columns: 1fr;
        padding: 28px;
    }
}

@media(max-width: 768px) {

    .nav-links,
    .nav-cta-ghost {
        display: none;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .lead-magnet-box {
        padding: 24px 18px;
    }

    .lead-form-inline {
        flex-direction: column;
        align-items: stretch;
    }

    .challenges-grid,
    .modules-grid {
        grid-template-columns: 1fr;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 56px 0;
    }

    .hero {
        padding-top: 100px;
    }

    .compare-table {
        font-size: 0.75rem;
    }

    .compare-table td,
    .compare-table th {
        padding: 8px 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media(max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
        justify-content: center;
    }

    .cta-inner,
    .sim-inner {
        padding: 20px 16px;
    }

    .mini-sim-row {
        flex-direction: column;
        align-items: stretch;
    }

    .mini-sim-prefix {
        display: none;
    }
}