/* ==========================================================
   Seções da página
   ========================================================== */

/* Imagens com fade suave ao carregar */
img[data-image] {
  background: var(--color-cream);
}

/* ==========================================================
   HERO / BANNER
   ========================================================== */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  min-height: min(calc(100svh - var(--header-h)), 900px);
  padding-block: clamp(14rem, 50vw, 18rem) clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--color-brand-900);
  color: rgba(255, 255, 255, 0.84);
}

/* Foto de fundo */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero__img--desktop {
  display: none;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  background: var(--color-brand-900);
}

/* Degradê azul: no celular de baixo para cima, no desktop da esquerda */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    180deg,
    rgba(58, 13, 25, 0.05) 0%,
    rgba(58, 13, 25, 0.55) 30%,
    rgba(58, 13, 25, 0.95) 58%,
    var(--color-brand-950) 100%
  );
}

/* Arco dourado fino e ramo decorativo */
.hero__arc {
  position: absolute;
  z-index: -1;
  width: 1200px;
  height: 1200px;
  right: -620px;
  bottom: -760px;
  border: 1px solid rgba(242, 207, 207, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.hero__sprig {
  position: absolute;
  z-index: -1;
  right: 12px;
  bottom: 120px;
  width: 110px;
  height: 110px;
  color: rgba(242, 207, 207, 0.45);
  transform: scaleX(-1);
  pointer-events: none;
}

.hero__inner {
  position: relative;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  max-width: 660px;
}

.badge--dark {
  border-color: rgba(242, 207, 207, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-gold-light);
}

.badge--dark .badge__dot {
  background: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(201, 139, 143, 0.25);
}

.hero__title {
  font-size: var(--fs-h1);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: #fff;
}

.hero__title em {
  color: var(--color-gold-light);
  white-space: nowrap; /* evita quebrar "bem-estar" no hífen */
}

.hero__text {
  max-width: 540px;
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-border: rgba(255, 255, 255, 0.45);
}

.btn--outline-light:hover {
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-border: #fff;
}

.btn--outline-light:hover .btn__icon {
  transform: translateY(2px);
}

.hero .btn--gold {
  box-shadow: 0 14px 30px -14px rgba(201, 139, 143, 0.7);
}

.hero__location {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

.hero__location .icon {
  color: var(--color-gold-light);
}

/* Faixa de destaques na base do banner */
.hero__highlights {
  display: grid;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__highlights li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
}

.hero__highlights strong {
  display: block;
  font-size: var(--fs-md);
  font-weight: 600;
  color: #fff;
}

.hero__highlight-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border: 1px solid rgba(242, 207, 207, 0.45);
  border-radius: 50%;
  color: var(--color-gold-light);
}

.hero__highlight-icon svg {
  width: 22px;
  height: 22px;
}

.hero :focus-visible {
  outline-color: #fff;
}

/* Animação lenta de aproximação da foto (desativada com movimento reduzido) */
.js .hero__media img.is-loaded {
  animation: hero-zoom 14s var(--ease-out) both;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@media (min-width: 768px) {
  .hero__highlights {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .hero {
    justify-content: center;
    gap: 2rem;
    padding-block: clamp(2.5rem, 1rem + 3vw, 4rem) clamp(1.5rem, 1rem + 1vw, 2rem);
  }

  .hero__inner {
    flex: 1;
    display: flex;
    align-items: center;
  }

  .hero__content {
    max-width: 780px;
  }

  .hero__text {
    max-width: 560px;
  }

  /* Foto da recepção à direita, dissolvendo no azul (sem borda visível) */
  .hero__media {
    inset: 0 0 0 auto;
    width: 64%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 22%, #000 55%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 22%, #000 55%);
  }

  .hero__img--desktop {
    display: block;
  }

  .hero__img--mobile {
    display: none;
  }

  .hero__media img {
    object-position: 60% 35%;
  }

  .hero__overlay {
    background: linear-gradient(
      90deg,
      var(--color-brand-950) 0%,
      rgba(58, 13, 25, 0.92) 38%,
      rgba(89, 21, 39, 0.5) 58%,
      rgba(89, 21, 39, 0.12) 80%,
      rgba(89, 21, 39, 0) 100%
    );
  }
}

/* Celular: foto no topo do banner, texto abaixo sobre o azul */
@media (max-width: 899px) {
  .hero {
    padding-top: clamp(250px, 62vw, 400px);
    background: var(--color-brand-950);
  }

  .hero__media {
    bottom: auto;
    height: clamp(320px, 82vw, 520px);
  }

  .hero__media img {
    object-position: 50% 32%;
  }

  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(58, 13, 25, 0.05) 0,
      rgba(58, 13, 25, 0.35) clamp(150px, 40vw, 260px),
      var(--color-brand-950) clamp(320px, 82vw, 520px),
      var(--color-brand-950) 100%
    );
  }
}
/* Notebooks com tela baixa: título um pouco menor para caber na dobra */
@media (min-width: 900px) and (max-height: 860px) {
  .hero__content {
    gap: var(--space-4);
  }

  .hero__title {
    font-size: clamp(2.6rem, 1.2rem + 3.2vw, 4.2rem);
  }
}

/* ==========================================================
   SOBRE
   ========================================================== */

.about__grid {
  display: grid;
  gap: clamp(3rem, 2rem + 5vw, 6rem);
  align-items: center;
}

.about__media {
  position: relative;
  max-width: 520px;
  width: 100%;
  margin-inline: auto;
  padding: 0 0 0 0;
}

.about__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  aspect-ratio: 698 / 853;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  transition: transform 1.2s var(--ease-out);
}

.about__media:hover .about__figure img {
  transform: scale(1.03);
}

.about__figure--small {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 44%;
  aspect-ratio: 4 / 5;
  border: 6px solid var(--color-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.about__ornament {
  position: absolute;
  top: -18px;
  left: -18px;
  right: 18px;
  bottom: 18px;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-lg);
  z-index: 0;
  opacity: 0.7;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 560px;
}

.about__lead {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.9rem);
  line-height: 1.3;
  color: var(--color-ink);
}

.about__text {
  color: var(--color-muted);
  font-size: var(--fs-md);
}

/* 4 itens em grade 2×2 (1 coluna em celulares estreitos) */
.about__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-3);
}

@media (max-width: 419px) {
  .about__list {
    grid-template-columns: 1fr;
  }
}

.about__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 14px 18px;
  line-height: 1.35;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.55);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-ink);
  transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}

.about__list li:hover {
  background: var(--color-surface);
  border-color: var(--color-brand-300);
}

/* Selo "+8 anos de experiência" sobre a foto */
.about__stat {
  position: absolute;
  z-index: 3;
  top: 28px;
  left: -14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--color-brand-700);
  box-shadow: 0 0 0 6px var(--color-bg), var(--shadow-lg);
  color: #fff;
  text-align: center;
}

.about__stat strong {
  font-family: var(--font-display);
  font-size: 2.9rem;
  font-weight: 600;
  line-height: 0.9;
  color: var(--color-gold-light);
}

