/* ==========================================================================
   Lady Estética e Beleza — folha de estilo única
   Base: template Dra. Isabelle Sant'Ana (mesma estrutura, identidade white + purple)
   Tipografia: SF Pro (system-ui da Apple), com Inter como fallback fora da Apple
   Marca: "Lady" em Allura (só os glifos da palavra são baixados)
   Ícones: Phosphor (light; logos de redes em fill), via sprite SVG no index.html
   ========================================================================== */

:root {
  --purple: #8a2fa8;
  --purple-deep: #621d7c;
  --lilac: #e4cff0;
  --lilac-soft: #f5ecfa;
  --paper: #ffffff;
  --mist: #f8f3fb;
  --night: #1d0f24;
  --ink: #22172a;
  --muted: #6a5a74;
  --line: #ebe0f1;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --script: "Allura", "Snell Roundhand", cursive;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --container: 1240px;
  --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --header-h: 76px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 48px -24px rgba(74, 20, 94, .32);
}

/* Base ------------------------------------------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

p {
  text-wrap: pretty;
}

/* Parágrafos curtos com linhas equilibradas (sem palavra sobrando na última linha) */
.lead,
.section-head>p,
.service-body p,
.steps p,
.faq-head>p,
.contact-copy>p,
.locations p {
  text-wrap: balance;
}

.nowrap {
  white-space: nowrap;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: currentColor;
}

.wrap {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--purple);
  font-weight: 600;
}

.skip:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Tipografia ------------------------------------------------------------ */

h1,
h2 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -.026em;
  line-height: 1.05;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 3.9vw, 3.3rem);
}

h1 em,
h2 em {
  font-style: normal;
  font-weight: 300;
  color: var(--purple);
}

h1 .line {
  display: block;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.018em;
  line-height: 1.25;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1rem;
  color: var(--purple);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.005em;
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

/* Botões e links -------------------------------------------------------- */

.button {
  --btn-bg: var(--purple);
  --btn-bg-hover: var(--purple-deep);
  --btn-ink: var(--purple-deep);
  --btn-light-hover: var(--lilac-soft);
  --btn-ease: var(--ease);
}

.button {
  --pad-x: 1.6rem;
  --pad-icon: .45rem;
  --icon: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  min-height: 3.1rem;
  padding: .85rem var(--pad-x);
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform .5s var(--btn-ease), background-color .3s, box-shadow .5s var(--btn-ease);
}

.button:hover {
  background: var(--btn-bg-hover);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(.98);
}

/* Ícone de botão sempre dentro de um círculo, encostado na borda */
.button>.icon {
  flex: none;
  width: var(--icon);
  height: var(--icon);
  padding: calc(var(--icon) * .24);
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  fill: currentColor;
  transition: transform .5s var(--btn-ease), background-color .3s;
}

/* Encosta pelo padding do botão, não por margem negativa: com margem o Chrome calcula a largura curta e o texto entra embaixo do círculo.
   O texto fica com a folga cheia (--pad-x) e o círculo a --pad-icon da borda. button-lead = ícone antes do texto (WhatsApp) */
.button:has(> .icon) {
  padding: var(--pad-icon) var(--pad-icon) var(--pad-icon) var(--pad-x);
}

.button.button-lead {
  padding: var(--pad-icon) var(--pad-x) var(--pad-icon) var(--pad-icon);
}

.button:not(.button-lead):hover>.icon {
  transform: translateX(3px);
}

.button-sm {
  --pad-x: 1.15rem;
  --pad-icon: .4rem;
  --icon: 1.75rem;
  min-height: 2.6rem;
  padding-block: .55rem;
  font-size: .94rem;
}

.button-lg {
  --pad-x: clamp(1.6rem, 1.4rem + .6vw, 1.95rem);
  --pad-icon: .5rem;
  --icon: 2.45rem;
  min-height: 3.6rem;
  padding-block: 1rem;
  font-size: clamp(1rem, .96rem + .15vw, 1.06rem);
}

/* Largura total: texto no centro e círculo encostado na borda. O pseudo do outro lado faz o contrapeso
   do círculo e encolhe quando falta espaço (320px), então o rótulo nunca aperta */
.button.button-block {
  width: 100%;
  justify-content: space-between;
  gap: 0;
  padding-inline: var(--pad-icon);
}

.button-block>.icon {
  margin-left: .8rem;
}

.button-block.button-lead>.icon {
  margin: 0 .8rem 0 0;
}

.button-block:not(.button-lead)::before,
.button-block.button-lead::after {
  content: "";
  flex: 0 1 calc(var(--icon) + .8rem);
  min-width: .7rem;
}

.button-light {
  background: #fff;
  color: var(--btn-ink);
}

.button-light:hover {
  background: var(--btn-light-hover);
}

.button-light>.icon {
  background: var(--btn-bg);
  color: #fff;
}

/* Mobile (regra 12): botão principal de cada seção vira largura total; no tablet, limitado e centralizado */
@media (max-width: 48em) {
  .button.button-fluid {
    display: flex;
    width: min(100%, 26rem);
    margin-inline: auto;
    justify-content: space-between;
    gap: 0;
    padding-inline: var(--pad-icon);
  }

  .button-fluid>.icon {
    margin-left: .8rem;
  }

  .button-fluid::before {
    content: "";
    flex: 0 1 calc(var(--icon) + .8rem);
    min-width: .7rem;
  }
}

/* Variações da Lady: contorno lilás (Instagram) e sombra da marca no hover */
.button:hover {
  box-shadow: 0 14px 26px -12px rgba(98, 29, 124, .55);
}

.button.outline {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(138, 47, 168, .32);
  color: var(--purple);
}

.button.outline>.icon {
  background: var(--purple);
  color: #fff;
}

.button.outline:hover {
  background: var(--purple);
  color: #fff;
}

.button.outline:hover>.icon {
  background: rgba(255, 255, 255, .2);
}

.link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--purple);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(138, 47, 168, .28);
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
  transition: text-decoration-color .25s var(--ease);
}

