/* Odonto Primus – landing page
   Cores tiradas das artes do Instagram: dourado da logo, verde-floresta das bases e muito branco. */

:root {
  --white: #FFFFFF;
  --ivory: #FAF6EE;
  --ivory-line: #EADFC8;
  --gold: #C4922F;
  --gold-light: #E2B85A;
  --gold-deep: #8A5D1C;
  --gold-tint: #F5EAD2;
  --green: #133D2B;
  --green-2: #0E3022;
  --ink: #1C2E25;
  --muted: #46554C;

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

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }

a { color: inherit; }

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

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--green);
  color: var(--white);
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.todo {
  background: #FFF0A6;
  color: #5C4A00;
  padding: 0 4px;
  border-radius: 3px;
}

/* ---------- Tipografia ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  color: var(--muted);
  max-width: 34em;
  margin: 0;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  transition: background-color .2s, color .2s, transform .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-2); }

.btn--gold { background: var(--gold-light); color: var(--green-2); }
.btn--gold:hover { background: #EBC56E; }

.btn--line {
  border: 1.5px solid var(--gold);
  color: var(--gold-deep);
  background: transparent;
}
.btn--line:hover { background: var(--gold-tint); }

.btn--small { min-height: 44px; padding: 0 18px; font-size: .9375rem; }

@media (max-width: 419px) {
  .hide-sm { display: none; }
}

/* ---------- Header (mesmo desenho do oftal-vision, nas cores da marca) ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--ivory-line);
  transition: background-color .2s ease, box-shadow .2s ease;
}
.header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold) 45%, var(--gold-light) 75%, var(--green));
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 6px 24px rgba(19, 61, 43, .08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  max-width: calc(1320px + var(--gutter) * 2);
}

.header__brand {
  display: flex;
  flex: none;
  align-items: center;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}
.header__logo img { width: auto; height: 34px; }

.header__doctor {
  display: none;
  padding-left: 16px;
  border-left: 1px solid var(--ivory-line);
  line-height: 1.25;
  white-space: nowrap;
}
.header__doctor-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
}
.header__doctor-role {
  display: block;
  margin-top: 2px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--muted);
}

.header__nav {
  display: none;
  gap: 2px;
  padding: 5px;
  border: 1px solid var(--ivory-line);
  border-radius: 999px;
  background: var(--ivory);
}
.header__nav a {
  padding: 8px 15px;
  border-radius: 999px;
  color: var(--green);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.header__nav a:hover,
.header__nav a.is-active {
  background: var(--white);
  color: var(--gold-deep);
  box-shadow: 0 2px 8px rgba(19, 61, 43, .1);
}

.header__actions { display: flex; align-items: center; gap: 22px; }
.header__tel {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: var(--green);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.header__tel svg { width: 20px; height: 20px; color: var(--gold); }
.header__tel:hover { color: var(--gold-deep); }
.header__cta { white-space: nowrap; }
.header__more { display: none; }

@media (max-width: 379px) {
  .header__logo img { height: 30px; }
  .header__cta { padding: 0 14px; }
}
@media (min-width: 640px) {
  .header__more { display: inline; }
}
@media (min-width: 820px) {
  .header__doctor { display: block; }
}
@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .header__logo img { height: 38px; }
  .header__tel { display: inline-flex; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .header .header__tel { display: none; }
}
@media (min-width: 1280px) {
  .header__nav { display: flex; }
  .header .header__tel,
  .header .header__more { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 84px) 0 clamp(72px, 9vw, 128px);
}

.hero__arc {
  position: absolute;
  left: 0;
  bottom: 16px;
  width: 100%;
  height: clamp(220px, 26vw, 380px);
  pointer-events: none;
  z-index: 0;
}
.hero__arc path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
}
.hero__arc path + path { opacity: .45; }

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__title {
  font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.2rem);
  margin-bottom: 26px;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  color: var(--gold-deep);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 32px;
}
.hero__phone {
  display: inline-block;
  padding-top: 12px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--gold-light);
  padding-bottom: 2px;
}
.hero__phone:hover { color: var(--gold-deep); }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 36px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--ivory-line);
  list-style: none;
  font-size: .9375rem;
  color: var(--muted);
}
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

@media (max-width: 899px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__arc { display: none; }
}

/* ---------- Comparador antes/depois ---------- */

.compare { margin: 0; }

