/* ==========================================================================
   FONSECA FARMA — Demonstração Willian Systems
   Design system: fundo escuro contínuo (azul-marinho + petróleo + verde),
   fotografia grande, glass cards translúcidos, profundidade e movimento sutil
   ========================================================================== */

:root {
  --blue-950: #071f34;
  --blue-900: #0a2f4d;
  --petrol-700: #0e4a52;
  --petrol-500: #17707a;
  --green-700: #1f7a4d;
  --green-600: #268a5b;
  --green-500: #2e9e6b;
  --green-400: #3fb87e;
  --white: #ffffff;

  /* tipografia sobre fundo escuro */
  --text-hi: rgba(255, 255, 255, 0.96);
  --text-body: rgba(255, 255, 255, 0.78);
  --text-muted: rgba(255, 255, 255, 0.56);
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-hover: rgba(255, 255, 255, 0.095);

  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 10px rgba(2, 8, 14, 0.28);
  --shadow-md: 0 10px 28px rgba(2, 8, 14, 0.34);
  --shadow-lg: 0 20px 48px rgba(2, 8, 14, 0.4);
  --shadow-xl: 0 30px 70px rgba(1, 6, 11, 0.5);

  --container: 1180px;
  --container-wide: 1400px;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--text-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-color: var(--blue-950);
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.012) 0px, rgba(255, 255, 255, 0.012) 1px, transparent 1px, transparent 3px),
    radial-gradient(ellipse 900px 620px at 12% 6%, rgba(63, 184, 126, 0.16), transparent 60%),
    radial-gradient(ellipse 780px 600px at 88% 22%, rgba(23, 112, 122, 0.24), transparent 60%),
    radial-gradient(ellipse 880px 680px at 15% 46%, rgba(31, 122, 77, 0.15), transparent 60%),
    radial-gradient(ellipse 820px 640px at 85% 66%, rgba(26, 99, 152, 0.22), transparent 62%),
    radial-gradient(ellipse 900px 700px at 20% 86%, rgba(63, 184, 126, 0.13), transparent 60%),
    radial-gradient(ellipse 800px 620px at 90% 102%, rgba(14, 74, 82, 0.24), transparent 60%),
    linear-gradient(180deg, #071f34 0%, #08233b 30%, #06202e 55%, #071f2c 78%, #071f34 100%);
}
img { max-width: 100%; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--text-hi); letter-spacing: -0.01em; }

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

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: 20px;
}
.section {
  padding-block: clamp(64px, 10vw, 132px);
  position: relative;
}
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(72%, 760px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(63, 184, 126, 0.3), rgba(26, 99, 152, 0.32), transparent);
  opacity: 0.7;
  pointer-events: none;
}
.section-alt { background: linear-gradient(180deg, rgba(6, 20, 33, 0.24), rgba(6, 20, 33, 0.05)); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--green-400);
  background: rgba(63, 184, 126, 0.12);
  border: 1px solid rgba(63, 184, 126, 0.22);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}
