/* =====================================================================
   Dra. Valentina Rezende — Pediatria Integrativa e Antroposófica
   Direção: "Orgânico Botânico" — natureza como sistema gráfico recorrente.
   Assinatura: molduras e divisores em line-art botânico que crescem das bordas.
   ===================================================================== */

:root {
  /* --- paleta (hex exatos da ficha) --- */
  --primary:   #5C7A5A;   /* verde-folha (marca) */
  --primary-d: #44613f;   /* verde mais escuro p/ hover */
  --secondary: #A7BDA0;   /* sálvia */
  --accent:    #D6A95C;   /* ocre quente */
  --accent-d:  #b98e42;
  --accent-text: #7e5d22; /* ocre escuro p/ TEXTO pequeno sobre claro (AA) */
  --bg:        #FBF8F0;   /* creme orgânico */
  --bg-warm:   #F4EEDF;   /* linho/taupe sutil */
  --text:      #3A4A38;   /* verde escuro (corpo, AA sobre creme) */
  --text-soft: #5b6a58;
  --line:      #E4DCC8;   /* divisórias */
  --white:     #FFFCF6;

  /* --- tipografia --- */
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "Mulish", system-ui, sans-serif;

  /* --- espaçamento fluido --- */
  --space-section: clamp(4.5rem, 9vw, 8.5rem);
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --maxw: 1200px;

  --radius: 14px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px -28px rgba(58, 74, 56, 0.45);
  --shadow-soft: 0 10px 30px -20px rgba(58, 74, 56, 0.4);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  /* textura sutil de papel + aquarela leve de fundo */
  background-image:
    radial-gradient(820px 620px at 12% -4%, rgba(167, 189, 160, 0.30), transparent 60%),
    radial-gradient(680px 560px at 102% 22%, rgba(214, 169, 92, 0.16), transparent 58%),
    radial-gradient(900px 720px at 50% 118%, rgba(92, 122, 90, 0.12), transparent 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-attachment: fixed, fixed, fixed, scroll;
  line-height: 1.65;
  font-weight: 400;
  font-size: 1.0625rem;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ---------- tipografia base ---------- */
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--primary-d);
}

.section-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section-inner--narrow { max-width: 760px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 1rem;
}
.eyebrow--light { color: #e7cf95; }
.eyebrow-leaf { width: 18px; height: 18px; color: var(--accent); }
.eyebrow-leaf svg, .badge-leaf svg, .tag-leaf svg, .cred-mark svg { width: 100%; height: 100%; }

.section-title {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
}
.section-title em { color: var(--accent-text); font-weight: 500; }
.section-lead {
  margin-top: 1.1rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-soft);
  max-width: 56ch;
}
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 60ch; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  --b: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.6rem;
  min-height: 44px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn--lg { padding: 1rem 2rem; font-size: 1.02rem; }
.btn--xl { padding: 1.15rem 2.6rem; font-size: 1.1rem; }

.btn--primary {
  background: var(--accent);
  color: #3a2f12;
  box-shadow: 0 12px 26px -14px rgba(214, 169, 92, 0.85);
}
.btn--primary:hover { background: var(--accent-d); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--primary-d);
  border-color: var(--secondary);
}
.btn--ghost:hover { background: var(--bg-warm); border-color: var(--primary); transform: translateY(-2px); }

.btn--whatsapp {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 16px 34px -16px rgba(92, 122, 90, 0.9);
}
.btn--whatsapp:hover { background: var(--primary-d); transform: translateY(-2px); }
.wa-icon { width: 22px; height: 22px; fill: currentColor; }

/* =====================================================================
   NAV
   ===================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 240, 0.82);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0.7rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.7rem; }
.nav-logo-mark {
  width: 26px; height: 48px;
  color: var(--primary);
  flex: none;
}
.nav-logo-mark svg { width: 100%; height: 100%; }
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  color: var(--primary-d);
  display: flex;
  flex-direction: column;
}
.nav-logo-sub {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: 0.28rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  transition: color 0.2s;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: var(--primary-d); }
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--primary-d);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   BOTANICAL FRAME SYSTEM (a assinatura)
   Ramos em line-art que crescem das bordas das seções.
   ===================================================================== */
