/* ==========================================================================
   Senhor Informática — site público
   ========================================================================== */

:root {
    --ink: #0e1b2a;
    --ink-2: #16283d;
    --muted: #56677b;
    --faint: #8496a9;
    --line: #e3e9f1;
    --line-strong: #cfd9e6;
    --surface: #ffffff;
    --page: #f5f8fc;
    --page-2: #eef3f9;

    --brand: #1f6feb;
    --brand-dark: #1657c4;
    --brand-soft: #e9f1fe;
    --accent: #ff7a18;
    --accent-soft: #fff1e6;
    --ok: #0f7b3f;
    --ok-soft: #e8f8ee;
    --danger: #b42318;
    --danger-soft: #fef3f2;

    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 26px;

    --shadow-sm: 0 1px 2px rgba(14, 27, 42, .06);
    --shadow: 0 2px 6px rgba(14, 27, 42, .06), 0 12px 28px -12px rgba(14, 27, 42, .12);
    --shadow-lg: 0 4px 12px rgba(14, 27, 42, .07), 0 28px 60px -24px rgba(14, 27, 42, .22);

    --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
    --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --header-h: 76px;
    --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; }
button { font: inherit; }

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: #fff;
    padding: 12px 18px;
    z-index: 100;
    border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.container-narrow { max-width: 760px; }

/* ------------------------------------------------------------- botões ---- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14.5px;
    letter-spacing: -.01em;
    cursor: pointer;
    transition: transform .12s ease, background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
    white-space: nowrap;
    text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(31,111,235,.3); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); background: #fff; }

.btn-ghost { background: var(--page); color: var(--ink); border-color: transparent; }
.btn-ghost:hover { background: var(--page-2); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: #fff; }

.btn-lg { padding: 14px 26px; font-size: 15.5px; }
.btn-sm { padding: 8px 15px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ------------------------------------------------------------- header ---- */

/* Elementos estruturais: garantem que nada estoure o grid */
.hero-copy,
.contact-form-wrap,
.contact-aside,
.footer-brand,
.footer-col { min-width: 0; }
.brand-icon { display: block; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 13px;
    background: linear-gradient(150deg, var(--brand), #0b4ea8);
    color: #fff;
    box-shadow: 0 4px 12px -4px rgba(31, 111, 235, .55);
    flex: none;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -.03em;
}
.brand-tagline {
    font-size: 11.5px;
    color: var(--muted);
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-link {
    padding: 9px 13px;
    border-radius: 9px;
    color: var(--muted);
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    transition: color .14s ease, background-color .14s ease;
}
.nav-link:hover { color: var(--ink); background: var(--page); text-decoration: none; }
.nav-link.is-active { color: var(--brand); background: var(--brand-soft); font-weight: 600; }

.nav-actions { margin-left: 10px; }

.nav-toggle {
    display: none;
    margin-left: auto;
    padding: 9px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    cursor: pointer;
}

/* --------------------------------------------------------------- hero ---- */

.hero {
    position: relative;
    background: var(--ink);
    color: #fff;
    overflow: hidden;
    padding: 64px 0 76px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 420px at 78% -10%, rgba(31, 111, 235, .45), transparent 65%),
        radial-gradient(700px 380px at 8% 108%, rgba(255, 122, 24, .18), transparent 62%),
        linear-gradient(165deg, #0e1b2a 0%, #102338 55%, #0c1929 100%);
}
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 78%);
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 14px;
}
.eyebrow-light { color: #8fbaff; }

.hero-title {
    font-size: clamp(30px, 4.4vw, 50px);
    font-weight: 800;
    letter-spacing: -.035em;
    margin-bottom: 18px;
    text-wrap: balance;
}

.hero-lead {
    font-size: 17.5px;
    color: rgba(255, 255, 255, .78);
    max-width: 54ch;
    margin-bottom: 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.32); }
.hero .btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

