/* ============================================================
   Repara Cell BH — Folha de estilo única (compartilhada)
   Mobile-first · sem dependências externas · foco em PageSpeed
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --blue: #2563eb;
  --blue-d: #1d4ed8;
  --blue-dd: #1e3a8a;
  --ink: #0f172a;
  --graphite: #0f172a;
  --slate: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f1f5f9;
  --soft-2: #f8fafc;
  --white: #ffffff;
  --wa: #25d366;
  --wa-d: #1aa851;
  --star: #f59e0b;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --container: 1140px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 6px rgba(15, 23, 42, .07);
  --shadow: 0 14px 34px -16px rgba(15, 23, 42, .28);
  --shadow-blue: 0 14px 30px -12px rgba(37, 99, 235, .45);
  --ring: 0 0 0 3px rgba(37, 99, 235, .35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-d); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
address { font-style: normal; }

/* ---------- Acessibilidade ---------- */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; text-decoration: none; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.section { padding-block: clamp(56px, 8vw, 100px); }
.section--soft { background: var(--soft-2); }
.section--tint { background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%); }
.section-head {
  max-width: 720px;
  margin: 0 auto clamp(34px, 5vw, 56px);
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-d);
  background: #e8edff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.65rem, 3.6vw, 2.45rem); }
.section-head .lead {
  margin-top: 14px;
  color: var(--slate);
  font-size: 1.06rem;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .15s ease, background-color .15s ease;
  text-align: center;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-wa { background: var(--wa); color: #06301a; box-shadow: 0 12px 26px -12px rgba(37, 211, 102, .7); }
.btn-wa:hover { background: var(--wa-d); color: #fff; }
.btn-call { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-call:hover { background: var(--blue-d); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-outline { background: #fff; color: var(--blue-d); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--blue); }
.btn-lg { padding: 17px 32px; font-size: 1.08rem; }
.btn-sm { padding: 10px 18px; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
/* Fundo sólido (sem backdrop-filter): backdrop-filter criaria um bloco
   de contenção e quebraria o position:fixed do menu mobile. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 22px -18px rgba(15, 23, 42, .5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 54px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a:not(.btn) {
  color: var(--slate);
  font-weight: 600;
  font-size: .98rem;
  padding: 9px 12px;
  border-radius: 8px;
}
.site-nav > a:not(.btn):hover { color: var(--ink); background: var(--soft); text-decoration: none; }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #e8edf7;
  background:
    radial-gradient(800px 420px at 78% -8%, rgba(37, 99, 235, .42), transparent 60%),
    radial-gradient(620px 380px at 6% 108%, rgba(37, 99, 235, .25), transparent 55%),
    linear-gradient(180deg, #0b1222 0%, #0f172a 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1.4px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%);
  mask-image: linear-gradient(180deg, #000, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(54px, 9vw, 96px);
  display: grid;
  gap: 40px;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .85rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #dbe4f5;
}
.pill svg { width: 15px; height: 15px; color: #5b9bff; }
.hero h1 {
  font-size: clamp(2rem, 5.4vw, 3.35rem);
  color: #fff;
  max-width: 16ch;
}
.hero h1 .hl { color: #5b9bff; }
.hero-sub {
  font-size: clamp(1.04rem, 2vw, 1.22rem);
  color: #b8c4da;
  max-width: 56ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero-trust .ht {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-trust .ht strong { color: #fff; font-size: 1.3rem; display: block; line-height: 1.1; }
.hero-trust .ht span { color: #93a3bf; font-size: .86rem; }
.hero-trust .ht svg { width: 26px; height: 26px; color: #5b9bff; flex-shrink: 0; }

/* ---------- Faixa de marcas ---------- */
.brands { background: var(--white); border-bottom: 1px solid var(--line); }
.brands .container { padding-block: 30px; }
.brands-title {
  text-align: center;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.brand-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}
.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
  background: var(--soft-2);
}
.brand-chip svg { width: 17px; height: 17px; color: var(--blue); }
.brand-chip.is-more { background: #e8edff; color: var(--blue-d); border-color: #cdd9ff; }

/* ---------- Grade de cards ---------- */
.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

/* ---------- Card de serviço ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .14s ease, box-shadow .15s ease, border-color .15s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #c9d6ff;
}
.service-ico {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #2563eb, #1e3a8a);
  margin-bottom: 16px;
}
.service-ico svg { width: 26px; height: 26px; color: #fff; }
.service-card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.service-card p { color: var(--slate); font-size: .98rem; }

/* ---------- Diferenciais ---------- */
.feature {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.feature-ico {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: #e8edff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-ico svg { width: 24px; height: 24px; color: var(--blue-d); }
.feature h3 { font-size: 1.07rem; margin-bottom: 5px; }
.feature p { color: var(--slate); font-size: .95rem; }

/* ---------- Prova social ---------- */
.review-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  margin-bottom: 34px;
  text-align: center;
}
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 22px; height: 22px; color: var(--star); }
.review-summary .score { font-weight: 800; font-size: 1.15rem; }
.review-summary .meta { color: var(--muted); font-size: .95rem; }
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.testimonial .stars svg { width: 18px; height: 18px; }
.testimonial blockquote { color: var(--ink); font-size: 1rem; }
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(160deg, #2563eb, #1e3a8a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.testimonial .name { font-weight: 700; font-size: .96rem; }
.testimonial .role { color: var(--muted); font-size: .85rem; }

/* ---------- Como funciona ---------- */
.steps {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(160deg, #2563eb, #1e3a8a);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--slate); font-size: .96rem; }

/* ---------- Localização ---------- */
.local-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
}
.local-info { display: flex; flex-direction: column; gap: 18px; }
.info-row {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.info-row svg { width: 22px; height: 22px; color: var(--blue-d); flex-shrink: 0; margin-top: 3px; }
.info-row .it-label { font-weight: 700; font-size: .98rem; }
.info-row .it-value { color: var(--slate); font-size: .96rem; }
.info-row a { font-weight: 600; }
/* Cartão de localização com foto real da loja */
.map-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.map-card-photo {
  width: 100%;
  flex: 1;
  min-height: 300px;
  object-fit: cover;
  display: block;
  background: var(--soft);
}
.map-addr-bar {
  position: relative;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.map-addr-bar .ma-text strong { display: block; font-size: 1rem; }
.map-addr-bar .ma-text span { color: var(--muted); font-size: .92rem; }
.map-addr-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.local-figure { margin: 0 auto; max-width: 480px; }
.local-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--soft);
}
.local-figure figcaption {
  margin-top: 10px;
  font-size: .86rem;
  color: var(--muted);
  text-align: center;
}
.local-copy {
  margin-top: 30px;
  color: var(--slate);
  font-size: 1rem;
  max-width: 75ch;
}
.local-copy p + p { margin-top: 12px; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 54px 19px 22px;
  font-weight: 700;
  font-size: 1.03rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 12px; height: 12px;
  margin-top: -6px;
  border-right: 2.5px solid var(--blue-d);
  border-bottom: 2.5px solid var(--blue-d);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item summary:hover { color: var(--blue-d); }
.faq-answer { padding: 0 22px 20px; color: var(--slate); }
.faq-answer p + p { margin-top: 10px; }

/* ---------- Faixas escuras (CTA / banner) ---------- */
.band-dark {
  position: relative;
  color: #e8edf7;
  background:
    radial-gradient(620px 320px at 85% 0%, rgba(37, 99, 235, .4), transparent 60%),
    linear-gradient(180deg, #0f172a, #0b1222);
  overflow: hidden;
}
.cta-final { text-align: center; }
.cta-final h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.6rem); max-width: 20ch; margin-inline: auto; }
.cta-final p { color: #b8c4da; margin: 14px auto 26px; max-width: 54ch; font-size: 1.06rem; }
.cta-final .hero-cta { justify-content: center; }
.cta-note { margin-top: 18px !important; font-size: .9rem !important; color: #8493ad !important; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1222; color: #aab6cd; }
.footer-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr;
  padding-block: clamp(44px, 6vw, 68px);
}
.footer-logo { font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.footer-logo .accent { color: #5b9bff; }
.footer-brand p { margin-top: 12px; font-size: .95rem; max-width: 42ch; }
.footer-social { margin-top: 16px; display: flex; gap: 10px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .9rem;
  font-weight: 600;
  color: #cdd8ec;
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}
.footer-social a:hover { background: rgba(255, 255, 255, .08); text-decoration: none; }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h2 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a, .footer-col li { font-size: .95rem; color: #aab6cd; }
.footer-col a:hover { color: #fff; }
.footer-col .lbl { color: #6b7a96; font-size: .8rem; }
.footer-seo {
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-seo p { font-size: .85rem; color: #7e8da8; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom .container {
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  font-size: .85rem;
}
.footer-bottom a { color: #aab6cd; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Botões flutuantes ---------- */
.floating-actions {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: .96rem;
  color: #fff;
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .45);
}
.float-btn:hover { text-decoration: none; transform: translateY(-2px); }
.float-btn svg { width: 22px; height: 22px; }
.float-wa { background: var(--wa); color: #06301a; }
.float-call { background: var(--blue); display: none; }

/* ---------- Banner de consentimento de cookies (LGPD) ---------- */
.consent-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  background: #0f172a;
  color: #e8edf7;
  padding: 15px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 -10px 30px -14px rgba(0, 0, 0, .6);
}
.consent-bar p { font-size: .9rem; max-width: 64ch; }
.consent-bar a { color: #7cb0ff; }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ---------- Páginas legais / conteúdo ---------- */
.page-hero {
  background: linear-gradient(180deg, #0f172a, #15213b);
  color: #e8edf7;
  padding-block: clamp(40px, 6vw, 64px);
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero p { color: #b8c4da; margin-top: 10px; max-width: 60ch; }
.breadcrumb { margin-bottom: 14px; font-size: .85rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a { color: #9fb2d6; }
.breadcrumb li[aria-current] { color: #e8edf7; }
.breadcrumb .sep { color: #5f6f8c; }
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 {
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-top: 8px;
}
.prose h2:first-of-type { margin-top: 8px; }
.prose h3 { font-size: 1.12rem; margin-top: 24px; margin-bottom: 8px; }
.prose p, .prose li { color: var(--slate); }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.prose ul li { margin-bottom: 7px; }
.prose .updated {
  display: inline-block;
  font-size: .85rem;
  color: var(--muted);
  background: var(--soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 26px;
}
.prose .callout {
  background: #eef3ff;
  border: 1px solid #cdd9ff;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 22px 0;
  font-size: .96rem;
  color: var(--blue-dd);
}

/* ---------- Contato ---------- */
.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.contact-card h2 { font-size: 1.2rem; margin-bottom: 6px; }
.contact-card .muted { color: var(--slate); font-size: .96rem; margin-bottom: 18px; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; }
.contact-list { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }

/* ---------- 404 ---------- */
.notfound {
  min-height: 64vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.notfound .code {
  font-size: clamp(4.5rem, 16vw, 9rem);
  font-weight: 800;
  letter-spacing: -.04em;
  background: linear-gradient(120deg, #2563eb, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.notfound h1 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-top: 8px; }
.notfound p { color: var(--slate); margin: 12px auto 24px; max-width: 46ch; }
.notfound .hero-cta { justify-content: center; }
.notfound .quick-links { margin-top: 22px; font-size: .95rem; }
.notfound .quick-links a { margin: 0 8px; }

/* ---------- Utilidades ---------- */
.text-center { text-align: center; }
.mt-cta { margin-top: clamp(30px, 5vw, 46px); display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
body.nav-locked { overflow: hidden; }

/* ============================================================
   Responsivo
   ============================================================ */
@media (min-width: 620px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 880px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1.2fr 1fr; }
  .hero-inner { max-width: 60ch; }
}
@media (min-width: 980px) {
  .local-grid { grid-template-columns: 1.05fr 1.25fr; align-items: stretch; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}

/* Navegação mobile */
@media (max-width: 879px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: 70px 0 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 20px;
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
    border-top: 1px solid var(--line);
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav > a:not(.btn) {
    padding: 14px 12px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--soft);
    border-radius: 0;
  }
  .nav-cta { margin: 14px 0 0; }
  .float-call { display: inline-flex; }
  .floating-actions { right: 12px; bottom: 12px; }
  .float-btn span { display: inline; }
}

@media (max-width: 420px) {
  .float-btn { padding: 13px 15px; }
  .hero-cta .btn, .cta-final .btn { width: 100%; }
}

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