/* ============================================================
   Farmelhor Itaúna — Design System (compartilhado)
   Varejo farmacêutico limpo: branco, vermelho da marca, verde só no WhatsApp
   Tipografia: Figtree
   ============================================================ */

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Marca */
  --red:       #c4161c;
  --red-dark:  #a31217;
  --red-tint:  #fdeeee;
  --yellow:    #ffd100;
  --wa:        #15803d;   /* verde do WhatsApp; texto branco ≥ 4.5:1 */
  --wa-dark:   #116a33;
  --wa-tint:   #e8f5ec;

  /* Neutros */
  --ink:      #16151a;
  --gray:     #3d3c44;
  --muted:    #64636c;
  --line:     #e6e5ea;
  --bg:       #ffffff;
  --bg-soft:  #f4f4f6;

  /* Sistema */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(22,21,26,.06);
  --shadow:    0 2px 6px rgba(22,21,26,.05), 0 10px 24px rgba(22,21,26,.06);
  --shadow-lg: 0 8px 18px rgba(22,21,26,.08), 0 22px 44px rgba(22,21,26,.10);
  --ring:      0 0 0 3px rgba(196,22,28,.35);
  --ease:      cubic-bezier(.2,.8,.2,1);

  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 32px);

  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

html {
  scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%;
  accent-color: var(--red); scrollbar-color: #c8c7cd var(--bg-soft);
}
::selection { background: var(--yellow); color: var(--ink); }
body {
  font-family: var(--font); color: var(--gray); background: var(--bg);
  font-size: 16px; line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; font-weight: 800; letter-spacing: -0.015em; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
strong, b { color: var(--ink); font-weight: 700; }

a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: none; box-shadow: var(--ring); border-radius: 8px;
}

/* ── Layout ────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(48px, 7vw, 80px) 0; }
.section.tight { padding-top: 0; }
.section.soft { background: var(--bg-soft); }

/* Cabeçalho de seção: título à esquerda, ação opcional à direita */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.section-head > div { max-width: 640px; }
.section-title { font-size: clamp(1.45rem, 2.6vw, 2rem); }
.section-sub { color: var(--muted); font-size: 1rem; margin-top: 6px; }
.section-link {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .95rem; color: var(--red);
  padding: 6px 2px; transition: gap .2s var(--ease);
}
.section-link svg { width: 18px; height: 18px; }
.section-link:hover { gap: 10px; text-decoration: underline; text-underline-offset: 4px; }

.text-center { text-align: center; }
.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;
}

/* ── Botões ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  min-height: 46px; padding: 12px 22px; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-wa      { background: var(--wa); color: #fff; }
.btn-wa:hover{ background: var(--wa-dark); }
.btn-red     { background: var(--red); color: #fff; }
.btn-red:hover{ background: var(--red-dark); }
.btn-white   { background: #fff; color: var(--red); }
.btn-white:hover { background: var(--red-tint); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost   { background: var(--bg-soft); color: var(--ink); }
.btn-ghost:hover { background: #e9e9ed; }
.btn-on-red  { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-on-red:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-lg { min-height: 54px; padding: 15px 28px; font-size: 1.02rem; }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: .88rem; }
.btn-block { width: 100%; }

/* ── Topbar ────────────────────────────────────────────────── */
.topbar {
  background: var(--red); color: #fff; text-align: center;
  font-size: .84rem; font-weight: 500; line-height: 1.45; padding: 8px 16px;
}
.topbar svg { display: inline-block; vertical-align: -3px; margin-right: 6px; width: 16px; height: 16px; color: var(--yellow); }
.topbar strong { color: #fff; }

/* ── Header ────────────────────────────────────────────────── */
header.site {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--line); transition: box-shadow .2s;
}
header.site.is-scrolled { box-shadow: 0 4px 16px rgba(22,21,26,.07); }
.header-inner {
  display: flex; align-items: center; gap: 24px;
  max-width: var(--maxw); margin: 0 auto; padding: 12px var(--gutter); min-height: 72px;
}
.logo-wrap { flex-shrink: 0; }
.logo-wrap img { height: 40px; width: auto; }
nav.primary { display: flex; gap: 4px; align-items: center; margin-left: 12px; }
nav.primary a {
  font-size: .95rem; font-weight: 600; color: var(--gray);
  padding: 8px 12px; border-radius: var(--radius-pill); transition: background .18s, color .18s;
}
nav.primary a:hover { background: var(--bg-soft); color: var(--ink); }
.header-ctas { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-weight: 700; font-size: .92rem; min-height: 44px; padding: 10px 18px; border-radius: var(--radius-pill);
}
.header-cta svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.header-cta-tel { color: var(--ink); padding-inline: 12px; transition: background .18s; }
.header-cta-tel svg { color: var(--red); }
.header-cta-tel:hover { background: var(--bg-soft); }
.header-cta-wa { background: var(--wa); color: #fff; transition: background .18s; }
.header-cta-wa:hover { background: var(--wa-dark); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; border-radius: var(--radius-pill);
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.nav-toggle:hover { background: var(--bg-soft); }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--ink); }

