/* =========================================================
   Duo Orto — Consultório Odontológico
   Paleta: branco, preto e cinza escuro
   ========================================================= */

:root {
  --black: #0c0c0d;
  --ink: #141416;
  --charcoal: #1d1d20;
  --graphite: #2a2a2e;
  --steel: #3a3a3f;
  --mute: #8d8d94;
  --mist: #c9c9cd;
  --paper: #f4f4f1;
  --white: #ffffff;

  --line-dark: rgba(255, 255, 255, .1);
  --line-light: rgba(12, 12, 13, .1);

  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--paper);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
::selection { background: var(--white); color: var(--black); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--white); color: var(--black); padding: 10px 16px; border-radius: 10px; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 13px; --pad-x: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .4s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .4s var(--ease);
  will-change: transform;
}
.btn--lg { --pad-y: 17px; --pad-x: 28px; font-size: 1rem; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { box-shadow: 0 14px 40px -12px rgba(255, 255, 255, .45); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .5); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .22); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--ghost .icon { transition: transform .4s var(--ease); }
.btn--ghost:hover .icon { transform: translateX(3px); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; color: var(--white); }
.logo__svg { width: 132px; height: auto; overflow: visible; }
.logo__svg { transition: transform .5s var(--ease); }
.logo:hover .logo__svg { transform: scale(1.04); }
.logo--sm .logo__svg { width: 140px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
}
/* Fundo em camada própria: blur/filtros no .header criariam um novo
   bloco de contenção e quebrariam o menu mobile (position: fixed) */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(12, 12, 13, .9);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line-dark);
  opacity: 0; transition: opacity .35s;
}
.header.is-scrolled::before { opacity: 1; }
.header__inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 30px; }
.nav__link {
  position: relative; font-size: .93rem; font-weight: 600; color: var(--mist);
  padding: 6px 0; transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark); position: relative; }
.burger span {
  position: absolute; left: 13px; right: 13px; height: 1.8px; background: var(--white); border-radius: 2px;
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  background:
    radial-gradient(1200px 700px at 78% 30%, #26262a 0%, transparent 60%),
    radial-gradient(700px 500px at 10% 90%, #1a1a1d 0%, transparent 70%),
    var(--black);
  overflow: hidden;
  isolation: isolate;
}
.hero__grain {
  position: absolute; inset: 0; z-index: -1; opacity: .06; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 72px);
}

.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04);
  font-size: .82rem; font-weight: 600; color: var(--mist); letter-spacing: .01em;
  margin-bottom: 28px;
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mute); position: relative; }
.status.is-open .status__dot { background: #4ade80; }
.status.is-open .status__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #4ade80;
  animation: ping 1.8s var(--ease) infinite;
}
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.hero__title {
  font-size: clamp(2.5rem, 5.4vw, 4.7rem);
  line-height: .98; letter-spacing: -.045em; font-weight: 800;
  margin-bottom: 26px;
}
.hero__title em { font-size: 1.08em; color: var(--mist); padding-right: .04em; }
.hero__lead { max-width: 33em; font-size: clamp(1rem, 1.3vw, 1.13rem); color: var(--mist); margin-bottom: 36px; }
.hero__lead strong { color: var(--white); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 52px; }

.hero__facts { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 48px); padding-top: 28px; border-top: 1px solid var(--line-dark); max-width: 520px; }
.hero__facts dt { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.hero__facts dd { font-size: .84rem; color: var(--mute); margin-top: 6px; line-height: 1.35; }

/* Arcos com os doutores */
.hero__visual {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end;
  height: clamp(420px, 62vh, 640px);
}
.arch {
  position: relative; height: 100%;
  border-radius: 999px 999px var(--radius) var(--radius);
  background: linear-gradient(180deg, #3a3a3f 0%, #232326 55%, #18181a 100%);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.arch--a { height: 92%; }
.arch--b { height: 80%; transform: translateY(-6%); }
.arch::before {
  content: ""; position: absolute; inset: 14px 14px auto; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .08);
}
.arch img {
  position: absolute; inset: auto 0 0; width: 100%; height: 94%;
  object-fit: cover; object-position: 58% top;
  filter: grayscale(.15) contrast(1.03);
  transition: transform 1.2s var(--ease), filter .6s;
}
.arch--b img { object-position: 62% top; }
.arch:hover img { transform: scale(1.04); filter: grayscale(0) contrast(1.05); }
.arch__tag {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  padding: 10px 14px; border-radius: 14px; text-align: center;
  background: rgba(12, 12, 13, .55); border: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: .82rem; font-weight: 700; letter-spacing: -.01em;
}

.hero__badge {
  position: absolute; left: 50%; top: 4%; translate: -50% 0;
  width: 116px; height: 116px; border-radius: 50%;
  background: var(--white); color: var(--black);
  display: grid; place-items: center;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .6);
}
.hero__badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.hero__badge-ring text { font-size: 9.6px; font-weight: 800; fill: currentColor; }
.hero__badge-tooth { width: 34px; height: 34px; }
@keyframes spin { to { rotate: 360deg; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
  width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 20px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--white);
  animation: cue 2s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--white); color: var(--black); overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line-light); }