.about__stat span {
  margin-top: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

@media (max-width: 479px) {
  .about__stat {
    width: 104px;
    height: 104px;
    left: -6px;
    top: 16px;
  }

  .about__stat strong {
    font-size: 2.3rem;
  }
}

.check {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-brand-700);
  color: #fff;
  flex-shrink: 0;
}

.check svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.4;
}

/* ==========================================================
   ESPECIALIDADES
   ========================================================== */

.specialties {
  background: var(--color-surface);
}

.specialties__header {
  display: grid;
  gap: var(--space-5);
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.specialties__intro {
  max-width: 420px;
  color: var(--color-muted);
  font-size: var(--fs-md);
}

.specialties__grid {
  display: grid;
  gap: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}

/* Card: texto sobre fundo creme com borda curva + foto ao lado */
.spec-card {
  --card-bg: #f3f0e8;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out);
}

.spec-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.spec-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.spec-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__media img {
  filter: brightness(1.08) saturate(0.88);
}

.spec-card:hover .spec-card__media img {
  transform: scale(1.05);
}

.spec-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding: 0 28px 64px;
  background: var(--card-bg);
}

/* Curva orgânica que "invade" a foto */
.spec-card__body::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -15%;
  right: -15%;
  top: -40px;
  height: 90px;
  border-radius: 50%;
  background: var(--card-bg);
}

.spec-card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--color-brand-500);
  color: #fff;
  transition: transform var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}

.spec-card__icon svg {
  width: 28px;
  height: 28px;
}

.spec-card:hover .spec-card__icon {
  background: var(--color-brand-700);
  transform: rotate(-6deg);
}

.spec-card__title {
  margin-top: var(--space-2);
  font-size: clamp(1.8rem, 1.3rem + 1.1vw, 2.4rem);
  line-height: 1.1;
}

.spec-card__text {
  max-width: 30ch;
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--color-muted);
}

.spec-card__rule {
  width: 52px;
  height: 1px;
  margin-top: var(--space-2);
  background: var(--color-gold);
}

.spec-card__sprig {
  position: absolute;
  z-index: 2;
  left: 8px;
  bottom: 6px;
  width: 58px;
  height: 58px;
  color: var(--color-gold);
  opacity: 0.55;
  pointer-events: none;
}

.spec-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-2);
  padding-left: 18px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #fff;
  border-radius: 4px;
}

.spec-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur) var(--ease-out);
}

.spec-card__link:hover svg {
  transform: translateX(4px);
}

/* Toda a área do card destacado é clicável */
.spec-card__link::after {
  content: "";
  position: absolute;
  inset: -200px;
}

/* Card em destaque (verde) */
.spec-card--accent {
  --card-bg: var(--color-brand-700);
}

.spec-card--accent .spec-card__icon {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.spec-card--accent:hover .spec-card__icon {
  background: rgba(255, 255, 255, 0.12);
}

.spec-card--accent .spec-card__title {
  color: #fff;
}

.spec-card--accent .spec-card__text {
  color: rgba(255, 255, 255, 0.82);
}

.spec-card--accent .spec-card__rule {
  background: rgba(255, 255, 255, 0.45);
}

.spec-card--accent .spec-card__sprig {
  color: rgba(255, 255, 255, 0.7);
}

/* Lado a lado: texto à esquerda, foto à direita */
@media (min-width: 600px) {
  .spec-card {
    flex-direction: row;
    min-height: 400px;
  }

  .spec-card__media {
    position: absolute;
    inset: 0 0 0 auto;
    width: 52%;
    aspect-ratio: auto;
  }

  .spec-card__body {
    width: 58%;
    justify-content: center;
    padding: clamp(2rem, 1.5rem + 1.5vw, 2.75rem) 8px 72px clamp(1.75rem, 1.2rem + 1.5vw, 2.75rem);
  }

  .spec-card__body::before {
    left: auto;
    top: -18%;
    bottom: -12%;
    right: -80px;
    width: 170px;
    height: auto;
    transform: rotate(-7deg);
  }

  .spec-card__icon {
    margin-top: 0;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .spec-card {
    min-height: 320px;
  }
}

@media (min-width: 900px) {
  .specialties__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) and (max-width: 1099px) {
  .spec-card__body {
    width: 62%;
  }

  .spec-card__media {
    width: 46%;
  }
}

/* ==========================================================
   TRATAMENTOS
   ========================================================== */

.treatments {
  margin-inline: clamp(0px, 1.2vw, 16px);
  border-radius: clamp(24px, 3vw, var(--radius-xl));
  background: var(--color-brand-900);
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
  isolation: isolate;
}

.treatments__decor {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 400px at 92% 0%, rgba(161, 69, 89, 0.45), transparent 70%),
    radial-gradient(500px 360px at 0% 100%, rgba(242, 207, 207, 0.12), transparent 70%);
}

.treatments__header {
  display: grid;
  gap: var(--space-5);
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.treatments__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  max-width: 420px;
  font-size: var(--fs-md);
}

/* Prévia dos tratamentos (links para a página completa) */
.treat-links {
  display: grid;
  gap: 10px;
}

.treat-link {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  transition:
    transform var(--dur) var(--ease-out),
    background var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out);
}

.treat-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(242, 207, 207, 0.5);
}

.treat-link__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-gold-light);
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}

.treat-link__icon svg {
  width: 22px;
  height: 22px;
}

.treat-link:hover .treat-link__icon {
  background: var(--color-gold-light);
  color: var(--color-brand-950);
}

.treat-link__name {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.15;
}

.treat-link__arrow {
  width: 18px !important;
  height: 18px !important;
  color: var(--color-gold-light);
  opacity: 0.6;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
}

.treat-link:hover .treat-link__arrow {
  opacity: 1;
  transform: translate(3px, -3px);
}

@media (min-width: 600px) {
  .treat-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .treat-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

.treatments__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: var(--space-6);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.treatments__note .icon {
  color: var(--color-brand-300);
}

/* ==========================================================
   DIFERENCIAIS
   ========================================================== */

.differentials__grid {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 5rem);
}

.differentials__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 460px;
  color: var(--color-muted);
  font-size: var(--fs-md);
}

.differentials__list {
  display: grid;
  border-top: 1px solid var(--color-line-strong);
}

.diff-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 6px;
  border-bottom: 1px solid var(--color-line-strong);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.55rem);
  font-weight: 500;
  color: var(--color-ink);
  line-height: 1.2;
  transition: padding var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}

.diff-item__icon {
  width: 24px !important;
  height: 24px !important;
  color: var(--color-brand-500);
  transition: color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

.diff-item:hover {
  padding-left: 14px;
  color: var(--color-brand-700);
}

.diff-item:hover .diff-item__icon {
  color: var(--color-brand-700);
  transform: scale(1.1);
}

/* ==========================================================
   CTA
   ========================================================== */

.cta {
  padding-top: 0;
}

.cta__box {
  --cta-bg: #7b2238;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(640px, 180vw, 760px);
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-xl);
  background: linear-gradient(115deg, #591527 0%, var(--cta-bg) 55%, #8a2a43 100%);
  color: rgba(255, 255, 255, 0.88);
}

/* Vídeo em loop: no celular ocupa o card inteiro e o texto fica embaixo */
.cta__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}