/* ── Home: banner principal ────────────────────────────────── */
.hero { padding: clamp(16px, 3vw, 28px) 0 0; }
.hero-banner {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch;
  background: var(--red); color: #fff; border-radius: var(--radius-lg); overflow: hidden;
  min-height: clamp(360px, 38vw, 440px);
}
.hero-copy { padding: clamp(32px, 5vw, 60px); display: flex; flex-direction: column; justify-content: center; }
.hero-copy h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -0.025em; margin-bottom: 16px; }
.hero-copy p { color: #ffe7e5; font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 34em; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.22); list-style: none;
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: #fff; }
.hero-facts svg { width: 18px; height: 18px; color: var(--yellow); flex-shrink: 0; }

/* Carrossel de fachadas */
.hero-carousel { position: relative; min-height: 280px; background: var(--red-dark); }
.hcar-track { position: absolute; inset: 0; }
.hcar-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s ease; }
.hcar-slide.is-active { opacity: 1; }
.hcar-slide img { width: 100%; height: 100%; object-fit: cover; }
.hcar-slide figcaption {
  position: absolute; left: 16px; bottom: 16px; background: #fff; color: var(--ink);
  font-weight: 700; font-size: .85rem; padding: 7px 14px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
}
.hcar-dots { position: absolute; right: 16px; bottom: 22px; display: flex; gap: 6px; }
.hcar-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: var(--radius-pill); cursor: pointer;
  background: rgba(255,255,255,.6); transition: width .25s var(--ease), background .2s;
}
.hcar-dots button.active { background: #fff; width: 24px; }
/* área de toque maior sem mudar o desenho */
.hcar-dots button { position: relative; }
.hcar-dots button::after { content: ''; position: absolute; inset: -10px -4px; }

/* ── Home: atalhos ─────────────────────────────────────────── */
.shortcuts {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
  margin-top: clamp(20px, 3vw, 28px); list-style: none;
}
.shortcut {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 18px 8px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  font-weight: 700; font-size: .9rem; color: var(--ink); line-height: 1.25; height: 100%;
  transition: border-color .18s, box-shadow .18s, transform .18s var(--ease);
}
.shortcut:hover { border-color: #d4d3da; box-shadow: var(--shadow); transform: translateY(-2px); }
.shortcut-icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red-tint); color: var(--red);
}
.shortcut-icon svg { width: 24px; height: 24px; }
.shortcut.is-wa .shortcut-icon { background: var(--wa-tint); color: var(--wa); }

/* ── Banner gerenciável ────────────────────────────────────── */
.home-banner { padding: clamp(40px, 6vw, 64px) 0 0; }
.home-banner .banner-frame { display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); }
.home-banner img { width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; }
@media (max-width: 640px) {
  .home-banner .banner-frame { border-radius: var(--radius); }
  .home-banner img { aspect-ratio: auto; }
}

