/* =====================================================================
   Nadine · Psicóloga — folha de estilos
   Paleta: papel quente + verde-pinho + terracota
   Tipografia: Fraunces (títulos) + Figtree (texto)
   ===================================================================== */

:root {
  --paper: #F7F3EC;
  --paper-2: #F0EADF;
  --sand: #E7DDCC;
  --line: rgba(31, 42, 39, 0.10);
  --ink: #1E2926;
  --ink-2: #47534F;
  --ink-3: #5F6B67;
  --pine: #1F4A44;
  --pine-2: #2B5F57;
  --pine-deep: #153430;
  --sage: #D8E4DD;
  --sage-2: #C4D6CC;
  --clay: #C97B4E;
  --clay-text: #A3562B;
  --clay-soft: #F2DFCF;
  --wa: #25D366;
  --wa-dark: #1DA851;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", Helvetica, Arial, sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --panel-radius: clamp(28px, 4vw, 40px);
  --panel-gap: 16px;

  --shadow-sm: 0 1px 2px rgba(30, 41, 38, .05), 0 6px 18px -8px rgba(30, 41, 38, .12);
  --shadow-md: 0 14px 40px -16px rgba(30, 41, 38, .28);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* grão sutil sobre toda a página */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .16;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.15rem);
  line-height: 1.03;
  font-variation-settings: "opsz" 144;
}
h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-variation-settings: "opsz" 96;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
  font-variation-settings: "opsz" 36;
}
h1 em, h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--clay-text);
  font-variation-settings: "opsz" 144;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  vertical-align: -.2em;
}

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

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pine-2);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--clay);
  flex: none;
}
.eyebrow--light { color: var(--sage); }

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 54ch;
}

.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__intro { color: var(--ink-2); font-size: 1.1rem; max-width: 62ch; }
.section__head--center .section__intro { margin-inline: auto; }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--pine);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  box-shadow: 0 8px 20px -12px rgba(31, 74, 68, .55);
  white-space: nowrap;
}
.btn .icon { width: 1.2em; height: 1.2em; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(31, 74, 68, .55); }
.btn:active { transform: translateY(0); }
.btn--primary:hover { background: var(--pine-deep); }
.btn--lg { padding: 17px 30px; font-size: 1.05rem; }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--pine);
  border-color: rgba(31, 74, 68, .35);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(31, 74, 68, .07); box-shadow: none; border-color: var(--pine); }