.marquee__track {
  display: flex; align-items: center; gap: 36px; width: max-content;
  animation: marquee 32s linear infinite;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -.035em; text-transform: none;
}
.marquee__track span:nth-of-type(even) { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.marquee__track i { font-style: normal; font-size: .6em; color: var(--mute); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--tight-top { padding-top: 0; }
.section--light { background: var(--paper); color: var(--black); }
.section--dark { background: var(--black); }
.section--charcoal { background: var(--charcoal); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em;
  color: var(--steel); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.eyebrow--light { color: var(--mute); }

.section__title {
  font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.04; letter-spacing: -.04em; font-weight: 800;
  max-width: 17em; text-wrap: balance;
}
.section__title em { font-size: 1.08em; }
.section--light .section__title em { color: var(--steel); }
.section--dark .section__title em, .section--charcoal .section__title em { color: var(--mist); }
.section__sub { margin-top: 18px; font-size: 1.06rem; max-width: 34em; color: #5b5b61; }
.section--dark .section__sub, .section--charcoal .section__sub { color: var(--mute); }

.section__header { margin-bottom: clamp(44px, 6vw, 72px); }
.section__header--split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; }
.section__header--split .section__sub { margin-top: 0; }
.section__header--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section__header--center .section__title { margin-inline: auto; }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 80px); }
.about__body { align-self: end; font-size: 1.08rem; color: #46464b; }
.about__body strong { color: var(--black); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font-weight: 800; color: var(--black); border-bottom: 1.5px solid var(--black); padding-bottom: 3px;
}
.link-arrow .icon { transition: transform .4s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.pillars {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(80px, 10vw, 130px);
  border-top: 1px solid var(--line-light);
}
.pillar { padding: 32px 28px 0 0; position: relative; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line-light); }
.pillar__num { display: block; font-family: var(--font-serif); font-style: italic; font-size: 1.6rem; color: var(--mute); margin-bottom: 26px; }
.pillar h3 { font-size: 1.18rem; letter-spacing: -.025em; margin-bottom: 10px; }
.pillar p { font-size: .95rem; color: #5b5b61; }

/* ---------- Especialidades ---------- */
.services {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.service {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 34px 30px 30px;
  display: flex; flex-direction: column;
  min-height: 300px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), background-color .5s, color .5s, border-color .5s;
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--black); clip-path: circle(0% at 100% 0%);
  transition: clip-path .8s var(--ease);
}
.service > * { position: relative; z-index: 1; }
.service:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); color: var(--white); border-color: var(--black); }
.service:hover::before { clip-path: circle(150% at 100% 0%); }
.service:hover .service__text { color: var(--mist); }
.service:hover .service__icon { background: var(--white); color: var(--black); transform: rotate(-8deg); }
.service:hover .service__index { color: rgba(255, 255, 255, .14); }
.service:hover .service__tags li { border-color: rgba(255, 255, 255, .2); }

.service__icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: var(--black); color: var(--white); margin-bottom: auto;
  transition: transform .6s var(--ease), background-color .5s, color .5s;
}
.service__icon svg { width: 36px; height: 36px; }
.service__title { font-size: 1.5rem; letter-spacing: -.035em; margin: 48px 0 10px; }
.service__text { color: #5b5b61; font-size: .96rem; transition: color .5s; }
.service__index {
  position: absolute; right: 22px; top: 12px;
  font-size: 4.6rem; font-weight: 800; letter-spacing: -.06em; line-height: 1;
  color: rgba(12, 12, 13, .06); transition: color .5s;
}
.service__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.service__tags li { font-size: .8rem; font-weight: 700; padding: 7px 14px; border: 1px solid var(--line-light); border-radius: 999px; transition: border-color .5s; }

.service--feature { grid-row: span 2; background: var(--black); color: var(--white); border-color: var(--black); }
.service--feature::before { background: var(--graphite); }
.service--feature .service__icon { background: var(--white); color: var(--black); }
.service--feature .service__title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-top: auto; padding-top: 80px; }
.service--feature .service__text { color: var(--mist); font-size: 1.02rem; }
.service--feature .service__index { color: rgba(255, 255, 255, .08); font-size: 7rem; }
.service--feature .service__tags li { border-color: rgba(255, 255, 255, .2); }
.service--feature .service__icon { margin-bottom: 0; }