/* ── Promoções (cards de produto) ──────────────────────────── */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.promo-card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.promo-card:hover { box-shadow: var(--shadow); border-color: #d9d8de; }
.promo-tag {
  position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--red); color: #fff;
  font-size: .78rem; font-weight: 800; padding: 4px 9px; border-radius: 6px; font-variant-numeric: tabular-nums;
}
.promo-img, .promo-img-ph { width: 100%; aspect-ratio: 1 / 1; background: #fff; }
.promo-img { object-fit: contain; padding: 14px; }
.promo-img-ph { display: grid; place-items: center; background: var(--bg-soft); }
.promo-img-ph svg { width: 44px; height: 44px; opacity: .5; }
.promo-body { display: flex; flex-direction: column; flex: 1; padding: 4px 16px 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.promo-name { font-size: 1rem; font-weight: 700; line-height: 1.3; margin-bottom: 4px; }
.promo-desc {
  font-size: .86rem; color: var(--muted); line-height: 1.45; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.promo-prices { display: flex; flex-direction: column; margin: auto 0 14px; }
.promo-old { font-size: .85rem; color: var(--muted); text-decoration: line-through; }
.promo-new { font-size: 1.5rem; font-weight: 800; color: var(--red); line-height: 1.2; }
.promo-new::before { content: 'R$ '; font-size: .85rem; font-weight: 700; }
.promo-new, .promo-old { font-variant-numeric: tabular-nums; }
.promo-state { grid-column: 1 / -1; text-align: center; padding: 48px 16px; color: var(--muted); background: var(--bg-soft); border-radius: var(--radius); }
.promo-state b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
/* skeleton de carregamento */
.promo-skel { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.promo-skel::before, .promo-skel::after { content: ''; display: block; background: var(--bg-soft); }
.promo-skel::before { aspect-ratio: 1 / 1; }
.promo-skel::after { height: 96px; margin: 16px; border-radius: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .promo-skel::before, .promo-skel::after { animation: skel 1.4s ease-in-out infinite; }
}
@keyframes skel { 50% { opacity: .55; } }

/* ── Cards de unidade ──────────────────────────────────────── */
.units-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.unit-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s;
}
.unit-card:hover { box-shadow: var(--shadow); border-color: #d9d8de; }
.unit-media { position: relative; }
.unit-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg-soft); }
.unit-media .open-now { position: absolute; top: 12px; left: 12px; margin: 0; box-shadow: var(--shadow-sm); }
.unit-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.unit-name { font-size: 1.2rem; margin-bottom: 2px; }
.unit-tag { font-size: .88rem; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.unit-meta { list-style: none; display: grid; gap: 8px; margin-bottom: 18px; font-size: .92rem; color: var(--gray); }
.unit-meta li { display: flex; gap: 10px; align-items: flex-start; }
.unit-meta svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--red); }
.unit-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.unit-actions .btn { padding-inline: 12px; }
.unit-more {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; grid-column: 1 / -1;
  font-weight: 700; font-size: .9rem; color: var(--red); padding: 10px 0 0;
}
.unit-more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.unit-more:hover svg { transform: translateX(3px); }
.unit-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Status aberto/fechado */
.open-now {
  display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 700;
  color: var(--wa-dark); background: var(--wa-tint); padding: 5px 11px; border-radius: var(--radius-pill); margin-bottom: 12px;
}
.open-now .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); }
.open-now.is-closed { color: var(--red-dark); background: var(--red-tint); }
.open-now.is-closed .dot { background: var(--red); }
.unit-media .open-now { background: #fff; }

/* ── Faixa de benefícios ───────────────────────────────────── */
.trust { background: var(--bg-soft); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  max-width: var(--maxw); margin: 0 auto; padding: 32px var(--gutter);
}
.section .trust-grid { padding: 0; max-width: none; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item svg {
  width: 48px; height: 48px; flex-shrink: 0; padding: 12px; border-radius: 50%;
  background: var(--red-tint); color: var(--red);
}
.section.soft .trust-item svg, .trust .trust-item svg { background: #fff; }
.trust-item b { display: block; font-size: .98rem; }
.trust-item span { font-size: .86rem; color: var(--muted); }

/* ── Avaliações (Google) ───────────────────────────────────── */
.google-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px);
}
.google-cta .g-left { display: flex; align-items: center; gap: 18px; }
.google-cta .g-logo { width: 44px; height: 44px; flex-shrink: 0; }
.google-cta h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); margin-bottom: 4px; }
.google-cta p { font-size: .92rem; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.g-stars { display: inline-flex; gap: 2px; }
.g-stars svg { width: 18px; height: 18px; fill: #f5a623; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer;
  font-weight: 700; font-size: 1.02rem; color: var(--ink); padding: 20px 4px; list-style: none;
}
.faq-q:hover { color: var(--red); }
.faq-q svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--red); transition: transform .25s var(--ease); }
.faq-item[open] .faq-q svg { transform: rotate(45deg); }
.faq-a { padding: 0 4px 22px; color: var(--muted); font-size: .98rem; max-width: 68ch; }
details.faq-item > summary::-webkit-details-marker { display: none; }

/* Duas colunas: título à esquerda, perguntas à direita */
.faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 56px; align-items: start; }
.faq-layout .section-head { display: block; }

