/* ---------- Design tokens (extraídos do site original: paleta nude/dourada) ---------- */
/* Base em hex/rgb: funciona em QUALQUER browser (Safari antigo, Android WebView antigo, etc). */
:root {
  --font-sans: "Jost", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;

  --background: #f8f4ee;
  --foreground: #3d332c;
  --card: #fdfbf8;
  --card-foreground: #3d332c;
  --muted: #ece5db;
  --muted-foreground: #8a7c6f;
  --secondary: #ece5db;
  --border: #ddd3c5;
  --primary: #bd8c62;
  --primary-foreground: #fdfbf8;
  --accent: #e8dfd0;
  --accent-foreground: #4a3d33;
  --gold: #cba966;
  --deep: #453a30;
  --deep-foreground: #f4efe6;
  --header-bg: rgba(248, 244, 238, .88);
  --shadow-tint: rgba(61, 51, 44, .3);
  --shadow-tint-soft: rgba(61, 51, 44, .25);
  --primary-shadow: rgba(189, 140, 98, .5);
  --primary-border-25: rgba(189, 140, 98, .25);
}

/* Progressive enhancement: em browsers com suporte a oklch() (Chrome 111+, Safari 15.4+,
   Firefox 113+ — a grande maioria dos dispositivos atuais), afinamos para as cores exatas
   do site original. Em browsers mais antigos, os valores hex acima ficam tal e qual. */
@supports (color: oklch(0% 0 0)) {
  :root {
    --background: oklch(97.6% .008 85);
    --foreground: oklch(26% .015 60);
    --card: oklch(99% .005 85);
    --card-foreground: oklch(26% .015 60);
    --muted: oklch(94.5% .014 80);
    --muted-foreground: oklch(52% .02 62);
    --secondary: oklch(94.5% .014 80);
    --border: oklch(89.5% .018 78);
    --primary: oklch(68.5% .065 62);
    --primary-foreground: oklch(99% .004 85);
    --accent: oklch(91.5% .022 78);
    --accent-foreground: oklch(32% .02 60);
    --gold: oklch(79% .09 85);
    --deep: oklch(33% .026 62);
    --deep-foreground: oklch(96.5% .012 85);
    --header-bg: oklch(97.6% .008 85 / .88);
    --shadow-tint: oklch(26% .015 60 / .3);
    --shadow-tint-soft: oklch(26% .015 60 / .25);
    --primary-shadow: oklch(68.5% .065 62 / .5);
    --primary-border-25: oklch(68.5% .065 62 / .25);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 4.5rem; /* espaço para a barra fixa do WhatsApp no mobile */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  margin: 0 0 .5em;
  color: var(--foreground);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.15; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }

.eyebrow {
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 500;
  margin: 0 0 .8em;
}
.eyebrow-muted { color: var(--muted-foreground); }
.eyebrow-gold { color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--muted-foreground); max-width: 46ch; }
.lead-center { margin-inline: auto; text-align: center; }

/* ---------- Buttons (pill, maiúsculas, tracked — assinatura visual do site) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease, filter .2s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 18px 40px -24px var(--primary-shadow);
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--foreground);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-light {
  background: var(--background);
  color: var(--foreground);
}
.btn-light:hover { transform: scale(1.02); }

/* ---------- Header / navegação ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
}
.nav-desktop { display: flex; gap: 1.6rem; }
.nav-desktop a {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.nav-desktop a:hover { color: var(--primary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { width: 100%; height: 2px; background: var(--foreground); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 24px 1rem;
  gap: .75rem;
}
.nav-mobile a { padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.nav-mobile.open { display: flex; }

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
}

/* Ancoragem suave: compensa a altura do header fixo para o título da secção
   não ficar escondido atrás dele ao clicar num link do menu. */
main section[id], footer[id] { scroll-margin-top: 80px; }

/* ---------- Hero (#inicio) ---------- */
.hero-full {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 10vw, 7rem);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow-a {
  top: -8rem; right: -4rem;
  width: 26rem; height: 26rem;
  background: radial-gradient(circle at center, var(--primary), transparent 70%);
  opacity: .25;
}
.hero-glow-b {
  bottom: -10rem; left: -6rem;
  width: 28rem; height: 28rem;
  background: radial-gradient(circle at center, var(--accent), transparent 70%);
  opacity: .7;
}
.hero-full-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  text-align: center;
}
.hero-full-inner h1 { margin-top: .6em; }
.hero-italic {
  display: block;
  font-style: italic;
  color: var(--primary);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.hero-actions-center { justify-content: center; }
.hero-full-inner .eyebrow-muted { margin-top: 3rem; margin-bottom: 0; }

@media (max-width: 640px) {
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section-muted { background: var(--secondary); }
.section-heading-center {
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 3rem;
  text-align: center;
}
.section-heading-center::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--primary);
  margin: 1.3rem auto 0;
}
.section-subtitle { margin: 1.5rem auto 0; max-width: 56ch; color: var(--muted-foreground); }
.section-text { max-width: 65ch; color: var(--muted-foreground); font-size: 1.05rem; }

