/*
 * BattleTech - folha de estilo única.
 * Direção: corporativo jovem, tema claro.
 *   Névoa #F4F7FC (fundo) · Branco (superfícies) · Marinho #0E1B33 (texto/títulos)
 *   Azul elétrico #2F55F4 (ação) · Faísca #FF7A1A (só detalhes: pixel dos ícones, mosaico)
 * Formas: botões em pílula, cartões 20px, campos 12px.
 */

@font-face {
    font-family: "League Spartan";
    src: url("../fonts/LeagueSpartan.ttf") format("truetype-variations"),
         url("../fonts/LeagueSpartan.ttf") format("truetype");
    font-weight: 100 900;
    font-display: swap;
}

:root {
    color-scheme: light;

    --bg: #f4f7fc;
    --surface: #ffffff;
    --surface-2: #eaf0fb;
    --navy: #0e1b33;
    --navy-2: #172a4d;
    --line: #dce3ef;
    --line-strong: #c3cde0;

    --text: #0e1b33;
    --text-soft: #3d4a63;
    --muted: #5b6880;

    --accent: #2f55f4;
    --accent-hover: #1f43dc;
    --accent-ink: #ffffff;
    --accent-tint: #e7edff;
    --spark: #ff7a1a;
    --icon-accent: var(--spark);

    --success: #12805c;
    --danger: #c4314b;

    --radius: 20px;
    --radius-control: 12px;
    --pill: 999px;

    --font-display: "League Spartan", ui-sans-serif, system-ui, sans-serif;
    --font-body: ui-sans-serif, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --container: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --header-h: 72px;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --shadow: 0 1px 2px rgba(14, 27, 51, 0.04), 0 12px 32px -12px rgba(14, 27, 51, 0.16);
    --shadow-lg: 0 2px 4px rgba(14, 27, 51, 0.04), 0 28px 60px -24px rgba(14, 27, 51, 0.28);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--navy);
}

p { color: var(--text-soft); }

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}
:focus { scroll-margin-top: calc(var(--header-h) + 16px); }

