/**
 * main.css — Design System, Hero com Maior Nitidez e Estilos de Seção (Atualizado)
 * Cris Esteticista
 */

/* Acessibilidade: Skip Link (oculto fora da tela por padrão; visível apenas com foco de teclado) */
.skip-link {
  position: fixed;
  top: -120px;
  left: 24px;
  background-color: var(--rosa-profundo);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  z-index: 1100;
  border: 1.5px solid var(--rosa-profundo-hover);
  transition: top 0.25s ease;
}

.skip-link:focus-visible {
  top: 88px; /* Desktop: header 80px + 8px */
  outline: 2px solid var(--texto);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .skip-link {
    left: 16px;
  }

  .skip-link:focus-visible {
    top: 64px; /* Mobile: header 56px + 8px */
  }
}

/* Scroll-margin para compensar o header fixo + 16px em todas as âncoras */
section[id],
.hero-section,
#servicos,
#sobre,
#como-funciona,
#avaliacoes,
#agendamento,
#faq,
#contato {
  scroll-margin-top: 96px; /* Desktop: header 80px + 16px */
}

@media (max-width: 768px) {
  section[id],
  .hero-section,
  #servicos,
  #sobre,
  #como-funciona,
  #avaliacoes,
  #agendamento,
  #faq,
  #contato {
    scroll-margin-top: 72px; /* Mobile: header 56px + 16px */
  }
}

/* Fundos alternados entre seções (--creme e --rosa-petala a 45%) */
#servicos,
#como-funciona,
#faq {
  background-color: var(--creme);
}

#sobre,
#agendamento,
#contato {
  background-color: rgba(249, 221, 225, 0.45);
}

/* Quando #avaliacoes estiver visível, re-alterna automaticamente as seguintes */
#avaliacoes:not([hidden]) {
  background-color: rgba(249, 221, 225, 0.45);
}

#avaliacoes:not([hidden]) ~ #agendamento,
#avaliacoes:not([hidden]) ~ #contato {
  background-color: var(--creme);
}

#avaliacoes:not([hidden]) ~ #faq {
  background-color: rgba(249, 221, 225, 0.45);
}

/* Header Fixo e Transições */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
  padding: 0;
}

/* Header ao rolar: fundo --creme a 92% e blur reduzido para 6px */
.site-header.scrolled {
  background-color: rgba(255, 248, 246, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(156, 74, 102, 0.10);
  border-bottom: 1px solid var(--rosa-medio);
}

.header-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--texto);
  letter-spacing: -0.015em;
  line-height: 1.2;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0;
  padding: 0;
}

.nav-list li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--texto);
  line-height: 1.2;
  padding: 0;
  margin: 0;
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1.5px;
  background-color: var(--rosa-profundo);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link[aria-current="true"]::after {
  width: 100%;
}

.nav-link[aria-current="true"] {
  color: var(--rosa-profundo);
}

.mobile-menu-toggle {
  display: none;
  color: var(--texto);
  padding: 8px;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  cursor: pointer;
}

.icon-close {
  display: none;
}

@media (max-width: 1023px) {
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-left: 0;
    background-color: var(--creme);
    border-bottom: 1px solid var(--rosa-medio);
    box-shadow: 0 12px 30px rgba(156, 74, 102, 0.15);
    padding: 28px 24px;
  }

  .main-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .nav-link {
    font-size: 1.05rem;
  }

  .mobile-menu-toggle[aria-expanded="true"] .icon-menu {
    display: none;
  }

  .mobile-menu-toggle[aria-expanded="true"] .icon-close {
    display: block;
  }
}

