/* ============================================================
   CAFÉ VÔ JAIME — Design System
   ------------------------------------------------------------
   1. Tokens          5. Componentes (btn, card, badge, tier)
   2. Base            6. Seções
   3. Utilitários     7. Footer
   4. Header/Nav      8. Responsivo & acessibilidade
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Paleta oficial da marca */
  --vermelho: #cd001a;
  --vermelho-700: #a50016;
  --vermelho-tint: #f7dbdf;
  --amarelo: #fcbd2b;
  --amarelo-700: #c9930f;
  --amarelo-tint: #fdf0d4;
  --verde: #23652e;
  --verde-700: #184a21;
  --verde-tint: #e1e9df;
  --marrom: #6f4e37;
  --marrom-tint: #ece1d6;
  --marrom-escuro: #360a08;
  --rosa-tint: #ecd3cc;

  --creme: #f2dcb8;
  --branco: #f2f0ec;
  --paper: #fffdf9;

  /* Texto (derivado da própria paleta, sem cor nova) */
  --ink: #360a08;
  --text-2: #6a4f42;
  --line: #e0cfb4;

  /* Ação / assinatura — vermelho é reservado, não é "cor de todo CTA" */
  --accent: var(--vermelho);
  --accent-strong: var(--vermelho-700);
  --accent-soft: var(--vermelho-tint);
  --gold: var(--amarelo);

  /* Em fundo escuro */
  --dark-text: #f2ece1;
  --dark-text-2: #cdb9a0;
  --dark-line: rgba(242, 220, 184, 0.16);
  --dark-panel: rgba(242, 220, 184, 0.06);

  /* Estrutura — cantos quase retos, linguagem de etiqueta/impressão, sem sombra */
  --radius-sm: 3px;
  --radius: 4px;
  --radius-lg: 6px;
  --shadow-sm: none;
  --shadow-md: none;
  --hairline-shadow: 0 1px 0 rgba(54, 10, 8, 0.18);
  --section-pad: clamp(4rem, 8vw, 6.5rem);

  --font-display: "Bungee", "Arial Black", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ---------- 2. Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  position: relative;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-2);
  background: var(--branco);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Grão de papel muito sutil sobre toda a página — tira a frieza "digital perfeita" */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container { width: min(1180px, 92%); margin-inline: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.22;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  font-weight: 400;
}
h2 { font-size: clamp(1.55rem, 3.1vw, 2.15rem); letter-spacing: 0.01em; }
h3 { font-size: 1.05rem; letter-spacing: 0.01em; }

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

/* ---------- 3. Utilitários ---------- */

/* Selo editorial numerado — cada seção principal é numerada automaticamente */
body { counter-reset: section; }
.section { counter-increment: section; }

.eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55em;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--marrom);
  padding-bottom: 0.6em;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.section .eyebrow::before {
  content: counter(section, decimal-leading-zero) " —";
  color: var(--ink);
  font-weight: 800;
}
.section-dark .eyebrow::before, .section-forest .eyebrow::before { color: var(--gold); }
.eyebrow-signature { color: var(--accent); }
.eyebrow-light { color: var(--gold); border-bottom-color: var(--dark-line); }

.section { padding-block: var(--section-pad); }
.section-head { max-width: 40rem; margin: 0 0 3rem; text-align: left; }
.section-head p { color: var(--text-2); margin-top: 0.9rem; max-width: 58ch; font-size: 0.98rem; }

.section-dark { background: var(--marrom-escuro); }
.section-dark h2, .section-dark h3 { color: var(--branco); }
.section-dark p { color: var(--dark-text-2); }
.section-forest { background: var(--verde-700); }
.section-cream { background: var(--creme); }