.link .icon {
  width: 1.1em;
  height: 1.1em;
  transition: transform .3s var(--ease);
}

.link:hover {
  text-decoration-color: currentColor;
}

.link:hover .icon {
  transform: translate(2px, -2px);
}

/* Header ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  transition: border-color .3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(138, 47, 168, .1);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Marca: "Lady" em script com "Estética e beleza" embaixo, como no logo da fachada */
.brand {
  display: inline-grid;
  justify-items: center;
  color: var(--purple);
}

.brand-logo {
  font-family: var(--script);
  font-size: 2.35rem;
  font-weight: 400;
  line-height: .8;
  letter-spacing: 0;
}

.brand-sub {
  margin-top: .95rem;
  color: var(--muted);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .24em;
  line-height: 1;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: .94rem;
  font-weight: 500;
}

.nav>a:not(.button) {
  position: relative;
  padding-block: .4rem;
  color: rgba(34, 23, 42, .82);
  transition: color .2s var(--ease);
}

.nav>a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}

.nav>a:not(.button):hover {
  color: var(--purple);
}

.nav>a:not(.button):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav .button {
  margin-left: .5rem;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.menu-toggle .icon-close {
  display: none;
}

.is-open .menu-toggle .icon-open {
  display: none;
}

.is-open .menu-toggle .icon-close {
  display: block;
}

/* Hero ------------------------------------------------------------------ */
/* Split assimétrico: selo no topo, título gigante ancorado embaixo à esquerda
   e a foto da parede do espaço ocupando a altura toda, sangrando até a borda direita.
   Hero + letreiro cabem juntos numa tela de 1440×900. */

.hero {
  --bleed: max(var(--gutter), (100vw - var(--container)) / 2);
  --marquee-h: 4.25rem;
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(.75rem, 1.5vw, 1.25rem) clamp(1.25rem, 2.5vw, 2rem);
  background:
    radial-gradient(ellipse 55% 65% at 10% 40%, rgba(228, 207, 240, .5), rgba(228, 207, 240, 0) 70%),
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  min-height: clamp(32rem, calc(100dvh - var(--header-h) - var(--marquee-h) - clamp(2rem, 4vw, 3.25rem)), 56rem);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  padding-block: clamp(1.25rem, 3.5vw, 3rem) clamp(.25rem, 1.5vw, 1.25rem);
}

.hero-pill {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: .7rem;
  padding: .55rem 1.05rem .55rem .85rem;
  border: 1px solid rgba(138, 47, 168, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .65);
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* No mobile o selo usa a sigla da cidade para caber numa linha */
.city-short {
  display: none;
}

.hero-pill-dot {
  position: relative;
  flex: none;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--purple);
}

.hero-pill-dot::after {
  content: "";
  position: absolute;
  inset: -.3rem;
  border-radius: 50%;
  background: rgba(138, 47, 168, .16);
}

.hero-title {
  color: var(--ink);
  font-family: "Satoshi", var(--font);
  font-size: clamp(2.75rem, 6.3vw, 6rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .95;
}

/* Cada linha do título fica inteira (a escala em vw acompanha a largura da coluna) */
.hero-title .line {
  white-space: nowrap;
}

/* "você" no mesmo script do logo "Lady" */
.hero-title .script {
  display: inline-block;
  margin-left: .02em;
  color: var(--purple);
  font-family: var(--script);
  font-size: 1.3em;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: .6;
}

.lead {
  max-width: 33rem;
  margin: 1.6rem 0 2.25rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

/* CTA da hero: círculo branco com o ícone na cor da marca */
.button-cta>.icon {
  background: #fff;
  color: var(--purple);
}

.button-cta:hover>.icon {
  transform: rotate(-12deg) scale(1.06);
}

.hero-media {
  position: relative;
  overflow: hidden;
  margin-right: calc(-1 * var(--bleed));
  border-radius: 44px 0 0 44px;
  background: var(--mist);
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}

/* Card de vidro sobre a parede lilás, alinhado à borda do container */
.hero-chip {
  position: absolute;
  top: 1.5rem;
  right: calc(var(--bleed) + .25rem);
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .7rem 1.15rem .7rem .7rem;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 20px;
  background: rgba(255, 255, 255, .72);
  color: var(--ink);
  box-shadow: 0 20px 44px -22px rgba(74, 20, 94, .45);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
}

.hero-chip b {
  display: block;
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1.25;
}

.hero-chip small {
  display: block;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.3;
}

.chip-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 14px;
  background: var(--purple);
  color: #fff;
}

.chip-icon .icon {
  width: 1.35rem;
  height: 1.35rem;
}

/* Entrada: foto primeiro, depois selo, título, texto e CTA em cascata (termina em ~0,8s) */
.hero-media img {
  animation: hero-photo-in .75s var(--ease) backwards;
}

.hero-pill,
.hero-title,
.lead,
.button-cta,
.hero-chip {
  animation: hero-in .55s var(--ease) backwards;
}

.hero-title {
  animation-delay: .08s;
}

.lead {
  animation-delay: .16s;
}

.button-cta {
  animation-delay: .24s;
}

.hero-chip {
  animation-delay: .24s;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
    filter: blur(8px);
  }
}

@keyframes hero-photo-in {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
}

/* Tablet e mobile: uma coluna, foto vira card abaixo do texto */
@media (max-width: 960px) {
  .hero {
    padding-block: .5rem 2rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: 0;
  }

  .hero-copy {
    justify-content: flex-start;
    gap: 1.75rem;
    padding-block: 1.5rem 0;
  }

  .hero-title {
    font-size: clamp(2.75rem, 8.6vw, 5rem);
  }

  .hero-media {
    aspect-ratio: 4 / 4.2;
    margin-right: 0;
    border-radius: 28px;
  }

  .hero-chip {
    top: 1rem;
    right: 1rem;
  }
}

@media (max-width: 640px) {
  .hero-pill {
    font-size: .7rem;
    letter-spacing: .1em;
  }

  .city-full {
    display: none;
  }

  .city-short {
    display: inline;
  }

  .hero-title {
    font-size: clamp(2.6rem, 12.4vw, 3.6rem);
    letter-spacing: -.04em;
  }

  .lead {
    margin: 1.25rem 0 1.75rem;
    font-size: 1.02rem;
  }

  .hero-media {
    aspect-ratio: 4 / 5;
    border-radius: 24px;
  }

  .hero-chip {
    gap: .65rem;
    padding: .55rem .9rem .55rem .55rem;
    border-radius: 16px;
  }

  .hero-chip b {
    font-size: .9rem;
  }

  .hero-chip small {
    font-size: .76rem;
  }

  .chip-icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 12px;
  }

  .chip-icon .icon {
    width: 1.15rem;
    height: 1.15rem;
  }
}

