/* ==========================================================================
   Dra. Raiane Luz — Estética Avançada
   Estetica nude/champanhe elegante, inspirada no mood da referencia.
   Mobile-first, leve, muito respiro.
   ========================================================================== */

:root {
  --rl-bg: #F5F0E9;
  --rl-surface: #FBF8F3;
  --rl-surface2: #ECE3D6;
  --rl-ink: #3A2E24;
  --rl-muted: #8A7A68;
  --rl-gold: #B8935A;
  --rl-gold-light: #D9B17E;
  --rl-gold-dark: #A07737;
  --rl-line: #E2D8CA;
  --rl-white: #ffffff;
  --rl-wa: #25D366;
  --rl-serif: 'Playfair Display', Georgia, serif;
  --rl-sans: 'Jost', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--rl-bg);
  color: var(--rl-ink);
  font-family: var(--rl-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.serif { font-family: var(--rl-serif); font-weight: 400; letter-spacing: -0.01em; }

h1, h2, h3 { font-family: var(--rl-serif); font-weight: 400; letter-spacing: -0.01em; color: var(--rl-ink); margin: 0 0 .4em; line-height: 1.15; }
h1 { font-size: clamp(30px, 6vw, 48px); }
h2 { font-size: clamp(26px, 5vw, 40px); }
h3 { font-size: clamp(17px, 4vw, 21px); font-weight: 600; font-family: var(--rl-sans); letter-spacing: 0; }
p { margin: 0 0 1rem; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--rl-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Layout */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 48px);
  padding-right: clamp(20px, 5vw, 48px);
}
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-surface { background: var(--rl-surface); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: clamp(11px, 2.8vw, 12.5px);
  font-weight: 500;
  color: var(--rl-gold);
  margin: 0 0 1rem;
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section-lead { color: var(--rl-muted); font-size: clamp(15px, 3.6vw, 17px); }

/* Botoes — pill uppercase espacado */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 15px 34px;
  border-radius: 999px;
  font-family: var(--rl-sans);
  font-size: clamp(12px, 3vw, 13.5px); letter-spacing: .18em; text-transform: uppercase;
  font-weight: 400; line-height: 1.2; text-align: center;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { flex: none; }
.btn-solid { background: var(--rl-gold); color: #fff; }
.btn-solid:hover { background: var(--rl-gold-dark); }
.btn-ghost { border-color: var(--rl-ink); color: var(--rl-ink); }
.btn-ghost:hover { background: var(--rl-ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--rl-ink); }
.btn-block { width: 100%; max-width: 420px; }

/* Cabecalho */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(237, 234, 228, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rl-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 68px; width: auto; }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 1.5px; background: var(--rl-ink); transition: .25s; }

.nav-menu {
  list-style: none; margin: 0; padding: 0;
  position: absolute; top: 92px; left: 0; right: 0;
  background: var(--rl-bg); border-bottom: 1px solid var(--rl-line);
  display: flex; flex-direction: column;
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.nav-menu.open { max-height: 460px; }
.nav-menu li { border-top: 1px solid var(--rl-line); }
.nav-menu a { display: block; padding: 15px 24px; font-size: 14px; letter-spacing: .04em; }
.nav-menu .nav-cta { color: var(--rl-gold); text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; }

/* Split (hero e sobre) */
.split {
  display: flex; flex-wrap: wrap;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split > * { flex: 1 1 320px; min-width: min(100%, 300px); }
.portrait {
  width: 100%; height: auto;
  border-radius: 14px; aspect-ratio: 3/4; object-fit: cover;
  box-shadow: 0 20px 50px rgba(58, 46, 36, .12);
}
/* Placeholder elegante quando a foto ainda nao foi adicionada */
.portrait.img-missing {
  min-height: 300px;
  background: repeating-linear-gradient(135deg, var(--rl-surface2), var(--rl-surface2) 14px, var(--rl-surface) 14px, var(--rl-surface) 28px);
  display: flex; align-items: center; justify-content: center;
  color: var(--rl-muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 20px;
}
.portrait.img-missing::after { content: attr(alt); }

/* Hero */
.hero { padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(44px, 7vw, 88px); }
.hero h1 { margin: 0 0 14px; }
.hero-sub { color: var(--rl-muted); font-size: clamp(16px, 4vw, 19px); margin: 0 0 28px; max-width: 30ch; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; }
.hero-note { margin-top: 22px; font-size: 13px; letter-spacing: .04em; color: var(--rl-muted); }

/* Sobre */
.about-credential {
  text-transform: uppercase; letter-spacing: .2em;
  font-size: 12px; color: var(--rl-gold); font-weight: 500;
  margin: 0 0 1rem;
}
.about-text .btn { margin-top: 8px; }
.about-creds {
  list-style: none; margin: 1.4rem 0 1.6rem; padding: 0;
  display: grid; gap: 10px;
}
.about-creds li {
  position: relative; padding-left: 22px;
  font-size: clamp(14.5px, 3.6vw, 16px); line-height: 1.45; color: var(--rl-ink);
}
.about-creds li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 10px; height: 1px; background: var(--rl-gold);
}

/* Cards de procedimento */
.grid {
  display: grid; gap: clamp(16px, 2.5vw, 26px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.card {
  background: var(--rl-surface);
  border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
}
.card-img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; }
.card-body { padding: clamp(20px, 3.4vw, 26px); }
.card h3 { margin: 0 0 8px; }
.card p { margin: 0; font-size: clamp(14px, 3.5vw, 16px); line-height: 1.6; color: var(--rl-muted); }
.card-icon { color: var(--rl-gold); font-size: 20px; margin-bottom: 12px; }
.card.no-photo .card-body { padding-top: clamp(24px, 4vw, 30px); }
.section-cta { text-align: center; margin-top: clamp(30px, 5vw, 48px); display: flex; justify-content: center; }

/* Avaliacao */
.evaluation { background: var(--rl-surface); }
.evaluation-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.evaluation-inner .eyebrow, .evaluation-inner h2 { text-align: center; }
.check-list { list-style: none; padding: 0; margin: 0 auto 28px; max-width: 420px; text-align: left; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--rl-muted); }
.check-list li::before { content: "—"; position: absolute; left: 0; color: var(--rl-gold); }
.price-box {
  background: var(--rl-bg); border: 1px solid var(--rl-line);
  border-radius: 16px; padding: clamp(24px, 4vw, 32px); margin: 0 auto 28px; max-width: 520px;
}
.price { display: block; font-family: var(--rl-serif); font-size: clamp(38px, 9vw, 52px); color: var(--rl-ink); line-height: 1; margin-bottom: 10px; }
.price-box p { margin: 0; color: var(--rl-muted); font-size: 15px; }

/* Resultados reais (antes/depois) */
.results-grid {
  display: grid; gap: clamp(14px, 2.4vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.result { margin: 0; }
.result img {
  width: 100%; height: auto; border-radius: 14px;
  aspect-ratio: 3/4; object-fit: cover;
  box-shadow: 0 12px 34px rgba(58,46,36,.12);
}
.result figcaption {
  margin-top: 12px; text-align: center;
  font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--rl-gold);
}

/* Depoimentos — baloes sobre fundo nude */
.proof {
  background: var(--rl-surface2);
  padding: clamp(44px, 7vw, 90px) clamp(20px, 5vw, 48px) clamp(56px, 8vw, 100px);
}
.proof-head { text-align: center; max-width: 640px; margin: 0 auto clamp(28px, 4vw, 40px); }
.proof-inner { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(16px, 2.6vw, 22px); }
.bubble {
  background: rgba(255,255,255,.94); backdrop-filter: blur(6px);
  border-radius: 16px; padding: clamp(22px, 4vw, 30px); max-width: 88%;
  box-shadow: 0 10px 30px rgba(42,35,32,.08);
}
.bubble p { margin: 0 0 10px; font-size: clamp(15px, 3.7vw, 17px); line-height: 1.65; }
.bubble footer { margin: 0; font-size: 13px; letter-spacing: .04em; color: var(--rl-gold); text-transform: uppercase; }
.bubble.right { align-self: flex-end; }
.bubble.left { align-self: flex-start; }
.disclaimer { text-align: center; color: var(--rl-muted); font-size: 12.5px; margin-top: 28px; }

/* Localizacao */
.location-inner { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 56px); align-items: center; }
.location-inner > * { flex: 1 1 320px; min-width: min(100%, 300px); }
.location-text address { font-style: normal; font-family: var(--rl-serif); font-size: clamp(18px, 4.5vw, 22px); color: var(--rl-ink); margin-bottom: 12px; line-height: 1.5; }
.location-text p { color: var(--rl-muted); }
.location-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.location-map iframe { width: 100%; height: clamp(280px, 45vw, 400px); border: 0; border-radius: 14px; box-shadow: 0 14px 40px rgba(42,35,32,.1); }

/* CTA final */
.cta-final { background: var(--rl-ink); color: #fff; text-align: center; padding: clamp(56px, 8vw, 100px) 0; }
.cta-final .eyebrow { color: var(--rl-gold); }
.cta-final h2 { color: #fff; }
.cta-final p { color: rgba(255,255,255,.78); max-width: 520px; margin: 0 auto 30px; }
.cta-final .btn { margin: 0 auto; }

/* Rodape */
.site-footer { background: var(--rl-ink); color: rgba(255,255,255,.7); padding: 44px 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { display: grid; gap: 20px; text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--rl-serif); font-size: 1.2rem; color: #fff; }
.footer-icon { height: 42px; width: 42px; border-radius: 50%; background: #fff; padding: 3px; }
.footer-links { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.footer-links a { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a:hover { color: var(--rl-gold); }
.footer-legal { font-size: 12px; color: rgba(255,255,255,.45); margin: 0; line-height: 1.7; }

/* WhatsApp flutuante */
.float-wa {
  position: fixed; z-index: 99;
  right: clamp(14px, 4vw, 26px);
  bottom: calc(clamp(14px, 4vw, 26px) + env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--rl-wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(0,0,0,.22);
  animation: wapulse 2.6s ease-out infinite;
}
@keyframes wapulse {
  0%,100% { box-shadow: 0 6px 22px rgba(0,0,0,.22), 0 0 0 0 rgba(37,211,102,.45); }
  50%     { box-shadow: 0 6px 22px rgba(0,0,0,.22), 0 0 0 14px rgba(37,211,102,0); }
}

/* Desktop */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static; max-height: none; overflow: visible;
    flex-direction: row; align-items: center; gap: 4px;
    background: none; border: none;
  }
  .nav-menu li { border: none; }
  .nav-menu a { padding: 10px 16px; }
  .nav-menu .nav-cta { border: 1px solid var(--rl-gold); border-radius: 999px; padding: 10px 22px; }
  .nav-menu .nav-cta:hover { background: var(--rl-gold); color: #fff; }

  .hero-actions { flex-direction: row; }
  .hero-actions .btn { width: auto; }
  .location-actions { flex-direction: row; }
  .location-actions .btn { width: auto; }

  /* Hero: texto primeiro (esquerda), foto direita */
  .hero .hero-text { order: 1; }
  .hero .hero-media { order: 2; }

  .footer-inner { grid-template-columns: 1fr auto 1fr; text-align: left; align-items: center; }
  .footer-brand { justify-content: flex-start; }
  .footer-legal { text-align: right; }
}

@media (max-width: 640px) {
  .bubble { max-width: 100%; }
  .header-inner { min-height: 76px; }
  .brand-logo { height: 52px; }
  .nav-menu { top: 76px; }
}

/* ==========================================================================
   Microanimações e transições
   ========================================================================== */

/* Reveal ao rolar */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Header: transição suave e sombra ao rolar */
.site-header {
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(58, 46, 36, .08);
  background: rgba(245, 240, 233, .96);
}

/* Botões: leve elevação e brilho no hover */
.btn { transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(184, 147, 90, .32); }
.btn-ghost:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Cards: elevação suave */
.card { transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--rl-shadow-card, 0 16px 44px rgba(58,46,36,.12)); }
.card-icon { transition: transform .3s ease; }
.card:hover .card-icon { transform: scale(1.15); }

/* Links do menu: sublinhado dourado que cresce */
@media (min-width: 768px) {
  .nav-menu a:not(.nav-cta) { position: relative; }
  .nav-menu a:not(.nav-cta)::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
    height: 1px; background: var(--rl-gold);
    transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
  }
  .nav-menu a:not(.nav-cta):hover::after { transform: scaleX(1); }
}

/* Fotos de resultado e retrato: zoom sutil no hover */
.result, .about-photo, .hero-media { overflow: hidden; border-radius: 14px; }
.result img, .portrait { transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.result:hover img, .split:hover .portrait { transform: scale(1.04); }

/* Botão do menu mobile vira "X" quando aberto */
.nav-toggle span { transition: transform .3s ease, opacity .2s ease; transform-origin: center; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Balões de depoimento: transição no reveal já herda de data-reveal; hover leve */
.bubble { transition: transform .3s ease, box-shadow .3s ease; }
.bubble:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(58,46,36,.12); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
