/* =========================================================
   Saúde Verde - Sandra Fitoterapeuta
   Estilo: natural, feminino, sofisticado, calmo, premium.
   ========================================================= */

:root {
  /* Paleta */
  --sage: #7d9471;
  --sage-dark: #5c7350;
  --sage-light: #aebf9c;
  --olive: #c3caa1;
  --beige: #f6f0e2;
  --beige-dark: #ece1c9;
  --white: #fffdf8;
  --gold: #c6a05f;
  --gold-light: #e6d3a4;
  --earth: #a9805c;
  --text-dark: #33362a;
  --text-muted: #6d715f;

  /* Tipografia */
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-accent: 'Cormorant Garamond', serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;

  /* Efeitos */
  --shadow-soft: 0 14px 34px rgba(61, 71, 46, 0.09);
  --shadow-lift: 0 20px 48px rgba(61, 71, 46, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; color: var(--text-dark); }
p { line-height: 1.7; margin: 0 0 1em; color: var(--text-muted); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Textura de papel sutil no fundo geral */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(198, 160, 95, 0.05), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(125, 148, 113, 0.07), transparent 45%),
    radial-gradient(circle at 30% 90%, rgba(125, 148, 113, 0.06), transparent 40%);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-outline {
  background: transparent;
  color: var(--sage-dark);
  border: 1.5px solid var(--sage);
}
.btn-outline:hover { background: var(--sage); color: var(--white); transform: translateY(-2px); }
.btn-small { padding: 10px 22px; font-size: 0.85rem; }
.btn-header { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255, 253, 248, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(125, 148, 113, 0.15);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 8px 24px rgba(61,71,46,0.08); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sage-dark);
}

.main-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--beige-dark);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.main-nav.open { max-height: 420px; }
.main-nav ul { display: flex; flex-direction: column; padding: 10px 24px 20px; }
.main-nav a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(125,148,113,0.1);
}
.main-nav a:hover { color: var(--sage-dark); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--sage-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 70px;
  background: linear-gradient(180deg, var(--beige) 0%, var(--white) 100%);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 46px;
}
.hero-copy { max-width: 620px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}
.hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  max-width: 14ch;
}
.hero-lead { font-size: 1.08rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badges span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--sage-dark);
  background: var(--beige-dark);
  padding: 7px 16px;
  border-radius: 999px;
}

/* ---------- Vídeos de fundo (seções) ---------- */
.bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.bg-video-el {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.bg-video-tint { position: absolute; inset: 0; }
.bg-video-tint-hero { background: linear-gradient(100deg, rgba(246,240,226,0.94) 0%, rgba(246,240,226,0.75) 38%, rgba(246,240,226,0.15) 62%, rgba(246,240,226,0.05) 100%); }
.bg-video-tint-beige { background: rgba(246,240,226,0.88); }
.bg-video-tint-white { background: rgba(255,253,248,0.9); }
.bg-video-tint-dark { background: rgba(28,33,20,0.55); }

.hero > .container,
.section-about > .container,
.section-benefits > .container,
.section-process > .container,
.section-testimonials > .container,
.site-footer > .container {
  position: relative;
  z-index: 1;
}
.hero, .section-about, .section-benefits, .section-process, .section-testimonials, .site-footer { position: relative; }

/* ---------- Vídeo em destaque emoldurado (Sobre / FAQ / Contato) ---------- */
.media-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}
.media-video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  position: relative;
  z-index: 2;
  background: var(--beige-dark);
}
.frame-accent {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}
.frame-accent-1 { width: 130px; height: 130px; background: var(--gold-light); opacity: 0.55; top: -30px; right: -30px; }
.frame-accent-2 { width: 90px; height: 90px; border: 2px solid var(--sage-light); bottom: -24px; left: -24px; }

/* ---------- Vídeo miniatura dentro de cards ---------- */
.card-video-thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--beige-dark);
}
.card-video-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-video-thumb-wide { aspect-ratio: 16 / 10; }

.scroll-cue {
  position: absolute;
  bottom: 18px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--sage);
  border-radius: 999px;
  display: none;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 2px;
  background: var(--sage);
  animation: scrollcue 1.8s infinite;
}
@keyframes scrollcue { 0% { opacity:1; top:8px;} 70% {opacity:0; top:22px;} 100%{opacity:0; top:22px;} }

/* ---------- Sections general ---------- */
.section { padding: 78px 0; position: relative; z-index: 1; }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.section-lead { font-size: 1.02rem; }

.section-about { background: var(--sage-dark); overflow: hidden; min-height: 100vh; display: flex; align-items: center; padding: 100px 0; }
.section-benefits { background: var(--beige); }
.section-treatments { background: var(--white); }
.section-products { background: var(--beige); }
.section-process { background: var(--white); }
.section-testimonials { background: var(--beige); }
.section-faq { background: var(--white); }
.section-contact { background: var(--beige); }

/* ---------- Sobre (vídeo em tela cheia com wipe circular no scroll) ---------- */
.about-bg {
  clip-path: circle(0% at 50% 45%);
  will-change: clip-path;
}
.bg-video-tint-about {
  background: linear-gradient(180deg, rgba(20,26,14,0.45) 0%, rgba(20,26,14,0.35) 45%, rgba(20,26,14,0.72) 100%);
}
.about-inner { position: relative; z-index: 1; display: flex; justify-content: center; }
.about-copy {
  max-width: 640px;
  text-align: center;
  color: var(--white);
}
.about-copy .eyebrow { color: var(--gold-light); }
.about-copy h2 { color: var(--white); }
.about-copy p { color: rgba(255,253,248,0.92); }
.about-card {
  margin: 28px auto 0;
  max-width: 460px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: var(--shadow-lift);
}
.about-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-weight: 600; color: var(--text-dark); }
.about-list li svg { flex-shrink: 0; }

