/* ================================================================
   INCB · LP EMT — camada da página (one-page, Google Ads)
   Fundação = DS "Direção C / Clínico Turquesa" (css/tokens.css + css/base.css).
   Mesmo padrão visual da home; enxuto para conversão/performance.
   ================================================================ */
@layer components {

  :root { --header-h: 64px; }

  /* utilitários que o base.css não cobre */
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .cluster { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
  .mt-2 { margin-top: var(--space-2); } .mt-4 { margin-top: var(--space-4); } .mt-5 { margin-top: var(--space-6); }
  .center { text-align: center; }

  main > section { padding-block: var(--space-section); position: relative; }
  .section-head { max-width: 64ch; margin-bottom: var(--space-8); }
  .section-head.center { margin-inline: auto; }
  main h2 { font-size: var(--text-2xl); }
  main h3 { font-size: var(--text-lg); }

  /* ---- Botões (padrão do DS) ---- */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
    font-family: var(--font-sans); font-size: var(--text-xs); font-weight: var(--weight-bold);
    letter-spacing: var(--tracking-wide); text-transform: uppercase;
    min-height: 44px; padding: 0.78rem 1.38rem; border-radius: var(--radius-sm);
    border: 1.5px solid transparent; cursor: pointer; text-align: center;
    transition: background var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
  }
  .btn:active { transform: scale(0.98); }
  .btn:focus-visible { box-shadow: var(--shadow-focus); outline: none; }
  .btn-primary { background: var(--color-brand); color: var(--color-text-on-brand); border-color: var(--color-brand); }
  .btn-primary:hover { background: var(--color-brand-hover); border-color: var(--color-brand-hover); transform: translateY(-1px); box-shadow: var(--shadow-brand); }
  .btn-outline { background: transparent; color: var(--color-brand); border-color: color-mix(in srgb, var(--color-brand) 40%, transparent); }
  .btn-outline:hover { background: var(--color-brand-muted); transform: translateY(-1px); }
  .btn-glass-dark { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); color: rgba(255,255,255,0.9); backdrop-filter: blur(8px); }
  .btn-glass-dark:hover { background: rgba(255,255,255,0.14); color: #fff; transform: translateY(-1px); }
  .btn-lg { min-height: 52px; padding: 1rem 1.75rem; font-size: var(--text-sm); }
  .btn svg { width: 18px; height: 18px; flex: none; }

  /* ---- Badges ---- */
  .badge { display: inline-flex; align-items: center; gap: 6px; padding: 0.3rem 0.7rem; border-radius: var(--radius-pill); font-size: var(--text-2xs); font-weight: var(--weight-bold); letter-spacing: var(--tracking-wide); text-transform: uppercase; border: 1px solid transparent; }
  .badge-teal { background: var(--color-brand-muted); color: var(--color-brand); border-color: color-mix(in srgb, var(--color-brand) 20%, transparent); }
  .badge-neutral { background: var(--color-bg-subtle); color: var(--color-text-secondary); border-color: var(--color-border); }

  /* ---- Card + ticks ---- */
  .card { background: var(--color-surface); border: 1px solid var(--color-border-subtle); box-shadow: var(--shadow-sm); border-radius: var(--radius-lg); padding: var(--space-6); position: relative; overflow: clip; transition: box-shadow var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out); }
  .card h3 { margin-bottom: var(--space-2); color: var(--color-text); }
  .card > p { color: var(--color-text-secondary); }
  ul.ticks { display: grid; gap: var(--space-2); }
  ul.ticks li { position: relative; padding-left: 24px; color: var(--color-text-secondary); line-height: var(--leading-normal); }
  ul.ticks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 9px; height: 9px; border-left: 1.5px solid var(--color-brand); border-bottom: 1.5px solid var(--color-brand); transform: rotate(-45deg); }
  ul.ticks li strong { color: var(--color-text); font-weight: var(--weight-semibold); }

  /* ---- Header ---- */
  .lp-header { position: sticky; top: 0; z-index: var(--z-sticky); background: color-mix(in srgb, var(--raw-neutral-1000) 82%, transparent); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid rgba(255,255,255,0.08); }
  .lp-header__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-3); }
  .brand img { width: 267px; height: 80px; display: block; }

  /* ---- Trust strip ---- */
  .trust-strip { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); justify-content: center; }
  .trust-strip .badge { background: var(--color-surface); }

  /* ---- "O que a EMT não é" / "é" ---- */
  .pillar { display: flex; gap: var(--space-3); align-items: flex-start; }
  .pillar__mark { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; margin-top: 2px; }
  .pillar__mark svg { width: 16px; height: 16px; }
  .pillar--no .pillar__mark { background: var(--color-error-bg); color: var(--color-error); }
  .pillar--yes .pillar__mark { background: var(--color-brand-muted); color: var(--color-brand); }
  .pillar h3 { font-size: var(--text-base); margin-bottom: 2px; }
  .pillar p { font-size: var(--text-sm); color: var(--color-text-secondary); max-width: none; }

  /* ---- Fluxo de etapas ---- */
  .flow-steps { display: grid; gap: var(--space-4); }
  @media (min-width: 760px) { .flow-steps { grid-template-columns: repeat(4, 1fr); } }
  .flow-step { position: relative; background: var(--color-surface); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-sm); }
  .flow-num { font-family: var(--font-serif); font-weight: var(--weight-light); font-size: var(--text-3xl); line-height: 1; color: var(--color-accent-hover); display: block; margin-bottom: var(--space-3); }
  .flow-step h3 { font-size: var(--text-base); margin-bottom: var(--space-2); }
  .flow-step p { font-size: var(--text-sm); color: var(--color-text-secondary); max-width: none; }
  @media (min-width: 760px) { .flow-step:not(:first-child)::before { content: ""; position: absolute; top: 38px; left: calc(-1 * var(--space-4) - 1px); width: var(--space-4); height: 1px; background: var(--color-border); } }

  /* ---- Tabela comparativa EMT × ECT ---- */
  .cmp { border: 1px solid var(--color-border-subtle); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--color-surface); }
  .cmp table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
  .cmp th, .cmp td { padding: var(--space-3) var(--space-4); text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-divider); }
  .cmp thead th { font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--color-text-tertiary); background: var(--color-bg-subtle); }
  .cmp thead th:nth-child(2) { color: var(--color-brand); }
  .cmp tbody td:first-child { font-weight: var(--weight-semibold); color: var(--color-text); width: 26%; }
  .cmp tbody tr:last-child td { border-bottom: 0; }
  .cmp-wrap { overflow-x: auto; }

  /* ---- Quote / depoimentos ---- */
  .quote { background: var(--color-surface); border: 1px solid var(--color-border-subtle); box-shadow: var(--shadow-md); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 40px); position: relative; overflow: clip; }
  .quote::before { content: ""; position: absolute; top: 0; right: 0; width: 180px; height: 180px; background: radial-gradient(circle, var(--color-accent-muted) 0%, transparent 65%); pointer-events: none; }
  .quote-text { font-family: var(--font-serif); font-style: italic; font-weight: var(--weight-regular); font-size: var(--text-lg); line-height: var(--leading-snug); color: var(--color-text); max-width: 60ch; }
  .quote-author { margin-top: var(--space-3); font-size: var(--text-xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--color-text-tertiary); }
  .testi-grid { display: grid; gap: var(--space-4); }
  @media (min-width: 760px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
  .testi { background: var(--color-surface); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-sm); }
  .testi p { font-family: var(--font-serif); font-style: italic; font-size: var(--text-base); color: var(--color-text); line-height: var(--leading-snug); max-width: none; }
  .testi footer { margin-top: var(--space-3); font-size: var(--text-xs); color: var(--color-text-tertiary); font-style: normal; }

  /* ---- FAQ ---- */
  .faq { display: grid; gap: var(--space-3); }
  @media (min-width: 768px) { .faq { grid-template-columns: 1fr 1fr; align-items: start; } }
  .faq details { background: var(--color-surface); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-xs); }
  .faq details:has(> summary:focus-visible) { outline: 2px solid var(--color-border-focus); outline-offset: 2px; }
  .faq summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); font-family: var(--font-serif); font-weight: var(--weight-medium); font-size: var(--text-base); color: var(--color-text); }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary .plus { position: relative; width: 16px; height: 16px; flex: none; }
  .faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; background: var(--color-accent); border-radius: 2px; transition: transform var(--duration-base) var(--ease-out); }
  .faq summary .plus::before { inset: 7px 0; height: 2px; }
  .faq summary .plus::after { inset: 0 7px; width: 2px; }
  .faq details[open] summary .plus::after { transform: scaleY(0); }
  .faq .answer { padding: 0 20px 18px; color: var(--color-text-secondary); line-height: var(--leading-relaxed); }
  .faq .answer p { max-width: none; }

  /* ---- Card do médico ---- */
  .doc { display: grid; gap: var(--space-5); align-items: center; }
  @media (min-width: 640px) { .doc { grid-template-columns: auto 1fr; } }
  .doc__photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 3px solid var(--color-surface); box-shadow: var(--shadow-md), 0 0 0 1px var(--color-border-subtle); }
  .doc__name { font-family: var(--font-serif); font-size: var(--text-xl); color: var(--color-text); }
  .doc__reg { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-text-tertiary); margin: 4px 0 var(--space-3); letter-spacing: .5px; }
  .doc__bio { color: var(--color-text-secondary); }

  /* ---- Accordions legais ---- */
  .legal { display: grid; gap: var(--space-2); max-width: 820px; }
  .legal details { border: 1px solid var(--color-border-subtle); border-radius: var(--radius-md); background: var(--color-surface); }
  .legal summary { list-style: none; cursor: pointer; padding: 14px 18px; font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--color-text); display: flex; justify-content: space-between; gap: var(--space-3); }
  .legal summary::-webkit-details-marker { display: none; }
  .legal .legal-body { padding: 0 18px 16px; font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--color-text-tertiary); }
  .legal .legal-body p { max-width: none; } .legal .legal-body p + p { margin-top: var(--space-2); }
  .legal .legal-body ol { padding-left: 18px; list-style: decimal; display: grid; gap: 6px; }

  /* ---- CTA final ---- */
  .cta-final { background: var(--hero-dark); border-radius: var(--radius-xl); padding: clamp(36px, 6vw, 72px); text-align: center; position: relative; overflow: clip; box-shadow: var(--shadow-xl); }
  .cta-final h2 { color: #fff; }
  .cta-final p { color: rgba(255,255,255,0.7); max-width: 56ch; margin-inline: auto; }
  .cta-final .eyebrow { color: var(--raw-accent-300); justify-content: center; }

  /* ---- Footer ---- */
  .lp-footer { background: var(--raw-neutral-950); color: rgba(255,255,255,0.6); padding-block: var(--space-12) var(--space-8); }
  .lp-footer a { color: rgba(255,255,255,0.72); }
  .lp-footer a:hover { color: var(--color-accent); }
  .lp-footer img { width: 267px; height: 80px; opacity: 0.92; margin-bottom: var(--space-3); }
  @media (max-width: 640px) { .lp-footer img { width: 184px; height: 55px; } }
  .lp-footer .foot-legal { font-size: var(--text-sm); line-height: var(--leading-relaxed); }
  .lp-footer .foot-legal strong { color: rgba(255,255,255,0.8); font-weight: var(--weight-medium); }
  .lp-footer .foot-bottom { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid rgba(255,255,255,0.1); font-size: var(--text-xs); color: rgba(255,255,255,0.4); }
}