.eyebrow-light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.section-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 6vw, 60px);
}
.section-head h2 {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  margin-top: 14px;
}
.section-head p {
  margin-top: 16px;
  color: var(--text-body);
  font-size: 1.05rem;
  max-width: 46ch;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head.center p { margin-inline: auto; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  /* green-600 sobre branco dava 4.31:1, abaixo do mínimo 4.5:1;
     green-700 (mesma paleta) dá 5.39:1 */
  background: var(--green-700);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 12px;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 27px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), background 0.28s var(--ease), border-color 0.28s var(--ease);
  min-height: 52px;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-primary {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: var(--white);
  box-shadow: 0 12px 26px rgba(46, 158, 107, 0.38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(46, 158, 107, 0.48); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.96);
  color: var(--blue-900);
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-glass {
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255,255,255,0.24); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 18px; min-height: 44px; font-size: 0.92rem; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 22, 36, 0.32);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.35s var(--ease), border-color 0.35s var(--ease);
}
.site-header.is-scrolled {
  height: 66px;
  background: rgba(6, 18, 30, 0.86);
  box-shadow: var(--shadow-sm);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
}
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  color: var(--green-400);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav {
  display: none;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.86);
  position: relative;
  padding-block: 4px;
  transition: color 0.2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--green-500);
  transition: right 0.25s var(--ease);
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { right: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-cta { display: none; }

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.12);
  transition: background 0.3s var(--ease);
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--white); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, #08233a 0%, #071b2c 100%);
  z-index: 90;
  padding: 28px 20px 40px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  overflow-y: auto;
}
.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav a {
  display: block;
  padding: 16px 6px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav .btn { margin-top: 24px; }

@media (min-width: 900px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* ==========================================================================
   HERO — full-bleed cinematográfico
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 820px 600px at 12% 12%, rgba(63, 184, 126, 0.17), transparent 60%),
    radial-gradient(ellipse 780px 640px at 92% 6%, rgba(23, 112, 122, 0.3), transparent 62%),
    radial-gradient(ellipse 760px 560px at 70% 96%, rgba(46, 158, 107, 0.15), transparent 62%),
    linear-gradient(155deg, #071f34 0%, #082846 42%, #0a2f4d 72%, #071f34 100%);
}
.hero-mesh {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  will-change: transform;
}
.hero-mesh--a {
  width: 40vw; height: 40vw;
  max-width: 480px; max-height: 480px;
  top: -8%; right: 26%;
  background: radial-gradient(circle at 40% 40%, rgba(63, 184, 126, 0.5), transparent 68%);
}
.hero-mesh--b {
  width: 30vw; height: 30vw;
  max-width: 380px; max-height: 380px;
  bottom: 4%; left: 2%;
  background: radial-gradient(circle at 50% 50%, rgba(23, 112, 122, 0.5), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  gap: clamp(30px, 5vw, 56px);
  padding-top: calc(var(--header-h) + 28px);
  padding-bottom: clamp(40px, 8vw, 64px);
}
@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    padding-top: var(--header-h);
    padding-bottom: 0;
  }
}
.hero-copy {
  position: relative;
  max-width: 560px;
  color: var(--white);
}
.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 380px; height: 380px;
  left: -140px; top: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 184, 126, 0.16), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-copy h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6.6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: 18px;
  text-wrap: balance;
}
.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--green-400), #8fe3b8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede {
  margin-top: 20px;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.86);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero-actions .btn-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
}
.hero-actions .btn-secondary:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); }

.hero-delivery-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 420px;
  margin-top: 18px;
  padding: 10px 16px 10px 12px;
  border-radius: var(--radius-lg);
  background: rgba(63, 184, 126, 0.12);
  border: 1px solid rgba(63, 184, 126, 0.28);
  color: rgba(255,255,255,0.92);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
}
.hero-delivery-note svg {
  width: 18px; height: 18px;
  margin-top: 1px;
  color: var(--green-400);
  flex-shrink: 0;
}

/* ---------- Painel de fotografia contido (crop inteligente, sem upscale) ---------- */
.hero-media {
  position: relative;
  order: -1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(63, 184, 126, 0.14);
  border: 1px solid rgba(255,255,255,0.14);
  aspect-ratio: 4 / 5;
  max-height: 58vh;
  isolation: isolate;
}
@media (min-width: 960px) {
  .hero-media {
    order: 0;
    aspect-ratio: auto;
    height: min(74vh, 720px);
    max-height: none;
  }
}
.hero-media-inner {
  position: absolute;
  inset: -2%;
  will-change: transform;
}
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 24%;
  transform: scale(1.01);
  filter: saturate(1.08) contrast(1.05) brightness(1);
  animation: heroKenBurns 30s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  from { transform: scale(1.01); }
  to { transform: scale(1.045); }
}
.hero-media-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 18, 30, 0.34) 0%, transparent 24%, transparent 62%, rgba(5, 18, 30, 0.58) 100%),
    linear-gradient(100deg, rgba(63, 184, 126, 0.1), transparent 42%);
}

