/* =========================================================
   STUDIO BELLE — style.css
   Estética: clean wellness/spa · verde-sálvia + creme
   Abordagem: mobile-first, depois media queries
   ========================================================= */

/* ---------- Variáveis de tema ---------- */
:root {
  --cream:    #f6f4ee;   /* fundo principal             */
  --linen:    #eceae1;   /* superfícies suaves          */
  --sage:     #899a7e;   /* acento principal (sálvia)   */
  --sage-dk:  #647457;   /* sálvia escuro               */
  --sage-sft: #cdd6c2;   /* sálvia claro                */
  --forest:   #2d352a;   /* texto principal             */
  --stone:    #6f7468;   /* texto secundário            */
  --line:     rgba(45, 53, 42, 0.12);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Outfit', system-ui, sans-serif;

  --radius: 20px;
  --max:    1180px;
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--cream);
  color: var(--forest);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Layout base ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 76px 0; }

.section-head { text-align: center; max-width: 580px; margin: 0 auto 46px; }
.section-eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sage-dk);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 7vw, 3.3rem);
  line-height: 1.06;
}
.section-sub { color: var(--stone); margin-top: 14px; font-size: 1.02rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn-book {
  background: var(--sage);
  color: #fff;
  box-shadow: 0 8px 22px rgba(137, 154, 126, 0.32);
}
.btn-book:hover { background: var(--sage-dk); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(100, 116, 87, 0.4); }
.btn-outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--sage); color: var(--sage-dk); transform: translateY(-2px); }
.btn-lg { padding: 17px 42px; font-size: 0.95rem; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.35s, padding 0.35s, box-shadow 0.35s;
}
.site-header.scrolled {
  background: rgba(246, 244, 238, 0.9);
  backdrop-filter: blur(12px);
  padding: 13px 0;
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; letter-spacing: 0.01em; }
.brand-name em { font-style: italic; font-weight: 400; color: var(--sage-dk); }

/* Navegação — gaveta no mobile */
.nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(78%, 320px);
  background: var(--cream);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 40px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.nav.open { transform: translateX(0); }
.nav-link { font-size: 1.05rem; letter-spacing: 0.04em; transition: color 0.2s; }
.nav-link:hover { color: var(--sage-dk); }
.nav-cta { margin-top: 6px; }

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px; z-index: 101;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--forest); transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 130px 0 60px; overflow: hidden; }
.hero-glow {
  position: absolute;
  top: -15%; right: -10%;
  width: 60vw; height: 60vw;
  max-width: 620px; max-height: 620px;
  background: radial-gradient(circle, rgba(137,154,126,0.22), transparent 70%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.hero-eyebrow { font-size: 0.76rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--sage-dk); margin-bottom: 20px; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 10vw, 4.6rem);
  line-height: 1.04;
}
.hero-title em { font-style: italic; color: var(--sage-dk); }
.hero-lead { color: var(--stone); max-width: 480px; margin: 24px 0 34px; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 36px; color: var(--stone); font-size: 0.88rem;
}
.hero-trust li { position: relative; padding-left: 20px; }
.hero-trust li::before {
  content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 600;
}

/* Visual do hero */
.hero-visual { position: relative; height: 320px; display: grid; place-items: center; }
.hero-orb {
  width: min(82%, 360px); aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--sage-sft), var(--sage));
  box-shadow: inset 0 -20px 60px rgba(45,53,42,0.12), 0 30px 60px rgba(137,154,126,0.25);
}
.hero-leaf {
  position: absolute;
  font-size: 4rem;
  color: rgba(255,255,255,0.85);
}

/* ---------- Serviços ---------- */
.services { background: var(--linen); }
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.service {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.service:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(45, 53, 42, 0.1); }
.service-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--sage-sft);
  color: var(--sage-dk);
  font-size: 1.1rem;
  margin-bottom: 18px;
}
.service-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; }
.service-desc { color: var(--stone); font-size: 0.97rem; margin: 8px 0 18px; }
.service-link {
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 600;
  color: var(--sage-dk); font-size: 0.92rem; letter-spacing: 0.02em;
  padding: 0; transition: gap 0.2s, color 0.2s;
}
.service-link:hover { color: var(--forest); }