.hero-trust {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, .72);
}
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust svg { color: #6ee7a8; }

/* cartão do hero / slider */

.hero-visual { position: relative; }

.hero-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius-xl);
    padding: 24px;
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-lg);
}

.hero-card-top { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.hero-card-icon {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border-radius: 13px;
    background: rgba(31, 111, 235, .22);
    color: #9cc4ff;
    flex: none;
}
.hero-card-title { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; }
.hero-card-sub { font-size: 13px; color: rgba(255,255,255,.6); }

.hero-card-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 11px; }
.hero-card-list li {
    display: flex;
    gap: 10px;
    font-size: 13.8px;
    color: rgba(255, 255, 255, .8);
    align-items: flex-start;
}
.hero-card-list svg { color: #8fbaff; margin-top: 2px; flex: none; }
.hero-card .btn-dark { background: #fff; color: var(--ink); }
.hero-card .btn-dark:hover { background: #eef3fb; }

.hero-slider { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-slide { margin: 0; position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.hero-slide:first-child { position: relative; }
.hero-slide.is-active { opacity: 1; position: relative; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }

.hero-dots {
    position: absolute;
    bottom: 14px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    background: rgba(14, 27, 42, .5);
    backdrop-filter: blur(6px);
    padding: 7px 11px;
    border-radius: 999px;
}
.hero-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    padding: 0;
    transition: width .2s ease, background-color .2s ease;
}
.hero-dot.is-active { width: 22px; border-radius: 999px; background: #fff; }

/* ------------------------------------------------------------ seções ----- */

.section { padding: 84px 0; }
.section + .section { padding-top: 0; }

.section-head { margin-bottom: 42px; max-width: 640px; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
    flex-wrap: wrap;
}

.section-title {
    font-size: clamp(24px, 2.9vw, 34px);
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 10px;
}
.section-lead { color: var(--muted); font-size: 16.5px; }

.section-services { background: var(--page); }
.section-steps { background: var(--surface); }
.section-promotions { background: var(--page); }
.section-team { background: var(--surface); }
.section-partners { background: var(--page-2); }
.section-blog { background: var(--surface); }
.section-related { background: var(--page); }

/* grids */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* cards */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }

.card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-media-wide img { aspect-ratio: 16 / 8; }

.card-body { padding: 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card-title { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.card-text { color: var(--muted); font-size: 14.8px; }
.card-footer { margin-top: auto; padding-top: 12px; }

.service-card .service-icon {
    display: grid;
    place-items: center;
    width: 52px; height: 52px;
    margin: 22px 22px 0;
    border-radius: 15px;
    background: var(--brand-soft);
    color: var(--brand);
}

.schedule-list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; }
.schedule-list li {
    display: flex; align-items: center; gap: 7px;
    font-size: 13px; color: var(--muted);
}
.schedule-list svg { color: var(--faint); flex: none; }

/* badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    font-family: var(--font-display);
    letter-spacing: -.01em;
}
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-muted { background: var(--page-2); color: var(--muted); }
.badge-free { background: var(--accent-soft); color: #c45a00; }

/* passos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step {
    position: relative;
    padding: 30px 26px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}
.step-num {
    display: grid; place-items: center;
    width: 38px; height: 38px;
    border-radius: 12px;
    background: var(--ink);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 16px;
}
.step-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-text { color: var(--muted); font-size: 14.8px; }

/* promoções */
.promo-card .card-body { gap: 11px; }
.promo-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.promo-location {
    display: flex; align-items: center; gap: 7px;
    font-size: 13.5px; color: var(--muted);
}
.promo-location svg { color: var(--faint); flex: none; }
.promo-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* equipe */
.team-card {
    text-align: center;
    padding: 26px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}
.avatar {
    width: 92px; height: 92px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 3px solid var(--page-2);
}
.avatar-initial {
    display: grid;
    place-items: center;
    background: linear-gradient(150deg, var(--brand), #0b4ea8);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 34px;
}
.team-name { font-size: 17px; font-weight: 700; }
.team-roles { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 3px; }
.team-roles li { font-size: 13.5px; color: var(--muted); }
.team-roles li.is-primary { color: var(--brand); font-weight: 600; }

/* parceiros */
.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
.partner-card {
    display: grid;
    place-items: center;
    min-width: 156px;
    min-height: 82px;
    padding: 16px 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .16s ease, box-shadow .16s ease;
}
.partner-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.partner-card img { max-height: 46px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .2s ease, opacity .2s ease; }
.partner-card:hover img { filter: none; opacity: 1; }
.partner-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--ink-2);
    text-align: center;
}

.brands-band { margin-top: 48px; text-align: center; }
.brands-label {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 20px;
}
.logo-grid-sm .partner-card { min-width: 124px; min-height: 68px; padding: 12px 18px; }
.logo-grid-sm .partner-card img { max-height: 34px; }

/* ------------------------------------------------------------- blog ------ */

.post-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }

.post-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.post-card-link:hover { text-decoration: none; }

.post-card-cover { display: block; background: var(--page-2); }
.post-card-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card-cover-empty {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    color: #b9c7d8;
    background: linear-gradient(140deg, var(--page-2), var(--page));
}

.post-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card-date { font-size: 12.5px; color: var(--faint); font-weight: 500; }
.post-card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17.5px;
    letter-spacing: -.02em;
    color: var(--ink);
    line-height: 1.3;
}
.post-card-text { color: var(--muted); font-size: 14.5px; flex: 1; }
.post-card-more {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 6px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13.5px;
    color: var(--brand);
}

/* --------------------------------------------------- páginas internas ---- */

.page-hero {
    background: var(--page);
    border-bottom: 1px solid var(--line);
    padding: 52px 0 44px;
}
.page-title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 12px; }
.page-lead { color: var(--muted); font-size: 17px; max-width: 60ch; }

.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--faint);
    margin-bottom: 18px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }

/* artigo */
.article-hero { padding: 52px 0 8px; }
.article-title {
    font-size: clamp(27px, 3.8vw, 42px);
    font-weight: 800;
    letter-spacing: -.035em;
    margin-bottom: 16px;
    text-wrap: balance;
}
.article-meta { display: flex; align-items: center; gap: 8px; color: var(--faint); font-size: 14px; }
.article-meta time { display: inline-flex; align-items: center; gap: 7px; }

.article-cover { margin: 32px 0 0; border-radius: var(--radius-lg); overflow: hidden; }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.article-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 48px 0 0;
    padding: 26px 28px;
    background: var(--page);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.article-cta-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.article-cta-text { color: var(--muted); font-size: 14.5px; }
.article-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.article-back { margin: 36px 0 0; }
.link-back { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-weight: 600; font-size: 14.5px; }
.link-back:hover { color: var(--brand); }

/* ------------------------------------------------------------ conteúdo --- */

.prose {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.75;
    color: #23364a;
    padding: 28px 0 0;
}
.prose > * + * { margin-top: 1.15em; }
.prose p { color: #2b3f55; }
.prose strong { color: var(--ink); font-weight: 650; }

.content-h1, .content-h2, .content-h3, .content-h4, .content-h5, .content-h6 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -.025em;
    color: var(--ink);
    margin-top: 2em;
    margin-bottom: .55em;
}
.content-h1 { font-size: 30px; }
.content-h2 { font-size: 25px; }
.content-h3 { font-size: 20.5px; }
.content-h4 { font-size: 18px; }
.content-h5 { font-size: 16px; }
.content-h6 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

.content-list { padding-left: 1.35em; display: grid; gap: .45em; }
.content-list li::marker { color: var(--brand); }