.btn--light {
  --btn-bg: var(--paper);
  --btn-fg: var(--pine-deep);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5);
}
.btn--light:hover { background: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--pine);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(31, 74, 68, .25);
  padding-bottom: 2px;
  transition: gap .2s var(--ease), border-color .2s var(--ease);
}
.link-arrow:hover { gap: 10px; border-color: var(--pine); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* cobre a área segura do iPhone (barra de status) */
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  background: rgba(247, 243, 236, .94);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
/* faixa opaca acima do cabeçalho: cobre a barra de status do iPhone mesmo que env() venha zerado */
.site-header::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 100%;
  height: 120px;
  background: var(--paper);
  pointer-events: none;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(30, 41, 38, .4);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__logo {
  height: 52px;
  width: auto;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--pine-deep);
  font-variation-settings: "opsz" 48;
}
.brand__sub {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.nav a {
  font-weight: 500;
  font-size: .98rem;
  color: var(--ink-2);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
}
.nav a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta { display: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { left: 0; top: -7px; }
.nav-toggle__bar::after { left: 0; top: 7px; }
.nav-open .nav-toggle__bar { background: transparent; }
.nav-open .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  padding: clamp(40px, 7vw, 96px) 0 clamp(32px, 4.5vw, 56px);
}
.hero + .section { padding-top: clamp(40px, 5.5vw, 72px); }
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: .9;
}
.hero__glow--a {
  width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  right: -14vw; top: -20vw;
  background: radial-gradient(closest-side, var(--sage) 0%, rgba(216, 228, 221, 0) 70%);
}
.hero__glow--b {
  width: 46vw; height: 46vw; max-width: 560px; max-height: 560px;
  left: -16vw; bottom: -22vw;
  background: radial-gradient(closest-side, var(--clay-soft) 0%, rgba(242, 223, 207, 0) 70%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero__content > * { animation: rise .65s var(--ease) both; }
.hero__content > :nth-child(1) { animation-delay: 0s; }
.hero__content > :nth-child(2) { animation-delay: .08s; }
.hero__content > :nth-child(3) { animation-delay: .16s; }
.hero__content > :nth-child(4) { animation-delay: .24s; }
.hero__content > :nth-child(5) { animation-delay: .32s; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 28px;
}

.hero__media {
  position: relative;
  animation: rise .7s var(--ease) .05s both;
}

/* retrato em arco */
.portrait {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--sand);
  isolation: isolate;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portrait--arch {
  border-radius: 999px 999px var(--radius) var(--radius);
  box-shadow: var(--shadow-md);
}
.hero__media::before {
  /* contorno deslocado, em terracota */
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(16px, 16px);
  border: 1.5px solid var(--clay);
  border-radius: 999px 999px var(--radius) var(--radius);
  opacity: .7;
  pointer-events: none;
}
.portrait--soft {
  border-radius: var(--radius) var(--radius) 999px 999px;
  box-shadow: var(--shadow-md);
}

/* ---------- Seções ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--sand { background: var(--paper-2); }

/* faixas coloridas em largura total, com cantos arredondados */
.section--sand,
.section--dark,
.cta-final {
  border-radius: var(--panel-radius);
}
.section--sand + .section--sand,
.section--sand + .section--dark,
.section--dark + .section--sand,
.section--dark + .cta-final,
.section--sand + .cta-final { margin-top: var(--panel-gap); }
.cta-final { border-radius: var(--panel-radius) var(--panel-radius) 0 0; margin-bottom: 0; }
.site-footer { margin-top: 0; }
.section--dark {
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(43, 95, 87, .9), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(201, 123, 78, .25), transparent 60%),
    var(--pine-deep);
  color: var(--paper);
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark h2 em { color: #EBB58F; }
.section--dark .eyebrow { color: var(--sage-2); }
.section--dark .section__intro { color: rgba(247, 243, 236, .78); }

/* cards de demandas */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  padding: 30px 28px 32px;
  border-radius: var(--radius);
  background: #FCFAF6;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 123, 78, .35);
}
.card__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--sage);
  color: var(--pine);
  margin-bottom: 20px;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.card__icon .icon { width: 24px; height: 24px; }
.card:hover .card__icon { background: var(--clay-soft); color: var(--clay-text); }
.card h3 { font-size: 1.22rem; margin-bottom: .45em; }
.card p { color: var(--ink-2); font-size: .98rem; }

/* split (quando buscar / faq) */
.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.split__aside { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 32px); }
.split__aside p { color: var(--ink-2); }
.split__aside .btn { margin-top: 8px; }

.signs { display: grid; gap: 12px; }
.signs li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: #FCFAF6;
  border: 1px solid var(--line);
  font-size: 1.02rem;
  line-height: 1.5;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.signs li:hover { transform: translateX(6px); border-color: rgba(201, 123, 78, .4); }
.signs__mark {
  flex: none;
  width: 28px; height: 28px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--clay-soft);
  color: var(--clay-text);
}
.signs__mark .icon { width: 16px; height: 16px; }

/* modalidades */
.modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.mode {
  --mode-px: 34px;
  --mode-pt: 36px;
  padding: var(--mode-pt) var(--mode-px) 38px;
  border-radius: var(--radius);
  background: #FCFAF6;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.mode::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--sage), transparent);
  opacity: .8;
  pointer-events: none;
}
.mode__photo {
  margin: calc(-1 * var(--mode-pt)) calc(-1 * var(--mode-px)) 26px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--sand);
}
.mode__photo img { width: 100%; height: 100%; object-fit: cover; }
.mode--photo::after { display: none; }
.mode__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  margin-bottom: 22px;
}
.mode__icon .icon { width: 24px; height: 24px; }
.mode h3 { font-size: 1.5rem; }
.mode p { color: var(--ink-2); }
.mode__address {
  margin: 18px 0 14px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  font-weight: 500;
  line-height: 1.5;
}
.mode__note { font-size: .86rem; color: var(--ink-3); }
.mode__btn { margin-top: 6px; }
.modes__tabs { display: none; }

