/* Wekoni — landing. Visual "Papel", o mesmo padrão do app: fundo claro, azul de destaque, Libre Franklin (hospedada aqui),
   cantos retos e fios no lugar de sombras. Sem fontes de serviços externos e sem JavaScript novo: tudo em HTML e CSS. */
@font-face { font-family: "Libre Franklin"; src: url(/assets/fonts/libre-franklin-latin-wght-normal.woff2) format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url(/assets/fonts/libre-franklin-latin-wght-italic.woff2) format("woff2"); font-weight: 400 800; font-style: italic; font-display: swap; }

:root {
  --brand: #1f3fd1;        /* azul (skin Papel do app) */
  --brand-dark: #1934ab;
  --brand-deep: #12141a;   /* grafite: faixas escuras e rodapé */
  --brand-soft: #e8ebf5;
  --brand-light: #9aa9ea;  /* azul sobre fundo escuro */
  --bg: #fafaf8;
  --card: #ffffff;
  --paper-2: #f1f1ef;
  --text: #111111;
  --muted: #606060;
  --line: #dcdcda;
  --line-soft: #eaeae8;
  --ok: #3d6b35;
  --ok-soft: #e2ebd6;
  --radius: 0;
  --shadow: none;
  --max: 1160px;
  --font: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* títulos: a mesma família, mais pesada (o nome da variável ficou da época da serifa) */
  --serif: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--text); background: var(--bg); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-underline-offset: .18em; }
a:hover { color: var(--text); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 6.4vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.9rem, 4.4vw, 2.85rem); font-weight: 800; letter-spacing: -.025em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 0; }

.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--brand-deep); color: #fff; padding: .6rem 1rem; border-radius: 0; }
.skip:focus { top: 1rem; color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4.5rem 0; border-top: 1px solid var(--line); }
.section--white { background: var(--card); }
.section-head { max-width: 760px; margin: 0 0 2.75rem; text-align: left; }
.section-head p { color: var(--muted); font-size: 1.125rem; max-width: 38em; }
/* Etiqueta acima dos títulos: em vez de maiúsculas em pílula, um fio e o texto em azul */
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--font); font-size: 1rem; font-weight: 600; color: var(--brand-dark); margin-bottom: .6rem; }
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: currentColor; }