.hero-badge-float {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(8, 26, 42, 0.68);
  border: 1px solid rgba(63, 184, 126, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 11px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--white);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(63, 184, 126, 0.1), 0 0 22px rgba(63, 184, 126, 0.22);
}
.hero-badge-float svg { width: 18px; height: 18px; color: var(--green-400); flex-shrink: 0; }

/* ---------- Silhueta de delivery: passagem discreta e ocasional ---------- */
.hero-moto {
  position: absolute;
  z-index: 2;
  left: 0; right: 0;
  bottom: 30px;
  height: 26px;
  overflow: hidden;
  pointer-events: none;
  display: none;
}
.hero-moto svg {
  position: absolute;
  left: -60px;
  top: 0;
  width: 46px; height: 24px;
  color: rgba(255,255,255,0.8);
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.35));
  opacity: 0;
  animation: heroMotoRide 24s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}
@keyframes heroMotoRide {
  0% { left: -60px; opacity: 0; }
  8% { opacity: 0.6; }
  46% { left: calc(100% - 10px); opacity: 0.6; }
  55% { opacity: 0; }
  100% { left: -60px; opacity: 0; }
}
@media (min-width: 700px) {
  .hero-moto { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-moto { display: none; }
}

.hero-scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
}
.hero-scroll-cue svg {
  width: 16px; height: 16px;
  animation: cueBounce 2.2s ease-in-out infinite;
}
@keyframes cueBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(5px); opacity: 1; }
}

