:root {
  --bg: #12141a;
  --bg-soft: #1b1e26;
  --text: #F5F1E8;
  --muted: #b8b3a6;
  --gold: #C9A35C;
  --mint: #7FD1B9;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Scroll suave apenas para quem nao pediu reducao de movimento (acessibilidade vestibular) */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Mulish', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Bodoni Moda', serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-optical-sizing: auto;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Foco de teclado visível e consistente em todos os elementos interativos */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

section[id] {
  scroll-margin-top: 70px;
}

/* ===== Reveal on scroll (progressive enhancement) ===== */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn-primary,
  .btn-primary:hover,
  .whatsapp-float,
  .whatsapp-float:hover {
    transform: none;
    transition: none;
  }
}

/* ===== Sem JS: nav visível e header legível (progressive enhancement) ===== */
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .site-nav { display: flex !important; flex-wrap: wrap; gap: 1rem 1.25rem; }
html:not(.js) .site-header { background: var(--bg); }

/* ===== Header / navegação ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.scrolled {
  background: rgba(18, 20, 26, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: rgba(201, 163, 92, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

.brand {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 600;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.brand:hover,
.brand:focus-visible {
  color: var(--gold);
}

/* Botao hamburger (so aparece no mobile) */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

/* Mobile: painel dropdown abaixo do header quando aberto */
.site-nav.open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.15rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 0.5rem 1.25rem 1rem;
  background: rgba(18, 20, 26, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 163, 92, 0.2);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.site-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.1rem;
  transition: color 0.2s ease;
}

.site-nav.open a {
  padding: 0.7rem 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--gold);
}

@media (min-width: 700px) {
  .nav-toggle {
    display: none;
  }
  .site-nav {
    display: flex;
  }
}

/* ===== Herói ===== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 4rem;
  position: relative;
  background:
    radial-gradient(circle at 50% 20%, rgba(201, 163, 92, 0.16), transparent 60%),
    var(--bg);
  overflow: hidden;
}

/* "Smile arc": base de uma elipse dourada atras do conteudo, evoca a curva de um sorriso */
.hero-arc {
  position: absolute;
  left: 50%;
  top: 12%;
  width: min(125vw, 1180px);
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  border-bottom: 2px solid rgba(201, 163, 92, 0.22);
  border-radius: 0 0 100% 100% / 0 0 100% 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

/* Largura DEFINIDA em vw: sem isso, o item flex encolhe pro conteudo (max-content do h1)
   e ancora a esquerda, vazando pra direita no mobile. Com largura definida + align-items:center,
   fica centralizado e o h1/eyebrow quebram linha. No desktop o flex-basis (55%) sobrepoe. */
.hero-content {
  width: calc(100vw - 2.5rem);
  max-width: 34rem;
  min-width: 0;
}

.hero-photo-wrap {
  display: flex;
  justify-content: center;
}

.photo-ph {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid rgba(201, 163, 92, 0.45);
  background: linear-gradient(145deg, var(--bg-soft), var(--bg));
  box-shadow: 0 0 0 6px rgba(201, 163, 92, 0.06);
}

.photo-ph span {
  font-family: 'Bodoni Moda', serif;
  font-size: 3rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mint);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 9vw, 5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.9rem;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.hero-tagline {
  color: var(--gold);
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  margin-bottom: 0.75rem;
}

.hero-subtext {
  color: var(--muted);
  font-size: 1rem;
  max-width: 32rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 2rem;
  background: var(--gold);
  color: var(--bg);
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 163, 92, 0.35);
}

@media (min-width: 900px) {
  .hero-inner {
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 4rem;
  }

  .hero-content {
    flex: 1 1 55%;
  }

  /* Foto deslocada para baixo: quebra a simetria de duas colunas iguais */
  .hero-photo-wrap {
    flex: 0 0 auto;
    transform: translateY(14px);
  }

  .eyebrow,
  .hero-subtext {
    margin-inline: 0;
  }

  .photo-ph {
    width: 300px;
    height: 300px;
  }
}

/* ===== Sobre (secao de texto, sem foto) ===== */
.sobre {
  padding-block: 5rem;
  background: var(--bg-soft);
}

