/* =========================================================
   Pharos by Cardoso — Seguros de Vida e Previdência
   Paleta: azul-noite + dourado (identidade do logo)
   ========================================================= */

/* Fontes hospedadas no próprio site (sem Google Fonts → CSP estrita e LGPD) */
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/manrope.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("../fonts/playfair.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display"; font-style: italic; font-weight: 500 600; font-display: swap;
  src: url("../fonts/playfair-italic.woff2") format("woff2");
}

:root {
  --night-900: #050a14;
  --night-800: #070d1a;
  --night-700: #0b1426;
  --night-600: #111d35;
  --night-500: #1a2a4a;
  --line: rgba(231, 196, 122, .16);
  --line-soft: rgba(255, 255, 255, .08);

  --gold-300: #f3d99b;
  --gold-400: #e7c47a;
  --gold-500: #c9a35a;
  --gold-600: #a8823e;
  --gold-grad: linear-gradient(135deg, #f3d99b 0%, #c9a35a 50%, #a8823e 100%);

  --blue-400: #3aa8ff;   /* azul MAG / INVIDA */
  --text: #eef1f7;
  --muted: #a3adc2;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  --glow: 0 0 0 1px var(--line), 0 20px 60px -25px rgba(231, 196, 122, .35);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--night-800);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; font-variant-numeric: lining-nums; }
.stat strong, .dit__num, .plan__big, .step__n { font-variant-numeric: lining-nums; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; color: var(--gold-400); }
::selection { background: var(--gold-500); color: var(--night-900); }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }

/* ---------- Tipografia comum ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold-grad); }

.section { padding: clamp(72px, 9vw, 112px) 0; position: relative; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section__head .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold-grad); }
.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  letter-spacing: -.01em;
}
.section__sub { color: var(--muted); font-size: 1.08rem; }
.section__sub--left { max-width: 560px; }

/* ---------- Botões ---------- */
.btn {
  --pad: 16px 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad);
  border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  position: relative; overflow: hidden;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn .ico { width: 20px; height: 20px; }
.btn--gold { background: var(--gold-grad); color: var(--night-900); box-shadow: 0 10px 30px -10px rgba(231, 196, 122, .6); }
.btn--gold::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--gold:hover { box-shadow: 0 16px 40px -10px rgba(231, 196, 122, .8); }
.btn--ghost { border-color: rgba(255,255,255,.22); color: var(--text); background: rgba(255,255,255,.03); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold-400); color: var(--gold-300); }
.btn--outline { border-color: var(--gold-500); color: var(--gold-300); }
.btn--outline:hover { background: rgba(231,196,122,.1); }
.btn--sm { --pad: 10px 20px; font-size: .85rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background .4s, box-shadow .4s, height .4s;
}
.header.is-scrolled {
  background: rgba(5, 10, 20, .78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
  --header-h: 66px;
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--gold-400); }
.brand__icon { width: 34px; height: 34px; filter: drop-shadow(0 0 8px rgba(231,196,122,.5)); }
.brand__text {
  font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; letter-spacing: .14em; color: #fff;
  display: inline-flex; flex-direction: column; line-height: 1;
}
.brand__text small {
  font-family: var(--font-body); font-size: .56rem; letter-spacing: .38em; font-weight: 600;
  color: var(--gold-400); text-transform: uppercase; margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 30px; font-size: .92rem; font-weight: 600; }
.nav a:not(.btn) { color: rgba(255,255,255,.78); position: relative; padding: 6px 0; transition: color .3s; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover, .nav a.is-active { color: #fff; }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; z-index: 60; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .3s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 100px;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 75% 40%, rgba(26, 42, 74, .9), transparent 60%),
    radial-gradient(800px 500px at 10% 100%, rgba(17, 29, 53, .9), transparent 60%),
    linear-gradient(180deg, var(--night-900), var(--night-800));
}
.hero__sky { position: absolute; inset: 0; pointer-events: none; }
#stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__beam {
  position: absolute; top: 42%; left: 74%;
  width: 220vmax; height: 220vmax;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg, transparent 0deg, rgba(243, 217, 155, .16) 8deg, rgba(243,217,155,.05) 22deg, transparent 30deg, transparent 360deg);
  border-radius: 50%;
  animation: sweep 14s linear infinite;
  mask-image: radial-gradient(circle, #000 0%, transparent 45%);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 45%);
}
@keyframes sweep { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero__glow {
  position: absolute; top: 42%; left: 74%; width: 520px; height: 520px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(231,196,122,.22), transparent 65%);
  filter: blur(20px);
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .55; transform: translate(-50%, -50%) scale(1.08); } }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.5rem, 5.8vw, 4.7rem);
  letter-spacing: -.015em; line-height: 1.02;
  margin-bottom: 26px;
}
.hero__title em {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .08em;
}
.hero__lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 540px; margin-bottom: 34px; }
.hero__lead strong { color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .88rem; color: rgba(255,255,255,.75); }
.hero__trust span { color: var(--gold-400); font-weight: 800; margin-right: 4px; }