/* Letreiro de tratamentos ------------------------------------------------ */

.marquee {
  display: flex;
  overflow: hidden;
  padding-block: 1.25rem;
  background: var(--purple);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -.01em;
}

.marquee-track {
  display: flex;
  flex: none;
  gap: 2.75rem;
  padding-right: 2.75rem;
  white-space: nowrap;
  animation: marquee 45s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track li {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
}

.marquee-track .icon {
  width: 1rem;
  height: 1rem;
  color: var(--lilac);
}

/* Seções ---------------------------------------------------------------- */

.section {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.section-head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: 1.5rem 4rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-head>p {
  max-width: 30rem;
  color: var(--muted);
  font-size: 1.06rem;
}

/* Tratamentos (slider) -------------------------------------------------- */

.procedures {
  overflow: clip;
}

.slider-track {
  /* Sangra até a borda da tela, mas o primeiro card alinha com o container */
  --bleed: max(var(--gutter), (100vw - var(--container)) / 2);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(270px, 26vw, 340px);
  gap: 1.25rem;
  margin-inline: calc(-1 * var(--bleed));
  padding: .5rem var(--bleed) 1.5rem;
  scroll-padding-inline: var(--bleed);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-track.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}

.slider-track.is-dragging .service {
  pointer-events: none;
}

.slider-track img {
  -webkit-user-drag: none;
  user-select: none;
}

.slider-track:focus-visible {
  outline-offset: -2px;
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

.service:hover {
  transform: translateY(-4px);
  border-color: rgba(138, 47, 168, .22);
  box-shadow: var(--shadow);
}

.service-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--mist);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.service:hover .service-media img {
  transform: scale(1.045);
}

.tag {
  position: absolute;
  top: .85rem;
  left: .85rem;
  padding: .32rem .7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--purple);
  font-size: .76rem;
  font-weight: 600;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .5rem;
  padding: 1.25rem 1.3rem 1.35rem;
}

.service-body p {
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.55;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: auto;
  padding-top: .6rem;
  color: var(--purple);
  font-size: .94rem;
  font-weight: 600;
}

.service-link .icon {
  width: 1.1em;
  height: 1.1em;
  transition: transform .3s var(--ease);
}

.service-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.service:hover .service-link .icon {
  transform: translate(2px, -2px);
}

.slider-ui {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1.25rem;
}

.slider-progress {
  position: relative;
  flex: 1;
  max-width: 26rem;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--line);
}

