:root {
  --green: #1b4437;
  --green-soft: #315f50;
  --green-pale: #e3ece7;
  --cream: #f7f3ea;
  --white: #fff;
  --brass: #f2be4e;
  --brass-dark: #7a5100;
  --ink: #173029;
  --muted: #52645e;
  --line: #cedbd5;
  --shadow: 0 18px 50px rgba(18, 48, 39, .13);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; min-width: 0; overflow-x: hidden; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; text-wrap: balance; line-height: 1.08; }
h1 { max-width: 760px; font-size: clamp(2.55rem, 6.1vw, 5.5rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 4.1vw, 3.7rem); letter-spacing: -.04em; }
h3 { font-size: 1.12rem; }
section { scroll-margin-top: 90px; }
.section-inner { width: min(1180px, calc(100% - 40px)); margin-inline: auto; padding-block: clamp(72px, 9vw, 128px); }
.narrow { width: min(790px, calc(100% - 40px)); text-align: center; }
.eyebrow { margin-bottom: 18px; color: var(--green-soft); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow.light { color: #c8e0d7; }
.eyebrow.brass { color: var(--brass); }
.lead { max-width: 650px; margin-top: 24px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }

.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; transform: translateY(-150%); border-radius: 8px; background: var(--brass); color: #312000; font-weight: 800; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #b57700; outline-offset: 4px; }
.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(27, 68, 55, .11); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); }
.header-inner { width: min(1240px, calc(100% - 32px)); min-height: 76px; margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 0 auto; padding: 10px 0; }
.brand img { width: 150px; height: auto; }
.site-header nav { display: flex; gap: 24px; margin-left: auto; }
.site-header nav a { padding: 12px 0; color: #29473d; font-size: .92rem; font-weight: 700; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 22px; border: 2px solid var(--green); border-radius: 999px; background: var(--green); color: var(--white); font-weight: 800; text-align: center; text-decoration: none; box-shadow: 0 8px 22px rgba(27, 68, 55, .18); transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(27, 68, 55, .25); }
.button-small { min-height: 42px; padding: 9px 16px; font-size: .88rem; }
.button-brass { border-color: var(--brass); background: var(--brass); color: #302000; }

.hero { overflow: hidden; background: radial-gradient(circle at 90% 15%, #d8e8e0 0, transparent 32%), linear-gradient(135deg, #fff 30%, var(--cream)); }
.hero-grid { min-height: 690px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); align-items: center; gap: clamp(36px, 6vw, 80px); }
.hero-copy { position: relative; z-index: 1; }
.cta-row { margin-top: 32px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta-row > span { max-width: 150px; color: var(--muted); font-size: .84rem; font-weight: 650; line-height: 1.3; }
.teacher-link { display: inline-block; margin-top: 22px; color: var(--green); font-weight: 800; text-underline-offset: 4px; }
.app-shot { min-width: 0; margin: 0; }
.app-shot img { width: 100%; border: 1px solid #bccfc6; border-radius: var(--radius); background: #edf3f0; box-shadow: var(--shadow); }
.app-shot figcaption { margin-top: 10px; color: var(--muted); font-size: .78rem; text-align: center; }
.app-shot-hero { transform: rotate(1.2deg); }
.problem { background: var(--green-pale); }
.problem .narrow p:last-child { margin: 26px auto 0; max-width: 680px; color: #40564f; font-size: 1.18rem; }

.steps { margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; counter-reset: none; }
.steps li { display: flex; gap: 17px; padding-top: 26px; border-top: 1px solid var(--line); }
.steps li > span { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 50%; background: var(--brass); color: #382500; font-weight: 900; }
.steps p { margin: 9px 0 0; color: var(--muted); }
.cream { background: var(--cream); }
.cards { margin-top: 48px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cards article { min-width: 0; min-height: 210px; padding: 24px 20px; border: 1px solid #ded8cb; border-radius: 18px; background: var(--white); box-shadow: 0 8px 24px rgba(27, 68, 55, .06); }
.card-icon { width: 42px; height: 42px; margin-bottom: 24px; display: grid; place-items: center; border-radius: 12px; background: var(--green); color: var(--brass); font-size: 1.3rem; font-weight: 800; }
.cards p { margin: 10px 0 0; color: var(--muted); font-size: .92rem; }
.card-icon svg, .privacy-symbol svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.privacy-symbol svg { width: 30px; height: 30px; }
.app-shot img { height: auto; }
.evidence-note { margin: 26px 0 0; color: var(--muted); font-size: .85rem; }

.hands, .teachers, .final-cta { background: var(--green); color: var(--cream); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr); align-items: center; gap: clamp(48px, 8vw, 110px); }
.split > div > p:not(.eyebrow) { margin-top: 24px; color: var(--muted); font-size: 1.12rem; }
/* Texto claro somente nas seções de fundo verde. */
.hands .split > div > p:not(.eyebrow), .teachers .split > div > p:not(.eyebrow) { color: #dbe8e3; }
.hands .app-shot { width: min(290px, 100%); justify-self: center; }
.dark-shot img { border-color: #6e9185; box-shadow: 0 22px 60px rgba(0, 0, 0, .25); }
.dark-shot figcaption { color: #cbded7; }
.check-list { margin: 24px 0 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.check-list li { position: relative; padding-left: 28px; font-weight: 720; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green-soft); font-weight: 900; }
.on-dark li::before { color: var(--brass); }

.teachers { background: #12382e; }
.teacher-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.teacher-heading h2 { max-width: 760px; }
.teacher-content { margin-top: 56px; grid-template-columns: minmax(260px, .72fr) minmax(420px, 1.28fr); }
.wide { width: 100%; }
.privacy-section { background: var(--white); }
.privacy-symbol { width: 64px; height: 64px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 50%; background: var(--green-pale); color: var(--green); font-size: 1.8rem; }
.privacy-section h2 { max-width: 750px; margin-inline: auto; }
.privacy-section .narrow > p:last-child { margin: 26px auto 0; max-width: 730px; color: var(--muted); font-size: 1.08rem; }
.beta { background: var(--cream); }
.beta-box { display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: center; gap: 46px; }
.beta-box p:last-child { margin-bottom: 0; }

.faq-inner { max-width: 880px; }
.faq-list { margin-top: 42px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 24px 48px 24px 2px; cursor: pointer; font-size: 1.06rem; font-weight: 800; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 8px; top: 18px; color: var(--green); font-size: 1.7rem; }
details[open] summary::after { content: "−"; }
details p { max-width: 760px; padding: 0 42px 22px 2px; color: var(--muted); }
.final-cta { text-align: center; }
.final-cta img { margin: 0 auto 28px; }
.final-cta p { margin: 24px auto 0; color: #dbe8e3; font-size: 1.08rem; }
.centered { justify-content: center; }
.centered > span { color: #dbe8e3; text-align: left; }

@media (max-width: 1000px) {
  .site-header nav { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { min-height: auto; grid-template-columns: 1fr 1fr; }
  .beta-box { grid-template-columns: 1fr 1fr; }
  .beta-box .button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 72px; }
  .section-inner, .narrow { width: min(100% - 28px, 1180px); padding-block: 72px; }
  .header-inner { width: calc(100% - 24px); min-height: 64px; gap: 12px; }
  .brand img { width: 116px; }
  .button-small { margin-left: auto; min-height: 40px; padding: 8px 12px; font-size: .74rem; }
  .hero-grid, .split, .teacher-content, .beta-box { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .hero-copy { padding-top: 8px; }
  .app-shot-hero { transform: none; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cards article { min-height: 190px; padding: 20px 16px; }
  .reverse-mobile > figure { order: 2; }
  .teacher-heading { align-items: start; flex-direction: column; }
  .teacher-content { margin-top: 42px; gap: 38px; }
  .beta-box { gap: 24px; }
  .beta-box .button { grid-column: auto; }
}

@media (max-width: 380px) {
  h1 { font-size: 2.35rem; }
  .header-inner { width: calc(100% - 16px); }
  .brand img { width: 104px; }
  .button-small { max-width: 128px; padding-inline: 9px; line-height: 1.15; }
  .cards { grid-template-columns: 1fr; }
  .cta-row { align-items: flex-start; flex-direction: column; }
  .cta-row > span { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Idiomas e planos. */
html.translating body { visibility: hidden; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.app-language { margin: 14px 0 0; font-size: .92rem; font-weight: 750; }
.final-cta .app-language { margin-top: 18px; }
.plans { background: var(--cream, #F7F3EA); }
.selectors { margin: 30px 0 26px; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 14px; }
.toggle { display: inline-flex; max-width: 100%; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; border: 1px solid #b9c7c0; border-radius: 28px; background: #fff; }
.toggle button { min-height: 44px; padding: 9px 18px; border: 0; border-radius: 999px; background: transparent; color: #17332a; font: inherit; font-weight: 800; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: #1B4437; color: #fff; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
/* Uma coluna com os recursos e, em cada plano, só ✓ ou —: a diferença entre o Plus e o Total aparece num olhar. */
.plan-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; border: 2px solid #d8dfd9; border-radius: 20px; background: #fff; color: #17332a; }
.plan-table .plan-corner { width: 31%; padding: 16px 22px; text-align: left; vertical-align: bottom; font-size: 1.15rem; }
.plan-table thead th[data-plan] { padding: 16px 10px 12px; vertical-align: top; text-align: center; }
.plan-table thead th > span { display: block; }
.badge, .badge-space { min-height: 28px; margin: 0 auto 8px; }
.plan-table thead th > .badge { width: fit-content; max-width: 100%; padding: 3px 12px; border-radius: 999px; background: #F2C14E; color: #2b1d00; font-size: .8rem; font-weight: 900; }
.plan-name { font-size: 1.3rem; font-weight: 900; }
.price { margin: 8px 0 0; line-height: 1.2; }
.price strong { display: block; font-size: clamp(1.4rem, 3.2vw, 2.5rem); letter-spacing: -.02em; }
.price span { font-size: .95rem; font-weight: 600; }
.price-note { margin: 6px 0 0; color: #4c5f57; font-size: .85rem; font-weight: 500; line-height: 1.35; }
.plan-table tbody th { padding: 13px 22px; border-top: 1px solid #e3e8e4; text-align: left; font-weight: 650; }
.plan-table tbody td { border-top: 1px solid #e3e8e4; text-align: center; font-size: 1.25rem; font-weight: 900; }
.plan-table td.yes { color: #1B4437; }
.plan-table td.no { color: #6b5b3e; }
.plan-table tfoot td { padding: 14px 10px; border-top: 1px solid #e3e8e4; vertical-align: middle; text-align: center; }
.plan-table tfoot .button { width: 100%; box-sizing: border-box; justify-content: center; text-align: center; }
.plan-table tfoot .short { display: none; }
.plan-table :is(th, td).featured { background: #fff9ea; border-left: 2px solid #8a6410; border-right: 2px solid #8a6410; }
.plan-table thead th.featured { border-top: 2px solid #8a6410; }
.plan-table tfoot td.featured { border-bottom: 2px solid #8a6410; }
/* O começo grátis é separado dos botões de assinar, que cobram na hora. */
.plan-trial { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; margin-top: 20px; font-weight: 700; }
.plan-everyone { margin-top: 22px; padding: 18px 22px; border: 2px solid #d8dfd9; border-radius: 16px; background: #fff; color: #17332a; text-align: left; }
.plan-everyone h3 { margin: 0 0 8px; font-size: 1.05rem; }
.plan-everyone ul { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 28px; list-style: none; }
.plan-everyone li { margin: 0; padding-left: 24px; position: relative; }
.plan-everyone li::before { content: "✓"; position: absolute; left: 0; color: #1B4437; font-weight: 900; }
@media (max-width: 620px) { .plan-everyone ul { grid-template-columns: minmax(0, 1fr); } }
.plan-facts { margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; list-style: none; text-align: left; font-size: .95rem; }
@media (max-width: 860px) {
  .plan-table { border-radius: 14px; }
  .plan-table .plan-corner { width: 34%; padding: 8px; font-size: .85rem; }
  .plan-table thead th[data-plan] { padding: 8px 2px; }
  .plan-table thead th > .badge { padding: 2px 4px; font-size: .62rem; line-height: 1.2; }
  .plan-name { font-size: .9rem; }
  .price strong { font-size: clamp(.82rem, 3.8vw, 1.4rem); }
  .price span { font-size: .68rem; }
  .price-note { display: none !important; }
  .plan-table tbody th { padding: 9px 8px; font-size: .8rem; overflow-wrap: anywhere; hyphens: auto; }
  .plan-table tbody td { font-size: 1rem; }
  .plan-table tfoot td { padding: 8px 2px; }
  .plan-table tfoot .button { padding: 8px 2px; min-height: 44px; font-size: .72rem; }
  .plan-table tfoot .long { display: none; }
  .plan-table tfoot .short { display: inline; }
  .plan-facts { grid-template-columns: minmax(0, 1fr); }
}

/* Rodapé em colunas, escuro, com os idiomas como links. */
.site-footer { background: #0d2a23; color: #c9d9d3; }
.site-footer .section-inner { padding-block: 52px 26px; text-align: left; }
.footer-columns { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand p { margin: 12px 0 0; font-size: .85rem; }
.footer-brand strong { color: #fff; }
.site-footer h2 { margin: 0 0 6px; color: #fff; font-size: 1rem; letter-spacing: 0; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0; }
.site-footer ul a { display: inline-block; padding: 5px 0; color: #c9d9d3; font-size: .93rem; text-decoration: none; }
.footer-bottom { margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 40px; border-top: 1px solid rgba(201, 217, 211, .25); }
.footer-languages, .legal-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.site-footer .legal-links { gap: 4px 32px; }
.footer-bottom a { display: inline-block; padding: 6px 0; color: #a9bfb7; font-size: .86rem; text-decoration: none; }
.footer-bottom a[aria-current="true"] { color: #fff; font-weight: 800; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.plans .legal-links a { color: inherit; }
.to-top { position: fixed; z-index: 30; right: 18px; bottom: 18px; width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid #F2C14E; border-radius: 12px; background: #1B4437; color: #fff; font-size: 1.4rem; font-weight: 900; text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .28); transition: opacity .2s, visibility .2s; }
.to-top.away { opacity: 0; visibility: hidden; }
@media (max-width: 860px) {
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  /* Folga no fim para o botão de subir não cobrir o último link. */
  .site-footer .section-inner { padding-block: 36px 78px; }
  .to-top { right: 12px; bottom: 12px; width: 44px; height: 44px; }
}

@media (max-width: 420px) {
  /* Nos celulares estreitos, cada plano tem uns 60 px: letras menores e quebra permitida no selo. */
  .plans .section-inner { width: calc(100% - 16px); }
  .plan-table { border-width: 1px; }
  .plan-table .plan-corner { width: 29%; padding: 6px 4px; font-size: .74rem; }
  .plan-table thead th[data-plan] { padding: 8px 1px; }
  .plan-table thead th > .badge { max-width: 100%; padding: 2px; font-size: .52rem; overflow-wrap: anywhere; hyphens: auto; }
  .plan-name { font-size: .68rem; }
  .price strong { font-size: .66rem; letter-spacing: -.02em; }
  .price span { display: block; font-size: .6rem; }
  .plan-table tbody th { padding: 8px 4px; font-size: .72rem; }
  .plan-table tfoot .button { font-size: .62rem; }
}
/* A estrela também identifica o benefício sem depender apenas da cor. */
.plan-key-row th { position: relative; padding-left: 1.8rem; }
.plan-key-row th::before { content: "★"; position: absolute; left: .65rem; color: var(--brass, #8a6500); }
/* A estrela fica ao lado do texto, sem encostar nele. */
.plan-table tbody tr.plan-key-row th[scope="row"] { position: relative; padding-left: 2.2rem; }
.plan-table tbody tr.plan-key-row th[scope="row"]::before { position: absolute; left: .8rem; }
/* “Suscribirse” e “Abonnieren” precisam caber nas colunas de um celular de 320 px. */
@media (max-width: 360px) {
  .plan-table tfoot td { padding-left: 1px; padding-right: 1px; }
  .plan-table tfoot .button { padding-left: 1px; padding-right: 1px; font-size: .6rem; letter-spacing: -.01em; }
}
/* Chamada para a página dos professores. */
.find-teacher { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 48px; padding: 24px 28px; border: 2px solid var(--brass); border-radius: 20px; background: rgba(255, 255, 255, .06); }
.find-teacher > div { flex: 1 1 320px; min-width: 0; }
.find-teacher h3 { margin: 0 0 6px; color: #fff; font-size: 1.35rem; }
.find-teacher p { margin: 0; color: #dbe8e3; }
@media (max-width: 620px) { .find-teacher { padding: 18px 16px; } .find-teacher .button { width: 100%; } }