/* ==========================================================================
   AJUSTES DO HEADER EXCLUSIVOS PARA MOBILE (até 768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* Altura total cerca de 56px: padding vertical de 6px + botão de 44px (6 + 44 + 6 = 56px) */
  .site-header {
    padding: 6px 0;
  }

  .site-header.scrolled {
    padding: 6px 0;
  }

  .header-container {
    height: auto;
    padding: 0 16px;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
  }

  .brand-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
  }

  /* Logo "Cris Esteticista" à esquerda, em uma linha só */
  .logo-name {
    white-space: nowrap;
    font-size: clamp(1.2rem, 4.4vw, 1.35rem);
    line-height: 1;
  }

  /* Ícone do menu mobile alinhado à direita com área de toque de 44px */
  .mobile-menu-toggle {
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    margin: 0;
    flex-shrink: 0;
    margin-left: auto;
  }

  /* Padding do Hero ajustado para a altura de 56px */
  .hero-section {
    padding: 80px 20px 64px 20px;
  }
}

@media (max-width: 375px) {
  .header-container {
    padding: 0 12px;
  }

  .logo-name {
    font-size: 1.2rem;
  }
}

/* ==========================================================================
   HERO SECTION (Foto Nítida, Sem Blur e Overlay Reduzido)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 130px 24px 90px 24px;
  background-color: var(--creme);
}

.hero-picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--rosa-petala);
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Sem filtros de blur na foto */
}

/* Overlay Reduzido: gradiente radial suave centrado no texto, permitindo cor e nitidez à foto */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(255, 248, 246, 0.50) 0%,
    rgba(255, 248, 246, 0.20) 60%,
    rgba(255, 248, 246, 0.05) 100%
  );
  z-index: 2;
  pointer-events: none;
  /* Sem blur ou backdrop-filter */
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Eyebrow: Oculto em todas as telas (desktop e mobile), mantido no HTML semântico */
.hero-eyebrow {
  display: none !important;
}

/* Título H1: Cormorant Garamond com contraste AA e text-shadow sutil em creme */
.hero-title {
  font-family: var(--font-heading);
  font-size: var(--font-h1);
  line-height: var(--line-height-heading);
  color: var(--texto);
  margin-bottom: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: balance;
  text-shadow: 
    0 1px 16px rgba(255, 248, 246, 0.85),
    0 2px 28px rgba(255, 248, 246, 0.70);
}

.hero-title em {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--texto);
  opacity: 0.92;
  max-width: 55ch;
  margin-bottom: 34px;
  line-height: var(--line-height-body);
  text-shadow: 0 1px 12px rgba(255, 248, 246, 0.80);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 32px;
  width: 100%;
}

.hero-actions .btn {
  will-change: transform;
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--texto);
  opacity: 0.90;
  text-shadow: 0 1px 10px rgba(255, 248, 246, 0.85);
}

.hero-trust svg {
  color: var(--rosa-profundo);
}

/* Animações de Entrada no Hero (H1 primeiro, 100ms de intervalo, subida de 16px) */
@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  animation: heroEntrance 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-subtitle {
  animation: heroEntrance 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-actions {
  animation: heroEntrance 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-trust {
  animation: heroEntrance 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

/* Indicador de Rolagem */
.hero-scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--texto);
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
  animation: bounceIndicator 2.4s ease-in-out infinite;
  text-shadow: 0 1px 8px rgba(255, 248, 246, 0.85);
}

@keyframes bounceIndicator {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

.hero-scroll-indicator:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 88px 20px 72px 20px;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }
}

/* Desativa animações se o usuário preferir menos movimento */
@media (prefers-reduced-motion: reduce) {
  .hero-title,
  .hero-subtitle,
  .hero-actions,
  .hero-trust,
  .hero-scroll-indicator {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ==========================================================================
   SEÇÃO SOBRE A PROFISSIONAL
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 55fr 45fr; /* 55% foto horizontal / 45% texto */
  gap: 56px;
  align-items: center;
}

@media (max-width: 880px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.about-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Moldura da foto inteira com círculo decorativo em --rosa-petala atrás */
.about-photo-frame {
  position: relative;
  width: 100%;
}

.about-photo-frame::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background-color: var(--rosa-petala);
  z-index: 0;
  pointer-events: none;
}

.about-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: contain;
  background-color: var(--rosa-petala);
  border-radius: 24px;
  box-shadow: 0 10px 30px -5px rgba(156, 74, 102, 0.15);
}

