/* styles.css — Bambuzeto · Calendário Luni-Solar de Bambu & Horta
   Identidade: eco/bambu + lua. Base clara on-brand (verde-bambu + tan), painel da roda noturno. */

:root {
  --bg: #faf8f2;
  --cream: #faf8f2;
  --paper: #ece2c8;       /* fundo "almanaque": papel entre as seções */
  --surface: #ffffff;
  --surface-2: #f4f1e8;
  --ink: #23301f;
  --ink-soft: #5b6b58;
  --bamboo: #3b7d34;
  --bamboo-light: #57a845;
  --leaf: #8bc34a;
  --tan: #c2a878;
  --tan-dark: #a98c5f;
  --gold: #e6c36a;
  --gold-deep: #c9a23f;
  --night: #16241c;
  --night-2: #0f1a14;
  --line: #e6e2d6;
  --shadow: 0 6px 24px rgba(28, 40, 28, 0.08);
  --sh-1: 0 6px 18px rgba(13,31,19,.10);
  --sh-2: 0 14px 36px rgba(13,31,19,.14);
  --sh-float: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 44px rgba(13,31,19,.22);
  --radius: 16px;
  --maxw: 1080px;
  --d-fast: 160ms;
  --d-mid: 240ms;

  /* Tipografia — almanaque celeste: Fraunces (display, orgânica) + Nunito Sans (corpo, legível) */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  /* Escala fluida (mín → máx via clamp), confortável no mobile */
  --fs-eyebrow: clamp(11px, 0.7rem + 0.2vw, 13px);
  --fs-body: clamp(15px, 0.95rem + 0.15vw, 17px);
  --fs-h3: clamp(17px, 1rem + 0.5vw, 20px);
  --fs-h2: clamp(22px, 1.2rem + 1vw, 30px);
  --fs-h1: clamp(26px, 1.4rem + 1.6vw, 38px);

  /* Curvas de easing com mais "punch" que as nativas (Emil/animations.dev) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);
  --focus: 0 0 0 3px rgba(230, 195, 106, 0.55);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* textura de grão bem sutil (almanaque) — fixa, NÃO cobre os heros/fotos (z abaixo deles) */
.bz-grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .02; mix-blend-mode: multiply;
  background-image: 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.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html, body { overflow-x: clip; }

h1, h2, h3, .hero h1, .hero .next-title { font-family: var(--font-display); letter-spacing: -0.01em; }
.hero h1, .hero .next-title, h2.section-title { text-wrap: balance; }
.hero-sub, .task-note, .fontes p { text-wrap: pretty; }

/* Foco visível consistente e alvos de toque sem atraso de duplo-toque */
a, button, select, [tabindex], .moon-grp { -webkit-tap-highlight-color: transparent; }
button, select, .moon-grp { touch-action: manipulation; }
:where(button, select, a):focus-visible { outline: none; box-shadow: var(--focus); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* ---------- Header (faixa orgânica, não-fixo) ---------- */
.site-header {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 58%, var(--surface-2) 100%);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--bamboo), var(--bamboo-light) 45%, var(--gold));
  opacity: .55;
}
/* arco lunar decorativo (ecoa a Roda) */
.header-arc {
  position: absolute; top: -130px; right: -50px; width: 270px; height: 270px;
  border-radius: 50%; border: 2px solid rgba(230, 195, 106, .28);
  box-shadow: inset 0 0 0 12px rgba(59, 125, 52, .05);
  pointer-events: none;
}
.header-inner {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  padding-top: 24px; padding-bottom: 24px; flex-wrap: wrap; position: relative; z-index: 1;
}
/* align-items:flex-start evita que o flex-column estique (distorça) a logo */
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
/* logo "trim" (sem padding transparente) → alinha o wordmark com o texto abaixo; ~30% maior */
.brand-logo { height: clamp(42px, 4.4vw, 52px); width: auto; display: block; flex: 0 0 auto; }
.brand-phrase {
  margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(15px, 1rem + 0.45vw, 19px); color: var(--bamboo); letter-spacing: .003em;
}
.settings { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); font-weight: 700; padding-left: 2px; }
.field select {
  appearance: none; -webkit-appearance: none;
  border: 1px solid var(--line); background-color: var(--surface); color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5l4 4 4-4' fill='none' stroke='%233b7d34' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  border-radius: 999px; padding: 9px 38px 9px 16px; font-size: 0.9rem; font-weight: 600; cursor: pointer;
  min-width: 170px; transition: border-color .15s ease;
}
@media (hover: hover) and (pointer: fine) { .field select:hover { border-color: var(--bamboo-light); } }

/* brand agora é <a> (link p/ início) — sem sublinhado */
a.brand { text-decoration: none; }
a.brand:hover .brand-phrase { color: var(--bamboo-light); }

/* ---------- Navegação principal (shell compartilhado) ---------- */
.site-nav { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-links > a {
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 0.92rem;
  padding: 8px 14px; border-radius: 999px; line-height: 1;
  transition: background .15s ease, color .15s ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav-links > a:hover { background: var(--surface-2); color: var(--bamboo); }
}
.nav-links > a[aria-current="page"] { color: var(--bamboo); background: #e3f2dd; }
.nav-session { display: inline-flex; align-items: center; margin-left: 4px; }
.nav-cta {
  text-decoration: none; font-weight: 800; font-size: 0.92rem; line-height: 1;
  padding: 9px 18px; border-radius: 999px; color: #fff; white-space: nowrap;
  background: linear-gradient(135deg, var(--bamboo) 0%, var(--bamboo-light) 100%);
  box-shadow: 0 4px 14px rgba(59,125,52,.22); transition: transform .12s var(--ease-out), box-shadow .15s ease;
}
@media (hover: hover) and (pointer: fine) { .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 7px 20px rgba(59,125,52,.3); } }
.nav-cta:active { transform: scale(.97); }
.nav-text { text-decoration: none; color: var(--ink-soft); font-weight: 700; font-size: 0.92rem; padding: 8px 10px; border-radius: 999px; }
.nav-text:hover { color: var(--bamboo); }
.nav-user { display: inline-flex; align-items: center; gap: 8px; }
.nav-user .nav-user-link {
  text-decoration: none; color: var(--bamboo); font-weight: 800; font-size: 0.92rem;
  padding: 8px 14px; border-radius: 999px; background: #e3f2dd; white-space: nowrap;
}
.nav-toggle {
  display: none; flex-direction: column; gap: 4px; width: 42px; height: 38px;
  align-items: center; justify-content: center; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* rodapé — links de páginas */
.foot-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 22px 0 0;
}
.foot-links a { color: var(--bamboo); text-decoration: none; font-weight: 700; font-size: 0.9rem; }
@media (hover: hover) and (pointer: fine) { .foot-links a:hover { text-decoration: underline; } }

@media (max-width: 860px) {
  .header-inner { align-items: center; }
  .site-nav { gap: 8px; }
  .nav-toggle { display: flex; order: 3; }
  .nav-links {
    display: none; order: 4; flex-basis: 100%; flex-direction: column; align-items: stretch;
    gap: 4px; margin-top: 10px;
  }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-session { width: 100%; }
  .nav-links > a { padding: 12px 14px; }
  .nav-cta { display: block; text-align: center; }
}

/* ---------- Sections ---------- */
section { margin: 28px 0; }
h2.section-title {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: .14em;
  color: var(--bamboo); margin: 0 0 14px; font-weight: 800;
}
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
}