.compare__frame {
  position: relative;
  aspect-ratio: var(--ratio, 1171 / 531);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ivory);
  box-shadow: 0 30px 60px -30px rgba(19, 61, 43, .35);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare__img--before {
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}

.compare__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  margin-left: -1px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(196, 146, 47, .55);
  pointer-events: none;
}
.compare__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.compare__knob svg { width: 26px; height: 26px; }

.compare__tag {
  position: absolute;
  top: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink);
  pointer-events: none;
}
.compare__tag--before { left: 14px; }
.compare__tag--after { right: 14px; background: var(--green); color: var(--white); }

.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}
.compare__range:focus-visible + .compare__line .compare__knob {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.compare__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 16px;
}
.compare__hint { margin: 0; font-size: .875rem; color: var(--muted); }

.cases { display: flex; gap: 6px; }
.cases button {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--ivory-line);
  background: var(--white);
  color: var(--muted);
  font: 600 .875rem/1 var(--font-body);
  cursor: pointer;
}
.cases button[aria-pressed="true"] {
  border-color: var(--gold);
  background: var(--gold-tint);
  color: var(--gold-deep);
}

/* ---------- Seções ---------- */

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--ivory { background: var(--ivory); }
.section--green { background: var(--green); color: var(--white); }

.section__head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }

/* ---------- Sinais ---------- */

.signs {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.signs__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.signs__intro .lead { margin-bottom: 28px; }

.signs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ivory-line);
}
.signs__list li { border-bottom: 1px solid var(--ivory-line); }

.sign {
  display: grid;
  grid-template-columns: 52px 1fr 28px;
  gap: 18px;
  align-items: center;
  width: 100%;
  padding: 20px 6px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 12px;
  transition: background-color .2s;
}
.sign:hover { background: rgba(255, 255, 255, .7); }

.sign__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-light);
  background: var(--white);
  display: grid;
  place-items: center;
  color: var(--gold-deep);
}
.sign__icon svg { width: 24px; height: 24px; }

.sign__title { display: block; font-weight: 600; font-size: 1.0625rem; }
.sign__text { display: block; color: var(--muted); font-size: .9375rem; }

.sign__check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  color: transparent;
  transition: background-color .2s, color .2s;
}
.sign__check svg { width: 14px; height: 14px; }
.sign[aria-pressed="true"] .sign__check { background: var(--green); border-color: var(--green); color: var(--white); }
.sign[aria-pressed="true"] .sign__icon { background: var(--gold-tint); }

.signs__send {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.signs__count { font-size: .9375rem; color: var(--muted); }

@media (max-width: 899px) {
  .signs { grid-template-columns: 1fr; }
  .signs__intro { position: static; }
  .signs__send--top { display: none; }
}
@media (min-width: 900px) {
  .signs__send--bottom { display: none; }
}
.signs__send--bottom { margin-top: 28px; }

/* ---------- Tratamentos ---------- */

.treatments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ivory-line);
}
.treatment {
  padding: 32px 28px 34px 0;
  border-bottom: 1px solid var(--ivory-line);
}
.treatment:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--ivory-line); }
.treatment > svg { width: 34px; height: 34px; color: var(--gold); margin-bottom: 18px; }
.treatment h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.15;
  margin: 0 0 8px;
}
.treatment__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--gold-tint);
  color: var(--gold-deep);
  font-size: .8125rem;
  font-weight: 600;
}
.treatment__tag + h3 { margin-top: 0; }
.treatment p { margin: 0; color: var(--muted); font-size: 1rem; }
.treatment__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  min-height: 40px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: var(--gold-light);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}
.treatment__cta svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.treatment__cta:hover { color: var(--gold-deep); }

@media (max-width: 899px) {
  .treatments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .treatment:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .treatment:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--ivory-line); }
}
@media (max-width: 559px) {
  .treatments { grid-template-columns: 1fr; }
  .treatment,
  .treatment:nth-child(2n) { padding: 26px 0; border-left: 0; }
}

/* ---------- Chamada para o WhatsApp (conversa) ---------- */