/* ---------- 4. Topbar + Header ---------- */
.topbar {
  background: var(--marrom-escuro);
  color: var(--dark-text-2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.55rem 0;
}
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 2.5rem; }
.topbar strong { color: var(--gold); font-weight: 700; }
.topbar-sep { margin-inline: 0.6rem; opacity: 0.35; }
.topbar-right { display: flex; align-items: center; gap: 0.7rem; white-space: nowrap; }
.topbar-right .icon { width: 0.95em; height: 0.95em; color: var(--gold); }
.topbar-rule { width: 34px; height: 1px; background: rgba(242, 220, 184, 0.35); }
@media (max-width: 700px) {
  .topbar .container { justify-content: center; }
  .topbar-right { display: none; }
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--marrom-escuro) url("../assets/illustrations/header_novo.png") no-repeat center / cover;
  border-bottom: 1px solid var(--line);
}
.header.scrolled { box-shadow: var(--hairline-shadow); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.nav-left { display: flex; align-items: center; gap: 1.3rem; min-width: 0; }
.nav-end { display: flex; align-items: center; gap: 1.2rem; flex-shrink: 0; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 50px; width: auto; }
.nav-divider { width: 1px; height: 30px; background: var(--line); flex-shrink: 0; }

.nav-links { display: flex; align-items: center; gap: 1.15rem; flex-wrap: nowrap; }
.nav-links a {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--branco);
  padding: 0.3rem 0;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a:not(.nav-cta):hover { color: var(--accent); }

.nav-icons { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  background: none;
  border: 0;
  color: var(--branco);
  cursor: pointer;
}
.icon-btn .icon { width: 20px; height: 20px; }
.cart-badge {
  position: absolute;
  top: -7px; right: -9px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700 !important;
  padding: 0.6rem 1.15rem !important;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-strong); }
.nav-cta .icon { width: 0.9em; height: 0.9em; stroke-width: 2.4; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--branco); margin: 5px 0; border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(28, 10, 6, 0.55);
  z-index: 150;
  opacity: 0;
  transition: opacity 0.3s;
}
.nav-backdrop.show { opacity: 1; }

/* ---------- 5. Componentes ---------- */

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn-lg { padding: 1rem 2.1rem; font-size: 0.96rem; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }

.btn-ghost, .btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover, .btn-outline:hover { background: var(--ink); color: var(--creme); }

.btn-light { background: transparent; color: var(--branco); border-color: rgba(242, 220, 184, 0.4); }
.btn-light:hover { background: var(--branco); color: var(--marrom-escuro); border-color: var(--branco); }

.btn-whatsapp { background: transparent; color: var(--branco); border-color: rgba(242, 220, 184, 0.4); }
.btn-whatsapp:hover { background: var(--verde); color: #fff; border-color: var(--verde); }

/* Card base — hairline, sem sombra, sem "levitar" no hover */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--marrom-escuro); }

.cards-grid { display: grid; gap: 1.25rem; }

/* Tags / badges */
.line-tag, .content-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 0.8rem;
  border-radius: var(--radius-sm);
}

/* Níveis (tiers) */
.tier {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
}
.tier h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.tier-req { font-size: 0.84rem; color: var(--text-2); }
.tier-req em { font-style: normal; color: var(--accent); font-weight: 600; }
.tier-benefit { font-size: 0.92rem; margin-top: 0.4rem; color: var(--ink); }
.tier-benefit strong { font-size: 1.1rem; color: var(--accent); }
.tier-bronze { border-left-color: var(--marrom); }
.tier-bronze h4 { color: var(--marrom); }
.tier-silver { border-left-color: #a8a49c; }
.tier-silver h4 { color: #746a5c; }
.tier-gold { border-left-color: var(--gold); }
.tier-gold h4 { color: var(--amarelo-700); }

/* ---------- 6. Seções ---------- */

/* Hero — a cena de produto como fundo completo, texto real por cima */
.hero {
  position: relative;
  background: var(--creme) url("../assets/illustrations/hero_index.png") no-repeat right center / contain;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    var(--creme) 0%,
    var(--creme) 32%,
    rgba(242, 220, 184, 0.82) 44%,
    rgba(242, 220, 184, 0.35) 58%,
    rgba(242, 220, 184, 0) 72%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: clamp(3rem, 7vw, 4.75rem) 0 clamp(2.5rem, 6vw, 3.5rem);
}
.hero-copy { max-width: 34rem; }
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  letter-spacing: 0.005em;
  margin: 0.5rem 0 1.2rem;
}
.hero-lead {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 32rem;
  margin-bottom: 2rem;
}
.hero-lead strong { color: var(--ink); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.6rem; }
.hero-actions .icon { width: 0.85em; height: 0.85em; stroke-width: 2.4; }

.trust-row { display: flex; flex-wrap: wrap; gap: 1.8rem; }
.trust-row li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-left: 1.8rem;
  border-left: 1px solid var(--line);
}
.trust-row li:first-child { padding-left: 0; border-left: 0; }
.trust-row .icon { width: 22px; height: 22px; color: var(--marrom); flex-shrink: 0; }
.trust-row span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--marrom);
  line-height: 1.35;
}