.sobre-inner {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.sobre-content h2 {
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--text);
  margin-bottom: 1rem;
}

/* Filete dourado de acento sob o titulo */
.sobre-rule {
  display: block;
  width: 64px;
  height: 2px;
  margin: 0 auto 1.75rem;
  background: var(--gold);
}

.sobre-content p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  text-wrap: pretty;
}

.selos {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  justify-content: center;
}

.selo {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(201, 163, 92, 0.45);
  border-radius: 999px;
  color: var(--mint);
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(201, 163, 92, 0.06);
}

/* ===== Tratamentos ===== */
.tratamentos {
  padding-block: 4rem;
  background: var(--bg);
}

.tratamentos h2 {
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--text);
  text-align: center;
}

.tratamentos-subtitle {
  color: var(--muted);
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 2.5rem;
}

/* Lista editorial de tratamentos: linhas com filete dourado, sem cards */
.tratamentos-lista {
  max-width: 760px;
  margin-inline: auto;
}

.tratamento-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 0.5rem;
  border-top: 1px solid rgba(201, 163, 92, 0.18);
  transition: background-color 0.25s ease;
}

.tratamento-icon,
.tratamento-texto {
  transition: transform 0.25s ease;
}
.tratamento-item:hover .tratamento-icon,
.tratamento-item:hover .tratamento-texto,
.tratamento-item:focus-within .tratamento-icon,
.tratamento-item:focus-within .tratamento-texto {
  transform: translateX(0.75rem);
}

.tratamento-item:last-child {
  border-bottom: 1px solid rgba(201, 163, 92, 0.18);
}

.tratamento-item:hover,
.tratamento-item:focus-within {
  background: linear-gradient(90deg, rgba(201, 163, 92, 0.07), transparent 65%);
}

.tratamento-icon {
  color: var(--gold);
  flex-shrink: 0;
}

.tratamento-texto h3 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--text);
  margin-bottom: 0.35rem;
}

.tratamento-texto p {
  color: var(--muted);
  font-size: 0.98rem;
}

@media (prefers-reduced-motion: reduce) {
  .tratamento-icon,
  .tratamento-texto {
    transition: none;
  }
  .tratamento-item:hover .tratamento-icon,
  .tratamento-item:hover .tratamento-texto {
    transform: none;
  }
}

/* ===== Antes & Depois ===== */
.antes-depois {
  padding-block: 4rem;
  background: var(--bg-soft);
}

.antes-depois h2 {
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--text);
  text-align: center;
}

.antes-depois-subtitle {
  color: var(--muted);
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 2.5rem;
}

/* Antes & Depois: foto combinada (antes | depois) enquadrada, com selos nos cantos */
.ba-figure {
  position: relative;
  max-width: 680px;
  margin-inline: auto;
  min-height: 200px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(201, 163, 92, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  background: linear-gradient(160deg, var(--bg-soft), var(--bg));
}

.ba-photo {
  width: 100%;
  display: block;
}

.ba-tag {
  position: absolute;
  top: 0.9rem;
  z-index: 1;
}

.ba-tag-antes {
  left: 0.9rem;
}

.ba-tag-depois {
  right: 0.9rem;
}

/* Aviso exibido so quando a imagem nao carrega (classe .ba-vazio via onerror) */
.ba-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.ba-vazio .ba-photo {
  display: none;
}

.ba-vazio .ba-fallback {
  display: flex;
}

.ba-vazio .ba-tag {
  display: none;
}

/* Foto real dentro dos circulos do heroi/sobre (cobre o monograma quando existe) */
.photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.tag-antes,
.tag-depois {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.tag-antes {
  color: var(--text);
  border: 1px solid rgba(184, 179, 166, 0.4);
  background: rgba(18, 20, 26, 0.75); /* scrim sólido: legível sobre qualquer foto */
}

.tag-depois {
  color: var(--gold);
  border: 1px solid rgba(201, 163, 92, 0.5);
  background: rgba(18, 20, 26, 0.75); /* scrim sólido: legível sobre qualquer foto */
}

.antes-depois .disclaimer {
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
  margin-top: 2rem;
}

/* ===== Depoimentos ===== */
.depoimentos {
  padding-block: 4rem;
  background: var(--bg);
}

.depoimentos h2 {
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--text);
  text-align: center;
}

.depoimentos-subtitle {
  color: var(--muted);
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 2.5rem;
}

.depoimentos-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.depoimento-card {
  background: var(--bg-soft);
  border: 1px solid rgba(201, 163, 92, 0.25);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.depoimento-card:hover,
.depoimento-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  border-color: rgba(201, 163, 92, 0.6);
}

.depoimento-aspas {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--gold);
  font-family: 'Bodoni Moda', serif;
  margin-bottom: 0.5rem;
}

