/* ============================================================
   Wasser Farma - Design System
   Direção: precisão clínica + identidade "água" da marca
   ============================================================ */

:root {
  --navy-950: #061428;
  --navy-900: #0B1F3A;
  --navy-800: #123055;
  --blue-700: #085E96;
  --blue-600: #0A6FB3;
  --blue-500: #0077B6;
  --sky-400: #38BDF8;
  --sky-300: #7DD3FC;
  --sky-100: #E0F2FE;
  --aqua-50: #EFF7FC;

  --bg: #F6FAFD;
  --surface: #FFFFFF;
  --ink: #0F1F33;
  --ink-2: #33475C;
  --muted: #56708A;
  --line: #DCE8F2;

  --amber-ink: #92400E;
  --amber-bg: #FEF3C7;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(8, 40, 80, .06), 0 2px 8px rgba(8, 40, 80, .05);
  --shadow-md: 0 6px 24px rgba(8, 40, 80, .10);
  --shadow-lg: 0 18px 50px rgba(6, 30, 65, .22);

  --container: 1180px;
  --header-h: 76px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
section { scroll-margin-top: calc(var(--header-h) + 12px); }

:focus-visible {
  outline: 3px solid var(--sky-400);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy-900); color: #fff;
  padding: 10px 18px; border-radius: 0 0 10px 0; z-index: 300;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 32px);
}

/* ---------- Tipografia utilitária ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 14px;
}
.kicker::before {
  content: ""; width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--sky-400), var(--blue-600));
  border-radius: 2px;
}
.on-dark .kicker { color: var(--sky-300); }

h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); font-weight: 800; }
h3 { font-size: 1.16rem; font-weight: 700; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--muted); max-width: 46em; }
.on-dark .lead { color: #B9D4E8; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px;
  font: 600 .98rem/1 var(--font); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 22px rgba(10, 111, 179, .32); }
.btn-primary:hover { background: var(--blue-700); }
.btn-outline { background: transparent; color: var(--blue-700); border-color: #B9D4E8; }
.btn-outline:hover { border-color: var(--blue-600); background: var(--sky-100); }

.btn-light { background: var(--sky-400); color: var(--navy-950); box-shadow: 0 10px 28px rgba(56, 189, 248, .35); }
.btn-light:hover { background: var(--sky-300); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }

.btn-sm { padding: 10px 18px; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header .container {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; color: #fff; font-weight: 800;
  font-size: 1.22rem; letter-spacing: -.02em;
}
.brand img { height: 40px; width: auto; }
.site-footer .brand img { height: 34px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: rgba(255, 255, 255, .88); text-decoration: none;
  font-size: .95rem; font-weight: 500;
  padding: 9px 13px; border-radius: 999px;
  transition: background .18s ease, color .18s ease;
}
.main-nav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.header-cta { display: inline-flex; }

.site-header.scrolled {
  background: rgba(6, 20, 40, .84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 10px 30px rgba(4, 12, 26, .35);
}

/* hamburger */
.nav-toggle {
  display: none;
  width: 46px; height: 46px; border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .08);
  cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; display: block; width: 20px; height: 2px;
  background: #fff; border-radius: 2px; position: relative;
  transition: transform .25s ease, opacity .2s ease, background .3s ease;
}
.nav-toggle .bars::before { position: absolute; top: -6px; }
.nav-toggle .bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent !important; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 110;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 12px 20px 22px;
  display: none; flex-direction: column; gap: 2px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: 1.04rem;
  padding: 13px 12px; border-radius: 10px;
}
.mobile-nav a:hover { background: var(--sky-100); color: var(--blue-700); }
.mobile-nav .btn { margin-top: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(52rem 30rem at 86% -12%, rgba(56, 189, 248, .28), transparent 60%),
    radial-gradient(40rem 26rem at -8% 100%, rgba(0, 119, 182, .35), transparent 62%),
    linear-gradient(148deg, var(--navy-950) 12%, var(--navy-900) 46%, var(--blue-700) 100%);
  color: #fff;
  padding: calc(var(--header-h) + clamp(48px, 8vw, 84px)) 0 clamp(120px, 13vw, 168px);
  overflow: hidden;
}
.hero::after { /* textura pontilhada sutil */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(115deg, transparent 42%, #000 100%);
  -webkit-mask-image: linear-gradient(115deg, transparent 42%, #000 100%);
}
.hero .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(56, 189, 248, .14);
  border: 1px solid rgba(125, 211, 252, .45);
  color: var(--sky-300);
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sky-400);
  box-shadow: 0 0 0 0 rgba(56, 189, 248, .7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, .55); }
  70% { box-shadow: 0 0 0 9px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}
