/* ============================================================
   SAMARITANO — Design System & Shared Components
   ============================================================ */

/* 1. Tokens  2. Reset  3. Layout  4. Typography
   5. Buttons  6. Header/Nav  7. Mobile Nav  8. FAB
   9. Bento Cards  10. FAQ  11. CTA Box
   12. Footer (full)  13. Footer (strip)  14. Responsive
   ============================================================ */

/* ── 1. CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  --navy:        #0a1e3d;
  --navy-deep:   #061229;
  --navy-soft:   #1a2f54;
  --navy-line:   #1f3563;
  --cream:       #fbf8f3;
  --paper:       #ffffff;
  --paper-warm:  #f5f1ea;
  --ink:         #0a1e3d;
  --ink-soft:    #5d6577;
  --ink-mute:    #aab1bd;
  --ink-light:   #e6e3dc;
  --orange:      #ed7a3a;
  --orange-deep: #c9531e;
  --orange-soft: #fff0e3;
  --green:       #2da77b;
  --green-soft:  #e3f4ec;
  --blue:        #2a9ad6;
  --blue-soft:   #e1f1fa;
  --whats:       #25d366;

  --display: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --body:    "Plus Jakarta Sans", "Sora", system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, monospace;

  --radius-sm: 10px;
  --radius:    14px;
  --radius-lg: 22px;

  --shadow-sm: 0 4px 14px rgba(10,30,61,0.08);
  --shadow:    0 12px 36px rgba(10,30,61,0.12);
  --shadow-lg: 0 28px 64px -16px rgba(10,30,61,0.4);
}

/* ── UTILITÁRIOS DE COMPONENTES ───────────────────────────── */
.logo-img { height: 48px; width: auto; display: block; }

/* ── 2. RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; padding: 0; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

/* ── 3. LAYOUT ────────────────────────────────────────────── */
.wrap    { width: min(1200px, 92vw); margin-inline: auto; }
.section { padding: clamp(48px, 8vw, 100px) 0; }

/* ── 4. TYPOGRAPHY UTILITIES ──────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow .bar  { width: 24px; height: 2px; background: var(--orange); border-radius: 2px; }
.eyebrow .dot  { width: 6px; height: 6px; border-radius: 99px; background: var(--orange); }
.eyebrow.green { color: var(--green); }
.eyebrow.green .bar, .eyebrow.green .dot { background: var(--green); }
.eyebrow.on-dark { color: rgba(255,255,255,0.8); }
.eyebrow.on-dark .bar, .eyebrow.on-dark .dot { background: var(--orange); }

.section-title         { font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -0.035em; }
.section-title .accent { color: var(--orange); }
.section-lead {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--ink-soft);
  max-width: 56ch;
  margin-top: 12px;
  line-height: 1.55;
}

/* ── 5. BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display);
  font-weight: 600; font-size: 14px;
  letter-spacing: 0.02em;
  padding: 13px 22px; border-radius: 10px;
  white-space: nowrap;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, color 120ms ease, border-color 120ms ease;
  text-transform: uppercase;
  border: 1.4px solid var(--ink);
  background: transparent; color: var(--ink);
  cursor: pointer;
}
.btn:hover       { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(10,30,61,0.18); }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 10px; }
.btn.primary     { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn.primary:hover { background: var(--orange-deep); border-color: var(--orange-deep); }
.btn.dark        { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn.dark:hover  { background: var(--navy-deep); }
.btn.ghost       { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn.ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); }
.btn.whats       { background: var(--whats); color: #fff; border-color: var(--whats); }
.btn.whats:hover { background: #1eb558; border-color: #1eb558; }
.btn.sm   { padding: 9px 14px; font-size: 12px; }
.btn.full { width: 100%; display: flex; }
.btn .arrow { transition: transform 200ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ── 6. HEADER & NAVIGATION ──────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,30,61,0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #fff;
}
.nav {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 8px 0; gap: 16px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo .mark { width: 30px; height: 30px; flex-shrink: 0; }
.logo .word  {
  font-family: var(--display);
  font-weight: 800; font-size: 19px; letter-spacing: -0.04em;
}
.logo .word span { color: var(--orange); }
.logo .tagline {
  display: block;
  font-family: var(--body); font-weight: 500;
  font-size: 10px; line-height: 1;
  color: rgba(255,255,255,0.55);
  margin-top: 4px; letter-spacing: 0.03em;
}

.nav-links {
  display: flex; align-items: center; gap: 16px;
  list-style: none; padding: 0; margin: 0;
}
.nav-links a {
  font-family: var(--body); font-weight: 500; font-size: 13px;
  color: rgba(255,255,255,0.78);
  position: relative; padding: 6px 0; white-space: nowrap;
  transition: color 120ms ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 3px; }
.nav-links a.active { color: var(--orange); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2.5px; background: var(--orange); border-radius: 2px;
}

.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .link {
  font-family: var(--body); font-weight: 600; font-size: 13px;
  color: rgba(255,255,255,0.85);
  border: 1.2px solid rgba(255,255,255,0.4);
  padding: 9px 14px; border-radius: 9px;
  transition: background 120ms ease, border-color 120ms ease;
}
.nav-cta .link:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); }
.nav-cta .contract {
  font-family: var(--body); font-weight: 600; font-size: 13px;
  color: #fff; background: var(--orange);
  padding: 9px 16px; border-radius: 9px;
  transition: background 120ms ease;
}
.nav-cta .contract:hover  { background: var(--orange-deep); }
.nav-cta .link:focus-visible,
.nav-cta .contract:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ── 7. MOBILE NAV ────────────────────────────────────────── */
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 8px; color: #fff;
  transition: background 120ms ease;
}
.menu-btn:hover { background: rgba(255,255,255,0.08); }
.menu-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.menu-btn svg { width: 22px; height: 22px; }