@media (max-width: 880px) {
  .about-photo-frame::before {
    top: -12px;
    left: -12px;
    width: 150px;
    height: 150px;
  }
}

/* Fallback botânico (exibido apenas se sobre.webp falhar no carregamento) */
.about-image-fallback {
  width: 100%;
  min-height: 320px;
  background: radial-gradient(circle at center, var(--creme) 0%, var(--rosa-petala) 100%);
  border: 1px solid var(--rosa-medio);
  border-radius: 24px;
  padding: 48px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -5px rgba(156, 74, 102, 0.15);
  position: relative;
  overflow: hidden;
}

@media (max-width: 880px) {
  .about-image-fallback {
    min-height: 240px;
  }
}

.botanical-graphic {
  color: var(--rosa-profundo);
  opacity: 0.85;
}

.about-text-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: var(--line-height-body);
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 0.98rem;
}

.highlight-item svg {
  color: var(--rosa-profundo);
  flex-shrink: 0;
  background-color: var(--rosa-petala);
  padding: 4px;
  border-radius: 50%;
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   SEÇÃO COMO FUNCIONA
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.step-card {
  background-color: #FFFFFF;
  border: 1px solid var(--rosa-medio);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
}

.step-card-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--rosa-profundo);
  display: block;
  margin-bottom: 16px;
  opacity: 0.9;
  line-height: 1;
}

.step-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--texto);
  font-weight: 600;
  text-wrap: balance;
}

.step-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.88;
}

/* ==========================================================================
   SEÇÃO AVALIAÇÕES NO GOOGLE
   ========================================================================== */
.google-reviews-card {
  max-width: 720px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border: 1px solid var(--rosa-medio);
  border-radius: var(--radius-card);
  padding: 44px 36px;
  box-shadow: var(--shadow-card);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

@media (max-width: 600px) {
  .google-reviews-card {
    padding: 32px 22px;
    gap: 24px;
  }
}

.google-rating-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.google-rating-score {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--texto);
}

.google-stars {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rosa-profundo);
}

.google-rating-count {
  font-size: 0.98rem;
  color: var(--texto);
  opacity: 0.88;
  margin-top: 2px;
}

.google-reviews-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

@media (max-width: 600px) {
  .google-reviews-actions {
    flex-direction: column;
  }

  .google-reviews-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   SEÇÃO FAQ
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: #FFFFFF;
  border: 1px solid var(--rosa-medio);
  border-radius: var(--radius-card);
  padding: 22px 28px;
  box-shadow: var(--shadow-card);
}

.faq-item[open] {
  border-color: var(--rosa-profundo);
  box-shadow: var(--shadow-soft);
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--texto);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-wrap: balance;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--rosa-profundo);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rosa-medio);
  font-size: 0.96rem;
  color: var(--texto);
  opacity: 0.9;
  line-height: 1.65;
}

/* ==========================================================================
   SEÇÃO CONTATO / LOCALIZAÇÃO
   ========================================================================== */
.contact-card {
  background: radial-gradient(circle at bottom right, var(--creme) 0%, var(--rosa-petala) 100%);
  border: 1px solid var(--rosa-medio);
  border-radius: var(--radius-card);
  padding: 56px;
  box-shadow: var(--shadow-card);
}

@media (max-width: 600px) {
  .contact-card {
    padding: 32px 22px;
  }
}

.contact-intro {
  margin-bottom: 36px;
  font-size: 1.05rem;
  opacity: 0.9;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item svg {
  color: var(--rosa-profundo);
  flex-shrink: 0;
  margin-top: 2px;
  background-color: var(--creme);
  padding: 6px;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  border: 1px solid var(--rosa-medio);
}

.contact-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--texto);
}