/* ---------- Hero "Bambu agora" ---------- */
.hero {
  background: linear-gradient(135deg, #2f6e2b 0%, #3b7d34 55%, #57a845 100%);
  color: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.hero::after {
  content: '🎍'; position: absolute; right: -10px; bottom: -22px;
  font-size: 130px; opacity: .12; transform: rotate(-8deg);
}
.hero .today-line {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  font-size: 14px; opacity: .95; margin-bottom: 6px;
}
.hero .chip {
  background: rgba(255,255,255,.18); border-radius: 999px; padding: 3px 11px; font-size: 13px;
  backdrop-filter: blur(2px);
}
/* "Bambu agora" e "Próximo período" são cards-irmãos (lado a lado): título no MESMO tamanho. */
.hero h1, .hero .hero-title, .hero .next-title {
  font-size: var(--fs-h2); font-weight: 600; line-height: 1.12; margin: 8px 0 6px;
  font-family: var(--font-display); letter-spacing: -0.01em;
}
.hero .hero-sub { opacity: .94; font-size: var(--fs-body); margin: 0; }
/* "Próximo período": frase longa cabe numa linha no bloco largo (quebra natural só no mobile) */
.hero.next .hero-sub { max-width: none; }

/* Segundo bloco — planejamento do próximo período (tom noturno + dourado, contrasta com o "agora" verde) */
.hero.next {
  background: linear-gradient(135deg, #16241c 0%, #1f3327 55%, #2c4a39 100%);
  margin-top: 14px;
}
.hero.next::after { content: '⏭️'; font-size: 110px; opacity: .10; }
.hero.next .chip { background: rgba(230,195,106,.16); }

/* "Bambu agora" + "Próximo período": lado a lado (mesma altura) no desktop; empilhados no mobile. */
.dupla { display: grid; gap: 16px; margin: 28px 0; }
.dupla > section { margin: 0; }
.dupla .hero { margin: 0; }
@media (min-width: 761px) {
  .dupla { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .dupla > section { display: flex; }
  .dupla > section > .hero { flex: 1; }
}
.next-action {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: rgba(230,195,106,.12); border: 1px solid rgba(230,195,106,.45);
  border-radius: 12px; padding: 12px 14px; margin-top: 14px; font-size: 1rem;
}
.task {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px; padding: 14px; margin-top: 14px;
}
.task.window { background: rgba(255,255,255,.2); border-color: var(--gold); }
/* Título na própria linha; badges descem e quebram entre si — nunca espremem o nome. */
.task .task-head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-weight: 700; font-size: 16px; }
.task .task-head .task-title { display: inline-flex; align-items: center; gap: 8px; }
.task .task-head .task-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.task .task-note { font-size: 13.5px; opacity: .95; margin: 6px 0 0; }
/* Quando não há nada na janela da lua hoje, o card aponta para o "Próximo período". */
.hero .hero-point { margin: 14px 0 0; font-size: var(--fs-body); opacity: .9; }
/* Nota de condições locais (clima) no card "Prepare o corte". */
.hero.next .next-clima {
  margin: 14px 0 0; font-size: 13px; line-height: 1.5;
  background: rgba(230,195,106,.10); border: 1px solid rgba(230,195,106,.28);
  border-radius: 12px; padding: 11px 13px;
}
.hero.next .next-clima .muted { color: rgba(238,243,236,.66); opacity: 1; }
.badge {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  padding: 2px 8px; border-radius: 999px; white-space: nowrap;
}
.badge.window { background: var(--gold); color: #4a3a08; }
.badge.wait { background: rgba(255,255,255,.25); color: #fff; }
.badge.ev-empirico { background: #d8f0d2; color: #1f5418; }
.badge.ev-agronomico { background: #e7f0fa; color: #1d4e7a; }
.badge.ev-tradicao { background: #f3e7cf; color: #7a5b1d; }

/* ---------- Ritmo lunar ---------- */
.moon-strip {
  display: flex; gap: 16px; align-items: center;
  background: var(--night); color: #eef3ec; border-radius: var(--radius); padding: 16px 20px;
}
.moon-strip .moon-glyph { font-size: 40px; line-height: 1; }
.moon-strip .moon-body { flex: 1; }
.moon-strip h3 { margin: 0 0 2px; font-size: 17px; color: var(--gold); }
.moon-strip p { margin: 0; font-size: 14px; opacity: .92; }
.moon-strip .transp { font-size: 12px; opacity: .7; margin-top: 6px; font-style: italic; }

/* ---------- Orientação dos cards do calendário (o que é / como ler) ---------- */
/* Eyebrow "// ..." — diz o que o card é, sem competir com o título. Em cima do
   verde (hero) e do noturno (lead/próximo) usa dourado; nos cards claros, bambu. */
.kick {
  display: inline-block; margin: 0 0 8px;
  font: 800 var(--fs-eyebrow)/1.1 var(--font-body);
  text-transform: uppercase; letter-spacing: .14em; opacity: .92;
}
.kick::before { content: "// "; opacity: .55; }
.hero .kick, .hero.next .kick, .moon-lead .kick { color: var(--gold); }

/* Card-LEAD de ritmo (primeiro bloco): glifo da lua no topo, contexto + orientação. */
.moon-lead { align-items: flex-start; }
.moon-lead .moon-glyph { margin-top: 2px; }
.moon-lead .today-line { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.moon-lead .chip {
  background: rgba(230,195,106,.16); color: #eef3ec;
  border-radius: 999px; padding: 3px 11px; font-size: 13px;
}
.moon-lead .lead-orient { font-size: 13.5px; opacity: .9; margin: 0 0 12px; text-wrap: pretty; }
.moon-lead h3 { font-size: 18px; }

/* "O que é" da Roda do Ano. */
.wheel-orient { font-size: 13.5px; color: var(--ink-soft); margin: 2px 0 4px; max-width: 70ch; text-wrap: pretty; }

/* ---------- Conteúdo dinâmico da base (brotação · ano · tradição · ciência) ---------- */
/* Tradição "mês sem R" no card-lead (fundo noturno). */
.moon-lead .lead-trad { margin: 8px 0 0; font-size: 12.5px; opacity: .84; }
.moon-lead .lead-trad strong { color: var(--gold); }

/* Ciência do corte (amido/broca) — nota embutida no card verde "Bambu agora". */
.hero .hero-cience {
  margin: 14px 0 0; font-size: 13px; opacity: .96; line-height: 1.5;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px; padding: 11px 13px;
}
.hero .hero-cience em { font-style: italic; opacity: .92; }

/* Card de BROTAÇÃO — estação quente. */
.broto-card {
  background: linear-gradient(135deg, #f2f8ec 0%, #e8f3dd 100%);
  border: 1px solid #cfe3bd; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.broto-card .kick { color: var(--bamboo); }
.broto-card h2 { margin: 4px 0 8px; font-family: var(--font-display); font-size: var(--fs-h3); letter-spacing: -0.01em; }
.broto-card p { margin: 0 0 10px; font-size: .96rem; text-wrap: pretty; }
.broto-especies { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.broto-especies .chip {
  background: #fff; border: 1px solid #cfe3bd; color: #2f6e2b;
  border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700;
}
.broto-safe {
  font-size: .9rem; background: #fff6e8; border: 1px solid #f0d9a8;
  border-radius: 10px; padding: 10px 12px; margin: 0;
}
.broto-safe .muted { font-size: .82rem; }
/* Teaser fora de estação (inverno/outono). */
.broto-strip {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px dashed var(--line);
  border-radius: var(--radius); padding: 14px 18px;
}
.broto-strip .broto-glyph { font-size: 30px; opacity: .65; }
.broto-strip p { margin: 0; font-size: 14px; color: var(--ink-soft); }

.muted { color: var(--ink-soft); font-size: 13px; }

/* ---------- Ícones SVG inline (icons.js) — substituem emojis ---------- */
.bz-ic { width: 1.05em; height: 1.05em; vertical-align: -0.16em; display: inline-block; flex: 0 0 auto; }
.chip .bz-ic { width: 1em; height: 1em; }
.task-title .bz-ic { width: 1.15em; height: 1.15em; color: var(--gold); }
.next-action .bz-ic { width: 1.3em; height: 1.3em; color: var(--gold); }
.hero-title .bz-ic, .next-title .bz-ic { color: var(--gold); vertical-align: -0.1em; }
.moon-strip .moon-glyph .bz-ic { width: 38px; height: 38px; color: var(--gold); vertical-align: middle; }
.wd-glyph .bz-ic { width: 1.5rem; height: 1.5rem; color: var(--gold); }
.marca-glyph .bz-ic { width: 44px; height: 44px; color: var(--bamboo); }
.bambuzal-item button .bz-ic { width: 1.05rem; height: 1.05rem; }

/* ---------- Roda do ano ---------- */
.wheel-card {
  background:
    radial-gradient(120% 90% at 50% 0%, #1d3326 0%, var(--night) 55%, var(--night-2) 100%);
  color: #eef3ec; border: 1px solid rgba(230,195,106,.12); overflow: hidden;
}
.wheel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.wheel-head h2 { color: var(--gold); }
.wheel-nav { display: flex; align-items: center; gap: 4px; }
.wheel-nav button {
  background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px; padding: 6px 13px; cursor: pointer; font-size: 0.85rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background .15s ease, border-color .15s ease, transform .12s var(--ease-out);
}
.wheel-nav button:active { transform: scale(0.96); }
.wheel-nav .year-label { font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin: 0 8px; color: #fff; font-variant-numeric: tabular-nums; }
.wheel-wrap { display: flex; justify-content: center; grid-area: wheel; }
svg.wheel { width: 100%; max-width: 600px; height: auto; display: block; }

/* Roda + 4 cards de estação ao redor (cada um perto do seu quadrante). */
.wheel-zone {
  display: grid;
  grid-template-columns: minmax(116px, 0.9fr) minmax(280px, 2.6fr) minmax(116px, 0.9fr);
  grid-template-rows: 1fr 1fr;
  grid-template-areas: "inv wheel pri" "out wheel ver";
  align-items: center; gap: 12px 18px;
}
.c-primavera { grid-area: pri; } .c-verao { grid-area: ver; }
.c-outono { grid-area: out; } .c-inverno { grid-area: inv; }
.season-callout {
  position: relative; display: flex; flex-direction: column; gap: 2px;
  border: 1.5px solid var(--sc); border-radius: 12px; padding: 9px 12px;
  background: rgba(255,255,255,.05); color: #eef3ec;
}
.season-callout .sc-head { font-weight: 800; font-size: 13px; }
.season-callout .sc-ativ { font-size: 12px; font-weight: 700; color: var(--sc); }
.season-callout.is-now { background: color-mix(in srgb, var(--sc) 18%, transparent); box-shadow: 0 0 0 1px var(--sc); }
.season-callout .sc-now { margin-top: 2px; font-size: 9.5px; text-transform: uppercase; letter-spacing: .07em; font-weight: 800; color: var(--sc); }
/* Linha suave + ponto apontando para a Roda (cards à esquerda apontam à direita; à direita, à esquerda). */
.season-callout::after { content: ""; position: absolute; top: 50%; width: 18px; height: 2px; transform: translateY(-50%); }
.season-callout::before { content: ""; position: absolute; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--sc); transform: translateY(-50%); }
.c-inverno::after, .c-outono::after { right: -18px; background: linear-gradient(90deg, var(--sc), transparent); }
.c-inverno::before, .c-outono::before { right: -3px; }
.c-primavera::after, .c-verao::after { left: -18px; background: linear-gradient(270deg, var(--sc), transparent); }
.c-primavera::before, .c-verao::before { left: -3px; }
@media (max-width: 720px) {
  /* Inverno+Primavera ACIMA da roda; Outono+Verão ABAIXO. Pares com a MESMA altura (stretch). */
  .wheel-zone {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas: "inv pri" "wheel wheel" "out ver";
    align-items: stretch; gap: 14px 12px;
  }
  /* Linha suave volta — agora VERTICAL: cards de cima apontam para baixo; de baixo, para cima. */
  .season-callout::after {
    top: auto; bottom: auto; left: 50%; right: auto;
    width: 2px; height: 14px; transform: translateX(-50%);
  }
  .season-callout::before { top: auto; bottom: auto; left: 50%; right: auto; transform: translateX(-50%); }
  .c-inverno::after, .c-primavera::after { bottom: -14px; background: linear-gradient(180deg, var(--sc), transparent); }
  .c-inverno::before, .c-primavera::before { bottom: -3px; }
  .c-outono::after, .c-verao::after { top: -14px; background: linear-gradient(0deg, var(--sc), transparent); }
  .c-outono::before, .c-verao::before { top: -3px; }
}
svg.wheel text { font-family: var(--font-body); }
@media (hover: hover) and (pointer: fine) {
  .wheel-nav button:hover { background: rgba(230,195,106,.25); border-color: rgba(230,195,106,.5); }
}
.wheel-legend { display: flex; gap: 8px 18px; flex-wrap: wrap; justify-content: center; margin-top: 12px; font-size: 0.8rem; opacity: .9; }
.wheel-legend span { display: inline-flex; align-items: center; gap: 6px; }
.wheel-legend .wheel-hint { flex-basis: 100%; justify-content: center; opacity: .72; font-size: 0.8rem; margin-top: 2px; }
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.moon-grp { transform-box: fill-box; transform-origin: center; transition: transform .14s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .moon-grp:hover { transform: scale(1.14); } }
.moon-grp:focus { outline: none; }
.moon-grp:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 50%; }

/* Tira de detalhe da lua selecionada — 4 fases NOMEADAS */
.wheel-detail {
  margin-top: 14px; padding: 14px 16px;
  background: linear-gradient(180deg, rgba(230,195,106,.14), rgba(230,195,106,.06));
  border: 1px solid rgba(230,195,106,.32); border-radius: 16px; color: #eef3ec;
  animation: wd-in .25s ease both;
}
@keyframes wd-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.wd-month { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--gold); }
.wd-phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.wd-phase {
  display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px; padding: 10px 6px;
  opacity: 0; transform: translateY(6px); animation: wd-in .28s var(--ease-out) forwards;
}
.wd-phase:nth-child(1) { animation-delay: 40ms; }
.wd-phase:nth-child(2) { animation-delay: 90ms; }
.wd-phase:nth-child(3) { animation-delay: 140ms; }
.wd-phase:nth-child(4) { animation-delay: 190ms; }
.wd-phase .wd-glyph { font-size: 1.5rem; line-height: 1; }
.wd-phase .wd-name { font-size: 0.8rem; font-weight: 700; color: #f4ecd6; }
.wd-phase .wd-date { font-size: 0.85rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.wd-phase .wd-acao {
  margin-top: 5px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.10);
  width: 100%; font-size: 0.72rem; line-height: 1.22; font-weight: 700; color: #cfe0c8; text-wrap: balance;
}
/* Tag de estação por fase (só aparece quando a lunação atravessa estações). */
.wd-phase .wd-season {
  margin-top: 5px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.10);
  width: 100%; font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
}
/* Com a tag de estação presente, ela leva o divisor e a ação cola embaixo. */
.wd-phase .wd-season + .wd-acao { margin-top: 2px; padding-top: 0; border-top: none; }
.wd-phase.wd-next { border-style: dashed; border-color: rgba(230,195,106,.5); }
.wd-phase.wd-next .wd-date::after { content: ' ›'; opacity: .7; }
.wd-cross { display: block; margin-top: 10px; text-align: center; font-size: 0.8rem; color: #d4c193; opacity: .9; }
.wheel-clear {
  background: rgba(255,255,255,.10); color: #eef3ec; border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px; padding: 5px 16px; font-size: 0.82rem; font-weight: 600; cursor: pointer;
  white-space: nowrap; transition: background .15s ease, transform .12s var(--ease-out);
}
.wheel-clear:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .wheel-clear:hover { background: rgba(255,255,255,.2); } }

/* ---------- Espécies ---------- */
.species-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.species { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.species h4 { margin: 0 0 2px; font-size: 16px; color: var(--bamboo); }
.species .sci { font-style: italic; color: var(--ink-soft); font-size: 12.5px; margin: 0 0 8px; }
.species ul { margin: 6px 0 0; padding-left: 16px; font-size: 13px; }
.species .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tag { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.tag.apta { background: #e3f2dd; color: #245018; border-color: #c4e2b8; }
.tag.broto { background: #fff4d6; color: #7a5b1d; }
.tag.alerta { background: #fbeae8; color: #8a2a20; border-color: #f0c9c4; }
.tag.ref { background: #eef0f7; color: #3a4a7a; border-color: #d2d8ec; }

/* ---------- Guias (hub + páginas de artigo) ---------- */
/* migalhas */
.crumbs { font-size: 0.85rem; color: var(--ink-soft); margin: 18px 0 6px; }
.crumbs a { color: var(--bamboo); text-decoration: none; font-weight: 700; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { opacity: .6; padding: 0 4px; }

/* hub de guias */
.guides-intro { margin: 22px 0 8px; max-width: 70ch; }
.guides-intro h1 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h1); color: var(--ink); margin: 0 0 8px; }
.guides-intro p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; text-wrap: pretty; }
.guides-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 22px 0; }
.guide-card {
  display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  border-top: 4px solid var(--bamboo); padding: 20px; box-shadow: var(--shadow);
  transition: transform .15s var(--ease-out), border-color .15s ease, box-shadow .15s ease;
}
@media (hover: hover) and (pointer: fine) {
  .guide-card:hover { transform: translateY(-3px); border-color: var(--bamboo-light); box-shadow: 0 12px 30px rgba(28,40,28,.12); }
}
.guide-card .gc-num { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: var(--gold-deep); letter-spacing: .04em; }
.guide-card h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); color: var(--bamboo); margin: 0; }
.guide-card .gc-q { font-size: 0.92rem; color: var(--ink-soft); margin: 0; font-style: italic; }
.guide-card .gc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.guide-card .gc-tags span { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink-soft); border: 1px solid var(--line); }
.guide-card .gc-go { margin-top: auto; color: var(--bamboo); font-weight: 800; font-size: 0.9rem; }
/* card "em breve" (v2.0 Pergunte ao bambu) — desabilitado */
.guide-card.is-soon { border-top-color: var(--tan); opacity: .82; cursor: default; box-shadow: none; }
.guide-card.is-soon:hover { transform: none; border-color: var(--line); box-shadow: none; }
.guide-card .gc-soon { color: var(--tan-dark); }
.guide-card .gc-num { display: inline-block; }
.guide-card.is-soon .gc-num { color: var(--tan-dark); }

/* página de guia (artigo) */
.guide { max-width: 760px; }
.guide-hero { margin: 8px 0 18px; }
.guide-eyebrow { font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: .12em; color: var(--gold-deep); font-weight: 800; margin: 0 0 8px; }
.guide-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h1); color: var(--ink); margin: 0 0 10px; line-height: 1.1; text-wrap: balance; }
.guide-lead { font-size: 1.08rem; color: var(--ink-soft); margin: 0; text-wrap: pretty; }
.guide-body > section { margin: 26px 0; }
.guide-body h2 {
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h2); color: var(--bamboo);
  margin: 0 0 10px; line-height: 1.15; scroll-margin-top: 16px;
}
.guide-body h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); color: var(--ink); margin: 18px 0 6px; }
.guide-body p { margin: 0 0 12px; font-size: var(--fs-body); color: var(--ink); text-wrap: pretty; }
.guide-body ul, .guide-body ol { margin: 0 0 14px; padding-left: 22px; }
.guide-body li { margin: 0 0 7px; }
.guide-body strong { color: var(--ink); }
.guide-body em { color: var(--ink-soft); }
.guide-body a { color: var(--bamboo); }

/* caixa de transparência (diferencial editorial) */
.transp-box {
  background: linear-gradient(135deg, #f4f0e3 0%, var(--surface-2) 100%);
  border: 1px solid var(--line); border-left: 4px solid var(--gold-deep);
  border-radius: 14px; padding: 16px 18px; margin: 18px 0;
}
.transp-box h3 { margin: 0 0 6px; color: var(--gold-deep); font-size: var(--fs-h3); }
.transp-box p { margin: 0 0 6px; font-size: 0.96rem; }
.transp-box p:last-child { margin: 0; }

/* legenda de evidência (reusa .badge.ev-*) */
.ev-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.ev-legend .badge { cursor: default; }
.ev-inline { vertical-align: middle; margin-left: 4px; }

/* destaque de número/dado */
.guide-body .figure-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0; }
.guide-body .figure {
  flex: 1 1 150px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow);
}
.guide-body .figure .fig-n { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--bamboo); line-height: 1.1; }
.guide-body .figure .fig-l { font-size: 0.82rem; color: var(--ink-soft); margin-top: 2px; }

/* fontes / rastreabilidade */
.guide-source {
  font-size: 0.84rem; color: var(--ink-soft); border-top: 1px solid var(--line);
  padding-top: 14px; margin-top: 28px;
}
.guide-source strong { color: var(--ink); }

/* cross-links no fim do guia */
.guide-cross { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 26px 0 8px; }
.guide-cross a {
  display: block; text-decoration: none; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; color: var(--ink); transition: border-color .15s ease, background .15s ease;
}
@media (hover: hover) and (pointer: fine) { .guide-cross a:hover { border-color: var(--bamboo-light); background: #fff; } }
.guide-cross .gx-k { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--bamboo); font-weight: 800; }
.guide-cross .gx-t { font-weight: 700; margin-top: 2px; }

/* ---------- Conceito "bambuzeto": hero, finalidades, ecossistema, consultoria ---------- */
/* hero conceitual da home */
.concept-hero {
  background: linear-gradient(135deg, #2f6e2b 0%, #3b7d34 55%, #57a845 100%);
  color: #fff; border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow);
  position: relative; overflow: hidden; margin-top: 22px;
}
.concept-hero::after { content: '🎋'; position: absolute; right: -12px; bottom: -26px; font-size: 150px; opacity: .12; transform: rotate(-8deg); }
.concept-hero .ch-eyebrow { font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: .14em; font-weight: 800; opacity: .9; margin: 0 0 8px; }
.concept-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h1); line-height: 1.08; margin: 0 0 12px; max-width: 20ch; }
.concept-hero p { font-size: 1.05rem; line-height: 1.55; margin: 0 0 20px; max-width: 60ch; opacity: .96; }
.concept-hero .ch-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.concept-hero .btn.solid { background: #fff; color: #2f6e2b; box-shadow: none; }
.concept-hero .btn.solid:hover { background: #f4f0e3; }
.concept-hero .btn.outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); box-shadow: none; }
.concept-hero .btn.outline:hover { background: rgba(255,255,255,.12); }

/* faixa das 4 finalidades */
.finalidades { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
/* grade fixa de 3 colunas (ex.: serviços do Bambuzeto, 6 cartões = 3+3) */
.finalidades.tres-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .finalidades.tres-col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .finalidades.tres-col { grid-template-columns: 1fr; } }
/* grade fixa de 2 colunas (ex.: 4 finalidades = 2+2) */
.finalidades.duas-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .finalidades.duas-col { grid-template-columns: 1fr; } }
.finalidade { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.finalidade .fin-ic {
  font-size: 26px; line-height: 1; width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center; color: var(--bamboo);
  background: linear-gradient(135deg, rgba(59,125,52,.12), rgba(87,168,69,.14));
}
.finalidade .fin-ic svg { width: 24px; height: 24px; display: block; }
.finalidade.is-gold .fin-ic { color: var(--gold-deep); background: linear-gradient(135deg, rgba(201,162,63,.14), rgba(230,195,106,.16)); }
.finalidade h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); color: var(--bamboo); margin: 8px 0 4px; }
/* foto (avatar) da equipe dentro do cartão .finalidade */
.socio-foto { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; display: block; border: 3px solid #fff; box-shadow: var(--shadow); }
.finalidade p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

/* seção tool framing (calendário como ferramenta) */
.section-intro { margin: 6px 0 4px; }
.section-intro h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h2); color: var(--ink); margin: 0 0 4px; }
.section-intro p { margin: 0; color: var(--ink-soft); max-width: 64ch; }

/* ecossistema (parceiros diretos: BambuSC, Sítio Vagalume) */
.eco-partners { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 720px) { .eco-partners { grid-template-columns: 1fr 1fr; } }
.eco-partner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--bamboo); border-radius: 14px; padding: 24px 22px; box-shadow: var(--shadow); }
/* logo no topo, centralizada, com caixa de altura FIXA → ambas ficam do mesmo tamanho visual */
.eco-partner .ep-logo { height: 96px; display: flex; align-items: center; justify-content: center; }
.eco-partner .ep-logo img { max-height: 96px; max-width: 200px; width: auto; height: auto; object-fit: contain; display: block; }
.eco-partner .ep-body h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); color: var(--bamboo); margin: 0 0 6px; }
.eco-partner .ep-body p { margin: 0 0 10px; font-size: 0.92rem; color: var(--ink-soft); }
.eco-partner .ep-body a { color: var(--bamboo); font-weight: 700; text-decoration: none; font-size: 0.9rem; }