.botanical-frame {
  position: absolute;
  width: clamp(150px, 22vw, 280px);
  height: clamp(150px, 22vw, 280px);
  color: var(--secondary);
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}
.botanical-frame--tl { top: -6px; left: -6px; }
.botanical-frame--br { bottom: -6px; right: -6px; }

.edge-branch {
  position: absolute;
  top: 8%;
  width: clamp(80px, 9vw, 130px);
  height: 88%;
  color: var(--secondary);
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
}
.edge-branch--left { left: -10px; }
.edge-branch--right { right: -10px; }

/* desenho dos ramos no scroll: stroke-dasharray animado */
.branch path {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 2.4s var(--ease);
}
.branch use {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 0 50%;
  transition: opacity 0.9s ease 0.5s;
}
.reveal.in-view .branch path,
section.in-view .branch path { stroke-dashoffset: 0; }
section.in-view .branch use { opacity: 1; }
.hero.in-view .branch path,
.agendamento.in-view .branch path { stroke-dashoffset: 0; }
.hero.in-view .branch use,
.agendamento.in-view .branch use { opacity: 1; }

/* folhas que balançam suavemente */
@keyframes sway {
  0%, 100% { transform: rotate(-1.2deg); }
  50%      { transform: rotate(1.2deg); }
}

/* divisor em formato de folha/onda */
.leaf-divider { position: relative; line-height: 0; margin-top: clamp(2rem, 5vw, 4rem); }
.leaf-divider svg { width: 100%; height: clamp(40px, 6vw, 80px); display: block; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  padding-top: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-soft);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.6rem;
}
.badge-leaf { width: 16px; height: 16px; color: var(--primary); }

.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 4.7rem);
  margin-bottom: 1.4rem;
}
.hero-sub {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--text-soft);
  max-width: 46ch;
  margin-bottom: 2rem;
  font-weight: 400;
}
.hero-sub em { color: var(--primary-d); font-family: var(--font-head); font-size: 1.12em; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2rem; }

.hero-cred {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-soft);
  max-width: 48ch;
  border-left: 2px solid var(--accent);
  padding-left: 0.9rem;
}
.cred-mark { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 2px; }

/* visual */
.hero-visual { position: relative; }
.hero-visual-frame {
  position: relative;
  border-radius: 220px 220px 28px 28px / 260px 260px 28px 28px; /* arco orgânico no topo */
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-warm);
}
.hero-visual-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 72 / 86; }
.hero-quote {
  margin-top: 1.4rem;
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.35;
  color: var(--primary-d);
  text-align: center;
  position: relative;
  padding: 0 1.5rem;
}
.quote-mark {
  font-family: var(--font-head);
  font-size: 2.6em;
  color: var(--accent);
  line-height: 0;
  vertical-align: -0.35em;
  margin-right: 0.1em;
}
.hero-visual-sprig {
  position: absolute;
  top: -28px; right: -14px;
  width: 54px; height: 108px;
  color: var(--primary);
  opacity: 0.85;
  animation: sway 7s ease-in-out infinite;
  transform-origin: bottom center;
}

/* =====================================================================
   SOBRE
   ===================================================================== */
.sobre { padding-block: var(--space-section); position: relative; }
.sobre-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.sobre-photo { position: relative; }
.sobre-photo-frame {
  border-radius: 28px 28px 200px 200px / 28px 28px 230px 230px; /* arco orgânico embaixo */
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-warm);
}
.sobre-photo-frame img { width: 100%; object-fit: cover; aspect-ratio: 64 / 78; }
.sobre-photo-sprig {
  position: absolute;
  bottom: -22px; left: -22px;
  width: 58px; height: 116px;
  color: var(--accent);
  opacity: 0.9;
  transform: rotate(180deg);
  animation: sway 8s ease-in-out infinite;
  transform-origin: top center;
}
.sobre-text p { margin-bottom: 1.1rem; color: var(--text); }
.sobre-text p strong { color: var(--primary-d); font-weight: 700; }