@media (min-width: 720px) {
  .hero-scroll-cue { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media-inner, .hero-mesh { transform: none !important; }
  .hero-bg { animation: none; }
  .hero-scroll-cue svg { animation: none; }
}

/* ==========================================================================
   QUICK ACCESS BAR — costura visual entre hero e conteúdo
   ========================================================================== */
.quick-access {
  position: relative;
  z-index: 3;
  background: var(--blue-950);
  padding-block: 26px;
}
.quick-access ul {
  display: grid;
  /* minmax(0,...) evita que o texto do item force a coluna a crescer e
     empurre a página para o lado em telas estreitas. */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.quick-access a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.quick-access a:hover { background: rgba(255,255,255,0.12); border-color: rgba(63,184,126,0.35); transform: translateY(-2px); }
.quick-access svg { width: 22px; height: 22px; color: var(--green-400); flex-shrink: 0; }
/* Estes dois blocos precisam vir DEPOIS das regras base acima: têm a mesma
   especificidade, então quem vence é o último. Em telas estreitas o rótulo
   "@fonsecafarma" não cabia e empurrava a página para o lado. */
@media (max-width: 420px) {
  .quick-access a { padding: 12px; gap: 8px; font-size: 0.8rem; }
  .quick-access svg { width: 18px; height: 18px; }
}
@media (max-width: 360px) {
  .quick-access ul { grid-template-columns: 1fr; }
}
@media (min-width: 720px) {
  .quick-access ul { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease-soft);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-img {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.8s var(--ease-soft), transform 0.8s var(--ease-soft);
}
.reveal-img.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-img { opacity: 1; transform: none; transition: none; }
}
.reveal-group > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* ==========================================================================
   CATEGORIES — glass cards escuros
   ========================================================================== */
.categories-bento {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) {
  .categories-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, minmax(160px, auto));
  }
  .categories-bento .category-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .categories-bento .category-card:nth-child(2) { grid-column: span 2; grid-row: span 1; }
  .categories-bento .category-card:nth-child(3) { grid-column: span 1; grid-row: span 1; }
  .categories-bento .category-card:nth-child(4) { grid-column: span 1; grid-row: span 1; }
}
.category-card {
  position: relative;
  background: linear-gradient(165deg, rgba(255,255,255,0.075), rgba(255,255,255,0.02));
  background-image:
    radial-gradient(circle at 88% 90%, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 1.4px, transparent 1.5px),
    linear-gradient(165deg, rgba(255,255,255,0.075), rgba(255,255,255,0.02));
  background-size: 15px 15px, auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 168px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px 160px at 85% -10%, rgba(63, 184, 126, 0.22), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.category-card:nth-child(even)::before {
  background: radial-gradient(220px 160px at 85% -10%, rgba(23, 112, 122, 0.24), transparent 65%);
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px rgba(2, 8, 14, 0.45), 0 0 0 1px rgba(63,184,126,0.18);
  border-color: rgba(63, 184, 126, 0.35);
  background: linear-gradient(165deg, rgba(255,255,255,0.11), rgba(255,255,255,0.03));
}
.category-card:hover::before { opacity: 1; }

/* ---------- Card em destaque (Medicamentos): fotografia real da farmácia ---------- */
.category-card--feature {
  justify-content: flex-end;
  min-height: 240px;
}
.category-card--feature::before { display: none; }
.category-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 44%;
  filter: saturate(1.05) brightness(0.62);
  transform: scale(1.1);
  transition: transform 0.7s var(--ease-soft), filter 0.5s var(--ease-soft);
}
.category-card--feature:hover .category-media img {
  transform: scale(1.18);
  filter: saturate(1.12) brightness(0.68);
}
.category-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(5, 18, 30, 0.94) 0%, rgba(5, 18, 30, 0.6) 40%, rgba(5, 18, 30, 0.2) 66%, rgba(5, 18, 30, 0.48) 100%),
    radial-gradient(280px 200px at 88% -6%, rgba(63, 184, 126, 0.3), transparent 65%);
  transition: opacity 0.35s var(--ease);
}
.category-card--feature:hover .category-scrim { opacity: 0.92; }
.category-card--feature .category-icon,
.category-card.category-card--feature h3,
.category-card.category-card--feature p {
  position: relative;
  z-index: 2;
}
.category-card--feature .category-icon {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.32);
}
.category-card.category-card--feature h3 { color: var(--white); font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
.category-card.category-card--feature p { color: rgba(255,255,255,0.86); }

.category-icon {
  width: 58px; height: 58px;
  border-radius: 18px 8px 18px 8px;
  background: linear-gradient(150deg, rgba(63,184,126,0.22), rgba(63,184,126,0.06));
  border: 1px solid rgba(63,184,126,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.35s var(--ease), border-radius 0.35s var(--ease);
}
.category-card:nth-child(even) .category-icon {
  background: linear-gradient(150deg, rgba(23,112,122,0.26), rgba(23,112,122,0.06));
  border-color: rgba(23,112,122,0.3);
}
.category-card:hover .category-icon {
  transform: scale(1.08) rotate(-4deg);
  border-radius: 8px 18px 8px 18px;
}
.category-icon svg { width: 28px; height: 28px; color: var(--green-400); }
.category-card:nth-child(even) .category-icon svg { color: #59c7d1; }
.category-card h3 {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-hi);
  position: relative;
  z-index: 1;
  overflow-wrap: break-word;
}
.category-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 6px;
  position: relative;
  z-index: 1;
  overflow-wrap: break-word;
}

/* Ajustes de mobile dos cards — precisam vir DEPOIS das regras base acima,
   senão a base (mesma especificidade, declarada depois) sobrescreve.

   Mobile repete o ritmo do bento do desktop: 2 cards largos + 2 estreitos.
   Em 2 colunas a 320px sobravam ~87px de texto por card e "Medicamentos"
   (144px) não cabia em nenhum tamanho legível. */
@media (max-width: 759px) {
  .categories-bento .category-card:nth-child(1),
  .categories-bento .category-card:nth-child(2) { grid-column: span 2; }
  .category-card { padding: 22px 18px; }
  .category-card.category-card--feature h3 { font-size: clamp(0.95rem, 4.2vw, 1.35rem); }
}
/* Abaixo de 380px nem meia coluna comporta "suplementos": vira coluna única. */
@media (max-width: 379px) {
  .categories-bento { grid-template-columns: 1fr; }
  .categories-bento .category-card:nth-child(n) { grid-column: span 1; }
}

/* ==========================================================================
   STEPS — como pedir (jornada com conector)
   ========================================================================== */
.steps-grid {
  display: grid;
  gap: 22px;
  position: relative;
}
@media (min-width: 800px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}
.steps-track { display: none; }
@media (min-width: 800px) {
  .steps-track {
    display: block;
    position: absolute;
    left: 10%;
    right: 10%;
    top: 46px;
    height: 2px;
    z-index: 0;
    pointer-events: none;
  }
  .steps-track-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(63,184,126,0.04), rgba(63,184,126,0.55) 14%, rgba(23,112,122,0.55) 50%, rgba(63,184,126,0.55) 86%, rgba(63,184,126,0.04));
  }
  .steps-track-pulse {
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px; height: 10px;
    margin-top: -5px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff, var(--green-400) 60%, transparent 75%);
    box-shadow: 0 0 16px 4px rgba(63,184,126,0.55);
    animation: stepsPulse 5.5s ease-in-out infinite;
  }
}
@keyframes stepsPulse {
  0% { left: 0%; opacity: 0; }
  8% { opacity: 1; }
  46% { left: 48%; }
  50% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.step-card {
  position: relative;
  z-index: 1;
  overflow: visible;
  background: linear-gradient(165deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.step-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 130px; height: 130px;
  border-radius: 50%;
  top: -34px; left: -34px;
  background: radial-gradient(circle, rgba(63, 184, 126, 0.24), transparent 70%);
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.step-card:nth-child(3)::before { background: radial-gradient(circle, rgba(23, 112, 122, 0.28), transparent 70%); }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(63,184,126,0.3); }
.step-card:hover::before { opacity: 1; }
.step-number {
  position: relative;
  z-index: 1;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green-500), var(--petrol-500));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px rgba(23, 112, 122, 0.35);
}
.step-card h3 { position: relative; z-index: 1; font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { position: relative; z-index: 1; color: var(--text-body); font-size: 0.95rem; }
.step-delivery-tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 7px 13px;
  border-radius: var(--radius-full);
  background: rgba(63, 184, 126, 0.14);
  border: 1px solid rgba(63, 184, 126, 0.3);
  color: var(--green-400);
  font-size: 0.78rem;
  font-weight: 700;
}
.step-delivery-tag svg { width: 15px; height: 15px; flex-shrink: 0; }
.step-card .step-icon {
  position: absolute;
  top: 18px; right: 18px;
  width: 60px; height: 60px;
  color: var(--green-400);
  opacity: 0.12;
  z-index: 0;
}
.step-card .step-icon svg { width: 60px; height: 60px; }

