/* Meganet Fibra Óptica — estilos do site público
   As cores --brand/--accent e derivadas vêm do painel (Configurações > Aparência). */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Fonte de reserva com métricas próximas da Manrope: reduz o deslocamento de layout na troca de fonte */
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 104%;
  ascent-override: 102%;
  descent-override: 29%;
  line-gap-override: 0%;
}

:root {
  --brand: #591e8d;
  --brand-strong: #43166a;
  --brand-deep: #190827;
  --brand-soft: #f7f4f9;
  --brand-tint: #ded2e8;
  --brand-rgb: 89, 30, 141;
  --accent: #b92887;
  --accent-soft: #f8e9f3;

  --ink: #1b1622;
  --ink-2: #4a4453;
  --muted: #625b6c;
  --line: #e6e1ec;
  --surface: #ffffff;
  --surface-2: #f7f5fa;
  --success: #1c7c4a;
  --success-soft: #e7f5ed;
  --warning: #8a5a00;
  --warning-soft: #fdf3dc;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --whatsapp: #0e7d55;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(27, 22, 34, .06), 0 1px 1px rgba(27, 22, 34, .04);
  --shadow: 0 10px 30px -12px rgba(27, 22, 34, .18), 0 2px 6px rgba(27, 22, 34, .05);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --font: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: .18em; }
a:hover { color: var(--brand-strong); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.icon { display: inline-block; vertical-align: -.2em; width: 1.25em; height: 1.25em; flex: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--surface-2); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-2); font-size: 1.075rem; margin-bottom: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); color: var(--ink-2); }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose li { margin-bottom: .35em; }
.small { font-size: .875rem; color: var(--muted); }

