/* Exsen — portal principal
   Paleta oficial (exsen.com.br): âmbar #FFC107 / #FFA000 / #FFD54F e cinzas #212121 / #424242 / #757575 / #9E9E9E / #F5F5F5.
   Cinza-ardósia do logotipo: #66757F. Fonte: Inter. */
:root {
    --yellow: #FFC107;
    --yellow-light: #FFD54F;
    --yellow-dark: #FFA000;
    --yellow-bg: #FFF8E1;
    --slate: #66757F;
    --gray: #9E9E9E;
    --gray-light: #F5F5F5;
    --gray-medium: #757575;
    --gray-dark: #424242;
    --gray-darker: #212121;
    --line: #E0E0E0;
    --white: #FFFFFF;
    --danger: #D32F2F;
    --danger-bg: #FDECEA;
    --gradient: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0,0,0,.08);
    --shadow-hover: 0 20px 40px rgba(0,0,0,.14);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--gray-dark); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--gray-darker); line-height: 1.18; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--gray-darker); }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gray-darker); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow-dark); outline-offset: 2px; }

/* ───── Aviso antifraude (faixa) ───── */
.alertbar { background: var(--gray-darker); color: var(--white); font-size: .86rem; }
.alertbar .container { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 8px 0; text-align: center; flex-wrap: wrap; }
.alertbar .icon { color: var(--yellow); }
.alertbar b { color: var(--yellow); }
.alertbar a { color: var(--yellow-light); }

/* ───── Topbar ───── */
.topbar { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0; }
.logo img { height: 46px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--gray-dark); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--yellow); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; cursor: pointer; color: var(--gray-darker); }

/* ───── Botões ───── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 50px; border: 0; font: 700 1rem var(--font); cursor: pointer; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-primary { background: var(--gradient); color: var(--gray-darker); box-shadow: var(--shadow); }
.btn-dark { background: var(--gray-darker); color: var(--white); }
.btn-ghost { background: transparent; color: var(--gray-darker); border: 2px solid var(--gray-darker); }
.btn-sm { padding: 10px 22px; font-size: .92rem; }

/* ───── Hero ───── */
.hero { background: linear-gradient(135deg, var(--gray-darker) 0%, var(--gray-dark) 100%); color: var(--white); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -120px; top: -140px; width: 560px; height: 560px; background: var(--gradient); opacity: .14; transform: rotate(18deg); border-radius: 48px; }
.hero::after { content: ""; position: absolute; right: 160px; bottom: -240px; width: 380px; height: 380px; background: var(--slate); opacity: .22; transform: rotate(18deg); border-radius: 40px; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 84px 0 96px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-top: 14px; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero .lead { color: rgba(255,255,255,.82); font-size: 1.12rem; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.7); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 22px; }
.stat b { display: block; font-size: 2.1rem; font-weight: 800; color: var(--yellow); line-height: 1.1; }
.stat span { font-size: .88rem; color: rgba(255,255,255,.78); }

/* ───── Seções ───── */
.section { padding: 88px 0; }
.section.alt { background: var(--gray-light); }
.section-title { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-title h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.section-title h2::after { content: ""; display: block; width: 64px; height: 5px; border-radius: 3px; background: var(--gradient); margin: 14px auto 0; }
.section-title p { color: var(--gray-medium); font-size: 1.05rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--gray-medium); font-size: .96rem; margin: 0; }
.bubble { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--yellow-bg); color: var(--yellow-dark); margin-bottom: 18px; }
.bubble .icon { width: 26px; height: 26px; }

/* ───── Negociação online ───── */
.credor { display: flex; flex-direction: column; gap: 14px; }
.credor h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; }
.credor p { flex: 1; }
.tag { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 50px; background: var(--gray-light); color: var(--gray-medium); }
.credor.is-off { background: var(--gray-light); box-shadow: none; }
.credor.is-off:hover { transform: none; box-shadow: none; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; counter-reset: s; }
.step { position: relative; padding-left: 58px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--gradient); color: var(--gray-darker); font-weight: 800; display: grid; place-items: center; }
.step h4 { font-size: 1rem; margin-bottom: 4px; }
.step p { font-size: .9rem; color: var(--gray-medium); margin: 0; }