::selection { background: var(--accent); color: #fff; }

.icon {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
    vertical-align: -0.2em;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 18px;
    background: var(--navy);
    color: #fff;
    border-radius: var(--pill);
    font-weight: 600;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

main { flex: 1; }

/* ---------- Botões e links ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 26px;
    border-radius: var(--pill);
    border: 1.5px solid transparent;
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
                border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -10px rgba(47, 85, 244, 0.7); }
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); }

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--accent-tint); }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn-sm { min-height: 42px; padding: 0 18px; font-size: 1rem; }
.btn-block { width: 100%; }

.text-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
    text-decoration-color: rgba(47, 85, 244, 0.35);
    transition: text-decoration-color 0.2s var(--ease);
}
.text-link:hover { text-decoration-color: var(--accent); }

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-h);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s var(--ease);
}
/* Fundo com desfoque em pseudo-elemento: no próprio header ele viraria o
   "containing block" do menu mobile (position: fixed). */
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(244, 247, 252, 0.85);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
@media (prefers-reduced-transparency: reduce) {
    .site-header::before { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.site-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* O logo é um PNG branco; no tema claro ele vira marinho. */
.brand img { height: 27px; width: auto; }

.nav { display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }

.nav-links a {
    display: block;
    padding: 9px 16px;
    border-radius: var(--pill);
    color: var(--text-soft);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.08rem;
    transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--navy); background: rgba(14, 27, 51, 0.05); }
.nav-links a[aria-current="page"] { color: var(--navy); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: var(--pill);
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--navy);
    cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .i-close,
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px var(--gutter) 28px;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
    }
    .nav.is-open {
        transform: none;
        opacity: 1;
        visibility: visible;
        transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
    }
    .nav-links { flex-direction: column; align-items: stretch; }
    .nav-links a { padding: 13px 16px; font-size: 1.2rem; }
}

/* ---------- Footer ---------- */

.site-footer {
    margin-top: auto;
    background: var(--navy);
    color: #c9d3e6;
    padding: 64px 0 28px;
}
.site-footer p { color: #a9b6cf; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-brand img { height: 26px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 36ch; font-size: 0.98rem; }

.footer-col h2 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0;
    margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: #c9d3e6; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.875rem;
}

@media (max-width: 1023px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Mensagens ---------- */

.alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: var(--radius-control);
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--navy);
    font-size: 0.97rem;
    margin-bottom: 24px;
}
.alert .icon { width: 22px; height: 22px; margin-top: 1px; }
.alert-success { background: #e8f6f0; border-color: #b5e1cf; }
.alert-success .icon { color: var(--success); }
.alert-error { background: #fcecef; border-color: #f1c0ca; }
.alert-error .icon { color: var(--danger); }
.alert-info .icon { color: var(--accent); }

/* ---------- Formulários ---------- */

.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 8px; }
.field label { font-size: 0.97rem; font-weight: 600; color: var(--navy); }
.field .optional { color: var(--muted); font-weight: 400; }

.input {
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    background: var(--surface);
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-control);
    color: var(--navy);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.input::placeholder { color: #6b7790; }
.input:hover { border-color: #9aa8c2; }
.input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(47, 85, 244, 0.18);
}
textarea.input { min-height: 150px; resize: vertical; line-height: 1.5; }

.field.has-error .input { border-color: var(--danger); }
.field-error { display: flex; align-items: center; gap: 6px; color: var(--danger); font-size: 0.9rem; font-weight: 500; }
.field-error .icon { width: 16px; height: 16px; }
.field-help { color: var(--muted); font-size: 0.9rem; }

.input-wrap { position: relative; }
.input-wrap .input { padding-right: 54px; }
.toggle-password {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--muted);
    border-radius: 9px;
    cursor: pointer;
}
.toggle-password:hover { color: var(--navy); background: var(--surface-2); }
.toggle-password .icon { width: 21px; height: 21px; }
.toggle-password .i-hide,
.toggle-password[aria-pressed="true"] .i-show { display: none; }
.toggle-password[aria-pressed="true"] .i-hide { display: block; }

.check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.97rem;
    color: var(--text-soft);
    cursor: pointer;
}
.check input { width: 19px; height: 19px; margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Seções ---------- */

.section { padding: clamp(72px, 9vw, 120px) 0; }

.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); margin-bottom: 14px; }
.section-head p { font-size: 1.15rem; max-width: 58ch; }

/* ---------- Home: abertura ---------- */

