/* ==========================================================================
   Despache Despachante — tema "suave violeta/turquesa"
   ========================================================================== */

:root {
    --violet:      #7c3aed;
    --violet-dark: #5b21b6;
    --violet-50:   #f3efff;
    --teal:        #0d9488;
    --teal-50:     #ecfdf9;
    --ink:         #221c35;
    --muted:       #6d6885;
    --line:        #e6e1f5;
    --bg:          #faf9ff;
    --card:        #ffffff;
    --radius:      18px;
    --radius-lg:   26px;
    --font-head:   'Poppins', sans-serif;
    --font-body:   'Nunito', 'Inter', system-ui, sans-serif;
    --shadow:      0 14px 44px rgba(76,29,149,.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.7;
    font-size: 16.5px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { width: min(1120px, 92%); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon-xl { width: 1.6em; height: 1.6em; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--violet); color: #fff; padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 0; }

h1, h2, h3, .brand-name { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }

/* ---------- Header (pill flutuante) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; padding: .9rem 0; background: linear-gradient(var(--bg) 60%, transparent); }
.nav-pill {
    display: flex; align-items: center; gap: 1.6rem;
    background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
    border: 1px solid var(--line); border-radius: 999px;
    padding: .6rem 1rem .6rem 1.2rem; box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-mark { border-radius: 50%; }
.brand-name { font-size: 1.2rem; color: var(--ink); }
.brand-name strong { color: var(--violet); }
.brand-tag { display: block; font-size: .72rem; color: var(--muted); }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 1.2rem; }
.main-nav ul { display: flex; gap: .4rem; list-style: none; }
.main-nav ul a {
    display: block; text-decoration: none; font-size: .95rem; font-weight: 700;
    color: var(--muted); padding: .5rem 1rem; border-radius: 999px;
    transition: background .2s, color .2s;
}
.main-nav ul a:hover { color: var(--violet); }
.main-nav ul a.active { background: var(--violet-50); color: var(--violet); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); padding: .5rem .6rem; cursor: pointer; }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .55rem;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem;
    padding: .85rem 1.7rem; border-radius: 999px;
    text-decoration: none; border: 2px solid transparent; cursor: pointer;
    transition: transform .15s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 10px 26px rgba(124,58,237,.32); }
.btn-primary:hover { background: var(--violet-dark); }
.btn-accent { background: var(--teal); color: #fff; }
.btn-accent:hover { filter: brightness(.92); }
.btn-soft { background: var(--violet-50); color: var(--violet); }
.btn-soft:hover { background: #e9e2ff; }
.btn-outline { border-color: var(--violet); color: var(--violet); background: transparent; }
.btn-outline:hover { background: var(--violet); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); }
.btn-light { background: #fff; color: var(--violet-dark); }
.btn-lg { padding: 1rem 2.1rem; font-size: 1rem; }
.btn-sm { padding: .55rem 1.2rem; font-size: .85rem; }
.btn-block { width: 100%; justify-content: center; }
.nav-cta { padding: .6rem 1.3rem; }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(600px 400px at 90% 0%, rgba(13,148,136,.12), transparent 60%),
        radial-gradient(700px 500px at 5% 100%, rgba(124,58,237,.14), transparent 60%),
        var(--bg);
    padding: 4rem 0 4.5rem; text-align: center;
}
.hero-pill {
    display: inline-flex; align-items: center; gap: .5rem;
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    color: var(--violet); font-size: .85rem; font-weight: 700;
    padding: .5rem 1.1rem; box-shadow: var(--shadow); margin-bottom: 1.6rem;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); color: var(--ink); margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--violet); }
.hero-lead { color: var(--muted); font-size: 1.12rem; max-width: 560px; margin: 0 auto 2.2rem; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.6rem; }
.hero-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.hero-badge {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: .9rem 1.5rem; box-shadow: var(--shadow); text-align: left;
}
.hero-badge strong { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--violet); }
.hero-badge span { font-weight: 800; font-size: .95rem; color: var(--ink); }

/* ---------- Seções ---------- */
.section { padding: 4.2rem 0; }
.section-alt { background: #fff; }
.section-tint { background: linear-gradient(180deg, var(--violet-50), var(--bg)); }
.section-eyebrow {
    display: inline-block; font-size: .78rem; font-weight: 800;
    letter-spacing: .18em; text-transform: uppercase; color: var(--teal);
    margin-bottom: .6rem;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head h2, .section-head-left h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); color: var(--ink); }
.section-head p, .section-head-left p { color: var(--muted); margin-top: .7rem; }
.section-head-left { max-width: 640px; margin-bottom: 2.4rem; }
.section-cta { text-align: center; margin-top: 2.4rem; }

/* ---------- Serviços (cartões arredondados) ---------- */
.svc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.3rem; }
.svc-card {
    display: grid; gap: .5rem; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 1.8rem; text-decoration: none;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--violet); }
.svc-icon {
    width: 54px; height: 54px; border-radius: 18px;
    background: var(--violet-50); color: var(--violet);
    display: grid; place-items: center; margin-bottom: .4rem;
}
.svc-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.svc-desc { color: var(--muted); font-size: .93rem; }
.svc-more { display: inline-flex; align-items: center; gap: .4rem; color: var(--teal); font-weight: 800; font-size: .88rem; margin-top: .4rem; }

/* ---------- Cards genéricos ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 1.9rem; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
    width: 54px; height: 54px; border-radius: 18px;
    background: var(--violet-50); color: var(--violet);
    display: grid; place-items: center; margin-bottom: 1rem;
}
.card h3, .card-title { font-size: 1.15rem; color: var(--ink); margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .94rem; }
.card-link {
    display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem;
    color: var(--teal); font-weight: 800; font-size: .88rem; text-decoration: none;
}
.card-link:hover { text-decoration: underline; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; max-width: 720px; margin: 0 auto; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; padding-bottom: 2rem; position: relative; }
.timeline li:not(:last-child)::before {
    content: ''; position: absolute; left: 27px; top: 56px; bottom: 0;
    width: 2px; background: var(--line);
}
.tl-dot {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--violet), var(--teal));
    color: #fff; display: grid; place-items: center;
    font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(124,58,237,.3);
}
.tl-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.tl-body h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: .3rem; }
.tl-body p { color: var(--muted); font-size: .93rem; }

/* ---------- Banda sobre ---------- */
.about-band {
    display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 2.4rem; box-shadow: var(--shadow);
}
.about-icon img { border-radius: 22px; }
.about-text h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: var(--ink); margin-bottom: .7rem; }
.about-text p { color: var(--muted); margin-bottom: 1.1rem; max-width: 62ch; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-reverse .split-media { order: -1; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split-copy h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--ink); margin-bottom: 1rem; }
.split-copy p { color: var(--muted); margin-bottom: .9rem; }
.steps { list-style: none; display: grid; gap: 1.2rem; margin: 1.4rem 0 1.8rem; }
.steps li { display: flex; gap: 1rem; }
.steps .step-num {
    width: 42px; height: 42px; border-radius: 50%; flex: none;
    background: var(--teal); color: #fff; display: grid; place-items: center;
    font-family: var(--font-head); font-weight: 700;
}
.steps strong { color: var(--ink); }
.steps p { color: var(--muted); font-size: .92rem; }