/* ───── Sobre / serviços ───── */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: var(--yellow-dark); margin-top: 4px; }
.panel { background: var(--gray-darker); color: var(--white); border-radius: 24px; padding: 40px; position: relative; overflow: hidden; }
.panel::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 240px; height: 240px; background: var(--gradient); opacity: .2; transform: rotate(18deg); border-radius: 36px; }
.panel h3 { color: var(--yellow); }
.panel p { color: rgba(255,255,255,.8); }
.panel .big { font-size: 3.2rem; font-weight: 800; color: var(--yellow); line-height: 1; }

/* ───── Segurança ───── */
.secure { background: var(--yellow-bg); border: 1px solid var(--yellow-light); border-radius: 24px; padding: 40px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.secure .bubble { background: var(--gray-darker); color: var(--yellow); width: 72px; height: 72px; border-radius: 20px; margin: 0; }
.secure .bubble .icon { width: 36px; height: 36px; }
.secure ul { margin: 12px 0 0; padding-left: 1.1em; }
.secure li { margin-bottom: 4px; }
.secure h2 { font-size: 1.6rem; }

/* ───── FAQ ───── */
.faq { background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--gray-darker); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--yellow-dark); line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq p { color: var(--gray-medium); padding-bottom: 6px; }

/* ───── Contato ───── */
.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact .card { text-align: left; }
.contact a { color: var(--gray-darker); font-weight: 700; word-break: break-word; }

/* ───── Páginas internas ───── */
.page { padding: 56px 0 80px; }
.page-head { margin-bottom: 28px; }
.page-head .kicker { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow-dark); }
.prose { max-width: 860px; }
.prose h2 { font-size: 1.15rem; margin-top: 1.6em; }
.prose li { margin-bottom: 6px; }

/* ───── Rodapé ───── */
.footer { background: var(--gray-darker); color: rgba(255,255,255,.72); padding: 56px 0 24px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { display: inline-block; background: var(--white); border-radius: 12px; padding: 8px 14px; margin-bottom: 14px; }
.footer-logo img { height: 36px; display: block; }
.footer h4 { color: var(--yellow); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.footer a { color: rgba(255,255,255,.82); text-decoration: none; display: block; padding: 3px 0; }
.footer a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; }

/* ───── Cookies ───── */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin-inline: auto; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.25); padding: 16px 18px; display: flex; gap: 16px; align-items: center; z-index: 60; }
.cookie p { margin: 0; font-size: .88rem; color: var(--gray-dark); }

@media (max-width: 980px) {
    .hero-inner, .about { grid-template-columns: 1fr; }
    .hero-inner { padding: 56px 0 64px; }
    .grid-3, .grid-4, .steps, .contact { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 64px 0; }
}
@media (max-width: 720px) {
    .nav-toggle { display: inline-flex; }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 16px; gap: 14px; }
    .nav.open { display: flex; }
    .topbar-inner { position: relative; }
    .grid-3, .grid-4, .steps, .contact, .footer-grid, .stats { grid-template-columns: 1fr; }
    .secure { grid-template-columns: 1fr; padding: 28px; }
    .cookie { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ───── Utilitários (substituem style="" inline; a CSP não permite estilos inline) ───── */
.u-abs { position: absolute; }
.u-ta-left { text-align: left; }
.u-ta-center { text-align: center; }
.u-mt-8 { margin-top: 8px; }
.u-mt-22 { margin-top: 22px; }
.u-mt-24 { margin-top: 24px; }
.u-mt-30 { margin-top: 30px; }
.u-mb-0 { margin-bottom: 0; }
.u-mb-20 { margin-bottom: 20px; }
.u-mw-820 { max-width: 820px; }
.u-mw-960 { max-width: 960px; }
.u-strong-mb-6 { font-weight: 700; margin-bottom: 6px; }
.u-note-sm { font-size: .88rem; color: var(--ink-soft, #424242); }
.u-note-xs { font-size: .8rem; color: var(--ink-faint, #757575); }
.u-total { font-size: 1.15rem; color: var(--navy, #212121); }
.u-strike { text-decoration: line-through; color: var(--ink-faint, #757575); }
.u-btn-light { color: #fff; margin-top: 8px; border: 1.5px solid rgba(255,255,255,.3); }
.u-disabled { opacity: .5; cursor: default; }
.u-amber-dark { color: var(--yellow-dark, #FFA000); }