/* fotos do consultório: slider infinito */
.gallery { margin-top: 40px; }
.gallery .container { width: auto; margin: 0; }
.gallery .eyebrow { margin-bottom: 14px; }
.gallery__viewport {
  --slides: 5;
  --slide-w: 360px;
  --slide-gap: 16px;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}
/* fade nas bordas, sem máscara (o iOS falha com máscara sobre conteúdo animado) */
.gallery__viewport::before,
.gallery__viewport::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(24px, 6vw, 90px);
  z-index: 1;
  pointer-events: none;
}
.gallery__viewport::before { left: 0; background: linear-gradient(to right, var(--paper), rgba(247, 243, 236, 0)); }
.gallery__viewport::after { right: 0; background: linear-gradient(to left, var(--paper), rgba(247, 243, 236, 0)); }
.gallery__track {
  display: flex;
  gap: var(--slide-gap);
  width: max-content;
  padding: 6px 0 12px;
  animation: slide 34s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}
.gallery__viewport:hover .gallery__track { animation-play-state: paused; }
.gallery__track figure {
  flex: 0 0 var(--slide-w);
  width: var(--slide-w);
  margin: 0;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--sand);
  box-shadow: var(--shadow-sm);
  transform: translateZ(0);
}
.gallery__track img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes slide {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-1 * var(--slides) * (var(--slide-w) + var(--slide-gap))), 0, 0); }
}

/* menos respiro entre o consultório e o "Quem sou eu" */
#atendimento { padding-bottom: clamp(24px, 3vw, 40px); }
#sobre { padding-top: clamp(40px, 5vw, 64px); }

/* sobre */
.about {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  grid-template-areas:
    "media head"
    "media content";
  column-gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.about__head { grid-area: head; align-self: end; }
.about__head h2 { margin-bottom: 20px; }
.about__media { grid-area: media; position: relative; }
.about__content { grid-area: content; align-self: start; }
.about__content p { color: var(--ink-2); }
.about__content .btn { margin-top: 10px; }

.about__detail {
  position: absolute;
  top: 6%;
  right: -12%;
  width: 36%;
  max-width: 170px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--clay);
  box-shadow: 0 0 0 5px var(--paper), var(--shadow-md);
  background: var(--sand);
}
.about__detail img { width: 100%; height: 100%; object-fit: cover; }

.about__badge {
  position: absolute;
  right: 0;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 16px;
  background: #FCFAF6;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.about__badge-icon,
.creds__icon {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--sage);
  color: var(--pine);
}
.about__badge-icon .icon, .creds__icon .icon { width: 20px; height: 20px; }
.about__badge small { display: block; font-size: .8rem; color: var(--ink-3); }
.about__badge strong { display: block; font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.2; }

.creds { display: grid; gap: 14px; margin: 26px 0 28px; }
.creds li { display: flex; gap: 14px; align-items: center; }
.creds__text { display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
.creds__text strong { font-weight: 600; color: var(--ink); }
.creds__text small { font-size: .9rem; color: var(--ink-3); }

/* TCC — passos */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 32px;
}
.step {
  padding: 30px 28px 32px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(4px);
  transition: background-color .35s var(--ease), transform .35s var(--ease);
}
.step:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); }
.step__num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 2.6rem;
  line-height: 1;
  color: #EBB58F;
  margin-bottom: 16px;
  font-variation-settings: "opsz" 144;
}
.step h3 { font-size: 1.3rem; }
.step p { color: rgba(247, 243, 236, .8); font-size: .98rem; }

/* FAQ */
.split--faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(31, 74, 68, .3);
  background:
    linear-gradient(var(--pine), var(--pine)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--pine), var(--pine)) center / 1.5px 12px no-repeat;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.faq__item summary:hover { color: var(--pine); }
.faq__item[open] summary::after { transform: rotate(45deg); background-color: var(--clay-soft); }
.faq__body { padding: 0 48px 22px 4px; color: var(--ink-2); }
.faq__body p { margin: 0; }