.slider-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 30%;
  border-radius: 2px;
  background: var(--purple);
}

.slider-buttons {
  display: flex;
  gap: .6rem;
}

.slider-btn {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(138, 47, 168, .28);
  border-radius: 50%;
  background: transparent;
  color: var(--purple);
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), opacity .25s;
}

.slider-btn .icon {
  width: 1.2rem;
  height: 1.2rem;
}

.slider-btn:hover:not(:disabled) {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}

.slider-btn:disabled {
  opacity: .35;
  cursor: default;
}

/* Outros tratamentos, com uma linha de explicação */
.also {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 1rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.also-title {
  padding-top: .45rem;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 2rem;
}

.extras li {
  display: grid;
  gap: .2rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

.extras b {
  color: var(--ink);
  font-weight: 600;
}

.extras span {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
  text-wrap: pretty;
}

/* Sobre ----------------------------------------------------------------- */

.about {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  background: var(--mist);
  overflow: clip;
}

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.about-image {
  position: relative;
}

.about-image img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 40% 30%;
  border-radius: var(--radius);
}

.about-image::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid rgba(138, 47, 168, .2);
  border-radius: var(--radius);
}

.about-quote {
  position: absolute;
  right: -2rem;
  bottom: 2.5rem;
  padding: 1.25rem 1.6rem;
  border-radius: var(--radius-sm);
  background: var(--paper);
  box-shadow: var(--shadow);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.about-quote em {
  font-style: normal;
  font-weight: 300;
  color: var(--purple);
}

.about-copy>p:not(.eyebrow) {
  max-width: 34rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.25rem 0 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.4;
}

.credentials b {
  display: block;
  margin-bottom: .15rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.015em;
}

/* Resultados ------------------------------------------------------------ */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mist);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.gallery figure:hover img {
  transform: scale(1.045);
}

.gallery figcaption {
  position: absolute;
  left: .85rem;
  bottom: .85rem;
  max-width: calc(100% - 1.7rem);
  padding: .38rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .93);
  color: var(--purple);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.results-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 2rem;
}

.disclaimer {
  color: var(--muted);
  font-size: .9rem;
}

/* Como funciona --------------------------------------------------------- */

.consult {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 7rem);
  background: var(--purple);
  color: #fff;
}

.consult::after {
  content: "Lady";
  position: absolute;
  right: -.02em;
  bottom: -.3em;
  color: rgba(255, 255, 255, .07);
  font-family: var(--script);
  font-size: clamp(12rem, 26vw, 24rem);
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
}

.consult-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.consult .eyebrow {
  color: var(--lilac);
}

.consult h2 {
  color: #fff;
}

.consult h2 em {
  color: var(--lilac);
}

.consult .button {
  margin-top: 2.25rem;
}

.steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.steps li:first-child {
  padding-top: .25rem;
}

.step-n {
  padding-top: .1rem;
  color: var(--lilac);
  font-size: .95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.steps h3 {
  margin-bottom: .3rem;
  color: #fff;
  font-size: 1.15rem;
}

.steps p {
  color: rgba(255, 255, 255, .84);
  font-size: .98rem;
}

/* Dúvidas --------------------------------------------------------------- */

.faq-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: start;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.faq-head {
  position: sticky;
  top: calc(var(--header-h) + 2.5rem);
}

.faq-head>p:not(.eyebrow) {
  margin: 1.25rem 0 1.5rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.35rem;
  list-style: none;
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -.015em;
  transition: color .2s var(--ease);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover,
.faq-list details[open] summary {
  color: var(--purple);
}

.faq-icon {
  width: 1.3rem;
  height: 1.3rem;
  color: var(--purple);
  transition: transform .35s var(--ease);
}

.faq-list details[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-list details p {
  padding: 0 3rem 1.5rem 0;
  color: var(--muted);
}

/* Contato --------------------------------------------------------------- */

.contact {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  background: var(--mist);
}

.contact::before,
.contact::after {
  content: "";
  position: absolute;
  width: 26rem;
  height: 26rem;
  border: 1px solid rgba(138, 47, 168, .12);
  border-radius: 50%;
  pointer-events: none;
}

.contact::before {
  top: -19rem;
  left: -11rem;
}

.contact::after {
  bottom: -19rem;
  right: -11rem;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.contact-copy>p:not(.eyebrow) {
  margin: 1.25rem 0 2rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  transition: color .2s var(--ease);
}

.contact-phone .icon {
  color: var(--purple);
}

.contact-phone:hover {
  color: var(--purple);
}

.locations {
  display: grid;
  gap: 1rem;
}

.locations li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.locations li>.icon {
  width: 2.75rem;
  height: 2.75rem;
  padding: .65rem;
  border-radius: 50%;
  background: var(--lilac-soft);
  color: var(--purple);
}

.locations h3 {
  margin-bottom: .15rem;
}

.locations p {
  margin-bottom: .65rem;
  color: var(--muted);
  font-size: .95rem;
}

.locations .link {
  font-size: .94rem;
}

/* Rodapé ---------------------------------------------------------------- */

.site-footer {
  padding-top: clamp(3.5rem, 6vw, 5rem);
  background: var(--night);
  color: rgba(255, 255, 255, .72);
  font-size: .95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.25fr 1fr;
  gap: 2.5rem;
}

.site-footer .brand {
  justify-items: start;
  color: var(--lilac);
}

.site-footer .brand-logo {
  font-size: 2.75rem;
}

.site-footer .brand-sub {
  margin-top: 1.2rem;
}

.site-footer .brand-sub {
  color: rgba(255, 255, 255, .6);
}

.footer-brand p {
  max-width: 22rem;
  margin-top: 1.1rem;
}

.footer-title {
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
}

.site-footer ul {
  display: grid;
  gap: .6rem;
}

.site-footer ul a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  transition: color .2s var(--ease);
}

.site-footer ul a .icon {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--lilac);
}

.site-footer ul a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  margin-top: 3rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .5);
  font-size: .84rem;
}

