/* Pages de vente Prepa Help (prepahelp.com/prepa-scientifique et /prepa-commerciale), reprises du design de younesschool.com/offres */
:root {
  --navy: #0e2240;
  --navy-2: #13305a;
  --navy-deep: #091830;
  --gold: #c8952b;
  --gold-soft: #e9c26a;
  --blue: #1f6fe5;
  --sup: #1d4fa8;
  --spe: #17803d;
  --duo: #e07a1f;
  --ink: #1d2433;
  --muted: #5a6376;
  --line: #e6e3da;
  --bg: #ffffff;
  --bg-soft: #f6f5f0;
  --wa: #25d366;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(14, 34, 64, .10);
  --maxw: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}
img, video { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.5px; }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; scroll-margin-top: 66px; }
#video { scroll-margin-top: 90px; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--navy); color: #dfe6f2; }
.section.dark h2, .section.dark h3 { color: #fff; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.lead { font-size: 18px; color: var(--muted); max-width: 720px; }
.section.dark .lead { color: #b9c5d9; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 0; border-radius: 999px; padding: 15px 28px; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 3px; }
.btn-gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 8px 22px rgba(200, 149, 43, .35); }
.btn-gold:hover { background: #d7a43a; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-wa { background: var(--wa); color: #08361b; }
.btn-block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* En-tête */
.top {
  position: sticky; top: 0; z-index: 40; background: rgba(9, 24, 48, .96); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200, 149, 43, .5);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .4px; }
.brand img { height: 40px; width: auto; background: #fff; border-radius: 8px; padding: 3px 6px; }
.brand small { display: block; font-weight: 500; font-size: 11px; color: var(--gold-soft); letter-spacing: 1.5px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: #d4dcea; text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav a:hover { color: #fff; }
.nav .btn { padding: 10px 20px; font-size: 14.5px; }
@media (max-width: 900px) { .nav a:not(.btn) { display: none; } }

/* Héros */
.hero {
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(31, 111, 229, .28), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(200, 149, 43, .16), transparent 60%),
    linear-gradient(180deg, var(--navy-deep), var(--navy));
  color: #dfe6f2; padding: 64px 0 76px;
}
.hero .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(30px, 3.7vw, 46px); letter-spacing: -1px; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--gold-soft); }
.hero .lead { color: #c3cee0; font-size: 18.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.chips li { border: 1px solid rgba(255, 255, 255, .22); color: #fff; border-radius: 999px; padding: 4px 13px; font-size: 13.5px; font-weight: 600; }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23091830' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.section:not(.dark) .ticks li::before { background-color: var(--spe); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .note { font-size: 13.5px; color: #9fb0cb; margin-top: 14px; }
.player {
  position: relative; border-radius: 18px; overflow: hidden; background: #000;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .12); aspect-ratio: 16 / 9;
}
.player video { width: 100%; height: 100%; object-fit: cover; }
.player button.play {
  position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: none; width: 100%;
}
.player button.play img { width: 100%; height: 100%; object-fit: cover; }
.player button.play span {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; background: var(--gold);
  display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(200, 149, 43, .25); transition: transform .2s;
}
.player button.play:hover span { transform: translate(-50%, -50%) scale(1.06); }
.player button.play span svg { width: 34px; height: 34px; margin-left: 5px; }
.player-cap { font-size: 13.5px; color: #9fb0cb; margin-top: 10px; text-align: center; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 46px; }
.stat { border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 16px; background: rgba(255, 255, 255, .04); }
.stat b { display: block; font-size: 28px; color: #fff; line-height: 1.1; }
.stat span { font-size: 13.5px; color: #a9b8d0; }
@media (max-width: 900px) {
  .hero .grid { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* Bandeau de confiance */
.trust { background: #fff; border-bottom: 1px solid var(--line); padding: 18px 0; }
.trust .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.trust b { color: var(--navy); }

/* Problème */
.pain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 2px 0 rgba(14, 34, 64, .03); }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #eef3fd; color: var(--blue); margin-bottom: 14px; }
.card .ico svg { width: 24px; height: 24px; }
.card p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .pain { grid-template-columns: 1fr; } }

/* Matières */
.subjects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.subject { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.subject img { width: 54px; height: 54px; object-fit: contain; flex: none; }
.subject h3 { margin-bottom: 4px; font-size: 17px; }
.subject p { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .subjects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .subjects { grid-template-columns: 1fr; } }

/* Contenu d'un module */
.inside { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 10px; }
.inside .list { display: grid; gap: 14px; }
.row { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.row .num { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: var(--gold-soft); font-weight: 800; display: grid; place-items: center; }
.row h3 { margin: 0 0 2px; font-size: 16.5px; }
.row p { margin: 0; color: var(--muted); font-size: 14.5px; }
.bonus {
  border-radius: 20px; padding: 30px; color: #dfe6f2;
  background: linear-gradient(150deg, var(--navy-2), var(--navy-deep)); position: relative; overflow: hidden;
}
.bonus::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 149, 43, .35), transparent 70%); }
.bonus .tag { display: inline-block; background: var(--gold); color: var(--navy-deep); font-weight: 800; font-size: 12.5px; letter-spacing: 1px; border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.bonus h3 { color: #fff; font-size: 24px; }
.bonus p { color: #c3cee0; }
.bonus ul { margin: 0 0 18px; padding-left: 18px; color: #dfe6f2; }
.bonus a { color: var(--gold-soft); font-weight: 600; }
@media (max-width: 900px) { .inside { grid-template-columns: 1fr; } }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; counter-reset: s; }
.step { position: relative; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 22px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); font-weight: 800; margin-bottom: 12px; }
.step h3 { font-size: 17px; }
.step p { margin: 0; color: #b9c5d9; font-size: 14.5px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Tarifs */
.switch { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin: 20px 0 6px; box-shadow: var(--shadow); }
.switch button { font: inherit; font-weight: 700; font-size: 15px; border: 0; background: none; color: var(--muted); padding: 10px 22px; border-radius: 999px; cursor: pointer; }
.switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.switch .save { font-size: 11.5px; background: var(--gold); color: var(--navy-deep); border-radius: 999px; padding: 2px 7px; margin-left: 6px; }
.switch button[aria-pressed="true"] .save { background: var(--gold-soft); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; align-items: stretch; }
.plan { text-align: left; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 0 0 26px; display: flex; flex-direction: column; box-shadow: var(--shadow); overflow: hidden; }
.plan .head { padding: 22px 26px 18px; color: #fff; }
.plan.duo .head { padding-right: 130px; }
.plan.sup .head { background: var(--sup); }
.plan.spe .head { background: var(--spe); }
.plan.duo .head { background: var(--duo); }
.plan.duo { border: 2px solid var(--duo); transform: translateY(-8px); }
.plan .badge { position: absolute; top: 16px; right: 16px; background: var(--gold-soft); color: var(--navy-deep); font-size: 12px; font-weight: 800; letter-spacing: .8px; border-radius: 999px; padding: 4px 11px; }
.plan h3 { color: #fff; font-size: 23px; margin: 0; }
.plan .head p { margin: 2px 0 0; font-size: 14px; opacity: .9; }
.plan .price { padding: 22px 26px 6px; }
.plan .amount { display: flex; align-items: baseline; gap: 6px; color: var(--navy); }
.plan .amount b { font-size: 50px; font-weight: 800; letter-spacing: -1.5px; line-height: 1; }
.plan .amount span { font-size: 17px; font-weight: 600; color: var(--muted); }
.plan .mad { font-size: 14px; color: var(--muted); margin-top: 6px; }
.plan .per { font-size: 13.5px; color: var(--spe); font-weight: 600; min-height: 21px; margin-top: 4px; }
.plan ul { list-style: none; padding: 14px 26px 0; margin: 0 0 22px; display: grid; gap: 9px; flex: 1; }
.plan li { position: relative; padding-left: 26px; font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #e8f4ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317803d' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/10px no-repeat; }
.plan .go { padding: 0 26px; }
.plan .btn { width: 100%; }
.plan.sup .btn { background: var(--sup); color: #fff; }
.plan.spe .btn { background: var(--spe); color: #fff; }
.plan.duo .btn { background: var(--duo); color: #fff; }
.pay-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; align-items: center; margin-top: 30px; color: var(--muted); font-size: 14px; }
.pay-logos span { display: inline-flex; align-items: center; gap: 7px; }
.pay-logos svg { width: 18px; height: 18px; color: var(--spe); }
.price-note { text-align: center; color: var(--muted); font-size: 14px; max-width: 760px; margin: 14px auto 0; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } .plan.duo { transform: none; } }

/* Avis */
.quotes { columns: 3 300px; column-gap: 18px; margin-top: 34px; }
.quote { break-inside: avoid; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 14px; padding: 20px 22px; margin: 0 0 18px; }
.quote p { margin: 0 0 12px; font-size: 15.5px; }
.quote footer { font-size: 13px; color: var(--muted); font-weight: 600; }
.quote .stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; margin-bottom: 6px; }
.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.result { background: var(--navy); color: #fff; border-radius: 14px; padding: 18px; }
.result b { display: block; font-size: 22px; color: var(--gold-soft); }
.result span { font-size: 13.5px; color: #b9c5d9; }
@media (max-width: 860px) { .results { grid-template-columns: 1fr 1fr; } }
.shots { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 14px; margin-top: 26px; }
.shots img { flex: none; width: 260px; height: 260px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); scroll-snap-align: start; background: #fff; }
.shots-cap { font-size: 13.5px; color: var(--muted); }

/* Garantie */
.trust-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.ident { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.ident dl { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; margin: 0; font-size: 15px; }
.ident dt { color: var(--muted); font-weight: 600; }
.ident dd { margin: 0; color: var(--navy); font-weight: 600; }
.founder { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
@media (max-width: 860px) { .trust-grid, .promise { grid-template-columns: 1fr; } .ident dl { grid-template-columns: 1fr; gap: 2px; } .ident dd { margin-bottom: 10px; } }

/* Essai */
.trial { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.trial .card h3 { margin-bottom: 6px; }
.trial .card a { font-weight: 700; }
@media (max-width: 760px) { .trial { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 30px auto 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 700; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--gold); font-weight: 600; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* Appel final */
.final { text-align: center; }
.final .cta-row { justify-content: center; margin-top: 26px; }

/* Pied de page */
.foot { background: var(--navy-deep); color: #9fb0cb; padding: 40px 0 90px; font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; }
.foot a { color: #d4dcea; text-decoration: none; }
.foot a:hover { color: #fff; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Bouton WhatsApp flottant */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 45; display: flex; align-items: center; gap: 10px;
  background: var(--wa); color: #08361b; text-decoration: none; font-weight: 700; font-size: 14.5px;
  border-radius: 999px; padding: 12px 18px 12px 14px; box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* Barre d'achat mobile */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; display: none; background: #fff; border-top: 1px solid var(--line); padding: 10px 84px 10px 16px; box-shadow: 0 -6px 20px rgba(14, 34, 64, .1); }
.buybar .btn { width: 100%; padding: 13px; }
@media (max-width: 760px) { .buybar.show { display: block; } }

/* Fenêtre de paiement */
.checkout { border: 0; padding: 0; border-radius: 20px; width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.checkout::backdrop { background: rgba(9, 24, 48, .6); backdrop-filter: blur(3px); }
.co-head { background: var(--navy); color: #fff; padding: 20px 24px; position: relative; }
.co-head h2 { color: #fff; font-size: 20px; margin: 0 0 2px; }
.co-head p { margin: 0; color: #b9c5d9; font-size: 14px; }
.co-close { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 22px; cursor: pointer; }
.co-body { padding: 20px 24px 24px; }
.co-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; background: var(--bg-soft); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; }
.co-sum b { font-size: 24px; color: var(--navy); white-space: nowrap; }
.co-sum small { display: block; color: var(--muted); }
.field { margin-bottom: 13px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 5px; color: var(--navy); }
.field input, .field select { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #d6d9e0; border-radius: 11px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 111, 229, .15); }
.field small { color: var(--muted); font-size: 12.5px; }
.co-err { display: none; background: #fdecec; color: #9b1c1c; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin-bottom: 14px; }
.co-err.show { display: block; }
.co-pay { margin-top: 6px; min-height: 50px; }
.co-off { background: var(--bg-soft); border-radius: 12px; padding: 16px; font-size: 14.5px; color: var(--muted); }
.co-off .btn { margin-top: 12px; width: 100%; }
.co-safe { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.co-safe svg { width: 15px; height: 15px; color: var(--spe); }
.co-or { text-align: center; font-size: 13px; color: var(--muted); margin: 10px 0; }

/* Page de bienvenue */
.thanks { max-width: 720px; margin: 0 auto; }
.thanks .card + .card { margin-top: 16px; }
.state { display: inline-flex; gap: 8px; align-items: center; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 14px; background: #e8f4ec; color: var(--spe); }
.state.wait { background: #fff4e0; color: #8a5a00; }

/* Hub des offres */
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 34px; }
.offer { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.offer p { color: var(--muted); flex: 1; }
.offer .soon { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--muted); background: var(--bg-soft); border-radius: 999px; padding: 4px 10px; margin-bottom: 10px; width: fit-content; }
.offer .live { color: var(--spe); background: #e8f4ec; }
@media (max-width: 760px) { .offers { grid-template-columns: 1fr; } }

/* Formation TIPE */
.hero .brand-tipe { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--gold-soft); font-weight: 700; font-size: 14px; letter-spacing: .4px; }
.hero .brand-tipe img { width: 44px; height: 44px; border-radius: 10px; background: #fff; padding: 3px; }
.etapes { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: e; }
.etape { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 20px; }
.etape img { width: 64px; height: 64px; object-fit: contain; display: block; margin-bottom: 8px; }
.etape .n { position: absolute; top: 14px; right: 16px; font-size: 12.5px; font-weight: 800; color: var(--gold); letter-spacing: .6px; }
.etape h3 { font-size: 17px; margin: 0 0 4px; }
.etape p { font-size: 14px; color: var(--muted); margin: 0; }
.etape .pk { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 10px; background: #eef3fd; color: var(--sup); }
.etape .pk.int { background: #e8f4ec; color: var(--spe); }
@media (max-width: 960px) { .etapes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .etapes { grid-template-columns: 1fr; } .etape { display: grid; grid-template-columns: 56px 1fr; gap: 0 14px; } .etape img { width: 56px; height: 56px; grid-row: span 3; } }
.methode { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.methode .card img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 10px; }
.methode .card h3 { font-size: 18px; }
@media (max-width: 860px) { .methode { grid-template-columns: 1fr; } }
.principe { margin-top: 26px; background: var(--navy); color: #dfe6f2; border-radius: 20px; padding: 26px 28px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.principe b { color: var(--gold-soft); font-size: 22px; line-height: 1.3; display: block; }
.principe p { margin: 0; color: #c3cee0; }
@media (max-width: 760px) { .principe { grid-template-columns: 1fr; } }
.plans.two { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-left: auto; margin-right: auto; }
.plan.ess .head { background: var(--sup); }
.plan.int .head { background: var(--spe); padding-right: 150px; }
.plan.int { border: 2px solid var(--spe); transform: translateY(-8px); }
.plan.ess .btn { background: var(--sup); color: #fff; }
.plan.int .btn { background: var(--spe); color: #fff; }
.plan .old { font-size: 15px; color: var(--muted); margin-bottom: 4px; }
.plan .old s { text-decoration-color: #d0453b; text-decoration-thickness: 2px; }
.plan .save-tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--spe); background: #e8f4ec; border-radius: 999px; padding: 2px 10px; margin-top: 8px; }
.plan li.no { color: #9aa1ae; }
.plan li.no::before { background: #f1f1ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa1ae' stroke-width='3.6' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E") center/10px no-repeat; }
.plan .maroc { margin: 0 26px 14px; padding: 10px 14px; border-radius: 12px; background: var(--bg-soft); font-size: 14px; color: var(--ink); }
.plan .maroc a { font-weight: 600; }
@media (max-width: 960px) { .plans.two { grid-template-columns: 1fr; max-width: 480px; } .plan.int { transform: none; } }
.shots.tall img { width: 300px; height: auto; max-height: 420px; object-fit: contain; }

/* Pages de texte */
.doc { max-width: 780px; margin: 0 auto; }
.doc h2 { font-size: 22px; margin-top: 30px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .player button.play span { transition: none; } }

/* ---------- Ajouts Prepa Help ---------- */
.brand.ph img { height: 34px; width: 34px; padding: 0; background: none; border-radius: 8px; }
.brand.ph span { display: flex; flex-direction: column; line-height: 1.15; font-size: 18px; }
.plans.four { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plans.four .plan .head { padding: 20px 20px 16px; }
.plans.four .plan.duo .head { padding-right: 20px; padding-top: 40px; }
.plans.four .plan .price { padding: 20px 20px 4px; }
.plans.four .plan ul { padding: 12px 20px 0; }
.plans.four .plan .go { padding: 0 20px; }
.plans.four .plan .amount b { font-size: 44px; }
.plans.four .plan .per { color: var(--muted); font-weight: 500; font-size: 13px; min-height: 40px; }
.plans.four .plan li { font-size: 14.5px; }
.plan.full .head { background: var(--navy); }
.plan.full .btn { background: var(--navy); color: #fff; }
@media (max-width: 1100px) { .plans.four { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; } .plans.four .plan.duo { transform: none; } }
@media (max-width: 620px) { .plans.four { grid-template-columns: 1fr; max-width: 440px; } }
.subject .sigle { flex: none; width: 54px; height: 54px; border-radius: 14px; background: var(--navy); color: var(--gold-soft); display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.shots-title { margin-top: 20px; }
.shots.tall img { width: 300px; height: 375px; object-fit: contain; background: var(--navy-deep); }
figure.founder { margin: 0; }
.subjects { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.subject > div { min-width: 0; }
.subject h3 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 1100px) { .subjects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .subjects { grid-template-columns: 1fr; } }
