/* =========================================================
   Dra. Ester Santana — landing page

   Cores tiradas do consultório:
   madeira da parede, luz de LED, blusa preta, jaleco branco,
   sálvia das salas e o pingente esmeralda.

   Escala: o tamanho base acompanha a largura da tela
   (15px no celular, até 22px em monitor grande) e todo o layout
   é medido em rem, então a página inteira se ajusta ao aparelho.
   ========================================================= */

:root {
  --wood-top: #B08A68;
  --wood-mid: #C6A88B;
  --wood-lit: #CDB49C;
  --wood-low: #B99C80;
  --wood-floor: #AE9175;
  --wood-soft: #F3EDE6;
  --led: #FFFDF8;

  --ink: #1A1915;
  --ink-on-wood: #2A241E;
  --text: #2B2B27;
  --muted: #5A5E57;
  --paper: #FFFFFF;
  --sage: #EEF0EB;
  --sage-deep: #DDE2D9;
  --rule: #E3E5DF;
  --emerald: #1F5A44;
  --emerald-soft: #E4EEE9;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 72rem;
  --header-h: 4.5rem;
  --radius: 1.1rem;
  --radius-sm: .75rem;
  --shadow: 0 1.25rem 2.5rem -1.5rem rgba(26, 25, 21, .28);
  --shadow-soft: 0 .5rem 1.5rem -1rem rgba(26, 25, 21, .2);
}

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

html {
  font-size: clamp(15px, 13.5px + .3vw, 22px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(31, 90, 68, .15);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
p { text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: .25rem; }

/* Respeita o recorte da câmera no iPhone deitado (viewport-fit=cover). */
.wrap {
  width: min(100% - 2 * max(var(--gutter), env(safe-area-inset-left), env(safe-area-inset-right)), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .75rem 1rem; border-radius: var(--radius-sm);
  background: var(--ink); color: var(--paper);
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; }

/* ---------- Texto ---------- */
.eyebrow {
  margin-bottom: .75rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--emerald);
}

.h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.2rem + 2.4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--ink);
  max-width: 20ch;
  text-wrap: balance;
}

.text-link {
  color: var(--emerald);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}