.chat-cta { position: relative; overflow: hidden; }
.chat-cta::before {
  content: "";
  position: absolute;
  right: -180px;
  top: 50%;
  width: 640px;
  height: 640px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(226, 184, 90, .16), rgba(226, 184, 90, 0));
  pointer-events: none;
}
.chat-cta__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 400px);
  gap: clamp(40px, 7vw, 104px);
  align-items: center;
}
.chat-cta__kicker {
  margin: 0 0 14px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.chat-cta__title {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem);
  margin: 0 0 20px;
  max-width: 13em;
  text-wrap: balance;
}
.chat-cta__lead {
  margin: 0 0 28px;
  max-width: 30em;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  color: rgba(255, 255, 255, .78);
}
.chat-cta__facts {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chat-cta__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(226, 184, 90, .35);
  border-radius: 999px;
  font-size: .9rem;
  color: rgba(255, 255, 255, .88);
}
.chat-cta__facts svg { width: 18px; height: 18px; color: var(--gold-light); flex: none; }
.chat-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}
.chat-cta__phone {
  color: var(--white);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--gold-light);
  text-underline-offset: 4px;
}

/* O cartão imita uma conversa de WhatsApp. É um link: clicar abre a conversa de verdade. */
.chat {
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  overflow: hidden;
  background: #EFE7DA;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(226, 184, 90, .5), 0 40px 80px -30px rgba(0, 0, 0, .6);
  transform: rotate(1.5deg);
  transition: transform .3s ease;
}
.chat:hover,
.chat:focus-visible { transform: rotate(0deg) translateY(-4px); }
.chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--green-2);
  color: var(--white);
}
.chat__head img { width: 40px; height: 40px; border-radius: 50%; background: var(--white); }
.chat__head strong { display: block; font-size: 1rem; font-weight: 600; }
.chat__head small { display: block; font-size: .8125rem; color: rgba(255, 255, 255, .7); }
.chat__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px 22px;
  min-height: 300px;
}
.chat__day {
  align-self: center;
  margin-bottom: 4px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .8);
  font-size: .75rem;
  color: var(--muted);
}
.chat__msg {
  position: relative;
  max-width: 82%;
  padding: 8px 12px 20px;
  border-radius: 14px;
  font-size: .9375rem;
  line-height: 1.4;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
}
.chat__msg time {
  position: absolute;
  right: 10px;
  bottom: 4px;
  font-size: .6875rem;
  color: rgba(28, 46, 37, .55);
}
.chat__msg--me { align-self: flex-end; background: #D9F2CC; border-top-right-radius: 4px; }
.chat__msg--them { align-self: flex-start; background: var(--white); border-top-left-radius: 4px; }
.chat__input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 12px;
}
.chat__input > span:first-child {
  flex: 1;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--white);
  font-size: .9375rem;
  color: var(--muted);
}
.chat__send {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--gold-light);
}
.chat__send svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: no-preference) {
  .js .chat__msg { opacity: 0; transform: translateY(8px); }
  .js .chat.is-in .chat__msg { animation: chat-in .4s ease forwards; }
  .js .chat.is-in .chat__msg:nth-child(3) { animation-delay: .9s; }
  .js .chat.is-in .chat__msg:nth-child(4) { animation-delay: 1.7s; }
  .js .chat.is-in .chat__msg:nth-child(5) { animation-delay: 2.5s; }
}
@keyframes chat-in { to { opacity: 1; transform: none; } }

@media (max-width: 799px) {
  .chat-cta__grid { grid-template-columns: 1fr; }
  .chat { max-width: 400px; width: 100%; margin: 0 auto; transform: none; }
  .chat:hover, .chat:focus-visible { transform: none; }
}

/* ---------- Primeira consulta ---------- */

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.visit__media { margin: 0; max-width: 360px; justify-self: center; width: 100%; }
.visit__video {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: var(--green-2);
  box-shadow: 0 0 0 1px rgba(196, 146, 47, .45), 0 30px 60px -30px rgba(19, 61, 43, .55);
}
.visit__video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.visit__toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(14, 48, 34, .75);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.visit__toggle svg { width: 18px; height: 18px; }
.visit__toggle .icon-play { display: none; }
.visit__toggle[aria-pressed="false"] .icon-play { display: block; }
.visit__toggle[aria-pressed="false"] .icon-pause { display: none; }
.visit__media figcaption { margin-top: 14px; font-size: .875rem; color: var(--muted); text-align: center; }
.visit__body .lead { margin-bottom: 22px; }
.visit__body > .btn { display: flex; width: fit-content; margin-inline: auto; }