.cta__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(89, 21, 39, 0.05) 0%,
    rgba(89, 21, 39, 0.3) 28%,
    rgba(123, 34, 56, 0.9) 52%,
    var(--cta-bg) 100%
  );
}

.cta__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6) clamp(1.5rem, 1rem + 3vw, 3rem) clamp(2.25rem, 2rem + 2vw, 4rem);
}

.cta__title {
  max-width: 620px;
  font-size: clamp(2.2rem, 1.6rem + 3vw, 4.25rem);
  line-height: 1.04;
  color: #fff;
  text-wrap: balance;
}

.cta__title em {
  display: block;
  color: var(--color-gold-light);
}

.cta__text {
  max-width: 480px;
  font-size: var(--fs-lg);
  line-height: 1.6;
  margin-bottom: var(--space-2);
}

.btn--cream {
  --btn-bg: #fbf3f1;
  --btn-fg: var(--color-ink);
  min-height: 64px;
  padding-inline: 30px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.45);
}

.btn--cream:hover {
  --btn-bg: #fff;
}

.btn--cream .btn__icon:first-child {
  width: 24px;
  height: 24px;
  color: var(--color-brand-700);
}

.btn__arrow {
  margin-left: 4px;
}

.btn--cream:hover .btn__arrow {
  transform: translateX(4px);
}

.cta__small {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 899px) {
  .btn--cream {
    align-self: stretch;
    justify-content: center;
    white-space: nowrap;
    padding-inline: 22px;
    font-size: 0.95rem;
  }

  .cta__small {
    align-self: center;
  }
}

@media (max-width: 399px) {
  .btn--cream .btn__arrow {
    display: none;
  }
}

/* Desktop: vídeo à direita, dissolvendo na cor do card */
@media (min-width: 900px) {
  .cta__box {
    min-height: 560px;
    justify-content: center;
  }

  .cta__media {
    inset: 0 0 0 auto;
    width: 52%;
  }

  .cta__video {
    object-position: 50% 60%;
  }

  .cta__media::after {
    background: linear-gradient(90deg, var(--cta-bg) 0%, rgba(123, 34, 56, 0.8) 20%, rgba(123, 34, 56, 0.2) 50%, rgba(123, 34, 56, 0) 72%);
  }

  .cta__content {
    max-width: 860px;
    padding: clamp(3.5rem, 2rem + 4vw, 6rem) 2rem clamp(3.5rem, 2rem + 4vw, 6rem) clamp(2.5rem, 1rem + 5vw, 6.5rem);
  }

  .cta__title {
    max-width: 760px;
  }
}

/* ==========================================================
   LOCALIZAÇÃO
   ========================================================== */

.location {
  background: var(--color-surface);
}

.location__header {
  align-items: center;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
  text-align: center;
}

.location__map {
  position: relative;
  height: clamp(320px, 45vw, 500px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-cream);
  border: 1px solid var(--color-line);
}

.location__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
}
.location__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) sepia(0.12) saturate(0.9);
}

.location__map-link {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-ink);
  transition: transform var(--dur) var(--ease-out);
}

.location__map-link svg {
  width: 16px;
  height: 16px;
}

.location__map-link:hover {
  transform: translateY(-2px);
}

/* ==========================================================
   INSTAGRAM
   ========================================================== */

.instagram__grid {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 5rem);
  align-items: center;
}

.instagram__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  max-width: 460px;
  color: var(--color-muted);
  font-size: var(--fs-md);
}

.instagram__profile {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.instagram__profile:hover {
  border-color: var(--color-brand-300);
  box-shadow: var(--shadow-sm);
}

.instagram__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-brand-700);
  box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 3.5px var(--color-gold);
  color: var(--color-gold-light);
}

.instagram__avatar svg {
  width: 30px;
  height: 30px;
}

.instagram__profile strong {
  display: block;
  font-size: var(--fs-sm);
  color: var(--color-ink);
  line-height: 1.3;
  word-break: break-word;
}

.instagram__profile small {
  display: block;
  font-size: var(--fs-xs);
  color: var(--color-muted);
}

.instagram__feed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.feed-item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.feed-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}

.feed-item__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(58, 13, 25, 0.45);
  color: #fff;
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
}

.feed-item__overlay svg {
  width: 30px;
  height: 30px;
}

.feed-item:hover img,
.feed-item:focus-visible img {
  transform: scale(1.06);
}

.feed-item:hover .feed-item__overlay,
.feed-item:focus-visible .feed-item__overlay {
  opacity: 1;
}

/* ==========================================================
   FOOTER
   ========================================================== */

.site-footer {
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 5.5rem) calc(var(--space-6) + 70px);
  background: var(--color-brand-950);
  color: rgba(255, 255, 255, 0.66);
  font-size: var(--fs-sm);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  max-width: 340px;
}

.site-footer__social {
  display: flex;
  gap: var(--space-2);
}

.site-footer__social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}

.site-footer__social a:hover {
  background: #fff;
  color: var(--color-brand-900);
}

.site-footer__social svg {
  width: 20px;
  height: 20px;
}

.site-footer__heading {
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-brand-300);
}

.site-footer__col ul {
  display: grid;
  gap: 6px;
}

.site-footer__col a {
  display: inline-block;
  padding-block: 4px;
  border-radius: 4px;
  transition: color var(--dur-fast) ease;
}

.site-footer__col a:hover {
  color: #fff;
}

.site-footer__col address {
  line-height: 1.9;
}

/* Localização integrada ao rodapé */
.site-footer__location {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.site-footer__location .site-footer__heading {
  margin-bottom: 0;
}

.site-footer__location address {
  font-style: normal;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer__map {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.site-footer__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) sepia(0.12) saturate(0.9);
}

.site-footer__col a.site-footer__directions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(242, 207, 207, 0.45);
  border-radius: var(--radius-pill);
  color: var(--color-gold-light);
  font-weight: 600;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}

.site-footer__col a.site-footer__directions:hover {
  background: var(--color-gold-light);
  color: var(--color-brand-950);
}

.site-footer__directions .icon {
  width: 16px !important;
  height: 16px !important;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-5);
  font-size: var(--fs-xs);
}

.site-footer__top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 4px;
}

.site-footer__top:hover {
  color: #fff;
}

.site-footer__top svg {
  width: 14px;
  height: 14px;
}

.site-footer :focus-visible {
  outline-color: var(--color-gold-light);
}

.treatments :focus-visible,
.cta :focus-visible,
.spec-card--accent :focus-visible {
  outline-color: #fff;
}

/* ==========================================================
   MISSÃO, VISÃO E VALORES
   ========================================================== */

.mvv {
  background: var(--color-surface);
}

.mvv__header {
  display: grid;
  gap: var(--space-5);
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.mvv__intro {
  max-width: 420px;
  color: var(--color-muted);
  font-size: var(--fs-md);
}

.mvv__grid {
  display: grid;
  gap: clamp(1rem, 0.8rem + 1vw, 1.5rem);
}

.mvv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.mvv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  width: 48px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--color-gold);
}

