/* =========================================================================
   Farmatec Manipulados · LP Fórmulas sob medida
   Cores oficiais: #01387D (azul) e #38B85C (verde), extraídas do SVG do logo.
   Demais tons são derivados (ver clients/farmatec-manipulados/ativos/brand-palette.yaml).
   Raios: cartões e imagens 20px · botões e abas em pílula · campos 12px.
   ========================================================================= */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* marca */
  --navy-950: #001c3e;
  --navy-900: #01387d;
  --navy-800: #012a5e;
  --green-500: #38b85c;
  --green-600: #31a251;
  --green-ink: #1d7a39;
  --green-050: #ebf8ef;

  /* semânticos (tema claro) */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f3f6fb;
  --text: #0d1b2e;
  --muted: #475569;
  --line: #dbe3ee;
  --heading: #01387d;
  --accent-text: #1d7a39;
  --btn-bg: #38b85c;
  --btn-bg-hover: #45c869;
  --btn-text: #001c3e;
  --ghost-border: #7d93b2;
  --ghost-text: #01387d;
  --logo-ink: #01387d;
  --logo-accent: #38b85c;
  --band-bg: #01387d;
  --band-text: #ffffff;
  --band-muted: #c9d7ec;
  --footer-bg: #001c3e;
  --footer-text: #dce6f3;
  --footer-muted: #9fb2cc;
  --shadow: 0 1px 2px rgba(1, 56, 125, 0.06), 0 12px 32px -12px rgba(1, 56, 125, 0.18);
  --shadow-lg: 0 30px 60px -24px rgba(1, 42, 94, 0.35);

  --tint-orange: #fdeee6;
  --tint-green: #e6f6eb;
  --tint-blue: #e7eefa;
  --tint-citrus: #fdf6dc;
  --tint-gold: #fbf0d6;
  --tint-navy: #e3e9f3;
  --tint-icon: #01387d;

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 450;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--heading); line-height: 1.12; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); font-weight: 750; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); font-weight: 720; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.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; }
.nowrap { white-space: nowrap; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0 1.4em; border-radius: 999px;
  font: inherit; font-size: 0.98rem; font-weight: 700; letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer; border: 2px solid transparent;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--btn-bg); color: var(--btn-text); box-shadow: 0 10px 24px -10px rgba(56, 184, 92, 0.7); }
.btn-primary:hover { background: var(--btn-bg-hover); transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(56, 184, 92, 0.75); }
.btn-ghost { background: transparent; color: var(--ghost-text); border-color: var(--ghost-border); }
.btn-ghost:hover { border-color: var(--ghost-text); transform: translateY(-2px); }
.btn-lg { min-height: 56px; padding: 0 1.7em; font-size: 1.02rem; }
.btn-sm { min-height: 44px; padding: 0 1.1em; font-size: 0.9rem; }
.text-link {
  display: inline-flex; align-items: center; gap: 0.4em; margin-top: auto;
  color: var(--accent-text); font-weight: 700; font-size: 0.96rem; text-decoration: none;
}
.text-link .ic { transition: transform 0.25s var(--ease); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover .ic { transform: translateX(3px); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.logo { width: 196px; height: auto; aspect-ratio: 932 / 162; display: block; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 26px; }
.main-nav ul a { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--text); padding: 6px 0; position: relative; }
.main-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--green-500); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.main-nav ul a:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 72px); position: relative; isolation: isolate; overflow-x: clip; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 70vw; max-width: 820px; max-height: 820px; z-index: -1;
  background: radial-gradient(closest-side, rgba(56, 184, 92, 0.16), transparent 70%), radial-gradient(closest-side at 30% 60%, rgba(1, 56, 125, 0.12), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: clamp(32px, 6vw, 80px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.hero h1 { max-width: 15ch; }
.hero-sub { margin-top: 22px; font-size: clamp(1.06rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-media { position: relative; margin: 0; justify-self: end; width: min(100%, 500px); }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); }
.hero-media::after {
  content: ""; position: absolute; inset: auto -22px -22px auto; width: 46%; height: 46%; z-index: -1;
  border-radius: 28px; background: var(--green-500); opacity: 0.9;
}
.hero-badge {
  position: absolute; left: -28px; bottom: 32px; display: flex; align-items: center; gap: 12px;
  background: var(--surface); color: var(--text); padding: 14px 18px 14px 14px; border-radius: 18px; box-shadow: var(--shadow);
  font-size: 0.86rem; line-height: 1.35;
}
.hero-badge strong { display: block; color: var(--heading); font-size: 0.95rem; }
.hero-badge-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--green-050); color: var(--green-ink); }
.hero-badge-icon .ic { width: 22px; height: 22px; }