.quote {
    margin: 1.6em 0;
    padding: 4px 0 4px 22px;
    border-left: 3px solid var(--brand);
    font-size: 18.5px;
    font-style: italic;
    color: var(--ink-2);
}
.quote cite {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-style: normal;
    color: var(--faint);
    font-weight: 600;
}

.content-figure { margin: 1.8em 0; }
.content-figure img { border-radius: var(--radius); width: 100%; }
.content-figure figcaption { margin-top: 10px; font-size: 13.5px; color: var(--faint); text-align: center; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.content-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.content-table th {
    background: var(--page);
    text-align: left;
    padding: 12px 16px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13.5px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}
.content-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.content-table tr:last-child td { border-bottom: 0; }

.code-block {
    background: var(--ink);
    color: #d8e4f2;
    padding: 18px 20px;
    border-radius: var(--radius);
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
}
.prose :not(pre) > code {
    background: var(--page-2);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: .92em;
    color: var(--ink-2);
}

.embed { margin: 1.8em 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.embed iframe { display: block; width: 100%; border: 0; }
.embed-16x9 iframe { aspect-ratio: 16 / 9; height: auto; }
.embed-audio iframe { height: 166px; }

.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.prose-page { padding-top: 8px; }

/* ----------------------------------------------------------- paginação --- */

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 42px;
    flex-wrap: wrap;
}
.page-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: border-color .15s ease, background-color .15s ease;
}
.page-link:hover { border-color: var(--ink); text-decoration: none; background: var(--page); }
.page-info { color: var(--muted); font-size: 14px; }
.page-total { color: var(--faint); }

/* ------------------------------------------------------------ contato ---- */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
    gap: 42px;
    align-items: start;
}

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.label { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: var(--ink); }
.req { color: var(--accent); }

.input, .select, .textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder, .textarea::placeholder { color: #a3b1c2; }
.input:focus, .select:focus, .textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(31, 111, 235, .14);
}
.input.is-invalid, .textarea.is-invalid, .select.is-invalid { border-color: var(--danger); }
.textarea { resize: vertical; min-height: 120px; }
.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2356677b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    padding-right: 40px;
}

.field-error { color: var(--danger); font-size: 13px; font-weight: 500; }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form-note { color: var(--faint); font-size: 13px; }

.alert {
    display: flex;
    gap: 13px;
    padding: 16px 18px;
    border-radius: var(--radius);
    margin-bottom: 22px;
    font-size: 14.5px;
}
.alert svg { flex: none; margin-top: 2px; }
.alert strong { display: block; font-family: var(--font-display); margin-bottom: 2px; }
.alert p { color: inherit; opacity: .85; font-size: 14px; }
.alert-success { background: var(--ok-soft); color: #085c31; border: 1px solid #bfe8d2; }
.alert-error { background: var(--danger-soft); color: #7a271a; border: 1px solid #f5c9c4; }

.contact-card {
    background: var(--page);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px;
}
.contact-card-title { font-size: 17px; font-weight: 700; margin-bottom: 18px; }
.contact-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 13px; }
.contact-ico {
    display: grid;
    place-items: center;
    width: 36px; height: 36px;
    border-radius: 11px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--brand);
    flex: none;
}
.contact-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 1px;
}
.contact-list a, .contact-list span { font-size: 14.5px; color: var(--ink-2); }
.contact-list a:hover { color: var(--brand); }
.contact-card .btn-block { margin-top: 22px; }

/* -------------------------------------------------------------- 404 ------ */

.notfound { padding: 90px 0 110px; }
.notfound-inner { text-align: center; }
.notfound-code {
    font-family: var(--font-display);
    font-size: clamp(70px, 14vw, 130px);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1;
    color: var(--page-2);
    margin-bottom: 8px;
}
.notfound-title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 12px; }
.notfound-text { color: var(--muted); font-size: 16px; max-width: 52ch; margin: 0 auto 26px; }
.notfound-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* --------------------------------------------------------------- CTA ----- */

