:root {
    --tc-dark: #16213e;
    --tc-mid: #34527a;
    --tc-accent: #5bc0be;
    --tc-light: #6fffe9;
    --tc-pale: #e8f4f8;
    --red: #D92E2E;
    --red-dark: #b02424;
    --gray-dark: #1a1a1a;
    --farol-red: #e03131;
    --farol-orange: #f08c00;
    --farol-green: #2f9e44;
    --font-h: 'Montserrat', sans-serif;
    --font-b: 'Open Sans', sans-serif;
}

body { font-family: var(--font-b); color: var(--gray-dark); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-h); font-weight: 700; }

/* ── NAVBAR ── */
.navbar { background: #fff !important; }
.navbar-brand img { height: 32px; }
.nav-link { color: var(--gray-dark) !important; font-weight: 500; transition: color .2s; }
.nav-link:hover { color: var(--tc-mid) !important; }
.btn-cta-nav {
    background: var(--red); color: #fff !important;
    border-radius: 6px; padding: .4rem 1.2rem; font-weight: 700;
    transition: background .2s, transform .15s;
}
.btn-cta-nav:hover { background: var(--red-dark); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
    position: relative; min-height: 90vh;
    background: url('https://infratrack.com.br/conteudo/img/armazem.webp') center/cover no-repeat;
    display: flex; align-items: center;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(110deg, rgba(22,33,62,.96) 0%, rgba(52,82,122,.88) 55%, rgba(22,33,62,.55) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); line-height: 1.2; }
.hero .badge-segment {
    display: inline-block; background: var(--tc-accent); color: var(--tc-dark);
    font-size: .8rem; font-weight: 700; letter-spacing: .08em;
    padding: .35rem 1rem; border-radius: 50px; margin-bottom: 1.2rem;
    text-transform: uppercase;
}
.hero .stat-pill {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(6px); border-radius: 12px; padding: .7rem 1.2rem;
    color: #fff; text-align: center;
}
.hero .stat-pill strong { display: block; font-size: 1.5rem; color: var(--tc-accent); }
.btn-hero-primary {
    background: var(--red); color: #fff; border: none;
    padding: .9rem 2rem; font-weight: 700; border-radius: 8px; font-size: 1rem;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(217,46,46,.4); text-decoration: none;
}
.btn-hero-primary:hover { background: var(--red-dark); transform: translateY(-2px); color: #fff; }
.btn-hero-secondary {
    background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6);
    padding: .9rem 2rem; font-weight: 600; border-radius: 8px; font-size: 1rem;
    transition: border-color .2s, background .2s; text-decoration: none;
}
.btn-hero-secondary:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

/* ── TRUST STRIP ── */
.trust-strip { background: var(--tc-dark); }
.trust-item { color: var(--tc-pale); font-size: .92rem; }
.trust-item i { color: var(--tc-accent); }

/* ── LABEL ── */
.section-label {
    display: inline-block; font-size: .75rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; color: var(--tc-mid);
    border-left: 3px solid var(--tc-accent); padding-left: .6rem; margin-bottom: .8rem;
}

/* ── DEFINIÇÃO (answer-first) ── */
.definition-box {
    background: var(--tc-pale); border-left: 5px solid var(--tc-accent);
    border-radius: 0 14px 14px 0; padding: 1.8rem 2rem;
}
.definition-box p:last-child { margin-bottom: 0; }

/* ── TABELA COMPARATIVA ── */
.compare-table { border-collapse: separate; border-spacing: 0; width: 100%; }
.compare-table th, .compare-table td {
    padding: 1rem 1.1rem; border-bottom: 1px solid #dde8f0; vertical-align: top;
    font-size: .95rem;
}
.compare-table thead th {
    background: var(--tc-dark); color: #fff; font-family: var(--font-h);
    font-size: .9rem; border-bottom: none;
}
.compare-table thead th:first-child { border-radius: 10px 0 0 0; }
.compare-table thead th:last-child { border-radius: 0 10px 0 0; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td:first-child { font-weight: 600; color: var(--tc-mid); }
.table-wrap { overflow-x: auto; }

/* ── PROBLEMAS ── */
.problem-card {
    border: 1px solid #dde8f0; border-radius: 14px;
    padding: 1.8rem; background: #fff;
    transition: box-shadow .25s, transform .2s; height: 100%;
}
.problem-card:hover { box-shadow: 0 8px 28px rgba(52,82,122,.13); transform: translateY(-3px); }
.problem-icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: var(--tc-pale); display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem; font-size: 1.3rem; color: var(--tc-mid);
}

/* ── FEATURES ── */
.solucao-bg { background: linear-gradient(160deg, #edf3f8 0%, #fff 100%); }
.feature-card {
    background: #fff; border-radius: 16px; padding: 1.8rem;
    border: 1px solid #d8e6f0; transition: box-shadow .25s, transform .2s; height: 100%;
}
.feature-card:hover { box-shadow: 0 10px 30px rgba(52,82,122,.13); transform: translateY(-4px); }
.feature-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, var(--tc-dark), var(--tc-mid));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 1.1rem;
}

/* ── FAROL DE PRIORIDADE ── */
.farol-legend { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.farol-item { display: flex; align-items: center; gap: .6rem; font-size: .92rem; }
.farol-dot { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; }
.farol-dot.red { background: var(--farol-red); box-shadow: 0 0 0 4px rgba(224,49,49,.16); }
.farol-dot.orange { background: var(--farol-orange); box-shadow: 0 0 0 4px rgba(240,140,0,.16); }
.farol-dot.green { background: var(--farol-green); box-shadow: 0 0 0 4px rgba(47,158,68,.16); }

/* ── CASE ── */
.case-section { background: linear-gradient(135deg, var(--tc-dark), var(--tc-mid)); }
.case-card {
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px; padding: 1.8rem; color: #fff; height: 100%;
    backdrop-filter: blur(8px);
}
.case-quote {
    background: #fff; border-radius: 16px; padding: 2rem;
    border-left: 5px solid var(--tc-accent);
    box-shadow: 0 8px 30px rgba(0,0,0,.18);
}
.case-quote blockquote {
    font-size: 1.12rem; line-height: 1.6; font-style: italic;
    color: var(--tc-dark); margin-bottom: 1rem;
}
.case-quote figcaption { font-size: .88rem; color: #5a6b7d; font-weight: 600; }
.case-step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--tc-accent); color: var(--tc-dark);
    font-weight: 800; font-size: .95rem; margin-bottom: .9rem;
}

/* ── RESULTADOS ── */
.results-section {
    background: url('https://infratrack.com.br/conteudo/img/veiculos.webp') center/cover no-repeat;
    position: relative;
}
.results-section::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(22,33,62,.96), rgba(52,82,122,.9));
}
.results-section > * { position: relative; z-index: 2; }
.result-card {
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px; padding: 2rem; text-align: center; color: #fff;
    backdrop-filter: blur(8px); height: 100%;
}
.result-card .result-num { font-size: 2.6rem; font-weight: 800; color: var(--tc-accent); line-height: 1.1; }