/* Botões */
.btn { text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .65rem 1.3rem; border-radius: 0; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--bg); }
.btn--light { background: var(--bg); color: var(--text); }
.btn--light:hover { background: #fff; color: var(--text); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--block { width: 100%; }

/* Cabeçalho */
.header { position: sticky; top: 0; z-index: 50; background: rgba(250, 250, 248, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.header .wrap { max-width: 1280px; }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--serif); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand img { border-radius: 8px; }
.badge-beta { font-family: var(--font); font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-dark); border: 1px solid currentColor; border-radius: 0; padding: 0 .35rem; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 0; background: var(--card); color: var(--text); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: .75rem 1.25rem 1.25rem; }
.nav.is-open { display: block; }
.nav ul { list-style: none; }
.nav__links a { display: block; padding: .75rem .25rem; color: var(--text); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav__links a:hover { color: var(--brand-dark); }
.nav__actions { display: grid; gap: .6rem; margin-top: 1rem; }
.no-js .nav { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 1rem; }
.no-js .menu-toggle { display: none; }

/* Hero */
/* Topo com foto de fundo: notebook na mesa com a tela "Sua comunidade" do app (uma imagem por idioma), sob véu grafite quente; texto claro */
.hero { --hero-photo: url(/assets/img/hero-en-1920.webp); padding: 3.5rem 0 4rem; color: #fff; overflow: hidden;
  background: linear-gradient(rgba(18, 20, 26, .92), rgba(18, 20, 26, .92)), var(--hero-photo) 62% center / cover no-repeat, var(--brand-deep); }
:root[lang="pt-BR"] .hero { --hero-photo: url(/assets/img/hero-pt-1920.webp); }
:root[lang="es"] .hero { --hero-photo: url(/assets/img/hero-es-1920.webp); }
@media (max-width: 900px) {
  .hero { --hero-photo: url(/assets/img/hero-en-900.webp); }
  :root[lang="pt-BR"] .hero { --hero-photo: url(/assets/img/hero-pt-900.webp); }
  :root[lang="es"] .hero { --hero-photo: url(/assets/img/hero-es-900.webp); }
}
/* Desktop: foto menor (90 % da altura) e empurrada para a direita, para o notebook ficar ao lado do texto.
   As bordas esquerda, de cima e de baixo já vêm esmaecidas até o grafite na própria imagem, então não há emenda em nenhuma largura. */
@media (min-width: 64em) {
  .hero { background:
      linear-gradient(90deg, rgba(18, 20, 26, .9) 0%, rgba(18, 20, 26, .6) 45%, rgba(18, 20, 26, .1) 100%),
      var(--hero-photo) right -7rem center / auto 90% no-repeat, var(--brand-deep); }
}
/* 1024–1279 px: o texto ainda alcança a tela do notebook, então o véu fica mais forte até o meio */
@media (min-width: 64em) and (max-width: 79.99em) {
  .hero { background:
      linear-gradient(90deg, rgba(18, 20, 26, .95) 0%, rgba(18, 20, 26, .9) 58%, rgba(18, 20, 26, .35) 100%),
      var(--hero-photo) right -7rem center / auto 90% no-repeat, var(--brand-deep); }
}
/* 1600 px+: sobra espaço, então a foto encosta na borda sem cortar o notebook */
@media (min-width: 100em) {
  .hero { background-position: 0 0, right center, 0 0; }
}
.hero__grid { display: grid; }
.hero__grid > div { max-width: 620px; }
.hero h1 { font-size: clamp(2.4rem, 6.4vw, 3.2rem); }
.hero .eyebrow { color: var(--brand-light); }
.hero h1 { color: #fff; }
.hero h1 span { display: block; font-weight: 800; color: var(--brand-light); }
.hero__lead { font-size: 1.1875rem; color: #d9dbe3; max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1rem; }
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .75); }
.hero .btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.hero__note { font-size: .9375rem; color: #b8bcc8; margin: 0; }

/* Peças das mini-telas de Funcionalidades (estilo do app) */
.mock__card { background: #fff; border: 1px solid var(--line); border-radius: 0; padding: .8rem; }
.mock__row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.mock__title { font-weight: 700; font-size: .875rem; }
.mock__muted { color: var(--muted); }
.bar { height: 7px; border-radius: 999px; background: var(--line-soft); overflow: hidden; margin: .5rem 0 .3rem; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: inherit; }
.chip { display: inline-block; font-size: .75rem; font-weight: 600; padding: .05rem .45rem; border-radius: 0; background: var(--brand-soft); color: var(--brand-dark); }
.mock__list { list-style: none; display: grid; gap: .35rem; margin-top: .4rem; }
.mock__list li { display: flex; align-items: center; gap: .45rem; }
.tick { width: 16px; height: 16px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-grid; place-items: center; font-size: .625rem; flex: none; }
.tick--off { background: var(--line-soft); }
.avatar { width: 22px; height: 22px; border-radius: 50%; background: #e7c4a4; flex: none; }
.avatar--b { background: #ecd38d; }
.avatar--c { background: #bfd3ab; }

/* Faixa de benefícios: colunas separadas por fios, sem bloco escuro */
.benefits { background: var(--bg); color: var(--text); padding: 0; border-top: 1px solid var(--text); border-bottom: 1px solid var(--line); }
.benefits ul { list-style: none; display: grid; }
.benefits li { display: flex; gap: .75rem; align-items: flex-start; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.benefits li:last-child { border-bottom: 0; }
.benefits svg { flex: none; width: 22px; height: 22px; color: var(--brand); margin-top: 3px; }
.benefits strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.125rem; }
.benefits span { color: var(--muted); font-size: .9375rem; }

/* Funcionalidades */
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.section--white .feature { background: var(--bg); }
.feature p { color: var(--muted); }
/* Destaques: mini-telas no estilo do app (mesmas peças do .mock do topo) */
.fhl { display: grid; gap: 2rem 1.25rem; }
.fhl__item { display: flex; flex-direction: column; }
.fhl__screen { display: grid; align-content: center; gap: .6rem; height: 230px; padding: 1rem; background: var(--paper-2); border-radius: var(--radius); font-size: .78rem; overflow: hidden; }
.fhl__screen .mock__card { padding: .7rem .8rem; }
.fhl__screen .chip { white-space: nowrap; flex: none; }
.fhl__screen .mock__list { margin-top: .5rem; }
.fhl__screen .mock__title { font-size: .84rem; }
.fhl__title { display: flex; align-items: baseline; gap: .6rem; margin: 0; padding: .9rem 0 0; font-size: 1.25rem; line-height: 1.25; }
.mini__q { margin: .45rem 0 .5rem; line-height: 1.3; }
.mini__opts { list-style: none; display: grid; gap: .35rem; }
.mini__opts li { display: flex; align-items: center; gap: .5rem; padding: .35rem .55rem; border: 1px solid var(--line); border-radius: 0; background: #fff; }
.mini__opts li.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.mini__radio { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.mini__opts li.on .mini__radio { border: 4px solid var(--brand); }
.mini__rank li { gap: .5rem; }
.mini__pos { width: 1rem; font-family: var(--serif); font-weight: 600; color: var(--muted); text-align: center; }
.mini__grow { flex: 1; font-weight: 600; }
.mini__belt { font-size: .68rem; }
.mini__belt--green { background: #dfe9d3; color: #335a2c; }
.mini__belt--blue { background: #d9e3ea; color: #2d4a60; }
.mini__belt--yellow { background: #f2e3b8; color: #6b4e12; }
.mini__lvl { margin-top: .55rem; }
.mini__lvl .bar { flex: 1; margin: 0; }
.mini__days { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: .3rem; margin: .6rem 0 .5rem; }
.mini__days li { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--line-soft); color: var(--muted); font-weight: 700; font-size: .7rem; }
.mini__days li.ok { background: var(--brand); color: #fff; }
.mini__days li.now { background: #fff; color: var(--brand-dark); box-shadow: inset 0 0 0 2px var(--brand); }
.mini__streak { font-weight: 700; margin-bottom: .15rem; }
.mini__who { display: flex; align-items: center; gap: .4rem; font-weight: 600; }
.mini__post { margin: .5rem 0; line-height: 1.35; }
.mini__meta { display: flex; gap: 1rem; color: var(--muted); }
.mini__ghost { display: flex; align-items: center; gap: .5rem; opacity: .75; }
.mini__line { display: block; height: 7px; border-radius: 999px; background: var(--line-soft); flex: 1; }
.mini__line--short { flex: none; width: 45%; }
.mini__line--name { width: 70%; flex: none; height: 9px; background: var(--line); margin: .35rem 0; }
.mini__event { display: flex; align-items: center; gap: .75rem; }
.mini__date { display: grid; place-items: center; width: 44px; height: 46px; border-radius: 0; background: var(--brand); color: #fff; font-size: .62rem; font-weight: 700; line-height: 1.1; flex: none; }
.mini__date b { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }
.mini__date--soft { background: var(--brand-soft); color: var(--brand-dark); }
.mini__cert { display: flex; flex-direction: column; align-items: center; gap: .15rem; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 0; padding: .9rem; box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 6px var(--brand-soft); }
.mini__cert-kicker { font-family: var(--serif); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-dark); }
.mini__cert .mock__title { font-family: var(--serif); font-weight: 600; font-size: .95rem; }
.mini__seal { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin: .35rem 0 .1rem; }
.mini__seal svg { width: 18px; height: 18px; }
.mini__bars { display: flex; align-items: flex-end; gap: .5rem; height: 78px; margin-top: .7rem; padding-bottom: 2px; border-bottom: 1px solid var(--line); }
.mini__bars i { flex: 1; background: var(--brand); border-radius: 0; }
.mini__bars i:nth-child(even) { background: var(--brand-light); }
@media (min-width: 600px) { .fhl { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fhl { grid-template-columns: repeat(4, 1fr); } }
.feature__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: .9rem; }
.feature__icon svg { width: 20px; height: 20px; }
.tag { display: inline-block; font-family: var(--font); font-size: .72rem; font-weight: 700; color: var(--brand-dark); border: 1px solid currentColor; border-radius: 0; padding: 0 .35rem; margin-left: .3rem; white-space: nowrap; vertical-align: .1em; }

/* Passos: numerais grandes, sem cards */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--text); }
.step { position: relative; padding: 1.5rem 0 1.5rem 4rem; border-bottom: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 1.2rem; font-family: var(--serif); font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--brand); }
.step h3 { margin-bottom: .35em; }
.step p { margin: 0; color: var(--muted); }

/* Para quem é */
.audience { display: grid; gap: 0; border-top: 1px solid var(--text); }
.audience .feature { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 1.5rem 0; }
.audience .feature h3 { font-size: 1.375rem; }
.audience__photo { margin: 0 0 2.5rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7; }
.audience__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 640px) { .audience__photo { aspect-ratio: 4 / 3; } }

/* Planos */
.plans { display: grid; gap: 1.25rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.plan--featured { border: 1.5px solid var(--text); background: #fff; box-shadow: 8px 8px 0 var(--paper-2); }
.plan__flag { position: absolute; top: -.75rem; left: 1.5rem; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; padding: .15rem .6rem; border-radius: 0; }
.plan h3 { font-size: 1.5rem; margin-bottom: .25rem; }
.plan__desc { color: var(--muted); font-size: .9375rem; min-height: 3em; }
.plan__price { white-space: nowrap; font-family: var(--serif); font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: .5rem 0 .25rem; }
.plan__price small { font-family: var(--font); font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan__sub { font-size: .9375rem; color: var(--muted); margin-bottom: .25rem; }
.plan__save { align-self: flex-start; display: inline-block; font-size: .8125rem; font-weight: 700; color: var(--ok); background: var(--ok-soft); border-radius: 0; padding: .05rem .5rem; margin-bottom: .5rem; }
.plan ul { list-style: none; display: grid; gap: .45rem; margin: 1rem 0 1.5rem; font-size: .9375rem; }
.plan li { position: relative; padding-left: 1.5rem; }
.plan li::before { content: ""; position: absolute; left: .1rem; top: .3em; width: .45rem; height: .8rem; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan .btn { margin-top: auto; padding-left: .75rem; padding-right: .75rem; white-space: nowrap; }
.plans-note { max-width: 760px; margin: 2rem 0 0; color: var(--muted); font-size: .9375rem; }
.included { margin-top: 2.5rem; border-top: 1px solid var(--text); padding: 1.5rem 0 0; }
.included h3 { margin-bottom: .9rem; }
.included ul { list-style: none; display: grid; gap: .45rem 1.5rem; font-size: .9375rem; }
.included li { position: relative; padding-left: 1.4rem; }
.included li::before { content: ""; position: absolute; left: .1rem; top: .3em; width: .45rem; height: .8rem; border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Perguntas: lista com fios e sinal de mais */
.faq { max-width: 860px; margin: 0; display: grid; border-top: 1px solid var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 0; font-family: var(--serif); font-size: 1.125rem; font-weight: 600; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-family: var(--font); font-size: 1.6rem; font-weight: 300; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--brand-dark); }
.faq details > div { padding: 0 0 1.2rem; color: var(--muted); max-width: 46em; }
.faq details > div p:last-child { margin: 0; }

/* Chamada final */
.cta { --cta-photo: url(/assets/img/group-1600.webp); background: linear-gradient(rgba(18, 20, 26, .84), rgba(18, 20, 26, .84)), var(--cta-photo) center 30% / cover no-repeat, var(--brand-deep); color: #fff; text-align: left; border-top: 0; }
@media (max-width: 800px) { .cta { --cta-photo: url(/assets/img/group-800.webp); } }
.cta h2 { max-width: 14em; }
.cta p { color: #d9dbe3; font-size: 1.1875rem; max-width: 34em; margin: 0 0 1.5rem; }
.cta .hero__ctas { justify-content: flex-start; }
.cta .btn--light { background: var(--brand); color: #fff; }
.cta .btn--light:hover { background: var(--brand-dark); color: #fff; }

/* Contato: formulário em HTML puro; envia para a função landing-contact do Supabase, que devolve para #…-ok ou #…-erro */
.contact__grid { display: grid; gap: 2rem; }
.contact__head p { color: var(--muted); font-size: 1.125rem; max-width: 30em; }
.contact__form { display: grid; gap: 1rem; border-top: 1px solid var(--text); padding-top: 1.5rem; }
.field { display: grid; gap: .35rem; }
.field span { font-weight: 600; font-size: .9375rem; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 0; padding: .7rem .8rem; min-height: 46px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.contact__form .btn { justify-self: start; }
.contact__note { margin: 0; font-size: .875rem; color: var(--muted); }
.contact__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__status { display: none; margin: 0; padding: .8rem 1rem; border-radius: 0; font-weight: 600; }
.contact__status:target { display: block; }
.contact__status--ok { background: var(--ok-soft); color: var(--ok); }
.contact__status--err { background: var(--brand-soft); color: var(--brand-dark); }
@media (min-width: 64em) { .contact__grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; } }

/* Rodapé */
.footer { background: var(--brand-deep); color: #b8bcc8; padding: 3.5rem 0 2rem; font-size: .9375rem; }
.footer a { color: #eef0f6; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; gap: 2rem; }
.footer .brand { color: #fff; }
.footer__about p { margin-top: .9rem; max-width: 26em; }
.footer h2 { font-family: var(--serif); font-size: 1rem; font-weight: 700; letter-spacing: 0; color: #fff; margin-bottom: .9rem; }
.footer ul { list-style: none; display: grid; gap: .5rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; border-top: 1px solid #2a2e3a; margin-top: 2.5rem; padding-top: 1.5rem; color: #8d92a0; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.notfound__code { font-family: var(--serif); font-size: 5rem; font-weight: 800; letter-spacing: -.04em; color: var(--brand); line-height: 1; margin-bottom: .5rem; }
.notfound .hero__ctas { justify-content: center; }

/* 768 px+ */
@media (min-width: 48em) {
  .wrap { padding: 0 2rem; }
  .section { padding: 6rem 0; }
  .benefits ul { grid-template-columns: repeat(2, 1fr); }
  .benefits li { padding: 1.5rem 1.5rem 1.5rem 0; }
  .audience { grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; }
  .steps { grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .included ul { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}

/* 1024 px+ */
@media (min-width: 64em) {
  .hero { padding: 7rem 0 7.5rem; }
  .benefits ul { grid-template-columns: repeat(4, 1fr); }
  .benefits li { border-bottom: 0; border-left: 1px solid var(--line); padding: 1.6rem 1.25rem; }
  .benefits li:first-child { border-left: 0; padding-left: 0; }
  /* Títulos de seção: título à esquerda, texto de apoio à direita */
  .section-head { max-width: none; display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 4rem; align-items: end; }
  .section-head .eyebrow { grid-column: 1 / -1; justify-self: start; }
  .section-head h2 { margin: 0; }
  .section-head p { margin: 0; }
  .section-head > :only-child { grid-column: 1 / -1; }
  .audience { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); border-top: 0; }
  .step { border-top: 1px solid var(--text); border-bottom: 0; padding: 4.25rem 0 0; }
  .step::before { top: 1.1rem; font-size: 2.4rem; }
  .included ul { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer__about { grid-column: auto; }
}

/* 1024 px+: planos em 3 colunas */
@media (min-width: 64em) {
  .plans { grid-template-columns: repeat(3, 1fr); }
  .plan { padding: 1.5rem 1.25rem; }
  .plan__price { font-size: 2.1rem; }
}

/* 1200 px+: menu completo no cabeçalho (cabe nos três idiomas) */
@media (min-width: 75em) {
  .menu-toggle { display: none; }
  .nav, .no-js .nav { display: flex; align-items: center; gap: .75rem; position: static; padding: 0; border: 0; box-shadow: none; background: none; }
  /* Marca | links | seletor e botões: os links ficam no meio do espaço livre, com a mesma distância até o logotipo e até o seletor */
  .header__bar { gap: 0; }
  .nav, .no-js .nav { flex: 1; gap: 0; }
  .nav__links { display: flex; gap: 1.25rem; margin: 0 auto; }
  .nav__end { display: flex; align-items: center; gap: .5rem; }
  .nav__links a { border: 0; padding: .5rem 0; white-space: nowrap; }
  .nav__actions { display: flex; margin: 0; }
  .nav__actions .btn { min-height: 40px; padding: .5rem .75rem; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Dores de quem ensina: foto e texto soltos no papel, sem caixa */
.pains { display: grid; gap: 2.5rem 2rem; }
.pain { background: none; border: 0; padding: 0; }
.pain__photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin: 0 0 1.1rem; }
.pain .feature__icon { display: none; }
.pain h3 { font-size: 1.375rem; margin: 0 0 .45em; }
.pain p { color: var(--muted); }
.pains__cta { margin-top: 3rem; }
@media (min-width: 700px) { .pains { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pains { grid-template-columns: repeat(3, 1fr); } }

/* Seletor de idioma: mostra só o nome do idioma atual; abre a lista com <details>, sem JavaScript */
.langpick { position: relative; margin-top: 1rem; }
.langpick summary { list-style: none; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 .75rem; font-weight: 500; white-space: nowrap; border: 1px solid var(--line); border-radius: 0; cursor: pointer; }
.langpick summary::-webkit-details-marker { display: none; }
.langpick summary::after { content: ""; width: .38rem; height: .38rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.langpick[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.langpick summary:hover { background: var(--paper-2); }
.langpick__menu { position: absolute; left: 0; top: calc(100% + 6px); z-index: 60; min-width: 190px; list-style: none; margin: 0; padding: .3rem; background: var(--card); border: 1px solid var(--text); border-radius: 0; box-shadow: 6px 6px 0 var(--paper-2); }
.langpick__menu a { display: flex; align-items: center; gap: .65rem; min-height: 42px; padding: .4rem .6rem; border-radius: 0; color: var(--text); text-decoration: none; font-weight: 500; }
.langpick__menu a:hover { background: var(--paper-2); color: var(--text); }
.langpick__menu a[aria-current="true"] { font-weight: 700; }
.langpick__menu a[aria-current="true"]::after { content: "✓"; margin-left: auto; color: var(--brand); }
.footer .langpick--footer { margin: 0; color: #b8bcc8; }
.footer .langpick--footer summary { border-color: #5a4a3a; }
.footer .langpick--footer summary:hover { background: #2e251c; }
.footer .langpick--footer .langpick__menu { top: auto; bottom: calc(100% + 6px); left: auto; right: 0; box-shadow: none; }
.footer .langpick--footer .langpick__menu a { color: var(--text); text-decoration: none; }
@media (min-width: 75em) {
  .nav .langpick { margin: 0 .2rem; }
  .nav .langpick summary { min-height: 40px; padding: 0 .6rem; }
  .nav .langpick__menu { left: auto; right: 0; }
}