/* ---------- Page hero ---------- */
.page-hero {
    background: linear-gradient(120deg, var(--violet), var(--violet-dark));
    color: #fff; padding: 3.2rem 0;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); color: #fff; }
.page-hero p { color: #ddd0ff; max-width: 60ch; margin-top: .7rem; }
.breadcrumb { font-size: .82rem; color: #ddd0ff; margin-bottom: .9rem; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Artigo ---------- */
.article-layout { display: grid; grid-template-columns: 1.6fr .9fr; gap: 2.6rem; align-items: start; }
.article-main h2 { font-size: 1.5rem; color: var(--ink); margin: 2rem 0 .8rem; }
.article-main h2:first-child { margin-top: 0; }
.article-main p, .article-main li { color: var(--muted); }
.article-main ul { padding-left: 1.2rem; display: grid; gap: .4rem; margin-bottom: 1rem; }
.article-aside { display: grid; gap: 1.2rem; position: sticky; top: 110px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.aside-card h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: .9rem; }
.aside-muted { background: var(--violet-50); }
.aside-list { list-style: none; display: grid; gap: .7rem; }
.aside-list a { color: var(--muted); text-decoration: none; display: flex; gap: .5rem; align-items: center; font-size: .92rem; }
.aside-list a:hover { color: var(--violet); }
.check-list, .doc-list { list-style: none; display: grid; gap: .6rem; }
.check-list li, .doc-list li { display: flex; gap: .6rem; color: var(--muted); font-size: .95rem; }
.check-list .icon, .doc-list .icon { color: var(--teal); margin-top: .2em; }
.notice-box {
    border-left: 4px solid var(--teal); background: var(--teal-50);
    border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.2rem;
    color: var(--muted); font-size: .93rem; margin: 1.4rem 0;
}

/* ---------- Contato ---------- */
.contact-channels { display: grid; gap: .9rem; margin-top: 1.6rem; }
.channel-card {
    display: flex; gap: 1rem; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1rem 1.2rem; text-decoration: none; transition: border-color .2s, box-shadow .2s;
}
.channel-card:hover { border-color: var(--violet); box-shadow: var(--shadow); }
.channel-card .card-icon { margin: 0; width: 46px; height: 46px; }
.channel-card strong { display: block; color: var(--ink); font-size: .95rem; }
.channel-card span { color: var(--muted); font-size: .88rem; }
.contact-form-wrap { max-width: 720px; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.form-row { margin-bottom: 1.2rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 700; color: var(--ink); margin-bottom: .4rem; }
.form-group .req { color: var(--violet); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px;
    color: var(--ink); padding: .75rem 1rem; font: inherit; font-size: .95rem;
    transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,58,237,.13);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.consent-check { display: flex; gap: .7rem; font-size: .88rem; color: var(--muted); cursor: pointer; }
.consent-check input { margin-top: .25em; accent-color: var(--violet); }
.consent-check a { color: var(--violet); }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .9rem; text-align: center; }
.alert { border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.4rem; font-size: .95rem; }
.alert-success { background: #ecfdf5; border: 1px solid #34d399; color: #047857; }
.alert-error { background: #fef2f2; border: 1px solid #f87171; color: #b91c1c; }

/* ---------- Legal ---------- */
.legal-content { max-width: 780px; }
.legal-content h2 { font-size: 1.4rem; color: var(--ink); margin: 2rem 0 .7rem; }
.legal-content h3 { font-size: 1.15rem; color: var(--ink); margin: 1.4rem 0 .5rem; }
.legal-content p, .legal-content li { color: var(--muted); font-size: .97rem; }
.legal-content ul { padding-left: 1.3rem; margin-bottom: 1rem; display: grid; gap: .3rem; }
.legal-content a { color: var(--violet); }
.legal-table, .info-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .92rem; }
.legal-table th, .legal-table td, .info-table th, .info-table td {
    border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; color: var(--muted);
}
.legal-table th, .info-table th { color: var(--ink); background: var(--violet-50); }
.info-table { border-collapse: separate; border-spacing: 0; }
.info-table div { display: contents; }
.legal-note { font-size: .85rem; color: var(--muted); margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1rem; }

/* ---------- CTA final ---------- */
.cta-final { padding: 2rem 0 4.5rem; }
.cta-card {
    background: linear-gradient(120deg, var(--violet), var(--violet-dark));
    border-radius: var(--radius-lg); padding: 3rem;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem;
    box-shadow: 0 24px 60px rgba(91,33,182,.35);
}
.cta-card h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: #fff; }
.cta-card p { color: #ddd0ff; margin-top: .4rem; }
.cta-actions { display: flex; gap: .9rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #1c1533; color: #b8b0d8; }
.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.4rem;
    padding: 3.4rem 0 2.4rem;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name strong { color: #c4b5fd; }
.footer-brand p { font-size: .9rem; margin-top: .9rem; }
.footer-legal-name { font-size: .8rem !important; }
.footer-title {
    font-family: var(--font-head); font-size: .82rem; text-transform: uppercase;
    letter-spacing: .14em; color: #c4b5fd; margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: grid; gap: .55rem; }
.footer-col ul a { color: #b8b0d8; text-decoration: none; font-size: .92rem; }
.footer-col ul a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .6rem; font-size: .9rem; }
.footer-contact .icon { color: var(--teal); margin-top: .2em; }
.footer-contact a { color: #b8b0d8; text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0; }
.footer-bottom p { font-size: .82rem; text-align: center; }

/* ---------- WhatsApp flutuante / cookies ---------- */
.whatsapp-float {
    position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90;
    width: 58px; height: 58px; border-radius: 50%;
    background: #22c55e; color: #fff; display: grid; place-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float .icon { width: 28px; height: 28px; }
.cookie-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(76,29,149,.12);
    padding: 1rem 0; display: none;
}
.cookie-banner.show { display: block; }
.cookie-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; }
.cookie-text { color: var(--muted); font-size: .87rem; max-width: 640px; }
.cookie-text a { color: var(--violet); }
.cookie-actions { display: flex; gap: .7rem; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
    .split, .article-layout, .about-band { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cards-3 { grid-template-columns: 1fr; }
    .article-aside { position: static; }
}
@media (max-width: 640px) {
    .nav-pill { border-radius: 22px; }
    .main-nav {
        display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0;
        background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
        flex-direction: column; padding: 1.1rem; gap: .8rem; align-items: stretch;
    }
    .main-nav.open { display: flex; }
    .main-nav ul { flex-direction: column; gap: .3rem; }
    .main-nav ul a { display: block; padding: .6rem .9rem; }
    .nav-toggle { display: block; margin-left: auto; }
    .form-row-2 { grid-template-columns: 1fr; }
    .cta-card { padding: 2rem; }
    .hero { padding-top: 2.6rem; }
}