/* ── NÃO É / É ── */
.clarify-card {
    border-radius: 16px; padding: 1.8rem; height: 100%;
    border: 1px solid #dde8f0; background: #fff;
}
.clarify-card.is-not { border-top: 4px solid #c9ced6; }
.clarify-card.is-yes { border-top: 4px solid var(--tc-accent); }
.clarify-card ul { padding-left: 0; list-style: none; margin-bottom: 0; }
.clarify-card li { padding-left: 1.7rem; position: relative; margin-bottom: .8rem; font-size: .95rem; }
.clarify-card.is-not li::before {
    content: '\f00d'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 0; color: #98a2b3;
}
.clarify-card.is-yes li::before {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 0; color: var(--tc-accent);
}

/* ── PROCESSO ── */
.step-circle {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--tc-dark), var(--tc-mid));
    color: #fff; font-weight: 700; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ── FAQ ── */
.accordion-button { font-weight: 600; font-family: var(--font-h); }
.accordion-button:not(.collapsed) { background: var(--tc-pale); color: var(--tc-dark); }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(91,192,190,.25); }

/* ── CTA FINAL ── */
.cta-final { background: linear-gradient(135deg, var(--tc-dark), var(--tc-mid)); }
.form-control:focus { border-color: var(--tc-accent); box-shadow: 0 0 0 .2rem rgba(91,192,190,.2); }
.btn-submit { background: var(--red); color: #fff; border: none; font-weight: 700; transition: background .2s, transform .15s; }
.btn-submit:hover { background: var(--red-dark); transform: translateY(-1px); color: #fff; }

/* ── BADGE SEGMENTO (fora do hero) ── */
.badge-segment {
    display: inline-block; background: var(--tc-accent); color: #fff;
    font-size: .8rem; font-weight: 700; letter-spacing: .08em;
    padding: .35rem 1rem; border-radius: 50px; text-transform: uppercase;
}

/* ── WHATSAPP FLUTUANTE ── */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; z-index: 1050; }
.whatsapp-float a {
    display: flex; align-items: center; justify-content: center;
    width: 60px; height: 60px; background: #25d366; color: #fff;
    border-radius: 50%; box-shadow: 0 5px 20px rgba(37,211,102,.45);
    font-size: 1.8rem; text-decoration: none; transition: transform .2s;
}
.whatsapp-float a:hover { transform: scale(1.1); color: #fff; }

/* ── DEMO FLUTUANTE ── */
.demo-float { position: fixed; bottom: 30px; left: 30px; z-index: 1050; }
.demo-float a {
    display: flex; align-items: center; gap: .5rem;
    background: var(--red); color: #fff; border-radius: 50px;
    padding: .65rem 1.3rem; font-weight: 700; font-size: .85rem;
    box-shadow: 0 5px 20px rgba(217,46,46,.4); text-decoration: none;
    transition: transform .2s, background .2s;
}
.demo-float a:hover { transform: translateY(-2px); background: var(--red-dark); color: #fff; }
@media (max-width: 767px) { .demo-float { display: none; } }
