/* =====================================================================
   ARS PHYSIQUE — site vitrine (hébergé sur Hostinger)
   Feuille de styles commune à toutes les pages.
   Charte : violet systeme.io + Poppins, accents de la maquette « design »
   (titres Instrument Serif italique, pastilles pastel, bandeau jaune).
   ===================================================================== */

:root {
  /* Couleur commune du site : encre (neutre), utilisée partout sauf sur ce qui concerne un niveau précis */
  --acc: #2e3440;
  --acc-fonce: #1d222b;
  --acc-nuit: #171b22;
  --acc-clair: #9aa3b0;
  --acc-pale: #eef0f3;
  --acc-rgb: 46, 52, 64;
  --tache-a: #dde3ec; --tache-b: #f3ead9; --tache-c: #dcefe6;
  --creme: #fdfcf8;
  --blanc: #fff;
  --texte: #2b2b2b;
  --gris: #5c6068;
  --ligne: #e6e7ea;
  --jaune: #ffcc00;
  --menthe: #bfebd6;
  --peche: #ffb48a;
  --ciel: #9cc9ff;
  --lavande: #e4e7ec;
  /* Couleurs par niveau (identiques aux fiches et à la page « choix du niveau » systeme.io) */
  --n6: #EFC30A;  --n6-fonce: #6E5F1C;  --n6-pale: #FDF9E6;
  --n5: #FF914D;  --n5-fonce: #6E3B1C;  --n5-pale: #FDF1EA;
  --n4: #56B7C8;  --n4-fonce: #225D68;  --n4-pale: #EAFAFD;
  --n3: #B0B588;  --n3-fonce: #515535;  --n3-pale: #FBFDEA;
  --n2: #4682D4;  --n2-fonce: #1C3F6E;  --n2-pale: #EAF1FA;
  --n1: #DB4949;  --n1-fonce: #6E1C1C;  --n1-pale: #FDEAEA;
  --nT: #AF96B6;  --nT-fonce: #4F3456;  --nT-pale: #FAEAFF;
  --arc-niveaux: linear-gradient(90deg, var(--n6), var(--n5), var(--n4), var(--n3), var(--n2), var(--n1), var(--nT));
  /* Couleurs du livret Terminale */
  --chimie: #2b5f73;
  --physique: #84202a;
  --methode: #3b4046;

  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ombre: 0 1px 0 rgba(22, 26, 33, .04), 0 10px 30px -12px rgba(22, 26, 33, .22);
  --ombre-forte: 0 30px 60px -20px rgba(22, 26, 33, .45);
  --rayon: 18px;
  --large: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--creme); color: var(--texte);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--acc-clair); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--large); margin: 0 auto; padding: 0 24px; }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.surligne { position: relative; white-space: nowrap; }
.surligne::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .32em; z-index: -1;
  background: var(--arc-niveaux); opacity: .55; border-radius: 4px; transform: scaleX(0); transform-origin: left;
  transition: transform 1s var(--ease) .5s;
}
.is-visible .surligne::after, .surligne.is-visible::after { transform: scaleX(1); }