/* ---------- Benefícios ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.benefit-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.benefit-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--beige);
  color: var(--sage-dark);
  margin-bottom: 16px;
}
.benefit-icon svg { width: 26px; height: 26px; }
.benefit-card h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; margin: 0; }

/* ---------- Tratamentos ---------- */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.treatment-card {
  background: var(--beige);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  border-top: 3px solid var(--gold);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.treatment-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.treatment-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--white);
  color: var(--sage-dark);
  margin-bottom: 18px;
}
.treatment-icon svg { width: 24px; height: 24px; }
.treatment-card h3 { font-size: 1.2rem; }

/* ---------- Produtos ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.product-image {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, var(--beige-dark), var(--olive));
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-dark);
  margin-bottom: 18px;
  overflow: hidden;
}
.product-image-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card h3 { font-size: 1.1rem; }
.product-card .btn { margin-top: 10px; }
.products-notice {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 34px;
  font-style: italic;
  font-family: var(--font-accent);
}

/* ---------- Como funciona ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 26px;
  counter-reset: step;
}
.process-step { text-align: center; padding: 10px; }
.process-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; }

/* ---------- Depoimentos ---------- */
.rating-badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 16px;
  background: var(--white);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-soft);
}
.stars { color: var(--gold); letter-spacing: 2px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  margin: 0;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.testimonial-card p {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-dark);
}
.testimonial-card footer { font-size: 0.82rem; color: var(--sage-dark); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(100deg, rgba(92,115,80,0.94) 0%, rgba(92,115,80,0.8) 45%, rgba(125,148,113,0.55) 100%),
    url("../images/cta-band.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-band-inner h2 { color: var(--white); }
.cta-band-inner p { color: rgba(255,255,255,0.9); max-width: 52ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: var(--white); color: var(--sage-dark); margin-top: 12px; }
.cta-band .btn-primary:hover { background: var(--gold-light); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 36px; align-items: start; }
.faq-media { display: none; }
.faq-media .media-frame { max-width: 320px; }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--beige-dark); }
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  background: none; border: none;
  padding: 20px 4px;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}
.faq-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--sage-dark);
  border-radius: 2px; transition: transform 0.3s ease;
}
.faq-icon::before { width: 16px; height: 2px; top: 7px; left: 0; }
.faq-icon::after { width: 2px; height: 16px; top: 0; left: 7px; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer p { padding-bottom: 20px; margin: 0; }
.faq-item.open .faq-answer { max-height: 260px; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; gap: 40px; align-items: start; }
.contact-info { margin: 26px 0 30px; display: flex; flex-direction: column; gap: 18px; }
.contact-info li { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); color: var(--sage-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: var(--shadow-soft);
}
.contact-info strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.contact-info a, .contact-info span { font-weight: 700; color: var(--text-dark); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contact-map .media-frame { max-width: 100%; }
.contact-map .media-video { aspect-ratio: 4/3; }
.contact-map-caption {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.85rem;
  font-style: italic;
  font-family: var(--font-accent);
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.site-footer { background: #2c3324; color: var(--beige); padding: 54px 0 26px; }
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px;
  padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { color: rgba(246,240,226,0.75); margin: 4px 0 0; }
.footer-reg { font-size: 0.8rem; letter-spacing: 0.03em; }
.footer-links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.footer-links a { font-weight: 600; color: var(--olive); }
.footer-links a:hover { color: var(--gold-light); }
.footer-disclaimer {
  font-size: 0.78rem; color: rgba(246,240,226,0.65);
  max-width: 70ch; margin: 24px 0 10px; line-height: 1.6;
}
.footer-copy { font-size: 0.78rem; color: rgba(246,240,226,0.5); margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  z-index: 90;
  animation: pulse-wa 2.6s infinite;
}
.whatsapp-float:hover { transform: scale(1.06); }
@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5), 0 10px 26px rgba(37,211,102,0.45); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 10px 26px rgba(37,211,102,0.45); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 26px rgba(37,211,102,0.45); }
}

/* =========================================================
   Responsivo — tablet (>=640px)
   ========================================================= */
@media (min-width: 640px) {
  .hero-actions { flex-wrap: nowrap; }
}

/* =========================================================
   Responsivo — desktop pequeno (>=860px)
   ========================================================= */
@media (min-width: 860px) {
  .btn-header { display: inline-flex; }
  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    max-height: none;
    background: none;
    border: none;
    overflow: visible;
  }
  .main-nav ul { flex-direction: row; padding: 0; gap: 8px; }
  .main-nav a { border-bottom: none; padding: 8px 14px; border-radius: 999px; }
  .main-nav a:hover { background: var(--beige); }

  .scroll-cue { display: block; }

  .contact-grid { grid-template-columns: 1.1fr 0.9fr; }
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
  .faq-media { display: block; }
}

@media (min-width: 1024px) {
  .section { padding: 100px 0; }
  .section-about { padding: 140px 0; }
  .hero { padding: calc(var(--header-h) + 80px) 0 100px; }
}