.hero h1 {
  font-size: clamp(2.15rem, 4.8vw, 3.55rem);
  font-weight: 800; letter-spacing: -.03em;
  margin-bottom: 20px; max-width: 13.5em;
}
.hero h1 .grad {
  background: linear-gradient(92deg, var(--sky-300), var(--sky-400) 55%, #A5E6FF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* visual do hero - produto flutuando direto no fundo, sem cartão */
.hero-visual { position: relative; }
.hero-product { margin: 0; text-align: center; }
.hero-product img {
  width: min(480px, 92%);
  margin: 0 auto;
  filter: drop-shadow(0 36px 46px rgba(2, 10, 24, .55));
  transition: transform .3s ease;
}
.hero-product:hover img { transform: translateY(-6px); }
.hero-product figcaption {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 24px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 10px 12px 10px 20px;
  color: #fff; font-weight: 700; font-size: .98rem;
}
.hero-product figcaption .tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(56, 189, 248, .22); color: var(--sky-300);
  padding: 6px 13px; border-radius: 999px;
}
.hero-chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 11px 16px;
  font-size: .84rem; font-weight: 700; color: var(--navy-900);
}
.hero-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: #22C55E; flex: none; }
.hero-chip small { display: block; font-weight: 600; color: var(--muted); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.chip-a { top: 2%; right: -6px; transform: rotate(-2deg); }
.chip-b { bottom: 92px; left: -6px; transform: rotate(1.5deg); }

/* onda divisória */
.hero-wave {
  position: absolute; left: 0; right: 0; bottom: -1px;
  line-height: 0; z-index: 1; pointer-events: none;
}
.hero-wave svg { width: 100%; height: clamp(56px, 8vw, 110px); display: block; }

/* ---------- Faixa de destaques ---------- */
.stats {
  position: relative; z-index: 5;
  margin-top: clamp(-72px, -6vw, -52px);
}
.stats-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat {
  padding: 24px 26px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat .stat-k {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 5px;
}
.stat .stat-v { font-weight: 700; color: var(--navy-900); font-size: 1.02rem; }

/* ---------- Seções ---------- */
.section { padding: clamp(72px, 9vw, 116px) 0; }
.section-head { max-width: 60em; margin-bottom: clamp(34px, 5vw, 54px); }

/* Institucional */
.inst-grid {
  display: grid; grid-template-columns: .96fr 1.04fr;
  gap: clamp(36px, 5vw, 70px); align-items: start;
}
.inst-copy p { color: var(--ink-2); }
.inst-copy p strong { color: var(--navy-900); }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #BFDCEF; }
.value-card.wide { grid-column: 1 / -1; }
.icon-chip {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--sky-100), #CBE9FB);
  color: var(--blue-700); margin-bottom: 14px;
}
.value-card h3 { font-size: 1.04rem; margin-bottom: 6px; }
.value-card p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Produtos */
.section-produtos {
  background:
    radial-gradient(46rem 24rem at 100% 0%, rgba(125, 211, 252, .18), transparent 60%),
    linear-gradient(180deg, #EAF4FB, var(--bg));
}
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-media {
  background:
    radial-gradient(26rem 16rem at 50% 122%, rgba(10, 111, 179, .18), transparent 62%),
    linear-gradient(160deg, #E3F0F9, #F5FAFD);
  border-bottom: 1px solid var(--line);
  padding: 30px clamp(24px, 4vw, 44px);
  display: flex; justify-content: center;
}
.product-media img {
  width: min(330px, 78%);
  filter: drop-shadow(0 22px 26px rgba(8, 40, 80, .18));
  transition: transform .3s ease;
}
.product-card:hover .product-media img { transform: translateY(-6px) scale(1.015); }
.product-body { padding: 26px clamp(22px, 3.4vw, 34px) 30px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.badge {
  font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: var(--sky-100); color: var(--blue-700);
}
.badge.badge-amber { background: var(--amber-bg); color: var(--amber-ink); }
.product-body h3 { font-size: 1.62rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy-900); margin-bottom: 12px; }
.product-body p { color: var(--ink-2); font-size: .96rem; }
.product-body p strong { color: var(--navy-900); }
.adverse {
  margin-top: auto;
  background: var(--aqua-50);
  border-left: 3px solid var(--blue-600);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: .92rem; color: var(--ink-2);
}
.adverse strong { color: var(--navy-900); }
.adverse a { font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* Qualidade */
.section-qualidade {
  background:
    radial-gradient(50rem 26rem at 0% 0%, rgba(0, 119, 182, .4), transparent 58%),
    radial-gradient(40rem 22rem at 100% 100%, rgba(56, 189, 248, .16), transparent 55%),
    linear-gradient(160deg, var(--navy-950), var(--navy-900));
  color: #fff;
}
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-sm);
  padding: 24px 22px;
  backdrop-filter: blur(6px);
  transition: background .2s ease, transform .2s ease;
}
.pillar:hover { background: rgba(255, 255, 255, .095); transform: translateY(-4px); }
.pillar .icon-chip { background: rgba(56, 189, 248, .16); color: var(--sky-300); }
.pillar h3 { font-size: 1.02rem; color: #fff; margin-bottom: 6px; }
.pillar p { color: #A9C8DE; font-size: .92rem; margin: 0; }

/* Farmacovigilância */
.pharma-banner {
  background: var(--surface);
  border: 1.5px solid #BFDCEF;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  padding: clamp(30px, 5vw, 52px);
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 4vw, 54px); align-items: center;
  position: relative; overflow: hidden;
}
.pharma-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(30rem 16rem at 108% -30%, rgba(56, 189, 248, .14), transparent 60%);
}
.contact-cards { display: grid; gap: 14px; position: relative; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--aqua-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.contact-card:hover { border-color: var(--blue-600); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-card .icon-chip { margin: 0; flex: none; }
.contact-card .cc-k { font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--blue-600); }
.contact-card .cc-v { font-weight: 800; color: var(--navy-900); font-size: 1.18rem; letter-spacing: -.01em; word-break: break-word; }

/* Contato */
.contact-grid {
  display: grid; grid-template-columns: .92fr 1.08fr;
  gap: clamp(24px, 4vw, 44px); align-items: stretch;
}
.info-stack { display: grid; gap: 14px; align-content: start; }
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}
.info-card h3 { font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 8px; }
.info-card p { margin: 0; color: var(--ink-2); }
.info-card a { font-weight: 600; text-underline-offset: 2px; }
.info-card .strong { font-weight: 700; color: var(--navy-900); }
.info-card .maplink { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-size: .93rem; }

/* Mapa (conteúdo externo sob consentimento) */
.map-shell {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, #E7F2FA, #F6FAFD);
  box-shadow: var(--shadow-sm);
  min-height: 380px;
  display: flex;
}
.map-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent {
  margin: auto; text-align: center;
  padding: clamp(26px, 4vw, 44px);
  max-width: 30rem;
}
.map-consent .icon-chip { margin: 0 auto 16px; }
.map-consent p { color: var(--ink-2); font-size: .95rem; }
.map-consent .map-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: #B9D4E8;
  padding: clamp(52px, 7vw, 76px) 0 34px;
  margin-top: clamp(64px, 8vw, 100px);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.3fr;
  gap: clamp(30px, 5vw, 60px);
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.site-footer .brand { font-size: 1.28rem; margin-bottom: 14px; }
.footer-tagline { color: #9FBFD8; font-size: .95rem; max-width: 26em; }
.site-footer h4 {
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sky-300); margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer ul a { color: #C4DBEC; text-decoration: none; font-size: .95rem; }
.site-footer ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer address { font-style: normal; font-size: .95rem; color: #C4DBEC; }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  align-items: center; justify-content: space-between;
  padding-top: 24px; font-size: .87rem; color: #8FB2CC;
}
.footer-legal .legal-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-legal a, .footer-legal button.linklike {
  color: #C4DBEC; text-decoration: underline; text-underline-offset: 3px;
}
button.linklike {
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; cursor: pointer;
}
.footer-legal a:hover, .footer-legal button.linklike:hover { color: #fff; }

/* ---------- Aviso de cookies ---------- */
.cookie-banner {
  position: fixed; z-index: 240;
  left: 16px; right: 16px; bottom: 16px;
  margin: 0 auto; max-width: 780px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(6, 30, 65, .35);
  padding: 22px 24px;
}
.cookie-banner h2 { font-size: 1.05rem; margin-bottom: 6px; }
.cookie-banner p { font-size: .92rem; color: var(--ink-2); margin-bottom: 14px; }
.cookie-banner p a { font-weight: 600; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Modal de preferências ---------- */
.cookie-overlay {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(6, 20, 40, .58);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
}
/* garante que o atributo hidden vença o display:flex acima */
.cookie-overlay[hidden], .cookie-banner[hidden], .map-consent[hidden] { display: none; }
.cookie-modal {
  background: #fff; border-radius: 20px;
  max-width: 640px; width: 100%;
  max-height: min(86vh, 720px);
  display: flex; flex-direction: column;
  box-shadow: 0 30px 90px rgba(4, 16, 34, .5);
}
.cookie-modal-head {
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.cookie-modal-head h2 { font-size: 1.25rem; margin: 0; }
.cookie-modal-head p { margin: 6px 0 0; font-size: .9rem; color: var(--muted); }
.cookie-close {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff;
  font-size: 1.15rem; line-height: 1; cursor: pointer; color: var(--ink-2);
}
.cookie-close:hover { background: var(--sky-100); }
.cookie-modal-body { padding: 10px 28px; overflow-y: auto; }
.consent-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.consent-row:last-child { border-bottom: 0; }
.consent-row h3 { font-size: 1rem; margin-bottom: 4px; }
.consent-row p { margin: 0; font-size: .88rem; color: var(--muted); }
.consent-row .always { font-size: .78rem; font-weight: 700; color: #15803D; white-space: nowrap; padding-top: 4px; }

/* switch */
.switch { position: relative; display: inline-block; flex: none; width: 50px; height: 28px; margin-top: 2px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track {
  position: absolute; inset: 0; border-radius: 999px;
  background: #C8D8E4; transition: background .2s ease;
}
.switch .track::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  transition: transform .2s ease;
}
.switch input:checked + .track { background: var(--blue-600); }
.switch input:checked + .track::after { transform: translateX(22px); }
.switch input:focus-visible + .track { outline: 3px solid var(--sky-400); outline-offset: 2px; }
.switch input:disabled + .track { background: #86C79B; opacity: .55; cursor: not-allowed; }

.cookie-modal-foot {
  padding: 18px 28px 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end;
}

/* ---------- Página: Política de Privacidade ---------- */
.policy-hero {
  background: linear-gradient(150deg, var(--navy-950), var(--navy-900) 55%, var(--blue-700));
  color: #fff;
  padding: calc(var(--header-h) + clamp(40px, 6vw, 64px)) 0 clamp(48px, 7vw, 72px);
}
.policy-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.025em; max-width: 18em; }
.policy-hero .meta { color: var(--sky-300); font-size: .92rem; font-weight: 600; }
.policy-layout {
  display: grid; grid-template-columns: 280px 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(40px, 6vw, 64px) 0;
  align-items: start;
}
.policy-toc {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.policy-toc h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 12px; }
.policy-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 7px; }
.policy-toc a { font-size: .9rem; color: var(--ink-2); text-decoration: none; }
.policy-toc a:hover { color: var(--blue-600); text-decoration: underline; }
.policy-body { max-width: 46rem; }
.policy-body section { margin-bottom: 38px; scroll-margin-top: calc(var(--header-h) + 20px); }
.policy-body h2 { font-size: 1.4rem; margin-bottom: 12px; }
.policy-body p, .policy-body li { color: var(--ink-2); font-size: .98rem; }
.policy-body ul { padding-left: 22px; }
.policy-callout {
  background: var(--aqua-50); border: 1px solid var(--line);
  border-left: 3px solid var(--blue-600);
  border-radius: 10px; padding: 16px 20px; font-size: .95rem;
}
.policy-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 14px 0; }
.policy-table th, .policy-table td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.policy-table th { background: var(--sky-100); color: var(--navy-900); font-weight: 700; }
.policy-table td { color: var(--ink-2); }
.table-scroll { overflow-x: auto; }

/* ---------- Animações de entrada ----------
   Só escondem elementos quando o JS está ativo (html.js);
   sem JS, todo o conteúdo permanece visível. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-pill .dot { animation: none; }
  .btn, .value-card, .product-card, .pillar, .contact-card { transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .stats-card { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .inst-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .pharma-banner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-toc { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .product-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .stats-card { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .pillar-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .cookie-actions .btn { flex: 1 1 100%; }
  .cookie-modal-foot .btn { flex: 1 1 100%; }
  .hero-chip { display: none; }
  .footer-legal { justify-content: flex-start; }
}