.text-link:hover { text-decoration-thickness: 2px; }
.text-link--dark { color: var(--ink); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.1rem; padding: 0 1.6rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 600 .95rem/1 var(--sans);
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.btn--sm { min-height: 2.75rem; padding: 0 1.25rem; font-size: .88rem; }
.btn--dark { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-soft); }
.btn--dark:hover { background: #3A372F; }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

/* ---------- Cabeçalho ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--rule); box-shadow: 0 .5rem 1.5rem -1.25rem rgba(26, 25, 21, .35); }
.header__inner { display: flex; align-items: center; gap: 2rem; min-height: var(--header-h); }

.brand { display: flex; flex-direction: column; margin-right: auto; text-decoration: none; line-height: 1.15; }
.brand__name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.brand__sub { font-size: .75rem; color: var(--muted); }

.nav { display: flex; gap: 1.75rem; }
.nav a { position: relative; font-size: .92rem; font-weight: 500; text-decoration: none; color: var(--text); padding: .4rem 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--emerald); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease-out;
}
.nav a:hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  min-height: 2.75rem; padding: 0 1.1rem;
  border: 1.5px solid var(--ink); border-radius: 999px;
  background: transparent; color: var(--ink);
  font: 600 .9rem/1 var(--sans); cursor: pointer;
}

/* ---------- Abertura ---------- */
.hero { background: var(--paper); color: var(--ink); }

.hero__wall {
  display: grid;
  background: linear-gradient(180deg, var(--wood-top) 0%, var(--wood-mid) 42%, var(--wood-lit) 54%, var(--wood-low) 74%, var(--wood-floor) 100%);
}

.hero__text { padding: clamp(2.5rem, 8vw, 4rem) max(var(--gutter), env(safe-area-inset-left)) 2.5rem; }

.hero__title {
  font-family: var(--serif);
  font-size: clamp(3rem, .8rem + 5.6vw, 6.5rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.02em;
  max-width: 13ch;
  text-wrap: balance;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-bottom: 1.5rem; padding: .45rem 1rem .45rem .8rem;
  border-radius: 999px;
  background: rgba(255, 253, 248, .55);
  border: 1px solid rgba(255, 253, 248, .7);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: .85rem; color: var(--ink-on-wood); text-decoration: none;
  transition: background-color .2s;
}
.hero__badge:hover { background: rgba(255, 253, 248, .8); }
.hero__badge strong { color: var(--ink); }
.hero__stars { color: #8A5F1C; letter-spacing: .1em; font-size: .8rem; }

.hero__lead { max-width: 31rem; margin-top: 1.5rem; font-size: 1.05rem; line-height: 1.6; color: var(--ink-on-wood); }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 1.75rem; }

.hero__photo { position: relative; z-index: 1; }
.hero__photo img {
  width: 100%; max-height: min(78svh, 40rem); object-fit: cover; object-position: center 12%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%);
  mask-image: linear-gradient(180deg, transparent 0, #000 14%);
}

/* Computador: foto colada à direita e a linha de luz atravessando o texto. */
@media (min-width: 1024px) {
  .hero__wall {
    --photo-w: min(40vw, 40rem, (100svh - var(--header-h)) * .635);
    grid-template-columns: 1fr var(--photo-w);
  }

  .hero__text {
    position: relative;
    display: grid;
    grid-template-rows: 53.57fr 46.43fr;
    padding: 0 clamp(2rem, 4vw, 4rem) 0 max(var(--gutter), (100vw - var(--max)) / 2);
  }

  /* Mesma altura e espessura da faixa de LED na foto (pixels 540–549 de 1008). */
  .hero__text::before {
    content: "";
    position: absolute;
    left: 0;
    /* Entra só na faixa esmaecida da foto, sem passar por cima da Dra. Ester. */
    right: calc(var(--photo-w) * -.06);
    top: 53.57%;
    height: .9%;
    background: var(--led);
    box-shadow: 0 0 .4rem rgba(255, 253, 248, .9), 0 0 1.4rem rgba(255, 238, 214, .55);
    transform-origin: right center;
    animation: led-on 1.1s cubic-bezier(.3, .7, .2, 1) .25s both;
  }

  .hero__above { align-self: end; padding-bottom: clamp(1.25rem, 3.5vh, 2.5rem); }
  /* Espaço extra embaixo para o card de informações que sobe sobre a foto. */
  .hero__below { align-self: start; padding-top: clamp(1.25rem, 3.5vh, 2.5rem); padding-bottom: 3rem; }
  .hero__lead { margin-top: 0; }

  .hero__photo img {
    max-height: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%);
    mask-image: linear-gradient(90deg, transparent 0, #000 12%);
  }
}

@keyframes led-on {
  from { transform: scaleX(0); opacity: .4; }
  to { transform: scaleX(1); opacity: 1; }
}

/* ---------- Card de informações (sobe sobre a borda da abertura) ---------- */
.facts-wrap { position: relative; z-index: 2; margin-top: -2.5rem; }

.facts {
  display: grid; grid-template-columns: repeat(2, 1fr);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.facts li { display: flex; align-items: center; gap: .85rem; padding: 1.1rem 1rem; min-width: 0; }
.facts li:nth-child(odd) { border-right: 1px solid var(--rule); }
.facts li:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }

.facts__icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--emerald-soft); color: var(--emerald);
}
.facts strong { display: block; font-size: .92rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.facts span:not(.facts__icon):not(.status) { display: block; font-size: .82rem; color: var(--muted); line-height: 1.35; margin-top: .1rem; }

.status {
  display: block; width: fit-content; margin: .3rem 0 .1rem; padding: .1rem .55rem; border-radius: 999px;
  font-size: .7rem; font-weight: 700;
  background: var(--emerald-soft); color: var(--emerald);
}
.status.is-closed { background: var(--wood-soft); color: #6B4E33; }
.status[hidden] { display: none; }

@media (min-width: 860px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts li { padding: 1.4rem 1.5rem; }
  .facts li:nth-child(-n+2) { border-bottom: 0; }
  .facts li:not(:last-child) { border-right: 1px solid var(--rule); }
}

/* ---------- Seções ---------- */
.section { padding-block: clamp(4.5rem, 8vw, 7.5rem); }
.section--sage { background: var(--sage); }

.section-head { max-width: 40rem; margin: 0 auto 3rem; text-align: center; }
.section-head .h2 { margin-inline: auto; }
.section-head p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); }