/* Repères « à compléter » : visibles dans l'ébauche, à remplacer avant la mise en ligne */
.todo { background: repeating-linear-gradient(-45deg, #fff4bf 0 6px, #fff9de 6px 12px); outline: 1.5px dashed #d4a800; border-radius: 4px; padding: 0 4px; color: #6b5300; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--acc); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 15px; white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(var(--acc-rgb), .8);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::before { /* reflet qui balaie le bouton au survol */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(var(--acc-rgb), .9); background: var(--acc-fonce); }
.btn:hover::before { transform: translateX(120%); }
.btn .fl { transition: transform .35s var(--ease); }
.btn:hover .fl { transform: translateX(4px); }
.btn-clair { --bg: #fff; --fg: var(--acc-fonce); box-shadow: inset 0 0 0 1.5px var(--ligne); }
.btn-clair:hover { background: var(--acc-pale); box-shadow: inset 0 0 0 1.5px var(--acc-clair); }
.btn-jaune { --bg: #fff; --fg: var(--acc-nuit); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
.btn-jaune:hover { background: #f4f5f7; }
.btn-grand { min-height: 58px; padding: 0 32px; font-size: 16px; }
.btn[aria-disabled="true"] { --bg: #e4e6ea; --fg: #7f858e; box-shadow: none; cursor: not-allowed; pointer-events: none; }

.etiquette {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--acc);
}
.etiquette::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(var(--acc-rgb), .18); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--acc-pale); color: var(--acc-fonce); }
.badge-bientot { background: #eceef1; color: #7f858e; }
.badge-jaune { background: var(--acc-nuit); color: #fff; }

/* ---------- Bandeau d'annonce + barre de progression ---------- */
.annonce { background: var(--acc-nuit); color: #fff; font-size: 14px; text-align: center; padding: 9px 16px; font-weight: 500; }
.annonce a { display: inline-flex; gap: 8px; align-items: center; }
.annonce a:hover span { transform: translateX(4px); }
.annonce span { transition: transform .3s var(--ease); }
.progression { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; background: var(--arc-niveaux); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- En-tête (présent sur toutes les pages) ---------- */
.entete {
  position: sticky; top: 0; z-index: 200;
  background: rgba(253, 252, 248, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.entete.defile { border-bottom-color: var(--ligne); background: rgba(255, 255, 255, .92); }
.entete-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; transition: height .35s var(--ease); }
.entete.defile .entete-in { height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 30px; width: auto; transition: height .35s var(--ease); }
.entete.defile .logo img { height: 26px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 9px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: #43474e;
  transition: color .25s, background .25s;
}
.nav a:hover { color: var(--acc-fonce); background: var(--acc-pale); }
.nav a[aria-current="page"] { color: var(--acc-fonce); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--acc); }
.nav .grise { color: #9aa0a8; }
.nav .grise .badge { font-size: 10.5px; padding: 2px 7px; margin-left: 4px; vertical-align: 1px; }
/* Élément annoncé mais pas encore accessible (boutique fermée) : visible, jamais cliquable ni survolé */
a[aria-disabled="true"] { cursor: default; pointer-events: none; }
.entete .btn { min-height: 42px; padding: 0 20px; font-size: 14px; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--acc-pale); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--acc-fonce); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 27px; }
.menu-ouvert .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-ouvert .burger span:nth-child(2) { opacity: 0; }
.menu-ouvert .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Menu plein écran sur téléphone */
.menu-mobile {
  position: fixed; inset: 0; z-index: 190; background: var(--creme); padding: 132px 24px 32px;
  display: flex; flex-direction: column; gap: 6px; clip-path: circle(0 at calc(100% - 46px) 40px);
  transition: clip-path .6s var(--ease); visibility: hidden;
}
.menu-ouvert .menu-mobile { clip-path: circle(150% at calc(100% - 46px) 40px); visibility: visible; }
.menu-mobile a { font-size: 30px; font-weight: 600; padding: 10px 0; border-bottom: 1px solid var(--ligne); display: flex; align-items: center; justify-content: space-between; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease); }
.menu-ouvert .menu-mobile a { opacity: 1; transform: none; }
.menu-ouvert .menu-mobile a:nth-child(2) { transition-delay: .05s; } .menu-ouvert .menu-mobile a:nth-child(3) { transition-delay: .1s; }
.menu-ouvert .menu-mobile a:nth-child(4) { transition-delay: .15s; } .menu-ouvert .menu-mobile a:nth-child(5) { transition-delay: .2s; }
.menu-mobile a.grise { color: #9aa0a8; }
.menu-mobile .reseaux { margin-top: auto; }

@media (max-width: 960px) {
  .nav, .entete .btn { display: none; }
  .burger { display: block; }
}

/* ---------- Sections génériques ---------- */
section { position: relative; }
.section { padding: 110px 0; }
.section-titre { max-width: 720px; margin-bottom: 56px; }
.section-titre.centre { margin-left: auto; margin-right: auto; text-align: center; }
.section-titre h2 { font-size: clamp(32px, 4.6vw, 52px); margin-top: 14px; }
.section-titre p { margin-top: 18px; font-size: 17.5px; color: var(--gris); }
.fond-blanc { background: var(--blanc); }
.fond-pale { background: var(--acc-pale); }
.fond-nuit { background: var(--acc-nuit); color: #eef0f3; }
.fond-nuit .etiquette { color: #cfd5de; }
.fond-nuit .section-titre p { color: #b9c0ca; }

/* ---------- Apparition au défilement ---------- */
[data-revele] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-revele="gauche"] { transform: translateX(-40px); }
[data-revele="droite"] { transform: translateX(40px); }
[data-revele="zoom"] { transform: scale(.92); }
[data-revele].is-visible { opacity: 1; transform: none; }
.mot { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.mot > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: var(--d, 0s); }
.is-visible .mot > span { transform: none; }

/* ---------- HÉRO (accueil) ---------- */
.hero { padding: 70px 0 90px; overflow: hidden; }
.hero-fond { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero-fond::before { /* quadrillage de cahier, très léger */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(var(--acc-rgb), .07) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--acc-rgb), .07) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
}
.tache { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: flotte 14s ease-in-out infinite alternate; }
.tache-1 { width: 420px; height: 420px; background: var(--tache-a); top: -80px; right: 4%; }
.tache-2 { width: 300px; height: 300px; background: var(--tache-b); bottom: -60px; left: 8%; animation-delay: -5s; }
.tache-3 { width: 260px; height: 260px; background: var(--tache-c); top: 40%; right: 36%; animation-delay: -9s; opacity: .4; }
@keyframes flotte { to { transform: translate(30px, -40px) scale(1.08); } }

.hero-grille { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -.035em; margin: 22px 0 24px; }
.hero h1 .serif { color: var(--acc); font-size: 1.08em; }
.hero-texte { font-size: 18.5px; color: var(--gris); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-preuves { display: flex; align-items: center; gap: 16px; margin-top: 38px; font-size: 14px; color: var(--gris); flex-wrap: wrap; }
.hero-preuves .points { display: flex; }
.hero-preuves .points span { width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid var(--creme); margin-left: -9px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--acc-nuit); }
.hero-preuves .points span:first-child { margin-left: 0; }

/* Atome animé du héro */
.atome-scene { position: relative; aspect-ratio: 1; max-width: 520px; margin-left: auto; width: 100%; }
.atome-scene svg { width: 100%; height: 100%; overflow: visible; }
.orbite { fill: none; stroke: var(--acc); stroke-width: 2.2; opacity: .55; }
.orbite-pointillee { fill: none; stroke: var(--acc-clair); stroke-width: 1.2; stroke-dasharray: 3 9; opacity: .8; }
.noyau-halo { fill: url(#halo); }
.atome-tourne { transform-origin: 260px 260px; animation: tourne 40s linear infinite; }
.atome-tourne-inverse { transform-origin: 260px 260px; animation: tourne 60s linear infinite reverse; }
@keyframes tourne { to { transform: rotate(360deg); } }
.atome-logo { position: absolute; left: 50%; top: 50%; width: 30%; transform: translate(-50%, -50%); filter: drop-shadow(0 18px 30px rgba(var(--acc-rgb), .35)); animation: respire 6s ease-in-out infinite; }
@keyframes respire { 50% { transform: translate(-50%, -52%) scale(1.03); } }
.formule {
  position: absolute; padding: 10px 16px; border-radius: 14px; background: #fff; box-shadow: var(--ombre);
  font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--acc-nuit); white-space: nowrap;
  animation: flotte-doux 7s ease-in-out infinite alternate; will-change: transform;
}
.formule small { display: block; font-family: var(--sans); font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
.formule:nth-of-type(2) { animation-delay: -2s; } .formule:nth-of-type(3) { animation-delay: -4s; } .formule:nth-of-type(4) { animation-delay: -6s; }
@keyframes flotte-doux { to { translate: 0 -14px; } }
.f1 { top: 6%; left: 2%; border-left: 4px solid var(--chimie); }
.f2 { top: 16%; right: -2%; border-left: 4px solid var(--physique); }
.f3 { bottom: 14%; left: -4%; border-left: 4px solid var(--n4); }
.f4 { bottom: 4%; right: 8%; border-left: 4px solid var(--acc); }

/* ---------- Défilé des niveaux ---------- */
.defile-niveaux { border-block: 1px solid var(--ligne); background: #fff; overflow: hidden; padding: 20px 0; }
.defile-piste { display: flex; gap: 0; width: max-content; animation: defile 38s linear infinite; }
.defile-niveaux:hover .defile-piste { animation-play-state: paused; }
.defile-piste span { display: inline-flex; align-items: center; gap: 30px; padding-right: 30px; font-size: clamp(22px, 3vw, 34px); font-weight: 600; color: #c3c8d0; white-space: nowrap; }
.defile-piste span b { color: var(--acc); font-weight: 600; }
.defile-piste span::after { content: "✦"; font-size: .55em; color: var(--acc-clair); }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Présentation du professeur ---------- */
.prof-grille { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.prof-photo { position: relative; aspect-ratio: 4/5; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, #e4e7ec, var(--acc-pale)); box-shadow: var(--ombre-forte); }
.prof-photo .remplace { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--acc-fonce); font-size: 14px; padding: 30px; }
.prof-photo .remplace img { width: 90px; margin: 0 auto 16px; opacity: .6; }
.prof-cadre { position: relative; }
.prof-cadre::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--acc-clair); border-radius: 28px; z-index: -1; }
.prof-bulle { position: absolute; left: -28px; bottom: 40px; background: #fff; border-radius: 18px; padding: 16px 20px; box-shadow: var(--ombre-forte); display: flex; align-items: center; gap: 14px; }
.prof-bulle strong { display: block; font-size: 30px; line-height: 1; color: var(--acc); }
.prof-bulle span { font-size: 13px; color: var(--gris); }
.prof-texte h2 { font-size: clamp(32px, 4.4vw, 50px); margin: 14px 0 22px; }
.prof-texte > p { color: var(--gris); font-size: 17px; margin-bottom: 16px; }
.prof-atouts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0 34px; }
.prof-atouts li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--ligne); border-radius: 14px; padding: 14px; font-size: 14.5px; }
.prof-atouts li i { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--acc-pale); color: var(--acc); font-style: normal; }
.prof-atouts li b { display: block; font-size: 15px; }
.signature { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--acc-fonce); }

/* ---------- Cartes de services ---------- */
.cartes-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.carte {
  position: relative; background: #fff; border: 1px solid var(--ligne); border-radius: 24px; padding: 34px 30px 30px;
  display: flex; flex-direction: column; gap: 14px; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
  transform-style: preserve-3d;
}
.carte:hover { box-shadow: var(--ombre-forte); border-color: transparent; }
.carte-num { font-family: var(--serif); font-style: italic; font-size: 64px; line-height: .8; color: var(--acc-pale); position: absolute; top: 22px; right: 26px; }
.carte-icone { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; }
.carte-icone svg { width: 28px; height: 28px; }
.carte h3 { font-size: 22px; }
.carte p { color: var(--gris); font-size: 15.5px; flex: 1; }
.carte .lien { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--acc); margin-top: 6px; }
.carte .lien:hover .fl { transform: translateX(4px); }
.carte .fl { transition: transform .3s var(--ease); }
.carte.bientot { background: repeating-linear-gradient(135deg, #f8f8f9 0 14px, #f1f2f4 14px 28px); }
.carte.bientot h3, .carte.bientot p { color: #8f959e; }
.carte.bientot .carte-icone { filter: grayscale(1); opacity: .6; }
.carte-lueur { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--acc-rgb), .35), transparent 70%); pointer-events: none; left: var(--mx, -999px); top: var(--my, -999px); transform: translate(-50%, -50%); transition: opacity .3s; opacity: 0; }
.carte:hover .carte-lueur { opacity: 1; }

/* ---------- Méthode ---------- */
.methode-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: etape; position: relative; }
.methode-grille::before { content: ""; position: absolute; top: 31px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--acc-clair) 50%, transparent 50%) 0 0/14px 2px; }
.etape { position: relative; text-align: center; padding: 0 8px; }
.etape-pastille { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: #fff; border: 2px solid var(--acc); color: var(--acc); display: grid; place-items: center; font-weight: 700; font-size: 20px; position: relative; z-index: 1; transition: background .4s, color .4s, transform .4s var(--ease); }
.etape:hover .etape-pastille { background: var(--acc); color: #fff; transform: scale(1.08) rotate(-6deg); }
.etape h3 { font-size: 19px; margin-bottom: 8px; }
.etape p { font-size: 14.5px; color: var(--gris); }

/* ---------- Chiffres ---------- */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); border-radius: 26px; overflow: hidden; }
.chiffre { background: var(--acc-nuit); padding: 40px 28px; }
.chiffre strong { display: block; font-size: clamp(44px, 5.5vw, 68px); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: #fff; }
.chiffre strong em { font-family: var(--serif); font-weight: 400; color: #cfd5de; }
.chiffre > span { display: block; margin-top: 12px; font-size: 14.5px; color: #b9c0ca; }

/* ---------- Mise en avant produit ---------- */
.vedette { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.livre-3d { perspective: 1400px; display: grid; place-items: center; padding: 30px 0; }
.livre {
  position: relative; width: min(340px, 78%); aspect-ratio: 419/595; transform-style: preserve-3d;
  transform: rotateY(-24deg) rotateX(6deg); transition: transform .8s var(--ease);
}
.livre:hover { transform: rotateY(-8deg) rotateX(2deg) scale(1.02); }
.livre img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 4px 10px 10px 4px; box-shadow: 30px 40px 60px -20px rgba(0, 0, 0, .55); }
.livre::before { /* tranche du livret */
  content: ""; position: absolute; top: 2%; bottom: 2%; right: -16px; width: 16px; transform: rotateY(90deg); transform-origin: left;
  background: repeating-linear-gradient(#fff 0 2px, #e5e7ea 2px 3px);
}
.livre-ombre { width: 70%; height: 30px; background: radial-gradient(ellipse, rgba(0, 0, 0, .35), transparent 70%); margin-top: -10px; filter: blur(6px); }
.vedette-liste { margin: 26px 0 32px; display: grid; gap: 12px; }
.vedette-liste li { display: flex; gap: 12px; align-items: center; }
.vedette-liste li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--acc-clair) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }
.prix { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.prix strong { font-size: 44px; letter-spacing: -.03em; }
.prix s { color: #9aa0a8; }

/* ---------- Avis ---------- */
.avis-piste { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 24px; scrollbar-width: thin; }
.avis { scroll-snap-align: start; background: #fff; border: 1px solid var(--ligne); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.etoiles { color: #f2b400; letter-spacing: 3px; font-size: 18px; }
.avis blockquote { margin: 0; font-size: 16.5px; flex: 1; }
.avis footer { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--gris); }
.avis footer i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; color: var(--acc-nuit); }
.avis footer b { display: block; color: var(--texte); }

/* ---------- Réseaux ---------- */
.reseaux-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reseau { position: relative; border-radius: 24px; padding: 30px; color: #fff; overflow: hidden; min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .5s var(--ease); }
.reseau:hover { transform: translateY(-6px) rotate(-.6deg); }
.reseau svg { width: 34px; height: 34px; }
.reseau h3 { font-size: 22px; margin-top: 20px; }
.reseau p { font-size: 14.5px; opacity: .85; margin-top: 4px; }
.reseau .fl { position: absolute; top: 26px; right: 26px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s; }
.reseau:hover .fl { transform: rotate(-45deg); background: rgba(255, 255, 255, .3); }
.r-tiktok { background: linear-gradient(140deg, #111 40%, #25f4ee 160%); }
.r-insta { background: linear-gradient(140deg, #833ab4, #fd1d1d 70%, #fcb045); }
.r-youtube { background: linear-gradient(140deg, #c4302b, #7a1814); }
.icones-reseaux { display: flex; gap: 10px; }
.icones-reseaux a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .3s, transform .3s var(--ease); }
.icones-reseaux a:hover { background: var(--acc); transform: translateY(-3px); }
.icones-reseaux svg { width: 19px; height: 19px; }
.menu-mobile .icones-reseaux a { background: var(--acc-pale); color: var(--acc-fonce); }
/* menu mobile : les icônes ne doivent pas hériter du style des grands liens (marge, alignement à gauche, trait) */
.menu-mobile .icones-reseaux a { padding: 0; border-bottom: 0; display: grid; place-items: center; justify-content: center; font-size: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--ligne); border-radius: 18px; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--acc-clair); box-shadow: var(--ombre); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--acc-pale); color: var(--acc); display: grid; place-items: center; font-size: 22px; font-weight: 400; transition: transform .4s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--acc); color: #fff; }
.faq details p { padding: 0 26px 24px; color: var(--gris); }

/* ---------- Appel à l'action final ---------- */
.cta-final { position: relative; overflow: hidden; border-radius: 34px; padding: 80px 40px; text-align: center; background: var(--acc); color: #fff; isolation: isolate; }
.cta-final::before, .cta-final::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .2); z-index: -1; animation: tourne 30s linear infinite; }
.cta-final::before { width: 520px; height: 200px; left: -120px; top: -40px; }
.cta-final::after { width: 600px; height: 240px; right: -160px; bottom: -60px; animation-direction: reverse; }
.cta-final h2 { font-size: clamp(34px, 5vw, 60px); }
.cta-final h2 .serif { color: #d6dbe3; }
.cta-final p { margin: 18px auto 34px; max-width: 520px; color: #e3e6eb; font-size: 17.5px; }
.cta-final .hero-actions { justify-content: center; }

/* ---------- Bas de page (présent sur toutes les pages) ---------- */
.pied { background: #171b22; color: #d3d8df; padding: 80px 0 30px; margin-top: 110px; position: relative; overflow: hidden; }
.pied-haut { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.pied-marque img.mot-logo { height: 30px; width: auto; filter: brightness(0) invert(1); }
.pied-marque p { margin: 18px 0 24px; font-size: 14.5px; max-width: 320px; color: #aab1bb; }
.pied h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 600; }
.pied ul { display: grid; gap: 10px; font-size: 14.5px; }
.pied ul a { transition: color .2s; }
.pied ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pied .grise { color: #7c838d; }
.pied-bas { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 26px; font-size: 13px; color: #8e959f; flex-wrap: wrap; }
.pied-atome { position: absolute; right: -80px; bottom: -110px; width: 360px; opacity: .05; pointer-events: none; animation: tourne 80s linear infinite; }

/* ---------- En-têtes des pages intérieures ---------- */
.page-hero { padding: 80px 0 60px; overflow: hidden; }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -.035em; margin: 18px 0 20px; max-width: 900px; }
.page-hero h1 .serif { color: var(--acc); }
.page-hero p.chapo { font-size: 18.5px; color: var(--gris); max-width: 640px; }
.fil { font-size: 13.5px; color: var(--gris); display: flex; gap: 8px; flex-wrap: wrap; }
.fil a:hover { color: var(--acc); }

/* ---------- Fiches gratuites ---------- */
.etapes-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.etape-carte { background: #fff; border: 1px solid var(--ligne); border-radius: 22px; padding: 30px; }
.etape-carte .n { width: 40px; height: 40px; border-radius: 50%; background: var(--acc); color: #fff; font-weight: 700; display: grid; place-items: center; margin-bottom: 18px; }
.etape-carte h3 { font-size: 19px; margin-bottom: 8px; }
.etape-carte p { color: var(--gris); font-size: 15px; }
.niveaux-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.niveau {
  position: relative; border-radius: 20px; padding: 24px 20px; background: #fff; border: 1.5px solid var(--ligne);
  display: flex; flex-direction: column; gap: 6px; min-height: 150px; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.niveau strong { font-size: 34px; letter-spacing: -.03em; line-height: 1; }
.niveau span { font-size: 13.5px; color: var(--gris); }
.niveau .badge { margin-top: auto; align-self: flex-start; }
a.niveau:hover { transform: translateY(-6px); border-color: var(--acc); box-shadow: var(--ombre-forte); }
.niveau.actif { background: var(--acc); border-color: var(--acc); color: #fff; }
.niveau.actif span { color: #e3e6eb; }
.niveau.ferme { background: repeating-linear-gradient(135deg, #f8f8f9 0 12px, #f0f1f3 12px 24px); color: #a7acb4; cursor: not-allowed; }
.niveau.ferme span { color: #a7acb4; }

/* ---------- Boutique ---------- */
.onglets { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 30px; scrollbar-width: none; }
.onglets::-webkit-scrollbar { display: none; }
.onglet { flex-shrink: 0; border: 1.5px solid var(--ligne); background: #fff; border-radius: 999px; padding: 10px 20px; font-weight: 600; font-size: 14.5px; cursor: pointer; transition: all .25s; display: inline-flex; align-items: center; gap: 8px; }
.onglet:hover { border-color: var(--acc-clair); }
.onglet[aria-selected="true"] { background: var(--acc); border-color: var(--acc); color: #fff; }
.onglet.ferme { color: #a1a6ae; background: #f3f4f6; cursor: not-allowed; }
.onglet.ferme small { font-size: 10.5px; font-weight: 600; }
.produits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.produit {
  background: #fff; border: 1px solid var(--ligne); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
a.produit:hover { transform: translateY(-8px); box-shadow: var(--ombre-forte); }
.produit-visuel { position: relative; aspect-ratio: 4/3.3; display: grid; place-items: center; overflow: hidden; }
.produit-visuel img { height: 84%; width: auto; border-radius: 3px 7px 7px 3px; box-shadow: 14px 18px 30px -12px rgba(0, 0, 0, .5); transform: rotate(-4deg); transition: transform .7s var(--ease); }
a.produit:hover .produit-visuel img { transform: rotate(0) scale(1.06); }
.produit-visuel .badge { position: absolute; top: 16px; left: 16px; }
.produit-corps { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.produit-corps h3 { font-size: 19px; }
.produit-corps p { font-size: 14.5px; color: var(--gris); flex: 1; }
.produit-pied { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.produit-pied strong { font-size: 24px; letter-spacing: -.02em; }
.produit-pied .voir { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--acc); font-size: 14.5px; }
.produit.a-venir { background: repeating-linear-gradient(135deg, #f8f8f9 0 14px, #f1f2f4 14px 28px); }
.produit.a-venir .produit-visuel { background: transparent; }
.produit.a-venir .fantome { width: 46%; aspect-ratio: 419/595; border: 2px dashed #d3d7dd; border-radius: 6px; display: grid; place-items: center; color: #adb2ba; font-size: 30px; }
.produit.a-venir h3, .produit.a-venir p, .produit.a-venir strong { color: #9aa0a8; }
.niveau-vide { text-align: center; padding: 70px 24px; border: 2px dashed var(--ligne); border-radius: 26px; background: #fff; }
.niveau-vide img { width: 70px; margin: 0 auto 18px; opacity: .5; }
.niveau-vide h3 { font-size: 24px; margin-bottom: 10px; }
.niveau-vide p { color: var(--gris); max-width: 460px; margin: 0 auto 24px; }
[hidden] { display: none !important; }

/* ---------- Page produit ---------- */
.fiche-produit { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.galerie { position: sticky; top: 96px; }
.galerie-principale { position: relative; background: linear-gradient(150deg, #eef0f3, var(--acc-pale)); border-radius: 26px; aspect-ratio: 1/1.02; display: grid; place-items: center; overflow: hidden; cursor: zoom-in; border: 0; padding: 0; width: 100%; }
.galerie-principale img { height: 88%; width: auto; border-radius: 3px 8px 8px 3px; box-shadow: 20px 26px 50px -18px rgba(0, 0, 0, .5); transition: opacity .3s, transform .6s var(--ease); }
.galerie-principale:hover img { transform: scale(1.03); }
.galerie-principale .loupe { position: absolute; right: 16px; bottom: 16px; background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; box-shadow: var(--ombre); }
.vignettes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.vignettes button { border: 2px solid transparent; border-radius: 12px; overflow: hidden; padding: 0; cursor: pointer; aspect-ratio: 3/4; background: #fff; transition: border-color .25s, transform .3s var(--ease); }
.vignettes button:hover { transform: translateY(-3px); }
.vignettes button[aria-current="true"] { border-color: var(--acc); }
.vignettes img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.achat h1 { font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -.03em; margin: 14px 0 14px; }
.achat .chapo { font-size: 17.5px; color: var(--gris); }
.note-ligne { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--gris); margin: 16px 0 24px; }
.encart-achat { background: #fff; border: 1px solid var(--ligne); border-radius: 24px; padding: 26px; box-shadow: var(--ombre); }
.encart-achat .btn { width: 100%; }
.encart-achat .ou { display: flex; align-items: center; gap: 12px; color: #9aa0a8; font-size: 13px; margin: 14px 0; }
.encart-achat .ou::before, .encart-achat .ou::after { content: ""; flex: 1; height: 1px; background: var(--ligne); }
.garanties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; font-size: 12.5px; color: var(--gris); text-align: center; }
.garanties div { display: grid; gap: 6px; justify-items: center; }
.garanties svg { width: 22px; height: 22px; color: var(--acc); }
.contenu-livret { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bloc-axe { border-radius: 22px; padding: 28px; color: #fff; }
.bloc-axe h3 { font-size: 22px; display: flex; justify-content: space-between; align-items: baseline; }
.bloc-axe h3 em { font-family: var(--serif); font-size: 46px; font-weight: 400; }
.bloc-axe ol { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13.5px; max-height: 270px; overflow: auto; padding-right: 6px; scrollbar-width: thin; }
.bloc-axe ol li { display: flex; gap: 10px; opacity: .92; }
.bloc-axe ol li b { flex-shrink: 0; width: 24px; opacity: .65; font-weight: 600; }
.axe-chimie { background: var(--chimie); } .axe-physique { background: var(--physique); } .axe-methode { background: var(--methode); }
.pour-qui { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pour-qui > div { border-radius: 22px; padding: 30px; }
.pour-qui h3 { font-size: 20px; margin-bottom: 16px; }
.pour-qui li { display: flex; gap: 10px; padding: 7px 0; font-size: 15.5px; }
.oui { background: #eef8f2; } .oui li::before { content: "✓"; color: #20a277; font-weight: 700; }
.non { background: #fdf1ef; } .non li::before { content: "✕"; color: #c8312b; font-weight: 700; }
.barre-achat { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150; display: none; align-items: center; justify-content: space-between; gap: 12px; background: var(--acc-nuit); color: #fff; padding: 10px 10px 10px 20px; border-radius: 999px; box-shadow: var(--ombre-forte); transform: translateY(140%); transition: transform .5s var(--ease); }
.barre-achat.visible { transform: none; }
.barre-achat strong { font-size: 18px; }
.barre-achat small { display: block; font-size: 11.5px; color: #b9c0ca; }
.barre-achat .btn { min-height: 46px; padding: 0 20px; }

/* Visionneuse plein écran */
.visionneuse { position: fixed; inset: 0; z-index: 400; background: rgba(20, 12, 24, .9); display: grid; place-items: center; padding: 30px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.visionneuse.ouverte { opacity: 1; visibility: visible; }
.visionneuse img { max-height: 90vh; width: auto; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); transform: scale(.94); transition: transform .45s var(--ease); }
.visionneuse.ouverte img { transform: none; }
.visionneuse button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 24px; cursor: pointer; }
.visionneuse button:hover { background: rgba(255, 255, 255, .28); }
.v-fermer { top: 20px; right: 20px; } .v-prec { left: 20px; top: 50%; } .v-suiv { right: 20px; top: 50%; }

/* ---------- Cours en ligne (bientôt) ---------- */
.bientot-hero { min-height: 74vh; display: grid; place-items: center; text-align: center; padding: 70px 0; overflow: hidden; }
.bientot-hero h1 { font-size: clamp(42px, 7vw, 86px); letter-spacing: -.04em; margin: 22px 0; }
.bientot-hero h1 .serif { color: var(--acc); }
.bientot-hero p { max-width: 600px; margin: 0 auto 34px; font-size: 18px; color: var(--gris); }
.orbites-fond { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; pointer-events: none; }
.orbites-fond i { position: absolute; border: 1.5px dashed rgba(var(--acc-rgb), .22); border-radius: 50%; animation: tourne 50s linear infinite; }
.orbites-fond i::after { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--acc-clair); }
.orbites-fond i:nth-child(1) { width: 420px; height: 420px; }
.orbites-fond i:nth-child(2) { width: 680px; height: 680px; animation-duration: 80s; animation-direction: reverse; }
.orbites-fond i:nth-child(2)::after { background: var(--acc); }
.orbites-fond i:nth-child(3) { width: 960px; height: 960px; animation-duration: 120s; }

/* ---------- Contact ---------- */
.contact-grille { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: start; }
.formulaire { background: #fff; border: 1px solid var(--ligne); border-radius: 28px; padding: 38px; box-shadow: var(--ombre); }
.champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.champ { display: grid; gap: 7px; margin-bottom: 18px; }
.champ label, .champ legend { font-size: 14px; font-weight: 600; }
.champ input, .champ select, .champ textarea {
  width: 100%; border: 1.5px solid var(--ligne); background: var(--creme); border-radius: 14px; padding: 13px 16px; font-size: 16px;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.champ textarea { min-height: 160px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--acc); background: #fff; box-shadow: 0 0 0 4px rgba(var(--acc-rgb), .15); }
.motifs { border: 0; padding: 0; margin: 0 0 18px; }
.motifs legend { margin-bottom: 10px; }
.motifs-grille { display: flex; flex-wrap: wrap; gap: 8px; }
.motifs input { position: absolute; opacity: 0; pointer-events: none; }
.motifs label { cursor: pointer; border: 1.5px solid var(--ligne); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 500; background: #fff; transition: all .25s; }
.motifs label:hover { border-color: var(--acc-clair); }
.motifs input:checked + label { background: var(--acc); color: #fff; border-color: var(--acc); }
.motifs input:focus-visible + label { outline: 3px solid var(--acc-clair); outline-offset: 2px; }
.aide-motif { font-size: 13.5px; color: var(--acc-fonce); background: var(--acc-pale); border-radius: 12px; padding: 10px 14px; margin: -6px 0 18px; }
.case { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--gris); margin-bottom: 22px; }
.case input { margin-top: 4px; accent-color: var(--acc); width: 17px; height: 17px; flex-shrink: 0; }
.piege { position: absolute; left: -9999px; }
.envoye { text-align: center; padding: 40px 10px; }
.envoye .rond { width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%; background: #eef8f2; color: #20a277; display: grid; place-items: center; font-size: 36px; animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.contact-cote { display: grid; gap: 16px; }
.info-carte { background: #fff; border: 1px solid var(--ligne); border-radius: 22px; padding: 24px; }
.info-carte h3 { font-size: 17px; margin-bottom: 8px; }
.info-carte p { font-size: 14.5px; color: var(--gris); }
.info-carte.nuit { background: var(--acc-nuit); color: #fff; border: 0; }
.info-carte.nuit p { color: #b9c0ca; }
.info-carte.nuit .icones-reseaux { margin-top: 16px; }

/* ---------- Pages légales ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 28px; margin: 50px 0 14px; scroll-margin-top: 100px; }
.legal h3 { font-size: 18px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--gris); margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }

/* ---------- Transition entre les pages ---------- */
.voile { position: fixed; inset: 0; z-index: 500; background: var(--acc); pointer-events: none; transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.voile.actif { transform: scaleY(1); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grille, .prof-grille, .vedette, .fiche-produit, .contact-grille { grid-template-columns: 1fr; }
  .atome-scene { max-width: 420px; margin: 10px auto 0; }
  .cartes-3, .produits, .reseaux-grille, .contenu-livret { grid-template-columns: 1fr 1fr; }
  .methode-grille, .chiffres { grid-template-columns: 1fr 1fr; }
  .methode-grille { row-gap: 40px; }
  .methode-grille::before { display: none; }
  .pied-haut { grid-template-columns: 1fr 1fr; }
  .galerie { position: static; }
  .prof-grille { gap: 50px; }
  .prof-cadre { max-width: 460px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .section { padding: 76px 0; }
  .hero { padding: 40px 0 60px; }
  .hero-texte, .page-hero p.chapo { font-size: 16.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .cartes-3, .produits, .reseaux-grille, .contenu-livret, .etapes-3, .pour-qui, .champs-2, .prof-atouts { grid-template-columns: 1fr; }
  .formule { font-size: 17px; padding: 8px 12px; }
  .f2 { right: 0; } .f3 { left: 0; }
  .prof-bulle { left: 10px; bottom: 16px; }
  .prof-cadre::before { inset: 14px -10px -14px 14px; }
  .cta-final { padding: 60px 22px; border-radius: 26px; }
  .pied { padding-top: 60px; margin-top: 80px; }
  .pied-haut { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .pied-marque { grid-column: 1 / -1; }
  .pied-bas { flex-direction: column; text-align: center; }
  .formulaire { padding: 24px 18px; border-radius: 22px; }
  .barre-achat { display: flex; }
  .page-hero { padding: 50px 0 40px; }
  .chiffre { padding: 28px 20px; }
  .vignettes { grid-template-columns: repeat(5, 1fr); gap: 6px; }
}

/* Mouvement réduit : on coupe les animations décoratives */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  [data-revele], .mot > span { opacity: 1; transform: none; }
}

/* =====================================================================
   Univers physique-chimie : repères visuels discrets
   ===================================================================== */
/* Verrerie, molécules, lentille… dessinées au trait, en filigrane */
.filigranes { position: absolute; inset: 0; pointer-events: none; }
.filigranes svg { position: absolute; fill: none; stroke: var(--acc); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .16; transform: rotate(var(--r, 0deg)); animation: derive 9s ease-in-out infinite alternate; }
.filigranes svg:nth-child(2) { animation-delay: -3s; } .filigranes svg:nth-child(3) { animation-delay: -6s; }
@keyframes derive { to { translate: 0 -12px; rotate: 6deg; } }
@media (max-width: 760px) { .filigranes svg { opacity: .1; } }

/* Onde sinusoïdale qui se propage entre deux sections */
.onde-sep { height: 40px; overflow: hidden; margin: -20px 0; position: relative; z-index: 1; pointer-events: none; }
.onde-sep svg { width: 112.5%; height: 100%; animation: propage 6s linear infinite; }
.onde-sep path { fill: none; stroke: var(--acc-clair); stroke-width: 1.6; opacity: .7; vector-effect: non-scaling-stroke; }
@keyframes propage { to { transform: translateX(-11.11%); } }

/* Motif de cycles hexagonaux (chimie organique) en fond de la section sombre */
.motif-hexa { isolation: isolate; }
.motif-hexa::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16zM28 64v33' fill='none' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 56px 97px; mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent);
}

/* Niveaux présentés comme des cases du tableau périodique */
.niveau.element { border-radius: 10px; border: 2px solid var(--acc-nuit); background: linear-gradient(180deg, var(--el) 0 62%, #fff 62%); padding: 14px 16px 16px; min-height: 176px; }
.niveau.element .z { font-size: 12.5px; font-weight: 700; color: var(--acc-nuit); }
.niveau.element strong { font-size: 44px; color: var(--acc-nuit); margin: 4px 0 2px; }
.niveau.element span { color: var(--acc-nuit); font-weight: 500; }
.niveau.element .badge { background: var(--acc-nuit); color: #fff; }
a.niveau.element:hover { border-color: var(--acc); transform: translateY(-6px) rotate(-1.5deg); }

/* Puce des étiquettes : un mini noyau avec son électron qui tourne */
.etiquette::before { background: currentColor; box-shadow: none; }
.etiquette { position: relative; }
.etiquette::after { content: ""; position: absolute; left: -4px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 1.2px solid currentColor; border-radius: 50%; opacity: .45; border-left-color: transparent; animation: tourne 3s linear infinite; }
@media (max-width: 760px) {
  .annonce { font-size: 12.5px; padding: 8px 12px; line-height: 1.35; }
  .annonce a { display: inline; }
}
.erreur-envoi { background: #fdf1ef; color: #9b2620; border-radius: 12px; padding: 12px 16px; font-size: 14px; margin-bottom: 18px; }

/* =====================================================================
   Couleurs par niveau : la couleur commune (encre) est remplacée par celle
   du niveau dès qu'un élément ou une page concerne un niveau précis.
   Usage : class="niv-tle" sur un élément, ou sur <body> pour toute une page.
   ===================================================================== */
.niv-tle { --acc: var(--nT-fonce); --acc-fonce: #3b2641; --acc-nuit: #2a1b2e; --acc-clair: var(--nT); --acc-pale: var(--nT-pale); --acc-rgb: 79, 52, 86; --tache-a: #eadcf0; --tache-b: #f6eef8; --tache-c: #e3d6e8; }
.badge-niv { background: var(--acc-clair); color: #fff; }

/* Cases « tableau périodique » : niveau indisponible = grisé, Tle = disponible */
.niveau.element { position: relative; }
.niveau.element.ferme { background: repeating-linear-gradient(135deg, #f7f7f8 0 12px, #f0f1f3 12px 24px); border-color: #d5d8dd; cursor: not-allowed; }
.niveau.element.ferme strong, .niveau.element.ferme span, .niveau.element.ferme .z { color: #a7acb4; }
.niveau.element.ferme .badge { background: #e3e5e9; color: #8a9099; }
.niveau.element.ferme::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--el); opacity: .6; border-radius: 8px 8px 0 0; }
.niveau.element.ouvert { border-color: var(--nT-fonce); box-shadow: 0 18px 40px -18px rgba(79, 52, 86, .6); }
.niveau.element.ouvert strong, .niveau.element.ouvert .z { color: #fff; }
.niveau.element.ouvert span { color: var(--nT-fonce); }
.niveau.element.ouvert .badge { background: var(--nT-fonce); color: #fff; }
a.niveau.element.ouvert:hover { border-color: var(--nT-fonce); }
.niveau.element.ouvert::after { content: "Disponible"; position: absolute; top: 12px; right: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #fff; color: var(--nT-fonce); border-radius: 999px; padding: 3px 9px; }

/* Onglet de niveau actif aux couleurs du niveau */
.onglet.niv-tle[aria-selected="true"] { background: var(--nT-fonce); border-color: var(--nT-fonce); }

/* Produits : 2 colonnes, prix */
.produits.p4 { grid-template-columns: repeat(2, 1fr); }
.produit-visuel.fond-niv { background: linear-gradient(150deg, var(--acc-pale), #fff); }
.produit.a-venir .produit-pied strong { font-size: 20px; }
.produit .puces { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 2px; }
.produit .puces span { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--acc-pale); color: var(--acc); }
.produit.a-venir .puces span { background: #eceef1; color: #9aa0a8; }
.produit.a-venir .fantome { font-size: 15px; font-weight: 700; text-align: center; padding: 10px; line-height: 1.3; }

/* Page produit : prix et conformité */
.prix-detail { font-size: 13.5px; color: var(--gris); margin: -4px 0 14px; }
.conforme { display: flex; gap: 12px; align-items: center; background: var(--acc-pale); border-radius: 16px; padding: 12px 16px; font-size: 14px; color: var(--acc); font-weight: 500; margin-bottom: 18px; }
.conforme svg { width: 26px; height: 26px; flex-shrink: 0; }

/* Tableau comparatif */
.comparatif-defile { overflow-x: auto; border-radius: 24px; box-shadow: var(--ombre); background: #fff; -webkit-overflow-scrolling: touch; }
.comparatif { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.comparatif th, .comparatif td { padding: 15px 14px; text-align: center; border-bottom: 1px solid var(--ligne); vertical-align: middle; }
.comparatif thead th { font-size: 14px; font-weight: 600; color: var(--gris); background: #fafafb; line-height: 1.3; }
.comparatif tbody th { text-align: left; font-weight: 500; color: var(--texte); width: 30%; position: sticky; left: 0; background: #fff; z-index: 1; }
.comparatif tr:last-child th, .comparatif tr:last-child td { border-bottom: 0; }
.comparatif .nous { background: var(--acc-pale); color: var(--acc); font-weight: 700; }
.comparatif thead .nous { background: var(--acc); color: #fff; font-size: 15px; }
.comparatif .oui, .comparatif .non, .comparatif .moy { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 700; font-size: 15px; }
.comparatif .oui { background: #dff3e8; color: #1f7a4d; }
.comparatif .non { background: #f6e3e3; color: #a33a3a; }
.comparatif .moy { background: #f4eedb; color: #8a6d12; }
.comparatif .nous .oui { background: var(--acc); color: #fff; }
.comparatif small { display: block; font-size: 12px; color: var(--gris); font-weight: 400; margin-top: 4px; }
.comparatif .nous small { color: var(--acc); }
.comparatif .ligne-prix td, .comparatif .ligne-prix th { font-weight: 700; font-size: 15.5px; }
.comparatif-legende { font-size: 12.5px; color: var(--gris); margin-top: 12px; }

/* Quand l'utiliser */
.moments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.moment { background: #fff; border: 1px solid var(--ligne); border-radius: 22px; padding: 26px 22px; }
.moment .quand { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--acc); background: var(--acc-pale); border-radius: 999px; padding: 4px 10px; margin-bottom: 14px; }
.moment h3 { font-size: 18px; margin-bottom: 8px; }
.moment p { font-size: 14.5px; color: var(--gris); }

/* Extrait gratuit en images */
.extrait-grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 900px; margin: 0 auto; }
.extrait-page { border: 0; padding: 0; background: #fff; border-radius: 10px; overflow: hidden; cursor: zoom-in; box-shadow: var(--ombre-forte); transition: transform .5s var(--ease); position: relative; display: block; }
.extrait-page:nth-child(1) { transform: rotate(-1.5deg); } .extrait-page:nth-child(2) { transform: rotate(1.5deg); }
.extrait-page:hover { transform: rotate(0) translateY(-6px); }
.extrait-page img { width: 100%; height: auto; }
.extrait-page .loupe { position: absolute; right: 12px; bottom: 12px; background: var(--acc); color: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; }
.extrait-legende { text-align: center; color: var(--gris); font-size: 14px; margin-top: 26px; }

/* Liste des 20 sujets */
.sujets-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.palier { background: #fff; border: 1px solid var(--ligne); border-radius: 22px; padding: 24px; }
.palier h3 { font-size: 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.palier h3 em { font-style: normal; font-size: 12.5px; color: var(--acc); background: var(--acc-pale); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.palier > p { font-size: 13.5px; color: var(--gris); margin: 6px 0 14px; }
.palier details { border-top: 1px solid var(--ligne); padding: 10px 0; }
.palier summary { cursor: pointer; font-weight: 600; font-size: 14.5px; list-style: none; display: flex; justify-content: space-between; }
.palier summary::-webkit-details-marker { display: none; }
.palier summary::after { content: "+"; color: var(--acc); font-weight: 400; font-size: 18px; line-height: 1; }
.palier details[open] summary::after { content: "–"; }
.palier ol { margin: 8px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--gris); display: grid; gap: 4px; }

/* Bloc « complète avec » */
.complete { display: grid; grid-template-columns: 120px 1fr auto; gap: 26px; align-items: center; background: #fff; border: 1px solid var(--ligne); border-radius: 26px; padding: 22px 28px; box-shadow: var(--ombre); }
.complete img { width: 100%; border-radius: 3px 6px 6px 3px; box-shadow: 10px 14px 24px -12px rgba(0, 0, 0, .5); transform: rotate(-4deg); }
.complete h3 { font-size: 20px; margin: 6px 0; }
.complete p { color: var(--gris); font-size: 14.5px; }

/* Cours en ligne : offres */
.offres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.offre { background: #fff; border: 1px solid var(--ligne); border-radius: 24px; padding: 30px 26px; position: relative; display: flex; flex-direction: column; gap: 10px; }
.offre .carte-num { color: #eceef1; }
.offre h3 { font-size: 21px; padding-right: 50px; }
.offre > p { color: var(--gris); font-size: 14.5px; }
.offre ul { display: grid; gap: 8px; margin-top: 6px; font-size: 14px; }
.offre li { display: flex; gap: 10px; }
.offre li::before { content: "✓"; color: var(--acc); font-weight: 700; }
.offre .badge-bientot { align-self: flex-start; }
.offre-pied { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--ligne); font-size: 13px; color: #8a9099; }
.replay { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; background: var(--acc-nuit); color: #fff; border-radius: 26px; padding: 28px 32px; margin-top: 30px; }
.replay .ico { width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.replay h3 { font-size: 20px; margin-bottom: 6px; }
.replay p { color: #cfd5de; font-size: 14.5px; }

@media (max-width: 960px) {
  .moments { grid-template-columns: 1fr 1fr; }
  .sujets-grille, .offres { grid-template-columns: 1fr; }
  .produits.p4 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .moments { grid-template-columns: 1fr; }
  .extrait-grille { grid-template-columns: 1fr; gap: 20px; }
  .complete { grid-template-columns: 90px 1fr; padding: 18px; }
  .complete .btn { grid-column: 1 / -1; }
  .replay { grid-template-columns: 1fr; padding: 24px; }
}

/* Réseaux : 4 cartes (Facebook ajouté) ; bas de page inchangé */
.reseaux-grille { grid-template-columns: repeat(4, 1fr); }
.r-facebook { background: linear-gradient(150deg, #1877f2, #0b4fb3); }
.pied .icones-reseaux a:hover { background: rgba(255, 255, 255, .2); }
@media (max-width: 960px) { .reseaux-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .reseaux-grille { grid-template-columns: 1fr; } .reseau { min-height: 160px; } }
.produits.p4 .produit-visuel { aspect-ratio: 16 / 10; }
.produit-corps .badge { align-self: flex-start; }

/* =====================================================================
   Version 3 : niveaux collège / lycée, bouton retour, bonus, encadrés
   ===================================================================== */
/* Cases de niveau : zone couleur (symbole) + zone blanche (nom), jamais à cheval */
.niveau.element { padding: 0; min-height: 0; overflow: hidden; background: #fff; gap: 0; }
.niveau.element .el-haut { display: flex; align-items: flex-end; height: 92px; padding: 12px 16px; background: var(--el); }
.niveau.element .el-haut strong { margin: 0; font-size: 44px; line-height: 1; color: #fff; }
.niveau.element .el-bas { display: flex; flex-direction: column; gap: 10px; padding: 12px 16px 16px; flex: 1; }
.niveau.element .el-nom { font-size: 14px; font-weight: 600; color: var(--texte); }
.niveau.element .badge { margin-top: auto; }
.niveau.element.ferme { background: #fff; }
.niveau.element.ferme::before { display: none; }
.niveau.element.ferme .el-haut { background: repeating-linear-gradient(135deg, #f3f4f6 0 10px, #eceef1 10px 20px); box-shadow: inset 0 5px 0 var(--el); }
.niveau.element.ferme .el-haut strong { color: #b4b9c0; }
.niveau.element.ferme .el-nom { color: #a7acb4; }
.niveau.element.ouvert { background: #fff; }
.niveau.element.ouvert .el-nom { color: var(--nT-fonce); }

/* Groupes Collège / Lycée */
.groupes-niveaux { display: grid; grid-template-columns: 4fr 3fr; gap: 34px; align-items: start; }
.groupe-titre { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--ligne); }
.groupe-titre small { font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--gris); font-weight: 500; }
.niveaux-grille.g4 { grid-template-columns: repeat(4, 1fr); }
.niveaux-grille.g3 { grid-template-columns: repeat(3, 1fr); }

/* Boutique : sélecteur de niveau en deux groupes */
.selecteur { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 14px 28px; margin-bottom: 34px; }
.selecteur-groupe { background: #fff; border: 1px solid var(--ligne); border-radius: 20px; padding: 12px 14px 14px; }
.selecteur-titre { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); margin: 0 0 10px 4px; }
.selecteur-puces { display: flex; flex-wrap: wrap; gap: 8px; }
.selecteur .onglet { padding: 9px 16px; }

/* Bouton retour sur les pages produit */
.haut-produit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.retour { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; background: #fff; border: 1.5px solid var(--ligne); font-weight: 600; font-size: 14px; color: var(--acc); transition: transform .3s var(--ease), border-color .3s; }
.retour:hover { border-color: var(--acc-clair); transform: translateX(-3px); }
.haut-produit .fil { margin: 0; }

/* Galerie et extrait : nombre d'images variable */
.vignettes { grid-template-columns: repeat(var(--nv, 5), 1fr); }
.extrait-grille { grid-template-columns: repeat(var(--ne, 2), 1fr); max-width: calc(var(--ne, 2) * 420px); }
.extrait-page:nth-child(3) { transform: rotate(-1deg); }

/* Prix ramené à l'unité */
.prix { flex-wrap: wrap; }
.prix-unite { font-size: 13px; font-weight: 700; color: var(--acc); background: var(--acc-pale); border-radius: 999px; padding: 5px 12px; align-self: center; }

/* Bonus Grand oral */
.bonus-go { display: grid; grid-template-columns: 340px 1fr; gap: 60px; align-items: center; }
.bonus-go .bonus-image { transform: rotate(-2deg); }
.bonus-go h2 { font-size: clamp(30px, 4vw, 46px); margin: 14px 0; }
.bonus-go .chapo { color: var(--gris); font-size: 17px; margin-bottom: 18px; }

/* Corrigés commentés */
.plus-corrige { max-width: 900px; margin: 50px auto 0; text-align: center; }
.plus-corrige h3 { font-size: 24px; margin-bottom: 8px; }
.plus-corrige > p { color: var(--gris); margin-bottom: 22px; }
.encadres-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.enc { border: 2px dashed; border-radius: 14px; padding: 16px 18px; font-size: 14px; color: var(--gris); background: #fff; }
.enc b { display: block; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.enc-attention { border-color: #d9534f; } .enc-attention b { color: #c0392b; }
.enc-conseil { border-color: #3c8f6e; } .enc-conseil b { color: #2e7a5c; }
.enc-astuce { border-color: #e08a3c; } .enc-astuce b { color: #c46a1c; }

/* Paliers de difficulté (sans dévoiler les thèmes) */
.palier-jauge { height: 8px; border-radius: 99px; background: var(--acc-pale); overflow: hidden; margin-bottom: 18px; }
.palier-jauge span { display: block; height: 100%; width: calc(var(--niveau) * 100%); background: var(--acc-clair); border-radius: 99px; }
.garanties-sujets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.garanties-sujets li { background: var(--acc-pale); border-radius: 18px; padding: 18px 20px; font-size: 14px; color: var(--gris); }
.garanties-sujets b { display: block; font-size: 18px; color: var(--acc); margin-bottom: 4px; }

/* Cours en ligne : formules clairement indisponibles */
.offre.indispo { background: repeating-linear-gradient(135deg, #f8f8f9 0 14px, #f1f2f4 14px 28px); border-style: dashed; }
.offre.indispo h3, .offre.indispo > p, .offre.indispo li { color: #9aa0a8; }
.offre.indispo li::before { color: #b4b9c0; }
.offre.indispo .badge-bientot { background: #e3e5e9; color: #6f757e; }

@media (max-width: 960px) {
  .groupes-niveaux { grid-template-columns: 1fr; }
  .bonus-go { grid-template-columns: 1fr; gap: 30px; }
  .bonus-go .bonus-image { max-width: 320px; margin: 0 auto; }
  .garanties-sujets, .encadres-types { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .niveaux-grille.g4 { grid-template-columns: repeat(2, 1fr); }
  .niveaux-grille.g3 { grid-template-columns: repeat(2, 1fr); }
  .selecteur { grid-template-columns: 1fr; }
  .extrait-grille { grid-template-columns: 1fr; max-width: 420px; }
  .vignettes { grid-template-columns: repeat(var(--nv, 5), 1fr); }
}
.produits.p4 .produit.a-venir .fantome { width: auto; height: 80%; }

/* =====================================================================
   Version 4 : lettres italiques non rognées, engagements, aperçu flouté
   ===================================================================== */
/* Le masque de l'animation mot par mot coupait le jambage et le débord des italiques (« g » de « gratuites ») */
.mot { padding: 0 .14em .1em; margin: 0 -.14em; }

/* Engagements (à la place des avis, tant qu'il n'y en a pas de vrais) */
.engagements { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.engagement { background: #fff; border: 1px solid var(--ligne); border-radius: 22px; padding: 26px 22px; }
.engagement i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--acc); color: #fff; font-style: normal; font-weight: 700; margin-bottom: 16px; }
.engagement h3 { font-size: 17px; margin-bottom: 8px; }
.engagement p { font-size: 14.5px; color: var(--gris); }

/* Aperçu partiellement flouté (fiche Grand oral) */
.apercu-floute { position: relative; border-radius: 10px; overflow: hidden; box-shadow: var(--ombre-forte); background: #fff; }
.apercu-floute img { width: 100%; height: auto; }
.apercu-mention { position: absolute; left: 50%; top: 66%; transform: translate(-50%, -50%); background: var(--acc); color: #fff; font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 999px; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }

@media (max-width: 960px) { .engagements { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .engagements { grid-template-columns: 1fr; } }
.hero-preuves .points span { font-size: 10.5px; letter-spacing: -.02em; }

/* =====================================================================
   Version 4 bis : réglages téléphone
   ===================================================================== */
.comparatif .court { display: none; }
.note-ligne .badge { white-space: nowrap; }
@media (max-width: 760px) {
  /* Tableau comparatif : tout tient dans l'écran, colonne Ars Physique visible */
  .comparatif-defile { overflow: visible; }
  .comparatif { min-width: 0; font-size: 12.5px; table-layout: fixed; }
  .comparatif .long { display: none; }
  .comparatif .court { display: inline; }
  .comparatif th, .comparatif td { padding: 11px 4px; }
  .comparatif tbody th { width: 34%; padding-left: 12px; position: static; font-size: 12.5px; line-height: 1.35; }
  .comparatif thead th { font-size: 11.5px; line-height: 1.25; }
  .comparatif thead th:first-child { width: 34%; }
  .comparatif small { display: none; }
  .comparatif .oui, .comparatif .non, .comparatif .moy { width: 24px; height: 24px; font-size: 13px; }
  .comparatif .ligne-prix td { font-size: 12px; }
  .comparatif .ligne-prix td.nous small { display: block; font-size: 10px; }
  /* Choix du niveau : une ligne par groupe, qu'on fait glisser */
  .selecteur { gap: 10px; margin-bottom: 24px; }
  .selecteur-groupe { padding: 10px 0 12px 12px; overflow: hidden; }
  .selecteur-puces { flex-wrap: nowrap; overflow-x: auto; padding-right: 12px; scrollbar-width: none; }
  .selecteur-puces::-webkit-scrollbar { display: none; }
  .selecteur .onglet { padding: 8px 13px; font-size: 13.5px; }
  .apercu-mention { font-size: 13px; padding: 8px 14px; }
}
/* Champs à 16 px : évite le zoom automatique sur iPhone */
.champ input, .champ select, .champ textarea { font-size: 16px; }

/* ---------- Boutique : couverture entière, cadrée pareil pour tous les produits (20/11/2026) ----------
   La hauteur en % ne s'appliquait pas (rangée de grille de hauteur auto) : l'image s'affichait
   à sa taille réelle puis était rognée. On la place en absolu : même hauteur, même centre, même angle. */
.produit-visuel img { position: absolute; top: 50%; left: 50%; height: 86%; width: auto; max-width: none;
  transform: translate(-50%, -50%) rotate(-3deg); }
a.produit:hover .produit-visuel img { transform: translate(-50%, -50%) rotate(0) scale(1.04); }
.produits.p4 .produit-visuel { aspect-ratio: 4 / 3; }
/* Un seul produit en vente : carte centrée, plus large */
.produits.p1 { grid-template-columns: minmax(0, 620px); justify-content: center; }
.produits.p1 .produit-visuel { aspect-ratio: 4 / 3; }
/* Bouton inactif (boutique fermée : « Bientôt disponible ») */
.btn.btn-inactif { opacity: .5; cursor: not-allowed; pointer-events: none; box-shadow: none; }