.mobile-nav {
  display: none;
  position: fixed; inset: 64px 0 0 0; z-index: 49;
  background: var(--navy-deep);
  padding: 24px;
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.mobile-nav li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav a {
  display: block; padding: 16px 0;
  font-family: var(--display); font-weight: 600; font-size: 18px;
  color: rgba(255,255,255,0.85);
  transition: color 120ms ease;
}
.mobile-nav a:hover  { color: #fff; }
.mobile-nav a.active { color: var(--orange); }
.mobile-nav .actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.10); }
.mobile-nav .actions .btn.ghost { border-color: rgba(255,255,255,0.65); color: #fff; font-size: 15px; padding: 14px 24px; }
.mobile-nav .actions .btn.ghost:hover { background: rgba(255,255,255,0.10); border-color: #fff; }
.mobile-nav .actions .btn.primary { font-size: 15px; padding: 14px 24px; box-shadow: 0 4px 16px rgba(237,122,58,0.35); }

/* ── 8. WHATSAPP FAB ──────────────────────────────────────── */
.fab {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--whats); color: #fff;
  width: 56px; height: 56px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  z-index: 60;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 36px rgba(37,211,102,0.5); }
.fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.fab svg { width: 26px; height: 26px; }
.fab .pulse {
  position: absolute; inset: -4px; border-radius: 999px;
  border: 2px solid var(--whats);
  animation: pulse 2.5s ease-out infinite;
  pointer-events: none;
}
@keyframes pulse {
  0%   { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.4);  opacity: 0; }
}

