/* =====================================================================
   Design tokens
   ===================================================================== */
:root {
    --ink-navy:    #0B1E3D;
    --navy-light:  #16294F;
    --cloud:       #F7F8FA;
    --brand-gold:  #F4A93B; /* sobrescrito por :root inline com a cor do tenant */
    --coral:       #E85D4C;
    --sea-teal:    #1B7A72;
    --slate:       #48566B;
    --slate-light: #8592A6;
    --border-soft: rgba(11,30,61,.08);

    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; font-family: var(--font-body); color: var(--ink-navy);
    background: var(--cloud); -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.01em; }
.mono { font-family: var(--font-mono); }

.section { padding: 5.5rem 1.5rem; }
.section-inner { max-width: 1120px; margin: 0 auto; }
.eyebrow {
    font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--brand-gold); display: inline-block; margin-bottom: .75rem;
}

/* =====================================================================
   Navegação
   ===================================================================== */
.site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1.1rem 1.5rem; transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-nav.scrolled { background: rgba(11,30,61,.92); backdrop-filter: blur(8px); padding: .8rem 1.5rem; box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.1rem; }
.nav-brand img { max-height: 34px; }
.brand-seal {
    display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
    border-radius: 50%; border: 1.5px solid var(--brand-gold); color: var(--brand-gold); font-size: .95rem;
}
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a { color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-login { border: 1px solid rgba(255,255,255,.3); padding: .5rem 1rem; border-radius: 8px; }
.nav-cta { background: var(--brand-gold); color: var(--ink-navy) !important; padding: .55rem 1.1rem; border-radius: 8px; font-weight: 600; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; }

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: absolute; top: 100%; left: 0; right: 0; background: var(--ink-navy);
        flex-direction: column; align-items: stretch; padding: 1.25rem 1.5rem; gap: 1rem;
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-cta, .nav-login { text-align: center; }
}

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
    background: radial-gradient(ellipse at 20% -10%, var(--navy-light) 0%, var(--ink-navy) 55%, #081428 100%);
    color: #fff; padding: 9.5rem 1.5rem 6rem; position: relative; overflow: hidden;
}
.hero::after {
    content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
    background-image: radial-gradient(circle, rgba(244,169,59,.09) 1px, transparent 1px);
    background-size: 26px 26px;
}
.hero-inner { max-width: 1120px; margin: 0 auto; position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.2vw, 3.4rem); line-height: 1.08; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--brand-gold); }
.hero p.lead { font-size: 1.1rem; color: rgba(255,255,255,.75); margin: 1.4rem 0 2rem; max-width: 480px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.6rem; border-radius: 10px; font-weight: 600; font-size: .95rem; border: none; cursor: pointer; transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand-gold); color: var(--ink-navy); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.35); color: #fff; }

/* Selo de cobertura — elemento de assinatura */
.coverage-seal {
    width: 260px; height: 260px; border-radius: 50%; border: 2px dashed rgba(244,169,59,.55);
    display: flex; align-items: center; justify-content: center; position: relative; margin: 0 auto;
    animation: seal-spin 40s linear infinite;
}
.coverage-seal::before {
    content: ''; position: absolute; inset: 14px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18);
}
.coverage-seal .seal-core {
    width: 170px; height: 170px; border-radius: 50%; background: rgba(244,169,59,.08);
    border: 1.5px solid var(--brand-gold); display: flex; align-items: center; justify-content: center;
    flex-direction: column; text-align: center; animation: seal-spin-reverse 40s linear infinite;
}
.seal-core .seal-icon { font-size: 2.2rem; color: var(--brand-gold); }
.seal-core .seal-label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; color: rgba(255,255,255,.7); margin-top: .4rem; text-transform: uppercase; }
@keyframes seal-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes seal-spin-reverse { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) { .coverage-seal, .seal-core { animation: none; } }

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero p.lead { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .coverage-seal { width: 200px; height: 200px; }
    .seal-core { width: 130px; height: 130px; }
}

/* =====================================================================
   Ramos de seguro
   ===================================================================== */
.branches-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.branch-card {
    background: #fff; border: 1px solid var(--border-soft); border-radius: 14px; padding: 1.75rem;
    transition: box-shadow .2s ease, transform .2s ease;
}
.branch-card:hover { box-shadow: 0 16px 36px rgba(11,30,61,.08); transform: translateY(-3px); }
.branch-icon { width: 46px; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1rem; }
.branch-card h4 { font-size: 1.05rem; margin-bottom: .5rem; }
.branch-card p { color: var(--slate); font-size: .88rem; line-height: 1.55; margin: 0; }

/* =====================================================================
   Como funciona (sequência real — numerado com propósito)
   ===================================================================== */
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; counter-reset: step; }
.step-card { position: relative; padding-top: 1rem; }
.step-card::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    font-family: var(--font-mono); font-size: .8rem; color: var(--brand-gold);
    display: block; margin-bottom: .6rem; letter-spacing: .05em;
}
.step-card h4 { font-size: 1rem; margin-bottom: .4rem; }
.step-card p { color: var(--slate); font-size: .87rem; line-height: 1.55; margin: 0; }
@media (max-width: 860px) { .steps-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-row { grid-template-columns: 1fr; } }

/* =====================================================================
   Secção escura (Sinistros / confiança)
   ===================================================================== */
.section-dark { background: var(--ink-navy); color: #fff; }
.section-dark .eyebrow { color: var(--brand-gold); }
.section-dark p.lead { color: rgba(255,255,255,.72); }
.dark-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.claim-list { list-style: none; padding: 0; margin: 1.75rem 0 0; }
.claim-list li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.claim-list .badge-num { font-family: var(--font-mono); color: var(--brand-gold); font-size: .85rem; flex-shrink: 0; }
@media (max-width: 860px) { .dark-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Prova social / valores
   ===================================================================== */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.value-item h4 { font-size: 1rem; margin-bottom: .5rem; color: var(--ink-navy); }
.value-item p { color: var(--slate); font-size: .88rem; line-height: 1.6; margin: 0; }
@media (max-width: 760px) { .values-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   CTA final
   ===================================================================== */
.cta-final {
    background: linear-gradient(135deg, var(--sea-teal), var(--ink-navy));
    color: #fff; text-align: center; border-radius: 20px; padding: 3.5rem 2rem; margin: 0 1.5rem;
}
.cta-final h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.cta-final p { color: rgba(255,255,255,.8); max-width: 480px; margin: 0 auto 1.75rem; }

/* =====================================================================
   Rodapé
   ===================================================================== */
.site-footer { background: #081428; color: rgba(255,255,255,.7); padding: 3.5rem 1.5rem 1.5rem; margin-top: 4rem; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand { display: flex; flex-direction: column; gap: .5rem; }
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.5); margin-top: .5rem; }
.footer-col h6 { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: .9rem; }
.footer-col a, .footer-col span { display: block; font-size: .87rem; margin-bottom: .6rem; color: rgba(255,255,255,.75); }
.footer-bottom { max-width: 1120px; margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; color: rgba(255,255,255,.4); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