.cred-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}
.cred-tags li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary-d);
}
.tag-leaf { width: 15px; height: 15px; color: var(--accent); }

/* =====================================================================
   O CUIDADO (cards)
   ===================================================================== */
.cuidado { padding-block: var(--space-section); position: relative; background: var(--bg-warm); }
.cuidado .section-inner { position: relative; z-index: 2; }

.cuidado-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
}
.cuidado-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
}
.cuidado-card::before {
  /* mancha de aquarela sutil no canto */
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 130px; height: 130px;
  background: radial-gradient(circle, rgba(167,189,160,0.35), transparent 70%);
  border-radius: 50%;
}
.cuidado-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--secondary);
}
.card-leaf {
  width: 30px; height: 30px;
  color: var(--accent);
  margin-bottom: 1rem;
  position: relative;
}
.card-voice {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--accent-text);
  margin-bottom: 0.7rem;
  line-height: 1.35;
  position: relative;
}
.cuidado-card h3 { font-size: 1.5rem; margin-bottom: 0.55rem; position: relative; }
.cuidado-card p:last-child { color: var(--text-soft); font-size: 0.98rem; position: relative; }

/* =====================================================================
   PROCESSO (timeline)
   ===================================================================== */
.processo { padding-block: var(--space-section); position: relative; }
.processo .section-inner { position: relative; z-index: 2; }

.timeline {
  list-style: none;
  position: relative;
  max-width: 760px;
  margin-inline: auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 27px; top: 12px; bottom: 12px;
  width: 2px;
  background: repeating-linear-gradient(var(--secondary) 0 8px, transparent 8px 16px);
}
.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.4rem;
  padding-bottom: 2.6rem;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-num {
  position: relative;
  z-index: 1;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--accent);
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent-text);
}
.timeline-body { padding-top: 0.4rem; }
.timeline-body h3 { font-size: 1.55rem; margin-bottom: 0.4rem; }
.timeline-body p { color: var(--text-soft); }

/* =====================================================================
   DEPOIMENTOS
   ===================================================================== */
