/* ==========================================================
   Despachante Conexão — stylesheet
   Paleta: navy profundo + dourado; tipografia Archivo + Inter
   ========================================================== */

:root {
    --navy-900: #0b1f33;
    --navy-800: #10293f;
    --navy-700: #16334e;
    --navy-600: #1e4265;
    --gold-500: #d9a62e;
    --gold-400: #e5b94f;
    --gold-100: #faf3df;
    --ink:      #1c2733;
    --muted:    #5b6b7c;
    --line:     #e2e8ef;
    --bg:       #ffffff;
    --bg-alt:   #f5f8fb;
    --green:    #1faa59;
    --red:      #c0392b;
    --radius:   14px;
    --radius-sm: 8px;
    --shadow:   0 10px 30px rgba(11, 31, 51, .08);
    --shadow-lg:0 20px 50px rgba(11, 31, 51, .14);
    --font-head: 'Archivo', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --container: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-900); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p + p { margin-top: .9em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.icon { width: 20px; height: 20px; flex: none; }
.icon-lg { width: 28px; height: 28px; }
.icon-xl { width: 30px; height: 30px; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--navy-900); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--font-head); font-weight: 600; font-size: .98rem;
    padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
    cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    text-decoration: none !important;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--gold-500); color: var(--navy-900); }
.btn-primary:hover { background: var(--gold-400); box-shadow: 0 8px 22px rgba(217, 166, 46, .35); }
.btn-outline { border-color: var(--navy-600); color: var(--navy-700); background: transparent; }
.btn-outline:hover { background: var(--navy-700); color: #fff; }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--gold-100); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(11,31,51,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand-mark { border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-size: 1.12rem; color: var(--navy-900); font-weight: 600; }
.brand-name strong { font-weight: 800; color: var(--gold-500); }
.brand-tag { font-size: .72rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 4px; list-style: none; }
.main-nav a:not(.btn) {
    font-family: var(--font-head); font-weight: 600; font-size: .95rem;
    color: var(--navy-700); padding: 9px 14px; border-radius: 8px;
}
.main-nav a:not(.btn):hover { background: var(--bg-alt); text-decoration: none; }
.main-nav a.active { color: var(--gold-500); position: relative; }
.main-nav a.active::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px;
    height: 2.5px; border-radius: 2px; background: var(--gold-500);
}
.nav-cta .icon { width: 17px; height: 17px; }

.nav-toggle {
    display: none; background: none; border: 0; cursor: pointer;
    color: var(--navy-800); padding: 8px;
}

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(900px 480px at 85% -10%, rgba(217,166,46,.16), transparent 60%),
        linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 70%, var(--navy-600) 100%);
    color: #fff; padding: 84px 0 90px; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-eyebrow {
    display: inline-block; font-family: var(--font-head); font-weight: 600;
    font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--gold-400); border: 1px solid rgba(217,166,46,.4);
    padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero-lead { font-size: 1.13rem; color: rgba(255,255,255,.85); margin: 20px 0 30px; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero .btn-outline { border-color: rgba(255,255,255,.45); color: #fff; }
.hero .btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 18px 28px; list-style: none; font-size: .92rem; color: rgba(255,255,255,.8); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts .icon { color: var(--gold-400); width: 17px; height: 17px; }
.hero-media img { border-radius: 20px; box-shadow: var(--shadow-lg); }

/* ---------- Trustbar ---------- */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    padding: 26px 22px;
}
.trust-item { display: flex; gap: 14px; align-items: center; }
.trust-item .icon { color: var(--gold-500); }
.trust-item strong { display: block; font-family: var(--font-head); color: var(--navy-900); font-size: .98rem; }
.trust-item span { font-size: .82rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }
.section-eyebrow {
    display: inline-block; font-family: var(--font-head); font-weight: 700;
    font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--gold-500); margin-bottom: 12px;
}

