:root {
  --preto: #14140f;
  --preto-2: #1c1c17;
  --texto-claro: #f6f4ec;
  --verde: #00843d;
  --verde-escuro: #00602c;
  --vermelho: #ce2b37;
  --vermelho-escuro: #a3222c;
  --creme: #fdfdfb;
  --texto: #14140f;
  --cinza: #6b6b6b;
  --borda: #e6e2da;
  --borda-escura: rgba(255, 255, 255, 0.12);
  --amarelo: #b8860b;
  --amarelo-bg: #fdf3d9;
  --verde-bg: #e1f3e8;
  --vermelho-bg: #fbe7e8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--texto);
  background: var(--creme);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.reveal.reveal-visivel { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* NAV */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; max-width: 1080px; margin: 0 auto;
}
.logo { font-weight: 800; font-size: 20px; display: flex; align-items: center; gap: 8px; transition: opacity 0.15s ease; }
a.logo:hover { opacity: 0.75; }
.brand-name { font-family: 'Fraunces', serif; font-weight: 700; letter-spacing: -0.01em; }
.logo-badge {
  height: 32px; width: auto;
  display: inline-block; object-fit: contain;
}
.nav-cta {
  background: var(--verde-escuro); color: #fff; padding: 11px 22px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-link-secondary { font-size: 14px; color: var(--cinza); font-weight: 600; }

@media (max-width: 640px) {
  nav { flex-wrap: wrap; justify-content: center; row-gap: 12px; padding: 18px 20px; }
  .logo { font-size: 17px; }
  .logo-badge { height: 26px; }
  .nav-links { width: 100%; justify-content: center; flex-wrap: wrap; gap: 10px 16px; }
  .nav-link-secondary { font-size: 13px; }
  .nav-cta { font-size: 13px; padding: 9px 18px; }
  .legal table { table-layout: fixed; overflow-wrap: anywhere; }
}

/* Cabeçalho compartilhado das páginas de fundo claro. */
nav.nav-float {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  max-width: 100%; padding: 22px max(24px, calc((100vw - 1032px) / 2));
  background: #3b2a23; box-shadow: none; border-radius: 0;
  transition: top 0.35s ease, max-width 0.35s ease, padding 0.35s ease,
              background 0.35s ease, box-shadow 0.35s ease;
}
nav.nav-float.nav-condensed {
  top: 14px; max-width: 760px; padding: 9px 22px;
  background: #3b2a23;
  border-radius: 999px; box-shadow: 0 16px 34px rgba(20,20,15,0.14);
}
nav.nav-float.nav-condensed .nav-link-secondary { font-size: 13px; }
nav.nav-float.nav-condensed .logo { font-size: 16px; }
nav.nav-float.nav-condensed .nav-links { gap: 14px; }
nav.nav-float .logo,
nav.nav-float .nav-link-secondary { color: var(--texto-claro); }
nav.nav-float .brand-name { white-space: nowrap; }
nav.nav-float a:focus-visible {
  outline: 2px solid var(--texto-claro); outline-offset: 5px; border-radius: 4px;
}
@media (max-width: 760px) {
  nav.nav-float { padding: 18px 20px; }
  nav.nav-float.nav-condensed {
    top: 0; max-width: 100%; border-radius: 0; padding: 9px 20px;
    box-shadow: none; border-bottom: 0;
  }
}

/* HERO SHELL (fundo escuro só na home, em volta da nav + hero) */
.hero-shell { background: var(--preto); color: var(--texto-claro); padding-bottom: 4px; }
.hero-shell nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: transparent; box-shadow: none; border-radius: 0;
  transition: top 0.35s ease, max-width 0.35s ease, padding 0.35s ease,
              background 0.35s ease, box-shadow 0.35s ease;
}
.hero-shell .logo,
.hero-shell .nav-link-secondary { color: var(--texto-claro); transition: color 0.25s ease; }
.hero-shell .nav-cta { background: var(--verde); }

.hero-shell nav.nav-condensed {
  top: 14px; max-width: 760px; padding: 9px 22px;
  background: rgba(253, 253, 251, 0.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 999px; box-shadow: 0 16px 38px rgba(0,0,0,0.28);
}
.hero-shell nav.nav-condensed .logo,
.hero-shell nav.nav-condensed .nav-link-secondary { color: var(--texto); }
.hero-shell nav.nav-condensed .logo { font-size: 16px; }
.hero-shell nav.nav-condensed .nav-links { gap: 14px; }
.hero-shell nav.nav-condensed .nav-link-secondary { font-size: 13px; }
.hero-shell nav.nav-condensed .nav-cta { padding: 8px 16px; font-size: 13px; }

@media (max-width: 760px) {
  .hero-shell nav.nav-condensed {
    top: 0; max-width: 100%; border-radius: 0; padding: 18px 20px;
    background: rgba(20,20,15,0.92); box-shadow: none;
  }
  .hero-shell nav.nav-condensed .logo,
  .hero-shell nav.nav-condensed .nav-link-secondary { color: var(--texto-claro); }
}

/* HERO */
.hero { position: relative; padding: 108px 0 0; overflow: hidden; }
@media (max-width: 640px) {
  .hero { padding-top: 150px; padding-bottom: 56px; }
}

/* O mapa "vaza" pra fora do container de 1080px e ocupa toda a largura restante
   até a borda da tela — só o texto respeita o alinhamento do container do site. */
.hero-flex { position: relative; isolation: isolate; display: flex; align-items: stretch; min-height: clamp(620px, 88vh, 900px); }
.hero-copy-col {
  position: relative; z-index: 2; width: 56%; display: flex; align-items: center; box-sizing: border-box;
  padding-left: max(24px, calc((100vw - 1080px) / 2));
  padding-right: 40px; padding-bottom: 48px; pointer-events: none;
}
.hero-copy { pointer-events: auto; text-shadow: 0 2px 12px var(--preto), 0 0 24px var(--preto); }
@media (max-width: 900px) {
  .hero-flex { flex-direction: column; }
  .hero-copy-col { width: 100%; padding: 32px 24px 48px; justify-content: center; text-align: center; }
  .hero-copy .cta-row { justify-content: center; }
  .hero-copy h1, .hero-copy p.sub { margin-left: auto; margin-right: auto; }
}

.hero h1 {
  font-family: 'Fraunces', serif; font-size: clamp(34px, 4.6vw, 54px); font-weight: 600; max-width: 560px; margin: 0 0 22px;
  line-height: 1.12; letter-spacing: -0.01em;
}
.hero h1 span { color: #8fd6a4; }
.hero p.sub {
  font-size: 18px; color: #d8d6cc; max-width: 500px; margin: 0 0 32px;
}
.btn-primary, .btn-submit {
  display: inline-block; background: var(--verde); color: #fff; font-weight: 700;
  padding: 15px 30px; border-radius: 999px; font-size: 15.5px; box-shadow: none;
  border: none; cursor: pointer; transition: background 0.15s ease, transform 0.15s ease;
}
.btn-primary:hover, .btn-submit:hover { background: var(--verde-escuro); transform: translateY(-1px); }
.btn-secondary {
  display: inline-block; background: transparent; color: var(--texto-claro); font-weight: 700;
  padding: 13px 28px; border-radius: 999px; font-size: 15px; border: 1.5px solid var(--borda-escura); cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.hero-shell .btn-secondary:hover { border-color: var(--texto-claro); background: rgba(255,255,255,0.06); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-line { margin-top: 22px; font-size: 13.5px; color: #a8a698; }

/* Um único canvas de ponta a ponta, atrás do texto e abaixo da navegação. */
.hero-visual { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; min-width: 0; }
.hero-visual canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.hero-visual canvas.arrastando { cursor: grabbing; }
.hero-visual .italia-fallback { position: absolute; top: 0; right: 3%; width: auto; max-width: 100%; height: 100%; object-fit: contain; opacity: .8; }
@media (max-width: 900px) {
  .hero-flex { min-height: 680px; }
  .hero-visual { opacity: .32; }
  .hero-visual .italia-fallback { left: 0; right: 0; width: 100%; }
}

/* MOCKUP DO PAINEL (Kanban) */
.hero-mock {
  position: relative; max-width: 640px; margin: 40px auto 0; background: #fff; border-radius: 20px;
  padding: 16px 22px 22px; box-shadow: 0 30px 70px rgba(0,0,0,0.16); text-align: left;
}
.hero-mock-titlebar { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.hero-mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--borda); }
.hero-mock-dot.red { background: #f66057; }
.hero-mock-dot.yellow { background: #f6bd57; }
.hero-mock-dot.green { background: #61c454; }
.hero-mock-titletext {
  margin-left: 6px; font-size: 12px; font-weight: 700; color: var(--cinza);
}
.hero-mock-cols { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hero-mock-col { background: #f6f4ec; border-radius: 12px; padding: 10px; }
.hero-mock-col-label {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--cinza); margin-bottom: 8px; padding: 0 2px;
}
.hero-mock-bar {
  height: 34px; border-radius: 8px; background: #fff; border: 1px solid var(--borda); margin-bottom: 8px;
  display: flex; align-items: center; gap: 7px; padding: 0 8px; overflow: hidden;
}
.hero-mock-bar.acento { border-color: transparent; background: var(--verde-bg); }
.hero-mock-bar.alerta { border-color: transparent; background: var(--vermelho-bg); }
.hero-mock-avatar {
  flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--preto-2);
  color: var(--texto-claro); font-size: 8px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.hero-mock-bar-text { font-size: 11.5px; font-weight: 600; color: var(--texto); white-space: nowrap; }

.hero-floating-badge {
  position: absolute; right: -14px; bottom: -16px; background: #fff; color: var(--verde-escuro);
  font-size: 12px; font-weight: 700; padding: 10px 16px; border-radius: 12px;
  box-shadow: 0 16px 30px rgba(0,0,0,0.16); transform: rotate(-4deg);
}
@media (max-width: 640px) {
  .hero-floating-badge { display: none; }
}

.hero-mock-ghost {
  position: absolute; height: 34px; width: 28.4%; border-radius: 8px;
  background: var(--vermelho-bg); box-shadow: 0 14px 26px rgba(20,20,15,0.18);
  opacity: 0; pointer-events: none; will-change: left, top, transform, opacity;
  animation: hero-ghost-drag 6s ease-in-out infinite;
}
.hero-mock-cursor {
  position: absolute; width: 20px; height: 20px; color: var(--preto);
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.3)); pointer-events: none;
  will-change: left, top, transform;
  animation: hero-cursor-drag 6s ease-in-out infinite;
}

@keyframes hero-ghost-drag {
  0%, 10% { left: 1.7%; top: 45%; opacity: 0; transform: scale(1); }
  16% { left: 1.7%; top: 45%; opacity: 1; transform: scale(1.05); }
  45%, 55% { left: 35.8%; top: 69.6%; opacity: 1; transform: scale(1.05); }
  62%, 100% { left: 35.8%; top: 69.6%; opacity: 0; transform: scale(1); }
}
@keyframes hero-cursor-drag {
  0%, 10% { left: 21.6%; top: 55%; transform: scale(1); }
  13% { transform: scale(0.82); }
  16% { left: 21.6%; top: 55%; transform: scale(1); }
  45%, 55% { left: 55.7%; top: 79.6%; transform: scale(1); }
  58% { transform: scale(0.82); }
  62%, 96% { left: 55.7%; top: 79.6%; transform: scale(1); }
  100% { left: 21.6%; top: 55%; }
}

@media (max-width: 700px) {
  .hero-mock-cols { grid-template-columns: 1fr; }
  .hero-mock-ghost, .hero-mock-cursor { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mock-ghost, .hero-mock-cursor { animation: none; opacity: 0; }
}

/* SECTIONS */
.section { padding: 80px 24px; }
.section.section-dark { background: var(--preto); color: var(--texto-claro); }
.section h2 {
  font-family: 'Fraunces', serif; font-size: clamp(28px, 3.5vw, 38px); font-weight: 600; text-align: center; margin-bottom: 14px;
}
.section.section-dark h2 { color: var(--texto-claro); }
.section p.lead {
  text-align: center; color: var(--cinza); max-width: 600px; margin: 0 auto 44px; font-size: 17px;
}
.section.section-dark p.lead { color: #c6c4b8; }

/* Badge de época + linha da travessia */
.era-badge {
  display: inline-block; background: var(--verde-bg); color: var(--verde-escuro);
  font-size: 12.5px; font-weight: 700; padding: 6px 18px; border-radius: 999px; margin-bottom: 16px;
}
.journey-line { display: flex; align-items: center; justify-content: center; max-width: 320px; margin: 36px auto 6px; }
.journey-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--verde-escuro); flex-shrink: 0; }
.journey-track {
  flex: 1; height: 2px; margin: 0 8px;
  background: repeating-linear-gradient(to right, var(--borda) 0 6px, transparent 6px 13px);
}
.journey-labels {
  display: flex; justify-content: space-between; max-width: 320px; margin: 0 auto;
  font-size: 11.5px; font-weight: 700; color: var(--cinza); text-transform: uppercase; letter-spacing: 0.06em;
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 800px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--borda); border-radius: 16px; padding: 30px;
}
.card .icon-line {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
}
.card .icon-line svg { width: 26px; height: 26px; display: block; }
.icon-line--verde { background: var(--verde-bg); color: var(--verde-escuro); }
.icon-line--amarelo { background: var(--amarelo-bg); color: var(--amarelo); }
.icon-line--vermelho { background: var(--vermelho-bg); color: var(--vermelho-escuro); }
.card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--cinza); font-size: 15px; }

.section-alt { background: #f6f4ec; }

/* STEPS */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps::before {
  content: ''; position: absolute; top: 19px; left: 16.6%; right: 16.6%; height: 2px; z-index: 0;
  background: repeating-linear-gradient(to right, var(--borda) 0 8px, transparent 8px 16px);
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }
.step { position: relative; padding-left: 8px; }
.step-num {
  position: relative; z-index: 1; width: 38px; height: 38px; border-radius: 999px; background: var(--preto); color: var(--texto-claro);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px;
  margin-bottom: 18px; font-family: 'Fraunces', serif;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--cinza); font-size: 15px; }

/* PULL QUOTE (substitui a seção do fundador com ilustração) */
.pull-quote { max-width: 700px; margin: 0 auto; text-align: center; }
.pull-quote p.quote {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(21px, 2.6vw, 27px);
  line-height: 1.5; color: var(--texto); margin-bottom: 22px;
}
.pull-quote .signature { color: var(--cinza); font-size: 14px; }

/* FORM (waitlist) */
.form-section { background: var(--preto); color: var(--texto-claro); padding: 88px 24px; }
.form-section h2 { color: var(--texto-claro); }
.form-section p.lead { color: #c6c4b8; }
form {
  max-width: 520px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 34px;
  color: var(--texto);
}
.field { margin-bottom: 18px; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
input, select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--borda); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: #fdfdfb;
}
input:focus, select:focus { outline: 2px solid var(--verde); }
.btn-submit { width: 100%; background: var(--verde); margin-top: 8px; }
.btn-submit:hover { background: var(--verde-escuro); }
.form-note { font-size: 12.5px; color: var(--cinza); text-align: center; margin-top: 12px; }
.thanks { display: none; text-align: center; padding: 20px; font-weight: 600; color: var(--verde); }

footer { padding: 36px 24px; text-align: center; color: var(--cinza); font-size: 13px; background: var(--creme); }
.footer-brand-wrap { position: relative; display: inline-block; }
.footer-brand-canvas { position: absolute; left: 0; top: 0; pointer-events: none; }

/* ===== TRIAGEM (quiz) ===== */
.quiz-wrap { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--borda); border-radius: 20px; padding: 40px; }
.progress-track { height: 6px; background: var(--borda); border-radius: 4px; margin-bottom: 32px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--verde); border-radius: 4px; transition: width 0.3s ease; width: 20%; }
.quiz-step-label { font-size: 13px; color: var(--cinza); font-weight: 600; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.quiz-question { font-family: 'Fraunces', serif; font-size: 23px; font-weight: 600; margin-bottom: 26px; line-height: 1.35; }
.option-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.option-btn {
  text-align: left; padding: 16px 18px; border: 1.5px solid var(--borda); border-radius: 14px;
  background: #fdfdfb; cursor: pointer; font-size: 15.5px; font-family: inherit; color: var(--texto);
  transition: border-color 0.15s, background 0.15s;
}
.option-btn:hover { border-color: var(--verde); background: var(--verde-bg); }
.option-btn.selected { border-color: var(--verde); background: var(--verde-bg); font-weight: 700; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; }
.quiz-back { color: var(--cinza); font-size: 14px; font-weight: 600; cursor: pointer; background: none; border: none; font-family: inherit; }
.quiz-back:disabled { visibility: hidden; }

.result-banner { border-radius: 16px; padding: 26px; margin-bottom: 24px; }
.result-banner.ok { background: var(--verde-bg); border: 1px solid var(--verde); }
.result-banner.warn { background: var(--amarelo-bg); border: 1px solid var(--amarelo); }
.result-banner.no { background: var(--vermelho-bg); border: 1px solid var(--vermelho); }
.result-banner h3 { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.result-banner p { font-size: 15px; color: var(--texto); }

.flag-box { background: var(--amarelo-bg); border-left: 4px solid var(--amarelo); padding: 14px 16px; border-radius: 8px; margin-bottom: 12px; font-size: 14.5px; }

.checklist { list-style: none; margin: 16px 0 24px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--borda); font-size: 15px;
}
.checklist li:last-child { border-bottom: none; }
input[type="checkbox"] {
  width: 18px; min-width: 18px; height: 18px; padding: 0; flex-shrink: 0;
  accent-color: var(--verde);
}
.checklist li input[type="checkbox"] { margin-top: 4px; }
.checklist li span { min-width: 0; }

.disclaimer {
  background: #f4f2ec; border: 1px dashed var(--cinza); border-radius: 12px; padding: 16px 18px;
  font-size: 13px; color: var(--cinza); margin: 20px 0;
}
.disclaimer strong { color: var(--texto); }

.route-box { background: var(--creme); border: 1px solid var(--borda); border-radius: 14px; padding: 20px; margin-bottom: 20px; }
.route-box h4 { font-size: 15px; margin-bottom: 8px; }
.route-box p { font-size: 14.5px; color: var(--cinza); }

/* ===== PREÇOS ===== */
.pricing-toggle {
  display: flex; justify-content: center; gap: 4px; margin: 0 auto 48px; background: #f0eee6;
  border-radius: 999px; padding: 4px; width: fit-content;
}
.pricing-toggle button {
  border: none; background: transparent; padding: 9px 20px; border-radius: 999px; font-weight: 700;
  font-size: 14px; font-family: inherit; color: var(--cinza); cursor: pointer;
}
.pricing-toggle button.ativo { background: var(--preto); color: var(--texto-claro); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 1000px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
  background: #fff; border: 1.5px solid var(--borda); border-radius: 18px; padding: 28px 24px;
  display: flex; flex-direction: column;
}
.pricing-card.destaque { border-color: var(--verde-escuro); box-shadow: 0 12px 30px rgba(0,96,44,0.12); }
.pricing-badge {
  align-self: flex-start; background: var(--verde-bg); color: var(--verde-escuro); font-size: 12px;
  font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.pricing-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.pricing-limite { font-size: 13.5px; color: var(--cinza); margin-bottom: 18px; }
.pricing-price { font-family: 'Fraunces', serif; font-size: 34px; font-weight: 600; margin-bottom: 2px; }
.pricing-price .periodo { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: var(--cinza); }
.pricing-anual-nota { font-size: 12.5px; color: var(--verde-escuro); font-weight: 600; margin-bottom: 20px; min-height: 16px; }
.pricing-card .btn-primary, .pricing-card .btn-secondary { width: 100%; text-align: center; margin-top: auto; }
.pricing-erro { text-align: center; color: var(--vermelho); font-size: 13.5px; margin-top: 16px; display: none; }