/* CTA de consultoria (banda dourada/bambu) */
.cta-consultoria {
  background: linear-gradient(135deg, #16241c 0%, #234232 60%, #2f6e2b 100%);
  color: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); text-align: center;
}
.cta-consultoria h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h2); color: var(--gold); margin: 0 0 8px; }
.cta-consultoria p { margin: 0 auto 18px; max-width: 56ch; opacity: .95; }
.cta-consultoria .btn { background: var(--gold); color: #4a3a08; box-shadow: none; }
.cta-consultoria .btn:hover { background: #f0d488; }

/* passos da página de implantação */
.steps-impl { list-style: none; counter-reset: step; margin: 18px 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps-impl li { position: relative; padding: 16px 18px 16px 64px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.steps-impl li::before {
  counter-increment: step; content: counter(step); position: absolute; left: 16px; top: 16px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--bamboo); color: #fff;
  font-family: var(--font-display); font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.steps-impl h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); color: var(--ink); margin: 0 0 4px; }
.steps-impl p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* tabela conceito vs touceira */
.def-compare { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 16px 0; }
@media (min-width: 600px) { .def-compare { grid-template-columns: 1fr 1fr; } }
.def-compare .dc { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.def-compare .dc h4 { margin: 0 0 4px; color: var(--bamboo); font-size: 1rem; }
.def-compare .dc p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

/* formulário de consultoria (lead) */
.lead-card { max-width: 620px; margin: 8px auto; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--bamboo); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .lead-grid { grid-template-columns: 1fr; } }

/* ---------- Captura de e-mail / alerta da janela de corte ---------- */
.subscribe-band {
  background: linear-gradient(135deg, #16241c 0%, #1f3327 55%, #2c4a39 100%);
  color: #eef3ec; border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.subscribe-band::after { content: '🌖'; position: absolute; right: -8px; bottom: -18px; font-size: 110px; opacity: .10; }
.subscribe-band h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h2); color: var(--gold); margin: 0 0 6px; }
.subscribe-band p.sb-lead { margin: 0 0 16px; opacity: .92; max-width: 60ch; }
.subscribe-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.subscribe-form input[type=email] {
  flex: 1 1 240px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff;
  border-radius: 999px; padding: 12px 18px; font: inherit; font-size: 0.98rem;
}
.subscribe-form input[type=email]::placeholder { color: #c4d2bf; }
.subscribe-form input[type=email]:focus-visible { outline: none; box-shadow: var(--focus); border-color: var(--gold); }
.subscribe-form .btn { background: var(--gold); color: #4a3a08; box-shadow: none; }
.subscribe-form .btn:hover { background: #f0d488; }
.sb-consent { display: flex; gap: 9px; align-items: flex-start; font-size: 0.82rem; opacity: .85; margin: 12px 0 0; }
.sb-consent input { margin-top: 3px; }
.sb-consent a { color: var(--gold); }
.sb-extra { margin: 14px 0 0; font-size: 0.9rem; opacity: .9; }
.sb-extra .link-btn { color: var(--gold); }
.sb-msg { font-size: 0.9rem; margin: 12px 0 0; display: none; }
.sb-msg.show { display: block; }
.sb-msg.ok { color: #cfe9b9; }
.sb-msg.err { color: #f3b6ae; }

/* ---------- Auth / formulários / conta ---------- */
.auth-wrap { max-width: 440px; margin: 8px auto; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--bamboo); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.auth-card h1 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h2); color: var(--ink); margin: 0 0 6px; }
.auth-card .auth-sub { color: var(--ink-soft); margin: 0 0 18px; font-size: 0.96rem; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-field label { font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); }
.form-field input[type=email], .form-field input[type=password], .form-field input[type=text], .form-field input[type=date], .form-field select, .form-field textarea {
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; font: inherit; font-size: 0.98rem;
  background: var(--surface); color: var(--ink); width: 100%;
}
.form-field textarea { resize: vertical; min-height: 64px; }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible { outline: none; box-shadow: var(--focus); border-color: var(--bamboo-light); }
/* honeypot anti-bot: fora da tela em vez de display:none (bots ignoram campos ocultos). */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--ink-soft); margin: 4px 0 16px; }
.consent input { margin-top: 3px; flex: 0 0 auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  font-weight: 800; font-size: 0.98rem; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  color: #fff; background: linear-gradient(135deg, var(--bamboo) 0%, var(--bamboo-light) 100%);
  box-shadow: 0 4px 14px rgba(59,125,52,.22); transition: transform .12s var(--ease-out), box-shadow .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 7px 20px rgba(59,125,52,.3); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; box-shadow: none; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--bamboo); border-color: var(--line); box-shadow: none; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.danger { background: transparent; color: var(--danger, #b3261e); border-color: #e7c9c6; box-shadow: none; }
.auth-toggle { text-align: center; margin: 14px 0 0; font-size: 0.92rem; color: var(--ink-soft); }
.auth-toggle a, .link-btn { color: var(--bamboo); font-weight: 700; cursor: pointer; background: none; border: none; font: inherit; }
.form-msg { font-size: 0.9rem; margin: 4px 0 12px; padding: 10px 12px; border-radius: 10px; display: none; }
.form-msg.show { display: block; }
.form-msg.err { background: #fbeae8; color: #8a2a20; border: 1px solid #f0c9c4; }
.form-msg.ok { background: #e3f2dd; color: #245018; border: 1px solid #c4e2b8; }

/* conta / Meu bambuzal */
/* Stepper da jornada do bambuzal (conta.html) */
.journey { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 0; counter-reset: none; }
.journey li { flex: 1 1 180px; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); }
.journey .jn { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; background: var(--surface-2); color: var(--ink-soft); border: 1px solid var(--line); }
.journey .jt { font-weight: 700; font-size: .92rem; color: var(--ink-soft); }
.journey li.done { border-color: var(--bamboo); }
.journey li.done .jn { background: var(--bamboo); color: #fff; border-color: var(--bamboo); }
.journey li.done .jt { color: var(--bamboo); }

.account-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 18px 0; }
@media (min-width: 760px) { .account-grid { grid-template-columns: 1fr 1fr; } }
.account-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.account-card h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); color: var(--bamboo); margin: 0 0 12px; }
.account-card.full { grid-column: 1 / -1; }
.bambuzal-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 14px; }
.bambuzal-form .form-field { margin-bottom: 0; flex: 1 1 150px; }
.bambuzal-form .btn { flex: 0 0 auto; }
.bambuzal-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bambuzal-item { display: flex; align-items: center; gap: 12px; justify-content: space-between; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.bambuzal-item .bi-main { font-weight: 700; color: var(--ink); }
.bambuzal-item .bi-sci { font-style: italic; color: var(--ink-soft); font-size: 0.85rem; }
.bambuzal-item .bi-meta { font-size: 0.82rem; color: var(--ink-soft); }
.bambuzal-item button { background: none; border: none; color: var(--ink-soft); cursor: pointer; font-size: 1.1rem; padding: 4px 8px; border-radius: 8px; }
.bambuzal-item button:hover { background: #f0e3e1; color: #b3261e; }
.account-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* ---------- Bloco de marca "Por que o bambu?" ---------- */
.marca-card {
  display: flex; gap: 20px; align-items: center;
  background: linear-gradient(135deg, #f4f0e3 0%, var(--surface-2) 100%);
  border: 1px solid var(--line); border-left: 4px solid var(--bamboo);
  border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow);
}
.marca-glyph { font-size: 46px; line-height: 1; flex-shrink: 0; }
.marca-body h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); color: var(--bamboo); margin: 0 0 6px; }
.marca-body p { margin: 0 0 6px; font-size: 0.98rem; color: var(--ink); max-width: none; text-wrap: pretty; }
.marca-cta { color: var(--ink-soft); }
.marca-cta strong { color: var(--bamboo); }

/* ---------- Footer / fontes ---------- */
.fontes { font-size: 12.5px; color: var(--ink-soft); }
.fontes h2 { color: var(--bamboo); }
.fontes a { color: var(--bamboo); }
.site-footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: 40px; padding: 32px 0 40px; }
/* flex-wrap: cada parte é um item que quebra inteiro p/ a próxima linha (1 linha quando cabe,
   2 linhas centralizadas quando não) — sem depender de media query, sem "FONTES" órfão */
.eco-title {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 14px;
  font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-soft); font-weight: 700; margin: 0 0 24px;
}
.eco-title span { white-space: nowrap; }
.eco-logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 28px 48px; max-width: 880px; margin: 0 auto;
}
.eco-logo { display: inline-flex; align-items: center; }
.eco-logo img {
  height: 60px; width: auto; max-width: 200px; object-fit: contain; display: block;
  transition: transform .2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .eco-logo:hover img { transform: scale(1.06); } }