/* ==========================================================================
   OWNER SECTION — proprietária, peça editorial
   ========================================================================== */
.owner-section {
  position: relative;
  background: var(--blue-950);
  padding-block: 0;
  overflow: hidden;
}
.owner-grid {
  display: grid;
}
@media (min-width: 960px) {
  .owner-grid { grid-template-columns: 1.05fr 0.95fr; align-items: stretch; min-height: 100vh; }
}
.owner-media {
  position: relative;
  min-height: 46vh;
  overflow: hidden;
}
@media (min-width: 960px) {
  .owner-media { min-height: 100%; }
}
.owner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.owner-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,20,32,0) 50%, rgba(5,20,32,0.9) 100%);
}
@media (min-width: 960px) {
  .owner-media::after {
    background: linear-gradient(90deg, rgba(5,20,32,0) 55%, rgba(5,20,32,0.97) 100%);
  }
}
.owner-copy {
  position: relative;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 72px) clamp(64px, 10vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}
.owner-copy::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 184, 126, 0.28), transparent 70%);
  filter: blur(10px);
  top: -80px; right: -100px;
  z-index: 0;
  pointer-events: none;
}
.owner-copy > * { position: relative; z-index: 1; }
.owner-copy h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-top: 14px;
  max-width: 14ch;
}
.owner-copy h2 em {
  font-style: normal;
  color: var(--green-400);
}
.owner-copy .lede {
  color: rgba(255,255,255,0.78);
  margin-top: 16px;
  max-width: 46ch;
  font-size: 1.05rem;
}
.delivery-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 30px 0 34px;
}
.delivery-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.98rem;
  color: rgba(255,255,255,0.86);
  font-weight: 500;
}
.delivery-steps li strong { color: var(--green-400); font-weight: 700; }
.owner-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.owner-cta-note {
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255,255,255,0.66);
}
.delivery-step-n {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Evita que o botão flutuante do WhatsApp cubra o CTA em telas curtas */
@media (max-width: 899px) {
  .owner-copy { padding-bottom: clamp(132px, 26vw, 168px); }
}

/* ==========================================================================
   SOBRE — foto do interior integrada à composição desde o início
   ========================================================================== */
.about-section {
  position: relative;
  overflow: hidden;
}
.about-grid {
  position: relative;
  display: grid;
}
@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
}
.about-copy {
  position: relative;
  z-index: 2;
  padding: 0 20px clamp(28px, 5vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 960px) {
  .about-copy {
    padding-top: clamp(56px, 9vw, 108px);
    padding-bottom: clamp(56px, 9vw, 108px);
    padding-right: clamp(24px, 5vw, 56px);
    padding-left: max(20px, calc((100vw - var(--container)) / 2));
  }
}
.about-copy h2 { margin-top: 14px; font-size: clamp(1.9rem, 4.6vw, 2.9rem); max-width: 15ch; }
.about-copy p { margin-top: 16px; color: var(--text-body); font-size: 1.05rem; max-width: 42ch; }

.about-media {
  position: relative;
  min-height: 42vh;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 960px) {
  .about-media {
    min-height: clamp(420px, 40vw, 620px);
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.12);
    border-right: none;
  }
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 42%;
  filter: saturate(1.05) brightness(0.88);
  transform: scale(1.03);
  will-change: transform;
}
.about-media-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,20,32,0) 45%, rgba(5,20,32,0.85) 100%);
}
@media (min-width: 960px) {
  .about-media-scrim {
    background: linear-gradient(270deg, rgba(5,20,32,0) 58%, rgba(5,20,32,0.88) 100%);
  }
}