.mvv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mvv-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-brand-700);
  color: var(--color-gold-light);
}

.mvv-card__icon svg {
  width: 26px;
  height: 26px;
}

.mvv-card__title {
  margin-top: var(--space-2);
  font-size: clamp(1.8rem, 1.5rem + 0.8vw, 2.2rem);
}

.mvv-card__text {
  color: var(--color-muted);
  font-size: var(--fs-md);
  line-height: 1.7;
}

.mvv-card--values {
  border-color: var(--color-brand-700);
  background: var(--color-brand-700);
}

.mvv-card--values .mvv-card__icon {
  background: var(--color-gold);
  color: var(--color-brand-950);
}

.mvv-card--values .mvv-card__title {
  color: #fff;
}

.mvv-card--values .mvv-card__text {
  color: rgba(255, 255, 255, 0.78);
}

.mvv-card__values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mvv-card__values li {
  padding: 7px 14px;
  border: 1px solid rgba(242, 207, 207, 0.45);
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 500;
}

@media (min-width: 900px) {
  .mvv__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .mvv__header {
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
  }

  .mvv__intro {
    justify-self: end;
  }
}

/* ==========================================================
   SOBRE O ESPAÇO
   ========================================================== */

.space {
  background: var(--color-bg);
}

.space__grid {
  display: grid;
  gap: clamp(2.5rem, 2rem + 4vw, 5.5rem);
  align-items: center;
}

.space__gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: clamp(320px, 85vw, 580px);
}

.space__photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.space__photo--main {
  grid-row: 1 / 3;
}

.space__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.space__photo:hover img {
  transform: scale(1.04);
}

.space__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 560px;
}

.space__text {
  color: var(--color-muted);
  font-size: var(--fs-md);
}

.space__list {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

.space__list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.space__list .icon {
  width: 44px !important;
  height: 44px !important;
  padding: 11px;
  border-radius: 50%;
  background: var(--color-brand-50);
  color: var(--color-brand-700);
}

.space__list span {
  font-size: var(--fs-sm);
  color: var(--color-muted);
  line-height: 1.55;
}

.space__list strong {
  display: block;
  margin-bottom: 2px;
  font-size: var(--fs-md);
  color: var(--color-ink);
}

@media (min-width: 640px) {
  .space__list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .space {
  background: var(--color-bg);
}

.space__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .space__gallery {
    height: 580px;
  }
}

/* ==========================================================
   AVALIAÇÃO
   ========================================================== */

.evaluation {
  background: var(--color-surface);
}

.evaluation__header {
  display: grid;
  gap: var(--space-5);
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.evaluation__intro {
  max-width: 460px;
  color: var(--color-muted);
  font-size: var(--fs-md);
}

.evaluation__cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}

@media (min-width: 1024px) {
  .evaluation__header {
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
  }

  .evaluation__intro {
    justify-self: end;
  }
}

/* ==========================================================
   FAQ
   ========================================================== */

.faq {
  background: var(--color-surface);
}

.faq__grid {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 5rem);
}

.faq__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  max-width: 440px;
  color: var(--color-muted);
  font-size: var(--fs-md);
}

.faq__list {
  border-top: 1px solid var(--color-line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--color-line-strong);
}

.faq-item__question {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 72px;
  padding: 18px 4px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-ink);
  list-style: none;
  cursor: pointer;
  transition: color var(--dur-fast) ease;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

/* Ícone + / × */
.faq-item__question::after {
  content: "";
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-line-strong);
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  color: var(--color-brand-700);
  transition: transform var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}

.faq-item__question:hover {
  color: var(--color-brand-700);
}

.faq-item[open] .faq-item__question::after {
  transform: rotate(45deg);
  border-color: var(--color-gold);
  background-color: var(--color-brand-50);
}

.faq-item__answer {
  padding: 0 52px 24px 4px;
  color: var(--color-muted);
  font-size: var(--fs-md);
  line-height: 1.7;
}

.faq-item__answer a {
  color: var(--color-brand-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-item[open] .faq-item__answer {
  animation: faq-open 420ms var(--ease-out);
}

@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 1024px) {
  .faq__grid {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }

  .faq__intro {
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }
}

@media (max-width: 479px) {
  .faq-item__answer {
    padding-right: 4px;
  }
}

/* ==========================================================
   RESPONSIVO
   ========================================================== */

@media (min-width: 560px) {
  .about__list {
    grid-template-columns: 1fr 1fr;
  }

  .instagram__feed {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .differentials__list {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--space-6);
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand,
  .site-footer__location {
    grid-column: 1 / -1;
  }

}

@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .specialties__header,
  .treatments__header {
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
  }

  .specialties__intro,
  .treatments__aside {
    justify-self: end;
  }

  .differentials__grid {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }

  .differentials__intro {
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }

  .instagram__grid {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .site-footer__grid {
    grid-template-columns: 1.3fr 0.9fr 0.8fr 1.4fr;
  }

  .site-footer__brand,
  .site-footer__location {
    grid-column: auto;
  }

  .site-footer {
    padding-bottom: var(--space-6);
  }
}

/* Áreas de toque confortáveis (mín. 44px) em celulares e tablets */
@media (max-width: 1023px), (hover: none) and (pointer: coarse) {
  .site-footer__col ul {
    gap: 0;
  }

  .site-footer__col a,
  .site-footer__top {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 0;
  }

  .spec-card__link {
    min-height: 44px;
  }

  .site-footer__social a {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 767px) {

  /* Rodapé: Navegação e Contato lado a lado */
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--space-5);
    row-gap: var(--space-6);
  }

  .site-footer__brand,
  .site-footer__location {
    grid-column: 1 / -1;
  }

  .site-footer__map {
    height: 170px;
  }
}

@media (max-width: 479px) {
  .hero__actions,
  .hero__actions .btn {
    width: 100%;
  }

  .location__actions .btn {
    flex: 1 1 100%;
  }

  .about__media {
    padding: 0 0 0 10px;
  }

  .about__ornament {
    top: -10px;
    left: 0;
    right: 20px;
    bottom: 10px;
  }

  .btn {
    white-space: normal;
  }
}

/* ==========================================================
   AJUSTES PARA CELULAR
   Reorganiza os blocos para leitura e rolagem confortáveis
   ========================================================== */

@media (max-width: 559px) {
  /* Sobre mim: destaques em grade 2×2 compacta */
  .about__list {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .about__list li {
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .about__list .check {
    width: 24px;
    height: 24px;
  }

  .about__list .check svg {
    width: 13px;
    height: 13px;
  }

  /* Prévia de tratamentos: blocos em 2 colunas */
  .treat-links {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .treat-link {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    min-height: 112px;
    padding: 14px;
  }

  .treat-link__icon {
    width: 40px;
    height: 40px;
  }

  .treat-link__name {
    font-size: 1.15rem;
  }

  .treat-link__arrow {
    position: absolute;
    top: 14px;
    right: 14px;
  }

  /* Último item sozinho ocupa a linha inteira */
  .treat-links li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .treat-links li:last-child:nth-child(odd) .treat-link {
    flex-direction: row;
    align-items: center;
    min-height: 72px;
  }

  /* Diferenciais: 2 colunas com ícone acima do texto */
  .differentials__list {
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
  }

  .diff-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 2px;
    font-size: 1.15rem;
  }

  .diff-item:hover {
    padding-left: 2px;
  }

  /* Instagram: mini feed em 3 colunas */
  .instagram__feed {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .feed-item {
    border-radius: 8px;
  }
}

@media (max-width: 639px) {
  /* Missão, visão e valores: ícone ao lado do título */
  .mvv-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 16px;
    row-gap: 14px;
  }

  .mvv-card__icon {
    width: 48px;
    height: 48px;
  }

  .mvv-card__title {
    margin-top: 0;
    font-size: 1.8rem;
  }

  .mvv-card__text,
  .mvv-card__values {
    grid-column: 1 / -1;
  }

  /* Localização: o botão "Como chegar" já cumpre essa função */
  .location__map-link {
    display: none;
  }
}
/* ==========================================================
   ANTES E DEPOIS (carrossel contínuo)
   ========================================================== */

.results {
  background: var(--color-surface);
  overflow: hidden;
  padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

/* Mesma cor de fundo: evita o espaço em branco duplo entre as seções */
.results + .evaluation {
  padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.results__header {
  display: grid;
  gap: var(--space-5);
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.results__intro {
  max-width: 440px;
  color: var(--color-muted);
  font-size: var(--fs-md);
}

.results__marquee {
  overflow: hidden;
  padding-block: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.results__track {
  display: flex;
  width: max-content;
  animation: results-scroll 70s linear infinite;
}

.results__marquee:hover .results__track,
.results__marquee:focus-within .results__track {
  animation-play-state: paused;
}

@keyframes results-scroll {
  to {
    transform: translateX(-50%);
  }
}

.result-card {
  flex-shrink: 0;
  width: clamp(280px, 30vw, 420px);
  margin-right: clamp(14px, 1.5vw, 22px);
  padding: 12px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
}

.result-card__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.result-card__half {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-cream);
}

.result-card__half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-card__half.is-empty {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.7), transparent 55%),
    linear-gradient(160deg, var(--color-brand-50), var(--color-cream));
}

.result-card__half.is-empty:nth-child(2) {
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.7), transparent 55%),
    linear-gradient(200deg, var(--color-brand-100), var(--color-brand-50));
}

.result-card__soon {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
}

.result-card__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(58, 13, 25, 0.82);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #fff;
}

.result-card__caption {
  padding: 12px 4px 2px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-ink);
}