/* ---------- Cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 26px; transition: transform .2s ease, box-shadow .2s ease;
    display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-icon {
    width: 58px; height: 58px; border-radius: 14px;
    background: linear-gradient(140deg, var(--gold-100), #fff);
    border: 1px solid #f0e2bd; color: var(--gold-500);
    display: grid; place-items: center; margin-bottom: 18px;
}
.card h2.card-title, .card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; flex: 1; }
.card-link {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--font-head); font-weight: 600; font-size: .92rem;
    color: var(--navy-700); margin-top: 18px;
}
.card-link .icon { width: 16px; height: 16px; transition: transform .15s; }
.card-link:hover { color: var(--gold-500); text-decoration: none; }
.card-link:hover .icon { transform: translateX(4px); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-reverse .split-media { order: 2; }
.split-copy h2 { margin-bottom: 18px; }
.split-copy p { color: var(--muted); }
.split-copy .btn { margin-top: 26px; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }

.steps { list-style: none; margin: 26px 0; display: grid; gap: 22px; }
.steps li { display: flex; gap: 16px; }
.step-num {
    width: 40px; height: 40px; flex: none; border-radius: 50%;
    background: var(--navy-800); color: var(--gold-400);
    font-family: var(--font-head); font-weight: 700;
    display: grid; place-items: center;
}
.steps strong { font-family: var(--font-head); color: var(--navy-900); display: block; margin-bottom: 3px; }
.steps p { font-size: .93rem; }

/* ---------- CTA final ---------- */
.cta-final {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
    padding: 64px 0; color: #fff;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,.8); margin-top: 6px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero / breadcrumb ---------- */
.page-hero {
    background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
    color: #fff; padding: 54px 0;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 44rem; }
.breadcrumb { font-size: .85rem; margin-bottom: 18px; color: rgba(255,255,255,.6); }
.breadcrumb a { color: var(--gold-400); }
.breadcrumb span { margin: 0 6px; }

/* ---------- Artigo / serviço ---------- */
.article-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.article-main h2 { margin: 30px 0 14px; }
.article-main h2:first-child { margin-top: 0; }
.check-list, .doc-list { list-style: none; display: grid; gap: 10px; margin: 6px 0 10px; }
.check-list li, .doc-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--green); margin-top: 3px; width: 18px; height: 18px; }
.doc-list .icon { color: var(--navy-600); margin-top: 3px; width: 18px; height: 18px; }

.article-aside { display: grid; gap: 20px; position: sticky; top: 96px; }
.aside-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px; display: grid; gap: 12px;
}
.aside-card h3 { margin-bottom: 2px; }
.aside-card p { font-size: .92rem; color: var(--muted); margin-bottom: 6px; }
.aside-muted { background: var(--bg-alt); }
.aside-list { list-style: none; display: grid; gap: 10px; font-size: .9rem; }
.aside-list li { display: flex; gap: 10px; align-items: center; }
.aside-list .icon { color: var(--gold-500); width: 17px; height: 17px; }

.notice-box {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--gold-100); border: 1px solid #ecd9a6;
    border-radius: var(--radius); padding: 22px 24px; margin-top: 42px;
}
.notice-box .icon { color: var(--gold-500); margin-top: 2px; }
.notice-box strong { font-family: var(--font-head); display: block; margin-bottom: 4px; }
.notice-box p { font-size: .93rem; color: var(--ink); }

