/* ==========================================================================
   SynkNet - estilos do site (sem Tailwind)

   Plano de design
   - Assunto: provedor de fibra da Baixada Maranhense. Público: famílias e
     pequenos negócios, quase sempre no celular. Trabalhos da página:
     escolher um plano, ver se a fibra chega no bairro, pagar/desbloquear.
   - Cor: o azul royal e o vermelho da logo. Azul estrutura a página; o
     vermelho só aparece nos botões de contratar e nos "pacotes" do motivo.
     Fundo frio e claro; tema escuro com a mesma lógica.
   - Tipo: Unbounded (larga e arredondada como o letreiro da logo) só em
     títulos e números de velocidade; Lexend no texto.
   - Gesto marcante: a "placa" azul do topo, com os quadradinhos da logo
     saindo em fluxo e o destaque do banner em letra enorme, cortada na
     borda. Uma única animação: os pacotes entrando quando a página abre.
   - O resto é quieto: cards só onde há comparação (planos), listas em
     linhas no restante.
   ========================================================================== */

:root {
    /* Cores editáveis no painel (Aparência e logo) */
    --signal: #0a3fc0;   /* cor principal */
    --photon: #e3261b;   /* cor de destaque (pacotes, selos) */
    --laser: #e3261b;    /* botões de contratar */

    --bg: #f3f6fb;
    --surface: #ffffff;
    --surface-2: #eaf0f9;
    --ink: #121c38;
    --slate: #56627f;
    --line: #d9e0ec;
    --primary: var(--signal);
    --primary-tint: color-mix(in srgb, var(--signal) 10%, white);
    --accent: var(--photon);
    --cta: var(--laser);
    --plate: var(--signal);
    --plate-deep: color-mix(in srgb, var(--signal) 70%, black);
    --ok: #0d7a53;
    --ok-tint: #e3f3ec;
    --warn: #a35a00;
    --warn-tint: #fdf0dc;
    --whats: #1fae54;
    --shadow: 0 1px 2px rgba(18, 28, 56, .05), 0 12px 32px -20px rgba(18, 28, 56, .3);
    color-scheme: light;

    --f-display: 'Unbounded', 'Lexend', system-ui, sans-serif;
    --f-text: 'Lexend', system-ui, sans-serif;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 22px;
    --wrap: 1200px;
    --logo-h: 32px;
}