.contact-item span,
.contact-item a {
  font-size: 0.9rem;
  opacity: 0.88;
}

.contact-link {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--texto);
}

.contact-link:hover {
  color: var(--rosa-profundo);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--rosa-petala);
  border-top: 1px solid var(--rosa-medio);
  padding: 72px 24px 36px 24px;
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}

@media (max-width: 800px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  display: block;
  margin-bottom: 14px;
  color: var(--texto);
}

.footer-desc {
  font-size: 0.92rem;
  max-width: 42ch;
  opacity: 0.85;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--texto);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.92rem;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--rosa-profundo);
}

.footer-contact p {
  font-size: 0.92rem;
  opacity: 0.85;
  margin-bottom: 10px;
}

.footer-bottom {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--rosa-medio);
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.80;
}

/* ==========================================================================
   BOTÃO FLUTUANTE DE WHATSAPP
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--rosa-profundo);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(156, 74, 102, 0.24);
  border: 1.5px solid var(--rosa-medio);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.whatsapp-float-btn:hover {
  transform: scale(1.08);
  background-color: var(--rosa-profundo-hover);
  box-shadow: 0 10px 28px rgba(156, 74, 102, 0.32);
}

.floating-btn-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  background-color: var(--texto);
  color: var(--creme);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(156, 74, 102, 0.15);
}

.whatsapp-float-btn:hover .floating-btn-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 600px) {
  .whatsapp-float-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
}

/* ==========================================================================
   ANIMAÇÕES AO ROLAR (Reveal único, sem repetição e com salvaguardas)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 500ms;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }

  html.js [data-reveal="up"] {
    transform: translateY(16px);
  }

  html.js [data-reveal="scale"] {
    transform: translateY(8px) scale(0.97);
  }

  html.js [data-reveal="fade"] {
    transform: none;
  }

  /* Estado visível (animação única) */
  html.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

  /* Revelação imediata (sem transição) para elementos já alcançados/ultrapassados */
  html.js [data-reveal].is-instant {
    opacity: 1;
    transform: none;
    transition: none !important;
    transition-delay: 0ms !important;
  }

  /* Durante rolagem por âncora ou botão, todos os blocos ficam visíveis sem transição */
  html.jumping [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0ms !important;
  }
}

/* Garante que behavior: 'auto' em saltos longos (> 2 telas) seja instantâneo mesmo com scroll-behavior: smooth no reset.css */
html.jumping {
  scroll-behavior: auto !important;
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal],
  html.js [data-reveal="up"],
  html.js [data-reveal="scale"],
  html.js [data-reveal="fade"] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0ms !important;
  }
}

/* ==========================================================================
   EFEITO DE HOVER "LEVANTAR E MOVER" NOS CARDS DE CONTEÚDO
   - Usa translate e scale individuais (nunca transform, reservado ao reveal)
   - Unifica transition de entrada (com --reveal-delay) e hover (delay 0s)
   - Pseudo-elemento ::after na base evita tremor ao passar na borda inferior
   ========================================================================== */
:is(
  .service-card,
  .service-select-item[data-bookable="true"],
  .step-card,
  .faq-item,
  .contact-card,
  .google-reviews-card
) {
  position: relative;
}

/* Pseudo-elemento invisível na borda inferior para evitar tremor no hover */
:is(
  .service-card,
  .service-select-item[data-bookable="true"],
  .step-card,
  .faq-item,
  .contact-card,
  .google-reviews-card
)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 10px;
}