.cta-band {
    background: var(--ink);
    color: #fff;
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 260px at 85% 20%, rgba(31,111,235,.4), transparent 70%);
}
.cta-inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}
.cta-title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 6px; }
.cta-text { color: rgba(255,255,255,.72); font-size: 16px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,.34); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

/* ------------------------------------------------------------- estado ---- */

.empty-state {
    text-align: center;
    padding: 64px 24px;
    background: var(--page);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
}
.empty-icon {
    display: grid;
    place-items: center;
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--faint);
}
.empty-title { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.empty-text { color: var(--muted); font-size: 15px; }

/* ------------------------------------------------------------- footer ---- */

.site-footer { background: var(--page); border-top: 1px solid var(--line); padding: 60px 0 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 44px;
    padding-bottom: 44px;
}
.brand-footer { margin-bottom: 14px; }
.footer-text { color: var(--muted); font-size: 14.5px; max-width: 36ch; }

.social-row { display: flex; gap: 9px; margin-top: 20px; }
.social-link {
    display: grid;
    place-items: center;
    width: 38px; height: 38px;
    border-radius: 11px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink-2);
    transition: color .15s ease, border-color .15s ease, transform .15s ease;
}
.social-link:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-2px); text-decoration: none; }

.footer-title {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 16px;
}

.footer-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.footer-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--muted); align-items: flex-start; }
.footer-list a { color: var(--muted); }
.footer-list a:hover { color: var(--brand); }
.footer-ico { color: var(--faint); margin-top: 3px; flex: none; }

.footer-map {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand);
}

.footer-links { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer-links a { color: var(--muted); font-size: 14.5px; }
.footer-links a:hover { color: var(--brand); }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 24px 28px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--faint);
}
.footer-legal a { color: var(--faint); }
.footer-legal a:hover { color: var(--brand); }

/* WhatsApp flutuante */
.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    display: grid;
    place-items: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 6px 20px -4px rgba(37, 211, 102, .6);
    transition: transform .16s ease, box-shadow .16s ease;
}
.wa-float:hover { transform: scale(1.06); box-shadow: 0 10px 26px -4px rgba(37, 211, 102, .7); }

/* --------------------------------------------------------- LGPD/cookies -- */

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: saturate(180%) blur(12px);
    border-top: 1px solid var(--line-strong);
    box-shadow: 0 -8px 30px -12px rgba(14, 27, 42, .25);
    animation: cookie-in .28s ease both;
}

@keyframes cookie-in {
    from { transform: translateY(12px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.cookie-banner-title {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 3px;
}

.cookie-banner-text p {
    font-size: 13.2px;
    color: var(--muted);
    max-width: 78ch;
}

.cookie-banner-text a { color: var(--brand); font-weight: 600; }

.cookie-banner-actions { display: flex; gap: 9px; flex: none; }

.footer-consent {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-size: 13px;
    color: var(--faint);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.footer-consent:hover { color: var(--brand); }

@media (max-width: 720px) {
    .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 14px; }
    .cookie-banner-actions .btn { flex: 1; }
}

/* --------------------------------------------------------- responsivo ---- */

@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 520px; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 860px) {
    .nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 14px 20px 22px;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .18s ease, transform .18s ease, visibility .18s;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-link { padding: 12px 14px; font-size: 15.5px; }
    .nav-actions { margin: 12px 0 0; }
    .nav-actions .btn { width: 100%; }
    .nav-toggle { display: inline-flex; }

    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .hero { padding: 48px 0 60px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .article-cta { padding: 22px; }
    .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

@media (max-width: 560px) {
    .container { padding: 0 18px; }
    .brand-tagline { display: none; }
    .hero-title { font-size: 28px; }
    .grid-4 { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .prose { font-size: 16.5px; }
    .content-h1 { font-size: 25px; }
    .content-h2 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

@media print {
    .site-header, .site-footer, .wa-float, .cta-band, .article-cta { display: none !important; }
    body { color: #000; }
}
