/* Entendendo a Aliança - estilos compartilhados (VERSÃO PROVISÓRIA)
   Paleta: off-white quente, verde da jaqueta, rosa-terracota suave, areia e sálvia.
   Tipos: Fraunces (títulos) e Inter (corpo). Mobile first. */

:root {
  --paper: #FBF7F1;
  --paper-2: #FFFDF9;
  --ink: #233029;
  --ink-soft: #55625A;
  --green: #34543B;
  --green-deep: #22392A;
  --green-tint: #E1E9DC;
  --rose: #C4806F;
  --rose-deep: #9E5A4A;
  --rose-tint: #F5E2DA;
  --sand: #F1E6D4;
  --sand-deep: #E4D3B8;
  --line: #E3D9C9;
  --focus: #9E5A4A;

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

  --r-panel: 22px;
  --r-ctrl: 12px;
  --gutter: 20px;
  --bar-h: 34px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  padding-top: var(--bar-h);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 80, "opsz" 72;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--green-deep);
}
h1 { font-size: clamp(2rem, 7.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 5.4vw, 2.4rem); }
h3 { font-size: 1.3rem; font-variation-settings: "SOFT" 80, "opsz" 24; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.small { font-size: .9rem; color: var(--ink-soft); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- faixa provisória ---------- */
.proto-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--bar-h);
  display: flex; align-items: center; justify-content: center;
  background: var(--rose-deep); color: #fff;
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.read { max-width: 680px; margin: 0 auto; }
.band { padding: 56px 0; }
.band-sand { background: var(--sand); }
.band-sage { background: var(--green-tint); }
.band-rose { background: var(--rose-tint); }
.band-green { background: var(--green-deep); color: #EEF1EA; }
.band-green h2, .band-green h3 { color: #FBF7F1; }
.band-green a { color: #F5E2DA; }
@media (min-width: 860px) { .band { padding: 88px 0; } }

/* ---------- cabeçalho simples ---------- */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-deep); font-family: var(--serif); font-size: 1.12rem; font-weight: 500; }
.brand img { width: 30px; height: 30px; }
.head-link { font-size: .92rem; font-weight: 500; text-decoration: none; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 14px 28px;
  border: 2px solid transparent; border-radius: 999px;
  background: var(--green); color: #fff;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; text-align: center;
  cursor: pointer; transition: background .2s, transform .1s;
}
.btn:hover { background: var(--green-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-rose { background: var(--rose-deep); }
.btn-rose:hover { background: #874a3c; }
.btn-ghost { background: transparent; color: var(--green-deep); border-color: var(--green); }
.btn-ghost:hover { background: var(--green-tint); color: var(--green-deep); }
.btn-light { background: var(--paper); color: var(--green-deep); }
.btn-light:hover { background: #fff; color: var(--green-deep); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.cta-note { margin-top: 10px; font-size: .88rem; color: var(--ink-soft); }
.band-green .cta-note { color: #C9D3C6; }

/* ---------- etiquetas ---------- */
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .01em;
  background: var(--rose-tint); color: var(--rose-deep); border: 1px dashed var(--rose);
  vertical-align: middle;
}
.tag-green { background: var(--green-tint); color: var(--green); border: 1px solid #c3d2bd; }

/* ---------- foto em arco (assinatura visual) ---------- */
.arch {
  position: relative; border-radius: 999px 999px 26px 26px; overflow: hidden;
  background: var(--sand); aspect-ratio: 4 / 5;
  box-shadow: 14px 14px 0 var(--green-tint);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; }
.arch-rose { box-shadow: 14px 14px 0 var(--rose-tint); }

/* ---------- hero de páginas de venda ---------- */
.hero { padding: 40px 0 56px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero .lead { max-width: 34em; }
.hero-media { max-width: 360px; width: 86%; margin: 0 auto; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
@media (min-width: 860px) {
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 64px; }
  .hero-actions { flex-direction: row; align-items: center; }
  .hero-media { width: 100%; }
}

/* capa de produto (e-book) */
.cover {
  aspect-ratio: 3 / 4; border-radius: 6px 18px 18px 6px; padding: 28px 24px;
  background: var(--green); color: #F7F1E6; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: inset 10px 0 0 rgba(0,0,0,.14), 16px 16px 0 var(--rose-tint);
  max-width: 300px; margin: 0 auto;
}
.cover .cover-t { font-family: var(--serif); font-size: 2.6rem; line-height: 1; font-variation-settings: "SOFT" 100, "opsz" 144; }
.cover .cover-s { font-size: .95rem; line-height: 1.4; opacity: .92; }
.cover .cover-a { font-size: .82rem; opacity: .8; }
.cover-ring { width: 54px; height: 34px; }

/* ---------- blocos e grades ---------- */
.panel { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 26px 22px; }
.panel-sand { background: var(--sand); border-color: var(--sand-deep); }
.panel-rose { background: var(--rose-tint); border-color: #EBC9BD; }
.panel-sage { background: var(--green-tint); border-color: #C9D7C3; }
.grid-2 { display: grid; gap: 18px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 24px; } .panel { padding: 32px 30px; } }

.check-list, .x-list { list-style: none; padding: 0; margin: 0; }
.check-list li, .x-list li { position: relative; padding: 8px 0 8px 34px; border-bottom: 1px solid rgba(0,0,0,.06); }
.check-list li:last-child, .x-list li:last-child { border-bottom: 0; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--green); background: radial-gradient(circle, var(--green) 0 3px, transparent 4px); }
.x-list li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--rose); }

/* pergunta em destaque (palavras do público) */
.voices { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.voices li { font-family: var(--serif); font-size: 1.2rem; line-height: 1.35; padding: 16px 20px; border-radius: 4px 20px 20px 20px; background: var(--paper-2); border: 1px solid var(--line); font-style: italic; font-variation-settings: "SOFT" 100, "opsz" 24; }
.voices li:nth-child(2) { background: var(--rose-tint); border-color: #EBC9BD; margin-left: 18px; }
.voices li:nth-child(3) { background: var(--green-tint); border-color: #C9D7C3; margin-left: 6px; }

/* versículo */
.verse { margin: 28px 0; padding: 0 0 0 20px; border-left: 4px solid var(--rose); }
.verse p { font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; font-style: italic; color: var(--green-deep); margin-bottom: .3em; font-variation-settings: "SOFT" 100, "opsz" 36; }
.verse cite { font-style: normal; font-size: .9rem; color: var(--ink-soft); }
.band-green .verse p { color: #FBF7F1; }
.band-green .verse cite { color: #C9D3C6; }

/* ---------- trilha em etapas (sequências reais) ---------- */
.trail { list-style: none; margin: 0; padding: 0; position: relative; }
.trail::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: repeating-linear-gradient(var(--sand-deep) 0 6px, transparent 6px 11px); }
.trail > li { position: relative; padding: 0 0 26px 56px; }
.trail > li:last-child { padding-bottom: 0; }
.trail .node {
  position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid var(--green); background: var(--paper);
  display: grid; place-items: center; font: 600 .9rem/1 var(--sans); color: var(--green);
}
.trail > li:nth-child(4n+2) .node { border-color: var(--rose); color: var(--rose-deep); }
.trail > li:nth-child(4n+3) .node { border-color: #A88B5E; color: #7D6440; }
.trail h3 { margin: 4px 0 6px; }
.trail .meta { font-size: .85rem; color: var(--ink-soft); font-weight: 500; }
.band-sand .trail .node, .band-sage .trail .node { background: var(--paper-2); }

/* ---------- C.U.R.A. ---------- */
.cura { display: grid; gap: 14px; }
.cura-step { border-radius: var(--r-panel); padding: 22px 22px 24px; display: grid; grid-template-columns: 72px 1fr; gap: 4px 18px; align-items: start; }
.cura-step .L { grid-row: span 3; font-family: var(--serif); font-size: 4.6rem; line-height: .9; font-weight: 600; font-variation-settings: "SOFT" 100, "opsz" 144; }
.cura-step h3 { margin: 6px 0 2px; }
.cura-step p { margin: 0; font-size: .98rem; }
.cura-step .ref { font-size: .85rem; color: var(--ink-soft); margin-top: 6px; }
.cura-c { background: var(--green-tint); } .cura-c .L { color: var(--green); }
.cura-u { background: var(--green); color: #EEF1EA; } .cura-u .L, .cura-u h3 { color: #FBF7F1; } .cura-u .ref { color: #C9D3C6; }
.cura-r { background: var(--rose-tint); } .cura-r .L { color: var(--rose-deep); }
.cura-a { background: var(--sand); } .cura-a .L { color: #7D6440; }
@media (min-width: 860px) { .cura { grid-template-columns: 1fr 1fr; gap: 18px; } }

.cura-word { display: inline-flex; gap: 6px; margin: 0 0 18px; }
.cura-word span { width: 46px; height: 54px; border-radius: 10px; display: grid; place-items: center; font: 600 1.9rem/1 var(--serif); }
.cura-word span:nth-child(1) { background: var(--green-tint); color: var(--green); }
.cura-word span:nth-child(2) { background: var(--green); color: #fff; }
.cura-word span:nth-child(3) { background: var(--rose-tint); color: var(--rose-deep); }
.cura-word span:nth-child(4) { background: var(--sand-deep); color: #6E5838; }

/* ---------- oferta / preço ---------- */
.offer { background: var(--paper-2); border: 2px solid var(--green); border-radius: var(--r-panel); padding: 28px 22px; max-width: 520px; margin: 0 auto; }
.offer h3 { font-size: 1.5rem; }
.price { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--green-deep); margin: 14px 0 4px; font-variation-settings: "SOFT" 60, "opsz" 144; }
.price small { font-family: var(--sans); font-size: 1rem; color: var(--ink-soft); }
.bump { margin-top: 18px; padding: 16px 18px; border: 2px dashed var(--rose); border-radius: 14px; background: var(--rose-tint); }
.bump label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 500; }
.bump input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--rose-deep); flex: 0 0 auto; }

/* garantia */
.seal { display: grid; gap: 18px; align-items: center; }
.seal-badge { width: 112px; height: 112px; border-radius: 50%; border: 3px solid var(--green); display: grid; place-items: center; text-align: center; font-family: var(--serif); color: var(--green); line-height: 1; margin: 0 auto; background: var(--paper-2); }
.seal-badge b { display: block; font-size: 2.6rem; font-weight: 600; }
.seal-badge span { font-size: .85rem; font-family: var(--sans); }
@media (min-width: 760px) { .seal { grid-template-columns: 130px 1fr; } }

/* depoimentos */
.quotes { display: grid; gap: 16px; }
.quote { background: var(--paper-2); border-radius: var(--r-panel); padding: 22px; border: 1px solid var(--line); }
.quote blockquote { margin: 10px 0; font-family: var(--serif); font-size: 1.12rem; line-height: 1.45; font-variation-settings: "SOFT" 100, "opsz" 24; }
.quote .who { font-size: .88rem; color: var(--ink-soft); }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* autores */
.authors { display: grid; gap: 30px; align-items: center; }
.authors .arch { max-width: 300px; width: 80%; margin: 0 auto; }
@media (min-width: 860px) { .authors { grid-template-columns: 1fr 1.4fr; gap: 64px; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 400 1.6rem/1 var(--serif); color: var(--rose-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; color: var(--ink-soft); }

/* aviso de cuidado */
.care { background: var(--paper-2); border: 1px solid var(--line); border-left: 5px solid var(--rose); border-radius: 12px; padding: 16px 18px; font-size: .95rem; color: var(--ink); max-width: 680px; margin: 0 auto; }
.care strong { color: var(--rose-deep); }

/* ---------- formulários ---------- */
.form { display: grid; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--ink-soft); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1.5px solid var(--sand-deep); border-radius: var(--r-ctrl);
  background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--sans);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: 0 0 auto; }
.form-error { color: var(--rose-deep); font-size: .9rem; font-weight: 600; min-height: 1.2em; margin: 0; }

/* ---------- rodapé ---------- */
.site-foot { background: var(--green-deep); color: #D5DDD2; padding: 40px 0 48px; font-size: .92rem; }
.site-foot .wrap { display: grid; gap: 16px; }
.site-foot strong { color: #FBF7F1; font-family: var(--serif); font-weight: 500; font-size: 1.05rem; }
.site-foot a { color: #F5E2DA; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-foot .care { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); border-left-color: var(--rose); color: #E8ECE5; margin: 0; max-width: none; }
.site-foot .care strong { color: #F5E2DA; }

/* ---------- link da bio ---------- */
.bio { max-width: 500px; margin: 0 auto; padding: 34px var(--gutter) 40px; text-align: center; }
.bio .arch { width: 190px; margin: 0 auto 26px; aspect-ratio: 4 / 5; }
.bio h1 { font-size: 2.1rem; margin-bottom: .2em; }
.bio .handle { color: var(--ink-soft); font-size: .95rem; margin-bottom: 14px; }
.bio .tagline { font-family: var(--serif); font-size: 1.2rem; line-height: 1.4; color: var(--green-deep); font-style: italic; margin: 0 auto 28px; max-width: 24em; font-variation-settings: "SOFT" 100, "opsz" 24; }
.links { display: grid; gap: 12px; text-align: left; }
.links-group { margin: 22px 0 4px; font-size: .85rem; font-weight: 600; color: var(--ink-soft); text-align: left; }
.lk {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px;
  padding: 16px 18px; border-radius: 16px; text-decoration: none; color: var(--ink);
  background: var(--paper-2); border: 1.5px solid var(--line); transition: border-color .2s, background .2s;
}
.lk:hover { border-color: var(--green); color: var(--ink); background: #fff; }
.lk b { font-weight: 600; font-size: 1.02rem; }
.lk span { grid-column: 1; font-size: .87rem; color: var(--ink-soft); line-height: 1.35; }
.lk i { grid-row: 1 / span 2; grid-column: 2; font-style: normal; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--green-tint); color: var(--green); white-space: nowrap; }
.lk-hero { background: var(--green); border-color: var(--green); color: #fff; padding: 20px 20px; }
.lk-hero:hover { background: var(--green-deep); color: #fff; }
.lk-hero span { color: #D5E0D1; }
.lk-hero i { background: var(--rose-tint); color: var(--rose-deep); }
.lk-rose { background: var(--rose-tint); border-color: #EBC9BD; }
.lk-rose i { background: #fff; color: var(--rose-deep); }
.lk-sand { background: var(--sand); border-color: var(--sand-deep); }
.lk-sand i { background: #fff; color: #7D6440; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- quiz ---------- */
.quiz { max-width: 620px; margin: 0 auto; padding: 28px var(--gutter) 56px; }
.progress { height: 10px; border-radius: 999px; background: var(--sand); overflow: hidden; }
.progress > div { height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--rose)); border-radius: 999px; transition: width .35s ease; }
.progress-label { display: flex; justify-content: space-between; font-size: .85rem; color: var(--ink-soft); margin: 8px 0 26px; }
.q-title { font-size: clamp(1.5rem, 5.6vw, 2rem); margin-bottom: .8em; }
.options { display: grid; gap: 10px; }
.opt {
  width: 100%; text-align: left; padding: 16px 18px 16px 52px; min-height: 60px; position: relative;
  border: 1.5px solid var(--sand-deep); border-radius: 14px; background: var(--paper-2);
  font: 500 1rem/1.4 var(--sans); color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s;
}
.opt::before { content: ""; position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; border: 2px solid var(--sand-deep); background: #fff; }
.opt:hover { border-color: var(--green); }
.opt[aria-pressed="true"] { border-color: var(--green); background: var(--green-tint); }
.opt[aria-pressed="true"]::before { border-color: var(--green); background: radial-gradient(circle, var(--green) 0 5px, #fff 6px); }
.q-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; gap: 12px; }
.linkish { background: none; border: 0; padding: 10px 0; font: 500 .95rem var(--sans); color: var(--green); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.screen { animation: fadein .3s ease both; }
@keyframes fadein { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.result-head { border-radius: var(--r-panel); padding: 28px 22px; margin-bottom: 22px; }
.result-head.p-dificil { background: var(--rose-tint); }
.result-head.p-divorciado { background: var(--green-tint); }
.result-head.p-recasado { background: var(--sand); }
.result-head.p-restaurar { background: var(--green); color: #EEF1EA; }
.result-head.p-restaurar h2, .result-head.p-restaurar .verse p { color: #FBF7F1; }
.result-head.p-restaurar .verse cite, .result-head.p-restaurar .small { color: #C9D3C6; }
.safety { background: #fff; border: 2px solid var(--rose); border-radius: 14px; padding: 16px 18px; margin: 0 0 18px; }
.next-steps { display: grid; gap: 12px; margin-top: 18px; }

/* ---------- checkout / obrigado ---------- */
.summary { width: 100%; border-collapse: collapse; margin: 10px 0 6px; }
.summary td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.summary td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.summary tr.total td { border-bottom: 0; font-size: 1.1rem; }

/* ---------- área de membros ---------- */
.m-top { position: sticky; top: var(--bar-h); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.m-top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 10px; }
.m-top nav { display: flex; gap: 14px; align-items: center; font-size: .92rem; }
.m-top nav a { text-decoration: none; font-weight: 500; }
.m-main { padding: 28px 0 64px; min-height: 60vh; }
.demo-note { background: var(--rose-tint); border: 1px dashed var(--rose); color: var(--rose-deep); border-radius: 12px; padding: 12px 14px; font-size: .9rem; margin-bottom: 20px; }
.login { max-width: 440px; margin: 20px auto; }
.courses { display: grid; gap: 16px; }
@media (min-width: 760px) { .courses { grid-template-columns: 1fr 1fr; } }
.course {
  display: grid; gap: 10px; padding: 22px; border-radius: var(--r-panel); text-decoration: none; color: var(--ink);
  border: 1.5px solid transparent; transition: border-color .2s;
}
.course:hover { border-color: var(--green); color: var(--ink); }
.course h3 { margin: 0; }
.course p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.c-cura { background: var(--green-tint); } .c-ebook { background: var(--sand); } .c-trilha { background: var(--rose-tint); } .c-encontro { background: var(--paper-2); border-color: var(--line); }
.bar { height: 8px; border-radius: 999px; background: rgba(0,0,0,.08); overflow: hidden; }
.bar > div { height: 100%; background: var(--green); border-radius: 999px; }
.bar-label { font-size: .82rem; color: var(--ink-soft); font-weight: 500; }
.crumbs { font-size: .9rem; margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.module { margin: 26px 0 0; }
.module-head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.module-head .L { width: 48px; height: 56px; border-radius: 10px; display: grid; place-items: center; font: 600 1.9rem/1 var(--serif); flex: 0 0 auto; }
.mod-c .L { background: var(--green-tint); color: var(--green); }
.mod-u .L { background: var(--green); color: #fff; }
.mod-r .L { background: var(--rose-tint); color: var(--rose-deep); }
.mod-a .L { background: var(--sand-deep); color: #6E5838; }
.mod-x .L { background: var(--sand); color: var(--green); }
.module-head h2 { font-size: 1.4rem; margin: 0; }
.lessons { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--paper-2); }
.lessons li + li { border-top: 1px solid var(--line); }
.lessons a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-decoration: none; color: var(--ink); }
.lessons a:hover { background: #fff; }
.lessons .st { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--sand-deep); flex: 0 0 auto; }
.lessons .done .st { border-color: var(--green); background: radial-gradient(circle, var(--green) 0 5px, transparent 6px); }
.lessons .dur { margin-left: auto; font-size: .82rem; color: var(--ink-soft); }
.lesson-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .lesson-grid { grid-template-columns: 1fr 300px; } }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--green-deep); color: #D5DDD2; display: grid; place-items: center; text-align: center; padding: 20px; }
.player .play { width: 72px; height: 72px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; margin: 0 auto 12px; }
.player .play::after { content: ""; border-left: 22px solid var(--green); border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.exercise { margin-top: 26px; }
.exercise .field { margin-bottom: 14px; }
.saved { font-size: .82rem; color: var(--green); font-weight: 600; min-height: 1.2em; }
.lesson-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.pager a { text-decoration: none; font-weight: 500; max-width: 48%; }
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.day { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--sand-deep); background: var(--paper-2); cursor: pointer; font: inherit; text-align: left; color: var(--ink); }
.day b { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; color: var(--green-deep); }
.day span { font-size: .86rem; color: var(--ink-soft); line-height: 1.35; }
.day[aria-pressed="true"] { background: var(--green-tint); border-color: var(--green); }
.day[aria-pressed="true"] b::after { content: " concluído"; font: 600 .72rem var(--sans); color: var(--green); }

/* ---------- textos longos (políticas) ---------- */
.legal { padding: 40px 0 72px; }
.legal h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.toc { background: var(--sand); border-radius: 16px; padding: 18px 22px; margin: 22px 0; }
.toc ol { margin: 0; padding-left: 1.2em; }

/* 404 */
.notfound { padding: 72px 0; text-align: center; }

/* ajustes de cabeçalho e links no celular */
.brand, .head-link { white-space: nowrap; }
@media (max-width: 420px) { .brand { font-size: 1rem; gap: 8px; } .brand img { width: 26px; height: 26px; } .head-link { font-size: .85rem; } }
.lk b { line-height: 1.3; }
.m-top nav a, .m-top nav button { white-space: nowrap; }
@media (max-width: 420px) { .m-top nav { gap: 12px; font-size: .86rem; } }
[id] { scroll-margin-top: calc(var(--bar-h) + 16px); }
