/* =========================================================
   NUTRI LEVEZA — style.css
   Estética: leve & clean · branco + verde-folha + coral
   Abordagem: mobile-first, depois media queries
   ========================================================= */

/* ---------- Variáveis de tema ---------- */
:root {
  --bg:       #fbfdfb;   /* fundo principal (quase branco)  */
  --cloud:    #eef7f1;   /* superfície clara                */
  --mint:     #def0e6;   /* tom mais saturado               */
  --green:    #279f67;   /* acento principal (verde-folha)  */
  --green-dk: #1d7d50;
  --coral:    #f3855f;   /* acento quente secundário        */
  --ink:      #1f2d26;   /* texto principal                 */
  --muted:    #5e6f66;   /* texto secundário                */
  --line:     rgba(31, 45, 38, 0.10);

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  --radius: 22px;
  --max:    1160px;
  --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: 400;
  background: var(--bg);
  color: var(--ink);
  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: 72px 0; }

.section-head { text-align: center; max-width: 560px; margin: 0 auto 44px; }
.section-eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 7vw, 3.2rem);
  line-height: 1.1;
}
.section-sub { color: var(--muted); margin-top: 14px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 14px 28px;
  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-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(39, 159, 103, 0.28);
}
.btn-green:hover { background: var(--green-dk); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(29, 125, 80, 0.36); }
.btn-soft {
  background: var(--cloud);
  color: var(--green-dk);
}
.btn-soft:hover { background: var(--mint); transform: translateY(-2px); }
.btn-block { width: 100%; padding: 15px; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.35s, padding 0.35s, box-shadow 0.35s;
}
.site-header.scrolled {
  background: rgba(251, 253, 251, 0.9);
  backdrop-filter: blur(12px);
  padding: 11px 0;
  box-shadow: 0 4px 20px rgba(31, 45, 38, 0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 9px; }
.brand-leaf { font-size: 1.3rem; }
.brand-name { font-family: var(--font-display); font-size: 1.5rem; }
.brand-name em { font-style: italic; color: var(--green); }

/* Navegação — gaveta no mobile */
.nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(78%, 320px);
  background: var(--bg);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 40px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.nav.open { transform: translateX(0); }
.nav-link { font-size: 1.05rem; font-weight: 500; transition: color 0.2s; }
.nav-link:hover { color: var(--green); }
.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(--ink); border-radius: 2px; 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 { padding: 128px 0 56px; }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.hero-eyebrow { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--green); margin-bottom: 18px; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 11vw, 4.6rem);
  line-height: 1.04;
}
.hero-title em { font-style: italic; color: var(--green); }
.hero-lead { color: var(--muted); max-width: 460px; margin: 22px 0 32px; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; color: var(--muted); font-size: 0.9rem; }
.hero-trust li { position: relative; padding-left: 22px; }
.hero-trust li::before { content: "🌿"; position: absolute; left: 0; font-size: 0.85rem; }

/* Visual do hero */
.hero-visual { position: relative; height: 340px; display: grid; place-items: center; }
.hero-blob {
  width: min(86%, 360px); aspect-ratio: 1;
  background: linear-gradient(150deg, var(--mint), var(--green));
  border-radius: 47% 53% 44% 56% / 54% 44% 56% 46%;
  box-shadow: 0 30px 60px rgba(39, 159, 103, 0.22);
  animation: morph 9s ease-in-out infinite;
}
@keyframes morph {
  0%, 100% { border-radius: 47% 53% 44% 56% / 54% 44% 56% 46%; }
  50%      { border-radius: 56% 44% 59% 41% / 43% 57% 43% 57%; }
}
.hero-emoji { position: absolute; font-size: 5rem; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.15)); }
.hero-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 8px 22px rgba(31, 45, 38, 0.1);
  white-space: nowrap;
}
.chip-1 { top: 18%; left: -4%; animation: float 4s ease-in-out infinite; }
.chip-2 { bottom: 16%; right: -2%; animation: float 4s ease-in-out infinite 1.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Serviços ---------- */
.services { background: var(--cloud); }
.service-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.service:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(31, 45, 38, 0.1); }
.service-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--cloud);
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.service-name { font-family: var(--font-display); font-size: 1.4rem; }
.service-desc { color: var(--muted); font-size: 0.96rem; margin: 6px 0 18px; }
.service-link {
  background: none; border: 0; cursor: pointer; padding: 0;
  font-family: var(--font-body); font-weight: 600;
  color: var(--green-dk); font-size: 0.92rem;
  transition: color 0.2s;
}
.service-link:hover { color: var(--coral); }