.about-trust {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 14px;
  margin-top: clamp(28px, 5vw, 40px);
}
@media (min-width: 960px) {
  .about-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: clamp(-64px, -4.5vw, -36px);
  }
}
.about-trust .trust-item {
  padding: 16px 18px;
  background: rgba(8, 26, 42, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}
.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.trust-item:hover { background: var(--glass-hover); border-color: rgba(63,184,126,0.28); transform: translateY(-3px); }
.trust-item .icon-wrap {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(63, 184, 126, 0.16);
  border: 1px solid rgba(63, 184, 126, 0.28);
  color: var(--green-400);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-item .icon-wrap svg { width: 20px; height: 20px; }
.trust-item h3 { font-size: 1rem; color: var(--text-hi); }
.trust-item p { font-size: 0.9rem; color: var(--text-body); margin-top: 3px; }

/* ==========================================================================
   PRESENÇA LOCAL — composição editorial dinâmica
   ========================================================================== */
.dynamic-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 820px 520px at 82% 18%, rgba(23, 112, 122, 0.26), transparent 62%),
    linear-gradient(180deg, rgba(5, 16, 27, 0.15), rgba(5, 16, 27, 0.5));
}
.dynamic-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .dynamic-grid { grid-template-columns: 1fr 1fr; }
  .dynamic-grid .dynamic-copy { order: 2; }
  .dynamic-grid .dynamic-photo { order: 1; }
}
.dynamic-copy .eyebrow { margin-bottom: 4px; }
.dynamic-copy h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.06;
  margin-top: 14px;
}
.dynamic-copy p {
  margin-top: 18px;
  color: var(--text-body);
  font-size: 1.05rem;
  max-width: 42ch;
}
.dynamic-photo {
  position: relative;
}
.dynamic-photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.14);
  transform: rotate(-1.4deg);
  transition: transform 0.5s var(--ease);
}
.dynamic-photo-frame:hover { transform: rotate(0deg); }
.dynamic-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dynamic-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(5,20,32,0.02) 44%, rgba(5,20,32,0.42) 100%);
}
.dynamic-photo::before {
  content: "";
  position: absolute;
  inset: 6% -8% -8% 6%;
  z-index: -1;
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, var(--petrol-500), var(--green-500));
  opacity: 0.28;
}
.dynamic-blob {
  position: absolute;
  z-index: -2;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 184, 126, 0.22), transparent 70%);
  filter: blur(10px);
  top: -60px; right: -60px;
  pointer-events: none;
}