/* entrada do hero (CSS, não depende de JS) */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 0.8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.18s; }
  .hero-media { animation: rise 0.9s 0.1s var(--ease) both; }
  .hero-badge { animation: rise 0.8s 0.45s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- faixa de confiança ---------- */
.trust { padding: 0 0 clamp(48px, 7vw, 88px); }
.trust-list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.trust-list li { display: flex; align-items: flex-start; gap: 14px; padding: 24px 22px; }
.trust-list li + li { border-left: 1px solid var(--line); }
.trust-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--tint-blue); color: var(--tint-icon); }
.trust-icon .ic { width: 22px; height: 22px; }
.trust-list p { display: flex; flex-direction: column; font-size: 0.9rem; line-height: 1.45; color: var(--muted); }
.trust-list strong { color: var(--heading); font-size: 1rem; }

/* ---------- seções ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }

/* especialidades: 1 destaque + 2 */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.spec-card {
  display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.spec-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.spec-media { overflow: hidden; aspect-ratio: 4 / 3; position: relative; flex: none; }
.spec-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.spec-card:hover .spec-media img { transform: scale(1.04); }
.spec-body { display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 26px; flex: 1 1 auto; }
.spec-body p { color: var(--muted); font-size: 0.98rem; }
.spec-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green-050); color: var(--green-ink); margin-top: -46px; border: 4px solid var(--surface); box-sizing: content-box; }
.spec-icon .ic { width: 22px; height: 22px; }
.pos-peso { object-position: 50% 14%; }
.pos-pele { object-position: 50% 32%; }
.pos-esporte { object-position: 50% 12%; }

/* ativos */
.actives { background: var(--surface-2); }
.actives-grid > *, .faq-grid > *, .hero-grid > * { min-width: 0; }
.actives-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.actives-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.actives-intro p { margin: 18px 0 30px; color: var(--muted); font-size: 1.05rem; }
.tabs { max-width: 100%; display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 22px; }
.tab {
  border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: 0.92rem;
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer; transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.tab:hover { color: var(--heading); }
.tab[aria-selected="true"] { background: var(--navy-900); color: #fff; }
.tab-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tab-panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .tab-panel:not([hidden]) .active-card { animation: rise 0.55s var(--ease) both; }
  .tab-panel:not([hidden]) .active-card + .active-card { animation-delay: 0.07s; }
}
.active-card { padding: 28px 26px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; min-height: 260px; position: relative; overflow: hidden; }
.active-card h3 { font-size: 1.45rem; }
.active-card p { color: var(--muted); font-size: 0.98rem; }
.active-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 8px; color: var(--tint-icon); }
.active-icon .ic { width: 28px; height: 28px; }
.active-card--orange .active-icon { background: var(--tint-orange); }
.active-card--green .active-icon { background: var(--tint-green); }
.active-card--blue .active-icon { background: var(--tint-blue); }
.active-card--citrus .active-icon { background: var(--tint-citrus); }
.active-card--gold .active-icon { background: var(--tint-gold); }
.active-card--navy .active-icon { background: var(--tint-navy); }
.active-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; opacity: 0.55; pointer-events: none; }
.active-card--orange::after { background: var(--tint-orange); }
.active-card--green::after { background: var(--tint-green); }
.active-card--blue::after { background: var(--tint-blue); }
.active-card--citrus::after { background: var(--tint-citrus); }
.active-card--gold::after { background: var(--tint-gold); }
.active-card--navy::after { background: var(--tint-navy); }
.active-card > * { position: relative; z-index: 1; }
.fine-print { margin-top: 20px; font-size: 0.82rem; color: var(--muted); max-width: 70ch; }