/* ================================================================
   EFFECTS
   ================================================================ */
@layer effects {
  :root {
    --hero-dark:
      radial-gradient(ellipse 80% 60% at 15% 35%, oklch(63% 0.088 190 / 0.22), transparent 60%),
      radial-gradient(ellipse 60% 80% at 85% 15%, oklch(38% 0.075 190 / 0.85), transparent 55%),
      radial-gradient(ellipse 60% 50% at 80% 92%, oklch(78% 0.155 40 / 0.08), transparent 55%),
      linear-gradient(150deg, var(--raw-neutral-1000) 0%, var(--raw-brand-950) 48%, var(--raw-neutral-1000) 100%);
  }

  .hero { position: relative; overflow: clip; isolation: isolate; background: var(--hero-dark); border-radius: 0 0 var(--radius-2xl) var(--radius-2xl); padding-block: clamp(48px, 8vw, 104px); }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5; background-image: radial-gradient(oklch(76% 0.08 190 / 0.10) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 60% 30%, #000, transparent 75%); }
  .hero-inner { position: relative; display: grid; gap: var(--space-6); align-items: center; }
  @media (min-width: 920px) { .hero-inner { grid-template-columns: 1.15fr 0.85fr; gap: var(--space-12); } }
  .hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 7px 16px 7px 12px; border-radius: var(--radius-pill); margin-bottom: var(--space-4); }
  .hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--raw-accent-400); }
  .hero-eyebrow span { font-size: var(--text-2xs); font-weight: var(--weight-bold); letter-spacing: var(--tracking-widest); text-transform: uppercase; color: rgba(255,255,255,0.6); }
  .hero h1 { color: #fff; font-family: var(--font-serif); font-weight: var(--weight-light); font-size: var(--text-4xl); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); margin-bottom: var(--space-4); }
  .hero h1 em { font-style: italic; background: linear-gradient(100deg, var(--raw-brand-300), var(--raw-accent-300) 50%, var(--raw-brand-200)); background-size: 250% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: gradPan 6s linear infinite; }
  .hero-lead { font-size: var(--text-md); color: rgba(255,255,255,0.75); max-width: 50ch; line-height: var(--leading-relaxed); margin-bottom: var(--space-3); }
  .hero-sub { font-size: var(--text-sm); color: rgba(255,255,255,0.55); max-width: 50ch; margin-bottom: var(--space-6); }
  .hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); }

  .hero-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 8px 32px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.1); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-radius: var(--radius-lg); padding: var(--space-5); }
  .hero-card h2 { color: #fff; font-size: var(--text-lg); margin-bottom: var(--space-3); }
  .hero-card ul { display: grid; gap: var(--space-2); }
  .hero-card li { position: relative; padding-left: 24px; font-size: var(--text-sm); color: rgba(255,255,255,0.8); }
  .hero-card li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 9px; height: 9px; border-left: 1.5px solid var(--raw-brand-300); border-bottom: 1.5px solid var(--raw-brand-300); transform: rotate(-45deg); }
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .hero-eyebrow, .hero-card { background: oklch(38% 0.075 190 / 0.6); }
    .lp-header { background: var(--raw-neutral-1000); }
  }

  .card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: color-mix(in srgb, var(--color-brand) 35%, var(--color-border-subtle)); }

  /* reveal + stagger */
  .js .reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--duration-slower) var(--ease-premium), transform var(--duration-slower) var(--ease-premium); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js [data-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity var(--duration-slower) var(--ease-premium), transform var(--duration-slower) var(--ease-premium); transition-delay: calc(min(var(--i, 0), 6) * 80ms); }
  .js [data-stagger].is-visible > * { opacity: 1; transform: none; }

  @media (prefers-reduced-motion: reduce) {
    .js .reveal, .js [data-stagger] > * { opacity: 1 !important; transform: none !important; }
    .hero h1 em { background-position: 0 center; animation: none; }
  }
}