.foot-meta { text-align: center; font-size: 12px; color: var(--ink-soft); margin: 26px 0 0; }

/* ---------- Fallback sem JS / falha de carregamento ---------- */
.app-fallback {
  margin: 40px auto; max-width: 640px; padding: 22px 24px;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--bamboo);
  border-radius: var(--radius); color: var(--ink); box-shadow: var(--shadow); line-height: 1.6;
}
.app-fallback a { color: var(--bamboo); font-weight: 700; }

/* ---------- Seletor de zona: ajuda "?" + modal de 1º acesso ---------- */
.zona-help {
  appearance: none; -webkit-appearance: none; padding: 0; margin-left: 3px;
  width: 16px; height: 16px; border-radius: 50%; vertical-align: middle;
  border: 1px solid var(--line); background: var(--surface); color: var(--bamboo);
  font: 800 10px/1 var(--font-body); cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  .zona-help:hover { background: var(--bamboo); color: #fff; border-color: var(--bamboo); }
}

.zona-overlay {
  position: fixed; inset: 0; z-index: 100; padding: 20px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(22, 36, 28, .55); backdrop-filter: blur(3px);
  animation: zona-fade .2s ease both;
}
@keyframes zona-fade { from { opacity: 0; } to { opacity: 1; } }
.zona-modal {
  position: relative; width: 100%; max-width: 440px; padding: 26px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(22, 36, 28, .35);
  animation: zona-pop .25s var(--ease-out) both;
}
@keyframes zona-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.zona-modal h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h2); color: var(--bamboo); margin: 0 0 6px; }
.zona-lead { margin: 0 0 16px; font-size: 0.95rem; color: var(--ink); text-wrap: pretty; }
.zona-options { display: flex; flex-direction: column; gap: 10px; }
.zona-opt {
  display: flex; flex-direction: column; gap: 2px; text-align: left; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  transition: border-color .15s ease, background .15s ease, transform .12s var(--ease-out);
}
.zona-opt:active { transform: scale(.99); }
@media (hover: hover) and (pointer: fine) { .zona-opt:hover { border-color: var(--bamboo-light); background: #fff; } }
.zona-opt.is-current { border-color: var(--bamboo); box-shadow: var(--focus); }
.zona-opt-label { font-weight: 800; color: var(--ink); font-size: 1rem; }
.zona-opt-estados { font-size: 0.82rem; color: var(--bamboo); font-weight: 600; }
.zona-opt-desc { font-size: 0.82rem; color: var(--ink-soft); }
.zona-foot { margin: 16px 0 0; font-size: 0.8rem; color: var(--ink-soft); text-align: center; }
.zona-close {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
  font-size: 14px; line-height: 1; cursor: pointer;
}
@media (hover: hover) and (pointer: fine) { .zona-close:hover { background: var(--surface-2); color: var(--ink); } }

/* ---------- Entrada suave (baixa frequência: só no load/refresh) ---------- */
.hero { opacity: 0; transform: translateY(8px); animation: hero-in .5s var(--ease-out) forwards; }
.hero.next { animation-delay: 80ms; }
@keyframes hero-in { to { opacity: 1; transform: none; } }

/* ---------- Responsivo ---------- */
@media (max-width: 720px) {
  .wrap { padding-left: 14px; padding-right: 14px; }
  .header-inner { align-items: flex-start; gap: 16px; padding-bottom: 30px; }
  .header-arc { display: none; }
  .settings { width: 100%; }
  .field { flex: 1 1 0; min-width: 0; }
  .field select { width: 100%; min-width: 0; }
  .marca-card { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero { padding: 20px 18px; }
  /* Mobile: glifo da lua ACIMA do conteúdo → libera a largura inteira do texto. */
  .moon-lead { flex-direction: column; align-items: flex-start; gap: 8px; }
  .moon-lead .moon-glyph { margin-top: 0; }
  /* Roda ganha o máximo de largura possível no celular */
  .wheel-card { padding: 14px 8px; }
  .wheel-head { padding: 0 6px; }
  .wheel-nav { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 440px) {
  .wd-phases { grid-template-columns: repeat(2, 1fr); }
  .wd-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .wheel-legend { gap: 6px 12px; }
  .eco-title { letter-spacing: .05em; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
  .hero, .wheel-detail, .wd-phase { opacity: 1; transform: none; }
}

/* ==========================================================================
   SISTEMA VISUAL V2 — "almanaque botânico" (header pill, hero foto,
   recortes de papel, photoband, faixa verde, rodapé). Direção travada jun/2026.
   Regras: docs/design/RECORTES-PAPEL.md + docs/DIRECAO-VISUAL.md
   ========================================================================== */

/* ---- Header flutuante (pill translúcido sobre o hero) — injetado por nav.js ---- */
.bz-bar {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1180px, calc(100% - 40px));
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.72); backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(255,255,255,.55); border-radius: 999px;
  padding: 10px 12px 10px 22px; box-shadow: var(--sh-float);
}
.bz-bar .bz-brand { display: inline-flex; align-items: center; }
.bz-bar .bz-brand img { height: 34px; width: auto; display: block; }
.bz-nav { display: flex; align-items: center; gap: 2px; font-weight: 700; font-size: .9rem; }
.bz-nav a {
  color: var(--ink-soft); text-decoration: none; padding: 9px 15px; border-radius: 999px;
  transition: color var(--d-fast) var(--ease-out), background var(--d-fast) var(--ease-out);
}
.bz-nav a[aria-current="page"] { color: var(--bamboo); }
.bz-nav a.bz-entrar, .bz-session a, .bz-session .nav-text { color: var(--ink-soft); text-decoration: none; padding: 9px 15px; border-radius: 999px; font-weight: 700; }
.bz-session .nav-user-link { color: var(--bamboo); }
@media (hover: hover) and (pointer: fine) { .bz-session a:hover { color: var(--bamboo); background: rgba(59,125,52,.07); } }
.bz-nav a.bz-cta {
  background: linear-gradient(135deg, var(--bamboo), var(--bamboo-light)); color: #fff;
  padding: 11px 22px; margin-left: 6px; font-weight: 800;
  box-shadow: 0 8px 20px rgba(59,125,52,.35), 0 1px 0 rgba(255,255,255,.3) inset;
  transition: transform var(--d-fast) var(--ease-out), box-shadow var(--d-fast) var(--ease-out);
}
.bz-nav a.bz-cta:active { transform: scale(.97); }
.bz-bar a:focus-visible { outline: 2px solid var(--bamboo); outline-offset: 2px; }
.bz-burger {
  display: none; border: none; background: transparent; color: var(--bamboo);
  font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 6px 10px; border-radius: 12px;
}
.bz-mobile { display: none; }
@media (hover: hover) and (pointer: fine) {
  .bz-nav a:hover { color: var(--bamboo); background: rgba(59,125,52,.07); }
  .bz-nav a.bz-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(59,125,52,.45); }
}

/* ---- Hero com foto (cada página define --hero-img) ---- */
.page-hero {
  position: relative; overflow: hidden; display: flex; align-items: center;
  min-height: clamp(460px, 60vh, 640px);
  /* base inferior limpa a altura da tira de rasgo (+44px de folga) → recorte não cobre o texto */
  padding: 110px 0 calc(var(--rip) + 44px);
}
.page-hero.hero-tall {
  align-items: flex-start; min-height: 100dvh;
  padding-top: clamp(220px, 28vh, 360px); padding-bottom: 0;
}
/* aspect-ratio (foto inteira) só no desktop — em mobile causava overflow horizontal */
@media (min-width: 761px) { .page-hero.hero-tall { aspect-ratio: 3 / 2; } }
.page-hero.hero-slim { min-height: clamp(300px, 40vh, 420px); padding: 128px 0 calc(var(--rip) + 44px); }
.hero-bg {
  position: absolute; inset: 0; background-image: var(--hero-img);
  background-position: center; background-size: cover; transform: scale(1.04);
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 46% at 92% 14%, rgba(230,195,106,.26), rgba(230,195,106,0) 60%),
    linear-gradient(100deg, rgba(10,24,15,.88) 0%, rgba(13,31,19,.55) 34%, rgba(13,31,19,.06) 60%, rgba(13,31,19,0) 80%),
    radial-gradient(120% 80% at 28% 100%, rgba(8,18,11,.45), rgba(8,18,11,0) 55%);
}
.hero-inner {
  position: relative; z-index: 5; width: min(1180px, calc(100% - 40px));
  margin: 0 auto; padding: 0 24px; color: #fff;
}
.hero-eyebrow {
  display: inline-block; font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: .14em;
  font-weight: 800; color: var(--gold); margin: 0 0 14px;
}
.hero-inner h1 {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.04; letter-spacing: -.015em; margin: 0 0 18px; max-width: 680px;
  text-shadow: 0 2px 30px rgba(0,0,0,.28); color: #fff;
}
.hero-inner h1 em { font-style: italic; font-weight: 500; color: var(--gold); }
.hero-inner p.hero-lead { font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: #eaf1e4; margin: 0 0 30px; max-width: 48ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
/* nos blocos centrados (CTA verde / branco centralizado), os botões acompanham o texto */
.sec-green .hero-actions, .sec-white.center .hero-actions { justify-content: center; }

/* botões grandes do hero/CTA */
.btn-lg {
  position: relative; display: inline-flex; align-items: center; gap: 9px; font-weight: 800;
  font-size: .95rem; padding: 15px 30px; border-radius: 999px; text-decoration: none;
  border: 1.6px solid transparent; cursor: pointer;
  transition: transform var(--d-fast) var(--ease-out), box-shadow var(--d-fast) var(--ease-out), background var(--d-fast) var(--ease-out);
}
.btn-lg:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn-lg:active { transform: scale(.97); }
.btn-lg.primary { background: linear-gradient(135deg, #d8af49, var(--gold)); color: #2a2009; box-shadow: 0 12px 30px rgba(201,162,63,.5), 0 1px 0 rgba(255,255,255,.5) inset; }
.btn-lg.ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
@media (hover: hover) and (pointer: fine) {
  .btn-lg.primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(201,162,63,.6); }
  .btn-lg.ghost:hover { background: rgba(255,255,255,.16); }
}

/* indicador de scroll no hero alto */
.hero-scroll {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 5;
  color: rgba(255,255,255,.8); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll span { width: 1px; height: 32px; background: linear-gradient(var(--gold), transparent); }

/* ---- Seções com recorte de papel (cor do recorte = cor de destino) ---- */
/* RESET CRÍTICO: a regra global `section{margin:28px 0}` injetava faixas bege no topo
   do hero e vãos entre os blocos, sabotando as sobreposições negativas dos recortes.
   Zera a margem só dos filhos diretos do <main> (não afeta as <section> dentro dos guias). */
main > section { margin: 0; }
.sec-inner { max-width: 1100px; margin: 0 auto; }

/* ===== RECORTES = TIRAS DE ALTURA FIXA (não esticam com a altura da seção) =====
   Cada seção de papel tem COR SÓLIDA + uma tira de rasgo (::before no topo) que
   sobrepõe a seção anterior. O rasgo transparente revela a cor do vizinho (nunca bege).
   --rip = altura da tira; mantém o detalhe do rasgo proporcional à LARGURA, não à altura. */
:root { --rip: clamp(48px, 6vw, 100px); }

/* creme — rasga sobre a foto do hero; e (só na home, .to-photo) rasga embaixo sobre a faixa de foto */
.sec-paper {
  position: relative; z-index: 3;
  padding: 110px clamp(24px, 6vw, 96px); /* topo == base → gaps simétricos (rasgo fica FORA da caixa) */
  background-color: #f0ead2;
}
.sec-paper::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--rip);
  background: url('brand/rip-cream-top.png') bottom center / 100% 100% no-repeat;
}
/* primeiro bloco creme logo após o hero: enxuga o respiro do topo (a tira de rasgo já soma ~1×rip acima) */
.sec-paper.sec-tight-top { padding-top: 48px; }
.sec-paper.to-photo::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: var(--rip);
  background: url('brand/rip-cream-bottom.png') top center / 100% 100% no-repeat;
}
/* branco */
.sec-white {
  position: relative; z-index: 4; background: #fff;
  padding: 110px clamp(24px, 6vw, 96px);
}
/* Topo enxuto (ex.: calendário) — encurta o respiro acima do conteúdo para o 1º card
   dinâmico entrar na primeira dobra, sem mexer no respiro lateral/inferior. */
.sec-white.sec-tight-top { padding-top: clamp(28px, 3.5vw, 44px); }
.sec-white::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--rip);
  background: url('brand/rip-white-top.png') bottom center / 100% 100% no-repeat;
}
.sec-white.center { text-align: center; }
/* verde-escuro — CTA; rasga sobre o que vier acima (branco ou creme), revelando o vizinho */
.sec-green {
  position: relative; z-index: 5; color: #fff; text-align: center;
  /* base = topo + 2×rip → o rasgo do rodapé branco come 1×rip embaixo e o rasgo verde soma 1×rip
     em cima, deixando o respiro visual igual acima do kicker e abaixo dos botões */
  padding: 96px clamp(24px, 6vw, 96px) calc(96px + 2 * var(--rip));
  background-color: #15402a;
}
.sec-green::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--rip);
  background: url('brand/rip-green-top.png') bottom center / 100% 100% no-repeat;
}
/* faixa de foto (entra POR TRÁS dos blocos de papel; sem rasgo próprio) */
.sec-photo {
  position: relative; z-index: 2; min-height: 520px;
  display: flex; align-items: center; overflow: hidden;
  background-image: var(--photo-img); background-position: center; background-size: cover;
}
.sec-photo .hero-veil { background: linear-gradient(100deg, rgba(10,24,15,.88) 0%, rgba(13,31,19,.52) 45%, rgba(13,31,19,.06) 80%); }
.sec-photo .sec-inner { position: relative; z-index: 2; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 200px 24px 180px; color: #fff; }

/* tipografia editorial das seções */
.kicker {
  display: inline-flex; align-items: center; gap: 9px; border: 1.5px solid rgba(59,125,52,.4);
  color: var(--bamboo); border-radius: 999px; padding: 8px 20px; font-weight: 800;
  font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px;
  background: rgba(255,255,255,.45);
}
.kicker svg { width: 15px; height: 15px; color: var(--gold-deep); }
.sec-green .kicker { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.08); }
.sec-green .kicker svg { color: var(--gold); }
.sec-h2 {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.07; letter-spacing: -.01em; color: var(--ink); margin: 0 0 18px;
}
.sec-h2 em { font-style: italic; color: var(--bamboo); }
.sec-green .sec-h2, .sec-photo .sec-h2 { color: #fff; }
.sec-green .sec-h2 em, .sec-photo .sec-h2 em { color: var(--gold); }
.rule { width: 70px; height: 2px; background: linear-gradient(90deg, var(--gold-deep), var(--tan)); margin: 0 0 22px; border-radius: 2px; }
.sec-green .rule, .center .rule, .sec-white.center .rule { margin-left: auto; margin-right: auto; }
.sec-lead { color: var(--ink-soft); font-size: 1.05rem; max-width: 60ch; margin: 0 0 8px; }
.sec-green .sec-lead, .sec-photo .sec-lead { color: #dbe9d4; max-width: 52ch; margin: 0 auto 30px; }
/* lead em linha única (desktop); quebra natural no mobile p/ não estourar a largura */
.eco-oneline { max-width: none; }
@media (min-width: 680px) { .eco-oneline { white-space: nowrap; } }
/* photoband é alinhado à esquerda (como o hero) → não centralizar o lead */
.sec-photo .sec-lead { margin-left: 0; margin-right: 0; }
.sec-white.center .sec-lead { margin-left: auto; margin-right: auto; }

/* corpo editorial em 2 colunas (texto + fatos) */
.body-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.body-grid p { color: var(--ink-soft); font-size: 1.05rem; margin: 0 0 14px; max-width: 60ch; }
.body-grid strong { color: var(--ink); }
.facts { display: flex; flex-direction: column; gap: 14px; }
.fact { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.6); border: 1px solid rgba(169,140,95,.3); border-radius: 16px; padding: 16px 18px; box-shadow: var(--sh-1); transition: transform var(--d-mid) var(--ease-out), box-shadow var(--d-mid) var(--ease-out); }
.fact .ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--bamboo), var(--bamboo-light)); color: #fff; }
.fact .ic svg { width: 22px; height: 22px; }
.fact h4 { font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin: 0 0 2px; color: var(--ink); }
.fact p { font-size: .88rem; color: var(--ink-soft); margin: 0; }
@media (hover: hover) and (pointer: fine) { .fact:hover { transform: translateY(-3px); box-shadow: var(--sh-2); } }