/* ==========================================================================
   CTA STRIP
   ========================================================================== */
.cta-strip {
  position: relative;
  background: linear-gradient(120deg, var(--blue-900), var(--petrol-700) 55%, var(--green-600));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 7vw, 64px);
  text-align: center;
  overflow: hidden;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 20% 0%, rgba(255,255,255,0.16), transparent 60%);
}
.cta-strip > * { position: relative; }
.cta-strip h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 4.2vw, 2.3rem);
}
.cta-strip p {
  margin-top: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 1.02rem;
  max-width: 52ch;
  margin-inline: auto;
}
.cta-strip .btn-row {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.cta-strip .btn-primary {
  background: var(--white);
  color: var(--green-700);
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
}
.cta-strip .btn-primary:hover { color: var(--green-700); transform: translateY(-2px); }

/* ==========================================================================
   LOCATION
   ========================================================================== */
.location-layout {
  position: relative;
  display: grid;
  gap: 20px;
}
.location-layout::before {
  content: "";
  position: absolute;
  z-index: -1;
  /* sem sangria horizontal: o -6% escapava do container e criava scroll
     lateral de 1 a 23px entre 412px e 768px. */
  inset: -10% 0;
  background:
    radial-gradient(ellipse 560px 420px at 20% 30%, rgba(63, 184, 126, 0.1), transparent 62%),
    radial-gradient(ellipse 520px 400px at 82% 70%, rgba(23, 112, 122, 0.14), transparent 62%);
  pointer-events: none;
}
@media (min-width: 960px) {
  .location-layout { grid-template-columns: 1fr 1fr; align-items: stretch; }
}
.location-card {
  background: linear-gradient(165deg, rgba(255,255,255,0.075), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.location-card h3 { color: var(--text-hi); }
.location-card .addr {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.location-card .addr .icon-wrap {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(63, 184, 126, 0.16);
  border: 1px solid rgba(63, 184, 126, 0.26);
  color: var(--green-400);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.location-card .addr .icon-wrap svg { width: 20px; height: 20px; }
.location-card address { font-style: normal; color: var(--text-body); line-height: 1.6; }
.opening-hours { color: var(--text-body); line-height: 1.6; }
.opening-hours p {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  justify-content: space-between;
  max-width: 260px;
}
.opening-hours p strong { color: var(--text-hi); font-weight: 600; }
.opening-hours .opening-hours-note {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: none;
}
.location-card .btn-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
/* Em telas estreitas os botões (white-space: nowrap) não cabiam no card e
   empurravam a página para o lado: aqui eles passam a ocupar a linha toda. */
@media (max-width: 420px) {
  .location-card { padding: 22px; }
  .location-card .btn-row .btn { flex: 1 1 100%; }
}
.location-layout > * { min-width: 0; }
.map-frame-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  min-height: 420px;
  background: rgba(255,255,255,0.04);
}
.map-frame-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(6, 20, 33, 0.22), rgba(14, 74, 82, 0.1));
  border: 1px solid rgba(63,184,126,0.14);
  border-radius: inherit;
}
.map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: invert(0.92) contrast(0.88) brightness(0.95) hue-rotate(180deg) saturate(0.9);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section { position: relative; overflow: hidden; }
.faq-watermark {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: clamp(-140px, -6vw, -40px);
  transform: translateY(-50%);
  width: clamp(420px, 46vw, 720px);
  height: clamp(420px, 46vw, 720px);
  fill: var(--green-500);
  opacity: 0.045;
  pointer-events: none;
}
.faq-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}
.faq-item {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-item:hover { border-color: rgba(63,184,126,0.22); box-shadow: var(--shadow-sm); }
.faq-item[open] { background: var(--glass-hover); border-color: rgba(63,184,126,0.32); box-shadow: var(--shadow-md); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 600;
  color: var(--text-hi);
  font-size: 1rem;
  transition: color 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-400); }
.faq-item .chev {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--green-400);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-answer {
  padding: 0 22px 20px;
  color: var(--text-body);
  font-size: 0.95rem;
  animation: faqReveal 0.35s var(--ease-soft);
}
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.faq-more {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  font-size: 0.95rem;
  color: var(--text-body);
}
.faq-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--green-400);
  padding: 11px 16px 11px 12px;
  border-radius: var(--radius-full);
  background: rgba(63, 184, 126, 0.12);
  border: 1px solid rgba(63, 184, 126, 0.24);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.faq-more-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.faq-more-link:hover { background: rgba(63, 184, 126, 0.2); border-color: rgba(63, 184, 126, 0.4); transform: translateY(-1px); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, rgba(6,18,30,0.4), var(--blue-950) 30%);
  color: rgba(255,255,255,0.82);
  padding-block: 56px 28px;
}
.footer-grid {
  display: grid;
  gap: 36px;
}
@media (min-width: 800px) {
  /* 4 colunas desde que entrou o bloco de horário */
  .footer-grid { grid-template-columns: 1.2fr 0.8fr 0.9fr 1.1fr; }
}
.footer-hours li { color: rgba(255,255,255,0.72); font-size: 0.92rem; padding-block: 4px; }
.footer-brand .brand { color: var(--white); }
.footer-brand p {
  margin-top: 14px;
  font-size: 0.92rem;
  max-width: 40ch;
  color: rgba(255,255,255,0.6);
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 2px; }
/* alvo de toque: os links do rodapé tinham 18px de altura no celular */
.footer-col li { padding-block: 2px; }
.footer-col a {
  font-size: 0.92rem;
  display: inline-block;
  padding-block: 11px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--green-400); }