:root[data-theme="dark"] {
    --bg: #08112a;
    --surface: #0f1b3d;
    --surface-2: #0c1734;
    --ink: #e9efff;
    --slate: #9eabc9;
    --line: #22335f;
    --primary: color-mix(in srgb, var(--signal) 55%, white);
    --primary-tint: color-mix(in srgb, var(--signal) 22%, #0f1b3d);
    --accent: color-mix(in srgb, var(--photon) 80%, white);
    --plate: color-mix(in srgb, var(--signal) 85%, #08112a);
    --plate-deep: color-mix(in srgb, var(--signal) 45%, #08112a);
    --ok: #45d19c;
    --ok-tint: #0f3330;
    --warn: #ffb547;
    --warn-tint: #3a2a10;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -20px rgba(0, 0, 0, .7);
    color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0; background: var(--bg); color: var(--ink);
    font: 400 16px/1.6 var(--f-text);
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.hidden, [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--primary); color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--slate); }
.ico { width: 22px; height: 22px; flex: none; }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 50px; padding: 0 24px; border-radius: var(--r-md);
    border: 1.5px solid transparent; background: none; color: inherit;
    font: 600 16px/1 var(--f-text); text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; border-radius: var(--r-sm); }
.btn-block { width: 100%; }
.btn-cta { background: var(--cta); color: #fff; }
.btn-cta:hover { background: color-mix(in srgb, var(--cta) 86%, black); }
.btn-primary { background: var(--primary); color: #fff; }
:root[data-theme="dark"] .btn-primary { color: #06123a; }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 86%, black); }
.btn-quiet { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-quiet:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: #0a2d8a; }
.btn-light:hover { background: #e7edfc; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.icon-btn {
    display: inline-grid; place-items: center; width: 42px; height: 42px;
    border: 0; border-radius: var(--r-sm); background: none; color: var(--ink); cursor: pointer;
    transition: background-color .15s, color .15s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--primary); }
.icon-btn svg { width: 21px; height: 21px; }

/* ---------- Faixa de aviso ---------- */
.notice { background: var(--ink); color: var(--bg); font-size: 14.5px; }
.notice .wrap { display: flex; align-items: center; gap: 10px; padding-top: 9px; padding-bottom: 9px; }
.notice svg { width: 18px; height: 18px; flex: none; color: var(--warn); }
:root[data-theme="dark"] .notice svg { color: #b36200; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.site-logo { height: var(--logo-h); width: auto; max-width: 200px; object-fit: contain; }
:root[data-theme="dark"] .site-logo { filter: brightness(1.45) saturate(1.1); }
.brand-name { font: 600 15px/1.2 var(--f-display); }
.hide-brand-name .brand-name { display: none; }
.nav { display: none; margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 2px; }
.nav-link { display: block; padding: 8px 12px; border-radius: 9px; color: var(--slate); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-link:hover, .nav-link.is-active { color: var(--ink); background: var(--surface-2); }
.header-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header-social { display: none; align-items: center; gap: 2px; padding-right: 6px; margin-right: 4px; border-right: 1px solid var(--line); }
.header-tools .btn { margin-left: 8px; }
.menu-btn { display: inline-grid; }
@media (max-width: 559px) { .header-tools .btn-central { display: none; } }
@media (min-width: 1100px) {
    .nav { display: block; }
    .header-tools { margin-left: 8px; }
    .header-social { display: flex; }
    .menu-btn { display: none; }
}
.theme-btn .ico-sun { display: none; }
:root[data-theme="dark"] .theme-btn .ico-sun { display: block; }
:root[data-theme="dark"] .theme-btn .ico-moon { display: none; }

.mobile-menu { border-top: 1px solid var(--line); background: var(--surface); }
.mobile-menu ul { display: grid; gap: 2px; padding: 12px 0; }
.mobile-link { display: block; padding: 12px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.mobile-link:hover { background: var(--surface-2); }
.mobile-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 4px 0 18px; }
@media (min-width: 1100px) { .mobile-menu { display: none !important; } }

/* ==========================================================================
   Topo (hero): texto à esquerda, placa azul com os pacotes à direita
   ========================================================================== */
.hero { padding: 28px 0 0; }
.hero-grid { display: grid; gap: 22px; }
.hero-copy { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 340px; }
.hero-slides { position: relative; display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide h1, .hero-slide h2 { font: 600 clamp(32px, 5.4vw, 60px)/1.06 var(--f-display); letter-spacing: -.025em; max-width: 15ch; text-wrap: balance; }
.hero-slide p { margin-top: 18px; font-size: clamp(17px, 1.6vw, 19px); color: var(--slate); max-width: 40ch; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-controls { margin-top: 34px; display: flex; align-items: center; gap: 16px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 26px; height: 6px; padding: 0; border: 0; border-radius: 6px; background: var(--line); cursor: pointer; transition: width .3s, background-color .3s; }
.hero-dot[aria-selected="true"] { width: 46px; background: var(--primary); }
.hero-arrows { display: flex; gap: 6px; margin-left: auto; }
.hero-arrows .icon-btn { border: 1.5px solid var(--line); }

.hero-plate {
    position: relative; overflow: hidden; min-height: 300px;
    border-radius: 28px; background: var(--plate); color: #fff;
    isolation: isolate;
}
.plate-layer { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.plate-layer.is-active { opacity: 1; }
.plate-img { background-size: cover; background-position: center; }
.plate-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--plate-deep)); }
.plate-mark {
    position: absolute; left: -.04em; bottom: -.2em; right: 0;
    font: 600 clamp(110px, 17vw, 230px)/.86 var(--f-display); letter-spacing: -.06em;
    white-space: nowrap; color: #fff;
}
.plate-mark.is-long { font-size: clamp(64px, 9.6vw, 128px); bottom: -.12em; letter-spacing: -.04em; }
.packets { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.packets rect { fill: #fff; }
.packets rect.r { fill: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
    .packets rect { opacity: 0; animation: pkt .6s ease-out forwards; animation-delay: calc(var(--d) * 1ms); }
    @keyframes pkt { from { opacity: 0; transform: translateX(-14px); } to { opacity: var(--o); transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .packets rect { opacity: var(--o); } }

@media (min-width: 900px) {
    .hero { padding-top: 40px; }
    .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: stretch; }
    .hero-copy { min-height: 500px; }
    .hero-plate { min-height: 500px; }
}

/* Atalhos do cliente */
.quick { margin-top: 26px; }
.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.quick-item {
    display: flex; align-items: center; gap: 14px; padding: 18px;
    border: 0; background: none; color: var(--ink); text-decoration: none; text-align: left; cursor: pointer;
    transition: background-color .15s;
}
.quick-item:hover { background: var(--surface-2); }
.quick-item + .quick-item { border-left: 1px solid var(--line); }
.quick-item:nth-child(3) { border-left: 0; }
.quick-item:nth-child(n+3) { border-top: 1px solid var(--line); }
.quick-icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--primary-tint); color: var(--primary); }
.quick-icon svg { width: 22px; height: 22px; }
.quick-item strong { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.quick-item small { display: block; color: var(--slate); font-size: 13.5px; margin-top: 2px; }
@media (min-width: 900px) {
    .quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .quick-item { padding: 22px 24px; }
    .quick-item:nth-child(3) { border-left: 1px solid var(--line); }
    .quick-item:nth-child(n+3) { border-top: 0; }
}
@media (max-width: 420px) { .quick-icon { display: none; } }

/* ==========================================================================
   Seções
   ========================================================================== */
.section { padding: 88px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-title { font: 600 clamp(28px, 3.6vw, 42px)/1.12 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.section-sub { margin-top: 12px; font-size: 17.5px; color: var(--slate); }
@media (max-width: 767px) { .section { padding: 64px 0; } }

/* Lista com marcador de check */
.check-list { display: grid; gap: 11px; }
.check-item { position: relative; padding-left: 30px; }
.check-item::before {
    content: ""; position: absolute; left: 0; top: .2em; width: 19px; height: 19px; border-radius: 50%;
    background: var(--primary-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a3fc0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat;
}
:root[data-theme="dark"] .check-item::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9c0ff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); }

/* ---------- Planos ---------- */
.plans-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); align-items: stretch; }
.plan {
    position: relative; display: flex; flex-direction: column;
    padding: 28px 26px 26px; border: 1px solid var(--line); border-radius: var(--r-lg);
    background: var(--surface); box-shadow: var(--shadow);
}
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 28px; }
.plan-name { font-weight: 600; font-size: 17px; }
.plan-badge { padding: 4px 11px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.plan-speed { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.plan-speed strong { font: 600 clamp(64px, 7vw, 84px)/.9 var(--f-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.plan-speed span { font: 600 19px var(--f-display); color: var(--primary); }
.plan-speed.is-text strong { font-size: 34px; letter-spacing: -.02em; line-height: 1.1; }
.plan-price { display: flex; align-items: baseline; gap: 2px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.plan-price small { font-size: 16px; font-weight: 600; }
.plan-price strong { font: 600 38px/1 var(--f-display); letter-spacing: -.03em; }
.plan-price .period { margin-left: 6px; color: var(--slate); font-size: 14.5px; }
.plan-price.is-quote strong { font-size: 24px; }
.plan .check-list { margin: 22px 0 26px; flex: 1; }
.plan.is-featured { background: var(--plate); border-color: transparent; color: #fff; box-shadow: 0 24px 48px -26px color-mix(in srgb, var(--signal) 80%, transparent); }
.plan.is-featured .plan-speed span, .plan.is-featured .plan-price .period { color: rgba(255, 255, 255, .8); }
.plan.is-featured .plan-price { border-top-color: rgba(255, 255, 255, .22); }
.plan.is-featured .check-item::before { background: rgba(255, 255, 255, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.plan .btn { width: 100%; }
.plans-note { margin-top: 20px; font-size: 14px; color: var(--slate); }

/* ---------- Empresas ---------- */
.tabs { display: flex; gap: 4px; padding: 5px; width: max-content; max-width: 100%; overflow-x: auto; margin-bottom: 22px; border-radius: var(--r-md); background: var(--surface-2); }
.tab { min-height: 42px; padding: 0 18px; border: 0; border-radius: 10px; background: none; color: var(--slate); font-weight: 600; font-size: 15px; white-space: nowrap; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(18, 28, 56, .12); }
:root[data-theme="dark"] .tab[aria-selected="true"] { background: var(--primary-tint); }
.biz-panel { display: grid; gap: 32px; padding: 30px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.biz-panel .plan-speed { margin-top: 0; }
.biz-panel h3 { margin-top: 12px; font: 600 24px/1.2 var(--f-display); }
.biz-panel .btn { margin-top: 26px; }
@media (min-width: 900px) { .biz-panel { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 48px; } }

/* ---------- Sobre ---------- */
.about-grid { display: grid; gap: 44px; }
@media (min-width: 960px) { .about-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 72px; } }
.about-text { margin-top: 24px; }
.about-text p { font-size: 18px; line-height: 1.75; max-width: 62ch; }
.about-text p + p { margin-top: 18px; }
.about-since { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.about-since span { color: var(--slate); }
.about-year { display: block; margin-top: 6px; font: 600 clamp(84px, 11vw, 132px)/.9 var(--f-display); letter-spacing: -.05em; color: var(--primary); }
.about-objective { margin-top: 26px; }
.about-objective h3 { font-weight: 600; font-size: 18px; }
.about-objective p { margin-top: 10px; font-size: 17px; line-height: 1.7; color: var(--slate); }
.goals-wrap { margin-top: 72px; }
.goals-wrap h3 { font: 600 22px var(--f-display); }
.goals { position: relative; display: grid; gap: 26px; margin-top: 30px; }
.goals::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.goal { position: relative; padding-left: 34px; }
.goal::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--primary); }
.goal strong { display: block; font: 600 24px var(--f-display); color: var(--primary); }
.goal span { display: block; margin-top: 4px; }
@media (min-width: 768px) {
    .goals { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
    .goals::before { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 2px; }
    .goal { padding-left: 0; padding-top: 34px; }
    .goal::before { top: 0; }
}

/* ---------- Aplicativo ---------- */
.app-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .app-grid { grid-template-columns: 1fr 1fr; } }
.app-grid .check-list { margin-top: 28px; }
.stores { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px; border-radius: var(--r-md); background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600; font-size: 17px; line-height: 1.15; }
.store-btn svg { width: 28px; height: 28px; }
.store-btn small { display: block; font-size: 11.5px; font-weight: 400; opacity: .75; }
.store-btn:hover { background: var(--primary); color: #fff; }
.phone-wrap { display: flex; justify-content: center; }
.phone { position: relative; width: 272px; height: 556px; padding: 11px; border-radius: 44px; background: #121c38; box-shadow: 0 40px 70px -34px color-mix(in srgb, var(--signal) 70%, transparent), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.phone-notch { position: absolute; top: 19px; left: 50%; transform: translateX(-50%); width: 86px; height: 22px; border-radius: 20px; background: #000; z-index: 2; }
.phone-screen { height: 100%; border-radius: 34px; background: #f3f6fb; color: #121c38; padding: 42px 16px 16px; overflow: hidden; font-size: 12px; }
.phone-bar { display: flex; justify-content: space-between; font-size: 10px; color: #56627f; margin-bottom: 16px; }
.phone-status { padding: 16px; border-radius: 18px; background: var(--signal); color: #fff; }
.phone-status p { opacity: .85; }
.phone-status strong { display: block; margin-top: 4px; font: 600 17px/1.25 'Unbounded', sans-serif; }
.phone-speed { display: flex; align-items: baseline; gap: 5px; margin-top: 14px; }
.phone-speed b { font: 600 46px/1 'Unbounded', sans-serif; letter-spacing: -.04em; }
.phone-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.phone-tile { padding: 12px; border-radius: 12px; background: #fff; border: 1px solid #d9e0ec; font-weight: 500; }
.phone-bill { display: flex; justify-content: space-between; margin-top: 8px; }
.phone-bill b { color: #0d7a53; }

/* ---------- Cobertura ---------- */
.cov-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .cov-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; } }
.search { position: relative; margin: 30px 0 16px; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 21px; height: 21px; color: var(--slate); }
.input {
    width: 100%; min-height: 54px; padding: 12px 16px;
    border: 1.5px solid var(--line); border-radius: var(--r-md);
    background: var(--surface); color: var(--ink); font: 400 17px/1.4 var(--f-text);
    transition: border-color .15s, box-shadow .15s;
}
.search .input { padding-left: 48px; }
.input::placeholder { color: var(--slate); opacity: .7; }
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-tint); }
textarea.input { resize: vertical; }
.field-label { display: block; margin-bottom: 6px; font-size: 14.5px; font-weight: 500; }
.coverage-result { margin-bottom: 20px; padding: 14px 16px; border-radius: var(--r-md); border-left: 4px solid; }
.coverage-result.ok { border-color: var(--ok); background: var(--ok-tint); }
.coverage-result.no { border-color: var(--warn); background: var(--warn-tint); }
.coverage-result a { font-weight: 600; }
.coverage-list { border-top: 1px solid var(--line); }
.coverage-city { display: grid; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .coverage-city { grid-template-columns: 220px 1fr; align-items: baseline; } }
.coverage-city h3 { font-weight: 600; font-size: 17px; }
.coverage-city h3 small { margin-left: 6px; font-size: 14px; font-weight: 400; color: var(--slate); }
.coverage-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.coverage-tag { padding: 5px 12px; border-radius: 999px; background: var(--surface-2); font-size: 14px; }
.coverage-tag.is-match { background: var(--primary); color: #fff; }
.map-box { position: relative; display: flex; align-items: flex-end; min-height: 360px; height: 100%; padding: 30px; border-radius: var(--r-lg); overflow: hidden; background: var(--plate); color: #fff; }
.map-box .packets { opacity: .9; }
.map-box-text { position: relative; z-index: 2; }
.map-box h3 { font: 600 24px/1.2 var(--f-display); }
.map-box p { margin-top: 10px; opacity: .88; max-width: 34ch; }
.map-box .btn { margin-top: 22px; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }

/* ---------- Pré-cadastro (formulário "Assinar") ---------- */
.signup { width: min(720px, calc(100vw - 20px)); max-height: calc(100vh - 20px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--surface); color: var(--ink); }
.signup::backdrop { background: rgba(8, 17, 42, .72); backdrop-filter: blur(4px); }
.signup-form { display: flex; flex-direction: column; max-height: calc(100vh - 20px); }
.signup-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 22px 18px 16px 24px; border-bottom: 1px solid var(--line); }
.signup-head h2 { font: 600 22px/1.2 var(--f-display); }
.signup-head p { margin-top: 6px; color: var(--slate); font-size: 15px; }
.signup-body { overflow-y: auto; padding: 8px 24px 20px; }
.signup fieldset { margin: 0; padding: 18px 0 4px; border: 0; }
.signup legend { padding: 0; margin-bottom: 12px; font-weight: 600; font-size: 16px; }
.grid-form { display: grid; gap: 14px; }
.grid-form label { display: block; min-width: 0; }
@media (min-width: 560px) { .grid-form { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: span 2; } }
.signup .input { min-height: 48px; font-size: 16px; }
.signup-plans { display: grid; gap: 8px; }
@media (min-width: 560px) { .signup-plans { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }
.plan-pick { position: relative; display: block; padding: 12px 14px 12px 42px; border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; }
.plan-pick input { position: absolute; left: 15px; top: 16px; accent-color: var(--primary); }
.plan-pick strong { display: block; font-weight: 600; }
.plan-pick span { display: block; font-size: 14px; color: var(--slate); }
.plan-pick:has(input:checked) { border-color: var(--primary); background: var(--primary-tint); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 14.5px; color: var(--slate); cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--primary); }
.signup-error { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-md); border-left: 4px solid var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.signup-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 24px; border-top: 1px solid var(--line); }
.signup-foot .btn-cta { min-width: 210px; }
@media (max-width: 480px) { .signup-foot .btn { flex: 1; min-width: 0; } }
.signup-done { padding: 40px 28px 32px; text-align: center; }
.signup-done-icon { width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: var(--ok-tint); color: var(--ok); }
.signup-done-icon svg { width: 32px; height: 32px; }
.signup-done h2 { font: 600 24px/1.2 var(--f-display); }
.signup-done p { margin: 12px auto 0; max-width: 44ch; color: var(--slate); }
.signup-done p strong { color: var(--ink); }
.signup-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }

/* ---------- Galeria ---------- */
.gallery-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 0 24px; margin-bottom: 34px; }
.gallery-head .section-head { margin-bottom: 0; }
.gallery-head .tabs { margin: 18px 0 0; }
.gallery-grid { columns: 2 180px; column-gap: 14px; }
@media (min-width: 900px) { .gallery-grid { columns: 3 240px; column-gap: 18px; } }
.gallery-item { break-inside: avoid; margin-bottom: 14px; }
@media (min-width: 900px) { .gallery-item { margin-bottom: 18px; } }
.gallery-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); cursor: zoom-in; text-align: left; }
.gallery-btn img { width: 100%; height: auto; transition: transform .4s ease; }
.gallery-btn:hover img { transform: scale(1.03); }
.gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 16px 14px; background: linear-gradient(180deg, transparent, rgba(8, 17, 42, .82)); color: #fff; }
.gallery-cap strong { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.gallery-kind { display: inline-block; margin-bottom: 6px; padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: 12px; font-weight: 600; backdrop-filter: blur(4px); }
.gallery-more { display: flex; justify-content: center; margin-top: 20px; }
.lightbox { width: min(1040px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--surface); color: var(--ink); overflow: hidden; }
.lightbox::backdrop { background: rgba(8, 17, 42, .82); backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; max-height: calc(100vh - 24px); }
.lightbox img { width: 100%; min-height: 0; flex: 1; object-fit: contain; background: #08112a; }
.lightbox figcaption { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 18px; }
.lightbox strong { font-weight: 600; }
.lightbox p { margin-top: 4px; color: var(--slate); max-width: 70ch; }
.lightbox a { display: inline-block; margin-top: 8px; font-weight: 600; }
.lightbox-nav { display: flex; gap: 4px; flex: none; }

/* ---------- Avisos ---------- */
.posts-list { border-top: 1px solid var(--line); }
.post { display: grid; gap: 6px 32px; padding: 24px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .post { grid-template-columns: 180px 1fr auto; align-items: baseline; } }
.post time { color: var(--slate); font-size: 14.5px; }
.post-type { display: inline-block; margin-right: 10px; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; vertical-align: 2px; }
.post-type.aviso { background: var(--warn-tint); color: var(--warn); }
.post-type.blog { background: var(--primary-tint); color: var(--primary); }
.post h3 { display: inline; font-weight: 600; font-size: 18px; }
.post p { margin-top: 6px; color: var(--slate); max-width: 64ch; }
.post-more { font-weight: 600; white-space: nowrap; }

/* ---------- Chamada final ---------- */
.cta { position: relative; overflow: hidden; display: grid; gap: 26px; padding: 44px 28px; border-radius: 28px; background: var(--plate); color: #fff; }
.cta .packets { opacity: .55; }
.cta > * { position: relative; z-index: 2; }
.cta h2 { font: 600 clamp(28px, 4vw, 46px)/1.1 var(--f-display); letter-spacing: -.02em; max-width: 18ch; }
.cta p { margin-top: 12px; max-width: 46ch; opacity: .9; font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 960px) { .cta { grid-template-columns: 1fr auto; align-items: end; padding: 64px; } }

/* ---------- Rodapé ---------- */
.site-footer { margin-top: 88px; background: var(--surface); border-top: 1px solid var(--line); font-size: 15px; }
.footer-grid { display: grid; gap: 36px; padding-top: 56px; padding-bottom: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-title { margin-bottom: 14px; font-weight: 600; font-size: 15px; }
.footer-list { display: grid; gap: 10px; color: var(--slate); }
.footer-list a, .footer-list button { color: var(--ink); text-decoration: none; border: 0; background: none; padding: 0; cursor: pointer; text-align: left; }
.footer-list a:hover, .footer-list button:hover { color: var(--primary); }
.footer-slogan { margin-top: 14px; color: var(--slate); max-width: 30ch; }
.social { display: flex; gap: 6px; margin-top: 18px; }
.social-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 12px; background: var(--surface-2); color: var(--ink); }
.social-btn:hover { background: var(--primary); color: #fff; }
.social-btn svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0 22px; font-size: 13.5px; color: var(--slate); }

/* ---------- Modal (teste de velocidade) ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 17, 42, .72); backdrop-filter: blur(4px); }
.modal-box { position: relative; width: 100%; max-width: 960px; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-weight: 600; font-size: 17px; }
.modal-head div { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.modal-frame { aspect-ratio: 4 / 3; background: var(--bg); }
@media (min-width: 768px) { .modal-frame { aspect-ratio: 16 / 9; } }
.modal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-foot { padding: 12px 20px; font-size: 13.5px; color: var(--slate); }

/* ==========================================================================
   Atendimento: botão flutuante + card de conversa
   ========================================================================== */
.chat-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 70;
    width: 60px; height: 60px; display: grid; place-items: center;
    border: 0; border-radius: 20px; background: var(--primary); color: #fff; cursor: pointer;
    box-shadow: 0 16px 34px -12px color-mix(in srgb, var(--signal) 75%, transparent);
    transition: transform .2s;
}
:root[data-theme="dark"] .chat-float { color: #06123a; }
.chat-float:hover { transform: translateY(-2px); }
.chat-float svg { width: 27px; height: 27px; }
.chat-float .chat-ico-close { display: none; }
.chat-float[aria-expanded="true"] .chat-ico-open { display: none; }
.chat-float[aria-expanded="true"] .chat-ico-close { display: block; }
.chat-float.has-unread::after { content: ""; position: absolute; top: 6px; right: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg); }

.chat-card {
    position: fixed; right: 20px; bottom: 92px; z-index: 70;
    width: min(390px, calc(100vw - 32px)); max-height: min(640px, calc(100vh - 120px));
    display: flex; flex-direction: column; overflow: hidden;
    border: 1px solid var(--line); border-radius: 24px; background: var(--surface);
    box-shadow: 0 30px 70px -24px rgba(8, 17, 42, .45);
    transform-origin: bottom right; animation: chat-in .2s ease-out;
}
@keyframes chat-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 12px 16px 18px; background: var(--plate); color: #fff; }
.chat-head h2 { font: 600 16px/1.2 var(--f-display); }
.chat-head p { display: flex; align-items: center; gap: 7px; margin-top: 3px; font-size: 13px; opacity: .9; }
.chat-head .icon-btn { color: #fff; margin-left: auto; }
.chat-head .icon-btn:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.chat-online { width: 8px; height: 8px; border-radius: 50%; background: #6ef0b4; box-shadow: 0 0 0 3px rgba(110, 240, 180, .25); }
.chat-body { padding: 18px; overflow-y: auto; }
.chat-bubble { display: inline-block; max-width: 88%; padding: 12px 15px; border-radius: 18px 18px 18px 6px; background: var(--surface-2); }
.chat-options { display: grid; gap: 8px; margin-top: 16px; }
.chat-option { display: block; width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; transition: border-color .15s; }
.chat-option:hover { border-color: var(--primary); }
.chat-option strong { display: block; font-weight: 600; font-size: 15px; }
.chat-option span { display: block; margin-top: 1px; color: var(--slate); font-size: 13.5px; }
.chat-body .btn { margin-top: 16px; }
.chat-form > * + * { margin-top: 14px; }
.chat-form .input { min-height: 46px; font-size: 16px; }
.chat-form-actions { display: flex; gap: 8px; }
.chat-form-actions .btn { margin-top: 0; }
.chat-form-actions .btn-primary { flex: 1; }
.chat-error { color: var(--accent); font-size: 14px; }
.chat-via { font-size: 13px; color: var(--slate); }
.chat-conv { flex: 1; display: flex; flex-direction: column; min-height: 0; height: 460px; }
.chat-thread { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; white-space: pre-wrap; word-wrap: break-word; font-size: 15px; line-height: 1.45; }
.msg time { display: block; margin-top: 4px; font-size: 11px; opacity: .65; }
.msg-me { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 5px; }
:root[data-theme="dark"] .msg-me { color: #06123a; }
.msg-them { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg-system { align-self: center; max-width: 92%; color: var(--slate); font-size: 13px; text-align: center; padding: 2px 8px; }
.msg-pending { opacity: .55; }
.chat-compose { display: flex; align-items: flex-end; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--surface); }
.chat-compose textarea { flex: 1; min-height: 46px; max-height: 120px; resize: none; padding: 11px 14px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 400 15px/1.4 var(--f-text); }
.chat-compose textarea:focus { outline: none; border-color: var(--primary); }
.chat-send-btn { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border: 0; border-radius: var(--r-md); background: var(--primary); color: #fff; cursor: pointer; }
.chat-send-btn svg { width: 20px; height: 20px; }
.chat-external { flex: 1; min-height: 460px; background: #fff; }
.chat-external iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }
@media (max-width: 480px) { .chat-card { right: 16px; bottom: 88px; } }

/* ---------- Páginas de texto (privacidade/termos) ---------- */
.page-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 72px; max-width: 840px; }
.page-header .tools { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.prose-page { max-width: 840px; padding-top: 56px; padding-bottom: 72px; }
.prose-page h1 { font: 600 clamp(28px, 4vw, 40px)/1.15 var(--f-display); letter-spacing: -.02em; }
.prose-page h2 { margin-top: 36px; font-weight: 600; font-size: 21px; }
.prose-page p, .prose-page li { margin-top: 12px; line-height: 1.75; max-width: 70ch; }
.prose-page ul { list-style: disc; padding-left: 22px; }

/* ---------- Acessibilidade: menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Celular: placa do topo mais baixa para o texto aparecer primeiro */
@media (max-width: 899px) {
    .hero-copy { min-height: 0; }
    .hero-plate { min-height: 220px; }
    .plate-mark { font-size: clamp(90px, 30vw, 150px); }
    .plate-mark.is-long { font-size: clamp(56px, 15vw, 96px); }
}

/* ==========================================================================
   Ajustes por tamanho de tela
   Notebook 13" (1280-1366px, pouca altura), 15" (1440-1536px),
   monitor 19" (1440x900 / 1280x1024), 24" (1920px), tablet e celular.
   ========================================================================== */

/* Botões mais compactos em todo o site */
.btn { min-height: 44px; padding: 0 20px; font-size: 15px; border-radius: 12px; gap: 8px; }
.btn svg { width: 18px; height: 18px; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.icon-btn { width: 40px; height: 40px; }
.icon-btn svg { width: 20px; height: 20px; }
.hero-actions { gap: 10px; margin-top: 26px; }
.store-btn { padding: 8px 16px 8px 12px; font-size: 15px; border-radius: 12px; }
.store-btn svg { width: 24px; height: 24px; }
.store-btn small { font-size: 11px; }
.quick-icon { width: 38px; height: 38px; border-radius: 10px; }
.quick-icon svg { width: 20px; height: 20px; }
.tab { min-height: 38px; padding: 0 14px; font-size: 14.5px; }
.chat-float { width: 54px; height: 54px; border-radius: 18px; }
.chat-float svg { width: 24px; height: 24px; }
.signup-foot .btn-cta { min-width: 190px; }
.input { min-height: 48px; font-size: 16px; }

/* Cabeçalho: menu completo só quando cabe; até 1359px esconde as redes
   (continuam no rodapé e no menu do celular) e aperta os links */
@media (min-width: 1100px) and (max-width: 1359px) {
    .header-row { gap: 12px; }
    .header-social { display: none; }
    .nav-link { padding: 8px 9px; font-size: 14.5px; }
    .header-tools .btn { margin-left: 4px; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
    .brand-name { display: none; }
}

/* Telas largas (24" e maiores): conteúdo mais largo e texto um pouco maior */
@media (min-width: 1600px) {
    :root { --wrap: 1360px; }
    body { font-size: 17px; }
    .hero-copy, .hero-plate { min-height: 560px; }
    .section { padding: 104px 0; }
}
@media (min-width: 2200px) {
    :root { --wrap: 1520px; }
}

/* Notebooks com pouca altura (13" e 15" em 1280x720 / 1366x768 / 1536x864):
   o topo cabe inteiro, com os atalhos aparecendo sem rolar */
@media (min-width: 900px) and (max-height: 880px) {
    .hero { padding-top: 24px; }
    .hero-copy, .hero-plate { min-height: 400px; }
    .hero-slide h1, .hero-slide h2 { font-size: clamp(30px, 4.2vw, 50px); }
    .hero-slide p { margin-top: 14px; font-size: 17px; }
    .hero-controls { margin-top: 24px; }
    .quick { margin-top: 18px; }
    .quick-item { padding: 16px 20px; }
    .plate-mark { font-size: clamp(100px, 14vw, 190px); }
    .plate-mark.is-long { font-size: clamp(60px, 8vw, 110px); }
}

/* Tablet (deitado e em pé) */
@media (min-width: 600px) and (max-width: 899px) {
    .hero-plate { min-height: 240px; }
    .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section { padding: 72px 0; }
}
@media (min-width: 900px) and (max-width: 1099px) {
    .hero-grid { gap: 28px; }
    .plans-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
    .plan { padding: 24px 22px 22px; }
}

/* Celular */
@media (max-width: 599px) {
    .wrap { padding: 0 16px; }
    .header-row { height: 64px; gap: 10px; }
    .hero { padding-top: 20px; }
    .hero-plate { min-height: 200px; border-radius: 22px; }
    .hero-actions .btn { flex: 1 1 auto; }
    .section { padding: 56px 0; }
    .section-head { margin-bottom: 28px; }
    .plan { padding: 22px 20px 20px; }
    .cta { padding: 32px 22px; border-radius: 22px; }
    .cta-actions .btn { flex: 1 1 auto; }
    .map-box { min-height: 300px; padding: 24px; }
    .biz-panel { padding: 22px; }
    .chat-float { right: 16px; bottom: 16px; }
}
/* Tablet deitado / notebook pequeno: atalhos em 4 colunas sem ícone para caber o texto */
@media (min-width: 900px) and (max-width: 1099px) {
    .quick-icon { display: none; }
    .quick-item { padding: 16px 18px; }
}

/* Botão "Central do Cliente" do topo: mais discreto, na escala dos ícones ao lado */
.header-tools .btn-central { min-height: 34px; padding: 0 12px; font-size: 13.5px; font-weight: 600; border-radius: 9px; }
.mobile-extra .btn { min-height: 38px; padding: 0 14px; font-size: 14px; }

/* Botões "Quero assinar" dos planos: mais baixos e com texto menor */
.plan .btn { min-height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; }
.biz-panel .btn { min-height: 40px; padding: 0 18px; font-size: 14.5px; border-radius: 10px; }

/* ==========================================================================
   Mascote (Synk)
   ========================================================================== */
.plate-mascot {
    position: absolute; z-index: 2; right: 5%; bottom: 0;
    height: 90%; max-width: 52%; object-fit: contain; object-position: bottom;
    filter: drop-shadow(0 22px 28px rgba(4, 12, 40, .45));
}
.hero-plate.has-mascot .plate-mark { font-size: clamp(90px, 12vw, 170px); }
.hero-plate.has-mascot .plate-mark.is-long { font-size: clamp(52px, 7vw, 96px); }
@media (prefers-reduced-motion: no-preference) {
    .plate-mascot { animation: synk-in .7s cubic-bezier(.2, .8, .2, 1) .35s both; }
    @keyframes synk-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}

/* Chamada final: o mascote "sai" do bloco azul por cima */
.cta.has-mascot { overflow: visible; }
.cta-mascot { display: block; height: 170px; width: auto; margin: -96px auto -10px; position: relative; z-index: 2; order: -1; filter: drop-shadow(0 16px 22px rgba(4, 12, 40, .4)); }
#contato:has(.cta.has-mascot) { padding-top: 120px; }
@media (min-width: 960px) {
    .cta.has-mascot { padding-right: 300px; }
    .cta-mascot { position: absolute; right: 48px; bottom: 0; height: 128%; margin: 0; }
}

.signup-mascot { display: block; height: 150px; width: auto; margin: 0 auto 14px; }
.about-mascot { display: block; height: 280px; width: auto; margin: 30px 0 0; filter: drop-shadow(0 18px 24px rgba(4, 12, 40, .18)); }
@media (max-width: 959px) { .about-mascot { height: 220px; margin-left: auto; margin-right: auto; } }
.coverage-result.has-mascot { display: flex; align-items: center; gap: 14px; }
.oops-mascot { height: 72px; width: auto; flex: none; }
/* Limites de largura do mascote (qualquer proporção de imagem cabe sem cobrir o texto) */
.plate-mascot { max-width: 44%; }
@media (min-width: 960px) { .cta-mascot { max-width: 250px; object-fit: contain; object-position: bottom right; } }
.about-mascot { max-width: 100%; object-fit: contain; }

/* Mascote menor e chamada final reorganizada */
.cta > .packets { position: absolute; }                 /* os pacotes não ocupam espaço no layout */
.plate-mascot { height: 72%; max-width: 34%; right: 6%; }
.cta-mascot { height: 130px; margin-top: -70px; }
@media (min-width: 960px) {
    .cta.has-mascot { padding-right: 240px; }
    .cta > .cta-mascot { position: absolute; right: 44px; bottom: 0; height: 112%; max-width: 170px; margin: 0; }
}
.about-mascot { height: 200px; margin-top: 24px; }
@media (max-width: 959px) { .about-mascot { height: 170px; } }
.signup-mascot { height: 120px; }
.oops-mascot { height: 60px; }
@media (max-width: 599px) { .plate-mascot { height: 78%; max-width: 40%; } }

/* Mascote do topo: lado esquerdo da placa, acima do destaque em letra grande */
.plate-mascot {
    left: 7%; right: auto; top: 7%; bottom: auto;
    height: 66%; max-width: 32%;
    object-position: left top;
}
@media (max-width: 599px) { .plate-mascot { top: 6%; height: 62%; max-width: 36%; } }

/* --------------------------------------------------------------------------
   Mascote do topo com ajuste automático: tudo é medido pela própria placa
   (container query). O destaque em letra grande escala pela largura da placa
   e o mascote ocupa a altura que sobra acima dele, em qualquer tela.
   -------------------------------------------------------------------------- */
/* Medidas da placa (--pw/--ph, em px) vêm do script.js e são atualizadas a cada mudança de tamanho.
   O destaque usa o menor entre largura e altura (placas largas e baixas, como no tablet,
   não ficam com letras gigantes) e o mascote ocupa a altura que sobra acima dele. */
.hero-plate.is-measured { --mf: min(calc(var(--pw) * .24), calc(var(--ph) * .42)); }
.hero-plate.is-measured.has-mascot .plate-mark { font-size: var(--mf); }
.hero-plate.is-measured.has-mascot .plate-mark.is-long { font-size: min(calc(var(--pw) * .145), calc(var(--ph) * .3)); }
.hero-plate.is-measured .plate-mascot {
    top: calc(var(--ph) * .06);
    left: calc(var(--pw) * .06);
    /* altura da placa - margens - parte visível do destaque (~72% da letra) */
    height: max(60px, calc(var(--ph) * .90 - var(--mf) * .72));
    max-width: calc(var(--pw) * .38);
}
@media (min-width: 600px) and (max-width: 899px) { .hero-plate { min-height: 300px; } }

/* Primeira tela: o topo (banner + atalhos) ocupa a altura toda da janela,
   para a seção "Planos para sua casa" só aparecer ao rolar */
.hero {
    min-height: calc(100vh - 72px);
    min-height: calc(100svh - 72px);
    display: flex; flex-direction: column; justify-content: center;
    padding-bottom: 28px;
}
.hero > .hero-grid { width: 100%; }

/* Fundo do topo: feixe de fibras ópticas com pulsos de luz (script.js) */
.hero { position: relative; isolation: isolate; }
.hero-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%;
    z-index: -1; pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
    mask-image: linear-gradient(180deg, #000 70%, transparent);
}
@media (max-width: 599px) {
    .hero { min-height: calc(100svh - 64px); justify-content: flex-start; }
}

/* Primeira tela sem espaço sobrando: a placa cresce para preencher a altura,
   os atalhos ficam no fim da tela e os planos começam logo depois */
.hero { justify-content: flex-start; padding-bottom: 20px; }
@media (min-width: 900px) {
    .hero > .hero-grid { flex: 1; }
}
#planos { padding-top: 56px; }
@media (max-width: 899px) { #planos { padding-top: 48px; } }

/* --------------------------------------------------------------------------
   Cada seção ocupa uma tela: ao clicar no menu, ela aparece inteira e
   centralizada abaixo do cabeçalho. Seções com mais conteúdo que a tela
   simplesmente crescem. No celular fica o fluxo normal.
   -------------------------------------------------------------------------- */
html { scroll-padding-top: 72px; }
@media (min-width: 900px) and (min-height: 600px) {
    main > .section:not(#contato) {
        min-height: calc(100vh - 72px);
        min-height: calc(100svh - 72px);
        display: flex; flex-direction: column; justify-content: center;
        padding-top: 56px; padding-bottom: 56px;
    }
    main > .section:not(#contato) > .wrap { width: 100%; }
}

/* Telas baixas (notebooks e MacBook 13"): seções mais compactas para caber numa tela */
@media (min-width: 900px) and (max-height: 900px) {
    main > .section:not(#contato) { padding-top: 40px; padding-bottom: 40px; }
    .section-head { margin-bottom: 24px; }
    .section-title { font-size: clamp(26px, 3vw, 36px); }
    .section-sub { margin-top: 8px; font-size: 16.5px; }
    /* Planos */
    .plan { padding: 22px 22px 20px; }
    .plan-speed { margin-top: 8px; }
    .plan-speed strong { font-size: 62px; }
    .plan-price { margin-top: 14px; padding-top: 14px; }
    .plan-price strong { font-size: 32px; }
    .plan .check-list { margin: 14px 0 18px; gap: 7px; }
    .plans-note { margin-top: 12px; }
    /* Empresas */
    .tabs { margin-bottom: 16px; }
    .biz-panel { padding: 32px 40px; gap: 24px; }
    /* Sobre */
    .about-grid { gap: 48px; }
    .about-text { margin-top: 16px; }
    .about-text p { font-size: 16.5px; line-height: 1.65; }
    .about-text p + p { margin-top: 12px; }
    .about-since { padding-bottom: 16px; }
    .about-year { font-size: 92px; }
    .about-objective { margin-top: 16px; }
    .about-objective p { font-size: 15.5px; line-height: 1.6; }
    .about-mascot { height: 140px; margin-top: 14px; }
    .goals-wrap { margin-top: 32px; }
    .goals { margin-top: 18px; }
    .goal strong { font-size: 20px; }
    /* Aplicativo */
    .phone { transform: scale(.86); transform-origin: center; margin: -36px 0; }
    .app-grid .check-list { margin-top: 18px; }
    .stores { margin-top: 22px; }
}
@media (min-width: 900px) and (max-height: 720px) {
    main > .section:not(#contato) { padding-top: 28px; padding-bottom: 28px; }
    .section-sub { display: none; }
    .plan-speed strong { font-size: 52px; }
    .plan-price strong { font-size: 28px; }
    .plan .check-list { font-size: 14.5px; gap: 5px; }
    .about-mascot { display: none; }
    .about-year { font-size: 76px; }
    .phone { transform: scale(.74); margin: -72px 0; }
}
/* Monitores de altura média (até ~1000px úteis): "Sobre" um pouco mais compacta */
@media (min-width: 900px) and (min-height: 901px) and (max-height: 1050px) {
    .about-mascot { height: 160px; margin-top: 18px; }
    .goals-wrap { margin-top: 44px; }
    .about-text p + p { margin-top: 14px; }
}
/* Lista de benefícios sempre junta no topo (cards com menos itens não "espalham" a lista) */
.plan .check-list { align-content: start; }
/* Telas entre 721 e 800px de altura (ex.: MacBook Air 13" no Chrome: 1470x746) */
@media (min-width: 900px) and (min-height: 721px) and (max-height: 800px) {
    main > .section:not(#contato) { padding-top: 32px; padding-bottom: 32px; }
    .about-mascot { height: 120px; margin-top: 10px; }
    .goals-wrap { margin-top: 24px; }
    .about-year { font-size: 84px; }
}

/* ==========================================================================
   Celular: cada seção ocupa uma tela
   ========================================================================== */
.about-more { display: none; }
@media (max-width: 599px) {
    html { scroll-padding-top: 64px; }
    main > .section:not(#contato) {
        min-height: calc(100vh - 64px);
        min-height: calc(100svh - 64px);
        display: flex; flex-direction: column; justify-content: center;
        padding-top: 36px; padding-bottom: 36px;
    }
    main > .section:not(#contato) > .wrap { width: 100%; }
    .section-head { margin-bottom: 20px; }
    .section-title { font-size: 27px; }
    .section-sub { font-size: 15.5px; margin-top: 8px; }

    /* Topo: banner, placa e atalhos na mesma tela */
    .hero { padding-top: 16px; padding-bottom: 14px; }
    .hero-slide h1, .hero-slide h2 { font-size: 30px; }
    .hero-slide p { margin-top: 10px; font-size: 15.5px; }
    .hero-actions { margin-top: 18px; }
    .hero-controls { margin-top: 16px; }
    .hero-grid { gap: 16px; }
    .hero-plate { min-height: 170px; height: 26svh; }
    .quick { margin-top: 14px; }
    .quick-item { padding: 12px; gap: 10px; }
    .quick-item strong { font-size: 14px; }
    .quick-item small { font-size: 12.5px; }
    .quick-icon { display: none; }

    /* Planos: carrossel de deslizar para o lado */
    .plans-grid {
        display: grid; grid-auto-flow: column; grid-auto-columns: 84%;
        grid-template-columns: none; gap: 12px;
        overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
        margin: 0 -16px; padding: 4px 16px 10px; scroll-padding: 0 16px;
        scrollbar-width: none;
    }
    .plans-grid::-webkit-scrollbar { display: none; }
    .plan { scroll-snap-align: start; }
    .plan-speed strong { font-size: 56px; }
    .plan-price strong { font-size: 30px; }
    .plan .check-list { margin: 14px 0 18px; gap: 6px; font-size: 15px; }
    .plans-note { margin-top: 8px; font-size: 13px; }
    .plans-note::before { content: "Deslize para ver todos os planos. "; font-weight: 600; color: var(--ink); }

    /* Empresas */
    .biz-panel { padding: 20px; gap: 18px; }
    .biz-panel .plan-speed strong { font-size: 52px; }
    .biz-panel h3 { font-size: 20px; }
    .biz-panel .check-list { gap: 6px; font-size: 15px; }

    /* Sobre: primeiro parágrafo + "Ler a história completa"; metas deslizam */
    .about-grid { gap: 22px; }
    .about-text { margin-top: 14px; }
    .about-text p { font-size: 16px; line-height: 1.6; }
    .about-text p:not(:first-child) { display: none; }
    .about-text.is-open p { display: block; }
    .about-more { display: inline-block; margin-top: 10px; padding: 0; border: 0; background: none; color: var(--primary); font-weight: 600; font-size: 15px; cursor: pointer; }
    .about-since { display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; }
    .about-year { font-size: 52px; margin-top: 0; }
    .about-objective { margin-top: 12px; }
    .about-objective p { font-size: 15px; }
    .about-mascot { display: none; }
    .goals-wrap { margin-top: 24px; }
    .goals-wrap h3 { font-size: 18px; }
    .goals { grid-auto-flow: column; grid-auto-columns: 62%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 14px -16px 0; padding: 0 16px 6px; scrollbar-width: none; }
    .goals::-webkit-scrollbar { display: none; }
    .goals::before { left: 16px; right: 16px; top: 7px; bottom: auto; width: auto; height: 2px; }
    .goal { padding-left: 0; padding-top: 28px; scroll-snap-align: start; }
    .goal::before { top: 0; }
    .goal strong { font-size: 19px; }

    /* Aplicativo: sem o celular ilustrativo */
    .phone-wrap { display: none; }
    .app-grid .check-list { margin-top: 16px; }
    .stores { margin-top: 20px; }

    /* Cobertura */
    .cov-grid { gap: 20px; }
    .search { margin: 18px 0 12px; }
    .coverage-city { padding: 12px 0; gap: 6px; }
    .map-box { min-height: 0; padding: 22px; }
    .map-box .btn { margin-top: 16px; }

    /* Avisos */
    .post { padding: 16px 0; }
}
@media (max-width: 599px) {
    .section-sub { display: none; }
    /* Topo */
    .hero-arrows { display: none; }
    .hero-controls { margin-top: 12px; }
    .hero-plate { height: 22svh; min-height: 150px; }
    .quick-item small { display: none; }
    .quick-item { padding: 12px 14px; min-height: 52px; }
    /* Empresas */
    .tabs { margin-bottom: 12px; }
    .tab { min-height: 34px; padding: 0 12px; font-size: 13.5px; }
    .biz-panel { padding: 16px 18px; gap: 12px; }
    .biz-panel .plan-speed strong { font-size: 44px; }
    .biz-panel h3 { margin-top: 6px; }
    .biz-panel .plan-price { margin-top: 10px; padding-top: 10px; }
    .biz-panel .btn { margin-top: 14px; }
    .biz-panel .check-list { font-size: 14px; gap: 4px; }
    /* Planos */
    .plan { padding: 18px 18px 16px; }
    .plan-price { margin-top: 12px; padding-top: 12px; }
    /* Sobre: "Nosso objetivo" entra no "Ler a história completa" */
    .about-objective { display: none; }
    .about-grid:has(.about-text.is-open) .about-objective { display: block; }
    .about-grid { gap: 14px; }
    .goals-wrap { margin-top: 18px; }
    /* Cobertura: linhas curtas e quadro lateral virando uma linha */
    .coverage-city { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 10px 0; }
    .coverage-city h3 { font-size: 15.5px; }
    .coverage-tag { font-size: 12.5px; padding: 3px 10px; }
    .map-box { background: none; color: var(--ink); padding: 0; border-radius: 0; display: block; }
    .map-box .packets, .map-box p { display: none; }
    .map-box h3 { font: 600 16px/1.3 var(--f-text); }
    .map-box .btn { margin-top: 10px; min-height: 40px; background: var(--primary); color: #fff; }
    .map-box iframe { position: relative; height: 220px; border-radius: 16px; }
    .search { margin-top: 4px; }
}
/* Celulares baixos (iPhone SE, Android pequeno) */
@media (max-width: 599px) and (max-height: 650px) {
    main > .section:not(#contato) { padding-top: 22px; padding-bottom: 22px; }
    .section-title { font-size: 24px; }
    .hero { padding-top: 12px; }
    .hero-slide h1, .hero-slide h2 { font-size: 26px; }
    .hero-slide p { display: none; }
    .hero-actions { margin-top: 14px; }
    .hero-actions .btn { min-height: 40px; }
    .hero-plate { height: 18svh; min-height: 110px; }
    .quick-item { padding: 10px 12px; min-height: 44px; }
    .plan-speed { margin-top: 4px; }
    .plan-speed strong { font-size: 46px; }
    .plan-price strong { font-size: 26px; }
    .plan .check-list { margin: 10px 0 14px; font-size: 14px; gap: 3px; }
    .biz-panel .check-list li:nth-child(n+4) { display: none; }
    .about-text p { font-size: 15px; }
    .about-year { font-size: 44px; }
    .goals-wrap { margin-top: 12px; }
    .goal { padding-top: 24px; }
    .goal strong { font-size: 17px; }
    .goal span { font-size: 14px; }
}

/* Celular: a placa do topo cresce para ocupar o espaço livre da primeira tela */
@media (max-width: 899px) {
    .hero > .hero-grid { flex: 1; grid-template-rows: auto 1fr; }
}
/* Metas e planos deslizantes: o primeiro item não encosta na borda */
@media (max-width: 599px) {
    .goals { scroll-padding: 0 16px; }
}
@media (max-width: 899px) { .hero-plate { height: auto; } }

/* Celular: o canto inferior direito dos atalhos fica sob o botão do LumeChat,
   então ali vai o atalho de texto mais curto ("2ª via do boleto").
   Ordem no celular: Teste de velocidade, Desbloqueio, Suporte técnico, 2ª via. */
@media (max-width: 599px) {
    .quick-item:nth-child(1) { order: 4; }
    .quick-item:nth-child(2) { order: 1; }
    .quick-item:nth-child(3) { order: 2; }
    .quick-item:nth-child(4) { order: 3; }
    /* as bordas seguem a posição visual, não a ordem no código */
    .quick-item { border: 0 !important; }
    .quick-grid { gap: 1px; background: var(--line); }
    .quick-item { background: var(--surface); }
}
@media (max-width: 599px) {
    /* espaço para o botão do LumeChat: o texto quebra a linha antes dele */
    .quick-item:nth-child(1) { padding-right: 74px; }
}

/* ==========================================================================
   Tablet em pé (600–899px): aproveita a largura com colunas e cada seção
   ocupa uma tela, como no computador
   ========================================================================== */
@media (min-width: 600px) and (max-width: 899px) and (min-height: 600px) {
    main > .section:not(#contato) {
        min-height: calc(100vh - 72px);
        min-height: calc(100svh - 72px);
        display: flex; flex-direction: column; justify-content: center;
        padding-top: 48px; padding-bottom: 48px;
    }
    main > .section:not(#contato) > .wrap { width: 100%; }
}
@media (min-width: 600px) and (max-width: 899px) {
    /* Planos: 3 cards lado a lado */
    .plans-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .plan { padding: 20px 16px 18px; }
    .plan-top { flex-wrap: wrap; gap: 6px; }
    .plan-badge { font-size: 11.5px; padding: 3px 9px; }
    .plan-speed strong { font-size: 50px; }
    .plan-speed span { font-size: 16px; }
    .plan-price strong { font-size: 28px; }
    .plan-price .period { font-size: 13px; }
    .plan .check-list { margin: 14px 0 18px; font-size: 14.5px; gap: 6px; }
    .plan .btn { font-size: 14px; padding: 0 10px; }

    /* Sobre: duas colunas */
    .about-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 36px; }
    .about-text p { font-size: 16.5px; line-height: 1.65; }
    .about-text p + p { margin-top: 12px; }
    .about-year { font-size: 72px; }
    .about-objective p { font-size: 15.5px; }
    .about-mascot { height: 150px; margin-left: 0; }
    .goals-wrap { margin-top: 40px; }

    /* Aplicativo: texto ao lado do celular ilustrativo */
    .app-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 20px; }
    .phone { transform: scale(.8); margin: -56px -27px; }

    /* Cobertura: lista ao lado do quadro */
    .cov-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; }
    .map-box { min-height: 0; padding: 26px; }
    .map-box h3 { font-size: 21px; }
    .coverage-city { grid-template-columns: 1fr; gap: 8px; }
}
/* Tablet em pé: história resumida com "Ler a história completa" */
@media (min-width: 600px) and (max-width: 899px) {
    .about-more { display: inline-block; margin-top: 10px; padding: 0; border: 0; background: none; color: var(--primary); font-weight: 600; font-size: 15px; cursor: pointer; }
    .about-text p:nth-child(n+3) { display: none; }
    .about-text.is-open p { display: block; }
}
@media (min-width: 600px) and (max-width: 767px) {
    .about-text p:nth-child(n+2) { display: none; }
    .about-text.is-open p { display: block; }
    .about-grid { grid-template-columns: 1fr; gap: 20px; }
    .about-since { display: flex; align-items: baseline; gap: 14px; padding-bottom: 12px; }
    .about-year { font-size: 56px; margin-top: 0; }
    .about-mascot { display: none; }
    .goals-wrap { margin-top: 24px; }
    .hero-plate { min-height: 240px; }
}
@media (min-width: 600px) and (max-width: 899px) {
    .about-text p:nth-child(n+2) { display: none; }
    .about-text.is-open p { display: block; }
    .goals { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
    .goals::before { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 2px; }
    .goal { padding-left: 0; padding-top: 28px; }
    .goal::before { top: 0; }
    .goal strong { font-size: 19px; }
    .goal span { font-size: 14px; line-height: 1.45; }
}
/* Tablet em pé: mesma ordem dos atalhos do celular (o canto sob o botão do LumeChat fica com "2ª via") */
@media (min-width: 600px) and (max-width: 899px) {
    .quick-item:nth-child(1) { order: 4; padding-right: 84px; }
    .quick-item:nth-child(2) { order: 1; }
    .quick-item:nth-child(3) { order: 2; }
    .quick-item:nth-child(4) { order: 3; }
    .quick-item { border: 0 !important; background: var(--surface); }
    .quick-grid { gap: 1px; background: var(--line); }
}

/* ==========================================================================
   Páginas de privacidade e termos
   ========================================================================== */
.page-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.back-btn svg { width: 16px; height: 16px; }
.prose-page.wrap { padding-top: 56px; padding-bottom: 56px; }
.prose-page h1 { text-wrap: balance; }
.legal-foot { border-top: 1px solid var(--line); background: var(--surface); }
.legal-foot .wrap { max-width: 840px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding-top: 22px; padding-bottom: 26px; font-size: 14.5px; color: var(--slate); }
.legal-foot a:not(.btn) { font-weight: 600; }
.legal-foot span:last-child { margin-left: auto; }
@media (max-width: 599px) {
    .page-header .wrap { height: 60px; }
    .page-header .site-logo { height: 32px; }
    .back-btn { min-height: 36px; padding: 0 12px; font-size: 13.5px; }
    .prose-page.wrap { padding-top: 26px; padding-bottom: 36px; }
    .prose-page h1 { font-size: 26px; line-height: 1.2; }
    .prose-page h2 { margin-top: 28px; font-size: 18px; line-height: 1.3; }
    .prose-page p, .prose-page li { margin-top: 10px; font-size: 15.5px; line-height: 1.7; }
    .prose-page ul { padding-left: 20px; }
    .legal-foot .wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
    .legal-foot .btn { width: 100%; }
    .legal-foot span:last-child { margin-left: 0; font-size: 13px; }
}

/* ==========================================================================
   Pré-cadastro (janela "Assinar")
   ========================================================================== */
.signup [aria-invalid="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.signup .plan-pick:has(input[aria-invalid="true"]) { border-color: var(--accent); }
.consent:has(input[aria-invalid="true"]) { color: var(--ink); }
.signup-error { scroll-margin: 20px; }
/* Página atrás da janela não rola junto */
html:has(dialog[open]) { overflow: hidden; }

/* Celular: a janela vira uma tela inteira, com topo e botões sempre à vista */
@media (max-width: 599px) {
    .signup {
        width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh;
        margin: 0; inset: 0; border-radius: 0;
    }
    .signup[open] { display: flex; flex-direction: column; }
    .signup-form { height: 100%; max-height: none; flex: 1; min-height: 0; }
    .signup-head { padding: calc(14px + env(safe-area-inset-top)) 10px 12px 16px; align-items: center; }
    .signup-head h2 { font-size: 19px; }
    .signup-head p { margin-top: 3px; font-size: 13.5px; line-height: 1.4; }
    .signup-body { flex: 1; min-height: 0; padding: 0 16px 24px; overscroll-behavior: contain; }
    .signup fieldset { padding-top: 16px; }
    .signup fieldset + fieldset { margin-top: 8px; }
    .signup legend { margin-bottom: 10px; font-size: 15px; color: var(--primary); }
    .signup .input { min-height: 46px; }
    .signup .field-label { font-size: 13.5px; }
    /* Planos em duas colunas, compactos */
    .signup-plans { grid-template-columns: 1fr 1fr; gap: 8px; }
    .plan-pick { padding: 10px 10px 10px 34px; }
    .plan-pick input { left: 11px; top: 13px; }
    .plan-pick strong { font-size: 14px; line-height: 1.3; }
    .plan-pick span { font-size: 13px; }
    /* Endereço: campos curtos lado a lado */
    .grid-form { grid-template-columns: 1fr 1fr; gap: 12px 10px; }
    .grid-form > label { grid-column: 1 / -1; }
    .grid-form > .f-half, .grid-form > .f-cep, .grid-form > .f-uf { grid-column: auto; }
    .grid-form > .f-cep { order: 1; }
    .grid-form > .f-uf { order: 2; }
    .grid-form > .f-city { order: 3; }
    .grid-form > label:not(.f-cep):not(.f-uf):not(.f-city) { order: 4; }
    .grid-form > .f-district { order: 5; }
    .grid-form > .span-2:last-child { order: 6; }
    .consent { font-size: 14px; margin-top: 20px; }
    .signup-error { font-size: 14px; }
    .signup-foot { gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); }
    .signup-foot .btn-quiet { flex: 0 0 auto; padding-inline: 16px; }
    .signup-foot .btn-cta { flex: 1; min-width: 0; }
    /* Confirmação centralizada na tela */
    .signup-done:not([hidden]) { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 28px 20px calc(28px + env(safe-area-inset-bottom)); }
    .signup-done h2 { font-size: 22px; }
    .signup-done-actions { flex-direction: column; align-items: stretch; }
    .signup-mascot { height: 120px; }
}
@media (max-width: 359px) {
    .signup-plans { grid-template-columns: 1fr; }
}

/* Tablet: janela centralizada com respiro e cabeçalho/rodapé fixos */
@media (min-width: 600px) and (max-width: 1023px) {
    .signup { width: min(680px, calc(100vw - 48px)); max-height: calc(100dvh - 48px); }
    .signup-form { max-height: calc(100dvh - 48px); }
}
/* Título de cada bloco do formulário colado ao conteúdo (o legend nativo deixa um vão) */
.signup legend { float: left; width: 100%; }
.signup legend + * { clear: both; }

/* ==========================================================================
   Galeria no celular e tablet
   ========================================================================== */
.gallery-hint { display: none; }
.lightbox-count { align-self: center; margin-right: 6px; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--slate); white-space: nowrap; }
.lightbox-count:empty { display: none; }

@media (max-width: 599px) {
    .gallery-head { margin-bottom: 16px; }
    .gallery-head .tabs { margin-top: 12px; scrollbar-width: none; }
    .gallery-head .tabs::-webkit-scrollbar { display: none; }
    /* Fotos em carrossel: uma por vez, com a próxima aparecendo na borda */
    .gallery-grid {
        columns: auto; display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px;
        overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
        margin: 0 -16px; padding: 2px 16px 6px; scroll-padding: 0 16px; scrollbar-width: none;
        list-style: none;
    }
    .gallery-grid::-webkit-scrollbar { display: none; }
    .gallery-item { margin: 0; scroll-snap-align: start; }
    .gallery-btn { height: 100%; aspect-ratio: 4 / 5; max-height: 58svh; }
    .gallery-btn img { height: 100%; object-fit: cover; }
    .gallery-btn:hover img { transform: none; }
    .gallery-cap { padding: 40px 14px 12px; }
    .gallery-cap strong { font-size: 14.5px; }
    .gallery-hint { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--slate); }
    .gallery-hint[hidden] { display: none; }
    .gallery-more { margin-top: 12px; }
    .gallery-more .btn { width: 100%; }

    /* Foto ampliada: tela inteira, fundo escuro, legenda embaixo */
    .lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; inset: 0; border-radius: 0; background: #050b1c; color: #fff; }
    .lightbox figure { height: 100%; max-height: none; }
    .lightbox img { background: transparent; touch-action: pan-y; }
    .lightbox figcaption { flex-direction: column-reverse; gap: 10px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: #050b1c; }
    .lightbox p { color: rgba(255, 255, 255, .72); font-size: 14px; }
    .lightbox a { color: #8fb0ff; }
    .lightbox-nav { width: 100%; justify-content: space-between; }
    .lightbox-nav .icon-btn { width: 44px; height: 44px; color: #fff; background: rgba(255, 255, 255, .1); border-color: transparent; }
    .lightbox-count { order: 1; flex: 1; text-align: center; color: rgba(255, 255, 255, .8); margin: 0; }
    .lightbox-nav [data-lb="prev"] { order: 0; }
    .lightbox-nav [data-lb="next"] { order: 2; }
    .lightbox-nav [data-lb="close"] { position: fixed; top: calc(12px + env(safe-area-inset-top)); right: 12px; order: 3; }
    .lightbox figcaption > div:first-child:has(strong:empty) { display: none; }
}

/* Tablet: duas colunas de fotos */
@media (min-width: 600px) and (max-width: 899px) {
    .gallery-grid { columns: 2; column-gap: 14px; }
    .gallery-head { margin-bottom: 22px; }
}

/* ==========================================================================
   Avisos e dicas + faixa de aviso no topo
   ========================================================================== */
.notice-text { flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.notice-text strong { font-weight: 600; }
.notice-text:hover { text-decoration: underline; }
.notice-close { flex: none; width: 30px; height: 30px; margin-right: -6px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: inherit; opacity: .75; cursor: pointer; }
.notice-close:hover { opacity: 1; background: color-mix(in srgb, var(--bg) 14%, transparent); }
.notice-close svg { width: 16px; height: 16px; color: inherit !important; }
.posts-more { display: none; }

@media (max-width: 767px) {
    .notice { font-size: 13.5px; }
    .notice .wrap { padding-top: 7px; padding-bottom: 7px; gap: 8px; }
    .notice-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }

    /* Cada aviso: etiqueta e data na mesma linha, título, resumo e "Ler mais" */
    .posts-list { border-top: 0; display: grid; gap: 10px; }
    .post {
        grid-template-columns: auto 1fr; align-items: center; gap: 4px 10px;
        padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
    }
    .post-body { display: contents; }
    .post-type { order: 0; margin: 0; justify-self: start; }
    .post time { order: 1; font-size: 13px; }
    .post h3 { order: 2; grid-column: 1 / -1; display: block; margin-top: 6px; font-size: 16.5px; line-height: 1.35; }
    .post p { order: 3; grid-column: 1 / -1; margin-top: 2px; font-size: 14.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .post-more { order: 4; grid-column: 1 / -1; justify-self: start; margin-top: 4px; padding: 6px 0; }
    .post > span:empty { display: none; }
    .post-extra { display: none; }
    .posts-list.is-all .post-extra { display: grid; }
    /* À esquerda, para não ficar embaixo do botão do chat */
    .posts-more { display: flex; justify-content: flex-start; margin-top: 12px; }
    .posts-more .btn[hidden] { display: none; }
}

/* ==========================================================================
   Cobertura
   ========================================================================== */
.coverage-list.is-filtered .coverage-city:not(.is-hit) { display: none; }
.coverage-result.has-mascot > div { min-width: 0; }

@media (max-width: 599px) {
    .search { scroll-margin-top: calc(var(--header-h, 64px) + 12px); }
    .search .input { min-height: 48px; font-size: 16px; }
    .coverage-result { margin: 0 0 12px; padding: 12px 14px; font-size: 14.5px; line-height: 1.45; }
    .coverage-result a { display: inline-block; margin-top: 2px; }
    .coverage-result.has-mascot { gap: 10px; }
    .oops-mascot { height: 56px; }
    .coverage-list { border-top: 0; }
    .coverage-city { gap: 6px 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
    .coverage-city h3 { display: flex; align-items: baseline; }
    .coverage-tags { gap: 6px; }
    /* "Não achou seu bairro?" vira um cartão com botão em largura total */
    #coverageMap:not(:has(iframe)) {
        margin-top: 4px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
    }
    .map-box .btn { width: 100%; }
}

/* ==========================================================================
   Sobre no celular: ano de fundação num cartão com o mascote
   ========================================================================== */
@media (max-width: 599px) {
    .about-side { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: 12px; }
    .about-side > .about-since {
        grid-column: 2; grid-row: 1;
        display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
        padding: 0 0 4px; border-bottom: 0;
    }
    .about-side:not(:has(.about-mascot)) > .about-since { grid-column: 1 / -1; }
    .about-side {
        padding: 14px 16px 0; border: 1px solid var(--line); border-radius: var(--r-lg);
        background: var(--surface); overflow: hidden;
    }
    .about-side:not(:has(.about-mascot)) { padding-bottom: 12px; }
    .about-since span { font-size: 13.5px; }
    .about-year { font-size: 48px; line-height: 1; }
    .about-side > .about-mascot {
        display: block; grid-column: 1; grid-row: 1; align-self: end;
        height: 92px; width: auto; max-width: 90px; margin: 0; filter: none; object-fit: contain; object-position: bottom;
    }
    .about-side > .about-objective { grid-column: 1 / -1; margin: 0 -16px; padding: 12px 16px 14px; border-top: 1px solid var(--line); }
    .about-objective h3 { font-size: 15px; }
    .about-objective p { font-size: 14.5px; margin-top: 4px; }
    /* Metas: aviso de que dá para deslizar */
    .goals-wrap h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
    .goals-wrap h3::after { content: "Deslize para o lado"; font: 600 12.5px var(--f-text); color: var(--slate); white-space: nowrap; }
    .goals { grid-auto-columns: 70%; }
    .goal span { font-size: 14px; line-height: 1.45; }
}

/* ==========================================================================
   Aplicativo no celular e tablet em pé: o topo do celular ilustrativo
   aparece embaixo do texto, com as lojas em botões iguais
   ========================================================================== */
@media (max-width: 899px) {
    .app-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .stores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 420px; }
    .store-btn { justify-content: center; gap: 10px; padding: 9px 10px; white-space: nowrap; }
    .is-ios .stores a[data-bind-href="company.app_ios"] { order: -1; }
    .phone-wrap {
        display: flex; justify-content: center; align-items: flex-start;
        height: clamp(150px, calc(100svh - 500px), 300px); overflow: hidden;
        -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent);
        mask-image: linear-gradient(180deg, #000 62%, transparent);
    }
    .phone { flex: none; transform: scale(.78); transform-origin: top center; margin: 0; }
}
@media (max-width: 899px) and (max-height: 600px) {
    .phone-wrap { display: none; }
}
@media (min-width: 600px) and (max-width: 899px) {
    .phone-wrap { height: clamp(200px, calc(100svh - 520px), 380px); }
    .phone { transform: scale(.9); }
}
@media (max-width: 374px) {
    .store-btn { gap: 8px; padding: 8px; font-size: 14px; }
    .store-btn svg { width: 20px; height: 20px; }
}

/* ==========================================================================
   Empresas no celular: abas em três colunas iguais, sem barra de rolagem
   ========================================================================== */
@media (max-width: 599px) {
    #bizTabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; overflow: visible; }
    #bizTabs .tab { min-height: 40px; padding: 6px 6px; white-space: normal; line-height: 1.2; font-size: 13px; text-align: center; }
    .biz-panel .plan-speed.is-text strong { font-size: 32px; line-height: 1.1; }
    .biz-panel .plan-speed span { font-size: 16px; }
    .biz-panel .btn { width: 100%; }
}

/* ==========================================================================
   Planos no celular: bolinhas do carrossel
   ========================================================================== */
.plans-dots { display: none; }
@media (max-width: 599px) {
    .plans-dots:not([hidden]) { display: flex; justify-content: center; gap: 4px; margin-top: 6px; }
    .plans-dots button { width: 28px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
    .plans-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--line); transition: width .2s ease, background .2s ease; }
    .plans-dots button[aria-selected="true"]::before { width: 22px; background: var(--primary); }
    .plans-note::before { content: none; }
    .plans-note { text-align: center; margin-top: 4px; }
    .plan .check-list { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .plans-dots button::before { transition: none; } }

/* ==========================================================================
   Menu do celular: por cima da página, com fundo escurecido
   ========================================================================== */
.menu-btn .ico-close { display: none; }
.menu-btn[aria-expanded="true"] .ico-menu { display: none; }
.menu-btn[aria-expanded="true"] .ico-close { display: block; }
.menu-backdrop { position: fixed; inset: 0; z-index: 45; background: rgba(4, 10, 28, .55); }
.menu-backdrop[hidden] { display: none; }
@media (max-width: 1099px) {
    html.menu-open { overflow: hidden; }
    .mobile-menu {
        position: absolute; left: 0; right: 0; top: 100%;
        max-height: calc(100svh - 64px); overflow-y: auto; overscroll-behavior: contain;
        box-shadow: 0 24px 40px -20px rgba(4, 10, 28, .5);
    }
    .mobile-menu ul { gap: 0; padding: 6px 0; }
    .mobile-menu li + li { border-top: 1px solid var(--line); }
    .mobile-link { position: relative; padding: 14px 4px; border-radius: 0; font-size: 16.5px; }
    .mobile-link::after { content: ""; position: absolute; right: 8px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--slate); border-top: 2px solid var(--slate); transform: translateY(-50%) rotate(45deg); opacity: .6; }
    .mobile-extra { flex-wrap: nowrap; gap: 10px; padding: 10px 0 18px; }
    .mobile-central { flex: 1; min-height: 44px; max-width: 360px; }
}

/* ==========================================================================
   Rodapé no celular: mais curto, atendimento em botões
   ========================================================================== */
@media (max-width: 599px) {
    .site-footer { margin-top: 0; font-size: 14.5px; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; padding-top: 32px; padding-bottom: 28px; }
    /* Marca, slogan e redes numa faixa só */
    .foot-brand { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; }
    .foot-brand .brand { grid-column: 1; }
    .foot-brand .footer-slogan { grid-column: 1; margin-top: 0; font-size: 14px; }
    .foot-brand .social { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
    .footer-title { margin-bottom: 10px; font-size: 14px; color: var(--slate); }
    /* Atendimento: telefone, chat, WhatsApp e e-mail como botões em duas colunas */
    .foot-contact { order: -1; }
    .foot-brand { order: -2; }
    .foot-contact .footer-list { grid-template-columns: 1fr 1fr; gap: 8px; }
    .foot-contact .footer-list > li:not(.foot-hours) > a,
    .foot-contact .footer-list > li > button {
        display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 8px 10px;
        border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
        font-weight: 600; font-size: 14px; text-align: center; overflow-wrap: anywhere;
    }
    .foot-contact .footer-list > li:has(a[data-bind-mail]),
    .foot-contact .footer-list > li:has(a[data-bind-tel]) { grid-column: 1 / -1; }
    .foot-contact .footer-list > li > button,
    .foot-contact .footer-list > li > a[data-whatsapp] { white-space: nowrap; font-size: 13.5px; padding: 8px 6px; }
    .foot-hours { grid-column: 1 / -1; font-size: 13.5px; text-align: center; }
    .foot-hours:empty { display: none; }
    /* Navegação em duas colunas */
    .foot-nav .footer-list { grid-template-columns: 1fr 1fr; gap: 0 12px; }
    .foot-nav .footer-list a { display: block; padding: 8px 0; }
    /* Empresa: endereço e CNPJ em letra menor, links legais lado a lado */
    .foot-company .footer-list { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; }
    .foot-company .footer-list li:nth-child(-n+2) { flex-basis: 100%; }
    .foot-company .footer-list a { display: inline-block; padding: 6px 0; font-weight: 600; }
    /* Direitos autorais: à esquerda, longe do botão do chat */
    .footer-bottom { padding: 14px 0 calc(18px + env(safe-area-inset-bottom)); font-size: 12.5px; }
    .footer-bottom .wrap { padding-right: 88px; }
}