.results__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-5);
  font-size: var(--fs-sm);
  color: var(--color-muted);
  text-align: center;
}

.results__note .icon {
  color: var(--color-gold-deep);
}

/* Sem animação: rolagem manual com o dedo/mouse */
@media (prefers-reduced-motion: reduce) {
  .results__marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .results__track {
    animation: none;
  }
}

@media (min-width: 1024px) {
  .results__header {
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
  }

  .results__intro {
    justify-self: end;
  }
}


/* ==========================================================
   DEIXE SUA AVALIAÇÃO
   ========================================================== */

.rate__card {
  position: relative;
  display: grid;
  gap: clamp(1.75rem, 1.5rem + 2vw, 3rem);
  overflow: hidden;
  padding: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(600px 400px at 0% 0%, rgba(242, 207, 207, 0.18), transparent 65%),
    linear-gradient(135deg, var(--color-brand-900), var(--color-brand-700));
  color: rgba(255, 255, 255, 0.84);
}

.rate__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  max-width: 460px;
  font-size: var(--fs-md);
}

.rate__title {
  font-size: var(--fs-h2);
  color: #fff;
}

.rate__title em {
  color: var(--color-gold-light);
}

.rate__google {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-gold-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rate__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  color: var(--color-text);
}

.rate__stars {
  margin: 0;
  padding: 0;
  border: 0;
}

.rate__stars legend,
.field > span {
  margin-bottom: 6px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-ink);
}

/* Estrelas: inputs em ordem 5→1, exibidos 1→5 */
.stars-input {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.stars-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.stars-input label {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--color-brand-100);
  cursor: pointer;
  transition: color var(--dur-fast) ease, transform var(--dur-fast) ease;
}

.stars-input label:hover,
.stars-input label:hover ~ label,
.stars-input input:checked ~ label {
  color: var(--color-star);
}

.stars-input label:hover {
  transform: scale(1.12);
}

.stars-input input:focus-visible + label {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: 8px;
}

.field {
  display: flex;
  flex-direction: column;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  font: inherit;
  font-size: 16px; /* evita zoom automático no iPhone */
  color: var(--color-ink);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-brand-500);
  box-shadow: 0 0 0 3px var(--color-brand-100);
}

.rate__error {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #a3172f;
}

.rate__error[hidden] {
  display: none;
}

@media (min-width: 900px) {
  .rate__card {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }
}


.rate__card :focus-visible {
  outline-color: #fff;
}


/* ==========================================================
   AVALIAÇÕES DO GOOGLE (carrossel contínuo)
   ========================================================== */

.reviews {
  background: var(--color-surface);
  overflow: hidden;
}

/* Logo depois do "Deixe sua avaliação": sem espaço duplo */
.rate + .reviews {
  padding-top: clamp(1rem, 0.5rem + 2vw, 2.5rem);
}

.reviews__header {
  display: grid;
  gap: var(--space-5);
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.reviews__badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
  padding: 14px 20px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.reviews__badge:hover {
  border-color: var(--color-brand-300);
  box-shadow: var(--shadow-sm);
}

.reviews__badge strong {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-ink);
}

.reviews__badge > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reviews__badge-stars {
  font-size: 1rem;
  letter-spacing: 2px;
  color: var(--color-star);
}

.reviews__badge small {
  font-size: var(--fs-sm);
  color: var(--color-muted);
}

.reviews__marquee {
  overflow: hidden;
  padding-block: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.reviews__track {
  display: flex;
  align-items: stretch;
  width: max-content;
  animation: results-scroll 60s linear infinite;
}

.reviews__marquee:hover .reviews__track,
.reviews__marquee:focus-within .reviews__track {
  animation-play-state: paused;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex-shrink: 0;
  width: clamp(270px, 28vw, 380px);
  margin-right: clamp(14px, 1.5vw, 22px);
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
}

.review-card__stars {
  font-size: 1rem;
  letter-spacing: 3px;
  color: var(--color-star);
}

.review-card__text {
  flex: 1;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--color-ink);
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-line);
}

.review-card__photo {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-cream);
}

.review-card__author span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.review-card__author strong {
  font-size: var(--fs-sm);
  color: var(--color-ink);
}

.review-card__author small {
  font-size: var(--fs-xs);
  color: var(--color-muted);
}

.reviews__footer {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
}

@media (prefers-reduced-motion: reduce) {
  .reviews__marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .reviews__track {
    animation: none;
  }
}