/* especificidade precisa bater .footer-col a, senão o 0.92rem prevalece
   e o "@fonsecafarma" corta em telas de 375px */
.footer-col a.footer-social,
.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
}
.footer-social svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
@media (min-width: 700px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-bottom .dev-credit {
  color: rgba(255,255,255,0.6);
}
.footer-bottom .footer-disclaimer {
  color: rgba(255,255,255,0.4);
  font-style: italic;
}

/* ==========================================================================
   FLOATING WHATSAPP + MOBILE ACTION BAR
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1fb257);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  animation: pulseWa 3.6s ease-in-out infinite;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 16px 34px rgba(37, 211, 102, 0.55); }
@keyframes pulseWa {
  0%, 88%, 100% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45); }
  94% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45), 0 0 0 9px rgba(37, 211, 102, 0.10); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
}

.mobile-actionbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 79;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(6, 18, 30, 0.94);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -10px 30px rgba(1,4,7,0.4);
}
.mobile-actionbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.2s var(--ease);
}
.mobile-actionbar a:active { transform: scale(0.97); }
.mobile-actionbar a svg { width: 18px; height: 18px; }
.mobile-actionbar .ma-wa {
  background: linear-gradient(135deg, #25d366, #1fb257);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}
.mobile-actionbar .ma-map {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
}

@media (min-width: 900px) {
  .mobile-actionbar { display: none; }
  .wa-float { right: 28px; bottom: 28px; }
}
@media (max-width: 899px) {
  body { padding-bottom: 78px; }
  /* No celular a barra fixa de baixo já tem o botão de WhatsApp sempre
     visível. O flutuante era redundante e ainda cobria o título do hero. */
  .wa-float { display: none; }
}

/* ---------- Tilt (pointer:fine only) ---------- */
@media (hover: hover) and (pointer: fine) {
  .tilt-card { transition: transform 0.15s var(--ease-soft), box-shadow 0.35s var(--ease); }
}