.hero__visual { display: grid; place-items: center; }
.orb { position: relative; width: min(440px, 80vw); aspect-ratio: 1; animation: float 7s ease-in-out infinite; }
.orb__img {
  position: absolute; inset: 7%; width: 86%; height: 86%;
  border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 80px -10px rgba(231,196,122,.45), 0 30px 80px -20px #000;
}
.orb__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(231,196,122,.35);
  border-top-color: var(--gold-300);
  animation: spin 18s linear infinite;
}
.orb__ring--2 { inset: -6%; border-color: rgba(231,196,122,.12); border-right-color: rgba(243,217,155,.6); animation-duration: 28s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-14px); } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 14px;
}
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-400); animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* ---------- Stats ---------- */
.stats { position: relative; margin-top: -1px; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(17,29,53,.6), rgba(7,13,26,.6)); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 38px 20px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: var(--line); }
.stat strong {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat > span { font-size: .88rem; color: var(--muted); }

/* ---------- Sobre ---------- */
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__media { position: relative; display: grid; place-items: center; }
.about__photo {
  position: relative; width: min(280px, 70vw); aspect-ratio: 1; border-radius: 50%;
  padding: 10px; background: conic-gradient(from 200deg, var(--gold-300), var(--gold-600), transparent 60%, var(--gold-400));
  box-shadow: var(--glow);
}
.about__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 48% 40%; background: var(--night-700); }
.about__badge {
  position: absolute; right: 4%; bottom: 6%;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: 16px;
  background: rgba(11, 20, 38, .85); backdrop-filter: blur(10px);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow);
  font-size: .9rem; font-weight: 700; line-height: 1.2;
}
.about__badge small { font-weight: 500; color: var(--muted); font-size: .75rem; }
.about__badge-k { font-size: 1.6rem; font-weight: 800; color: var(--blue-400); letter-spacing: -.02em; }
.about__content p { color: var(--muted); font-size: 1.05rem; }
.about__content p strong { color: #fff; }
.checklist { margin: 26px 0 34px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: .75rem; font-weight: 800; color: var(--night-900); background: var(--gold-grad);
}

/* ---------- Soluções ---------- */
.solutions { background: linear-gradient(180deg, var(--night-800), var(--night-700)); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; padding: 34px 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(26,42,74,.55), rgba(11,20,38,.55));
  border: 1px solid var(--line-soft);
  transition: transform .45s var(--ease), border-color .45s, box-shadow .45s;
  overflow: hidden; isolation: isolate;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(231,196,122,.14), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: var(--glow); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(231,196,122,.1); border: 1px solid var(--line);
}
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--gold-400); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.2rem; font-weight: 700; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card--highlight { background: linear-gradient(160deg, rgba(201,163,90,.22), rgba(26,42,74,.6)); border-color: var(--line); }
.card__link { display: inline-block; margin-top: 16px; color: var(--gold-300); font-weight: 700; font-size: .92rem; }
.card__link:hover { color: #fff; }

/* ---------- DIT ---------- */
.dit { background: var(--night-700); }
.dit::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 500px at 100% 0%, rgba(58,168,255,.08), transparent 60%);
}
.dit__intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: end; margin-bottom: 50px; }
.dit__features { display: grid; gap: 14px; }
.dit__features li {
  display: flex; align-items: center; gap: 20px;
  padding: 18px 22px; border-radius: var(--radius);
  background: rgba(255,255,255,.03); border: 1px solid var(--line-soft);
  color: var(--muted); font-size: .95rem;
}
.dit__num {
  font-family: var(--font-display); font-weight: 700; font-size: 2.3rem; line-height: 1; min-width: 92px;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dit__num small { font-size: .9rem; margin-left: 2px; }

.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter {
  font: inherit; font-weight: 700; font-size: .9rem;
  padding: 11px 22px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--muted); border: 1px solid var(--line-soft);
  transition: all .3s var(--ease);
}
.filter:hover { color: #fff; border-color: var(--line); }
.filter.is-active { background: var(--gold-grad); color: var(--night-900); border-color: transparent; }

.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.prof {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--night-600); border: 1px solid var(--line-soft);
  transition: transform .45s var(--ease), box-shadow .45s, opacity .4s, border-color .45s;
}
.prof.is-hidden { display: none; }
.prof:hover { transform: translateY(-6px); box-shadow: var(--glow); border-color: var(--line); }
.prof__img { aspect-ratio: 472 / 570; overflow: hidden; cursor: zoom-in; }
.prof__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.prof:hover .prof__img img { transform: scale(1.05); }
.prof__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; border-top: 1px solid var(--line-soft);
}
.prof__name { font-weight: 700; font-size: .95rem; }
.prof__name small { display: block; font-weight: 500; font-size: .74rem; color: var(--muted); letter-spacing: .04em; }
.prof__cta {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(231,196,122,.12); color: var(--gold-300); border: 1px solid var(--line);
  transition: background .3s, color .3s, transform .3s;
}
.prof__cta svg { width: 18px; height: 18px; }
.prof__cta:hover { background: var(--gold-grad); color: var(--night-900); transform: rotate(-8deg) scale(1.08); }