/* Sobre */
.about__grid { display: grid; gap: 2.5rem; }
.about__text p:not(.eyebrow) { max-width: 34rem; margin-top: 1.1rem; font-size: 1.02rem; color: var(--muted); }
.about__text .h2 + p { margin-top: 1.5rem; }

.about__points { display: grid; gap: .75rem; margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--rule); max-width: 34rem; }
.about__points li { position: relative; padding-left: 2.1rem; font-weight: 600; color: var(--ink); }
.about__points li::before {
  content: ""; position: absolute; left: 0; top: .1em;
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--emerald-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231F5A44' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='m7 12.5 3.2 3.2L17 9'/%3E%3C/svg%3E") center / .95rem no-repeat;
}

.about__photo { position: relative; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__badge {
  position: absolute; left: 1rem; bottom: 1rem;
  display: flex; flex-direction: column;
  padding: .8rem 1.1rem; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
  line-height: 1.25;
}
.about__badge strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.about__badge span { font-size: .8rem; color: var(--muted); }

/* Tratamentos */
.treatments__head { max-width: 40rem; margin: 0 auto 3rem; text-align: center; }
.treatments__head .h2 { margin-inline: auto; }
.treatments__head p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); }

.treatment-list { display: grid; gap: 1rem; }
.treatment {
  display: flex; flex-direction: column; gap: .7rem;
  padding: 1.75rem 1.6rem 1.6rem;
  background: var(--sage);
  border-radius: var(--radius);
}
.treatment h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; line-height: 1.1; color: var(--ink); }
.treatment p { flex-grow: 1; color: var(--muted); }
.treatment .text-link { align-self: flex-start; margin-top: .5rem; }

.treatment--main {
  display: grid; padding: 0; overflow: hidden;
  background: var(--ink); color: #E9E6DF;
}
.treatment__body { display: flex; flex-direction: column; gap: .9rem; padding: 2rem 1.6rem; justify-content: center; }
.treatment--main h3 { font-size: clamp(2.1rem, 1.3rem + 2vw, 3rem); color: var(--paper); }
.treatment--main p { flex-grow: 0; color: #CFCBC2; font-size: 1.02rem; max-width: 32rem; }
.treatment--main .btn { align-self: flex-start; margin-top: .6rem; }
.treatment__photo img { width: 100%; height: 100%; min-height: 16rem; max-height: 22rem; object-fit: cover; object-position: center 22%; }

.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--wood-soft); }

.tag {
  align-self: flex-start;
  padding: .25rem .75rem; border-radius: 999px;
  background: rgba(255, 253, 248, .12); color: var(--wood-lit);
  font-size: .75rem; font-weight: 700;
}

.fineprint { margin-top: 1.5rem; text-align: center; font-size: .85rem; color: var(--muted); }

/* Atendimento */
.steps__grid { display: grid; gap: 2.5rem; }
.steps__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: var(--radius); box-shadow: var(--shadow); }

.steps { counter-reset: step; display: grid; gap: .5rem; margin: 2rem 0 2.25rem; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 2.75rem 1fr; column-gap: 1.1rem;
  padding: 1rem 0;
}
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--ink); color: var(--wood-lit);
  font-size: 1.05rem; font-weight: 700;
}
.steps h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.steps p { margin-top: .2rem; color: var(--muted); }