/* por que escolher: bento */
.bento {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "video ano ano"
    "video atend atend"
    "pesa lab quali";
}
.bento-cell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.bento-cell p { color: var(--muted); font-size: 0.97rem; }
.bento-video { grid-area: video; padding: 0; margin: 0; overflow: hidden; position: relative; min-height: 560px; background: var(--navy-950); }
.tour-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.video-toggle {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.35); cursor: pointer;
  background: rgba(0, 28, 62, 0.55); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background-color 0.25s var(--ease);
}
.video-toggle:hover { background: rgba(0, 28, 62, 0.8); }
.video-toggle[hidden] { display: none; }
.video-toggle .ic { width: 20px; height: 20px; }
.video-icon-play { display: none; }
.video-toggle[data-state="paused"] .video-icon-pause { display: none; }
.video-toggle[data-state="paused"] .video-icon-play { display: block; }
.bento-video figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 26px 22px; color: #fff; font-weight: 600; font-size: 0.95rem;
  background: linear-gradient(180deg, transparent, rgba(0, 28, 62, 0.82));
}
.bento-year { grid-area: ano; background: var(--navy-900); border-color: var(--navy-900); justify-content: flex-end; }
.bento-year .year { font-size: clamp(3.4rem, 6vw, 4.6rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.04em; }
.bento-year .year::after { content: ""; display: block; width: 48px; height: 4px; border-radius: 4px; background: var(--green-500); margin-top: 16px; }
.bento-year p { color: #d6e1f1; margin-top: 10px; }
.bento-care { grid-area: atend; background: var(--green-050); border-color: transparent; justify-content: center; }
.bento-care h3, .bento-care .bento-icon { color: var(--navy-900); }
.bento-care p { color: #2f4a3a; }
.bento-card { padding: 0; overflow: hidden; gap: 0; }
.bento-card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.bento-card-media img { width: 100%; height: 100%; object-fit: cover; }
.bento-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.bento-weigh { grid-area: pesa; }
.bento-lab { grid-area: lab; }
.bento-quality { grid-area: quali; }
.bento-icon { color: var(--accent-text); }
.bento-icon .ic { width: 30px; height: 30px; }

/* dúvidas */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-intro p { margin: 16px 0 20px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none;
  padding: 22px 2px; font-weight: 700; font-size: 1.06rem; color: var(--heading);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { transition: transform 0.3s var(--ease); color: var(--accent-text); }
.faq-list details[open] summary .ic { transform: rotate(180deg); }
.faq-answer { padding: 0 2px 24px; color: var(--muted); max-width: 64ch; }

/* chamada final */
.cta-band { padding: 0 0 clamp(64px, 9vw, 110px); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: var(--band-bg); color: var(--band-text); border-radius: 28px; padding: clamp(32px, 5vw, 56px);
  position: relative; overflow: hidden; isolation: isolate;
}
.cta-inner::before { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(56, 184, 92, 0.45), transparent); z-index: -1; }
.cta-inner h2 { color: #fff; max-width: 18ch; }
.cta-inner p { color: var(--band-muted); margin-top: 12px; max-width: 48ch; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; }
.cta-phone:hover { text-decoration: underline; text-underline-offset: 4px; }

/* rodapé */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 64px 0 28px; font-size: 0.93rem; --logo-ink: #ffffff; --logo-accent: #38b85c; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.15fr 1.15fr 1.35fr; gap: 36px; }
.logo--footer { width: 200px; }
.footer-brand p { margin-top: 16px; color: var(--footer-muted); max-width: 30ch; }
.footer-title { font-size: 0.82rem; text-transform: none; letter-spacing: 0.02em; color: #fff; margin-bottom: 14px; font-weight: 700; }
.footer-col li + li { margin-top: 12px; }
.footer-col a, .footer-plain { display: inline-flex; gap: 10px; align-items: flex-start; text-decoration: none; color: var(--footer-text); line-height: 1.5; }
.footer-col a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.footer-col .ic { margin-top: 1px; color: var(--green-500); }
.footer-legal dl { margin: 0; display: grid; gap: 10px; }
.footer-legal dt { font-size: 0.78rem; color: var(--footer-muted); }
.footer-legal dd { margin: 0; color: var(--footer-text); }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: grid; gap: 16px; }
.disclaimer { color: var(--footer-muted); font-size: 0.84rem; max-width: 90ch; }
.footer-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--footer-muted); font-size: 0.86rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--footer-text); text-underline-offset: 3px; }
.footer-links .link-button { color: var(--footer-text); }
.footer__uplevel-credit { display: flex; align-items: center; gap: 10px; color: var(--footer-muted); font-size: 0.8rem; margin: 6px 0 0; }
.footer__uplevel-credit img { height: 22px; width: auto; opacity: 0.8; transition: opacity 0.2s; }
.footer__uplevel-credit a:hover img { opacity: 1; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green-500); color: var(--navy-950);
  box-shadow: 0 14px 30px -10px rgba(0, 28, 62, 0.45);
  opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.wa-float .ic { width: 30px; height: 30px; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { transform: translateY(-2px) scale(1.04); }

/* banner de cookies (não bloqueia o conteúdo) */
.consent {
  position: fixed; left: 20px; bottom: 20px; z-index: 45; max-width: 460px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 20px 22px; display: grid; gap: 14px; font-size: 0.9rem; line-height: 1.5;
}
.consent[hidden] { display: none; }
.consent a { color: var(--accent-text); font-weight: 600; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* revelação ao rolar (só com JS e sem redução de movimento) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .main-nav ul { gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .logo { width: 164px; }
  .menu-toggle {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
    border: 1px solid var(--line); background: var(--surface); color: var(--heading); cursor: pointer;
  }
  .menu-toggle .ic { width: 24px; height: 24px; }
  .menu-icon-close { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-icon-open { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-icon-close { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 18px;
    padding: 20px var(--gutter) 28px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .main-nav.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav ul a::after { display: none; }
  .nav-cta { width: 100%; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .hero-media { justify-self: stretch; width: 100%; max-width: 560px; }
  .hero-media img { aspect-ratio: 5 / 4; border-radius: 22px; object-position: 60% 30%; }
  .hero-media::after { inset: auto -10px -12px auto; border-radius: 22px; }
  .hero-badge { left: 14px; bottom: 14px; }

  .trust-list { grid-template-columns: 1fr 1fr; }
  .trust-list li:nth-child(3) { border-left: 0; }
  .trust-list li:nth-child(n+3) { border-top: 1px solid var(--line); }

  .spec-grid { grid-template-columns: 1fr; }
  .spec-card { flex-direction: row; }
  .spec-media { flex: 0 0 42%; aspect-ratio: auto; min-height: 260px; }
  .spec-body { justify-content: center; }
  .spec-icon { margin-top: 0; }

  .actives-grid, .faq-grid { grid-template-columns: 1fr; }
  .actives-intro { position: static; }

  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "video ano" "video atend" "pesa pesa" "lab lab" "quali quali"; }
  .bento-card { flex-direction: row; }
  .bento-card-media { flex: 0 0 38%; aspect-ratio: auto; min-height: 190px; }
  .bento-card-body { justify-content: center; }
  .bento-video { min-height: 500px; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .trust-list { grid-template-columns: 1fr; }
  .trust-list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .trust-list li { padding: 18px 18px; }
  .spec-grid { grid-template-columns: 1fr; }
  .spec-card { flex-direction: column; }
  .spec-media { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
  .spec-icon { margin-top: -46px; }
  .tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: 999px; width: 100%; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; flex: 1 0 auto; }
  .tab-panel { grid-template-columns: 1fr; }
  .active-card { min-height: 0; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "video" "ano" "atend" "pesa" "lab" "quali"; }
  .bento-card { flex-direction: column; }
  .bento-card-media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .bento-video { min-height: 0; aspect-ratio: 4 / 5; }
  .cta-inner { flex-direction: column; align-items: stretch; }
  .cta-actions { align-items: stretch; }
  .cta-actions .btn { width: 100%; padding: 0 0.9em; }
  .btn-lg { font-size: 0.95rem; padding: 0 1.1em; }
  .cta-inner { padding: 32px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

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