/* Transição unificada: entrada (opacity/transform com delay escalonado) + hover (delay 0s) */
@media (prefers-reduced-motion: no-preference) {
  html :is(
    .service-card,
    .step-card,
    .faq-item,
    .contact-card,
    .google-reviews-card
  ),
  html.js :is(
    .service-card,
    .step-card,
    .faq-item,
    .contact-card,
    .google-reviews-card
  )[data-reveal] {
    transition:
      opacity 500ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
      transform 500ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
      translate 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0s,
      scale 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0s,
      box-shadow 0.3s ease 0s,
      border-color 0.3s ease 0s;
  }

  /* Mantém a transição suave de hover mesmo após revelação instantânea (.is-instant) */
  html.js :is(
    .service-card,
    .step-card,
    .faq-item,
    .contact-card,
    .google-reviews-card
  )[data-reveal].is-instant {
    transition:
      translate 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0s,
      scale 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0s,
      box-shadow 0.3s ease 0s,
      border-color 0.3s ease 0s !important;
  }

  /* Sobrescreve o transition inline dos cards selecionáveis do Passo 1 */
  .service-select-item[data-bookable="true"] {
    transition:
      translate 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0s,
      scale 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0s,
      box-shadow 0.3s ease 0s,
      border-color 0.3s ease 0s,
      background-color 0.2s ease 0s,
      transform 0.2s ease 0s !important;
  }
}

/* Dispositivos com mouse/ponteiro fino (não fica preso em telas de toque) */
@media (hover: hover) and (pointer: fine) {
  :is(
    .service-card,
    .step-card,
    .contact-card,
    .google-reviews-card
  ):hover {
    border-color: var(--rosa-profundo);
    box-shadow: 0 16px 32px -8px rgba(156, 74, 102, 0.25);
  }

  .service-select-item[data-bookable="true"]:hover {
    border-color: var(--rosa-profundo) !important;
    box-shadow: 0 16px 32px -8px rgba(156, 74, 102, 0.25) !important;
  }

  .faq-item:hover {
    border-color: var(--rosa-profundo);
    box-shadow: 0 16px 32px -8px rgba(156, 74, 102, 0.25);
  }

  @media (prefers-reduced-motion: no-preference) {
    :is(
      .service-card,
      .service-select-item[data-bookable="true"],
      .step-card,
      .contact-card,
      .google-reviews-card
    ):hover {
      translate: 0 -6px;
      scale: 1.015;
    }

    .faq-item:hover {
      translate: 0 -3px;
    }
  }
}

/* Destaque equivalente por foco de teclado em cards focáveis */
:is(
  .service-card,
  .step-card,
  .contact-card,
  .google-reviews-card
):focus-visible {
  border-color: var(--rosa-profundo);
  box-shadow: 0 16px 32px -8px rgba(156, 74, 102, 0.25);
}

.service-select-item[data-bookable="true"]:focus-visible {
  border-color: var(--rosa-profundo) !important;
  box-shadow: 0 16px 32px -8px rgba(156, 74, 102, 0.25) !important;
}

.faq-item:focus-visible,
.faq-item:has(> .faq-question:focus-visible) {
  border-color: var(--rosa-profundo);
  box-shadow: 0 16px 32px -8px rgba(156, 74, 102, 0.25);
}

@media (prefers-reduced-motion: no-preference) {
  :is(
    .service-card,
    .service-select-item[data-bookable="true"],
    .step-card,
    .contact-card,
    .google-reviews-card
  ):focus-visible {
    translate: 0 -6px;
    scale: 1.015;
  }

  .faq-item:focus-visible,
  .faq-item:has(> .faq-question:focus-visible) {
    translate: 0 -3px;
  }
}

/* Reduced motion: sem translate/scale, mantém apenas mudança suave de borda e sombra */
@media (prefers-reduced-motion: reduce) {
  html :is(
    .service-card,
    .service-select-item[data-bookable="true"],
    .step-card,
    .faq-item,
    .contact-card,
    .google-reviews-card
  ),
  html.js :is(
    .service-card,
    .step-card,
    .faq-item,
    .contact-card,
    .google-reviews-card
  )[data-reveal] {
    translate: none !important;
    scale: none !important;
    transition:
      box-shadow 0.3s ease 0s,
      border-color 0.3s ease 0s !important;
  }
}