@media (min-width: 768px) {
  .reviews__header {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

/* ==========================================================
   SOBRE MIM — foto na altura do texto e destaques numa faixa abaixo
   ========================================================== */

.about__grid {
  row-gap: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}

.about__list {
  width: 100%;
  margin-top: 0;
}

@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
    column-gap: clamp(3rem, 2rem + 4vw, 5.5rem);
    row-gap: clamp(2rem, 1.5rem + 1.5vw, 3rem);
  }

  /* A foto ocupa toda a altura do bloco de texto */
  .about__media {
    display: flex;
    max-width: none;
    margin: 0;
  }

  .about__figure {
    flex: 1;
    aspect-ratio: auto;
    min-height: 480px;
  }

  .about__figure img {
    object-position: 50% 30%;
  }

  .about__content {
    justify-content: center;
    max-width: 600px;
  }

  /* Os 4 destaques lado a lado, ocupando a largura da foto + texto */
  .about__list {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .about__list li {
    min-height: 72px;
  }
}

/* ==========================================================
   Polimento geral: linha do "eyebrow" se desenhando na entrada
   ========================================================== */

.js .section-title.reveal .eyebrow::before {
  transform: scaleX(0);
  transform-origin: left;
}

.js .section-title.reveal.is-visible .eyebrow::before {
  animation: eyebrow-line 900ms var(--ease-out) 250ms forwards;
}

@keyframes eyebrow-line {
  to {
    transform: scaleX(1);
  }
}

/* ==========================================================
   COMO FUNCIONA A AVALIAÇÃO — etapas em cartões
   ========================================================== */

.evaluation__steps {
  position: relative;
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
}

.step__number {
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-style: italic;
  line-height: 1;
  color: var(--color-gold);
  opacity: 0.75;
}

.step__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-brand-700);
  color: var(--color-gold-light);
  box-shadow: 0 0 0 6px var(--color-bg);
}

.step__icon svg {
  width: 26px;
  height: 26px;
}

.step__title {
  margin-top: var(--space-3);
  font-size: 1.6rem;
}

.step__text {
  color: var(--color-muted);
  font-size: var(--fs-sm);
  line-height: 1.65;
}

@media (min-width: 640px) {
  .evaluation__steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .evaluation__steps {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Linha dourada ligando as etapas */
  .evaluation__steps::before {
    content: "";
    position: absolute;
    top: calc(clamp(1.5rem, 1.3rem + 1vw, 2rem) + 28px);
    left: 10%;
    right: 10%;
    border-top: 1px dashed var(--color-gold);
    z-index: 0;
  }

  .step {
    z-index: 1;
    background: transparent;
    border-color: transparent;
    padding-inline: 8px;
  }

  .step__icon {
    box-shadow: 0 0 0 10px var(--color-surface);
  }

  .step__number {
    right: 8px;
    padding-left: 10px;
    background: var(--color-surface);
  }
}

@media (max-width: 639px) {
  /* Celular: linha do tempo vertical em vez de cartões */
  .evaluation__steps {
    gap: 0;
  }

  .evaluation__steps::before {
    content: "";
    position: absolute;
    top: 28px;
    bottom: 40px;
    left: 27px;
    border-left: 1px dashed var(--color-gold);
  }

  .step {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 18px;
    row-gap: 4px;
    padding: 0 0 28px;
    border: 0;
    background: transparent;
  }

  .step__icon {
    grid-row: 1 / span 2;
    z-index: 1;
    box-shadow: 0 0 0 6px var(--color-surface);
  }

  .step__title {
    margin-top: 2px;
    font-size: 1.4rem;
  }

  .step__number {
    top: 0;
    right: 0;
    font-size: 1.6rem;
  }
}

/* ---------- Luz percorrendo as etapas 1 → 2 → 3 → 4 ----------
   Cada etapa acende em sequência (ícone brilha, número fica dourado
   forte) e o ciclo se repete. main.js adiciona .is-playing quando a
   seção aparece e .is-paused quando sai da tela. */

.step__icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 0 3px var(--color-gold-light), 0 0 26px 8px rgba(242, 207, 207, 0.65);
}

.is-playing .step__icon::after {
  animation: step-light 4.8s ease-in-out calc(var(--i) * 1.2s) infinite both;
}

.is-playing .step__icon {
  animation: step-light-icon 4.8s ease-in-out calc(var(--i) * 1.2s) infinite both;
}

.is-playing .step__number {
  animation: step-light-number 4.8s ease-in-out calc(var(--i) * 1.2s) infinite both;
}

.is-paused .step__icon,
.is-paused .step__icon::after,
.is-paused .step__number {
  animation-play-state: paused;
}

@keyframes step-light {
  0%, 100% { opacity: 0; transform: scale(0.9); }
  8% { opacity: 1; transform: scale(1.08); }
  22% { opacity: 0; transform: scale(1.25); }
}

@keyframes step-light-icon {
  0%, 26%, 100% { transform: none; background: var(--color-brand-700); }
  8% { transform: scale(1.1); background: var(--color-brand-500); }
}

@keyframes step-light-number {
  0%, 26%, 100% { opacity: 0.75; color: var(--color-gold); }
  8% { opacity: 1; color: var(--color-gold-deep); }
}

@media (prefers-reduced-motion: reduce) {
  .is-playing .step__icon,
  .is-playing .step__icon::after,
  .is-playing .step__number {
    animation: none !important;
  }
}

/* ---------- Banner com vídeo no celular: vídeo no topo, focado nos pés ---------- */
@media (max-width: 899px) {
  .cta__box {
    display: block;
    min-height: 0;
  }

  .cta__media {
    position: relative;
    inset: auto;
    height: clamp(300px, 92vw, 440px);
  }

  /* Mostra a parte de baixo do vídeo: os pés dentro do escalda-pés */
  .cta__video {
    object-position: 50% 88%;
  }

  .cta__media::after {
    background: linear-gradient(
      180deg,
      rgba(89, 21, 39, 0) 45%,
      rgba(123, 34, 56, 0.7) 78%,
      var(--cta-bg) 100%
    );
  }

  .cta__content {
    margin-top: -56px;
    padding-top: 0;
  }
}

/* Celular: recorte igual ao enquadramento de referência (balde inteiro com os pés) */
@media (max-width: 899px) {
  .cta__media {
    height: clamp(320px, 104vw, 480px);
  }

  .cta__video {
    object-position: 50% 100%;
  }

  .cta__media::after {
    background: linear-gradient(
      180deg,
      rgba(89, 21, 39, 0) 62%,
      rgba(123, 34, 56, 0.75) 88%,
      var(--cta-bg) 100%
    );
  }

  .cta__content {
    margin-top: -36px;
  }
}

/* Celular: enquadra pés, tornozelo e início da canela dentro do escalda-pés */
@media (max-width: 899px) {
  .cta__video {
    object-position: 50% 38%;
  }
}

/* Instagram: vídeos verticais da Débora enquadrados no rosto */
.instagram__feed li:nth-child(-n+3) img {
  object-position: 50% 22%;
}

/* ---------- Banner da home: zoom lento indo e voltando na direção da logo ---------- */
.js .hero__media img.is-loaded {
  transform-origin: 62% 32%;
  animation: hero-zoom-loop 18s ease-in-out infinite alternate;
}