.visit {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 4px;
}
.visit__step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
  padding: 8px 22px 8px 18px;
  border-radius: 16px;
}
.visit__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 39px;
  top: 52px;
  bottom: -12px;
  width: 1.5px;
  background: var(--gold-light);
  z-index: 1;
}
.visit__num {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1.5px solid var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--gold-deep);
}
.visit__step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0 0 2px;
  color: var(--green);
}
.visit__step p { margin: 0; color: var(--muted); font-size: .975rem; }
.visit__step:last-child .visit__num { background: var(--green); border-color: var(--green); color: var(--white); }

@media (max-width: 899px) {
  .visit-grid { grid-template-columns: 1fr; }
  .visit__media { max-width: 300px; order: 2; }
}

/* ---------- Cuidados ---------- */

.tips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 48px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tip { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; }
.tip__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--ivory-line);
  color: var(--gold-deep);
}
.tip__icon svg { width: 24px; height: 24px; }
.tip h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 2px 0 6px;
  color: var(--green);
}
.tip p { margin: 0; color: var(--muted); font-size: 1rem; }
.tips__cta { margin-top: 48px; text-align: center; }

@media (max-width: 899px) {
  .tips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .tips { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Dr. Júlio ---------- */

.doctor__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.doctor .h2 { margin-bottom: 6px; }
.doctor__cro { margin: 0 0 24px; font-weight: 600; color: var(--gold-light); }
.doctor__lead {
  margin: 0 0 14px;
  font-size: clamp(1.125rem, 1rem + .4vw, 1.3rem);
  line-height: 1.55;
  color: var(--white);
  max-width: 32em;
}
.doctor__text > p:not([class]) { margin: 0 0 24px; color: rgba(255, 255, 255, .75); max-width: 34em; }
.doctor__list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.doctor__list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: rgba(255, 255, 255, .9); }
.doctor__list svg { width: 20px; height: 20px; margin-top: 3px; color: var(--gold-light); }
.doctor__stats {
  display: flex;
  gap: 40px;
  margin: 0 0 36px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(226, 184, 90, .35);
}
.doctor__stats div,
.why__stats div { display: flex; flex-direction: column-reverse; }
.doctor__stats dd,
.why__stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem);
  line-height: 1;
  color: var(--gold-light);
}
.doctor__stats dt { margin-top: 8px; font-size: .9375rem; color: rgba(255, 255, 255, .75); }
.doctor__photo { margin: 0; }
.doctor__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px var(--radius) var(--radius) / 30% 30% var(--radius) var(--radius);
  box-shadow: 0 0 0 1px rgba(226, 184, 90, .45), 0 40px 80px -30px rgba(0, 0, 0, .55);
}

@media (max-width: 899px) {
  .doctor__grid { grid-template-columns: 1fr; }
  .doctor__photo { order: -1; max-width: 420px; }
}

/* ---------- Equipe ---------- */

.staff {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.staff__card { flex: 0 1 calc((100% - 64px) / 3); display: flex; flex-direction: column; }
.staff__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px var(--radius) var(--radius) / 30% 30% var(--radius) var(--radius);
  box-shadow: 0 0 0 1px var(--ivory-line), 0 30px 60px -36px rgba(19, 61, 43, .45);
  background: var(--gold-tint);
}
.staff__body { padding-top: 22px; }
.staff__body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0 0 4px;
  color: var(--green);
}
.staff__cro span { white-space: nowrap; }
.staff__cro { margin: 0 0 12px; font-size: .9375rem; font-weight: 600; color: var(--gold-deep); }
.staff__body > p:not([class]) { margin: 0 0 16px; color: var(--muted); font-size: 1rem; }
.staff__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.staff__tags li {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--ivory-line);
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--ink);
}