.dit__medicos {
  margin-top: 70px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center;
  padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(58,168,255,.1), rgba(26,42,74,.5) 40%, rgba(11,20,38,.6));
  border: 1px solid var(--line-soft);
}
.dit__medicos img { border-radius: var(--radius); box-shadow: var(--shadow); cursor: zoom-in; }
.dit__medicos h3 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; }
.dit__medicos p { color: var(--muted); }
.modalities { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 30px; }
.modality { padding: 18px; border-radius: 14px; border: 1px solid rgba(58,168,255,.35); background: rgba(58,168,255,.06); }
.modality strong { display: block; color: var(--blue-400); margin-bottom: 6px; letter-spacing: .03em; }
.modality span { font-size: .88rem; color: var(--muted); line-height: 1.5; display: block; }

/* ---------- Doenças Graves ---------- */
.dg { background: linear-gradient(180deg, var(--night-700), var(--night-800)); }
.dg__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.plan {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(170deg, rgba(26,42,74,.6), rgba(11,20,38,.8));
  border: 1px solid var(--line-soft);
  transition: transform .45s var(--ease), box-shadow .45s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--glow); }
.plan--featured { border-color: var(--line); }
.plan__ribbon {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  padding: 6px 14px; border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: var(--gold-grad); color: var(--night-900);
}
.plan__img { aspect-ratio: 575 / 255; overflow: hidden; cursor: zoom-in; }
.plan__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s var(--ease); }
.plan:hover .plan__img img { transform: scale(1.04); }
.plan__body { padding: 30px; }
.plan__tag { display: inline-block; padding: 4px 14px; border-radius: 999px; border: 1px solid var(--blue-400); color: var(--blue-400); font-weight: 700; font-size: .8rem; margin-bottom: 12px; }
.plan h3 { font-size: 1.4rem; display: flex; align-items: baseline; gap: 10px; }
.plan__big { font-family: var(--font-display); font-size: 3rem; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan p { color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.pills li { padding: 6px 14px; border-radius: 999px; font-size: .82rem; background: rgba(255,255,255,.05); border: 1px solid var(--line-soft); }

/* ---------- Como funciona ---------- */
.steps__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps__list::before {
  content: ""; position: absolute; top: 44px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.step { position: relative; text-align: center; padding: 0 16px; }
.step__n {
  position: relative; display: grid; place-items: center; margin: 0 auto 22px;
  width: 88px; height: 88px; border-radius: 50%;
  font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--gold-300);
  background: var(--night-800); border: 1px solid var(--line);
  box-shadow: 0 0 0 8px var(--night-800), 0 0 40px -6px rgba(231,196,122,.4);
}
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--night-700); }
.faq__list { display: grid; gap: 12px; }
.faq details {
  border-radius: var(--radius); border: 1px solid var(--line-soft);
  background: rgba(255,255,255,.025); transition: border-color .3s, background .3s;
}
.faq details[open] { border-color: var(--line); background: rgba(231,196,122,.04); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 60px 22px 26px; position: relative;
  font-weight: 700; font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--gold-400); font-size: 1.2rem; font-weight: 400;
  transition: transform .35s var(--ease), background .3s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: rgba(231,196,122,.12); }
.faq details p { padding: 0 26px 22px; margin: 0; color: var(--muted); }