/* ---------- Depoimentos ---------- */
.testi-carousel { position: relative; max-width: 720px; margin: 0 auto; overflow: hidden; }
.testi-track { display: flex; transition: transform 0.5s var(--ease); }
.testi-slide {
  min-width: 100%;
  padding: 8px 8px 0;
}
.testi-slide blockquote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--ink);
  position: relative;
}
.testi-slide blockquote::before {
  content: "“"; position: absolute; top: 4px; left: 18px;
  font-family: var(--font-display); font-size: 3.4rem; color: var(--mint);
}
.testi-slide figcaption {
  display: flex; align-items: center; gap: 14px;
  margin-top: 22px; padding-left: 6px;
}
.testi-avatar {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green); color: #fff;
  font-family: var(--font-display); font-size: 1.2rem;
}
.testi-slide figcaption span:last-child { display: flex; flex-direction: column; font-size: 0.86rem; color: var(--muted); line-height: 1.35; }
.testi-slide figcaption strong { color: var(--ink); font-size: 0.98rem; }

.testi-arrow {
  position: absolute; top: 42%;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.6rem; line-height: 1; color: var(--green-dk);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(31,45,38,0.1);
  transition: background 0.2s, transform 0.2s;
}
.testi-arrow:hover { background: var(--cloud); transform: scale(1.06); }
.testi-arrow.prev { left: -4px; }
.testi-arrow.next { right: -4px; }

.testi-dots { display: flex; justify-content: center; gap: 9px; margin-top: 24px; }
.testi-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--mint); border: 0; cursor: pointer; padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.testi-dot.active { background: var(--green); transform: scale(1.3); }

/* ---------- Sobre ---------- */
.about-inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.about-visual { position: relative; display: grid; place-items: center; min-height: 280px; order: -1; }
.about-blob {
  width: min(74%, 300px); aspect-ratio: 1;
  background: linear-gradient(150deg, #fbd6c6, var(--coral));
  border-radius: 56% 44% 59% 41% / 43% 57% 43% 57%;
  box-shadow: 0 26px 56px rgba(243, 133, 95, 0.26);
  animation: morph 10s ease-in-out infinite;
}
.about-emoji { position: absolute; font-size: 4.5rem; }
.about-text p { color: var(--muted); margin-top: 16px; max-width: 520px; }
.about-text .section-title { margin-top: 12px; }
.about-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 32px; }
.about-stats strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--green); display: block; }
.about-stats span { color: var(--muted); font-size: 0.82rem; }

/* ---------- Captação de leads ---------- */
.lead-card {
  background: linear-gradient(155deg, var(--green), var(--green-dk));
  color: #fff;
  border-radius: 28px;
  padding: 38px 28px;
  display: grid; grid-template-columns: 1fr; gap: 30px;
  box-shadow: 0 30px 60px rgba(29, 125, 80, 0.28);
}
.lead-title { font-family: var(--font-display); font-size: clamp(1.9rem, 6vw, 2.6rem); line-height: 1.1; }
.lead-sub { color: rgba(255,255,255,0.88); margin-top: 12px; }
.lead-perks { margin-top: 20px; display: grid; gap: 9px; color: rgba(255,255,255,0.92); font-size: 0.94rem; }

.lead-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 22px;
  color: var(--ink);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select {
  width: 100%;
  font-family: var(--font-body); font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(39, 159, 103, 0.16);
}
.field .error { display: block; color: #c2452b; font-size: 0.8rem; margin-top: 5px; min-height: 1em; }
.field input.invalid { border-color: #c2452b; }
.form-feedback { margin-top: 12px; font-size: 0.9rem; font-weight: 600; min-height: 1.2em; }
.form-feedback.ok { color: var(--green-dk); }
.form-note { color: var(--muted); font-size: 0.78rem; margin-top: 10px; }

/* ---------- 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(--muted); font-size: 0.9rem; }
.footer-rights { color: var(--muted); 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; }
  .hero-blob, .about-blob, .hero-chip, .whatsapp-float { animation: none; }
  html { scroll-behavior: auto; }
}

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

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

/* Desktop */
@media (min-width: 940px) {
  .section { padding: 100px 0; }
  .hero { padding: 168px 0 80px; }
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 52px; }
  .hero-visual { height: 440px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .about-inner { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
  .about-visual { order: 0; }
  .lead-card { grid-template-columns: 1fr 1fr; gap: 44px; padding: 52px 48px; align-items: center; }

  .testi-arrow.prev { left: -22px; }
  .testi-arrow.next { right: -22px; }

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