/* WhatsApp flutuante ---------------------------------------------------- */

.float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.2rem .75rem 1rem;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  box-shadow: 0 16px 32px -12px rgba(74, 20, 94, .6);
  transition: background-color .25s var(--ease), transform .3s var(--ease), opacity .25s;
  animation: float-in .7s var(--ease) .9s backwards;
}

.float .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.float:hover {
  background: var(--purple-deep);
  transform: translateY(-2px);
}

body.menu-open .float {
  opacity: 0;
  pointer-events: none;
}

/* Animações ------------------------------------------------------------- */

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(1rem) scale(.9);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

/* Responsivo ------------------------------------------------------------ */

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .extras {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-toggle {
    display: grid;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
    overflow-y: auto;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-.5rem);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }

  .is-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }

  .is-open {
    background: var(--paper);
  }

  .nav>a:not(.button) {
    padding-block: 1rem;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: -.025em;
  }

  .nav>a:not(.button)::after {
    display: none;
  }

  .nav .button {
    margin: 1.75rem 0 0;
    font-size: 1rem;
  }

  .section-head,
  .about-grid,
  .consult-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
  }

  .about-image {
    width: min(100%, 480px);
  }

  .faq-head {
    position: static;
  }

  .footer-grid {
    gap: 2.25rem;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
  }

  .brand-logo {
    font-size: 2.1rem;
  }

  .brand-sub {
    font-size: .56rem;
  }


  .marquee {
    padding-block: 1rem;
    font-size: .98rem;
  }

  .slider-track {
    grid-auto-columns: 78%;
    gap: 1rem;
  }

  .slider-ui {
    gap: 1.25rem;
  }

  .also {
    grid-template-columns: 1fr;
    gap: .9rem;
  }

  .also-title {
    padding-top: 0;
  }

  .extras {
    grid-template-columns: 1fr;
  }

  .about-quote {
    right: .75rem;
    bottom: .75rem;
    font-size: 1.1rem;
    padding: 1rem 1.2rem;
  }

  .about-image::before {
    inset: .75rem -.6rem -.75rem .6rem;
  }

  .credentials {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery {
    gap: .75rem;
  }

  .gallery figcaption {
    left: .6rem;
    bottom: .6rem;
    max-width: calc(100% - 1.2rem);
    font-size: .72rem;
    padding: .3rem .6rem;
  }

  .faq-list summary {
    font-size: 1.02rem;
  }

  .faq-list details p {
    padding-right: 0;
  }

  .contact .actions {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .contact-phone {
    justify-content: center;
  }

  .locations li {
    padding: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    padding-bottom: 6rem;
  }

  .float {
    right: 1rem;
    bottom: 1rem;
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    justify-content: center;
  }

  .float span {
    display: none;
  }

  .float .icon {
    width: 1.75rem;
    height: 1.75rem;
  }
}

@media (hover: none) {

  .service:hover,
  .button:hover {
    transform: none;
    box-shadow: none;
  }

  .service:hover .service-media img,
  .gallery figure:hover img {
    transform: none;
  }

  .slider-track {
    cursor: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee {
    justify-content: center;
  }

  .marquee-track {
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem 2rem;
    padding-inline: var(--gutter);
    white-space: normal;
    animation: none !important;
  }

  .marquee-track[aria-hidden="true"] {
    display: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Largura total com o ícone antes do texto (WhatsApp, Instagram): contrapeso do outro lado */
@media (max-width: 48em) {
  .button-fluid.button-lead::before {
    content: none;
  }

  .button-fluid.button-lead::after {
    content: "";
    flex: 0 1 calc(var(--icon) + .8rem);
    min-width: .7rem;
  }

  .button-fluid.button-lead>.icon {
    margin: 0 .8rem 0 0;
  }
}

/* Logos do Google (regra 9b) ------------------------------------------------ */
.g-word {
  display: inline-block;
  height: .95em;
  width: auto;
  vertical-align: -.12em;
  margin-left: .2em;
}

.g-dot {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #fff;
}

.g-dot img {
  width: .85rem;
  height: auto;
}

.g-pin {
  width: .8rem;
  height: auto;
}

/* Avaliações ---------------------------------------------------------------- */
.reviews {
  background: var(--mist);
}

.reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.reviews-head h2 {
  margin-top: 1rem;
}

.rating {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.rating-g {
  width: 3rem;
  height: auto;
}

.rating-score {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.rating-score b {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
}

.rating-count {
  color: var(--muted);
}

.stars {
  color: #fbbc04;
  letter-spacing: .12em;
}

.review-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.review blockquote {
  margin: 0;
  flex: 1;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink);
  text-wrap: pretty;
}

.review-by {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.review-by img {
  width: 1.25rem;
  height: auto;
}

.review-cta {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-style: dashed;
}

.review-cta p {
  color: var(--muted);
  text-wrap: balance;
}

.button>img.icon,
.button.outline>img.icon,
.button.outline:hover>img.icon {
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  padding: calc(var(--icon) * .22);
  object-fit: contain;
}

@media (max-width: 960px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 48em) {
  .review-list {
    grid-template-columns: 1fr;
  }

  .review-cta {
    flex-direction: column;
    text-align: center;
  }
}

/* Área de toque (mín. 44px) e texto mínimo de 12px ---------------------------- */
.link,
.contact-phone {
  min-height: 2.75rem;
}

.footer-bottom small {
  font-size: inherit;
}

@media (max-width: 640px) {
  .hero-pill {
    font-size: .78rem;
    letter-spacing: .08em;
  }

  .gallery figcaption {
    font-size: .78rem;
  }
}

/* Pop-up de agendamento em 3 etapas (do modelo orcamento-simples), cores da Lady */
.rq-dialog {
  --blue: var(--purple);
  --blue-hover: var(--purple-deep);
  --text: var(--ink);
  --cold: var(--lilac);
  --ok: #1f9d55;
  --ok-hover: #188747;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

html:has(.rq-dialog[open]) {
  overflow: hidden;
}

.rq-dialog {
  width: min(35rem, calc(100% - 1.5rem));
  max-width: none;
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 28px;
  background: transparent;
  scrollbar-width: none;
}

.rq-dialog::-webkit-scrollbar {
  display: none;
}

.rq-dialog::backdrop {
  background: rgba(34, 23, 42, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.rq-dialog[open] {
  animation: rq-dialog-in .5s var(--ease) both;
}

.rq-dialog[open]::backdrop {
  animation: rq-fade .35s var(--ease) both;
}

@keyframes rq-dialog-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.96);
  }
}

@keyframes rq-fade {
  from {
    opacity: 0;
  }
}

.rq-dialog-inner {
  position: relative;
}

.rq-close {
  position: absolute;
  z-index: 1;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: background-color .2s, transform .3s var(--ease);
}

.rq-close:hover {
  background: var(--paper);
  transform: rotate(90deg);
}

.rq-close .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.rq {
  --rq-line: rgba(34, 23, 42, .16);
  --rq-soft: var(--lilac-soft);
  position: relative;
  width: 100%;
  padding: clamp(1.4rem, 3.2vw, 2.25rem);
  border-radius: 28px;
  background: var(--paper);
  color: var(--text);
  text-align: left;
}

.rq-top {
  margin-bottom: 1.6rem;
}

.rq-kicker {
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  margin: -.3rem 3rem .7rem 0;
  color: var(--blue);
  font-size: .95rem;
  font-weight: 600;
}

.rq-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}

.rq-progress li {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
}

.rq-progress li.is-current {
  color: var(--text);
}

.rq-progress li.is-done {
  color: var(--blue);
}

.rq-progress button,
.rq-step-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.25rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
}

.rq-progress button {
  cursor: pointer;
  border-radius: 999px;
}

.rq-progress button:hover {
  color: var(--blue-hover);
}

.rq-dot {
  display: inline-grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border: 1px solid var(--rq-line);
  border-radius: 50%;
  background: #fff;
  font-size: .78rem;
  font-variant-numeric: tabular-nums;
  transition: background-color .35s, border-color .35s, color .35s;
}

.rq-dot .icon {
  width: .85rem;
  height: .85rem;
}

.is-current .rq-dot {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.is-done .rq-dot {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.rq-bar {
  height: 4px;
  margin-top: .85rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(34, 23, 42, .08);
}

.rq-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cold));
  transform-origin: left;
  transition: transform .7s var(--ease);
}

.rq-panel {
  display: grid;
  gap: 1.35rem;
  animation: rq-in .55s var(--ease) both;
}

.rq-reveal {
  display: grid;
  gap: 1.35rem;
  animation: rq-in .45s var(--ease) both;
}

.rq.is-still .rq-panel,
.rq.is-still .rq-reveal {
  animation: none;
}

@keyframes rq-in {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(4px);
  }
}

.rq h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.65rem);
  letter-spacing: -.025em;
}