/* ---------- Contato ---------- */
.contact {
  background:
    radial-gradient(700px 400px at 0% 50%, rgba(231,196,122,.1), transparent 60%),
    var(--night-800);
}
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.contact__text > p { color: var(--muted); font-size: 1.05rem; }
.contact__info { margin-top: 28px; display: grid; gap: 14px; }
.contact__info li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.contact__info a:hover { color: var(--gold-300); }
.contact__ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(231,196,122,.1); border: 1px solid var(--line); color: var(--gold-400); font-size: 1.15rem;
}

.form {
  padding: clamp(26px, 4vw, 40px); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(26,42,74,.65), rgba(11,20,38,.85));
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.form__row { margin-bottom: 18px; }
.form label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 8px; color: rgba(255,255,255,.85); }
.form label small { font-weight: 500; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--text);
  padding: 14px 16px; border-radius: 12px;
  background: rgba(5,10,20,.55); border: 1px solid var(--line-soft);
  transition: border-color .3s, box-shadow .3s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-400) 50%), linear-gradient(135deg, var(--gold-400) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form select option { background: var(--night-700); }
.form input::placeholder, .form textarea::placeholder { color: rgba(163,173,194,.6); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(231,196,122,.15); }
.form input.is-invalid { border-color: #ff7a7a; }
.form__note { margin: 14px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--night-900); border-top: 1px solid var(--line); padding: 60px 0 30px; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line-soft); }
.footer__brand p { color: var(--muted); margin: 14px 0 0; font-size: .9rem; }
.footer__slogan { font-family: var(--font-display); font-style: italic; color: var(--gold-400) !important; font-size: 1.15rem !important; margin-top: 6px !important; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; font-weight: 600; font-size: .92rem; }
.footer__nav a { color: rgba(255,255,255,.75); }
.footer__nav a:hover { color: var(--gold-300); }
.footer__legal { padding-top: 26px; font-size: .78rem; color: rgba(163,173,194,.7); }
.footer__legal p { margin-bottom: 8px; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37,211,102,.7);
  transition: transform .3s var(--ease);
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
  animation: ring 2.4s ease-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px;
  background: rgba(3,6,12,.9); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 88vh; width: auto; border-radius: 14px; box-shadow: 0 30px 80px #000; transform: scale(.94); transition: transform .4s var(--ease); }
.lightbox.is-open img { transform: scale(1); }
.lightbox__close {
  position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,.05); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer;
}

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; gap: 26px; font-size: 1.3rem;
    background: rgba(5,10,20,.97); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav__cta { margin-top: 10px; }
  .menu-toggle { display: block; }

  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__visual { order: -1; }
  .orb { width: min(280px, 70vw); }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__beam, .hero__glow { top: 28%; left: 50%; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }

  .about__grid, .dit__intro, .dit__medicos, .contact__grid, .dg__grid { grid-template-columns: 1fr; }
  .about__content { text-align: left; }
  .dit__medicos img { max-width: 420px; margin-inline: auto; }

  .steps__list { grid-template-columns: 1fr; gap: 36px; }
  .steps__list::before { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .modalities { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .prof__bar { padding: 10px 12px; }
  .prof__name { font-size: .85rem; }
  .prof__cta { width: 34px; height: 34px; }
  .dit__features li { padding: 14px 16px; }
  .dit__num { font-size: 1.9rem; min-width: 74px; }
  .plan__body { padding: 22px; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Política de Privacidade ---------- */
.form__note a, .footer__legal a { color: var(--gold-300); text-decoration: underline; text-underline-offset: 3px; }
.legal { padding-top: calc(var(--header-h) + 60px); }
.legal h2 { font-size: 1.2rem; margin: 36px 0 12px; color: var(--gold-300); }
.legal p, .legal__list { color: var(--muted); }
.legal a { color: var(--gold-300); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--text); }
.legal__date { font-size: .88rem; }
.legal__list { display: grid; gap: 8px; margin-bottom: 1em; }
.legal__list li { position: relative; padding-left: 22px; }
.legal__list li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }

/* ---------- Crédito do desenvolvedor ---------- */
.footer__legal .credit { margin-top: 14px; }
.footer__legal .credit a { color: #3b82f6; font-weight: 700; text-decoration: none; transition: color .3s; }
.footer__legal .credit a:hover { color: #60a5fa; text-decoration: underline; }
.legal__back { margin-top: 40px; }
.notfound { min-height: 100vh; display: grid; align-items: center; text-align: center; }