/* ================================================================
   HEADER · AÇÕES (toggle de tema + CTA)
   ================================================================ */
@layer components {
  .lp-header__actions { display: flex; align-items: center; gap: var(--space-2); }

  .theme-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    border-radius: var(--radius-sm); color: var(--color-text-secondary);
    border: 1.5px solid transparent; flex: none;
    transition: color var(--duration-base) var(--ease-out),
                background var(--duration-base) var(--ease-out),
                border-color var(--duration-base) var(--ease-out),
                transform var(--duration-fast) var(--ease-out);
  }
  .theme-toggle:hover { color: var(--color-brand); background: var(--color-brand-muted); }
  .theme-toggle:active { transform: scale(0.92); }
  .theme-toggle:focus-visible { box-shadow: var(--shadow-focus); outline: none; }
  /* sol/lua sobrepostos: troca com crossfade + giro */
  .theme-toggle svg { grid-area: 1 / 1; width: 20px; height: 20px;
    transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-spring); }
  .theme-toggle__sun  { opacity: 0; transform: rotate(-90deg) scale(0.5); }
  .theme-toggle__moon { opacity: 1; transform: none; }
  [data-theme="dark"] .theme-toggle__sun  { opacity: 1; transform: none; }
  [data-theme="dark"] .theme-toggle__moon { opacity: 0; transform: rotate(90deg) scale(0.5); }

  /* CTA do header some no mobile (o widget flutuante de WhatsApp cobre a ação) */
  @media (max-width: 640px) { .header-cta { display: none; } }
}