@keyframes hero-zoom-loop {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.18);
  }
}

@media (max-width: 899px) {
  .js .hero__media img.is-loaded {
    transform-origin: 55% 30%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .hero__media img.is-loaded {
    animation: none;
  }
}

/* Linha discreta abaixo dos botões */
.hero__location {
  margin-top: var(--space-1);
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
}

.hero__location .icon {
  width: 16px !important;
  height: 16px !important;
}

/* ---------- Banner da home no celular: mais compacto, texto colado na foto ---------- */
@media (max-width: 899px) {
  .hero {
    min-height: 0;
    gap: 0;
    padding-top: clamp(220px, 60vw, 360px);
    padding-bottom: clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
  }

  .hero__media {
    height: clamp(280px, 76vw, 460px);
  }

  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(58, 13, 25, 0.05) 0,
      rgba(58, 13, 25, 0.35) clamp(130px, 36vw, 240px),
      var(--color-brand-950) clamp(280px, 76vw, 460px),
      var(--color-brand-950) 100%
    );
  }

  .hero__content {
    gap: var(--space-4);
  }
}

/* ---------- Sobre o espaço (celular/tablet): título → texto → fotos → itens → botão ---------- */
@media (max-width: 1023px) {
  .space__grid {
    row-gap: var(--space-5);
  }

  .space__content {
    display: contents;
  }

  .space__content > .section-title { order: 1; }
  .space__content > .space__text { order: 2; }
  .space__gallery { order: 3; }
  .space__content > .space__list { order: 4; margin-top: 0; }
  .space__content > .btn { order: 5; justify-self: start; }
}

/* ---------- Selo do Google no celular: pílula compacta acima do título ---------- */
@media (max-width: 767px) {
  .reviews__header {
    gap: var(--space-4);
  }

  .reviews__badge {
    order: -1;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
  }

  .reviews__badge strong {
    font-size: 1.35rem;
  }

  .reviews__badge > span {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .reviews__badge-stars {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }

  .reviews__badge small {
    font-size: 0.75rem;
    white-space: nowrap;
  }
}

/* Celular: selo do Google na mesma linha de "Avaliações", à direita */
@media (max-width: 767px) {
  .reviews__header {
    position: relative;
  }

  .reviews__badge {
    position: absolute;
    top: -7px;
    right: 0;
    order: 0;
    padding: 5px 12px;
  }

  .reviews__badge strong {
    font-size: 1.15rem;
  }

  .reviews__badge > span {
    gap: 6px;
  }

  .reviews__badge-stars {
    font-size: 0.7rem;
  }

  .reviews__badge small {
    font-size: 0.72rem;
  }
}

/* Banner da home (desktop): texto mais à esquerda, sem a margem larga do container */
@media (min-width: 900px) {
  .hero__inner.container {
    max-width: 1640px;
    padding-inline: clamp(1.5rem, 0.5rem + 3vw, 4rem);
  }
}

/* Banner da home no celular: título e localização centralizados */
@media (max-width: 899px) {
  .hero__content {
    align-items: center;
    text-align: center;
  }

  .hero__location {
    justify-content: center;
  }
}

/* Sobre o espaço (home): coluna das fotos menores mais larga, vistas mais abertas */
.space__gallery {
  grid-template-columns: 1fr 1.25fr;
}

/* Sala: mostra as cadeiras e a área de atendimento */
.space__photo:nth-child(2) img {
  object-position: 72% 55%;
}

/* Café: prateleira em cima e bancada embaixo */
.space__photo:nth-child(3) img {
  object-position: 50% 40%;
}

/* ==========================================================
   ANÁLISE LABORATORIAL (exame de fungos)
   ========================================================== */

.lab {
  background: var(--color-surface);
}

.lab__header {
  display: grid;
  gap: var(--space-5);
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.lab__intro {
  max-width: 560px;
  color: var(--color-muted);
  font-size: var(--fs-md);
  line-height: 1.7;
}

.lab__grid {
  display: grid;
  gap: clamp(2rem, 1.5rem + 3vw, 4.5rem);
  align-items: start;
}

/* Fotos/vídeos: 1 grande + 2 menores */
.lab__media {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: clamp(340px, 92vw, 560px);
}

.lab__photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-cream);
}

.lab__photo--main {
  grid-row: 1 / 3;
}

.lab__photo img,
.lab__photo video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lab__photo figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(58, 13, 25, 0.82);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.lab__photo figcaption .icon {
  width: 14px !important;
  height: 14px !important;
}

/* Etapas */
.lab__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

.lab__steps {
  display: grid;
  gap: var(--space-3);
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: lab;
}

.lab-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  counter-increment: lab;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.lab-step:hover {
  border-color: var(--color-brand-300);
  box-shadow: var(--shadow-sm);
}

.lab-step__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-brand-700);
  color: var(--color-gold-light);
}

.lab-step__icon svg {
  width: 22px;
  height: 22px;
}

/* Número da etapa colado no ícone */
.lab-step__icon::after {
  content: counter(lab);
  position: absolute;
  top: -4px;
  right: -6px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-bg);
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-brand-950);
  font-size: 0.68rem;
  font-weight: 700;
}

.lab-step__title {
  margin-bottom: 4px;
  font-size: 1.3rem;
}

.lab-step p {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--color-muted);
}

.lab__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lab__tags li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-gold-deep);
}

.lab__tags svg {
  width: 15px;
  height: 15px;
}

@media (min-width: 1024px) {
  .lab__header {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
  }

  .lab__intro {
    justify-self: end;
  }

  .lab__grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .lab__media {
    height: auto;
    min-height: 520px;
  }
}

/* Celular: tags numa linha, botão largo */
@media (max-width: 639px) {
  .lab__tags {
    flex-wrap: nowrap;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
    width: 100%;
  }

  .lab__tags::-webkit-scrollbar {
    display: none;
  }

  .lab__tags li {
    flex-shrink: 0;
    padding: 5px 9px;
    font-size: 0.7rem;
    white-space: nowrap;
  }

  .lab__tags svg {
    width: 13px;
    height: 13px;
  }

  .lab__content .btn {
    align-self: stretch;
    justify-content: center;
  }
}

/* Evita que a linha de tags estique a coluna no celular */
.lab__grid > * {
  min-width: 0;
}

.lab__content {
  width: 100%;
}

@media (max-width: 639px) {
  .lab__tags {
    flex-wrap: wrap;
    overflow: visible;
  }
}

/* Antes e depois com 4 etapas: grade 2×2 na mesma altura dos outros cards */
.result-card__pair--quad .result-card__half {
  aspect-ratio: 31 / 20;
}

.result-card__pair--quad .result-card__tag {
  top: 6px;
  left: 6px;
  padding: 3px 8px;
  font-size: 0.66rem;
}

/* Etiqueta Antes / Atual nas fotos da análise */
.lab__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(58, 13, 25, 0.82);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
}

.lab__photo--main img {
  object-position: 50% 30%;
}

