/* =========================================================
   Dra. Giovana — Landing page
   Paleta: verde profundo (seriedade) + creme e sálvia (acolhimento)
   ========================================================= */

:root {
  --green-950: #16302c;
  --green-900: #1f3d38;
  --green-700: #2f5d55;
  --sage-400: #8fa99b;
  --sage-200: #cfdcd3;
  --sage-100: #e7eee9;
  --cream: #f8f5ef;
  --sand: #f0eadf;
  --clay: #b5755a;
  --white: #ffffff;

  --ink: #1b2a27;
  --muted: #5a6a66;
  --line: rgba(27, 42, 39, 0.12);

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(22, 48, 44, 0.06), 0 2px 8px rgba(22, 48, 44, 0.04);
  --shadow: 0 10px 30px -12px rgba(22, 48, 44, 0.22);
  --shadow-lg: 0 24px 60px -20px rgba(22, 48, 44, 0.35);

  --header-h: 76px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  color: var(--green-950);
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

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

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--green-900);
  color: var(--cream);
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 6px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--clay);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 34em;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--green-900);
  color: var(--cream);
  box-shadow: var(--shadow);
}
.btn--primary:hover { background: var(--green-950); box-shadow: var(--shadow-lg); }

.btn--ghost {
  background: transparent;
  color: var(--green-900);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--green-900); background: rgba(31, 61, 56, 0.04); }

.btn--outline {
  background: transparent;
  color: var(--green-900);
  border-color: var(--green-900);
}
.btn--outline:hover { background: var(--green-900); color: var(--cream); }

.btn--light {
  background: var(--cream);
  color: var(--green-950);
}
.btn--light:hover { background: var(--white); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.5); }

.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(248, 245, 239, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand__mark {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-family: var(--font-serif); font-weight: 500; font-size: 1.15rem; color: var(--green-950); }
.brand__text small { font-size: 0.74rem; color: var(--muted); letter-spacing: 0.02em; }

.nav { display: flex; gap: 32px; }
.nav a {
  position: relative;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav a:hover { color: var(--green-950); }
.nav a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 760px;
  max-height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sage-100) 0%, rgba(231, 238, 233, 0) 70%);
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero h1 em {
  font-style: italic;
  color: var(--green-700);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 2rem 0 2.5rem;
}

.trust {
  list-style: none;
  padding: 1.5rem 0 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
}
.trust li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--green-950);
}
.trust li span { font-weight: 400; color: var(--muted); }
.trust .icon { color: var(--clay); margin-top: 2px; }

.hero__visual { position: relative; }

.hero__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.35), transparent 50%),
    linear-gradient(160deg, var(--sage-200) 0%, var(--sage-400) 55%, var(--green-700) 100%);
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
}
.hero__portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__monogram {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(8rem, 16vw, 12rem);
  color: rgba(248, 245, 239, 0.75);
  line-height: 1;
}

.floating-card {
  position: absolute;
  left: 0;
  bottom: 12%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.floating-card strong { display: block; font-size: 0.92rem; color: var(--green-950); }
.floating-card small { display: block; font-size: 0.8rem; color: var(--muted); }
.floating-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3aa46b;
  box-shadow: 0 0 0 4px rgba(58, 164, 107, 0.18);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Seções ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tinted { background: var(--sand); }

.section__head {
  max-width: 680px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  text-align: center;
}
.section__head p:not(.eyebrow) { color: var(--muted); font-size: 1.07rem; }
.section__head--left { text-align: left; margin: 0; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--sage-200);
}
.card h3 { margin-bottom: 0.4em; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--sage-100);
  color: var(--green-700);
}
.card__icon .icon { width: 24px; height: 24px; }

.notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 32px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: rgba(181, 117, 90, 0.09);
  border: 1px solid rgba(181, 117, 90, 0.28);
}
.notice .icon { width: 24px; height: 24px; color: var(--clay); margin-top: 2px; }
.notice p { margin: 0; font-size: 0.95rem; }
.notice a { font-weight: 700; color: var(--green-950); }