/* Faixa de públicos */
.publics { position: relative; z-index: 5; margin-top: -2.75rem; }
.publics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: pub; }
.public-card {
  counter-increment: pub;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.2s;
}
.public-card:hover { border-color: var(--accent); }
.public-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  padding-bottom: 0.55rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  width: 2.3rem;
}
.public-num::before { content: counter(pub, decimal-leading-zero); }
.public-card h3 { font-size: 1.05rem; }
.public-card p { font-size: 0.9rem; color: var(--text-2); flex-grow: 1; }
.public-link { font-weight: 600; font-size: 0.88rem; color: var(--accent); }

/* Escada de linhas */
.ladder {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
}
.ladder span:not(.arrow) {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
}
.ladder span:last-child { background: var(--marrom-escuro); color: var(--gold); border-color: var(--marrom-escuro); }
.ladder .arrow { color: var(--marrom); font-size: 1rem; }

/* Linhas de café */
.lines-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.line-card { padding: 0; overflow: hidden; }
.line-card .line-body { padding: 1.6rem 1.75rem 1.9rem; }
.line-media {
  position: relative;
  height: 210px;
  background: var(--marrom-escuro);
  overflow: hidden;
}
.line-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.line-media.is-emblem { display: flex; align-items: center; justify-content: center; }
.line-media.is-emblem img.media-symbol { width: 96px; height: auto; opacity: 0.92; }
.line-media.is-tinted img { filter: sepia(0.35) saturate(1.5) hue-rotate(-18deg) brightness(0.85); }
.line-media.is-tinted::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(54, 10, 8, 0.28);
}
.line-card .line-tag { margin: 1.1rem 1.75rem 0; }
.line-card h3 { margin: 0.9rem 0 0.5rem; font-size: 1.2rem; }
.line-quote { font-style: italic; color: var(--marrom-escuro); font-size: 0.9rem; margin-bottom: 0.7rem; }
.line-card p:not(.line-quote) { font-size: 0.92rem; color: var(--text-2); }

.tag-roca     { background: var(--amarelo-tint); color: var(--amarelo-700); }
.tag-gourmet  { background: var(--accent-soft); color: var(--accent-strong); }
.tag-especial { background: var(--marrom-tint); color: var(--marrom); }
.tag-yabas    { background: var(--rosa-tint); color: var(--marrom-escuro); }
.tag-premium  { background: var(--marrom-escuro); color: var(--gold); }

.line-notes { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.1rem; }
.line-notes li {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--marrom);
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-sm);
}
.card.featured { border-color: var(--marrom-escuro); box-shadow: 0 0 0 1px var(--marrom-escuro); }