/* ── Faixa CTA ─────────────────────────────────────────────── */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  background: var(--red); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 48px);
}
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 6px; }
.cta-band p { color: #ffe7e5; max-width: 36em; }

/* ── Página de unidade ─────────────────────────────────────── */
.unit-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 48px) 0; }
.unit-hero-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-soft); }
.unit-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.unit-hero-img.hero-carousel { position: relative; min-height: 0; }
.unit-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -0.025em; margin-bottom: 12px; }
.unit-hero .section-sub { font-size: 1.08rem; max-width: 34em; }
.unit-hero .hero-btns { margin-top: 4px; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--red); text-decoration-color: currentColor; }
.gbadge {
  display: inline-flex; align-items: center; gap: 10px; margin: 20px 0 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 8px 16px 8px 12px; font-size: .9rem; font-weight: 600; color: var(--ink); transition: border-color .18s;
}
.gbadge:hover { border-color: var(--ink); }
.gbadge svg.glogo { width: 20px; height: 20px; }
.gbadge span.muted { color: var(--muted); font-weight: 500; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.info-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card h3 { font-size: 1.08rem; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.info-card h3 svg { width: 22px; height: 22px; color: var(--red); }
.info-card p, .info-card li { font-size: .96rem; color: var(--gray); }
.info-card > .btn { margin-top: auto !important; }
.info-card p + .btn { margin-top: 18px !important; }
.hours-table { list-style: none; font-variant-numeric: tabular-nums; }
.hours-table li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours-table li:last-child { border-bottom: 0; }
.hours-table .today { color: var(--wa-dark); font-weight: 700; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ── Footer ────────────────────────────────────────────────── */
footer.site { background: var(--bg-soft); color: var(--gray); padding: clamp(48px, 6vw, 64px) var(--gutter) 28px; margin-top: clamp(48px, 7vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.3fr 1fr; gap: 40px; max-width: var(--maxw); margin: 0 auto 36px; }
.footer-brand img { height: 38px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: .92rem; color: var(--muted); max-width: 32ch; }
.footer-col h4 { font-size: .98rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col li { font-size: .92rem; color: var(--muted); line-height: 1.5; }
.footer-col a { color: var(--ink); transition: color .18s; }
.footer-col a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  max-width: var(--maxw); margin: 0 auto; border-top: 1px solid var(--line); padding-top: 22px;
  font-size: .82rem; color: var(--muted); line-height: 1.9;
}
.footer-bottom a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--red); }

/* ── Botões flutuantes ─────────────────────────────────────── */
.float-btns { position: fixed; bottom: 20px; right: 20px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; position: relative; transition: transform .2s var(--ease); }
.float-btn:hover { transform: scale(1.06); }
.float-btn svg { width: 27px; height: 27px; fill: #fff; }
.float-wa  { background: var(--wa);  box-shadow: 0 6px 18px rgba(17,106,51,.35); }
.float-tel { background: var(--red); box-shadow: 0 6px 18px rgba(163,18,23,.32); }
@media (min-width: 861px) { .float-tel { display: none; } }
.float-tip {
  position: absolute; right: 66px; background: var(--ink); color: #fff;
  font-size: .8rem; font-weight: 600; padding: 6px 11px; border-radius: 8px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.float-btn:hover .float-tip, .float-btn:focus-visible .float-tip { opacity: 1; }
.float-btn:focus-visible { border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--ink); }

/* ── Menu mobile (gaveta) ──────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: rgba(22,21,26,.45);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 340px);
  background: #fff; padding: 16px 20px 24px; transform: translateX(100%); transition: transform .3s var(--ease);
  display: flex; flex-direction: column; gap: 2px; overflow-y: auto;
}
.mobile-menu.open .mobile-panel { transform: translateX(0); }
.mobile-panel .close { align-self: flex-end; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.mobile-panel .close:hover { background: var(--bg-soft); }
.mobile-panel .close svg { width: 24px; height: 24px; stroke: var(--ink); }
.mobile-panel a.mlink { font-weight: 700; font-size: 1.05rem; color: var(--ink); padding: 14px 4px; border-bottom: 1px solid var(--line); }
.mobile-panel .btn { margin-top: 16px; }
.mobile-panel .btn + .btn { margin-top: 10px; }

/* ── Responsivo ────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .header-cta-tel span { display: none; }
  .shortcuts { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 940px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .unit-hero { grid-template-columns: 1fr; }
  .unit-hero-img { order: -1; aspect-ratio: 16 / 10; }
  .faq-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  nav.primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-banner { grid-template-columns: 1fr; min-height: 0; }
  .hero-carousel { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .header-inner { gap: 8px; min-height: 64px; }
  .logo-wrap img { height: 34px; }
  .header-ctas .header-cta-tel { display: none; }
  .header-cta-wa { padding-inline: 14px; }
  .hero { padding-top: 12px; }
  .hero > .container { padding-inline: 12px; }
  .hero-banner { border-radius: var(--radius); }
  .hero-btns .btn { flex: 1 1 100%; }
  .shortcuts { gap: 8px; }
  .shortcut { padding: 14px 4px 12px; font-size: .82rem; }
  .shortcut-icon { width: 46px; height: 46px; }
  .trust-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  /* Promoções viram trilho horizontal no celular */
  .promo-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .promo-grid > * { scroll-snap-align: start; }
  .promo-grid > .promo-state { grid-column: auto; width: calc(100vw - var(--gutter) * 2); }
  .google-cta .g-left { align-items: flex-start; }
  .cta-band .btn { width: 100%; }
}

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .shortcut:hover, .float-btn:hover { transform: none; }
}
