/* =========================================================
   Clínica New Dermis — landing page

   Cores do logo da clínica: verde-oliva escuro, dourado-mostarda,
   verde-menta e creme. Mesma base do site da Dra. Ester Santana.

   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 {
  /* Cores do logo da New Dermis */
  --olive: #4B4F3A;
  --olive-deep: #3D412F;
  --olive-night: #2E3226;
  --gold: #E3B943;
  --gold-text: #7A5C0C;
  --mint: #A6D2B4;
  --cream: #F7F3EA;
  --cream-deep: #EFE7D6;

  --ink: #2C3122;
  --text: #2E3128;
  --muted: #5B6055;
  --paper: #FFFFFF;
  --sage: #ECF5EE;
  --sage-deep: #CFE6D6;
  --rule: #E2E6DD;
  --emerald: var(--olive);
  --emerald-soft: #DCEEE1;
  --wood-lit: var(--gold);
  --wood-soft: #F6EBCB;
  --led: #FFFDF8;

  --serif: "Jost", "Futura", "Helvetica Neue", Arial, sans-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(47, 51, 39, .3);
  --shadow-soft: 0 .5rem 1.5rem -1rem rgba(47, 51, 39, .22);
}

/* ---------- 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(75, 79, 58, .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(--gold-text);
}

.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(--olive); color: var(--paper); box-shadow: var(--shadow-soft); }
.btn--dark:hover { background: var(--olive-deep); }
.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; align-items: center; gap: .7rem; margin-right: auto; text-decoration: none; line-height: 1.15; }
.brand__logo { width: 2.6rem; height: 2.6rem; border-radius: 50%; object-fit: cover; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; 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 { position: relative; background: var(--cream); color: var(--ink); overflow: hidden; }

/* Espiral do logo, em traço dourado bem leve, ao fundo da abertura. */
.hero::before {
  content: ""; position: absolute; right: -12rem; top: -10rem;
  width: 38rem; height: 38rem; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 54%, rgba(217, 169, 46, .16) 54.5%, transparent 56%),
    radial-gradient(circle, transparent 38%, rgba(75, 79, 58, .1) 38.5%, transparent 40%),
    radial-gradient(circle, transparent 22%, rgba(166, 210, 180, .35) 22.5%, transparent 24%);
  pointer-events: none;
}

.hero__grid {
  position: relative; display: grid; gap: 2.5rem; align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(4.5rem, 8vw, 6.5rem);
}

.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-bottom: 1.5rem; padding: .45rem 1rem .45rem .8rem;
  border-radius: 999px; background: var(--paper); box-shadow: var(--shadow-soft);
  font-size: .85rem; color: var(--ink); text-decoration: none;
}
.hero__badge strong { color: var(--ink); }
.hero__stars { color: #B98A14; letter-spacing: .1em; font-size: .8rem; }

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, .9rem + 4.4vw, 5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.02em;
  max-width: 14ch;
  text-wrap: balance;
}
.hero__title::after {
  content: ""; display: block; width: 4rem; height: 3px; margin-top: 1.5rem;
  border-radius: 3px; background: var(--gold);
}

.hero__lead { max-width: 32rem; margin-top: 1.5rem; font-size: 1.05rem; line-height: 1.6; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }

.hero__media { position: relative; justify-self: center; width: min(100%, 26rem); }
.hero__media img {
  width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover; object-position: center 20%;
  border-radius: 12rem 12rem var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
.hero__media::before {
  content: ""; position: absolute; inset: -1rem 1rem 1rem -1rem; z-index: -1;
  border: 1.5px solid var(--gold); border-radius: 12rem 12rem var(--radius) var(--radius);
}
.hero__media { isolation: isolate; }
.hero__caption {
  position: absolute; left: -1rem; bottom: 2rem;
  display: flex; flex-direction: column;
  padding: .8rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--paper); box-shadow: var(--shadow-soft); line-height: 1.25;
}
.hero__caption strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.hero__caption span { font-size: .8rem; color: var(--muted); }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; column-gap: clamp(2.5rem, 6vw, 6rem); }
}

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

.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) { display: block; font-size: .82rem; color: var(--muted); line-height: 1.35; margin-top: .1rem; }


@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,
.section--mint { 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(--olive-deep); color: #E9EBE0;
}
.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: #D9DBCF; font-size: 1.02rem; max-width: 32rem; }
.treatment--main .btn { align-self: flex-start; margin-top: .6rem; white-space: normal; text-align: left; line-height: 1.25; padding-block: .7rem; }
.treatment--main { grid-template-columns: minmax(0, 1fr); }
.treatment__photo { position: relative; margin: 0; }
.treatment__photo img { width: 100%; height: 100%; min-height: 16rem; max-height: 24rem; object-fit: cover; object-position: center 30%; }
.treatment__photo figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  padding: .35rem .75rem; border-radius: 999px;
  background: rgba(255, 255, 255, .9); color: var(--ink); font-size: .75rem; font-weight: 600;
}

.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(--olive); color: var(--gold);
  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: #B98A14; 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(--olive-night); color: #D3D5C8;
  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(--gold) 20%, var(--gold) 80%, transparent);
  opacity: .8;
}
.footer :focus-visible { outline-color: var(--led); }
.footer a { color: #EEF0E4; 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__brand { display: flex; align-items: center; gap: 1rem; }
.footer__logo { width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; }
.footer__name { font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; color: var(--paper); }
.footer__tagline { margin-top: .25rem; font-size: .95rem; 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: #AEB2A2;
}
.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 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; }
  .mobile-bar { transition: none; }
  .nav a::after { transition: none; }
}

/* Ajustes da New Dermis: fotos de vídeo verticais pedem enquadramento mais alto. */
.about__photo img { object-position: center 8%; }
.hero__media img { object-position: center 10%; }
.steps__photo img { object-position: center 30%; }

/* ---------- Vídeo do tour (toca sem som; clique liga o áudio) ---------- */
.video-inline {
  position: relative; overflow: hidden; cursor: pointer;
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: var(--olive-night); box-shadow: var(--shadow);
}
.video-inline video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.video-inline__sound {
  position: absolute; right: 1rem; top: 1rem;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .9rem .45rem .7rem; border: 0; border-radius: 999px;
  background: rgba(46, 50, 38, .82); color: var(--paper);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font: 600 .8rem/1.2 var(--sans); cursor: pointer;
  transition: background-color .2s;
}
.video-inline__sound .icon { width: 1.15rem; height: 1.15rem; color: var(--gold); }
.video-inline:hover .video-inline__sound { background: var(--olive); }
.video-inline.is-sound-on .video-inline__sound { background: var(--olive); }

/* A legenda da foto fica por cima do vídeo e não bloqueia o clique. */
.about__photo .about__badge { pointer-events: none; }