/* Consultório */
.office__head { max-width: 40rem; margin: 0 auto 3rem; text-align: center; }
.office__head .h2 { margin-inline: auto; }
.office__head p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); }
.gallery figcaption { margin-top: .6rem; font-size: .88rem; color: var(--muted); text-align: center; }

/* Avaliações */
/* Painel único: nota à esquerda, texto à direita. */
.reviews__grid {
  display: grid; gap: 2rem; align-items: center;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  background: var(--sage); border-radius: var(--radius);
}
.reviews__score {
  display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 1rem; row-gap: 1.25rem;
  padding: 1.5rem; background: var(--paper); border-radius: var(--radius-sm); box-shadow: var(--shadow-soft);
}
.reviews__num {
  font-family: var(--sans); font-size: clamp(3rem, 2rem + 3vw, 4.25rem); font-weight: 700;
  letter-spacing: -.04em; line-height: 1; color: var(--ink);
  font-variant-numeric: lining-nums;
}
.reviews__stars { font-size: 1.15rem; letter-spacing: .15em; color: #B5832F; line-height: 1; }
.reviews__of { margin-top: .35rem; font-size: .85rem; color: var(--muted); line-height: 1.35; }
.reviews__themes { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.reviews__themes li { padding: .3rem .8rem; border-radius: 999px; background: var(--emerald-soft); color: var(--emerald); font-size: .82rem; font-weight: 600; }
.reviews__text .h2 { font-variant-numeric: lining-nums; }
.reviews__text p:not(.eyebrow) { max-width: 36rem; margin-top: 1.1rem; font-size: 1.02rem; }
.reviews__links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.5rem; }

/* Dúvidas */
.faq-section { padding-top: 0; }
.faq__grid { display: grid; gap: 2rem; }
.faq__head p:not(.eyebrow) { margin: 1rem 0; color: var(--muted); max-width: 26rem; }

.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding-block: 1.2rem;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.25; color: var(--ink);
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0;
  display: grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  border: 1px solid var(--rule);
  font-family: var(--sans); font-size: 1.1rem; font-weight: 500; color: var(--emerald);
}
.faq details[open] summary::after { content: "–"; background: var(--emerald-soft); border-color: var(--emerald-soft); }
.faq details p { max-width: 38rem; padding-bottom: 1.4rem; }
.faq details a { color: var(--emerald); font-weight: 600; }

/* Contato */
.contact { display: grid; gap: 2.5rem; }
.contact__lead { margin-top: 1rem; max-width: 30rem; }
.contact__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.contact__list { display: grid; gap: 1.25rem; margin-top: 2.25rem; }
.contact__list dt { font-size: .82rem; font-weight: 600; color: var(--muted); }
.contact__list dd { margin-top: .2rem; }
.contact__list .text-link { display: inline-block; margin-top: .4rem; }

.hours {
  width: 100%; max-width: 24rem; margin-top: 2.25rem;
  border-collapse: separate; border-spacing: 0;
  background: var(--paper); border-radius: var(--radius-sm); overflow: hidden;
  font-size: .93rem;
}
.hours caption { text-align: left; padding-bottom: .6rem; font-size: .82rem; font-weight: 600; color: var(--muted); }
.hours th, .hours td { padding: .55rem 1rem; border-bottom: 1px solid var(--rule); font-weight: 400; text-align: left; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today { background: var(--emerald-soft); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--ink); }
.hours tr.is-today th::after { content: " (hoje)"; font-weight: 400; color: var(--muted); }

.contact__map { min-height: 22rem; background: var(--sage-deep); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contact__map iframe { display: block; width: 100%; height: 100%; min-height: 22rem; border: 0; }

/* ---------- Rodapé ---------- */
/* A linha de luz da abertura volta como acabamento no topo do rodapé. */
.footer {
  position: relative;
  background: var(--ink); color: #CFCBC2;
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.75rem;
  font-size: .92rem; line-height: 1.7;
}
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--led) 20%, var(--led) 80%, transparent);
  box-shadow: 0 0 .6rem rgba(255, 238, 214, .5);
  opacity: .8;
}
.footer :focus-visible { outline-color: var(--led); }
.footer a { color: #E9E6DF; text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: .25em; }

.footer__top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-bottom: 2.25rem; margin-bottom: 2.25rem;
  border-bottom: 1px solid rgba(217, 214, 207, .14);
}
.footer__name { font-family: var(--serif); font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem); font-weight: 600; line-height: 1.1; color: var(--paper); }
.footer__tagline { margin-top: .25rem; font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--wood-lit); }
.footer .btn--light { color: var(--ink); }
.footer .btn--light:hover { color: var(--ink); text-decoration: none; }