/* ================================================================
   MICRO-INTERAÇÕES (enxuto · técnica 22: saída < entrada · RM-safe)
   ================================================================ */
@layer effects {
  /* ícone do botão dá um leve avanço no hover */
  .btn svg { transition: transform var(--duration-base) var(--ease-spring); }
  .btn:hover svg { transform: translateX(2px); }

  /* FAQ: realce no hover do summary + cor do "+" */
  .faq summary { transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out); border-radius: var(--radius-md); }
  .faq summary:hover { background: var(--color-brand-muted); }
  .faq summary:hover .plus::before, .faq summary:hover .plus::after { background: var(--color-brand); }

  /* etapas e depoimentos ganham o mesmo lift dos cards */
  .flow-step, .testi {
    transition: box-shadow var(--duration-base) var(--ease-out),
                transform var(--duration-base) var(--ease-out),
                border-color var(--duration-base) var(--ease-out);
  }
  .flow-step:hover, .testi:hover {
    box-shadow: var(--shadow-md); transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--color-brand) 30%, var(--color-border-subtle));
  }

  @media (prefers-reduced-motion: reduce) {
    .btn:hover svg, .flow-step:hover, .testi:hover { transform: none; }
  }
}

/* ================================================================
   FASE 1 · LOGO POR TEMA · PROGRESSO · GRADIENT PAN · HEADER MOBILE
   ================================================================ */