.service--cta {
  grid-column: span 2; background: var(--graphite); color: var(--white); border-color: var(--graphite);
  justify-content: space-between; min-height: 220px;
}
.service--cta::before { background: var(--white); }
.service--cta:hover { color: var(--black); border-color: var(--white); }
.service--cta__label { font-size: .85rem; font-weight: 700; color: var(--mute); letter-spacing: .02em; }
.service--cta__title { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; max-width: 16em; margin-top: 18px; }
.service--cta__go {
  position: absolute; right: 26px; bottom: 26px; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); color: var(--black);
  transition: transform .6s var(--ease), background-color .5s, color .5s;
}
.service--cta__go .icon { width: 24px; height: 24px; }
.service--cta:hover .service--cta__go { background: var(--black); color: var(--white); transform: rotate(45deg); }

/* ---------- Doutores ---------- */
.doctors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.doctor { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); border: 1px solid var(--line-dark); }
.doctor__photo {
  position: relative; aspect-ratio: 4 / 4.6; overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 40%, #3a3a3f 0%, transparent 70%),
    linear-gradient(180deg, #26262a, #141416);
}
.doctor__photo::after {
  content: ""; position: absolute; inset: auto 0 0; height: 40%;
  background: linear-gradient(0deg, var(--ink) 0%, transparent 100%);
}
.doctor__photo img {
  position: absolute; inset: auto 0 0; width: 100%; height: 96%;
  object-fit: cover; object-position: 60% top;
  transition: transform 1.4s var(--ease);
}
.doctor:hover .doctor__photo img { transform: scale(1.05); }
.doctor__info {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 28px 28px; margin-top: -48px; position: relative; z-index: 1;
}
.doctor__name { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.04em; line-height: 1.1; }
.doctor__role { color: var(--mute); font-size: .92rem; margin-top: 6px; font-weight: 600; }
.doctor__btn {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--black);
  transition: transform .6s var(--ease);
}
.doctor__btn .icon { width: 22px; height: 22px; }
.doctor__btn:hover { transform: rotate(45deg) scale(1.06); }