/* Comparador */
.compare-wrap { margin-top: 3.5rem; }
.compare-title { text-align: center; margin-bottom: 1.5rem; font-size: 1.05rem; }
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.compare-table { width: 100%; border-collapse: collapse; background: var(--paper); min-width: 640px; }
.compare-table th {
  background: var(--marrom-escuro);
  color: var(--branco);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-align: left;
  padding: 0.9rem 1.2rem;
}
.compare-table td {
  padding: 0.85rem 1.2rem;
  font-size: 0.9rem;
  color: var(--text-2);
  border-bottom: 1px solid var(--line);
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:nth-child(even) { background: var(--branco); }
.compare-table td strong { color: var(--ink); }

/* Planos */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  margin-top: 3.4rem;
}
.plan {
  position: relative;
  background: var(--dark-panel);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, background 0.2s;
}
.plan:hover { border-color: rgba(252, 189, 43, 0.5); background: rgba(242, 220, 184, 0.1); }
.plan h3 { color: var(--gold); font-size: 1.1rem; }
.plan-price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--branco);
  margin: 0.6rem 0 0.3rem;
  letter-spacing: 0;
}
.plan-price span { font-family: var(--font-body); font-size: 0.95rem; font-weight: 400; color: var(--dark-text-2); letter-spacing: 0; }
.plan-desc { font-size: 0.9rem; margin-bottom: 1.3rem; }
.plan ul { flex-grow: 1; margin-bottom: 1.7rem; }
.plan ul li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.7rem;
  font-size: 0.9rem;
  color: var(--dark-text);
}
.plan ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72rem;
  width: 15px; height: 15px;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.plan-featured {
  background: rgba(252, 189, 43, 0.1);
  border-color: var(--gold);
}
.plan-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--marrom-escuro);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.duration-strip {
  margin-top: 2.75rem;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  padding: 1.6rem 2rem;
  text-align: center;
}
.duration-title { font-weight: 600; color: var(--gold) !important; margin-bottom: 1rem; font-size: 0.95rem; }
.duration-items { display: flex; justify-content: center; flex-wrap: wrap; gap: 3rem; }
.duration-items div { display: flex; flex-direction: column; }
.duration-items strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--branco); }
.duration-items span { font-size: 0.84rem; }

/* Clube do Vô */
.club-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.25rem; align-items: start; }
.club-how h3 { margin-bottom: 1.2rem; }
.steps { counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0.6rem 0 0.6rem 3rem;
  font-size: 0.94rem;
  color: var(--text-2);
}
.steps li strong { color: var(--ink); }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0.5rem;
  width: 2rem; height: 2rem;
  background: var(--creme);
  border: 1.5px solid var(--accent);
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.conversion {
  margin-top: 1.3rem;
  background: var(--creme);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.2rem;
  font-size: 0.94rem;
  color: var(--marrom);
}
.conversion strong { color: var(--ink); }

.club-tiers { display: grid; gap: 1rem; }
.circle-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }

.seasonal { margin-top: 3.5rem; text-align: center; }
.seasonal h3 { margin-bottom: 0.6rem; }
.seasonal > p { color: var(--text-2); max-width: 46rem; margin: 0 auto 1.4rem; }
.seasonal-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.seasonal-tags span {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--marrom);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-sm);
}

/* Círculo Vô Jaime */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pillar-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  display: block;
  padding-bottom: 0.5rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid rgba(54, 10, 8, 0.2);
  width: 2.4rem;
}
.pillar p { font-size: 0.92rem; color: var(--text-2); margin-top: 0.5rem; }

.example-box {
  margin-top: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.8rem;
  font-size: 0.94rem;
  color: var(--text-2);
}
.example-box strong { color: var(--ink); }

/* Acessórios */
.acc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 0.8rem; }
.acc-item {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem 1rem 2.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--marrom);
  transition: border-color 0.2s;
}
.acc-item::before {
  content: "";
  position: absolute;
  left: 1.1rem; top: 50%;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
}
.acc-item:hover { border-color: var(--accent); }
.acc-extra { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 2.2rem; }
.chip-link {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}
.chip-link:hover { background: var(--ink); color: var(--creme); }

/* B2B */
.b2b-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center; }
.b2b-copy h2 { margin-bottom: 1rem; }
.b2b-list { margin: 1.6rem 0 2rem; }
.b2b-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.9rem;
  font-size: 0.95rem;
  color: var(--dark-text-2);
}
.b2b-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.85rem;
  width: 16px; height: 16px;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.b2b-list strong { color: var(--branco); }