/* ── 9. BENTO BENEFIT CARDS ───────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.bcard {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  border: 1.4px solid var(--ink-light);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.bcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--ink-mute); }
.bcard .icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bcard .icon.orange { background: var(--orange-soft); color: var(--orange); }
.bcard .icon.green  { background: var(--green-soft);  color: var(--green); }
.bcard .icon.blue   { background: var(--blue-soft);   color: var(--blue); }
.bcard .icon.navy   { background: var(--navy); color: #fff; }
.bcard h3 { font-size: 17px; letter-spacing: -0.02em; }
.bcard p  { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.bcard .tag {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green); padding: 4px 8px;
  background: var(--green-soft); border-radius: 6px;
  align-self: flex-start;
}
.bcard.sm       { grid-column: span 2; }
.bcard.featured {
  grid-column: span 2; grid-row: span 2;
  background: var(--navy); color: #fff; border: none;
  padding: 28px; overflow: hidden; position: relative;
}
.bcard.featured::before {
  content: ""; position: absolute; right: -60px; top: -40px;
  width: 200px; height: 200px; border-radius: 999px;
  background: radial-gradient(circle, rgba(237,122,58,0.35), transparent 70%);
  pointer-events: none;
}
.bcard.featured .icon { width: 56px; height: 56px; border-radius: 14px; }
.bcard.featured h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.03em; }
.bcard.featured p  { color: rgba(255,255,255,0.75); font-size: 15px; max-width: 34ch; line-height: 1.6; }
.bcard.featured .link {
  margin-top: auto;
  color: var(--orange);
  font-family: var(--display); font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
}
.bcard.featured .badge-row { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.bcard.featured .badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 99px; padding: 5px 11px;
  font-family: var(--body); font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.bcard.featured .photo {
  height: 140px; margin-top: 14px; border-radius: 12px;
  background-image:
    linear-gradient(180deg, rgba(10,30,61,0) 40%, rgba(10,30,61,0.6) 100%),
    url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=900&auto=format&fit=crop&q=80');
  background-size: cover; background-position: center;
  position: relative; overflow: hidden;
  border: 1px solid var(--navy-line);
}

/* ── 10. FAQ ACCORDION ────────────────────────────────────── */
.faq-inner {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: clamp(32px, 4vw, 56px); align-items: flex-start;
}
.faq-aside { position: sticky; top: 100px; }
.faq-aside .section-lead { margin-top: 14px; }
.faq-aside .lead {
  font-size: 15px; color: var(--ink-soft);
  line-height: 1.6; margin-top: 14px; max-width: 34ch; font-weight: 500;
}
.faq-aside .btn { margin-top: 22px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #fff; border-radius: 12px;
  border: 1.4px solid var(--ink-light); overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.faq-item[open] { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 18px 20px; min-height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--display); font-weight: 700; font-size: 15px;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
.faq-item .pm {
  width: 32px; height: 32px; border-radius: 99px;
  background: var(--paper-warm); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; flex-shrink: 0;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
  user-select: none;
}
.faq-item[open] .pm { background: var(--orange); color: #fff; transform: rotate(180deg); }
.faq-item .answer {
  padding: 0 20px 18px;
  font-size: 14px; color: var(--ink-soft);
  line-height: 1.55; max-width: 60ch;
}

/* ── 11. CTA BOX (sub-pages) ──────────────────────────────── */
.cta-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 60px) clamp(28px, 4vw, 56px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ""; position: absolute; right: -80px; top: -60px;
  width: 300px; height: 300px; border-radius: 999px;
  background: radial-gradient(circle, rgba(237,122,58,0.2), transparent 70%);
  pointer-events: none;
}
.cta-box h2 {
  font-size: clamp(24px, 2.8vw, 34px); color: #fff;
  letter-spacing: -0.03em; max-width: 28ch;
}
.cta-box h2 .accent { color: var(--orange); }
.cta-box p { color: rgba(255,255,255,0.68); font-size: 15px; margin-top: 10px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ── 12. FOOTER — FULL (main page) ───────────────────────── */
.footer { background: var(--navy-deep); color: #fff; padding: clamp(48px, 8vw, 80px) 0 32px; font-family: var(--display); }
.cta-banner {
  background: var(--navy); border-radius: 22px;
  padding: 32px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
  position: relative; z-index: 2;
  border: 1px solid var(--navy-line);
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 {
  font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.03em; color: #fff;
}
.cta-banner h2 .accent { color: var(--orange); }
.cta-banner p { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 8px; max-width: 56ch; }
.cta-banner .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-cols {
  display: flex; flex-direction: column;
  gap: 28px; padding: 52px 0 36px;
}
.footer-brand-row {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.footer-brand-row .brand-name {
  font-family: var(--display); font-weight: 700; font-size: 14px;
  color: #fff; line-height: 1.4;
}
.footer-brand-row .brand-cnpj {
  font-size: 12px; color: rgba(255,255,255,0.45);
  font-family: var(--display); font-weight: 500;
}
.footer-info {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.finfo-item {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 16px 20px;
  transition: background 150ms ease, border-color 150ms ease;
}
.finfo-item:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); }
.finfo-ic {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.finfo-ic svg { width: 18px; height: 18px; }
.finfo-item .finfo-text { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.4; }
.finfo-item .finfo-label { font-family: var(--display); font-weight: 700; font-size: 11px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 30px; height: 30px; border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.socials a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: center; align-items: center;
  gap: 24px; flex-wrap: wrap; text-align: center;
  font-family: var(--display); font-size: 12px; color: rgba(255,255,255,0.5);
}
.footer-bottom .contacts { display: flex; gap: 22px; }
.footer-legal { display: flex; align-items: center; gap: 8px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.38); transition: color 150ms ease; }
.footer-legal a:hover { color: rgba(255,255,255,0.75); }
.footer-legal span { font-size: 12px; color: rgba(255,255,255,0.2); }

/* ── 13. CONTACT STRIP (sub-pages) ───────────────────────── */
.contact-strip {
  background: var(--navy-deep); color: #fff;
  padding: 28px 0 20px; border-top: 1px solid var(--navy-line);
}
.contact-strip-inner {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 20px; align-items: center;
}
.cs-cell { display: flex; align-items: center; gap: 10px; min-width: 0; overflow: hidden; }
.cs-cell > div { min-width: 0; overflow: hidden; }
.cs-cell .label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-cell .meta  { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-cell .ic {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--orange);
}
.cs-cell.whats .ic  { color: var(--whats); background: rgba(37,211,102,0.12); border-color: rgba(37,211,102,0.3); }
.cs-cell.social .ic { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); color: #fff; border: none; }
.cs-cell .ic svg { width: 18px; height: 18px; }
.contact-strip .footer-bottom { margin-top: 24px; }
.cs-legal {
  display: flex; align-items: center; justify-content: center;
  gap: 10px 24px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 0;
  font-size: 11px; color: rgba(255,255,255,0.45);
  font-family: var(--display);
}
.cs-legal-item { display: flex; align-items: center; gap: 5px; white-space: nowrap; flex-shrink: 0; }
.cs-legal-item svg { width: 12px; height: 12px; flex-shrink: 0; opacity: 0.6; }
.cs-legal a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 120ms ease; }
.cs-legal a:hover { color: var(--orange); }
.cs-cell .label {
  font-family: var(--display); font-weight: 700; font-size: 12px;
  line-height: 1.3; white-space: nowrap;
}
.cs-cell .meta {
  font-family: var(--display); font-weight: 500; font-size: 10px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px; letter-spacing: 0.02em; white-space: nowrap;
}

/* ── 14. RESPONSIVE (shared components) ──────────────────── */
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .logo .tagline { display: none; }
  .logo .mark { width: 32px; height: 32px; }

  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 0 28px; }
  .footer-cols .brand { grid-column: 1 / -1; }
  .cta-banner { padding: 24px; }
  .cta-banner .actions { width: 100%; }
  .cta-banner .actions .btn { flex: 1; }

  .contact-strip-inner { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .footer-info { grid-template-columns: 1fr 1fr; }
  .cs-legal { flex-wrap: wrap; }

  .faq-inner  { grid-template-columns: 1fr; gap: 28px; }
  .faq-aside  { position: static; }

}

@media (max-width: 640px) {
  /* Evita overflow horizontal global sem quebrar position:sticky */
  body { overflow-x: clip; }

  .nav { padding: 2px 0; }
  .logo .word { font-size: 17px; }

  .cta-banner { flex-direction: column; align-items: stretch; }
  .cta-banner .actions { flex-direction: column; }
  .cta-banner .actions .btn { width: 100%; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 12px; }
  .footer-bottom .contacts { display: none; }

  .contact-strip-inner { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cs-cell .label { font-size: 12px; }
  .cs-cell .meta  { font-size: 10px; }

  .footer-brand-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-brand-row .socials { margin-left: 0 !important; }
  .footer-info { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .finfo-item:nth-child(2), .finfo-item:nth-child(3) { display: none; }
  .finfo-item { flex-direction: column; text-align: center; }
  .contact-strip .finfo-item:nth-child(2), .contact-strip .finfo-item:nth-child(3) { display: flex; }
  .contact-strip .finfo-item { flex-direction: row; text-align: left; }
  .cs-legal { flex-wrap: wrap; gap: 10px 16px; }
  .cs-legal-item { white-space: normal; }

  .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .bcard.featured { grid-column: span 2; }
  .bcard.sm { grid-column: span 1; }

  .cta-box { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }

  .fab { width: 50px; height: 50px; bottom: 20px; right: 20px; }
  .fab svg { width: 24px; height: 24px; }
}

@media (max-width: 420px) {
  /* Contact strip: 1 coluna em telas muito pequenas */
  .contact-strip-inner { grid-template-columns: 1fr; gap: 12px; }
  .footer-info { grid-template-columns: 1fr; }
  .cs-legal { flex-direction: column; gap: 8px; }
  .cs-legal-item:first-child { overflow: visible; white-space: normal; }

  /* Evita qualquer overflow horizontal */
  .wrap { width: 92vw; }
  img  { max-width: 100%; }
}

/* ── 15. SCROLL REVEAL ────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0; translate: 0 28px;
    transition: opacity 600ms ease, translate 600ms ease;
  }
  .reveal.in-view { opacity: 1; translate: 0 0; }
}

/* ── 16. LEAD FORM (home + planos) ───────────────────────── */
.lead-form-section { background: #fff; }
.lead-form-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.lead-form-copy h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.035em; margin-top: 14px; }
.lead-form-copy .lead { font-size: 15px; color: var(--ink-soft); margin-top: 16px; max-width: 44ch; line-height: 1.55; font-weight: 500; }
.lead-form-promises { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.lead-form-promises li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.lead-form-promises .ck { width: 22px; height: 22px; border-radius: 99px; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex-shrink: 0; }
.lead-form-box { background: var(--paper-warm); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); border: 1px solid var(--ink-light); }
.lf-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.lf-field label { font-family: var(--display); font-weight: 600; font-size: 13.5px; color: var(--ink); }
.lf-field .req { color: var(--orange); }
.lf-field .opt { font-weight: 400; color: var(--ink-soft); font-size: 12px; }
.lf-field input,
.lf-field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--ink-light);
  border-radius: 10px; font-family: var(--body); font-size: 15px; color: var(--ink);
  background: #fff; transition: border-color 150ms ease; outline: none;
  -webkit-appearance: none;
}
.lf-field input:focus, .lf-field select:focus { border-color: var(--orange); }
.lf-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  background-size: 18px; padding-right: 36px; cursor: pointer;
}
.form-error { color: #dc2626; font-size: 13.5px; font-weight: 500; margin-bottom: 12px; }
.form-privacy { font-size: 11.5px; color: var(--ink-mute); text-align: center; margin-top: 12px; line-height: 1.45; }
.form-success { text-align: center; padding: 8px 0; }
.success-ic { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 99px; background: var(--green-soft); color: var(--green); margin-bottom: 16px; }
.success-ic svg { width: 32px; height: 32px; }
.form-success h3 { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--navy); }
.form-success p { font-size: 14.5px; color: var(--ink-soft); margin-top: 8px; line-height: 1.5; max-width: 36ch; margin-inline: auto; }
@media (max-width: 860px) { .lead-form-inner { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .lead-form-box { padding: 20px; }
  .lead-form-promises { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; }
}

/* ── 17. COOKIE CONSENT BANNER ────────────────────────────── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--navy); color: #fff;
  padding: 16px clamp(16px, 4vw, 48px);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(10,30,61,0.35);
  transform: translateY(100%); transition: transform 380ms cubic-bezier(0.34,1.2,0.64,1);
}
#cookie-banner.cb-visible { transform: translateY(0); }
.cb-text { font-size: 13.5px; color: rgba(255,255,255,0.82); line-height: 1.5; flex: 1; min-width: 200px; margin: 0; }
.cb-text a { color: var(--orange); text-underline-offset: 3px; }
.cb-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cb-btn { padding: 9px 20px; border-radius: 99px; font-family: var(--display); font-weight: 700; font-size: 13px; cursor: pointer; border: none; transition: opacity 150ms ease; white-space: nowrap; }
.cb-btn:hover { opacity: 0.85; }
.cb-primary { background: var(--orange); color: #fff; }
.cb-ghost { background: rgba(255,255,255,0.12); color: #fff; }
@media (max-width: 540px) {
  #cookie-banner { flex-direction: column; align-items: stretch; }
  .cb-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cb-btn { text-align: center; }
}
