:root {
  --paper: #f6f2ea;
  --paper-2: #ece5d8;
  --card: #fffdf8;
  --ink: #17150f;
  --ink-2: #4a463d;
  --line: #d9d0bf;
  --red: #d0342c;
  --gold: #f5b800;
  --gold-soft: #fff1c2;

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --text: "Inter", system-ui, sans-serif;

  /* uma só escala */
  --fs-h1: clamp(2.5rem, 4.4vw + .6rem, 4.6rem);
  --fs-h2: clamp(1.9rem, 2.4vw + .7rem, 3rem);
  --fs-h3: 1.3rem;
  --fs-lead: clamp(1.08rem, .5vw + .95rem, 1.3rem);
  --fs-card: 1.15rem;  /* títulos de cartões, perguntas */
  --fs-body: 1.02rem;
  --fs-small: .88rem;
  --fs-tag: .75rem;    /* etiquetas: PT, DE, A1–A2 */

  --gap: clamp(4.5rem, 8vw, 7.5rem);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; margin: 0; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font-size: var(--fs-small); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1rem 1.5rem; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font: 600 1rem/1 var(--text); text-decoration: none;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
  box-shadow: 0 6px 0 -2px var(--gold);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 9px 0 -2px var(--gold); }
.btn small { font-weight: 500; font-size: var(--fs-tag); background: var(--gold); color: var(--ink); padding: .25rem .5rem; border-radius: 999px; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--small { padding: .7rem 1.1rem; font-size: var(--fs-small); box-shadow: none; }
.btn--small:hover { box-shadow: none; background: var(--red); }
.btn--light { background: var(--gold); color: var(--ink); box-shadow: none; }
.btn--light:hover { box-shadow: none; background: #ffd23d; }
.btn--line { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(246,242,234,.5); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--paper); }

/* ---------- topo ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(246,242,234,.86); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.is-scrolled { border-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 2rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font: 700 1.15rem/1 var(--display); }
.brand em { font-style: normal; font-weight: 500; color: var(--ink-2); }
.brand__flag { display: grid; grid-template-rows: repeat(3, 5px); width: 22px; border-radius: 3px; overflow: hidden; }
.brand__flag i:nth-child(1) { background: var(--ink); }
.brand__flag i:nth-child(2) { background: var(--red); }
.brand__flag i:nth-child(3) { background: var(--gold); }
.top__nav { display: flex; gap: 1.6rem; margin-left: auto; }
.top__nav a { text-decoration: none; font-size: var(--fs-small); color: var(--ink-2); }
.top__nav a:hover { color: var(--ink); }
.top__end { display: flex; align-items: center; gap: 1rem; }
/* seletor de língua: botão com bandeira, lista vertical */
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: .45rem; min-height: 40px; padding: 0 .75rem 0 .6rem; border: 1.5px solid var(--ink); border-radius: 999px; font: 600 var(--fs-small)/1 var(--text); color: var(--ink); cursor: pointer; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--paper-2); }
.lang summary:focus-visible, .lang a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.lang__chev { transition: transform .2s ease; }
.lang[open] .lang__chev { transform: rotate(180deg); }
.flag { width: 22px; height: 15px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.lang__menu { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 40; display: flex; flex-direction: column; gap: 2px; min-width: 190px; margin: 0; padding: .35rem; list-style: none; background: var(--card); border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 14px 34px rgba(0,0,0,.14); }
.lang[open] .lang__menu { animation: lang-in .16s ease-out; }
@keyframes lang-in { from { opacity: 0; transform: translateY(-4px); } }
.lang__menu a { display: flex; align-items: center; gap: .7rem; min-height: 44px; padding: 0 .75rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: var(--fs-body); }
.lang__menu a:hover { background: var(--paper-2); }
.lang__menu small { margin-left: auto; font: 600 var(--fs-tag)/1 var(--text); color: var(--ink-2); letter-spacing: .04em; }
.lang__menu a[aria-current="true"] { background: var(--paper-2); font-weight: 600; }
.lang__menu a[aria-current="true"] small::before { content: "✓ "; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .lang__chev { transition: none; } .lang[open] .lang__menu { animation: none; } }

/* cartão do professor no topo */
.teacher-pill { display: inline-flex; align-items: center; gap: .8rem; margin-top: 1.6rem; padding: .45rem 1.1rem .45rem .45rem; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.teacher-pill img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.teacher-pill strong { display: block; font: 700 var(--fs-body)/1.2 var(--display); }
.teacher-pill span { font-size: var(--fs-small); color: var(--ink-2); }

/* línguas que fala */
.langs { list-style: none; padding: 0; margin: 1.4rem 0 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.langs li { display: flex; align-items: baseline; gap: .45rem; padding: .55rem .9rem; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: var(--fs-small); color: var(--ink-2); }
.langs b { font: 700 var(--fs-body)/1 var(--display); color: var(--ink); }

/* teste de nível */
.quiz { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-bottom: var(--gap); }
.quiz__head h2 { margin-bottom: 1rem; }
.quiz__head p:not(.eyebrow) { color: var(--ink-2); font-size: var(--fs-lead); }
.quiz__card { position: relative; background: var(--card); border-radius: 24px; padding: 2.2rem 2rem; min-height: 330px; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -30px rgba(23,21,15,.3); overflow: hidden; }
.quiz__progress { position: absolute; inset: 0 0 auto; height: 6px; background: var(--paper-2); }
.quiz__progress span { display: block; height: 100%; width: 0; background: var(--red); transition: width .5s var(--ease); }
#quiz-body > * { animation: quiz-in .45s var(--ease) both; }
@keyframes quiz-in { from { opacity: 0; transform: translateY(10px); } }
.quiz__scale { display: flex; justify-content: center; gap: .5rem; margin-bottom: 1rem; }
.quiz__scale span { display: grid; place-items: center; min-width: 54px; height: 54px; padding: 0 .5rem; border-radius: 14px; background: var(--paper-2); font: 800 1.15rem/1 var(--display); color: var(--ink-2); animation: lvl-pulse 5s var(--ease) infinite; animation-delay: calc(var(--i) * .5s); }
@keyframes lvl-pulse { 0%, 30%, 100% { background: var(--paper-2); color: var(--ink-2); transform: none; } 10% { background: var(--ink); color: var(--gold); transform: translateY(-4px); } }
.quiz__meta { text-align: center; font-size: var(--fs-small); color: var(--ink-2); margin-bottom: 1.6rem; }
.quiz__start, .quiz__acts { display: flex; flex-wrap: wrap; gap: .8rem; }
.quiz__start { justify-content: center; }
.quiz__count { font-size: var(--fs-small); font-weight: 600; color: var(--red); margin-bottom: .8rem; }
.quiz__q { font: 700 clamp(1.35rem, 1.3vw + .8rem, 1.9rem)/1.2 var(--display); margin-bottom: 1.4rem; }
.quiz__opts { display: grid; gap: .6rem; }
.quiz__opt { text-align: left; min-height: 52px; padding: .85rem 1.1rem; border-radius: 14px; border: 0; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); font: 600 1rem/1.3 var(--text); color: var(--ink); cursor: pointer; transition: box-shadow .2s, background .2s, transform .2s; }
.quiz__opt:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateX(3px); }
.quiz__opt:disabled { cursor: default; }
.quiz__opt.is-right { background: #e3f2df; box-shadow: inset 0 0 0 2px #2f8a3e; }
.quiz__opt.is-wrong { background: #fbe4e2; box-shadow: inset 0 0 0 2px var(--red); }
.quiz__fb { margin-top: 1rem; font-weight: 600; }
.quiz__fb.is-right { color: #2f8a3e; }
.quiz__fb.is-wrong { color: var(--red); }
.quiz__result h3 { font-size: 1.6rem; margin: .9rem 0 .5rem; }
.quiz__result p { color: var(--ink-2); }
.quiz__lvl { display: inline-grid; place-items: center; min-width: 64px; height: 64px; padding: 0 .6rem; border-radius: 18px; background: var(--ink); color: var(--gold); font: 800 1.6rem/1 var(--display); }
.quiz__note { font-size: var(--fs-small); margin: .8rem 0 1.4rem; }

/* ---------- hero ---------- */
.hero { padding: clamp(2.5rem, 6vh, 4.5rem) 0 clamp(3rem, 7vh, 5rem); }
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { font-size: var(--fs-h1); margin-bottom: 1.4rem; }
.hero mark {
  background: linear-gradient(transparent 62%, var(--gold) 62%, var(--gold) 92%, transparent 92%);
  color: inherit; padding: 0 .05em;
  background-size: 0% 100%; background-repeat: no-repeat;
  animation: mark 1s var(--ease) .5s forwards;
}
.hero mark + mark, .hero h1 mark:nth-of-type(2) { animation-delay: .85s; }
@keyframes mark { to { background-size: 100% 100%; } }
.hero__lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 34rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }
.hero__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hero__chips li { font-size: var(--fs-small); padding: .4rem .8rem; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }

/* cartão PT → DE */
.bridge {
  position: relative; margin: 0;
  background: var(--card); border-radius: 24px; padding: 2.2rem 2rem 1.6rem;
  box-shadow: 0 30px 60px -30px rgba(23,21,15,.35), 0 0 0 1px var(--line);
  transform: rotate(1.2deg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: rotate(1.2deg) translateY(-8px); } }
.bridge__bar { position: absolute; inset: 0 0 auto; height: 7px; display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 24px 24px 0 0; overflow: hidden; }
.bridge__bar i:nth-child(1) { background: var(--ink); }
.bridge__bar i:nth-child(2) { background: var(--red); }
.bridge__bar i:nth-child(3) { background: var(--gold); }
.bridge__row { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.bridge__tag { font: 700 var(--fs-tag)/1 var(--text); letter-spacing: .06em; padding: .45rem .55rem; border-radius: 8px; background: var(--paper-2); color: var(--ink-2); margin-top: .35rem; }
.bridge__row--de .bridge__tag { background: var(--ink); color: var(--gold); }
.bridge__row p { font: 700 clamp(1.35rem, 1.4vw + .8rem, 1.9rem)/1.2 var(--display); transition: opacity .45s, transform .45s var(--ease), filter .45s; }
.bridge__row--pt p { color: var(--ink-2); font-weight: 500; }
.bridge__row p.is-out { opacity: 0; transform: translateY(10px); filter: blur(4px); }
.bridge__arrow { color: var(--red); margin: .9rem 0 .9rem 3.1rem; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
.bridge__note { margin-top: 1.6rem; padding-top: 1rem; border-top: 1px dashed var(--line); font-size: var(--fs-small); color: var(--ink-2); transition: opacity .45s; }
.bridge__note.is-out { opacity: 0; }
.bridge__dots { display: flex; gap: 6px; margin-top: 1rem; }
.bridge__dots i { width: 22px; height: 4px; border-radius: 4px; background: var(--paper-2); overflow: hidden; position: relative; }
.bridge__dots i.is-on::after { content: ""; position: absolute; inset: 0; background: var(--red); transform-origin: left; animation: fill var(--dur, 4.2s) linear forwards; }
.bridge__dots i.is-done { background: var(--ink); }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- factos ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-bottom: var(--gap); }
.fact { padding: 1.4rem 1.3rem; border-top: 3px solid var(--ink); }
.fact:nth-child(2) { border-color: var(--red); }
.fact:nth-child(3) { border-color: var(--gold); }
.fact strong { display: block; font: 700 var(--fs-card)/1.2 var(--display); margin-bottom: .4rem; }
.fact p { color: var(--ink-2); }

/* ---------- método (escuro) ---------- */
.shift { background: var(--ink); color: var(--paper); padding: var(--gap) 0; border-radius: 32px; margin: 0 clamp(.5rem, 1.5vw, 1.25rem); }
.shift__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.shift .eyebrow { color: var(--gold); }
.shift h2 { margin-bottom: 1.3rem; }
.shift__copy p:not(.eyebrow) { color: #cfc8b8; font-size: var(--fs-lead); }
.shift__legend { display: flex; gap: 1.2rem; margin-bottom: 1.2rem; font: 600 var(--fs-tag)/1 var(--text); }
.k::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: .45rem; vertical-align: -1px; }
.k--pt::before { background: #5a554a; }
.k--de::before { background: var(--gold); }
.lvl { display: grid; grid-template-columns: 2.6rem 1fr; align-items: center; gap: 1rem; margin-bottom: .9rem; }
.lvl b { font: 700 var(--fs-card)/1 var(--display); }
.lvl__bar { height: 38px; border-radius: 10px; background: #5a554a; overflow: hidden; }
.lvl__bar span { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 10px; transition: width 1.3s var(--ease); }
.shift__chart.is-in .lvl__bar span { width: var(--de); }
.shift__chart.is-in .lvl:nth-of-type(3) span { transition-delay: .15s; }
.shift__chart.is-in .lvl:nth-of-type(4) span { transition-delay: .3s; }
.shift__chart.is-in .lvl:nth-of-type(5) span { transition-delay: .45s; }
.shift__caption { margin-top: 1rem; font-size: var(--fs-small); color: #9a9383; }

/* ---------- mini-aula ---------- */
.lesson { padding: var(--gap) 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.lesson__head h2 { margin-bottom: 1rem; }
.lesson__head p:not(.eyebrow) { color: var(--ink-2); font-size: var(--fs-lead); }
.lesson__card { background: var(--card); border-radius: 24px; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -30px rgba(23,21,15,.3); overflow: hidden; }
.tabs { display: flex; gap: .4rem; padding: .7rem; background: var(--paper-2); }
.tabs button { flex: 1; border: 0; background: transparent; padding: .85rem .6rem; border-radius: 12px; font: 600 var(--fs-body)/1.1 var(--text); color: var(--ink-2); cursor: pointer; transition: background .25s, color .25s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px rgba(23,21,15,.08); }
.sheet { padding: 2rem 2rem 2.2rem; }
.sheet > * { transition: opacity .35s, transform .35s var(--ease); }
.sheet.is-swapping > * { opacity: 0; transform: translateY(6px); }
.sheet__src { color: var(--ink-2); font-size: var(--fs-body); margin-bottom: .6rem; }
.sheet__de { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.sheet__de p { font: 700 clamp(1.45rem, 1.5vw + .8rem, 2.1rem)/1.15 var(--display); }
.listen { flex: none; display: inline-flex; align-items: center; gap: .45rem; border: 0; cursor: pointer; background: var(--gold); color: var(--ink); padding: .7rem 1rem; border-radius: 999px; font: 600 var(--fs-small)/1 var(--text); transition: transform .2s; }
.listen:hover { transform: scale(1.05); }
.listen.is-playing { background: var(--red); color: #fff; }
.sheet__why { padding: 1rem 1.1rem; background: var(--gold-soft); border-radius: 12px; color: var(--ink); margin-bottom: 1rem; }
.sheet__track { font-size: var(--fs-small); font-weight: 600; color: var(--red); }

/* ---------- passos ---------- */
.steps { padding-bottom: var(--gap); }
.steps h2 { margin-bottom: 2.2rem; }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: s; }
.steps__list li { position: relative; padding: 1.6rem 1.4rem; background: var(--card); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.steps__list b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--gold); font: 700 1rem/1 var(--display); margin-bottom: 1.1rem; }
.steps__list li:first-child b { background: var(--red); color: #fff; }
.steps__list strong { display: block; font: 700 var(--fs-card)/1.2 var(--display); margin-bottom: .4rem; }
.steps__list p { color: var(--ink-2); }

/* ---------- percursos ---------- */
.paths { background: var(--paper-2); padding: var(--gap) 0; }
.paths__head { margin-bottom: 2.2rem; }
.paths__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.path { grid-column: span 2; display: flex; flex-direction: column; gap: .7rem; padding: 1.7rem 1.5rem; background: var(--card); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s; }
.path:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(23,21,15,.35); }
.path--main { grid-column: span 3; background: var(--ink); color: var(--paper); }
.path--main p { color: #cfc8b8 !important; }
.path:nth-child(2) { grid-column: span 3; }
.path__lvl { align-self: flex-start; font: 600 var(--fs-tag)/1 var(--text); letter-spacing: .05em; text-transform: uppercase; padding: .4rem .6rem; border-radius: 6px; background: var(--gold-soft); color: var(--ink); }
.path--main .path__lvl { background: var(--gold); }
.path--en .path__lvl { background: #e4e9f4; }
.path--pt { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 1.5rem; }
.path--pt .path__lvl { background: #dcefe3; }
.path--pt .path__body { flex: 1; display: flex; flex-direction: column; gap: .4rem; }
.path p { color: var(--ink-2); flex: 1; }
.path__link { align-self: flex-start; display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; font-weight: 600; text-decoration: none; }
.path__link:hover { color: var(--red); }
.path--main .path__link:hover { color: var(--gold); }

/* ---------- preços (só com dados) ---------- */
.prices { padding-top: var(--gap); }
.prices__head { margin-bottom: 2.2rem; max-width: 40rem; }
.prices__head h2 { margin-bottom: .8rem; }
.prices__head p:not(.eyebrow) { color: var(--ink-2); font-size: var(--fs-lead); }
.prices__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.price { display: flex; flex-direction: column; gap: .7rem; padding: 1.8rem 1.6rem; border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.price--main { background: var(--ink); color: var(--paper); box-shadow: 0 0 0 3px var(--gold); }
.price__value b { font: 800 2.4rem/1 var(--display); }
.price__value span { color: var(--ink-2); font-size: var(--fs-small); }
.price--main .price__value span, .price--main li { color: #cfc8b8; }
.price ul { margin: 0; padding-left: 1.1rem; color: var(--ink-2); flex: 1; }
.price__desc { color: var(--ink-2); flex: 1; }
.price--main .price__desc { color: #cfc8b8; }
.price--main .path__link:hover { color: var(--gold); }
.plans { margin-top: 3rem; }
.plans__title { font-size: var(--fs-h3); margin-bottom: .5rem; }
.plans__lead { color: var(--ink-2); margin: 0 0 1.4rem; }
.plan__per { margin: 0; font-size: var(--fs-small); font-weight: 600; color: var(--ink); }
.price--main .plan__per { color: var(--gold); }

/* ---------- opiniões (só com dados) ---------- */
.reviews { padding-bottom: var(--gap); }
.reviews h2 { margin-bottom: 2rem; }
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.review { margin: 0; padding: 1.8rem 1.6rem; border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1px var(--line); border-top: 4px solid var(--gold); }
.review blockquote { margin: 0 0 1.1rem; font: 500 var(--fs-card)/1.5 var(--text); }
.review figcaption { font-size: var(--fs-small); color: var(--ink-2); }

/* ---------- formação (só com dados) ---------- */
.creds { margin: 0 0 1.2rem; }
.creds p { font-size: var(--fs-small) !important; font-weight: 600; color: var(--red) !important; margin-bottom: .4rem !important; text-transform: uppercase; letter-spacing: .06em; }
.creds ul { margin: 0; padding-left: 1.1rem; color: var(--ink); }

/* ---------- sobre ---------- */
.about { padding: var(--gap) 0; }
.about__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about__photo { margin: 0; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; position: relative; background: var(--paper-2); }
.about__photo::after { content: ""; position: absolute; inset: auto 0 0; height: 7px; background: linear-gradient(90deg, var(--ink) 33.3%, var(--red) 33.3% 66.6%, var(--gold) 66.6%); }
.about__placeholder { height: 100%; display: grid; place-items: center; color: var(--ink-2); font-size: var(--fs-small); border: 2px dashed var(--line); border-radius: 24px; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
/* foto provisória (recorte redondo do contacto) */
.about__photo:has(img) { aspect-ratio: 1; border-radius: 50%; max-width: 360px; justify-self: center; box-shadow: 0 0 0 8px var(--card), 0 0 0 9px var(--line), 0 30px 60px -30px rgba(23,21,15,.4); }
.about__photo:has(img)::after { display: none; }
.about__photo:has(img) img { transform: scale(1.04); }
.about__copy h2 { margin-bottom: 1.3rem; }
.about__copy p:not(.eyebrow) { font-size: var(--fs-lead); color: var(--ink-2); margin-bottom: 1rem; }
.about__sign { font-family: var(--display); font-weight: 700; color: var(--ink) !important; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); padding-bottom: var(--gap); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; font: 600 var(--fs-card)/1.35 var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 1.5rem/1 var(--display); color: var(--red); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 1.3rem; max-width: 40rem; }

/* ---------- cta ---------- */
.cta { background: var(--ink); color: var(--paper); padding: var(--gap) 0; border-radius: 32px; margin: 0 clamp(.5rem, 1.5vw, 1.25rem); text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: linear-gradient(90deg, #000 33.3%, var(--red) 33.3% 66.6%, var(--gold) 66.6%); }
.cta h2 { font-size: var(--fs-h1); margin-bottom: 1rem; }
.cta p { color: #cfc8b8; font-size: var(--fs-lead); margin-bottom: 2rem; }
.goals { border: 0; padding: 0; margin: 0 0 2rem; display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; }
.goals label { cursor: pointer; }
.goals input { position: absolute; opacity: 0; }
.goals label > span { display: block; padding: .8rem 1.3rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(246,242,234,.35); font-weight: 600; transition: background .25s, color .25s, box-shadow .25s; }
.goals input:checked + span { background: var(--paper); color: var(--ink); box-shadow: none; }
.goals input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 3px; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .9rem; }

/* ---------- rodapé ---------- */
.foot { padding: 3.5rem 0 6rem; }
.foot__in { display: grid; gap: .5rem; text-align: center; color: var(--ink-2); }
.foot__bye { font: 800 clamp(2rem, 3vw, 2.6rem)/1 var(--display); color: var(--ink); margin-bottom: .4rem; }
.foot__small { font-size: var(--fs-small); }
.foot__addr a { color: var(--ink); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* botão fixo no telemóvel */
.float-cta { display: none; }

/* ---------- entrada ao fazer scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .facts [data-reveal]:nth-child(2), .js .steps__list li:nth-child(2), .js .paths__grid .path:nth-child(2) { transition-delay: .08s; }
.js .facts [data-reveal]:nth-child(3), .js .steps__list li:nth-child(3), .js .paths__grid .path:nth-child(3) { transition-delay: .16s; }
.js .facts [data-reveal]:nth-child(4), .js .steps__list li:nth-child(4), .js .paths__grid .path:nth-child(4) { transition-delay: .24s; }
.js .paths__grid .path:nth-child(5) { transition-delay: .32s; }

/* ---------- responsivo ---------- */
@media (max-width: 980px) {
  .top__nav { display: none; }
  .hero__in, .shift__in, .lesson, .about__in, .faq, .quiz { grid-template-columns: 1fr; }
  .bridge { max-width: 520px; }
  .facts, .steps__list { grid-template-columns: 1fr 1fr; }
  .paths__grid { grid-template-columns: 1fr 1fr; }
  .path, .path--main, .path:nth-child(2) { grid-column: span 1; }
  .path--main { grid-column: span 2; }
  .path--pt { grid-column: span 2; }
  .about__photo { max-width: 420px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 2rem); }
  .top__in { gap: .8rem; height: 60px; }
  .brand em { display: none; }
  .top__end .btn--small { display: none; }
  .top__end { margin-left: auto; }
  .hero { padding-top: 1.8rem; }
  /* telemóvel: o cartão PT → DE sobe para logo a seguir ao texto, como se vê ao lado no computador */
  .hero__in { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero__copy > *, .bridge { max-width: none; }
  .teacher-pill { align-self: flex-start; }
  .hero__copy { display: contents; }
  .hero__copy > .eyebrow { order: 1; }
  .hero h1 { order: 2; }
  .hero__lead { order: 3; margin-bottom: 1.4rem; }
  .bridge { order: 4; margin-bottom: 1.6rem; }
  .hero__actions { order: 5; margin-bottom: 1.4rem; }
  .hero__chips { order: 6; }
  .teacher-pill { order: 7; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__chips li { font-size: .8rem; padding: .35rem .7rem; }
  .bridge { padding: 1.5rem 1.2rem 1.1rem; transform: none; animation: none; }
  .bridge__row p { font-size: 1.3rem; }
  .bridge__arrow { margin: .5rem 0 .5rem 2.9rem; }
  .bridge__note { margin-top: 1rem; padding-top: .8rem; }
  .facts { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .fact { padding: 1.1rem .4rem 0 0; }
  .steps__list, .paths__grid { grid-template-columns: 1fr; }
  .steps__list { gap: .6rem; }
  .steps__list li { display: grid; grid-template-columns: 38px 1fr; column-gap: 1rem; padding: 1.1rem 1.2rem; }
  .steps__list b { grid-row: span 2; margin: 0; }
  .path { padding: 1.4rem 1.3rem; gap: .5rem; }
  .path--main { grid-column: span 1; }
  .path--pt { grid-column: span 1; flex-direction: column; align-items: stretch; gap: .5rem; }
  .shift, .cta { border-radius: 22px; margin: 0 .5rem; }
  .tabs button { font-size: var(--fs-small); padding: .75rem .3rem; }
  .sheet { padding: 1.5rem 1.3rem 1.7rem; }
  .sheet__de { flex-direction: column; align-items: flex-start; }
  .cta__actions .btn { width: 100%; justify-content: center; }
  .quiz__card { padding: 2rem 1.3rem 1.6rem; }
  .quiz__start .btn, .quiz__acts .btn { width: 100%; justify-content: center; }
  .teacher-pill { border-radius: 20px; }
  .float-cta {
    display: block; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 30;
    text-align: center; padding: 1rem; border-radius: 999px; background: var(--ink); color: var(--paper);
    font-weight: 600; text-decoration: none; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5);
    transform: translateY(150%); transition: transform .4s var(--ease);
  }
  .float-cta.is-on { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero mark { background-size: 100% 100%; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .lvl__bar span { width: var(--de); }
}

/* política de privacidade */
.legal { max-width: 760px; padding: 3rem 0 5rem; }
.legal__top { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--fs-small); font-weight: 600; margin: 0 0 2.5rem; }
.legal h1 { font-size: var(--fs-h2); margin-bottom: .6rem; }
.legal__date { font-size: var(--fs-small); color: var(--ink-2); margin: 0 0 1.5rem; }
.legal__lead { font-size: var(--fs-lead); margin: 0 0 2rem; }
.legal h2 { font-size: var(--fs-h3); margin: 2.2rem 0 .7rem; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.65; }
.legal ul { padding-left: 1.2rem; display: grid; gap: .4rem; }
.legal a { text-decoration-color: var(--gold); text-underline-offset: 3px; }