@layer components {
  .brand { display: inline-flex; align-items: center; }
  .brand__logo { display: inline-flex; line-height: 0; }
  @media (max-width: 640px) { .brand img { width: 184px; height: 55px; } }
  /* troca por tema do header: claro = logo colorida, escuro = logo branca */
  .brand__logo--white { display: none; }
  [data-theme="dark"] .brand__logo--color { display: none; }
  [data-theme="dark"] .brand__logo--white { display: inline-flex; }
  .foot-logo { display: inline-flex; line-height: 0; }

  /* header deixa de ser fixo no mobile (item H) */
  @media (max-width: 640px) { .lp-header { position: static; } }

  /* header sempre escuro: ícone do toggle claro para manter contraste em tema claro */
  .lp-header .theme-toggle { color: rgba(255,255,255,0.72); }
  .lp-header .theme-toggle:hover { color: #fff; background: rgba(255,255,255,0.10); }
}

@layer effects {
  /* barra de progresso de leitura acima do header (item C) */
  .scroll-progress {
    position: fixed; inset: 0 0 auto 0; height: 3px; width: 100%;
    transform: scaleX(0); transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--color-brand), var(--color-accent));
    z-index: calc(var(--z-sticky) + 5); pointer-events: none; will-change: transform;
  }
  /* gradient pan do "em Brasília" (item D) */
  @keyframes gradPan { to { background-position: 250% center; } }
}

/* ================================================================
   FASE 2 · PROVA SOCIAL (K) · CONTATO (J) · RODAPÉ COMPACTO (I)
   ================================================================ */
