:root {
  --bleu: #1d2f6f;
  --bleu-2: #2a43a0;
  --rouge: #d6283b;
  --creme: #faf6ef;
  --papier: #ffffff;
  --encre: #1b1d24;
  --gris: #6b6f7b;
  --ligne: #e7e1d6;
  --vert: #1f8a4c;
  --or: #c99a2e;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(29, 47, 111, .08);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 130px; }
body { margin: 0; font-family: var(--sans); color: var(--encre); background: var(--creme); line-height: 1.55; }
img { max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section-title { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .6em; color: var(--bleu); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--rouge); margin: 0 0 .5em; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent; font-weight: 600; cursor: pointer; text-decoration: none; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--bleu); color: #fff; }
.btn-primary:hover { background: var(--bleu-2); }
.btn-ghost { background: transparent; border-color: var(--bleu); color: var(--bleu); }
.btn-wa { background: #25d366; color: #0b3d1f; margin-top: .5em; }
.btn-block { width: 100%; }
.icon-btn { position: relative; background: none; border: 0; font-size: 1.35rem; cursor: pointer; padding: .3em .4em; color: var(--bleu); }
.badge { position: absolute; top: -2px; right: -4px; background: var(--rouge); color: #fff; font-size: .65rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }

/* Barre haute + header */
.topbar { background: var(--bleu); color: #fff; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1em; padding: .5em 0; }
/* the bar scrolls its messages from right to left, in a loop; it stops under the pointer */
.ticker { overflow: hidden; padding: .5em 0; }
.ticker-track { display: flex; width: max-content; animation: defile 38s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; flex-shrink: 0; }
.ticker-set span { white-space: nowrap; padding: 0 1.6em; position: relative; }
.ticker-set span::after { content: "•"; position: absolute; right: -.25em; opacity: .5; }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* fewer animations asked (often the phone's battery saver): the bar still scrolls, more
   slowly, and always on one line; touching it pauses it */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation-duration: 70s; }
}
.ticker:active .ticker-track { animation-play-state: paused; }
.header { background: var(--papier); position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--ligne); }
.header-inner { display: flex; align-items: center; gap: 1.2em; padding: .8em 0; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--bleu); text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.logo-flag { display: inline-flex; width: 26px; height: 18px; border-radius: 3px; overflow: hidden; }
.logo-flag i { flex: 1; } .logo-flag i:nth-child(1) { background: #0055a4; } .logo-flag i:nth-child(2) { background: #fff; outline: 1px solid #eee; } .logo-flag i:nth-child(3) { background: #ef4135; }
.search { flex: 1; }
.search input { width: 100%; padding: .7em 1.1em; border-radius: 999px; border: 1.5px solid var(--ligne); background: var(--creme); }
.search input:focus { outline: none; border-color: var(--bleu); background: #fff; }
.header-tools { display: flex; align-items: center; gap: .5em; }
.select-wrap { display: inline-flex; align-items: center; gap: .2em; }
select { padding: .5em .7em; border-radius: 10px; border: 1.5px solid var(--ligne); background: #fff; cursor: pointer; }
.nav { display: flex; gap: .4em; overflow-x: auto; padding-bottom: .7em; scrollbar-width: none; }
.nav button, .nav a { text-decoration: none; white-space: nowrap; border: 0; background: none; padding: .45em .9em; border-radius: 999px; cursor: pointer; color: var(--gris); font-weight: 500; }
.nav button.active, .nav button:hover, .nav a:hover { background: var(--bleu); color: #fff; }

/* Hero */
.hero { background: radial-gradient(circle at 85% 20%, #f5dcd9 0, transparent 40%), radial-gradient(circle at 10% 90%, #dfe4f4 0, transparent 45%); padding: clamp(2.5rem, 6vw, 5rem) 0; }
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; margin: 0 0 .4em; color: var(--bleu); }
.hero h1 em { color: var(--rouge); font-style: normal; }
.lead { font-size: 1.1rem; color: #3b3f4a; max-width: 56ch; }
.hero-cta { display: flex; gap: .8em; flex-wrap: wrap; margin: 1.5em 0; }
.hero-proof { display: flex; gap: 2em; list-style: none; padding: 0; margin: 0; color: var(--gris); font-size: .9rem; }
.hero-proof strong { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--bleu); }


/* Boutique */
.shop { padding: 4rem 0 2rem; }
.shop-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1em; }
.shop-controls { display: flex; gap: .5em; flex-wrap: wrap; align-items: center; }
.check { display: inline-flex; gap: .4em; align-items: center; font-size: .9rem; cursor: pointer; }
.result-count { color: var(--gris); font-size: .9rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; }
.card { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(29, 47, 111, .14); }
.card-tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 4px; flex-wrap: wrap; align-items: flex-start; }
.tag { white-space: nowrap; font-size: .68rem; font-weight: 700; padding: .25em .6em; border-radius: 999px; background: #fff; color: var(--bleu); }
.tag.promo { background: var(--rouge); color: #fff; }
.tag.best { background: var(--or); color: #fff; }
.wish-toggle { position: absolute; top: 8px; right: 8px; background: #fff; border: 0; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1.05rem; color: var(--rouge); }
.card-body { padding: 1em 1.1em 1.1em; display: flex; flex-direction: column; flex: 1; gap: .3em; }
.card h3 { font-size: 1rem; margin: 0; line-height: 1.3; }
.card h3 button { all: unset; cursor: pointer; }
.card h3 button:hover { color: var(--bleu-2); }
.price-row { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5em; padding-top: .5em; }
.price { font-weight: 700; font-size: 1.15rem; color: var(--bleu); }
.price s { color: var(--gris); font-weight: 400; font-size: .85rem; margin-left: .3em; }
.card-actions { display: flex; gap: .4em; margin-left: auto; }
.mini { padding: .5em .8em; font-size: .82rem; }
.empty { text-align: center; color: var(--gris); padding: 3em 0; grid-column: 1 / -1; }

/* Coffret */
.builder { background: var(--bleu); color: #fff; padding: 4rem 0; margin-top: 2rem; }
.builder .section-title { color: #fff; }
.builder .eyebrow { color: #ffb4bc; }
.builder-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.builder-box { background: #fff; color: var(--encre); border-radius: 20px; padding: 1.5em; }
.builder-list { list-style: none; padding: 0; margin: 0 0 1em; min-height: 60px; }
.builder-list li { display: flex; justify-content: space-between; align-items: center; padding: .5em 0; border-bottom: 1px solid var(--ligne); }
.builder-list .hint { color: var(--gris); border: 0; }
.builder-total { margin-bottom: 1em; font-weight: 600; }

/* Comparatif */
.compare { padding: 4rem 0 2rem; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: #fff; min-width: 720px; }
th, td { padding: .9em 1em; text-align: left; border-bottom: 1px solid var(--ligne); font-size: .92rem; }
th { background: #f3efe6; color: var(--bleu); }
th.us { background: var(--bleu); color: #fff; }
td.us { background: #eef1fb; font-weight: 600; color: var(--bleu); }

/* Box */
.box { padding: 2rem 0 4rem; }
.box-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: center; background: #fff; border-radius: 24px; padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow); }
.ticks { padding: 0; list-style: none; } .ticks li::before { content: "✔ "; color: var(--vert); font-weight: 700; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.plan { border: 2px solid var(--ligne); border-radius: var(--radius); padding: 1.2em; text-align: center; display: flex; flex-direction: column; gap: .4em; }
.plan.featured { border-color: var(--rouge); position: relative; }
.plan.featured::before { content: "Le plus choisi"; position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--rouge); color: #fff; font-size: .7rem; padding: .15em .7em; border-radius: 999px; font-weight: 700; white-space: nowrap; }
.plan h3 { margin: 0; color: var(--bleu); font-size: 1rem; }
.plan .price { font-size: 1.4rem; }
.plan small { color: var(--gris); }

/* Promise / FAQ */
.faq { padding: 2rem 0 4rem; max-width: 820px; }
details { background: #fff; border-radius: 12px; padding: 1em 1.2em; margin-bottom: .6em; box-shadow: var(--shadow); }
summary { cursor: pointer; font-weight: 600; color: var(--bleu); }
details p { margin: .7em 0 0; color: #3b3f4a; }

/* Newsletter / footer */
.newsletter { background: var(--rouge); color: #fff; padding: 3rem 0; }
.newsletter-inner { display: flex; justify-content: space-between; align-items: center; gap: 2em; flex-wrap: wrap; }
.newsletter h2 { font-family: var(--serif); margin: 0; }
.newsletter p { margin: .3em 0 0; opacity: .9; }
.nl-form { display: flex; gap: .5em; flex: 1; max-width: 460px; }
.nl-form input { flex: 1; padding: .8em 1.1em; border-radius: 999px; border: 0; min-width: 0; }
.footer { background: #12193b; color: #c9cee0; padding: 3rem 0 1.5rem; }
.footer .logo { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer h4 { color: #fff; margin: 0 0 .7em; }
.footer ul { list-style: none; padding: 0; margin: 0; } .footer li { margin-bottom: .4em; }
.footer a { text-decoration: none; } .footer a:hover { color: #fff; }
.policies { max-width: 820px; padding: 2rem 0 4rem; }
.policies h2 { font-family: var(--serif); color: var(--bleu); font-size: 1.35rem; margin: 2rem 0 .6rem; }
.policies section { scroll-margin-top: 1rem; }
.policies ul { padding-left: 1.2em; } .policies li { margin-bottom: .5em; }
.policy-toc { display: flex; flex-wrap: wrap; gap: .4em; margin: 1rem 0; }
.policy-toc a { background: #eef1fb; color: var(--bleu); border-radius: 999px; padding: .3em .8em; font-size: .88rem; text-decoration: none; }
.legal { font-size: .78rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid #2a3360; }

/* Tiroirs / modale */
.overlay { position: fixed; inset: 0; background: rgba(10, 14, 35, .45); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: #fff; z-index: 50; transform: translateX(100%); transition: transform .3s; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1em 1.2em; border-bottom: 1px solid var(--ligne); }
.drawer-head h2 { margin: 0; font-family: var(--serif); color: var(--bleu); font-size: 1.3rem; }
.bar { height: 6px; background: var(--ligne); border-radius: 3px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--vert); width: 0; transition: width .3s; }
.cart-list { list-style: none; margin: 0; padding: 0 1.2em; overflow-y: auto; flex: 1; }
.cart-item { display: grid; grid-template-columns: 52px 1fr auto; gap: .8em; align-items: center; padding: .9em 0; border-bottom: 1px solid var(--ligne); }
.cart-item h4 { margin: 0; font-size: .9rem; }
.cart-item small { color: var(--gris); }
.remove { border: 0; background: none; color: var(--gris); cursor: pointer; font-size: .8rem; text-decoration: underline; }
.drawer-foot { padding: 1em 1.2em; border-top: 1px solid var(--ligne); }
.promo { display: flex; gap: .4em; margin-bottom: .8em; }
.promo input { flex: 1; padding: .55em .9em; border: 1.5px solid var(--ligne); border-radius: 999px; min-width: 0; }
.promo .btn { padding: .5em 1em; }
.totals div { display: flex; justify-content: space-between; padding: .2em 0; font-size: .92rem; }
.totals .grand { font-weight: 700; font-size: 1.1rem; color: var(--bleu); border-top: 1px solid var(--ligne); margin-top: .4em; padding-top: .5em; }
.totals .disc { color: var(--vert); }
.totals .warn { color: var(--rouge); font-size: .8rem; }
.totals { margin-bottom: .8em; }

.modal { border: 0; border-radius: 20px; padding: 0; width: min(860px, calc(100% - 32px)); max-height: 90vh; }
.modal::backdrop { background: rgba(10, 14, 35, .55); }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; background: #fff; border-radius: 50%; }
.pd { display: grid; grid-template-columns: 1fr 1fr; }
.pd-body { padding: 2em; display: flex; flex-direction: column; gap: .6em; }
.pd-body h2 { font-family: var(--serif); color: var(--bleu); margin: 0; }
.pd-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; font-size: .85rem; margin: .5em 0; }
.pd-facts div { background: var(--creme); padding: .6em .8em; border-radius: 10px; }
.pd-facts span { display: block; color: var(--gris); font-size: .75rem; }
.checkout { padding: 2em; }
.checkout h2 { font-family: var(--serif); color: var(--bleu); margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8em; }
.form-grid label { display: flex; flex-direction: column; font-size: .85rem; gap: .25em; color: var(--gris); }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select { padding: .7em .9em; border: 1.5px solid var(--ligne); border-radius: 10px; color: var(--encre); }
.pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .5em; margin: 1em 0; }
.pay-methods label { border: 2px solid var(--ligne); border-radius: 12px; padding: .8em; cursor: pointer; display: flex; gap: .5em; align-items: center; font-size: .9rem; }
.pay-methods label:has(input:checked) { border-color: var(--bleu); background: #eef1fb; }
.success { text-align: center; padding: 3em 2em; }
.success .big { font-size: 4rem; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 120px); background: var(--encre); color: #fff; padding: .8em 1.3em; border-radius: 999px; z-index: 60; transition: transform .3s; font-size: .9rem; }
.toast.show { transform: translate(-50%, 0); }
.wa-float { position: fixed; bottom: 20px; right: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; font-size: 1.6rem; text-decoration: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); z-index: 35; }

/* Pas à Pas French additions */
.logo-sub { font-family: var(--sans); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); }
.test-card { background: #fff; border-radius: 20px; padding: 1.6em; box-shadow: var(--shadow); border-top: 6px solid var(--rouge); display: flex; flex-direction: column; gap: .8em; }
.test-card h2 { font-family: var(--serif); margin: 0; color: var(--bleu); font-size: 1.5rem; text-wrap: balance; }
.test-card p { margin: 0; color: #3b3f4a; }
.level-scale { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: .4em 0; }
.level-scale span { text-align: center; font-weight: 700; font-size: .8rem; padding: .45em 0; border-radius: 6px; color: #fff; background: var(--bleu); }
.level-scale span:nth-child(1) { opacity: .4; } .level-scale span:nth-child(2) { opacity: .5; } .level-scale span:nth-child(3) { opacity: .6; } .level-scale span:nth-child(4) { opacity: .7; } .level-scale span:nth-child(5) { opacity: .8; } .level-scale span:nth-child(6) { opacity: .9; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: -1.5rem; position: relative; }
.steps > div { background: #fff; border-radius: var(--radius); padding: 1.2em; box-shadow: var(--shadow); }
.steps b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--rouge); color: #fff; font-size: .9rem; }
.steps h3 { margin: .5em 0 .2em; font-size: 1rem; color: var(--bleu); }
.steps p { margin: 0; color: var(--gris); font-size: .88rem; }
.card-media { border: 0; padding: 0; width: 100%; cursor: pointer; background: none; display: block; }
.cover { --h: 222; position: relative; aspect-ratio: 4 / 3; max-width: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: .25em; padding: 1.1em; text-align: left; color: #fff;
  background: linear-gradient(150deg, hsl(var(--h) 62% 34%), hsl(calc(var(--h) + 18) 58% 24%)); overflow: hidden; }
.cover::after { content: ""; position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; border-radius: 50%; border: 18px solid rgba(255,255,255,.08); }
.cover-level { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; z-index: 1; }
.cover-cat { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.cover-title { font-family: var(--serif); font-size: 1.3rem; line-height: 1.15; font-weight: 700; text-wrap: balance; }
.cover-big { aspect-ratio: auto; height: 100%; min-height: 260px; padding: 2em; }
.cover-big .cover-title { font-size: 2rem; }
.cover-big .cover-level { font-size: 2.4rem; }
.card-meta { font-size: .8rem; color: var(--gris); }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chip { display: inline-block; font-size: .7rem; font-weight: 600; padding: .2em .6em; border-radius: 999px; background: #eef1fb; color: var(--bleu); white-space: nowrap; }
.cart-thumb { --h: 222; width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: .78rem; color: #fff; background: hsl(var(--h) 55% 34%); }
.cart-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: .2em; }
.pd-media { min-height: 260px; display: flex; }
.pd-media .cover { flex: 1; }
.hero-cta.tight { margin: 0; }
.ok { color: var(--vert); }
.note { font-size: .82rem; color: var(--gris); margin: .8em 0 0; }
.promise { padding: 2rem 0; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.promise-grid > div { background: #fff; border-radius: var(--radius); padding: 1.4em; box-shadow: var(--shadow); }
.promise-grid h3 { margin: 0 0 .3em; color: var(--bleu); }
.promise-grid p { margin: 0; color: #3b3f4a; }
.quiz { padding: 2em; display: flex; flex-direction: column; gap: 1em; }
.quiz-head { display: flex; justify-content: space-between; align-items: center; padding-right: 2.5em; }
.quiz-head .eyebrow { margin: 0; }
.quiz h2 { font-family: var(--serif); color: var(--bleu); margin: .2em 0; font-size: 1.6rem; text-wrap: balance; }
.quiz h2 em { color: var(--rouge); font-style: normal; }
.quiz .bar { height: 6px; background: var(--ligne); border-radius: 3px; overflow: hidden; }
.quiz .bar span { display: block; height: 100%; background: var(--vert); }
.quiz-note { margin: 0; color: var(--gris, #5b6472); font-size: .95rem; }
.quiz-q { border: 1px solid var(--ligne); border-radius: 12px; padding: .9em 1em; display: grid; gap: .35em; }
.quiz-inst { margin: 0; font-size: .92rem; color: #4a5361; }
.quiz-ex { margin: 0; font-size: .9rem; color: #4a5361; }
.quiz-ex b { color: var(--rouge); font-weight: 600; margin-right: .3em; }
.quiz-q label { font-size: 1.1rem; font-weight: 600; color: var(--encre); }
.quiz-q input { padding: .7em .8em; border: 2px solid var(--ligne); border-radius: 10px; font-size: 1rem; width: 100%; }
.quiz-q input:focus { outline: none; border-color: var(--bleu); }
.quiz-skills { margin: 0; padding-left: 1.2em; }
.link-btn { align-self: flex-start; background: none; border: 0; color: var(--gris); text-decoration: underline; cursor: pointer; padding: .3em 0; }
.pick-list { list-style: none; padding: 0; margin: 0; }
.pick-list li { display: flex; justify-content: space-between; align-items: center; gap: 1em; padding: .7em 0; border-bottom: 1px solid var(--ligne); flex-wrap: wrap; }
.pick-list small, .builder-list small { color: var(--gris); }
:focus-visible { outline: 3px solid var(--bleu-2); outline-offset: 2px; }

/* Levels, exams, payment */
.block { padding: 3.5rem 0 1rem; }
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--ligne); border-radius: 16px; background: #fff; }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { padding: .8em 1em; text-align: left; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: .85rem; color: var(--gris); font-weight: 600; }
.compare tbody th { font-weight: 600; color: var(--encre); width: 26%; }
.compare td { color: var(--gris); }
.compare .us { background: #eef1fb; color: var(--bleu); font-weight: 600; }
.compare thead .us { color: var(--bleu); font-size: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.block-band { background: #eef1fb; margin-top: 2.5rem; padding-bottom: 2.5rem; }
.block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1em; flex-wrap: wrap; margin-bottom: 1.2rem; }
.block-head .section-title { margin-bottom: .2em; }
.sub { margin: 0; color: #3b3f4a; max-width: 62ch; }
.level-tabs { display: grid; grid-template-columns: repeat(7, 1fr); gap: .5rem; }
.level-tabs button { --h: 222; border: 2px solid var(--ligne); background: #fff; border-radius: 14px; padding: .7em .4em; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .1em; color: var(--encre); }
.level-tabs button { justify-content: center; }
.level-tabs b { font-family: var(--serif); font-size: 1.15rem; line-height: 1.15; text-align: center; text-wrap: balance; color: hsl(var(--h) 55% 32%); }
.level-tabs span { font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: var(--gris); text-align: center; }
.level-tabs button[aria-selected="true"] { background: hsl(var(--h) 55% 30%); border-color: hsl(var(--h) 55% 30%); }
.level-tabs button[aria-selected="true"] b, .level-tabs button[aria-selected="true"] span { color: #fff; }
.level-panel { margin-top: 1rem; background: #fff; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.lp-head { --h: 222; display: flex; justify-content: space-between; align-items: center; gap: 1.5em; flex-wrap: wrap; padding: 1.6em; color: #fff; background: linear-gradient(140deg, hsl(var(--h) 60% 30%), hsl(calc(var(--h) + 20) 55% 22%)); }
.lp-title { display: flex; gap: 1em; align-items: center; min-width: 0; flex: 1 1 320px; }
.lp-code { font-family: var(--serif); font-size: 1.6rem; opacity: .85; font-weight: 700; line-height: 1; }
.lp-title h3 { margin: 0; font-family: var(--serif); font-size: 2rem; }
.lp-title p { margin: .2em 0 0; opacity: .9; max-width: 55ch; }
.lp-buy { display: flex; flex-direction: column; align-items: flex-start; gap: .35em; }
.lp-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.lp-buy .price { color: #fff; font-size: 1.5rem; }
.lp-buy .price s { color: rgba(255,255,255,.7); }
.btn-light { background: #fff; color: var(--bleu); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.lp-buy .btn-ghost { border-color: #fff; color: #fff; }
.modules { list-style: none; margin: 0; padding: .4em 1.6em; }
.modules li { display: grid; grid-template-columns: 36px 1fr auto auto; gap: 1em; align-items: center; padding: .85em 0; border-bottom: 1px solid var(--ligne); }
.modules li:last-child { border-bottom: 0; }
.m-num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #eef1fb; color: var(--bleu); font-weight: 700; font-size: .85rem; }
.m-body { min-width: 0; display: flex; flex-direction: column; }
.m-body small { color: var(--gris); }
.m-price { font-weight: 700; color: var(--bleu); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-foot { display: flex; flex-wrap: wrap; gap: .4em 1.2em; align-items: center; padding: 1em 1.6em; background: var(--creme); font-size: .9rem; }
.lp-foot .link-btn { color: var(--bleu); font-weight: 600; }
.seg { display: inline-flex; background: #fff; border-radius: 999px; padding: 4px; gap: 2px; box-shadow: var(--shadow); }
.seg button { border: 0; background: none; padding: .5em 1em; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--gris); }
.seg button.active { background: var(--bleu); color: #fff; }
.grid-7 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pay-card { background: #fff; border-radius: var(--radius); padding: 1.4em; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .6em; align-items: flex-start; }
.pay-card h3 { margin: 0; color: var(--bleu); }
.pay-card p { margin: 0; color: #3b3f4a; }
.pay-cm { border-top: 4px solid #ffcc00; }
.chip-momo { background: #ffcc00; color: #1b1d24; }
.chip-om { background: #ff7900; color: #fff; }
.pm-title { margin: 1em 0 0; }
.pay-methods .pm-momo:has(input:checked) { border-color: #e6b800; background: #fff8d6; }
.pay-methods .pm-om:has(input:checked) { border-color: #ff7900; background: #fff1e5; }
.upgrade { display: flex; flex-direction: column; gap: .5em; align-items: flex-start; background: #eef8f1; border-radius: 12px; padding: .9em 1em; margin: .8em 0; font-size: .88rem; }
.form-error { color: var(--rouge); font-weight: 600; margin: .5em 0; }
#payDetails label { display: flex; flex-direction: column; gap: .25em; font-size: .85rem; color: var(--gris); }
#payDetails input { padding: .7em .9em; border: 1.5px solid var(--ligne); border-radius: 10px; color: var(--encre); }
.checkout select { width: 100%; }

/* Real catalogue: packs, method band, author */
.level-scale span.off { background: var(--gris); opacity: .35; }
.level-tabs button.prep { background: var(--creme); border-style: dashed; }
.level-tabs button.prep b { color: var(--gris); }
.level-tabs button.prep[aria-selected="true"] { background: var(--gris); border-color: var(--gris); }
.lp-empty { padding: 1.4em 1.6em; display: flex; gap: 1em; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.lp-empty p { margin: 0; color: #3b3f4a; }
.prods { list-style: none; margin: 0; padding: .4em 1.6em; }
.prod { display: grid; grid-template-columns: 1fr auto; gap: 1.2em; padding: 1.1em 0; border-bottom: 1px solid var(--ligne); align-items: start; }
.prod:last-child { border-bottom: 0; }
.prod-body { min-width: 0; display: flex; flex-direction: column; gap: .2em; }
.prod-body small { color: var(--gris); }
.prod-body p { margin: .3em 0 0; color: #3b3f4a; max-width: 68ch; font-size: .93rem; }
.prod-buy { display: flex; flex-direction: column; align-items: flex-end; gap: .4em; }
.prod-buy .price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.method { display: grid; grid-template-columns: 1fr auto; gap: 2em; align-items: center; padding: 2em; border-radius: 20px; color: #fff; background: linear-gradient(140deg, var(--bleu), #2b1c5e); }
.method h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .3em; }
.method p { margin: 0 0 .6em; max-width: 68ch; opacity: .92; }
.method .eyebrow { color: #ffb4bc; }
.method-meta span { color: #b9f0cd; font-weight: 600; }
.method-buy { display: flex; flex-direction: column; align-items: flex-start; gap: .6em; }
.method-buy .price { color: #fff; font-size: 2rem; white-space: nowrap; }
.inside-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.inside-list { background: #fff; border-radius: var(--radius); padding: 1.4em 1.6em; box-shadow: var(--shadow); margin: 0; display: flex; flex-direction: column; justify-content: space-evenly; gap: .8em; font-size: 1.05rem; }
.inside-list li { padding: .35em 0; border-bottom: 1px solid #eef0f5; }
.inside-list li:last-child { border-bottom: 0; }
.inside-side { display: flex; flex-direction: column; gap: 1rem; }
.exam-soon { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.proposed { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4em; }
.proposed li { background: #eef1fb; color: var(--bleu); border-radius: 999px; padding: .2em .4em .2em .8em; font-size: .88rem; display: flex; align-items: center; gap: .2em; }
.proposed .link-btn { padding: 0 .3em; }
.note.ok { color: var(--vert); font-weight: 600; }
.answer-list { display: grid; gap: .5em; }
.answer-list .pm { display: flex; gap: .6em; align-items: center; }
.session.request { background: #fdf6e7; }
.residence-line { display: flex; flex-wrap: wrap; gap: .6em 1.2em; align-items: flex-end; background: #fff; border-radius: var(--radius); padding: 1em 1.2em; margin-bottom: 1rem; box-shadow: var(--shadow); }
.residence-line label { display: grid; gap: .3em; font-weight: 600; }
.residence-line small, .residence small { color: var(--gris); font-weight: 400; }
.residence-line select { padding: .5em .6em; border: 2px solid var(--ligne); border-radius: 10px; font: inherit; max-width: 100%; }
.residence-line span { color: var(--gris); font-size: .92rem; }
.residence { margin: 0; }
.exam-card .tag { background: #eef1fb; }
.free-cta { display: flex; align-items: center; gap: .8em; flex-wrap: wrap; margin-top: .4em; }
.free-cta span { color: var(--gris); font-size: .9rem; }
.check { display: block; padding-left: 1.7em; text-indent: -1.7em; font-size: .92rem; color: var(--gris); line-height: 1.5; }
.check input { margin: 0 .6em 0 0; vertical-align: -.1em; text-indent: 0; }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.review { margin: 0; background: #fff; border-radius: var(--radius); padding: 1.3em; box-shadow: var(--shadow); display: grid; gap: .5em; }
.review .stars { color: var(--or); letter-spacing: .1em; }
.review blockquote { margin: 0; }
.review .verified { color: var(--vert); font-weight: 600; }
.review-reply { margin: 0; padding: .6em .8em; background: #eef1fb; border-radius: 10px; font-size: .92rem; }
.star-pick { display: flex; gap: .2em; flex-direction: row; }
.star-pick label { cursor: pointer; font-size: 2rem; color: #d9d2c4; line-height: 1; }
.star-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-pick label:has(~ label input:checked), .star-pick label:has(input:checked) { color: var(--or); }
.star-pick input:focus-visible + span { outline: 2px solid var(--bleu); border-radius: 4px; }
textarea { font: inherit; padding: .7em .8em; border: 2px solid var(--ligne); border-radius: 10px; width: 100%; resize: vertical; }
.review figcaption { color: var(--gris); font-size: .9rem; }
.exam-buy { margin-top: auto; display: flex; align-items: center; gap: .8em; flex-wrap: wrap; }
.exam-card h3 { font-family: var(--serif); font-size: 1.6rem; }
.exam-levels { font-weight: 600; color: var(--bleu) !important; }
.exam-official { font-style: italic; font-size: .9rem; margin-top: -.25rem; }
.tag.soon { background: #fdf0d5; color: #8a5a00; }
.tag.pre { background: #e3f1e6; color: #1e6b34; }
.pre-note { display: block; font-size: .78rem; line-height: 1.35; color: #4a5568; margin-top: .4em; max-width: 26em; }
.pre-note.light { color: rgba(255,255,255,.85); }
.exam-card .pre-note { margin-top: .2em; }
.exam-format { align-self: stretch; min-width: 0; margin: .2em 0 .8em; font-size: .9rem; }
.exam-format summary { cursor: pointer; font-weight: 600; color: var(--bleu); }
.exam-format table { width: 100%; min-width: 0; border-collapse: collapse; margin: .6em 0; background: transparent; }
.exam-format th, .exam-format td { text-align: left; vertical-align: top; padding: .45em .4em; border-top: 1px solid #e3e7f0; border-bottom: 0; font-size: .86rem; }
.exam-format th { width: 34%; font-weight: 700; background: none; color: var(--bleu); }
.exam-format th span { display: block; font-weight: 400; font-size: .82rem; color: #5f6b80; }
.exam-format p { margin: 0; font-size: .85rem; color: #5f6b80; }
.exam-wait { font-size: .85rem; color: #8a5a00; font-weight: 600; }
.nclc-target { margin: .8em 0 .4em !important; color: var(--bleu) !important; }
.nclc-wrap { overflow-x: auto; margin: .3em 0 .5em; }
.exam-format table.nclc { width: 100%; font-size: .74rem; }
.exam-format .nclc th, .exam-format .nclc td { width: auto; padding: .35em .25em; text-align: center; font-size: .74rem; }
.exam-format .nclc td { white-space: nowrap; }
.exam-format .nclc .t7 { background: #eef1fb; font-weight: 700; color: var(--bleu); }
.author { display: grid; grid-template-columns: auto 1fr; gap: 1.6em; align-items: start; background: #fff; border-radius: 20px; padding: 2em; box-shadow: var(--shadow); }
.author p { max-width: 68ch; color: #3b3f4a; }
.author-mark { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--bleu); color: #fff; font-family: var(--serif); font-size: 1.8rem; font-weight: 700; }
.contact-line { margin: 0; }
.header-inner { justify-content: space-between; }

.pay-card p + p { margin-top: .4em; }
.sample { margin-top: 1.5rem; display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; background: #fff; border-radius: 20px; padding: 1.4em; box-shadow: var(--shadow); align-items: center; }
.sample-cover { aspect-ratio: 3 / 4; max-width: 100%; border-radius: 12px; background: #13304f; color: #fff; padding: 1.1em; display: flex; flex-direction: column; justify-content: flex-end; gap: .3em; position: relative; }
.sample-cover strong { font-size: 1.15rem; line-height: 1.2; }
.sample-kicker { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #e8a33d; }
.sample-level { position: absolute; top: .9em; right: .9em; background: #c0392b; border-radius: 8px; padding: .2em .6em; font-weight: 700; }
.sample-body { min-width: 0; display: flex; flex-direction: column; gap: .6em; }
.sample-body h3 { margin: 0; font-family: var(--serif); color: var(--bleu); font-size: 1.4rem; }
.sample-body p { margin: 0; color: #3b3f4a; }

.hero-proof { flex-wrap: wrap; row-gap: 1em; }
.hero-proof strong { white-space: nowrap; }

details.mods { margin: .5em 0 0; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.mods summary { cursor: pointer; color: var(--bleu); font-weight: 600; font-size: .9rem; }
.mod-list { margin: .5em 0 .3em; padding-left: 1.6em; color: #3b3f4a; font-size: .92rem; columns: 2; column-gap: 2em; }
.mod-list li { break-inside: avoid; margin-bottom: .2em; }
.mod-bilan { margin: 0 0 .6em; font-size: .85rem; color: var(--gris); font-style: italic; }
.live-steps { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.live-steps li { display: flex; gap: .7em; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 1em; box-shadow: var(--shadow); }
.live-steps b { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--rouge); color: #fff; font-size: .85rem; }
.live-card .price { margin-top: auto; }
.checkout textarea { padding: .7em .9em; border: 1.5px solid var(--ligne); border-radius: 10px; font: inherit; color: var(--encre); resize: vertical; }

.chips-row { display: flex; flex-wrap: wrap; gap: .4em; margin: .5em 0; }
.slot { border: 1.5px solid var(--ligne); background: #fff; border-radius: 999px; padding: .45em .9em; cursor: pointer; font: inherit; font-size: .88rem; color: var(--encre); }
.slot:hover { border-color: var(--bleu); }
.slot.on { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.slot.day-has { background: #e7f6ec; border-color: var(--vert); color: #14603a; }
.slot.day-full { background: var(--vert); border-color: var(--vert); color: #fff; }
.day-full-msg { background: #fdf6e7; border: 1.5px solid var(--or); border-radius: 12px; padding: .8em 1em; display: grid; gap: .6em; }
.day-full-msg p { margin: 0; }
.day-full-actions { display: flex; flex-wrap: wrap; gap: .5em; }
.slot:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; border-style: dashed; }
.slot:disabled:hover { border-color: var(--ligne); }
.book-len { grid-template-columns: repeat(3, 1fr); }
.book-len b { color: var(--bleu); }
.book-len .pm-t { display: flex; flex-direction: column; gap: .15em; }
.book-len .pm-t small { color: var(--gris); }
.my-sessions { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2em 1.4em; margin-bottom: 1.2rem; border-left: 5px solid var(--vert); }
.my-sessions h3 { margin: 0 0 .6em; color: var(--bleu); }
.session { display: grid; grid-template-columns: 1fr auto auto; gap: 1em; align-items: center; padding: .7em 0; border-top: 1px solid var(--ligne); }
.session div { display: flex; flex-direction: column; }
.session small { color: var(--gris); }
.countdown { font-variant-numeric: tabular-nums; color: var(--bleu); font-weight: 600; }
.session .btn:disabled { opacity: .45; cursor: not-allowed; }
.modal.modal-room { width: min(1100px, calc(100% - 24px)); max-height: 94vh; }
.room { padding: 1.2em; display: flex; flex-direction: column; gap: .7em; }
.room-top { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding-right: 2.5em; flex-wrap: wrap; }
.room-top .eyebrow { margin: 0; }
.room-timer { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 1.3rem; color: var(--bleu); }
.room-timer.warn { color: #b26b00; }
.room-timer.over { color: var(--rouge); }
.room-bar { height: 6px; background: var(--ligne); border-radius: 3px; overflow: hidden; }
.room-bar span { display: block; height: 100%; width: 0; background: var(--vert); transition: width 1s linear; }
.room-video { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: #0f1530; border-radius: 12px; overflow: hidden; display: grid; place-items: center; }
.room-video iframe { width: 100%; height: 100%; border: 0; }
.room-video video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.room-msg { position: absolute; bottom: 0; left: 0; right: 0; margin: 0; padding: .8em 1em; color: #fff; background: rgba(0,0,0,.55); font-size: .9rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner, .builder-inner, .box-inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .promise-grid, .pay-grid { grid-template-columns: 1fr; }
  .level-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .level-tabs button { min-width: 0; padding: .6em .2em; }
  .level-tabs span { font-size: .64rem; }
  .level-tabs b { font-size: .84rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .inside-grid, .method, .sample, .live-steps { grid-template-columns: 1fr; }
  .mod-list { columns: 1; }
  .sample-cover { max-width: 220px; }
  .pd { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .hide-sm { display: none; }
  .topbar-inner { justify-content: center; }
  .header-inner { flex-wrap: wrap; }
  .search { order: 3; flex-basis: 100%; }
  .header-tools { gap: .3em; }
  .header-tools .select-wrap { flex: 1; min-width: 0; }
  .header-tools select { width: 100%; min-width: 0; font-size: .85rem; }
  .plans { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .modules, .prods { padding: .4em 1em; }
  .book-len { grid-template-columns: 1fr; }
  .session { grid-template-columns: 1fr auto; }
  .session .countdown { grid-column: 1 / -1; order: 3; }
  .prod { grid-template-columns: 1fr; }
  .prod-buy { flex-direction: row; align-items: center; justify-content: space-between; }
  .exam-soon, .author { grid-template-columns: minmax(0, 1fr); }
  .modules li { grid-template-columns: 32px 1fr auto; }
  .modules li .btn { grid-column: 2 / -1; justify-self: start; }
  .lp-code { font-size: 2.4rem; }
  .steps { grid-template-columns: 1fr; }
  .hero-proof { gap: 1.2em; }
  .nl-form { flex-direction: column; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Searchable picker: countries, currencies */
.picker { position: relative; display: inline-block; min-width: 0; }
.picker-btn { display: flex; align-items: center; justify-content: space-between; gap: .6em; width: 100%; min-width: 9.5em; padding: .55em .8em; border: 2px solid var(--ligne); border-radius: 10px; background: #fff; font: inherit; color: var(--encre); cursor: pointer; text-align: left; }
.picker-btn:hover, .picker-btn:focus-visible { border-color: var(--bleu); outline: none; }
.picker-btn span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker-pop { position: absolute; z-index: 60; top: calc(100% + 4px); left: 0; width: max(100%, 17rem); max-width: calc(100vw - 32px); background: #fff; border: 1.5px solid var(--ligne); border-radius: 12px; box-shadow: 0 12px 32px rgba(29, 47, 111, .18); padding: .5em; }
.header-tools .picker-pop { left: auto; right: 0; }
.picker-search { width: 100%; padding: .55em .7em; border: 2px solid var(--ligne); border-radius: 8px; font: inherit; }
.picker-search:focus { outline: none; border-color: var(--bleu); }
.picker-list { list-style: none; margin: .4em 0 0; padding: 0; max-height: 16rem; overflow-y: auto; }
.picker-list li { padding: .45em .6em; border-radius: 8px; cursor: pointer; }
.picker-list li small { color: var(--gris); }
.picker-list li:hover, .picker-list li.active { background: #eef1fb; }
.picker-list li[aria-selected="true"] { font-weight: 700; color: var(--bleu); }
.picker-list li.none { color: var(--gris); cursor: default; }
.res-field { display: grid; gap: .3em; }
.res-label { font-weight: 600; }
.res-field .picker { width: min(100%, 22rem); }
#coResidence .picker { width: 100%; }

/* Feedback after a choice */
.toast { position: fixed; z-index: 100; left: 50%; bottom: 1.2rem; transform: translate(-50%, 150%); width: max-content; max-width: min(92vw, 40rem); background: var(--bleu); color: #fff; padding: .8em 1.1em; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); font-size: .95rem; transition: transform .3s ease; }
.toast.show { transform: translate(-50%, 0); }
@keyframes justUpdated { 0% { box-shadow: 0 0 0 0 rgba(31, 138, 76, .55); } 30% { box-shadow: 0 0 0 6px rgba(31, 138, 76, .35); } 100% { box-shadow: 0 0 0 0 rgba(31, 138, 76, 0); } }
.just-updated { animation: justUpdated 1.6s ease-out; border-radius: var(--radius); }
@media (prefers-reduced-motion: reduce) { .just-updated { animation: none; } .toast { transition: none; } }
[hidden] { display: none !important; }
@media (max-width: 640px) {
  .header-tools .picker-btn { min-width: 6.5em; padding: .45em .6em; font-size: .85rem; }
}

/* Exam guide: which exam, diploma or test, are you ready */
.exam-guide { margin: 0 0 2em; display: grid; gap: 1.2em; }
.exam-guide h3 { margin: 0; }
.goal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1em; }
.goal { border: 1px solid #e3e7f1; border-radius: 14px; padding: 1.1em 1.2em; background: #fff; min-width: 0; }
.goal h4 { margin: 0 0 .4em; font-size: 1rem; color: var(--bleu); }
.goal p { margin: 0; font-size: .92rem; line-height: 1.5; }
.diploma-test { border-left: 4px solid var(--bleu); background: #f4f6fb; padding: .9em 1.2em; border-radius: 0 12px 12px 0; }
.diploma-test p { margin: 0; font-size: .95rem; }
.ready-check { display: grid; grid-template-columns: 1fr auto; gap: 1.5em; align-items: center; padding: 1.4em 1.6em; border-radius: 16px; background: #fdf6e7; border: 1px solid #f1dfb4; }
.ready-check p, .ready-check li { font-size: .95rem; line-height: 1.5; }
.ready-check ol { margin: .4em 0 0; padding-left: 1.2em; }
.ready-cta { display: flex; flex-direction: column; gap: .6em; }
.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 1.5em; align-items: center; padding: 1.8em 2em; border-radius: 20px; color: #fff; background: linear-gradient(140deg, var(--bleu), #2b1c5e); }
.cta-band h2 { margin: 0 0 .3em; color: #fff; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); }
.prod-buy .pre-note { text-align: right; max-width: 15em; }
@media (max-width: 720px) {
  .ready-check, .cta-band { grid-template-columns: 1fr; padding: 1.2em; }
  .ready-cta { flex-direction: row; flex-wrap: wrap; }
  .prod-buy { flex-wrap: wrap; }
  .prod-buy .pre-note { text-align: left; max-width: none; flex-basis: 100%; }
}

/* Your reason to learn */
.motive-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1rem; }
.motive { display: flex; flex-direction: column; gap: .5em; background: #fff; border-radius: var(--radius); padding: 1.3em 1.3em 1.2em; box-shadow: var(--shadow); border-top: 4px solid var(--bleu); min-width: 0; }
.motive:nth-child(2) { border-top-color: var(--rouge); }
.motive:nth-child(3) { border-top-color: var(--or); }
.motive:nth-child(4) { border-top-color: #2b8a5e; }
.motive-tag { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.motive h3 { margin: 0; color: var(--bleu); font-size: 1.1rem; }
.motive p { margin: 0; font-size: .92rem; line-height: 1.55; }
.motive .motive-path { flex: 1; color: var(--bleu); font-size: .88rem; }
.motive .btn { align-self: flex-start; margin-top: .4em; }
.motive-cta { display: flex; flex-wrap: wrap; gap: 1em; align-items: center; justify-content: space-between; margin-top: 1.2rem; padding: 1em 1.3em; border-radius: var(--radius); background: #f4f6fb; }
.motive-cta p { margin: 0; font-weight: 600; color: var(--bleu); }

/* Live lesson plans */
.live-plans { margin-top: 1.6rem; }
.plans-head h3 { margin: .1em 0 .3em; color: var(--bleu); font-size: 1.25rem; }
.plans-head p { margin: 0 0 1em; color: var(--gris); max-width: 46em; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; align-items: stretch; }
.plan-card { display: flex; flex-direction: column; gap: .45em; position: relative; min-width: 0; }
.plan-card.best { border: 2px solid var(--bleu); box-shadow: 0 10px 30px rgba(29, 47, 111, .16); }
.plan-card .tag.best { position: absolute; top: -.8em; left: 1.2em; }
.plan-card h4 { margin: .2em 0 0; color: var(--bleu); font-size: 1.1rem; }
.plan-card p { margin: 0; font-size: .9rem; }
.plan-card .plan-price .price { font-size: 1.5rem; }
.plan-card .plan-per { font-weight: 600; color: var(--bleu); }
.plan-card .btn { margin-top: auto; align-self: flex-start; }
.plan-offer { margin-top: 1em; padding: 1em 1.1em; border-radius: var(--radius); background: #f4f6fb; }
.plan-offer h3 { margin: .2em 0 .4em; color: var(--bleu); font-size: 1.05rem; }
.plan-offer p { font-size: .9rem; }

/* "My courses": buyers sign in to read their courses (payment server, serveur/compte.py). */
.account-link { margin-left: auto; display: inline-flex; align-items: center; gap: .45em; padding: .5em 1em; border: 2px solid var(--bleu); border-radius: 999px; color: var(--bleu); font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.account-link::before { content: ""; width: .95em; height: .95em; background: currentColor; -webkit-mask: radial-gradient(circle at 50% 30%, #000 28%, transparent 30%), radial-gradient(ellipse at 50% 100%, #000 45%, transparent 47%); mask: radial-gradient(circle at 50% 30%, #000 28%, transparent 30%), radial-gradient(ellipse at 50% 100%, #000 45%, transparent 47%); }
.account-link:hover { background: var(--bleu); color: #fff; }
.account-link[hidden] { display: none; }
@media (max-width: 640px) { .account-link { padding: .4em .8em; font-size: .85rem; } }

/* ====== Breathing room (19/10/2026): same content, more air ====== */
body { line-height: 1.65; }
.block { padding: 5rem 0 1.5rem; }
.block-band { margin-top: 4rem; padding-bottom: 4rem; }
.block-head { margin-bottom: 2.2rem; }
.sub { line-height: 1.7; }
.motive-grid { gap: 1.5rem; }
.motive { padding: 1.6em 1.6em 1.4em; gap: .7em; }
.motive p { line-height: 1.65; }
.prod { padding: 1.6em 0; gap: 2em; }
.prod-body { gap: .35em; }
.prod-body p { line-height: 1.65; }
#examSoon { gap: 1.5rem; }
.exam-card { padding: 1.7em; gap: .8em; }
.exam-card h3 { margin: .1em 0 0; }
/* Long texts show their first lines; "Read more" unfolds them. Nothing is removed. */
.clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--lines, 3); line-clamp: var(--lines, 3); overflow: hidden; }
.clamp.open { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
.sub.clamp { --lines: 3; }
.more-btn { background: none; border: 0; padding: 0; margin: .4em 0 0; color: var(--bleu); font: 600 .9rem var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; }
.more-btn:hover { color: var(--rouge); }
@media (max-width: 640px) { .block { padding: 3.5rem 0 1rem; } .block-band { margin-top: 2.5rem; padding-bottom: 2.5rem; } }

/* Folded guide in the exams section */
.guide-fold { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 1.4em; }
.guide-fold > summary { list-style: none; cursor: pointer; padding: 1.1em 0; display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.guide-fold > summary::-webkit-details-marker { display: none; }
.guide-fold > summary::after { content: "+"; font: 600 1.5rem var(--sans); color: var(--bleu); line-height: 1; }
.guide-fold[open] > summary::after { content: "−"; }
.guide-fold > summary h3 { margin: 0; }
.guide-fold[open] { padding-bottom: 1.4em; }
.guide-fold .goal-grid { margin-bottom: 1.2em; }
/* Questions in four groups, two columns on wide screens */
.faq { max-width: 1200px; padding: 3rem 0 5rem; }
.faq-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 2.5rem 2rem; align-items: start; }
.faq-group h3 { margin: 0 0 .8em; font-family: var(--serif); color: var(--bleu); font-size: 1.25rem; }

/* Exam families as tabs */
.exam-tabs { display: inline-flex; gap: .3rem; padding: .3rem; background: #fff; border: 1px solid var(--ligne); border-radius: 999px; margin: .5rem 0 1.5rem; }
.exam-tabs button { border: 0; background: none; padding: .55em 1.3em; border-radius: 999px; font: 600 .95rem var(--sans); color: var(--bleu); cursor: pointer; }
.exam-tabs button[aria-selected="true"] { background: var(--bleu); color: #fff; }
#examSoon[data-show="delf"] .exam-card[data-group="tcf"], #examSoon[data-show="tcf"] .exam-card[data-group="delf"] { display: none; }

/* ====== Views: one part of the site at a time ====== */
.view-off { display: none !important; }
main > section.view-first:not(.hero) { padding-top: 4rem; }
main > section.block-band.view-first { margin-top: 0; }
.nav a.on { background: var(--bleu); color: #fff; border-radius: 999px; }
/* More air on the home page */
.hero { padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.steps { margin-block: 1rem 2rem; gap: 1.5rem; }