.b2b-packs {
  background: var(--dark-panel);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  padding: 1.9rem;
}
.b2b-packs h3 { margin-bottom: 1.2rem; color: var(--gold); font-size: 1rem; }
.pack {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--dark-line);
}
.pack:last-child { border-bottom: 0; padding-bottom: 0; }
.pack:first-of-type { padding-top: 0; }
.pack-size {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  width: 62px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.pack p { font-size: 0.87rem; }

.b2b-journey { margin-top: 3.2rem; text-align: center; }
.journey-label { font-weight: 600; color: var(--gold) !important; margin-bottom: 1.1rem; font-size: 0.95rem; }
.journey-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.journey-steps span {
  display: inline-flex;
  align-items: center;
  color: var(--dark-text);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--dark-line);
}
.journey-steps span:not(:last-child)::after {
  content: "";
  width: 14px; height: 14px;
  margin-left: -0.55rem;
  margin-right: -1.05rem;
  position: relative;
  left: 1.35rem;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.journey-steps { gap: 1.6rem; }

/* História */
.story-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3.5rem; align-items: center; }
.story-visual {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
}
.story-img { border-radius: var(--radius-sm); aspect-ratio: 4/5; object-fit: cover; }
.story-caption {
  margin-top: 0.8rem;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--marrom);
}
.story-copy h2 { margin-bottom: 1.2rem; }
.story-copy p { color: var(--text-2); margin-bottom: 1rem; }
.story-copy strong { color: var(--ink); }
.story-stats { display: flex; gap: 2.75rem; margin: 1.9rem 0 2.2rem; flex-wrap: wrap; }
.story-stats div { display: flex; flex-direction: column; }
.story-stats strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); letter-spacing: 0; }
.story-stats span { font-size: 0.82rem; color: var(--text-2); max-width: 9rem; }

/* Conteúdo / Escola */
.content-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.content-card { display: flex; flex-direction: column; align-items: flex-start; }
.content-card h3 { margin: 0.85rem 0 0.5rem; font-size: 1rem; }
.content-card p { font-size: 0.9rem; color: var(--text-2); margin-bottom: 1rem; flex-grow: 1; }
.content-tag { background: var(--verde-tint); color: var(--verde-700); }
.text-link { font-weight: 600; font-size: 0.88rem; color: var(--accent); transition: color 0.2s; }
.text-link:hover { color: var(--accent-strong); }

/* Área de membros — página "em breve" */
.soon {
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--gold);
  background: var(--marrom-escuro) url("../assets/illustrations/hero_membros.png") no-repeat right center / contain;
}
.soon .container { position: relative; z-index: 1; }
.soon-copy { max-width: 38rem; }

/* Área do assinante: foto mais clara, sem degradê embutido — precisa de véu próprio */
.soon.soon-membros {
  background-image: url("../assets/illustrations/hero_membros_atual.png");
}
.soon.soon-membros::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to right,
    var(--marrom-escuro) 0%,
    var(--marrom-escuro) 28%,
    rgba(54, 10, 8, 0.78) 42%,
    rgba(54, 10, 8, 0.32) 58%,
    rgba(54, 10, 8, 0) 74%
  );
}

/* Clube do Vô: mesma lógica — foto clara sem degradê embutido */
.soon.soon-clube {
  background-image: url("../assets/illustrations/hero_clube.png");
}
.soon.soon-clube::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to right,
    var(--marrom-escuro) 0%,
    var(--marrom-escuro) 28%,
    rgba(54, 10, 8, 0.78) 42%,
    rgba(54, 10, 8, 0.32) 58%,
    rgba(54, 10, 8, 0) 74%
  );
}
.soon-badge {
  display: block;
  width: fit-content;
  margin-bottom: 1.2rem;
  padding: 0.32rem 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--marrom-escuro);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.soon h1 {
  color: var(--branco);
  font-size: clamp(1.7rem, 4.2vw, 2.7rem);
  margin-bottom: 1.2rem;
}
.soon-lead { color: var(--dark-text-2); max-width: 34rem; margin-bottom: 2rem; }
.soon-lead strong { color: var(--branco); }
.soon .hero-actions { margin-bottom: 0; }