/* ---------- Sobre ---------- */
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1fr;
  align-items: center;
  gap: 3.5rem;
}
.about-photo-wrap { position: relative; max-width: 340px; margin: 0 auto; }
.about-photo-frame {
  position: absolute;
  inset: -12px;
  border: 1px solid var(--primary-border-25);
  border-radius: 1.6rem;
  pointer-events: none;
}
.about-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  border-radius: 1.25rem;
}
.about-subtitle { margin: .2rem 0 0; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-foreground); }
.about-divider { width: 56px; height: 1px; background: linear-gradient(to right, var(--primary), transparent); margin: 1.5rem 0; }
.pill-list { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-direction: column; gap: .75rem; }
.pill-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .75rem 1.3rem;
  font-size: .9rem;
  transition: border-color .2s ease;
}
.pill-list li:has(a):hover { border-color: var(--primary-border-25); }
.pill-list li a {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: inherit;
  width: 100%;
  transition: color .2s ease;
}
.pill-list li a:hover { color: var(--primary); }
.pill-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3rem;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-divider { margin-inline: auto; }
  .pill-list li { text-align: left; }
}

/* ---------- Tratamentos / Serviços ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: linear-gradient(to bottom, var(--card), var(--secondary));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-border-25);
  box-shadow: 0 28px 55px -36px var(--shadow-tint);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--primary-border-25);
  background: var(--background);
  font-size: 1.2rem;
}
.service-card h3 { font-size: 1.4rem; margin: 1.3rem 0 0; }
.service-underline {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--primary-border-25);
  margin: 1rem 0;
  transition: width .4s ease;
}
.service-card:hover .service-underline { width: 64px; }
.service-card p { margin: 0; color: var(--muted-foreground); font-size: .92rem; line-height: 1.6; }

/* ---------- Resultados / Antes e Depois ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.gallery-item {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--primary-border-25);
  box-shadow: 0 28px 55px -36px var(--shadow-tint);
}
.gallery-photo { overflow: hidden; background: var(--accent); }
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption { padding: 1.3rem 1.5rem 1.5rem; }
.gallery-caption h3 { font-size: 1.15rem; margin: 0 0 .4em; }
.gallery-caption p { margin: 0; color: var(--muted-foreground); font-size: .9rem; line-height: 1.5; }
.gallery-tagline {
  text-align: center;
  font-style: italic;
  color: var(--muted-foreground);
  font-size: .95rem;
  letter-spacing: .02em;
  margin: 2.5rem 0 0;
}

/* ---------- Testemunhos ---------- */
.testimonials-rating {
  text-align: center;
  letter-spacing: .2em;
  color: var(--primary);
  font-size: .9rem;
  margin: 1.5rem 0 0;
}
.testimonials-rating-label { margin-left: .75rem; color: var(--muted-foreground); letter-spacing: normal; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.testimonial-card {
  margin: 0;
  position: relative;
  background: linear-gradient(to bottom, var(--card), var(--secondary));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
}
.testimonial-quote-mark {
  display: block;
  font-family: var(--font-serif);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--primary-border-25);
}
.testimonial-text { margin: .5rem 0 0; color: var(--muted-foreground); font-size: .92rem; font-style: italic; line-height: 1.7; }
.testimonial-card footer { margin-top: 1.5rem; border-top: 1px solid var(--border); padding-top: 1.2rem; }
.testimonial-name { margin: 0; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.testimonial-detail { margin: .25rem 0 0; font-size: .78rem; color: var(--muted-foreground); }
.stars { margin: .75rem 0 0; color: var(--primary); letter-spacing: .2em; font-size: .78rem; }

/* ---------- Formação e Experiência (timeline) ---------- */
.timeline {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  padding-left: 2.2rem;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 2.6rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -2.2rem;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  background: var(--background);
}
.timeline-label {
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 500;
  margin: 0 0 .4em;
}
.timeline-item h3 { font-size: 1.3rem; margin: 0 0 .2em; }
.timeline-sub { margin: 0; color: var(--muted-foreground); font-size: .92rem; }

/* ---------- Localização (um único cartão coeso: info + mapa) ---------- */
.location-block {
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
}
.location-info {
  background: linear-gradient(to bottom, var(--card), var(--secondary));
  padding: 2.5rem;
}
.location-pills { max-width: 340px; margin: 0 auto; }
.location-pills address { font-style: normal; }
.location-map { border-top: 1px solid var(--border); min-height: 280px; }
.location-map iframe { width: 100%; height: 100%; min-height: 280px; border: 0; display: block; }

/* ---------- CTA escuro (#agendar) ---------- */
.cta-dark {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  padding-block: clamp(4rem, 9vw, 7rem);
  text-align: center;
}
.cta-dark::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: .7;
}
.cta-glow {
  position: absolute;
  top: -8rem;
  left: 50%;
  transform: translateX(-50%);
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--gold), transparent 70%);
  opacity: .2;
  filter: blur(40px);
  pointer-events: none;
}
.cta-dark-inner { position: relative; z-index: 1; max-width: 640px; }
.cta-dark-title { color: var(--deep-foreground); margin-top: 1.2rem; }
.cta-dark-title em { font-style: italic; color: var(--gold); }
.cta-divider { width: 64px; height: 1px; margin: 1.5rem auto 0; background: linear-gradient(to right, transparent, var(--gold), transparent); }
.cta-dark-text { color: var(--deep-foreground); opacity: .75; margin: 1.5rem 0 0; }

/* ---------- Footer (copyright, claro) ---------- */
.site-footer {
  background: var(--background);
  padding-block: 1.6rem;
  text-align: center;
}
.footer-copy {
  font-size: .72rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* ---------- Barra fixa WhatsApp (mobile) ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .18em;
}
@media (max-width: 780px) {
  .mobile-cta { display: flex; }
}
@media (min-width: 781px) {
  body { padding-bottom: 0; }
}