.footer__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
.footer__title { margin-bottom: .75rem; font-size: .8rem; font-weight: 700; color: var(--wood-lit); }
.footer__col ul { display: grid; gap: .35rem; }
.footer .footer__link { display: inline-block; margin-top: .6rem; font-weight: 600; color: var(--paper); text-decoration: underline; text-underline-offset: .25em; text-decoration-color: rgba(255, 255, 255, .35); }
.footer .footer__link:hover { text-decoration-color: var(--paper); }

.footer__col .footer__contact { gap: .6rem; }
.footer__contact a { display: inline-flex; align-items: center; gap: .6rem; }
.footer__contact .icon { width: 1.1rem; height: 1.1rem; color: var(--wood-lit); }

.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem;
  margin-top: 2.75rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(217, 214, 207, .14);
  font-size: .8rem; line-height: 1.6; color: #A9A59C;
}
.footer__bottom p:first-child { max-width: 44rem; }

/* ---------- Barra de agendamento (celular) ---------- */
.mobile-bar { display: none; }

/* ---------- Telas médias e grandes ---------- */
@media (min-width: 860px) {
  .about__grid { grid-template-columns: 1.1fr .9fr; align-items: center; column-gap: clamp(2.5rem, 6vw, 6rem); }
  .treatment-list { grid-template-columns: repeat(3, 1fr); }
  .treatment--main { grid-column: 1 / -1; grid-template-columns: 1.15fr .85fr; }
  .treatment__body { padding: 3rem; min-height: 22rem; }
  .treatment__photo { position: relative; }
  .treatment__photo img { position: absolute; inset: 0; min-height: 0; max-height: none; }
  .steps__grid { grid-template-columns: .85fr 1.15fr; align-items: center; column-gap: clamp(2.5rem, 6vw, 6rem); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .reviews__grid { grid-template-columns: minmax(18rem, .75fr) 1.25fr; column-gap: clamp(2.5rem, 5vw, 5rem); }
  .faq__grid { grid-template-columns: .8fr 1.2fr; column-gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 2rem); }
  .contact { grid-template-columns: 1fr 1fr; column-gap: clamp(2.5rem, 5vw, 5rem); }
  .footer__grid { grid-template-columns: .8fr 1.3fr 1.1fr 1fr; column-gap: 3rem; }
}

/* ---------- Celular e tablet ---------- */
@media (max-width: 1023.98px) {
  :root { --header-h: 4rem; }

  .header__cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }

  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0;
    padding: .5rem var(--gutter) 1.5rem;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 1rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--rule); }
  .nav a::after { display: none; }

  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: flex; gap: .6rem;
    padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--rule);
    transform: translateY(110%);
    transition: transform .25s ease-out;
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { flex: 1; }
  .mobile-bar__call {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 3.1rem; padding: 0 1.2rem;
    border: 1.5px solid var(--ink); border-radius: 999px;
    font-weight: 600; text-decoration: none; color: var(--ink);
  }
  .mobile-bar__call:hover { background: var(--ink); color: var(--paper); }
  body { padding-bottom: 4.5rem; }
  html { scroll-padding-bottom: 5rem; }
}

@media (max-width: 520px) {
  .hero__actions .btn { width: 100%; }
  .contact__actions .btn { width: 100%; }
  .facts li { flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1rem .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__text::before { animation: none; }
  .mobile-bar { transition: none; }
  .nav a::after { transition: none; }
}