/* ---------- Passos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; position: relative; }
.step {
  position: relative; padding: 36px 30px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line-dark);
  transition: background-color .4s, transform .6s var(--ease);
}
.step:hover { background: rgba(255, 255, 255, .06); transform: translateY(-4px); }
.step__num {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--white); color: var(--black);
  font-family: var(--font-serif); font-style: italic; font-size: 1.7rem; margin-bottom: 40px;
}
.step h3 { font-size: 1.3rem; letter-spacing: -.03em; margin-bottom: 10px; }
.step p { color: var(--mute); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 63px; left: 96px; right: -8px; height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 6px, transparent 6px 12px);
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq__head .btn { margin-top: 30px; }
.qa { border-bottom: 1px solid var(--line-light); }
.qa:first-child { border-top: 1px solid var(--line-light); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; font-size: clamp(1.05rem, 1.6vw, 1.22rem); font-weight: 700; letter-spacing: -.025em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-light);
  background:
    linear-gradient(var(--black), var(--black)) center / 14px 1.6px no-repeat,
    linear-gradient(var(--black), var(--black)) center / 1.6px 14px no-repeat;
  transition: transform .5s var(--ease), background-color .3s;
}
.qa[open] summary::after {
  transform: rotate(135deg); background-color: var(--black);
  background-image: linear-gradient(var(--white), var(--white)), linear-gradient(var(--white), var(--white));
}
.qa summary:hover::after { border-color: var(--black); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 60px 28px 0; color: #5b5b61; }
.qa__a a { color: var(--black); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.qa[open] .qa__a { animation: qa-open .5s var(--ease); }
@keyframes qa-open { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Contato ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.info { margin: 44px 0; display: grid; gap: 4px; }
.info__item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.info__icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--graphite); color: var(--white);
}
.info__label { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); margin-bottom: 4px; }
.info__value { font-size: 1.12rem; font-weight: 600; line-height: 1.45; }
.info__value a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.map {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark);
  min-height: 460px; background: var(--charcoal);
}
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* ---------- Footer ---------- */
.footer { background: var(--black); border-top: 1px solid var(--line-dark); padding: 40px 0 28px; overflow: hidden; }
.footer__big { color: rgba(255, 255, 255, .07); margin: 10px 0 60px; user-select: none; }
.footer__big-svg { width: 100%; height: auto; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 48px; }
.footer__tag { color: var(--mute); margin-top: 22px; max-width: 18em; font-size: .95rem; }
.footer__social {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-top: 20px;
  border-radius: 50%; border: 1px solid var(--line-dark); color: var(--white);
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.footer__social:hover { background: var(--white); color: var(--black); transform: translateY(-2px); }
.footer__social .icon { width: 20px; height: 20px; }
.footer__h { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--mute); margin-bottom: 18px; }
.footer__grid ul { display: grid; gap: 10px; font-size: .95rem; color: var(--mist); }
.footer__grid a:hover { color: var(--white); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .85rem; color: var(--mute);
}
.to-top:hover { color: var(--white); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--black);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .06);
  transition: transform .5s var(--ease), opacity .4s;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--white);
  animation: ping 2.4s var(--ease) infinite;
}
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float.is-hidden { opacity: 0; transform: scale(.6); pointer-events: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

.js .hero__content > * { opacity: 0; transform: translateY(24px); animation: rise 1.1s var(--ease) forwards; }
.js .hero__content > *:nth-child(2) { animation-delay: .1s; }
.js .hero__content > *:nth-child(3) { animation-delay: .2s; }
.js .hero__content > *:nth-child(4) { animation-delay: .3s; }
.js .hero__content > *:nth-child(5) { animation-delay: .4s; }
.js .arch { animation: arch-in 1.4s var(--ease) both; }
.js .arch--b { animation-delay: .15s; }
.js .hero__badge { animation: pop 1s var(--ease) .6s both; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes arch-in { from { opacity: 0; clip-path: inset(100% 0 0 0 round 999px 999px 22px 22px); } to { opacity: 1; clip-path: inset(0 0 0 0 round 999px 999px 22px 22px); } }
@keyframes pop { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }


/* ---------- Splash ---------- */
.splash { display: none; }
html.is-splash body { overflow: hidden; }
html.is-splash .splash {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  color: var(--white); cursor: pointer;
  animation: splash-failsafe 0s 7s forwards; /* nunca prende o usuário se o JS falhar */
}
@keyframes splash-failsafe { to { visibility: hidden; } }

.splash__panel {
  position: absolute; left: 0; right: 0; height: 50.5%;
  background: var(--black);
  transition: transform 1.1s cubic-bezier(.77, 0, .18, 1);
}
.splash__panel--top { top: 0; background: radial-gradient(900px 500px at 50% 100%, #1f1f22 0%, var(--black) 70%); }
.splash__panel--bottom { bottom: 0; background: radial-gradient(900px 500px at 50% 0%, #1f1f22 0%, var(--black) 70%); }
.splash__panel--top::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 1px; translate: -50% 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
}

.splash__center { position: relative; text-align: center; transition: opacity .5s, transform .8s var(--ease), filter .6s; }
.splash__logo { width: min(78vw, 560px); height: auto; overflow: visible; color: var(--white); }
.splash__logo .sl {
  transform-box: fill-box; transform-origin: 50% 100%;
  opacity: 0; transform: translateY(40%) rotate(8deg); filter: blur(6px);
  animation: splash-letter .9s var(--ease) forwards;
  animation-delay: calc(.15s + var(--i) * .08s);
}
@keyframes splash-letter { to { opacity: 1; transform: none; filter: blur(0); } }

.splash__smile {
  transform-box: fill-box; transform-origin: 50% 50%;
  transform: scaleX(0); opacity: 0;
  animation: splash-smile 1s cubic-bezier(.65, 0, .35, 1) .85s forwards;
}
@keyframes splash-smile { 30% { opacity: 1; } to { opacity: 1; transform: scaleX(1); } }

.splash__tag {
  margin-top: clamp(22px, 3vw, 36px);
  --ls: .5em; font-size: clamp(.7rem, 1.4vw, .85rem); font-weight: 700; text-transform: uppercase; letter-spacing: var(--ls); padding-left: var(--ls);
  color: var(--mute); opacity: 0; animation: splash-fade 1s var(--ease) 1.1s forwards;
}
@keyframes splash-fade { from { opacity: 0; letter-spacing: calc(var(--ls) * 1.8); } to { opacity: 1; letter-spacing: var(--ls); } }

.splash__footer {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(28px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 20px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute);
  transition: opacity .4s;
}
.splash__count { min-width: 4ch; color: var(--white); font-variant-numeric: tabular-nums; }
.splash__bar { flex: 1; height: 1px; background: var(--line-dark); position: relative; overflow: hidden; }
.splash__bar span { position: absolute; inset: 0; background: var(--white); transform-origin: left; transform: scaleX(0); }

/* Saída: conteúdo some e a tela se abre em duas metades — a "dupla" */
.splash.is-leaving .splash__center { opacity: 0; transform: scale(.92); filter: blur(6px); }
.splash.is-leaving .splash__footer { opacity: 0; }
.splash.is-leaving .splash__panel--top::after { animation: splash-line .45s var(--ease) forwards; }
.splash.is-leaving .splash__panel--top { transform: translateY(-101%); transition-delay: .35s; }
.splash.is-leaving .splash__panel--bottom { transform: translateY(101%); transition-delay: .35s; }
@keyframes splash-line { to { width: 100%; } }

/* Animações do hero esperam a splash terminar */
html.is-splash .hero__content > *, html.is-splash .arch, html.is-splash .hero__badge { animation-play-state: paused; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1080px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service--feature { grid-row: auto; grid-column: span 2; min-height: 380px; }
  .service--cta { grid-column: span 2; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line-light); margin-top: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 40px;
    padding: 100px var(--gutter) 40px;
    background: var(--black);
    clip-path: circle(0% at calc(100% - 40px) 34px);
    visibility: hidden;
    transition: clip-path .8s var(--ease), visibility 0s .8s;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 40px) 34px); visibility: visible; transition: clip-path .8s var(--ease); }
  .nav__list { flex-direction: column; gap: 6px; }
  .nav__link { font-size: clamp(2rem, 9vw, 3rem); font-weight: 800; letter-spacing: -.04em; color: var(--white); }
  .nav__link::after { display: none; }
  .nav.is-open .nav__list li { animation: rise .8s var(--ease) both; }
  .nav.is-open .nav__list li:nth-child(1) { animation-delay: .15s; }
  .nav.is-open .nav__list li:nth-child(2) { animation-delay: .2s; }
  .nav.is-open .nav__list li:nth-child(3) { animation-delay: .25s; }
  .nav.is-open .nav__list li:nth-child(4) { animation-delay: .3s; }
  .nav.is-open .nav__list li:nth-child(5) { animation-delay: .35s; }
  .nav__list li { opacity: 0; transform: translateY(24px); }
  .nav.is-open .nav__cta { animation: rise .8s var(--ease) .45s both; }
  .nav__cta { --pad-y: 17px; --pad-x: 28px; font-size: 1rem; opacity: 0; }
  .header .logo { position: relative; z-index: 2; }
  body.menu-open { overflow: hidden; }
  body.menu-open .header::before { opacity: 0; }

  .hero { min-height: auto; padding: calc(var(--header-h) + 24px) 0 64px; }
  /* Mobile: headline e subheadline, depois as fotos (ainda na 1ª dobra), depois os CTAs */
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero__content { display: contents; }
  .status { order: 1; justify-self: start; margin-bottom: 18px; }
  .hero__title { order: 2; margin-bottom: 14px; }
  .hero__lead { order: 3; margin-bottom: 22px; }
  .hero__visual { order: 4; height: clamp(300px, 82vw, 480px); max-width: 520px; width: 100%; margin: 0 auto 28px; }
  .hero__actions { order: 5; margin-bottom: 36px; }
  .hero__facts { order: 6; }
  .scroll-cue { display: none; }

  .about { grid-template-columns: 1fr; }
  .section__header--split { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .contact__grid { grid-template-columns: 1fr; }
  .map, .map iframe { min-height: 360px; }

  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
}

@media (max-width: 760px) {
  .doctors { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero__actions .btn { width: 100%; }
  .splash__tag { --ls: .3em; }
  .hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hero__facts dd { font-size: .78rem; }
  .hero__badge { width: 92px; height: 92px; top: 2%; }
  .hero__badge-tooth { width: 26px; height: 26px; }
  .arch__tag { font-size: .74rem; padding: 8px 6px; left: 8px; right: 8px; bottom: 8px; }
  .hero__visual { gap: 10px; }

  .services { grid-template-columns: 1fr; }
  .service--feature, .service--cta { grid-column: auto; }
  .service { min-height: 0; }
  .service__title { margin-top: 36px; }
  .service--cta { padding-bottom: 104px; }

  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 26px 0 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line-light); margin-top: 26px; }
  .pillar__num { margin-bottom: 12px; }

  .qa__a p { padding-right: 0; }
  .contact__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
}

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