/* CTA final */
.cta-final {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 130px) 0;
  background:
    radial-gradient(700px 420px at 15% 10%, rgba(43, 95, 87, .95), transparent 65%),
    radial-gradient(600px 400px at 90% 90%, rgba(201, 123, 78, .35), transparent 60%),
    var(--pine-deep);
  color: var(--paper);
  text-align: center;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: auto -10% -70% -10%;
  height: 120%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .08);
  pointer-events: none;
}
.cta-final__inner { max-width: 720px; }
.cta-final h2 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: 28px; }
.cta-final h2 em { color: #EBB58F; }
.cta-final .eyebrow { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(247, 243, 236, .78);
  padding: 64px 0 28px;
  font-size: .95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-footer .brand__name { color: #fff; display: block; margin-bottom: 14px; }
.footer__brand p { line-height: 1.55; }
.footer__muted { color: rgba(247, 243, 236, .62); font-size: .9rem; }
.footer__title {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}
.footer__links { display: grid; gap: 10px; }
.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: color .2s;
}
.footer__links a:hover { color: #fff; }
.footer__bottom a { color: inherit; }
.footer__bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  font-size: .86rem;
  color: rgba(247, 243, 236, .66);
}
.footer__emergency { max-width: 60ch; }

/* ---------- Botão flutuante ---------- */
.fab {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .25s var(--ease), background-color .25s;
}
.fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: pulse 2.4s ease-out infinite;
}
.fab .icon { width: 30px; height: 30px; }
.fab:hover { transform: scale(1.06); background: var(--wa-dark); }

/* ---------- Animações ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.7); opacity: 0; }
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .cards .reveal:nth-child(2), .js .steps .reveal:nth-child(2) { transition-delay: .1s; }
.js .cards .reveal:nth-child(3), .js .steps .reveal:nth-child(3) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .gallery__viewport { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .gallery__viewport::before, .gallery__viewport::after { display: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  :root { --header-h: 66px; }

  .nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(30, 41, 38, .4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:not(.nav__cta)::after { display: none; }
  .nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    padding: 14px 20px !important;
    border-radius: 999px;
    border: 0 !important;
    background: var(--pine);
    color: #fff !important;
    font-weight: 600;
  }
  .nav-toggle { display: block; }
  .header__cta { display: none; }
  .brand__name { font-size: 1.3rem; }
  .brand__logo { height: 44px; }
  .brand { gap: 10px; }

  .hero { padding-top: 16px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__media { order: -1; width: 100%; }
  .hero__media .portrait { aspect-ratio: 4 / 3; }
  .hero__media .portrait img { object-position: 50% 32%; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 18px; }
  .hero__actions .link-arrow { align-self: center; }
  .lead { max-width: none; }

  .section__head--center { text-align: left; margin-inline: 0; }
  .section__head--center .eyebrow { justify-content: flex-start; }

  .js .modes__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    margin: 0 0 20px;
    border-radius: 999px;
    background: var(--paper-2);
  }
  .modes__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    transition: background-color .25s var(--ease), color .25s var(--ease);
  }
  .modes__tab .icon { width: 1.15em; height: 1.15em; }
  .modes__tab.is-active { background: var(--pine); color: #fff; box-shadow: var(--shadow-sm); }
  .js .modes[data-mode="presencial"] #modo-online,
  .js .modes[data-mode="online"] #modo-presencial { display: none; }
  .mode__btn { width: 100%; }

  /* fotos do consultório no celular */
  .gallery { margin-top: 28px; }
  .gallery__viewport { --slide-w: 72vw; --slide-gap: 12px; }
  .gallery__track { animation-duration: 28s; }

  .split { grid-template-columns: 1fr; }
  .faq__body { padding-right: 8px; }
  .split__aside { position: static; }

  .about {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "media" "content";
    row-gap: 8px;
  }
  .about__media { margin: 0 12% 44px 0; }
  .about__media .portrait { aspect-ratio: 5 / 6; }
  .about__media .portrait img { object-position: 50% 8%; }
  .about__detail { right: -17%; top: 5%; width: 38%; }
  .about__badge { right: -9%; }
  .about__content .btn { width: 100%; }
  .modes { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__actions .btn { width: 100%; }
  .hero__media::before { transform: translate(10px, 10px); }
  .mode { --mode-px: 22px; --mode-pt: 28px; }
  .card { padding: 26px 22px 28px; }
  .fab { right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: 54px; height: 54px; }
}

@media print {
  .fab, .nav-toggle, .header__cta, body::before { display: none; }
}