/* sub-título de grupo dentro de uma seção (ex.: "Para que serve") */
.finalidades-title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); color: var(--bamboo); margin: 40px 0 14px; text-align: left; }
.sec-white.center .finalidades-title { text-align: center; }
/* grid de ferramentas/finalidades reaproveitado nas seções V2 */
.sec-paper .finalidades, .sec-white .finalidades { margin-top: 6px; }
.finalidades.tools { margin-bottom: 8px; }
.sec-white .finalidade { text-align: left; }

/* sub-bloco do ecossistema dentro do branco */
.eco-block { margin-top: 56px; }
.eco-block .kicker { margin-top: 0; }

/* wrapper da newsletter dentro do branco */
.sec-news { max-width: 760px; margin: 48px auto 0; }

/* guia (artigo) reaproveitado dentro do sistema V2 */
.page-hero .crumbs { display: none; }
.page-hero .guide-hero { margin: 0; }
.page-hero .guide-eyebrow { color: var(--gold); }
.page-hero .guide-hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.28); max-width: 18ch; }
.page-hero .guide-lead { color: #eaf1e4; max-width: 52ch; }
.sec-paper > .guide, .sec-paper .guide { margin-left: auto; margin-right: auto; }
.sec-paper .guide .guide-body > section:first-child { margin-top: 0; }

/* barra de zona climática (páginas-ferramenta: calendário / espécies) */
.zona-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px;
  background: rgba(255,255,255,.6); border: 1px solid rgba(169,140,95,.3);
  border-radius: 16px; padding: 14px 18px; margin: 0 0 26px; box-shadow: var(--sh-1);
}
.zona-bar label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); font-weight: 800; display: inline-flex; align-items: center; gap: 4px; }
.zona-bar select {
  appearance: none; -webkit-appearance: none; border: 1px solid var(--line); background-color: var(--surface); color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5l4 4 4-4' fill='none' stroke='%233b7d34' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  border-radius: 999px; padding: 9px 38px 9px 16px; font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; min-width: 190px;
}
.zona-bar select:focus-visible { outline: none; box-shadow: var(--focus); border-color: var(--bamboo-light); }