@media (max-width: 899px) {
  .staff { gap: 40px 24px; }
  .staff__card { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 599px) {
  /* Celular: foto pequena ao lado do nome; texto e etiquetas embaixo, na largura toda */
  .staff { gap: 28px; }
  .staff__card {
    flex-basis: 100%;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    column-gap: 16px;
  }
  .staff__card + .staff__card { padding-top: 28px; border-top: 1px solid var(--ivory-line); }
  .staff__photo { grid-row: 1 / span 2; border-radius: 999px 999px 12px 12px / 30% 30% 12px 12px; }
  .staff__body { display: contents; }
  .staff__body h3 { grid-column: 2; align-self: end; font-size: 1.0625rem; }
  .staff__cro { grid-column: 2; align-self: start; margin-bottom: 0; }
  .staff__body > p:not([class]),
  .staff__tags { grid-column: 1 / -1; }
  .staff__body > p:not([class]) { margin: 16px 0 14px; }
}

/* ---------- A clínica ---------- */

.team__photo { margin: 0; }
.team__photo img {
  width: 100%;
  /* Arco elíptico: alto o bastante para ser arco, baixo o bastante para não cortar a cabeça do Dr. Júlio */
  border-radius: 50% 50% var(--radius) var(--radius) / 30% 30% var(--radius) var(--radius);
}
.team__photo figcaption {
  margin-top: 14px;
  font-size: .875rem;
  color: var(--muted);
}

.why__top {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.why__head .lead { margin-bottom: 32px; }
.why__stats { display: flex; gap: 48px; margin: 0; }
.why__stats dd { color: var(--gold-deep); }
.why__stats dt { margin-top: 8px; font-size: .9375rem; color: var(--muted); }

.why__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 48px;
  list-style: none;
  margin: 0;
  padding: 36px 0 0;
  border-top: 1px solid var(--ivory-line);
}
.why__item { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; }
.why__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold-deep);
}
.why__icon svg { width: 24px; height: 24px; }
.why__item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 2px 0 6px;
  color: var(--green);
}
.why__item p { margin: 0; color: var(--muted); font-size: 1rem; }

@media (max-width: 899px) {
  .why__top { grid-template-columns: 1fr; }
  .why__photo { max-width: 480px; }
  .why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .why__list { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Onde estamos ---------- */

.place {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.place__photo img {
  width: 100%;
  border-radius: var(--radius);
}
.place__list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 18px;
}
.place__list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
}
.place__list svg { width: 22px; height: 22px; color: var(--gold); margin-top: 3px; }
.place__list strong { display: block; }
.place__list span { color: var(--muted); }
.place__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.place__list a { display: inline-block; padding: 8px 0; margin: -8px 0; }
@media (max-width: 479px) {
  .place__actions .btn { flex: 1 1 100%; }
}

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

/* ---------- Perguntas frequentes ---------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__intro .lead { margin-bottom: 28px; }
.faq__list { border-top: 1px solid var(--ivory-line); }
.faq__item { border-bottom: 1px solid var(--ivory-line); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--green);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--gold);
  transition: transform .2s ease;
}
.faq__item[open] summary svg { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--gold-deep); }
.faq__item p { margin: 0 0 22px; padding: 0 40px 0 4px; color: var(--muted); max-width: 40em; }

@media (max-width: 899px) {
  .faq { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
}

/* ---------- Chamada final ---------- */

.final {
  position: relative;
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding: clamp(96px, 12vw, 150px) 0 clamp(72px, 9vw, 110px);
}
.final__wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: clamp(48px, 7vw, 96px);
}
.final__wave .bg { fill: var(--ivory); }
.final__wave .line { fill: none; stroke: var(--gold-light); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.final__title {
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem);
  margin: 0 auto 22px;
  max-width: 16em;
  text-wrap: balance;
}
.final p { margin: 0 auto 34px; max-width: 32em; color: rgba(255, 255, 255, .78); }

/* ---------- Rodapé ---------- */

.footer {
  background: var(--green-2);
  color: rgba(255, 255, 255, .78);
  font-size: .9375rem;
  padding: 56px 0 calc(40px + env(safe-area-inset-bottom));
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}
.footer img { width: 196px; height: auto; margin-bottom: 18px; }
.footer h2 {
  font: 600 1rem/1.3 var(--font-body);
  color: var(--white);
  margin: 0 0 10px;
}
.footer p { margin: 0 0 6px; }
.footer a { color: var(--white); text-decoration-color: var(--gold-light); text-underline-offset: 3px; }
.footer__legal {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .8125rem;
  color: rgba(255, 255, 255, .55);
}
@media (max-width: 799px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

/* ---------- Barra mobile ---------- */

.mobile-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 60;
  display: none;
  transform: translateY(140%);
  transition: transform .3s ease;
}
.mobile-bar .btn { width: 100%; box-shadow: 0 12px 28px rgba(14, 48, 34, .35); }
.mobile-bar.is-visible { transform: none; }
@media (max-width: 799px) {
  .mobile-bar { display: block; }
}

/* ---------- Movimento: o arco do hero se desenha uma vez ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .hero__arc path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 2.2s cubic-bezier(.65, 0, .35, 1) .2s forwards;
  }
  .js .hero__arc path + path { animation-delay: .55s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