/* ---------- Caso real (exame + evolução) ---------- */
.lab-case {
  display: grid;
  gap: var(--space-5);
  margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
}

.lab-case__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  color: var(--color-muted);
  font-size: var(--fs-md);
  line-height: 1.7;
}

.lab-case__text strong {
  color: var(--color-ink);
}

.lab-case__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
}

.lab-case__label .icon {
  width: 15px !important;
  height: 15px !important;
}

.lab-case__title {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  color: var(--color-ink);
}

.lab-case__title em {
  color: var(--color-brand-700);
}

.lab-case__stages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lab-case__stages li {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-cream);
}

.lab-case__stages img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lab-case__stages span {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(58, 13, 25, 0.82);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
}

@media (min-width: 900px) {
  .lab-case {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
  }

  .lab-case__stages {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Laudo: mostra o círculo com o resultado do exame */
.lab__photo:nth-child(2) img {
  object-position: 85% 45%;
}

@media (prefers-reduced-motion: reduce) {
  .lab__video {
    animation: none;
  }
}

/* Laudo na foto grande, mostrando o círculo do resultado */
.lab__photo--main img {
  object-position: 70% 35%;
}

/* Laudo inteiro visível (foto + resultado + laudo em miniatura) */
.lab__photo--main {
  background: #2b1a20;
}

.lab__photo--main img {
  object-fit: contain;
  object-position: center;
}

/* Botão de agendar no fim da seção */
.lab__cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
}

@media (max-width: 639px) {
  .lab__cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Chamada para agendar dentro do caso real */
.lab-case__cta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-line);
}

.lab-case__cta p {
  font-size: var(--fs-md);
  color: var(--color-muted);
}

.lab-case__cta strong {
  color: var(--color-ink);
}

@media (max-width: 639px) {
  .lab-case__cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .lab-case__cta .btn {
    justify-content: center;
  }
}

/* Laudo preenchendo todo o quadro (sem faixas), enquadrado nas unhas e no resultado */
.lab__photo--main {
  background: var(--color-cream);
}

.lab__photo--main img {
  object-fit: cover;
  object-position: 55% 40%;
}

/* Desktop: quadro alto, puxa para a direita para o texto do resultado aparecer inteiro */
@media (min-width: 1024px) {
  .lab__photo--main img {
    object-position: 78% 35%;
  }
}

/* Laudo inteiro: o quadro segue a proporção da foto real (sem cortes nem faixas) */
@media (min-width: 1024px) {
  .lab__media {
    height: auto;
    min-height: 0;
    align-self: start;
    grid-template-columns: 1.15fr 1fr;
  }
}

.lab__media {
  height: auto;
}

.lab__photo--main {
  aspect-ratio: 652 / 786;
}

.lab__photo--main img,
.lab__photo--main img.is-loaded {
  object-fit: cover;
  object-position: center;
}

@media (min-width: 1024px) {
  .lab__media {
    grid-template-columns: 1.7fr 1fr;
    align-self: center;
  }
}

/* Laudo maior no desktop: coluna das imagens mais larga e laudo ocupando a maior parte */
@media (min-width: 1024px) {
  .lab__grid {
    grid-template-columns: 1.25fr 1fr;
  }

  .lab__media {
    grid-template-columns: 2.3fr 1fr;
  }
}

.lab__photo--main {
  aspect-ratio: 652 / 826;
}

/* Resultado: dedo inteiro, enquadrado um pouco mais de longe */
.lab__photo:nth-child(3) img {
  object-position: 50% 60%;
}

/* Menos espaço entre a análise laboratorial e as especialidades */
.lab {
  padding-bottom: clamp(1.5rem, 1rem + 2vw, 3rem);
}

.lab + .specialties {
  padding-top: clamp(1.5rem, 1rem + 2vw, 3rem);
}

/* Tags da análise sempre numa única linha */
.lab__tags {
  flex-wrap: nowrap;
  gap: 6px;
  max-width: 100%;
}

.lab__tags li {
  flex-shrink: 1;
  min-width: 0;
  padding: 6px 11px;
  font-size: 0.78rem;
  white-space: nowrap;
}

@media (max-width: 639px) {
  .lab__tags {
    flex-wrap: nowrap;
    overflow: visible;
    gap: 4px;
  }

  .lab__tags li {
    gap: 4px;
    padding: 5px 7px;
    font-size: 0.66rem;
  }

  .lab__tags svg {
    width: 12px;
    height: 12px;
  }

  /* Chamada em duas linhas acima do botão */
  .lab-case__cta strong {
    display: block;
  }
}

@media (max-width: 639px) {
  .lab__tags svg {
    display: none;
  }

  .lab__tags li {
    padding: 5px 8px;
    font-size: 0.68rem;
  }
}

@media (max-width: 359px) {
  .lab__tags li {
    padding: 4px 6px;
    font-size: 0.6rem;
  }
}

@media (max-width: 639px) {
  .lab__tags {
    gap: 3px;
  }

  .lab__tags li {
    padding: 5px 7px;
    font-size: 0.66rem;
    letter-spacing: -0.01em;
  }
}

@media (max-width: 359px) {
  .lab__tags li {
    padding: 4px 5px;
    font-size: 0.6rem;
  }
}

/* Desktop: etapas esticam para acompanhar a altura das imagens */
@media (min-width: 1024px) {
  .lab__grid {
    align-items: stretch;
  }

  .lab__media {
    align-self: start;
  }

  .lab__content {
    align-self: stretch;
    justify-content: space-between;
  }

  .lab__steps {
    flex: 1;
    grid-auto-rows: 1fr;
  }

  .lab-step {
    align-items: center;
  }
}

/* Instagram: antes e depois e procedimento centralizados */
.instagram__feed li:nth-child(1) img {
  object-position: 50% 50%;
}

.instagram__feed li:nth-child(3) img {
  object-position: 50% 60%;
}

/* ---------- Banner da home: vídeo antes e depois em loop ---------- */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
  background: var(--color-brand-950);
}

@media (min-width: 900px) {
  .hero__video {
    object-position: 50% 50%;
  }
}

/* Celular: vídeo próprio (mais fechado), um pouco mais alto e com vinheta na cor do banner */
@media (max-width: 899px) {
  .hero {
    padding-top: clamp(260px, 72vw, 400px);
  }

  .hero__media {
    height: clamp(320px, 90vw, 520px);
  }

  .hero__video {
    object-position: 50% 40%;
  }

  .hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(58, 13, 25, 0.55) 0, transparent 14%, transparent 86%, rgba(58, 13, 25, 0.55) 100%),
      radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(58, 13, 25, 0.6) 100%);
  }

  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(58, 13, 25, 0.05) 0,
      rgba(58, 13, 25, 0.3) clamp(150px, 42vw, 260px),
      var(--color-brand-950) clamp(320px, 90vw, 520px),
      var(--color-brand-950) 100%
    );
  }
}

/* Formulário de avaliação: aviso após abrir o Google */
.rate__done {
  margin: 0;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--color-brand-50);
  color: var(--color-brand-900);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.rate__done[hidden],
.rate__form .field[hidden] {
  display: none;
}