.info-table { display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.info-table > div { display: grid; grid-template-columns: 220px 1fr; }
.info-table > div:nth-child(odd) { background: var(--bg-alt); }
.info-table dt { font-family: var(--font-head); font-weight: 600; padding: 14px 20px; color: var(--navy-800); }
.info-table dd { padding: 14px 20px; }

/* ---------- Contato ---------- */
.contact-channels { display: grid; gap: 16px; align-content: start; }
.channel-card {
    display: flex; gap: 16px; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px 20px; transition: box-shadow .15s, transform .15s;
}
.channel-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.channel-card .card-icon { margin: 0; width: 48px; height: 48px; }
.channel-card strong { font-family: var(--font-head); color: var(--navy-900); display: block; }
.channel-card span { font-size: .88rem; color: var(--muted); }

.contact-form-wrap h2 { margin-bottom: 20px; }
.contact-form { display: grid; gap: 18px; margin-top: 10px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--navy-800); }
.req { color: var(--red); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; font: inherit; font-size: .96rem; color: var(--ink);
    border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    padding: 12px 14px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: 0; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(217,166,46,.18);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent-check { display: flex; gap: 10px; font-size: .9rem; color: var(--muted); cursor: pointer; }
.consent-check input { margin-top: 4px; flex: none; }
.form-note { font-size: .82rem; color: var(--muted); }

.alert { border-radius: var(--radius-sm); padding: 16px 20px; font-size: .95rem; margin-bottom: 8px; }
.alert ul { margin: 8px 0 0 18px; }
.alert-success { background: #e9f9ef; border: 1px solid #b8e8cb; color: #145a32; }
.alert-error { background: #fdecea; border: 1px solid #f3c4bc; color: #7b241c; }
.alert .icon { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }

/* ---------- Legal ---------- */
.legal-content { max-width: 800px; }
.legal-content h2 { margin: 38px 0 12px; font-size: 1.35rem; }
.legal-content h3 { margin: 24px 0 8px; font-size: 1.05rem; }
.legal-content ul { margin: 10px 0 10px 22px; display: grid; gap: 6px; }
.legal-content p, .legal-content li { color: var(--ink); font-size: .97rem; }
.legal-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .92rem; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: top; }
.legal-table th { background: var(--navy-800); color: #fff; font-family: var(--font-head); font-weight: 600; }
.legal-table tr:nth-child(even) td { background: var(--bg-alt); }
.legal-note { margin-top: 40px; padding: 14px 18px; background: var(--bg-alt); border-left: 4px solid var(--gold-500); font-size: .88rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.75); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .9fr 1.2fr; gap: 40px; padding: 60px 22px 46px; }
.footer-brand p { font-size: .9rem; margin-top: 16px; }
.footer-legal-name { font-size: .8rem !important; color: rgba(255,255,255,.5); }
.site-footer .brand-name { color: #fff; }
.footer-title { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 9px; font-size: .92rem; }
.footer-col a { color: rgba(255,255,255,.75); }
.footer-col a:hover { color: var(--gold-400); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--gold-400); width: 17px; height: 17px; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: .83rem; color: rgba(255,255,255,.5); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--green); color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 8px 24px rgba(31,170,89,.45);
    transition: transform .15s, box-shadow .15s;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(31,170,89,.55); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    background: var(--navy-900); color: #fff;
    border-top: 3px solid var(--gold-500);
    box-shadow: 0 -10px 40px rgba(0,0,0,.3);
}
.cookie-inner {
    max-width: var(--container); margin: 0 auto; padding: 22px;
    display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 260px; }
.cookie-text h2 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.cookie-text p { font-size: .85rem; color: rgba(255,255,255,.75); }
.cookie-text a { color: var(--gold-400); }
.cookie-actions { display: flex; gap: 12px; }
.cookie-actions .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.cookie-actions .btn-outline:hover { background: rgba(255,255,255,.1); }

/* ---------- Reveal animation (discreta) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero { padding: 60px 0; }
    .hero-media { order: -1; max-width: 520px; }
    .trustbar-grid { grid-template-columns: repeat(2, 1fr); }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 36px; }
    .split-reverse .split-media { order: 0; }
    .article-layout { grid-template-columns: 1fr; }
    .article-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .main-nav {
        position: fixed; inset: 74px 0 auto 0;
        background: #fff; flex-direction: column; align-items: stretch;
        padding: 14px 22px 24px; gap: 6px;
        border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
        display: none;
    }
    .main-nav.open { display: flex; }
    .main-nav ul { flex-direction: column; }
    .main-nav a:not(.btn) { display: block; padding: 13px 14px; }
    .nav-cta { justify-content: center; margin-top: 8px; }
    .nav-toggle { display: grid; place-items: center; }
    .section { padding: 60px 0; }
    .cards-grid { grid-template-columns: 1fr; }
    .form-row-2 { grid-template-columns: 1fr; }
    .info-table > div { grid-template-columns: 1fr; }
    .info-table dt { padding-bottom: 2px; }
    .info-table dd { padding-top: 2px; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .whatsapp-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}