/* ---------- Resultados / Antes e Depois ---------- */
/* Comparador interativo */
.ba-slider {
  position: relative;
  max-width: 720px;
  margin: 0 auto 40px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
  box-shadow: 0 18px 44px rgba(45, 53, 42, 0.14);
  --pos: 50%;
}
.ba-slider:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }
.ba-panel {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 20px;
}
/* "Fotos" simuladas em CSS — troque por <img> de fotos reais */
.ba-after  { background: linear-gradient(150deg, #e9ddcf, #d8c3aa); }
.ba-before { background: linear-gradient(150deg, #b9b0a4, #938b80); clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-label {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(255,255,255,0.85); color: var(--forest);
  padding: 5px 12px; border-radius: 999px;
}
.ba-label-after { margin-left: auto; }
.ba-divider {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos);
  width: 2px; background: #fff;
  transform: translateX(-1px);
  pointer-events: none;
}
.ba-handle {
  position: absolute; top: 50%; left: 50%;
  width: 42px; height: 42px;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(45,53,42,0.25);
}
.ba-handle::before, .ba-handle::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0;
  border-block: 5px solid transparent;
}
.ba-handle::before { left: 9px;  border-right: 7px solid var(--sage-dk); transform: translateY(-50%); }
.ba-handle::after  { right: 9px; border-left: 7px solid var(--sage-dk); transform: translateY(-50%); }

/* Galeria de resultados */
.results-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.result-card { text-align: center; }
.result-pair {
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: var(--radius); overflow: hidden;
}
.result-half {
  aspect-ratio: 1; display: flex; align-items: flex-end; justify-content: center; padding: 12px;
}
.result-half span {
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(255,255,255,0.85); color: var(--forest);
  padding: 4px 10px; border-radius: 999px;
}
.tone-skin  { background: linear-gradient(150deg, #c4baad, #a59a8b); }
.tone-glow  { background: linear-gradient(150deg, #ecdfce, #dcc4a6); }
.tone-skin2 { background: linear-gradient(150deg, #bfb3a6, #9d9082); }
.tone-glow2 { background: linear-gradient(150deg, #efe3d2, #e0caab); }
.tone-skin3 { background: linear-gradient(150deg, #c1b7aa, #a39888); }
.tone-glow3 { background: linear-gradient(150deg, #eee2d0, #ddc6a8); }
.result-card figcaption { color: var(--stone); font-size: 0.88rem; margin-top: 12px; }

/* ---------- Sobre ---------- */
.about-inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.about-text p { color: var(--stone); margin-top: 16px; max-width: 520px; }
.about-text .section-title { margin-top: 12px; }
.about-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; }
.about-stats strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--sage-dk); display: block; }
.about-stats span { color: var(--stone); font-size: 0.82rem; }
.about-visual { position: relative; display: grid; place-items: center; min-height: 300px; }
.about-orb {
  width: min(80%, 320px); aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(150deg, var(--sage), var(--sage-dk));
  box-shadow: 0 30px 60px rgba(100,116,87,0.28);
}
.about-quote {
  position: absolute;
  bottom: 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
  max-width: 280px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  box-shadow: 0 12px 30px rgba(45,53,42,0.12);
}

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta-inner {
  background: linear-gradient(150deg, var(--sage-sft), var(--linen));
  border-radius: 28px;
  padding: 64px 26px;
}
.cta-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 7vw, 3.6rem); }
.cta-text { color: var(--stone); max-width: 440px; margin: 14px auto 30px; font-size: 1.08rem; }
.cta-info { color: var(--stone); font-size: 0.82rem; margin-top: 24px; }

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 38px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.footer-brand { font-size: 1.5rem; }
.footer-copy { color: var(--stone); font-size: 0.9rem; }
.footer-rights { color: var(--stone); font-size: 0.8rem; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 200;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  animation: pulse 2.4s infinite;
  transition: transform 0.25s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0%   { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Animações de revelação ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .whatsapp-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   BREAKPOINTS
   ========================================================= */

/* Tablet */
@media (min-width: 700px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* Desktop */
@media (min-width: 940px) {
  .section { padding: 106px 0; }
  .hero { padding: 175px 0 90px; }
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .hero-visual { height: 440px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .about-inner { grid-template-columns: 1.1fr 0.9fr; gap: 60px; }

  .nav-toggle { display: none; }
  .nav {
    position: static;
    width: auto;
    flex-direction: row;
    align-items: center;
    background: none;
    border: 0;
    padding: 0;
    transform: none;
    gap: 34px;
  }
  .nav-cta { margin-top: 0; }
}