/* Botões */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff; --btn-border: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.35em;
  border-radius: 999px; border: 2px solid var(--btn-border);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 800; font-size: 1rem; line-height: 1.1; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover { --btn-bg: var(--brand-strong); --btn-border: var(--brand-strong); color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn-secondary { --btn-bg: transparent; --btn-fg: var(--brand); --btn-border: var(--brand-tint); }
.btn-secondary:hover { --btn-bg: var(--brand-soft); --btn-fg: var(--brand-strong); --btn-border: var(--brand); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--brand-strong); --btn-border: #fff; }
.btn-light:hover { --btn-bg: var(--brand-soft); --btn-fg: var(--brand-strong); --btn-border: var(--brand-soft); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { --btn-bg: rgba(255, 255, 255, .1); --btn-fg: #fff; --btn-border: #fff; }
.btn-whatsapp { --btn-bg: var(--whatsapp); --btn-border: var(--whatsapp); }
.btn-whatsapp:hover { --btn-bg: #0a6544; --btn-border: #0a6544; }
.btn-sm { min-height: 40px; padding: .5em 1em; font-size: .925rem; }
.btn-block { width: 100%; }
.btn .icon { width: 1.15em; height: 1.15em; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 800; text-decoration: none; }
.link-arrow .icon { transition: transform .15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Cabeçalho */
.topbar { background: var(--brand-deep); color: rgba(255, 255, 255, .85); font-size: .85rem; display: none; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.topbar a:hover { text-decoration: underline; }
.topbar-group { display: flex; align-items: center; gap: 22px; }
.topbar .icon { width: 1.05em; height: 1.05em; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(27, 22, 34, .35); }
.header-bar { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.brand-text { font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block; padding: .55em .8em; border-radius: 8px;
  color: var(--ink); font-weight: 700; font-size: .95rem; text-decoration: none;
}
.main-nav a:hover { color: var(--brand); background: var(--brand-soft); }
.main-nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
  width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.mobile-extra { display: none; }

@media (max-width: 1023.98px) {
  .js .main-nav {
    position: fixed; inset: calc(var(--header-h) + 1px) 0 0 0; z-index: 49;
    background: #fff; padding: 16px var(--gutter) 32px; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  .js.nav-open .main-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { padding: 1em .25em; font-size: 1.1rem; border-radius: 0; }
  .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand); padding-left: .75em; }
  .mobile-extra { display: grid; gap: 12px; margin-top: 24px; }
  .header-actions { display: none; }
  .no-js .nav-toggle { display: none; }
  .no-js .header-bar { flex-wrap: wrap; }
  .no-js .main-nav { width: 100%; margin: 0 0 12px; }
  .no-js .main-nav ul { flex-direction: row; flex-wrap: wrap; }
  .no-js .main-nav li { border: 0; }
  .no-js .main-nav a { padding: .5em .6em; font-size: .95rem; }
  .no-js .mobile-extra { display: none; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 1024px) {
  .topbar { display: block; }
  .nav-toggle { display: none; }
  .main-nav { margin-left: auto; }
}

/* Seção principal */
.hero { position: relative; overflow: hidden; background: var(--brand-deep); color: #fff; isolation: isolate; }
.hero.hero-light { background: var(--brand-soft); color: var(--ink); }
.hero-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-art svg { position: absolute; right: -8%; top: 50%; width: min(1100px, 120%); height: auto; transform: translateY(-50%); opacity: .9; }
.hero-light .hero-art svg { opacity: .55; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 112px); align-items: center; }
.hero h1 { color: inherit; max-width: 16ch; margin-bottom: .45em; }
.hero .eyebrow { color: #e7c6ff; }
.hero-light .eyebrow { color: var(--brand); }
.hero-text { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: rgba(255, 255, 255, .86); max-width: 54ch; margin-bottom: 28px; }
.hero-light .hero-text { color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; }
.cep-form { display: grid; gap: 10px; max-width: 520px; }
.cep-form label { font-weight: 700; font-size: .95rem; }
.cep-row { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 6px; box-shadow: var(--shadow); }
.cep-row input {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; font-size: 1.1rem; font-weight: 700; color: var(--ink);
  letter-spacing: .02em; min-height: 48px;
}
.cep-row input::placeholder { color: #8a8394; font-weight: 600; }
.cep-row input:focus { outline: none; }
.cep-row:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.cep-help { font-size: .875rem; color: rgba(255, 255, 255, .75); margin: 0; }
.cep-help a { color: #fff; }
.hero-light .cep-help, .section .cep-help { color: var(--muted); }
.hero-light .cep-help a, .section .cep-help a { color: var(--brand); }
.hero-aside { display: grid; gap: 16px; justify-items: start; }
.price-tag {
  display: inline-grid; gap: 2px; padding: 18px 22px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff;
}
.hero-light .price-tag { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.price-tag small { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; opacity: .8; }
.price-tag strong { font-size: 2rem; line-height: 1.1; letter-spacing: -.02em; }
.price-tag strong span { font-size: 1rem; font-weight: 700; opacity: .85; }
.speed-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.speed-list li { padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: .9rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.hero-light .speed-list li { background: #fff; border-color: var(--line); }
.hero-media { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .hero-aside { justify-items: end; }
}

/* Diferenciais */
.features { border-bottom: 1px solid var(--line); }
.features-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feature { display: flex; gap: 14px; align-items: flex-start; padding: 28px 20px; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature-icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none;
  border-radius: 12px; background: var(--brand-soft); color: var(--brand);
}
.feature-icon .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 1.02rem; margin: 0 0 .2em; }
.feature p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.5; }
@media (min-width: 640px) {
  .feature + .feature { border-top: 0; }
  .features-grid { border-left: 1px solid var(--line); }
  .feature { border-right: 1px solid var(--line); }
}

/* Planos */
.plans-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 28px 24px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.plan.is-highlight { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan.is-draft { border-style: dashed; opacity: .85; }
.plan-badge {
  position: absolute; top: -13px; left: 24px; padding: 4px 12px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.plan-draft-badge { background: var(--warning); }
.plan-name { font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0; }
.plan-speed { display: flex; align-items: baseline; gap: 8px; margin: 0; color: var(--ink); }
.plan-speed strong { font-size: clamp(2.6rem, 2.2rem + 1.4vw, 3.25rem); line-height: 1; letter-spacing: -.04em; font-weight: 800; }
.plan-speed span { font-size: 1.25rem; font-weight: 800; color: var(--brand); }
.plan-upload { margin: -10px 0 0; font-size: .9rem; color: var(--muted); }
.plan-price { display: flex; align-items: flex-start; gap: 4px; margin: 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan-price .cur { font-size: 1rem; font-weight: 800; margin-top: .45em; }
.plan-price .int { font-size: 2.6rem; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.plan-price .dec { display: grid; line-height: 1.1; margin-top: .35em; }
.plan-price .dec b { font-size: 1.15rem; }
.plan-price .dec small { font-size: .85rem; color: var(--muted); font-weight: 700; }
.plan-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan-benefits li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .96rem; line-height: 1.4; }
.plan-benefits .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--success); }
.plan-conditions, .plan-availability { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.45; }
.plans-footnote { margin-top: 24px; font-size: .9rem; color: var(--muted); max-width: 760px; }
.plans-footnote p { margin: 0; }
.plans-empty { padding: 32px; border-radius: var(--radius); border: 1px dashed var(--line); text-align: center; color: var(--ink-2); }

.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--surface-2); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare td.num { font-variant-numeric: tabular-nums; font-weight: 700; }

/* Cobertura */
.coverage-band { background: var(--brand-soft); }
.coverage-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .coverage-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.coverage-band .cep-row { box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.cities { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0 0; padding: 0; }
.cities li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .9rem; }
.cities .icon { width: 16px; height: 16px; color: var(--brand); }

.result {
  display: grid; gap: 14px; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
}
.result-head { display: flex; gap: 14px; align-items: flex-start; }
.result-head .icon { width: 32px; height: 32px; flex: none; }
.result h2 { font-size: 1.4rem; margin: 0 0 .25em; }
.result p { margin: 0; }
.result-ok { border-color: #b6dfc6; background: var(--success-soft); }
.result-ok .result-head .icon { color: var(--success); }
.result-partial { border-color: #f0d79a; background: var(--warning-soft); }
.result-partial .result-head .icon { color: var(--warning); }
.result-none .result-head .icon, .result-expansion .result-head .icon { color: var(--brand); }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Serviços */
.service-row { display: grid; gap: 32px; align-items: center; }
.service-row + .service-row { margin-top: clamp(48px, 7vw, 88px); }
@media (min-width: 900px) {
  .service-row { grid-template-columns: 1fr 1fr; gap: 64px; }
  .service-row.reverse .service-media { order: 2; }
}
.service-media { border-radius: 24px; background: var(--brand-soft); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.service-media.cover img { object-fit: cover; padding: 0; }
.service-media .icon { width: 30%; height: 30%; color: var(--brand); opacity: .8; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.check-list .icon { width: 22px; height: 22px; color: var(--brand); margin-top: 1px; }
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 20px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: inherit; text-decoration: none;
}
a.card:hover { border-color: var(--brand-tint); box-shadow: var(--shadow); color: inherit; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--ink-2); }
.card .link-arrow { margin-top: auto; color: var(--brand); }

/* Por que escolher */
.why-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 1.05fr .95fr; gap: 72px; } }
.why-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.why-points li { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 700; }
.why-points .icon { width: 24px; height: 24px; color: var(--brand); }
.why-media { border-radius: 24px; overflow: hidden; margin-top: 24px; }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-list.center { margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 800; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform .2s ease; color: var(--brand); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--brand); }
.faq-answer { padding: 0 20px 18px; color: var(--ink-2); }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 40px; }
.faq-group h2 { font-size: 1.3rem; }
.badge-draft { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 6px; background: var(--warning-soft); color: var(--warning); font-size: .75rem; font-weight: 800; text-transform: uppercase; vertical-align: middle; }

/* Chamada final */
.cta-band { background: var(--brand); color: #fff; }
.cta-inner { display: grid; gap: 24px; align-items: center; padding-block: clamp(40px, 6vw, 64px); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .88); margin: 0; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; } }

/* Páginas internas */
.page-hero { background: var(--brand-soft); border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem); max-width: 22ch; }
.page-hero .lead { max-width: 64ch; margin: 0; }
.breadcrumb { font-size: .875rem; margin-bottom: 14px; color: var(--muted); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #b3abbd; }
.breadcrumb a { color: var(--muted); }
.two-col { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .two-col { grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 64px; } }
.side-card { padding: 28px; border-radius: 20px; background: var(--surface-2); border: 1px solid var(--line); }
.side-card h2, .side-card h3 { font-size: 1.15rem; }

/* Contato */
.channels { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 4px; }
.channels li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.channels li:last-child { border-bottom: 0; }
.channels .icon { width: 22px; height: 22px; color: var(--brand); margin-top: 3px; }
.channels strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.channels a, .channels span { font-weight: 700; color: var(--ink); text-decoration: none; }
.channels a:hover { color: var(--brand); text-decoration: underline; }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--brand-soft); border: 1px solid var(--brand-tint); font-size: .94rem; }
.notice .icon { color: var(--brand); width: 20px; height: 20px; margin-top: 2px; }
.notice p { margin: 0; }

/* Formulários */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: .95rem; }
.field .optional { font-weight: 500; color: var(--muted); font-size: .85rem; }
.input, .field input[type=text], .field input[type=tel], .field input[type=email], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cfc8d8; border-radius: 12px; background: #fff;
  font-size: 1rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .16); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .875rem; font-weight: 700; margin: 0; display: flex; gap: 6px; align-items: center; }
.field-hint { color: var(--muted); font-size: .85rem; margin: 0; }
.check-field { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.check-field input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.form-alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form-alert .icon { width: 22px; height: 22px; flex: none; }
.form-alert p { margin: 0; }
.form-alert-error { background: var(--danger-soft); color: var(--danger); border: 1px solid #f5c2bd; }
.form-alert-success { background: var(--success-soft); color: var(--success); border: 1px solid #b6dfc6; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }

.success-panel { max-width: 640px; margin: 0 auto; text-align: center; display: grid; gap: 16px; justify-items: center; }
.success-panel .icon-lg { width: 64px; height: 64px; color: var(--success); }

/* Rodapé */
.site-footer { background: var(--brand-deep); color: rgba(255, 255, 255, .78); font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; padding: clamp(48px, 7vw, 80px) 0 40px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-brand img { height: 52px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 34ch; }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 16px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list li { display: flex; gap: 10px; align-items: flex-start; }
.footer-list .icon { width: 18px; height: 18px; margin-top: 3px; color: #d8b7f2; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.social a:hover { background: rgba(255, 255, 255, .1); text-decoration: none; }
.social .icon { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; padding: 0 18px 0 14px; height: 56px; border-radius: 999px;
  background: var(--whatsapp); color: #fff; text-decoration: none; font-weight: 800; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35);
  transition: transform .15s ease, background-color .15s ease;
}
.wa-float:hover { background: #0a6544; color: #fff; transform: translateY(-2px); }
.wa-float .icon { width: 28px; height: 28px; }
@media (max-width: 639.98px) {
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Aviso de cookies (só aparece quando a medição de audiência está configurada) */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px;
  padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.consent[hidden] { display: none; }
.consent p { margin: 0 0 14px; font-size: .92rem; color: var(--ink-2); }
.consent .btns { display: flex; flex-wrap: wrap; gap: 10px; }

.preview-bar { position: sticky; top: 0; z-index: 70; background: var(--warning); color: #fff; text-align: center; padding: 8px 16px; font-weight: 700; font-size: .9rem; }
.preview-bar a { color: #fff; }

/* 404 */
.not-found { text-align: center; }
.not-found .code { font-size: clamp(4rem, 10vw, 7rem); font-weight: 800; line-height: 1; color: var(--brand-tint); letter-spacing: -.04em; margin: 0; }
.not-found-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }

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

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

/* Utilitários de layout usados nas páginas */
.h2-like { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.center-text { text-align: center; margin-top: 28px; }
.cards[data-spaced] { margin-top: 32px; }
.stack-lg > * + * { margin-top: clamp(40px, 6vw, 64px); }
.mt-0 { margin-top: 0; }
[hidden] { display: none !important; }
.topic-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; font-weight: 700; }
.footer-list li > a, .footer-list li > span, .channels div { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 479.98px) {
  .cep-row { flex-direction: column; border-radius: 18px; padding: 8px; }
  .cep-row input { text-align: center; }
  .cep-row .btn { width: 100%; }
}
.coverage-grid > *, .two-col > *, .why-grid > *, .service-row > * { min-width: 0; }
[data-focus-on-load]:focus { outline: none; }
/* Caixa de consentimento: área de toque confortável no celular */
.check-field { min-height: 44px; padding: 6px 0; cursor: pointer; }
.check-field input { width: 24px; height: 24px; }
/* Botões dentro do menu mobile mantêm o próprio estilo (o estilo dos links do menu não pode sobrescrevê-los) */
.main-nav .mobile-extra .btn { color: var(--btn-fg); padding: .7em 1.35em; border-radius: 999px; font-size: 1rem; }
.main-nav .mobile-extra .btn:hover { color: var(--btn-fg); background: var(--btn-bg); }
