/* =========================================================
   Lúmina Laboratório — Análises Clínicas
   Paleta: verde #049b4d (principal) · azul #0065ad (detalhes)
   ========================================================= */

:root {
  --green: #049b4d;
  --green-600: #038442;
  --green-700: #036b36;
  --green-soft: #45bd7c;
  --green-50: #e2f3e9;
  --green-25: #eef8f2;
  --blue: #0065ad;
  --blue-50: #e8f1f9;

  --grad: linear-gradient(100deg, #049b4d 0%, #0065ad 100%);
  --grad-hover: linear-gradient(100deg, #038442 0%, #00589a 100%);

  --ink: #0f2a2a;
  --text: #22302f;
  --muted: #5d6c6b;
  --bg: #ffffff;
  --bg-soft: #edf7f1;
  --border: #e3ebe7;

  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --shadow-card: 0 2px 12px rgba(10, 50, 40, .06);
  --shadow-panel: 0 14px 40px rgba(10, 50, 60, .12);

  --container: 1200px;
  --gutter: 40px;
  --section: 104px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: 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;
}

/* Ícones */
.ic {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.ic--lg { width: 26px; height: 26px; }

/* Tipografia utilitária */
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow--light { color: #bfe6d2; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.18;
  letter-spacing: -.025em;
  color: var(--ink);
}
.section-title--light { color: #fff; }

.section-text {
  margin-top: 16px;
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section { padding-block: var(--section); }

.section-head { margin-bottom: 48px; }
.section-head--split {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
}
.section-head--center { text-align: center; }
.section-head--center .section-title { max-width: 640px; margin-inline: auto; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: var(--radius-sm);
  font: 600 15px/1 var(--font-body);
  border: 0; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn--lg { height: 54px; padding: 0 26px; font-size: 15.5px; }

.btn--grad {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 6px 18px rgba(4, 155, 77, .22);
}
.btn--grad:hover {
  background: var(--grad-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 101, 173, .24);
}

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.btn--ghost:hover { border-color: #cfe3d8; transform: translateY(-1px); }

.btn__circle {
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--green); color: var(--green);
}
.btn__circle .ic { width: 15px; height: 15px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px; color: var(--ink); white-space: nowrap;
}
.link-arrow .ic { color: var(--blue); transition: transform .2s ease; }
.link-arrow:hover .ic { transform: translateX(4px); }

/* Ícone em círculo */
.icon-circle {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--green-soft); color: #fff;
  box-shadow: 0 5px 12px rgba(69, 189, 124, .22);
}
.icon-circle .ic { width: 23px; height: 23px; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header.is-scrolled { border-color: var(--border); box-shadow: 0 4px 18px rgba(10, 50, 40, .05); }

.header__inner {
  height: 80px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 36px; height: 36px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text strong {
  font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--ink);
}
.logo__text small {
  margin-top: 4px; font-size: 10px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 40px; }
.nav__link {
  position: relative; font-size: 15px; font-weight: 500; color: var(--text);
  padding-block: 6px; transition: color .2s ease;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; margin-inline: auto;
  width: 0; height: 2px; border-radius: 2px; background: var(--grad);
  transition: width .25s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { width: 22px; }
.nav__cta { display: none; }

.menu-btn {
  display: none; place-items: center;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: #fff; color: var(--ink); cursor: pointer;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(4, 155, 77, .14), transparent 60%),
    linear-gradient(180deg, var(--green-25) 0%, #fff 100%);
  padding-block: 64px 80px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 41fr 59fr;
  gap: 48px;
  align-items: center;
}

.hero__title {
  font-size: clamp(38px, 4.1vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
}
.hero__title .grad-text { display: inline; }

.hero__text {
  margin-top: 22px;
  font-size: 18px;
  color: var(--muted);
  max-width: 470px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--green-50);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(244, 250, 246, .35) 0%, transparent 30%);
  pointer-events: none;
}

/* Detalhes do visual do hero */
.hero__visual { position: relative; }
.hero__visual .hero__media { position: relative; z-index: 1; }

.hero__glow {
  position: absolute; z-index: 0;
  inset: 6% -5% -7% 12%;
  border-radius: 40px;
  background:
    radial-gradient(60% 60% at 30% 70%, rgba(4, 155, 77, .30), transparent 70%),
    radial-gradient(55% 55% at 85% 30%, rgba(0, 101, 173, .26), transparent 70%);
  filter: blur(42px);
  pointer-events: none;
}

.hero__tag {
  position: absolute; z-index: 2;
  left: -40px; bottom: 44px;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px 14px 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(10, 50, 60, .16);
}
.hero__tag-icon {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #fff;
}
.hero__tag strong { display: block; font-size: 14.5px; color: var(--ink); line-height: 1.3; }
.hero__tag small { display: block; font-size: 12.5px; color: var(--muted); }

.hero__chip {
  position: absolute; z-index: 2;
  top: 26px; right: 26px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 22px rgba(10, 50, 60, .12);
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.hero__chip .ic { width: 17px; height: 17px; color: var(--green); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.float { animation: float 5.5s ease-in-out infinite; }
.float--delay { animation-delay: -2.75s; }

/* =========================================================
   EXAMES
   ========================================================= */

.exams__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.exam {
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px 24px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.exam:hover {
  transform: translateY(-3px);
  border-color: rgba(4, 155, 77, .45);
  box-shadow: 0 12px 30px rgba(4, 100, 60, .12);
}
.exam[hidden] { display: none; }

.exam__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--green-soft); color: #fff;
  box-shadow: 0 5px 12px rgba(69, 189, 124, .2);
  margin-bottom: 20px;
}
.exam__icon .ic { width: 23px; height: 23px; }
.exam h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.exam p { margin-top: 6px; font-size: 14.5px; color: var(--muted); line-height: 1.55; flex: 1; }

.exam__link {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--border);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--green);
}
.exam__link .ic { width: 16px; height: 16px; transition: transform .2s ease; }
.exam__link:hover .ic { transform: translateX(4px); }

.badge {
  position: absolute; top: 22px; right: 20px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .02em;
  background: var(--green-50); color: var(--green-700);
}
.badge--blue { background: var(--blue-50); color: var(--blue); }

.exams__empty {
  margin-top: 8px; padding: 22px; text-align: center;
  border: 1px dashed #cfe0d7; border-radius: var(--radius-md); color: var(--muted);
}
.exams__empty a { color: var(--green); font-weight: 700; }

.exams__more { display: flex; justify-content: center; margin-top: 44px; }

/* =========================================================
   FACILIDADES
   ========================================================= */
.perks { background: var(--bg-soft); padding-block: 88px; }

.perks__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.perk {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 32px 28px;
  border-right: 1px solid var(--border);
}
.perk:last-child { border-right: 0; }
.perk h3 { font-size: 16.5px; font-weight: 700; margin-top: 2px; }
.perk p { margin-top: 6px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* =========================================================
   CONVÊNIOS
   ========================================================= */
.plans__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.plans__copy .btn { margin-top: 32px; }
.plans__note {
  margin-top: 18px; font-size: 14px; font-style: italic; color: var(--muted);
}

.plans__list {
  padding: 36px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.plans__list-title {
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.plans__items { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plans__items li {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; color: var(--ink);
}
.plans__items .ic {
  width: 22px; height: 22px; padding: 4px; border-radius: 50%;
  background: var(--green-soft); color: #fff; stroke-width: 2.6;
}
.plans__items li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* =========================================================
   FAIXA EM MOVIMENTO
   ========================================================= */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: var(--green-25);
  padding-block: 14px;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 80s linear infinite;
}
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee span {
  padding-inline: 28px;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); white-space: nowrap;
}
.marquee i {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--grad);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 600px) {
  .marquee { padding-block: 11px; }
  .marquee span { font-size: 11px; padding-inline: 20px; }
  .marquee__track { animation-duration: 60s; }
}

/* =========================================================
   SOBRE — bloco de cor
   ========================================================= */
.about {
  position: relative;
  overflow: hidden;
  padding-block: 96px;
  color: #e3f3ea;
  background: linear-gradient(125deg, #036b36 0%, #049b4d 52%, #037c6c 78%, #0065ad 110%);
}
.about::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 380px at 100% 100%, rgba(0, 101, 173, .45), transparent 70%),
    radial-gradient(500px 300px at 0% 0%, rgba(255, 255, 255, .08), transparent 70%);
  pointer-events: none;
}

.about__grid {
  position: relative;
  grid-template-areas: "media copy" "cards cards";
  row-gap: 56px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
  align-items: center;
}
.about__copy p { margin-top: 18px; font-size: 16.5px; color: #d6eee1; max-width: 480px; }
.about__copy .section-title { margin-bottom: 8px; }
.about__tagline {
  margin-top: 26px !important;
  padding-left: 16px;
  border-left: 2px solid rgba(255, 255, 255, .6);
  font-weight: 700; color: #fff !important;
}

.about__copy { grid-area: copy; }
.about__media {
  grid-area: media;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 20px 50px rgba(0, 40, 30, .25);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__cards { grid-area: cards; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  display: flex; flex-direction: column; gap: 6px;
  padding: 28px 26px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
}
.stat .ic { margin-bottom: 14px; }
.stat strong {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; line-height: 1.2; letter-spacing: -.02em;
}
.stat span { font-size: 14.5px; color: #d6eee1; }

/* =========================================================
   PREVENÇÃO
   ========================================================= */
.prevent__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}
.prevent__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--green-50);
}
.prevent__media img { width: 100%; height: 100%; object-fit: cover; }

.prevent__note {
  margin-top: 26px;
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--green-50);
  border-left: 3px solid var(--green);
  color: var(--green-700); font-size: 15px; font-weight: 500;
}
.prevent__note .ic { color: var(--green); margin-top: 2px; }
.prevent__copy .btn { margin-top: 30px; }

/* =========================================================
   CONTATO
   ========================================================= */
.contact { padding-top: 0; }

.contact__card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.contact__card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad);
}
.contact__copy .btn { margin-top: 30px; }

.contact__info { display: grid; gap: 14px; }
.contact__info li {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.contact__info strong { display: block; color: var(--ink); font-size: 15.5px; }
.contact__info span { font-size: 14.5px; color: var(--muted); }
.contact__info .icon-circle { color: #fff; }

/* Mapa */
.map {
  position: relative;
  margin-top: 20px;
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map__link {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(10, 50, 60, .14);
  font-size: 13.5px; font-weight: 700; color: var(--ink);
}
.map__link .ic { width: 17px; height: 17px; color: var(--green); }
.map__link:hover { color: var(--green); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding-top: 72px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer__brand p { margin-top: 18px; color: var(--muted); font-size: 15px; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-50); color: var(--green);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.footer__social a:hover { background: var(--grad); color: #fff; transform: translateY(-2px); }
.footer__social .ic { width: 20px; height: 20px; }

.footer h4 { font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a, .footer__plain li { font-size: 14.5px; color: var(--muted); }
.footer ul a:hover { color: var(--green); }

.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 24px;
  border-top: 1px solid var(--border);
  font-size: 13.5px; color: var(--muted);
}
.footer__bottom a:hover { color: var(--green); }

/* =========================================================
   WHATSAPP FLUTUANTE
   ========================================================= */
.wa-float {
  position: fixed; right: 28px; bottom: 28px; z-index: 60;
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 12px rgba(0, 80, 120, .22);
  transition: transform .25s ease, box-shadow .25s ease;
}
.wa-float .ic { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0, 80, 120, .26); }

/* Indicadores do carrossel (só aparecem no celular) */
.carousel-dots { display: none; }

/* =========================================================
   PÁGINA — TODOS OS EXAMES
   ========================================================= */
.page-hero {
  padding-block: 64px 56px;
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(4, 155, 77, .14), transparent 60%),
    linear-gradient(180deg, var(--green-25) 0%, #fff 100%);
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--muted); margin-bottom: 22px;
}
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: var(--blue); font-weight: 600; }
.page-title {
  font-size: clamp(34px, 3.8vw, 50px);
  font-weight: 800; line-height: 1.1; letter-spacing: -.03em;
  max-width: 760px;
}

.all-exams { padding-top: 24px; }

.exam-tools {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; margin-bottom: 32px;
}
.exam-search {
  position: relative; flex: 1 1 320px; max-width: 440px;
}
.exam-search .ic {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 19px; height: 19px; color: var(--green); pointer-events: none;
}
.exam-search input {
  width: 100%; height: 48px;
  padding: 0 18px 0 46px;
  border: 1px solid var(--border); border-radius: 999px;
  background: #fff;
  font: 500 15px/1 var(--font-body); color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.exam-search input::placeholder { color: #93a19f; }
.exam-search input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(4, 155, 77, .12); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-btn {
  height: 42px; padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font: 600 14px/1 var(--font-body); color: var(--text);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.filter-btn:hover { border-color: #cfe3d8; color: var(--ink); }
.filter-btn.is-active { background: var(--grad); color: #fff; border-color: transparent; }

/* =========================================================
   ANIMAÇÃO SUTIL DE ENTRADA
   ========================================================= */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1100px) {
  :root { --gutter: 32px; --section: 88px; }
  .nav { gap: 28px; }
  .exams__grid { grid-template-columns: repeat(3, 1fr); }
  .exams__grid--home { grid-template-columns: repeat(2, 1fr); }
  .perks__grid { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(2) { border-right: 0; }
  .perk:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 900px) {
  :root { --gutter: 24px; --section: 76px; }

  .menu-btn { display: grid; }
  .header__cta { display: none; }
  .header__inner { height: 70px; }

  .nav {
    position: fixed; top: 70px; left: 0; right: 0;
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
    overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 32px;
    background: #fff;
    border-top: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
  .nav__link::after { display: none; }
  .nav__cta { display: inline-flex; align-self: flex-start; margin-top: 24px; }

  .hero { padding-block: 32px 72px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__media { aspect-ratio: 16 / 10; }
  .hero__glow { inset: 8% 0 -6% 0; filter: blur(32px); }
  .hero__tag { left: 14px; bottom: 16px; }


  .section-head--split { flex-direction: column; align-items: flex-start; }
  .exams__grid { grid-template-columns: repeat(2, 1fr); }

  .plans__grid, .about__grid, .prevent__grid { grid-template-columns: 1fr; gap: 44px; }
  .about__grid { grid-template-areas: "media" "copy" "cards"; }
  .about__cards { grid-template-columns: 1fr 1fr; }
  .contact__card { grid-template-columns: 1fr; gap: 36px; padding: 40px 28px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; --section: 64px; }
  body { font-size: 15.5px; }

  .hero__title { font-size: 38px; }
  .hero__text { font-size: 16.5px; }
  .hero__media { aspect-ratio: 7 / 5; }

  .section-text { font-size: 16px; }

  .exams__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .exam { padding: 18px 14px 14px; }
  .exam .badge { display: none; }
  .exam__icon { width: 40px; height: 40px; margin-bottom: 14px; }
  .exam h3 { font-size: 15px; }
  .exam p { font-size: 13px; }
  .exam__link { margin-top: 12px; padding-top: 12px; font-size: 13px; }

  .perks { padding-block: 64px; }
  .perks__grid { grid-template-columns: 1fr; }
  .perk { border-right: 0 !important; border-bottom: 1px solid var(--border); padding: 24px 20px; }
  .perk:last-child { border-bottom: 0; }

  .plans__list { padding: 22px 18px; }
  .plans__items { grid-template-columns: 1fr; }

  .about { padding-block: 72px; }
  .about__cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px 16px; }
  .stat strong { font-size: 21px; }
  .stat span { font-size: 13px; }

  .contact__card { padding: 32px 18px; border-radius: var(--radius-lg); }

  .footer { padding-top: 56px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; }
}

/* Carrossel de exames (home) no celular — arrastar para o lado */
@media (max-width: 700px) {
  .exams__grid--home {
    display: flex; gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 18px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .exams__grid--home::-webkit-scrollbar { display: none; }
  .exams__grid--home .exam {
    flex: 0 0 80%;
    scroll-snap-align: start;
    padding: 22px 20px 18px;
  }
  .exams__grid--home .exam .badge { display: inline-block; }
  .exams__grid--home .exam__icon { width: 46px; height: 46px; margin-bottom: 18px; }
  .exams__grid--home .exam h3 { font-size: 16.5px; }
  .exams__grid--home .exam p { font-size: 14px; }
  .exams__grid--home .exam__link { margin-top: 16px; padding-top: 14px; font-size: 14px; }

  .carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
  .carousel-dots i {
    width: 7px; height: 7px; border-radius: 999px;
    background: #cfdcd6; transition: width .25s ease, background .25s ease;
  }
  .carousel-dots i.is-active { width: 22px; background: var(--grad); }

  .exams__more { margin-top: 28px; }

  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .wa-float .ic { width: 26px; height: 26px; }

  .hero__chip { top: 14px; right: 14px; font-size: 12px; padding: 7px 12px; }
  .hero__tag { padding: 10px 14px 10px 10px; }
  .hero__tag-icon { width: 36px; height: 36px; }
  .hero__tag strong { font-size: 13px; }
  .hero__tag small { font-size: 11.5px; }
}

/* Botões mais compactos no celular */
@media (max-width: 600px) {
  .btn { height: 46px; padding: 0 20px; font-size: 14.5px; }
  .btn--lg { height: 50px; padding: 0 22px; font-size: 14.5px; }
  .hero__actions { gap: 10px; }
  .map { height: 300px; border-radius: var(--radius-lg); }
  .map__link { left: 12px; bottom: 12px; }
}