/* CTA final */
.cta-final {
  background: var(--marrom-escuro);
  border-top: 3px solid var(--gold);
  padding: var(--section-pad) 0;
  text-align: center;
}
.cta-inner h2 { color: var(--branco); font-size: clamp(1.6rem, 3.4vw, 2.35rem); margin-bottom: 1.1rem; }
.cta-inner > p { color: var(--dark-text-2); max-width: 38rem; margin: 0 auto 2.2rem; }
.cta-final .hero-actions { justify-content: center; }
.cta-note { font-size: 0.8rem; color: var(--dark-text-2); opacity: 0.75; margin-top: 2.2rem; }

/* ---------- 7. Footer ---------- */
.footer { background: var(--marrom-escuro); color: var(--dark-text-2); padding-top: 4rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand img { height: 30px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.87rem; }
.hashtag-footer { font-family: var(--font-display); text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.03em; color: var(--gold); margin-top: 0.6rem; }
.footer h4 {
  color: var(--branco);
  font-family: var(--font-body);
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a { font-size: 0.87rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--dark-line);
  text-align: center;
  padding: 1.4rem 0;
  font-size: 0.78rem;
  opacity: 0.7;
}

/* ---------- 8. Responsivo & acessibilidade ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media (max-width: 1024px) {
  .hero-copy { max-width: 30rem; }
  .hero-inner { min-height: 560px; }
  .publics-grid { grid-template-columns: 1fr; }
  .publics { margin-top: -1.75rem; }
  .public-num { margin-inline: auto; }
  .public-card { text-align: center; align-items: center; }
  .club-grid, .b2b-grid, .story-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .pillars-grid, .circle-tiers { grid-template-columns: 1fr; }
  .pillar-num { margin-inline: auto; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .story-visual { max-width: 320px; margin-inline: auto; }
}

@media (max-width: 1360px) {
  .nav-divider { display: none; }
  .nav-toggle { display: block; position: relative; z-index: 300; }
  .nav-icons { display: none; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100dvh;
    width: min(300px, 82vw);
    background: var(--marrom-escuro);
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    transition: right 0.32s ease;
    z-index: 200;
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--branco); font-size: 1rem; }
  .nav-links a:not(.nav-cta):hover { color: var(--gold); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .duration-items { gap: 1.75rem; }
  .journey-steps { gap: 0.5rem; }
  .journey-steps span:not(:last-child)::after { display: none; }
  .story-stats { gap: 1.75rem; }
}

@media (max-width: 700px) {
  .hero-inner { min-height: 0; }
  .hero::before { background: rgba(242, 220, 184, 0.9); }
  /* Tela estreita: "contain" deixaria a imagem numa faixa fina. Volta a
     preencher tudo (cover); o véu acima já esconde o que for cortado. */
  .hero { background-size: cover; background-position: center 58%; }

  /* Mesmo caso do hero: em tela estreita "contain" vira uma faixa fina.
     Volta a preencher tudo e escurece por cima pra manter o texto legível. */
  .soon { background-size: cover; background-position: 72% 55%; }
  .soon::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(54, 10, 8, 0.55);
  }
  /* Foto clara e sem véu embutido — na tela estreita o degradê não cobre
     o texto inteiro, então usa um véu escuro uniforme, como o genérico acima. */
  .soon.soon-membros { background-position: 78% 45%; }
  .soon.soon-membros::before { background: rgba(54, 10, 8, 0.6); }
  .soon.soon-clube { background-position: 68% 35%; }
  .soon.soon-clube::before { background: rgba(54, 10, 8, 0.6); }
}