.rq h3:focus {
  outline: none;
}

.rq-group {
  display: grid;
  gap: .7rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.rq-group legend,
.rq-legend,
.rq-field label {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  padding: 0;
  font-size: .95rem;
  font-weight: 600;
}

.rq-group legend {
  margin-bottom: .7rem;
}

.rq-optional {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 400;
}

/* Cards de serviço: radio escondido, o cartão inteiro é o alvo */
.rq-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
}

.rq-service {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  min-height: 4.6rem;
  padding: .9rem 2rem .9rem .9rem;
  border: 1px solid var(--rq-line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color .25s, background-color .25s, box-shadow .25s, transform .25s var(--ease);
}

.rq-service:hover {
  border-color: rgba(28, 117, 187, .45);
  transform: translateY(-1px);
}

.rq-service input,
.rq-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rq-service-icon {
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  fill: var(--blue);
}

.rq-service-text {
  display: grid;
  gap: .2rem;
  min-width: 0;
}

.rq-service-name {
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.25;
  text-wrap: balance;
}

.rq-service-hint {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.3;
}

.rq-check {
  position: absolute;
  top: .7rem;
  right: .7rem;
  width: 1.15rem;
  height: 1.15rem;
  padding: .2rem;
  border-radius: 50%;
  background: var(--blue);
  fill: #fff;
  opacity: 0;
  transform: scale(.4);
  transition: opacity .25s, transform .45s var(--ease);
}

.rq-service:has(input:checked) {
  border-color: var(--blue);
  background: var(--rq-soft);
  box-shadow: 0 0 0 1px var(--blue), 0 14px 26px -18px rgba(28, 117, 187, .7);
}

.rq-service:has(input:checked) .rq-check {
  opacity: 1;
  transform: scale(1);
}

.rq-service:has(input:focus-visible),
.rq-chip:has(input:focus-visible) {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Chips de BTU, sintomas e período */
.rq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.rq-chip {
  position: relative;
  cursor: pointer;
}

.rq-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: .45rem .95rem;
  border: 1px solid var(--rq-line);
  border-radius: 999px;
  background: #fff;
  font-size: .9rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: border-color .2s, background-color .2s, color .2s;
}

.rq-chip:hover span {
  border-color: rgba(28, 117, 187, .45);
}

.rq-chip input:checked+span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

/* Quantidade */
.rq-qty {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.rq-stepper {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .25rem;
  border: 1px solid var(--rq-line);
  border-radius: 999px;
  background: #fff;
}

.rq-stepper button {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--text);
  cursor: pointer;
  transition: background-color .2s;
}

.rq-stepper button:hover:not(:disabled) {
  background: var(--rq-soft);
}

.rq-stepper button:disabled {
  opacity: .35;
  cursor: default;
}

.rq-stepper .icon {
  width: 1rem;
  height: 1rem;
}

.rq-stepper output {
  min-width: 2rem;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* Campos de texto */
.rq-field {
  display: grid;
  gap: .45rem;
  min-width: 0;
}

.rq-field input,
.rq-field textarea {
  width: 100%;
  min-height: 3rem;
  padding: .7rem .95rem;
  border: 1px solid var(--rq-line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}

.rq-field textarea {
  resize: vertical;
  min-height: 4.5rem;
  line-height: 1.45;
}

.rq-field input::placeholder,
.rq-field textarea::placeholder {
  color: #93a0b2;
}

.rq-field input:focus,
.rq-field textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 4px rgba(28, 117, 187, .16);
}

.rq-field input[aria-invalid="true"] {
  border-color: #d0453a;
  box-shadow: 0 0 0 4px rgba(208, 69, 58, .12);
}

.rq-address {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem .85rem;
}

.rq-cep,
.rq-span-2 {
  grid-column: 1 / -1;
}

.rq-cep .rq-input-wrap {
  position: relative;
  max-width: 14rem;
}

.rq-cep input {
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.rq-cep-state {
  position: absolute;
  top: 50%;
  right: .9rem;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: -.575rem;
}

.rq-cep-state .icon {
  width: 100%;
  height: 100%;
  fill: #1f9d55;
  animation: rq-in .35s var(--ease) both;
}

.rq-cep-state[data-cep-state="loading"] {
  border: 2px solid rgba(28, 117, 187, .2);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: rq-spin .8s linear infinite;
}

@keyframes rq-spin {
  to {
    transform: rotate(360deg);
  }
}

.rq-help {
  color: var(--muted);
  font-size: .85rem;
}

.rq-error {
  display: flex;
  align-items: center;
  gap: .35rem;
  color: #c0392b;
  font-size: .86rem;
  font-weight: 500;
  animation: rq-in .3s var(--ease) both;
}

.rq-error .icon {
  width: 1rem;
  height: 1rem;
}

.rq-note {
  display: flex;
  gap: .55rem;
  padding: .8rem .95rem;
  border-radius: 12px;
  background: var(--rq-soft);
  font-size: .88rem;
  line-height: 1.45;
}

.rq-note .icon {
  margin-top: .1rem;
  fill: var(--blue);
}

/* Resumo antes de enviar */
.rq-summary {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.rq-summary>div {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: .75rem;
  align-items: start;
  padding: .9rem 1rem;
}

.rq-summary>div+div {
  border-top: 1px solid var(--line);
}

.rq-summary dt {
  padding-top: .1rem;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 500;
}

.rq-summary dd {
  display: grid;
  gap: .15rem;
  margin: 0;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.35;
}

.rq-summary dd span {
  color: var(--muted);
  font-weight: 400;
}

.rq-edit {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: -.4rem -.4rem 0 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--blue);
  cursor: pointer;
  transition: background-color .2s;
}

.rq-edit:hover {
  background: var(--rq-soft);
}

.rq-edit .icon {
  width: 1.05rem;
  height: 1.05rem;
}

/* Navegação entre etapas */
.rq-nav {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: .35rem;
}

.rq-next {
  margin-left: auto;
}

.rq-send {
  background: var(--ok);
}

.rq-send:hover {
  background: var(--ok-hover);
}

/* Voltar: ícone no círculo encostado na borda, texto com folga */
.rq-ghost {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 3rem;
  padding: .45rem 1rem;
  border: 0;
  white-space: nowrap;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  transition: color .2s, background-color .2s;
}

.rq-ghost:hover {
  background: #fff;
  color: var(--text);
}

.rq-ghost:has(> .icon) {
  padding-left: .45rem;
}

.rq-ghost .icon {
  width: 2.1rem;
  height: 2.1rem;
  padding: .5rem;
  border: 1.5px solid var(--rq-line);
  border-radius: 50%;
}

/* Pedido pronto */
.rq-done {
  justify-items: center;
  padding-block: 1rem .5rem;
  text-align: center;
}

.rq-done-icon {
  width: 3.5rem;
  height: 3.5rem;
  fill: #1f9d55;
  animation: rq-pop .6s var(--ease) both;
}

@keyframes rq-pop {
  from {
    opacity: 0;
    transform: scale(.5);
  }
}

.rq-done p {
  max-width: 24rem;
  color: var(--muted);
}

.rq-done p strong {
  color: var(--text);
  font-weight: 600;
}

.rq-done-actions {
  display: grid;
  justify-items: center;
  gap: .5rem;
}

@media (max-width: 40em) {
  .rq-dialog {
    width: calc(100% - 1rem);
    max-height: calc(100dvh - 1rem);
    border-radius: 22px;
  }

  .rq {
    padding: 1.25rem;
    border-radius: 22px;
  }

  .rq-close {
    top: .75rem;
    right: .75rem;
  }

  .rq-progress li {
    font-size: .82rem;
  }

  .rq-progress button,
  .rq-step-label {
    gap: .35rem;
  }

  .rq-services {
    gap: .5rem;
  }

  .rq-service {
    flex-direction: column;
    gap: .5rem;
    min-height: 0;
    padding: .8rem 1.6rem .8rem .8rem;
  }

  .rq-service-icon {
    width: 1.4rem;
    height: 1.4rem;
  }

  .rq-service-name {
    font-size: .88rem;
  }

  .rq-check {
    top: .55rem;
    right: .55rem;
  }

  .rq-district,
  .rq-city {
    grid-column: 1 / -1;
  }

  .rq-summary>div {
    grid-template-columns: 1fr auto;
  }

  .rq-summary dt {
    grid-column: 1;
    grid-row: 1;
  }

  .rq-summary dd {
    grid-row: 2;
  }

  .rq-summary .rq-edit {
    grid-row: 1 / 3;
    grid-column: 2;
    align-self: center;
  }

  .rq-nav {
    flex-wrap: wrap;
  }

  /* botão do pop-up em largura total: texto no centro, círculo na borda e contrapeso do outro lado (igual ao button-block) */
  .button.rq-next {
    flex: 1;
    justify-content: space-between;
    gap: 0;
    padding-inline: var(--pad-icon);
  }

  .rq-next>.icon {
    margin-left: .8rem;
  }

  .rq-send>.icon {
    margin: 0 .8rem 0 0;
  }

  .rq-next:not(.button-lead)::before,
  .rq-send::after {
    content: "";
    flex: 0 1 calc(var(--icon) + .8rem);
    min-width: .7rem;
  }
}


/* Telas bem estreitas: as 3 etapas do pop-up cabem na linha */
@media (max-width: 23em) {
  .rq-progress {
    gap: .3rem;
  }

  .rq-progress li {
    font-size: .74rem;
  }

  .rq-progress button,
  .rq-step-label {
    gap: .25rem;
  }

  .rq-dot {
    width: 1.4rem;
    height: 1.4rem;
  }
}