/* ---------- Pilares ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pillar {
  padding: 32px 26px;
  background: var(--cream);
  border-radius: var(--radius);
  border-top: 3px solid var(--green-700);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar__num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-style: italic;
  line-height: 1;
  color: var(--clay);
}
.pillar p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* ---------- Passos ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0 0 clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step {
  position: relative;
  counter-increment: step;
  padding-top: 64px;
}
.step::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  z-index: 1;
}
.step::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 44px;
  right: -28px;
  height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--sage-400) 0 6px, transparent 6px 12px);
}
.step:last-child::after { display: none; }
.step h3 { margin-bottom: 0.35em; }
.step p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* ---------- Modalidades ---------- */
.modes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.mode {
  display: flex;
  flex-direction: column;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mode:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mode__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.mode__head .card__icon { margin: 0; }
.mode__head h3 { margin: 0; font-size: 1.5rem; }
.mode .btn { margin-top: auto; }

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.checklist li {
  position: relative;
  padding: 8px 0 8px 32px;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--green-700);
  border-bottom: 2px solid var(--green-700);
  transform: rotate(-45deg);
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.faq .section__head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq .section__head .btn { margin-top: 0.5rem; }

.faq__list { display: grid; gap: 12px; }

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
details[open] { border-color: var(--sage-200); box-shadow: var(--shadow-sm); }

summary {
  position: relative;
  padding: 20px 56px 20px 24px;
  font-weight: 600;
  color: var(--green-950);
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--green-700);
  border-bottom: 2px solid var(--green-700);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
summary:hover { color: var(--green-700); }

details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

/* ---------- CTA final ---------- */
.cta {
  position: relative;
  padding: clamp(72px, 10vw, 120px) 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(143, 169, 155, 0.25), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(181, 117, 90, 0.18), transparent 40%),
    var(--green-900);
  color: var(--cream);
  text-align: center;
  overflow: hidden;
}
.cta__inner { max-width: 760px; }
.cta__mark { display: block; width: 96px; height: 96px; margin: 0 auto 1.5rem; opacity: 0.9; }
.cta h2 { color: var(--cream); }
.cta p { color: var(--sage-200); font-size: 1.1rem; margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--green-950);
  color: var(--sage-200);
  padding: 56px 0 0;
  font-size: 0.92rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.brand--light .brand__text strong { color: var(--cream); }
.brand--light .brand__text small { color: var(--sage-400); }
.footer__small { margin-top: 16px; max-width: 34em; color: var(--sage-400); }
.footer__col { display: flex; flex-direction: column; gap: 6px; }
.footer__col strong { color: var(--cream); font-weight: 600; margin-bottom: 4px; }
.footer a { color: var(--cream); }
.footer__bottom {
  padding-top: 22px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(207, 220, 211, 0.15);
}
.footer__bottom p { margin: 0; font-size: 0.82rem; color: var(--sage-400); }

/* ---------- Botão flutuante ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--green-900);
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); background: var(--green-950); }
.wa-float .icon { width: 22px; height: 22px; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--green-700);
  animation: pulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step:nth-child(2)::after { display: none; }
}

@media (max-width: 900px) {
  .nav { display: none; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 340px; margin: 0 auto; width: 100%; }
  .hero__portrait { margin: 0 auto; max-width: 300px; }
  .floating-card { left: -8px; bottom: 8%; }

  .faq { grid-template-columns: 1fr; }
  .faq .section__head { position: static; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__inner > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .container { padding: 0 20px; }

  .brand__text small { display: none; }
  .brand__mark { width: 44px; height: 44px; }

  .hero__visual { max-width: 260px; }
  .hero__actions .btn { width: 100%; }
  .trust { grid-template-columns: 1fr; gap: 14px; }

  .pillars,
  .steps,
  .modes { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .step { padding: 0 0 0 64px; min-height: 44px; }

  .card,
  .mode { padding: 26px 22px; }

  .notice { flex-direction: column; gap: 10px; }

  .footer__inner { grid-template-columns: 1fr; }

  .wa-float { right: 16px; bottom: 16px; padding: 14px; }
  .wa-float span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