.depoimentos { padding-block: var(--space-section); background: var(--bg-warm); }
.depo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
}
.depo-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem 1.9rem 1.9rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.depo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.depo-sprig {
  position: absolute;
  top: -16px; right: 12px;
  width: 40px; height: 80px;
  color: var(--secondary);
  opacity: 0.7;
}
.depo-card blockquote p {
  font-size: 1.04rem;
  color: var(--text);
  margin-bottom: 1.4rem;
  position: relative;
}
.depo-card blockquote strong { color: var(--primary-d); }
.depo-card blockquote em { color: var(--accent-text); font-family: var(--font-head); font-size: 1.1em; font-style: italic; }
.depo-card figcaption { display: flex; align-items: center; gap: 0.9rem; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.depo-avatar {
  width: 46px; height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}
.depo-meta { display: flex; flex-direction: column; font-size: 0.9rem; }
.depo-meta strong { color: var(--primary-d); font-size: 0.98rem; }
.depo-meta span { color: var(--text-soft); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { padding-block: var(--space-section); position: relative; }
.faq .section-inner { position: relative; z-index: 2; }
.faq-list { display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item[open] { border-color: var(--secondary); box-shadow: var(--shadow-soft); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--primary-d); }
.faq-icon {
  position: relative;
  width: 22px; height: 22px;
  flex: none;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.faq-icon::before { top: 10px; left: 0; width: 22px; height: 2px; }
.faq-icon::after  { top: 0; left: 10px; width: 2px; height: 22px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-answer {
  padding: 0 1.4rem 1.4rem;
  color: var(--text-soft);
}
.faq-answer p { max-width: 64ch; }

/* =====================================================================
   AGENDAMENTO / CTA
   ===================================================================== */
.agendamento {
  position: relative;
  padding-block: var(--space-section);
  background:
    radial-gradient(600px 400px at 20% 10%, rgba(167,189,160,0.18), transparent 60%),
    var(--primary);
  color: #eef3ec;
  overflow: hidden;
}
.agendamento .botanical-frame { color: rgba(214,169,92,0.5); }
.agendamento-inner { position: relative; z-index: 2; }
.agendamento .section-title { color: var(--white); }
.agendamento .section-title em { color: #e7cf95; }
.agendamento-head { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.agendamento-lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: #d8e2d4; margin-top: 1.1rem; }

.invest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.3rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.invest-card {
  position: relative;
  background: rgba(251, 248, 240, 0.07);
  border: 1px solid rgba(231, 207, 149, 0.35);
  border-radius: var(--radius-lg);
  padding: 2rem 1.7rem;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.invest-card:hover { transform: translateY(-5px); background: rgba(251, 248, 240, 0.12); }
.invest-leaf {
  display: inline-block;
  width: 28px; height: 56px;
  color: #e7cf95;
  margin-bottom: 0.8rem;
}
.invest-leaf svg { width: 100%; height: 100%; }
.invest-card h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 0.6rem; }
.invest-card p { color: #d8e2d4; font-size: 0.96rem; }
.invest-note {
  margin-top: 1rem;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.25rem !important;
  color: #e7cf95 !important;
}

.agendamento-cta { text-align: center; }
.agendamento-loc {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  font-size: 0.92rem;
  color: #cdd9c8;
}
.agendamento-loc .cred-mark { color: #e7cf95; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--text); color: #cdd6c9; padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: 2.5rem;
}
.footer-mark { display: inline-block; width: 24px; height: 48px; color: var(--secondary); }
.footer-mark svg { width: 100%; height: 100%; }
.footer-name { font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; color: var(--white); margin: 0.5rem 0 0.4rem; }
.footer-tag { font-size: 0.92rem; color: #aebaa9; line-height: 1.5; }
.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.footer-nav ul, .footer-contact ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a, .footer-contact a, .footer-contact li { font-size: 0.95rem; color: #cdd6c9; transition: color 0.2s; }
.footer-nav a:hover, .footer-contact a:hover { color: #e7cf95; }

.footer-bottom {
  border-top: 1px solid rgba(167,189,160,0.2);
  padding: 1.4rem var(--gutter);
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: #98a594;
}
.footer-bottom a { color: var(--secondary); }
.footer-bottom a:hover { color: #e7cf95; }

/* =====================================================================
   WHATSAPP FAB
   ===================================================================== */
.wa-fab {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 14px 30px -10px rgba(92,122,90,0.85);
  transition: transform 0.25s var(--ease), background-color 0.25s;
  animation: fab-pulse 3.5s ease-in-out infinite;
}
.wa-fab svg { width: 30px; height: 30px; fill: currentColor; }
.wa-fab:hover { transform: scale(1.08); background: var(--primary-d); }
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 14px 30px -10px rgba(92,122,90,0.85), 0 0 0 0 rgba(214,169,92,0.45); }
  50%      { box-shadow: 0 14px 30px -10px rgba(92,122,90,0.85), 0 0 0 12px rgba(214,169,92,0); }
}

/* =====================================================================
   REVEAL (IntersectionObserver)
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin-inline: auto; }
  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-cred { margin-inline: auto; text-align: left; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-photo { max-width: 440px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 1.2rem var(--gutter) 1.8rem;
    gap: 1.1rem;
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1.05rem; padding: 0.4rem 0; }
  .nav-cta { text-align: center; }
  .nav-logo-text { font-size: 1.15rem; }
  .edge-branch { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 420px) {
  body { font-size: 1rem; }
  .botanical-frame { width: 130px; height: 130px; opacity: 0.7; }
}

/* =====================================================================
   MOTION SAFETY
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .branch path { stroke-dashoffset: 0; }
  .branch use { opacity: 1; }
}