.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 4.8vw, 3.9rem);
    margin-bottom: 24px;
    max-width: 17ch;
}
.hero-lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); max-width: 44ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Mosaico: as seis soluções numa grade, como a marca do BattleCafé. */
.mosaic {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.mosaic a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    aspect-ratio: 1;
    padding: clamp(14px, 1.8vw, 20px);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    color: var(--navy);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(0.98rem, 1.35vw, 1.12rem);
    line-height: 1.15;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.mosaic a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.mosaic .icon { width: clamp(30px, 3vw, 38px); height: clamp(30px, 3vw, 38px); color: var(--accent); }
.mosaic .mark { width: clamp(34px, 3.4vw, 44px); height: auto; }

.mosaic .is-navy a { background: var(--navy); color: #fff; }
.mosaic .is-navy .icon { color: #fff; }
.mosaic .is-blue a { background: var(--accent); color: #fff; }
.mosaic .is-blue .icon { color: #fff; --icon-accent: #ffd2b0; }
.mosaic .is-offset { transform: translateY(18px); }
.mosaic .is-offset a:hover { transform: translateY(-3px); }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero h1 { max-width: 18ch; }
    .mosaic .is-offset { transform: none; }
}
@media (max-width: 420px) {
    .mosaic { grid-template-columns: repeat(2, 1fr); }
    .mosaic a { aspect-ratio: 4 / 3; }
}

/* ---------- Home: produtos ---------- */

.showcase {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 16px;
}
.showcase-side { display: grid; gap: 16px; }

.card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
a.card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }

.card-body { padding: clamp(22px, 3vw, 32px); display: grid; gap: 10px; align-content: start; }
.card-body h3 { font-size: 1.65rem; }
.card-body p { max-width: 46ch; }
.card-logo { height: 34px; width: auto; margin-bottom: 4px; }
.card-more { margin-top: 6px; color: var(--accent); font-weight: 600; font-family: var(--font-display); font-size: 1.05rem; }

.card-shot { margin: auto clamp(22px, 3vw, 32px) 0; }
.card-shot img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top;
    border-radius: 12px 12px 0 0;
    border: 1px solid var(--line);
    border-bottom: 0;
}

.card-row { flex-direction: row; align-items: stretch; }
.card-row .card-body { flex: 1; }
.card-row .card-shot { width: 46%; margin: 22px 0 0; align-self: flex-end; }
.card-row .card-shot img { border-radius: 12px 0 0 0; border-right: 0; aspect-ratio: 4 / 3; object-position: top left; }

.card-dark { background: var(--navy); border-color: var(--navy); }
.card-dark h3 { color: #fff; }
.card-dark p { color: #c2cce0; }
.card-dark .card-more { color: #9db4ff; }

@media (max-width: 900px) {
    .showcase { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .card-row { flex-direction: column; }
    .card-row .card-shot { width: auto; margin: 0 22px; }
    .card-row .card-shot img { border-radius: 12px 12px 0 0; border-right: 1px solid var(--line); }
}

/* ---------- Home: como trabalhamos ---------- */

.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 4vw, 48px);
    counter-reset: step;
}
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before {
    content: counter(step);
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--accent-tint);
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
}
.steps h3 { font-size: 1.45rem; margin-bottom: 10px; }

@media (max-width: 860px) {
    .steps { grid-template-columns: 1fr; }
    .steps li { padding: 0 0 0 64px; }
}

/* ---------- Faixa de chamada ---------- */

.cta-band {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.4fr auto;
    align-items: center;
    gap: 32px;
    padding: clamp(36px, 5vw, 64px);
    border-radius: calc(var(--radius) + 8px);
    background: var(--accent);
    color: #fff;
}
.cta-band::after {
    /* grade de pixels no canto, eco do mosaico */
    content: "";
    position: absolute;
    right: -20px;
    top: -20px;
    width: 220px;
    height: 220px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.22) 2px, transparent 2.5px);
    background-size: 22px 22px;
    pointer-events: none;
}
.cta-band h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 2.9rem); margin-bottom: 10px; }
.cta-band p { color: #e6ecff; max-width: 46ch; font-size: 1.1rem; }
.cta-band .hero-actions { position: relative; z-index: 1; justify-content: flex-end; }

@media (max-width: 860px) {
    .cta-band { grid-template-columns: 1fr; }
    .cta-band .hero-actions { justify-content: flex-start; }
}

/* ---------- Página: nossos serviços ---------- */

.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2.6rem, 5.2vw, 4.2rem); max-width: 15ch; margin-bottom: 18px; }
.page-head p { font-size: 1.18rem; max-width: 54ch; }

.jump-nav {
    display: flex;
    gap: 8px;
    margin-top: 32px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 2px 2px 6px;
}
.jump-nav::-webkit-scrollbar { display: none; }
.jump-nav a {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--pill);
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--navy);
    font-weight: 500;
    font-size: 0.98rem;
    transition: border-color 0.2s var(--ease);
}
.jump-nav a:hover { border-color: var(--accent); }
.jump-nav .icon { color: var(--accent); }

/* Hospedagem e consultoria */
.services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.service {
    padding: clamp(26px, 3.5vw, 40px);
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    display: grid;
    gap: 14px;
    align-content: start;
}
.service-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--accent-tint);
    color: var(--accent);
    margin-bottom: 6px;
}
.service-icon .icon { width: 32px; height: 32px; }
.service h2 { font-size: 2rem; }
.service .text-link { justify-self: start; margin-top: 4px; }