/* parceiros (bloco branco) */
.partners { display: flex; align-items: stretch; justify-content: center; max-width: 1040px; margin: 8px auto 0; background: var(--paper); border: 1px solid #e6e2d6; border-radius: 24px; padding: 18px 8px; box-shadow: var(--sh-1); }
.partner { flex: 1 1 0; display: flex; align-items: center; justify-content: center; padding: 18px 22px; border-right: 1.5px dashed rgba(89,107,88,.35); }
.partner:last-child { border-right: none; }
.partner img { width: auto; max-width: 240px; object-fit: contain; }
.partner img.lg-bambusc { height: 150px; }
.partner img.lg-vagalume { height: 112px; }

/* ---- Rodapé V2 (branco, sobe por trás do recorte verde → revela branco) ---- */
.bz-foot {
  position: relative; z-index: 6; background: #fff; color: var(--ink-soft);
  padding: 110px clamp(24px, 6vw, 96px) 48px;
}
.bz-foot::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--rip);
  background: url('brand/rip-white-top.png') bottom center / 100% 100% no-repeat;
}
.bz-foot .frow { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.bz-foot .f-brand img { height: 34px; width: auto; display: block; }
.bz-foot nav { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 700; font-size: .9rem; }
.bz-foot nav a { color: var(--ink-soft); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .bz-foot nav a:hover { color: var(--bamboo); } }
.bz-foot .fmeta { max-width: 1100px; margin: 22px auto 0; font-size: .82rem; color: var(--tan-dark); border-top: 1px solid #e6e2d6; padding-top: 18px; }

/* ---- Animações de entrada (baixa frequência) ---- */
@media (prefers-reduced-motion: no-preference) {
  .hero-tall .hero-bg { animation: bz-slowzoom 18s var(--ease-out) forwards; }
  @keyframes bz-slowzoom { to { transform: scale(1); } }
  .bz-bar { opacity: 0; animation: bz-drop .8s var(--ease-soft) forwards; }
  @keyframes bz-drop { from { opacity: 0; transform: translateX(-50%) translateY(-14px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
  .hero-inner > * { opacity: 0; transform: translateY(16px); animation: bz-rise .8s var(--ease-out) forwards; }
  .hero-inner .hero-eyebrow { animation-delay: .1s; }
  .hero-inner h1 { animation-delay: .2s; }
  .hero-inner .hero-lead { animation-delay: .34s; }
  .hero-inner .hero-actions { animation-delay: .46s; }
  @keyframes bz-rise { to { opacity: 1; transform: translateY(0); } }
  .hero-scroll { opacity: 0; animation: bz-rise .8s .9s forwards; }
  .hero-scroll span { transform-origin: top; animation: bz-pulse 2s ease-in-out infinite; }
  @keyframes bz-pulse { 0%,100% { opacity: .4; transform: scaleY(.7); } 50% { opacity: 1; transform: scaleY(1); } }
}

/* ---- Mobile (sempre variantes *-mobile dos recortes) ---- */
@media (max-width: 760px) {
  .bz-nav { display: none; }
  .bz-burger { display: block; }
  .bz-bar { top: 16px; padding: 8px 10px 8px 18px; }
  .bz-mobile {
    position: absolute; top: 78px; left: 50%; transform: translateX(-50%); z-index: 49;
    width: min(420px, calc(100% - 32px)); background: rgba(255,255,255,.97); border-radius: 22px;
    box-shadow: 0 18px 50px rgba(13,31,19,.24); padding: 12px; flex-direction: column; gap: 2px;
  }
  .bz-mobile a { padding: 13px 16px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 700; }
  .bz-mobile a[aria-current="page"] { color: var(--bamboo); }
  .bz-mobile a.bz-cta { background: linear-gradient(135deg, var(--bamboo), var(--bamboo-light)); color: #fff; text-align: center; margin-top: 6px; }
  body.bz-menu-open .bz-mobile { display: flex; }

  .page-hero { padding-top: 96px; min-height: clamp(380px, 52vh, 520px); }
  .page-hero.hero-tall { padding-top: clamp(132px, 17vh, 180px); }
  .hero-veil, .page-hero.hero-tall .hero-veil {
    background:
      linear-gradient(180deg, rgba(9,22,14,.85) 0%, rgba(11,26,16,.66) 46%, rgba(11,26,16,.34) 78%, rgba(11,26,16,.18) 100%),
      radial-gradient(70% 36% at 82% 7%, rgba(230,195,106,.20), rgba(230,195,106,0) 60%);
  }
  .hero-inner h1 { font-size: clamp(30px, 8vw, 42px); max-width: none; }

  :root { --rip: clamp(34px, 9vw, 64px); } /* tiras de rasgo menores no mobile + crops *-m (sem granulação) */
  .sec-paper { padding: 64px clamp(20px, 6vw, 40px); }
  .sec-paper::before { background-image: url('brand/rip-cream-top-m.png'); }
  .sec-paper.to-photo::after { background-image: url('brand/rip-cream-bottom-m.png'); }
  .sec-white { padding: 64px clamp(20px, 6vw, 40px); }
  .sec-white::before { background-image: url('brand/rip-white-top-m.png'); }
  .sec-green { padding: 64px clamp(20px, 6vw, 40px) calc(64px + 2 * var(--rip)); }
  .sec-green::before { background-image: url('brand/rip-green-top-m.png'); }
  .bz-foot::before { background-image: url('brand/rip-white-top-m.png'); }
  .sec-photo { min-height: 320px; }
  .sec-photo .hero-veil { background: linear-gradient(180deg, rgba(9,22,14,.84) 0%, rgba(11,26,16,.42) 100%); }
  .sec-photo .sec-inner { padding: 96px 22px 96px; }

  .partners { flex-direction: column; padding: 8px; }
  .partner { border-right: none; border-bottom: 1.5px dashed rgba(89,107,88,.35); padding: 18px; }
  .partner:last-child { border-bottom: none; }
  .partner img { max-height: 64px; }
  .partner img.lg-vagalume, .partner img.lg-bambusc { height: auto; max-height: 64px; }

  .body-grid { grid-template-columns: 1fr; gap: 24px; }
  .finalidades-title { margin-top: 32px; }
  .eco-block { margin-top: 40px; }
  .sec-news { margin-top: 36px; }

  .bz-foot { padding-top: 80px; }
  .bz-foot .frow { flex-direction: column; align-items: flex-start; gap: 16px; }
}