@layer components {
  /* item I — seção legal e rodapé mais compactos + accordion menor */
  .section--legal { padding-block: var(--space-section-sm); }
  .legal .legal-body { font-size: var(--text-xs); }
  .legal .legal-body ol { gap: 4px; }
  .lp-footer { padding-block: var(--space-8) var(--space-6); }
  .lp-footer .foot-bottom { margin-top: var(--space-4); padding-top: var(--space-3); }
  .foot-map { margin-top: var(--space-5); }
  .foot-map iframe { width: 100%; height: 240px; border: 0; border-radius: var(--radius-md); display: block; filter: grayscale(0.25); }
  .foot-maplink { display: inline-block; margin-top: var(--space-2); font-size: var(--text-sm); color: rgba(255,255,255,0.75); }
  .foot-maplink:hover { color: var(--color-accent); }

  /* item J — Localização e contato */
  .contact { display: grid; gap: var(--space-5); }
  @media (min-width: 760px) { .contact { grid-template-columns: 1fr 1fr; } }
  .contact-card { background: var(--color-surface); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); }
  .contact-card h3 { font-size: var(--text-base); margin-bottom: var(--space-2); }
  .contact-card p { color: var(--color-text-secondary); max-width: none; }
  .contact-addr { font-style: normal; }
  .contact-list { display: grid; gap: var(--space-2); margin-top: var(--space-1); }
  .contact-list li { display: flex; align-items: baseline; gap: var(--space-3); }
  .contact-list__label { flex: none; min-width: 78px; font-size: var(--text-2xs); font-weight: var(--weight-bold); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--color-text-tertiary); }
  .contact-list a { color: var(--color-brand); font-weight: var(--weight-semibold); }
  .contact-list a:hover { color: var(--color-brand-hover); }

  /* item K — prova social (Google Reviews) */
  .reviews { display: grid; gap: var(--space-5); }
  @media (min-width: 880px) { .reviews { grid-template-columns: 320px 1fr; align-items: start; } }
  .rev-summary { background: var(--color-surface); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); text-align: center; }
  .rev-summary__brand { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: var(--weight-semibold); color: var(--color-text); }
  .rev-score { font-family: var(--font-serif); font-size: var(--text-5xl); line-height: 1; color: var(--color-text); margin: var(--space-2) 0; }
  .stars { color: #f5a623; letter-spacing: 2px; font-size: var(--text-lg); line-height: 1; }
  .rev-summary__count { margin-top: var(--space-3); font-weight: var(--weight-semibold); color: var(--color-text); }
  .rev-summary__val { font-size: var(--text-xs); color: var(--color-text-tertiary); }
  .rev-summary .btn { margin-top: var(--space-4); width: 100%; }
  .rev-grid { display: grid; gap: var(--space-4); }
  @media (min-width: 560px) { .rev-grid { grid-template-columns: 1fr 1fr; } }
  .rev-card { background: var(--color-surface); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-sm); }
  .rev-head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-2); }
  .rev-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--color-brand-muted); color: var(--color-brand); font-weight: var(--weight-bold); font-size: var(--text-sm); }
  .rev-name { font-weight: var(--weight-semibold); color: var(--color-text); }
  .rev-sub { font-size: var(--text-xs); color: var(--color-text-tertiary); }
  .rev-text { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: var(--leading-relaxed); margin-top: var(--space-2); max-width: none; }
}

/* ================================================================
   FASE 3 · CONSTELLATION NO HERO (E) · BLUEPRINT GRID NO CTA (F)
   ================================================================ */
@layer effects {
  /* E — rede neural sutil atrás do conteúdo do hero */
  .hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.55; }
  .hero-inner { z-index: 1; }
  @media (prefers-reduced-motion: reduce) { .hero-net { display: none; } }

  /* F — blueprint grid discreto no bloco escuro do CTA final */
  .cta-final::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
    background-image:
      linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px),
      linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 22px 22px, 22px 22px, 110px 110px, 110px 110px;
    -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 30%, #000, transparent 82%);
    mask-image: radial-gradient(ellipse 85% 80% at 50% 30%, #000, transparent 82%);
  }
  .cta-final > * { position: relative; z-index: 1; }
}