.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; color: var(--text-soft); line-height: 1.45; }
.ticks .icon { color: var(--accent); margin-top: 1px; }

@media (max-width: 767px) {
    .services { grid-template-columns: 1fr; }
}

/* Produto: texto + captura */
.product {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    padding: clamp(56px, 7vw, 96px) 0;
}
.product + .product { border-top: 1px solid var(--line); }
.product.is-flipped .product-copy { order: 2; }

.product-logo { height: 40px; width: auto; margin-bottom: 20px; }
.product-copy h2 { font-size: clamp(2.1rem, 3.8vw, 2.9rem); margin-bottom: 8px; }
.product-domain {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    color: var(--accent);
    font-weight: 500;
}
.product-copy > p { font-size: 1.12rem; margin-bottom: 26px; max-width: 50ch; }
.product-copy .ticks { grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 30px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.browser {
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-bottom: 1px solid var(--line);
    background: #f7f9fd;
    color: var(--muted);
    font-size: 0.85rem;
}
.browser-bar .icon { width: 15px; height: 15px; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

@media (max-width: 900px) {
    .product { grid-template-columns: 1fr; }
    .product.is-flipped .product-copy { order: 0; }
}
@media (max-width: 520px) {
    .product-copy .ticks { grid-template-columns: 1fr; }
}

/* BattleCafé: faixa escura com a marca do produto (única seção escura da página) */
.spotlight {
    border-radius: calc(var(--radius) + 8px);
    background: var(--navy);
    color: #fff;
    padding: clamp(32px, 5vw, 64px);
    margin: clamp(24px, 4vw, 48px) 0;
}
.spotlight-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: end;
    margin-bottom: clamp(32px, 4vw, 48px);
}
.spotlight-head img { width: min(360px, 100%); height: auto; margin-bottom: 22px; }
.spotlight-head p { color: #c7d1e5; font-size: 1.12rem; max-width: 48ch; }
.spotlight-head .hero-actions { justify-content: flex-end; }

.feature-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.feature-grid li {
    padding: 22px;
    border-radius: 16px;
    background: var(--navy-2);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.feature-grid .icon { width: 28px; height: 28px; color: #9db4ff; margin-bottom: 14px; }
.feature-grid h3 { color: #fff; font-size: 1.2rem; letter-spacing: -0.01em; margin-bottom: 6px; }
.feature-grid p { color: #aebad2; font-size: 0.95rem; line-height: 1.5; }

@media (max-width: 1000px) {
    .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .spotlight-head { grid-template-columns: 1fr; }
    .spotlight-head .hero-actions { justify-content: flex-start; }
}
@media (max-width: 480px) {
    .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- Contato ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
    padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 120px);
}
.contact-info h1 { font-size: clamp(2.6rem, 5vw, 3.9rem); margin-bottom: 18px; }
.contact-info > p { font-size: 1.15rem; margin-bottom: 32px; max-width: 40ch; }

.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-list a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.contact-list a:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.contact-list .icon { width: 28px; height: 28px; color: var(--accent); }
.contact-list span { display: grid; line-height: 1.35; color: var(--navy); font-weight: 600; }
.contact-list small { color: var(--muted); font-weight: 400; font-size: 0.88rem; }

.panel {
    padding: clamp(24px, 4vw, 44px);
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.panel h2 { font-size: 1.85rem; margin-bottom: 6px; }
.panel > p { margin-bottom: 26px; color: var(--muted); }

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Área do cliente ---------- */

.auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 96px);
}
.auth-aside {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    padding: clamp(28px, 4vw, 48px);
    border-radius: calc(var(--radius) + 8px);
    background: var(--navy);
    color: #fff;
    min-height: 520px;
}
.auth-aside h2 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.6rem); max-width: 16ch; margin-bottom: 12px; }
.auth-aside p { color: #c2cce0; max-width: 40ch; }
.auth-aside .mosaic { max-width: 300px; }
.auth-aside .mosaic li { pointer-events: none; }
.auth-aside .mosaic span {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    border-radius: 16px;
    background: var(--navy-2);
    color: #9db4ff;
}
.auth-aside .mosaic .icon { width: 30px; height: 30px; }

.auth-card {
    width: 100%;
    max-width: 440px;
    justify-self: center;
}
.auth-card h1 { font-size: clamp(2.2rem, 3.6vw, 2.8rem); margin-bottom: 8px; }
.auth-card > p { color: var(--muted); margin-bottom: 28px; }

.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.auth-switch { margin-top: 24px; text-align: center; color: var(--muted); }

@media (max-width: 900px) {
    .auth { grid-template-columns: 1fr; }
    .auth-aside { display: none; }
}

/* ---------- Erro ---------- */

.error-page {
    display: grid;
    place-items: center;
    text-align: center;
    padding: clamp(80px, 12vw, 150px) var(--gutter);
}
.error-code {
    font-family: var(--font-display);
    font-size: clamp(5.5rem, 16vw, 10rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--accent);
    margin-bottom: 12px;
}
.error-page h1 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 12px; }
.error-page p { margin-bottom: 30px; }
.error-page .hero-actions { justify-content: center; }

/* ---------- Movimento: uma única entrada orquestrada na abertura ---------- */

@media (prefers-reduced-motion: no-preference) {
    .hero-copy > * { animation: rise 0.7s var(--ease) both; }
    .hero-copy > *:nth-child(2) { animation-delay: 70ms; }
    .hero-copy > *:nth-child(3) { animation-delay: 140ms; }
    .mosaic.is-animated li { animation: pop 0.6s var(--ease) both; animation-delay: calc(200ms + var(--i, 0) * 60ms); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
@keyframes pop {
    from { opacity: 0; scale: 0.9; }
    to { opacity: 1; scale: 1; }
}

/* Complementos */
.service h3 { font-size: 1.6rem; }
.service.is-tinted { background: var(--accent-tint); border-color: transparent; }
.service.is-tinted .service-icon { background: #fff; }
.service-icon img { width: 34px; height: 34px; }
.ticks li span { flex: 1; }
.product-copy .service-icon { margin-bottom: 20px; }
.hero + .section, .section + .section { padding-top: 0; }
.card-dark .card-logo { height: 56px; }
.auth-row a, .auth-switch a { color: var(--accent); font-weight: 600; }
.jump-nav .mark { width: 20px; height: 20px; flex: none; }
.auth-aside .mosaic .mark { width: 30px; height: 30px; }

/* ---------- Páginas de serviço e produto ---------- */

.breadcrumb { padding-top: 24px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 0.95rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; color: var(--line-strong); }
.breadcrumb a { color: var(--text-soft); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--text); font-weight: 600; }
.breadcrumb + * .page-head, .breadcrumb + .page-head { padding-top: clamp(24px, 3vw, 40px); }

.page-head h1.is-wide { max-width: 22ch; }
.page-head .hero-actions { margin-top: 28px; }

.link-row { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.service .link-row { margin-top: 4px; }
.product-copy .link-row { margin: 4px 0 24px; }

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}
.split h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.split > div > p + p { margin-top: 14px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.steps.is-four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .steps.is-four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .steps.is-four { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 14px; max-width: 820px; }
.faq article {
    padding: 24px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.faq h3 { font-size: 1.3rem; margin-bottom: 8px; }
.faq p + p, .faq p + ul, .faq ul + p { margin-top: 10px; }
.faq .ticks { margin-top: 12px; }

.facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
}
.facts div { padding: 20px 24px; background: var(--surface); }
.facts dt { font-size: 0.9rem; color: var(--muted); margin-bottom: 4px; }
.facts dd { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--text); overflow-wrap: anywhere; }
.facts dd a { color: var(--accent); }

.callout {
    display: grid;
    gap: 10px;
    padding: clamp(24px, 3vw, 36px);
    border-radius: var(--radius);
    background: var(--surface-2);
}
.callout h2, .callout h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.page-head + .section, .page-head + .container .section:first-child { padding-top: clamp(24px, 3vw, 40px); }
.spotlight-head h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 18px; }