.depoimento-texto {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.depoimento-estrelas {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.depoimento-autor {
  color: var(--mint);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: auto;
}

@media (prefers-reduced-motion: reduce) {
  .depoimento-card {
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
  }

  .depoimento-card:hover,
  .depoimento-card:focus-within {
    transform: none;
  }
}

/* ===== Contato ===== */
/* Contato: acento dourado "committed" — vira o pico visual do fim da pagina */
.contato {
  padding-block: 5.5rem;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(201, 163, 92, 0.18), transparent 60%),
    var(--bg-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contato h2 {
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--text);
}

.contato-subtitle {
  color: var(--muted);
  margin-top: 0.75rem;
  margin-bottom: 2rem;
}

.contato .btn-primary {
  margin-bottom: 2.5rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.5rem 0.25rem;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--gold);
}

.social-icon {
  color: currentColor;
  flex-shrink: 0;
}

.contato-info {
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contato-info-item {
  font-size: 0.95rem;
}

/* ===== Rodapé ===== */
.site-footer {
  background: var(--bg);
  border-top: 1px solid rgba(201, 163, 92, 0.2);
  padding-block: 2.5rem;
}

/* Em telas estreitas, reserva espaco no rodape para o botao flutuante do WhatsApp
   (fixed, ~73px do rodape) nao cobrir o credito/redes do rodape */
@media (max-width: 520px) {
  .site-footer {
    padding-bottom: 5.5rem;
  }
}

.footer-inner {
  text-align: center;
  color: var(--muted);
}

.footer-nome {
  font-family: 'Bodoni Moda', serif;
  color: var(--text);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.footer-cargo {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.social-icon-link:hover,
.social-icon-link:focus-visible {
  color: var(--gold);
}

.footer-copy {
  font-size: 0.8rem;
}

.footer-credito {
  font-size: 0.75rem;
  margin-top: 0.35rem;
  opacity: 0.7;
}

/* ===== Botão flutuante do WhatsApp ===== */
.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, opacity 0.25s ease, visibility 0.25s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.08);
}

/* Esconde o FAB quando a secao Contato (que ja tem seu proprio CTA WhatsApp) esta visivel,
   evitando dois botoes WhatsApp empilhados */
.whatsapp-float.hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.85);
  pointer-events: none;
}

/* ===== CRO: CTA do meio (pico do antes/depois) + FAQ + nota de fricção-zero ===== */
.cta-meio { text-align: center; margin-top: 2.25rem; }

.duvidas { padding-block: 4rem; background: var(--bg); }
.duvidas h2 { font-size: clamp(2rem, 6vw, 3rem); color: var(--text); text-align: center; margin-bottom: 2.25rem; }
.faq-lista { max-width: 680px; margin-inline: auto; display: grid; gap: 0.9rem; }
.faq-item { background: var(--bg-soft); border: 1px solid rgba(201, 163, 92, 0.25); border-radius: 14px; }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; color: var(--text); font-weight: 600; min-height: 48px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-family: var(--font-display); font-size: 1.5rem; line-height: 1; flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.4rem 1.2rem; color: var(--muted); font-size: 0.98rem; }
@media (prefers-reduced-motion: reduce) { .faq-item summary::after { transition: none; } }

.contato-nota { color: var(--muted); font-size: 0.9rem; margin-top: -1.5rem; margin-bottom: 2rem; }
