/* MasterPro — accueil monopage (maquette du 10/11/2026)
   Charte commune : encre #0B2545, or #F5B700, bleu signal #1F4FD8 ; Newsreader (titres), Atkinson Hyperlegible
   (texte), Atkinson Hyperlegible Mono (surtitres). Animations reprises du thème masterpro-formation.fr. */

@font-face { font-family: "Newsreader"; src: url("polices/newsreader-var-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("polices/newsreader-var-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Newsreader"; src: url("polices/newsreader-var-italic-latin.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("polices/newsreader-var-italic-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Atkinson"; src: url("polices/atkinson-hyperlegible-next-normal-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Atkinson Mono"; src: url("polices/atkinson-hyperlegible-mono-normal-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --encre: #0B2545;
  --encre-2: #13315C;
  --or: #F5B700;
  --or-fonce: #C99500;
  --bleu: #1F4FD8;
  --or-texte: #8A6400; /* or lisible sur fond clair (5,4:1) ; or pur réservé aux fonds encre et aux aplats */
  --or-pale: #FDF3D3;
  --bleu-fonce: #173DA8;
  --texte: #1D2B40;
  --gris: #55627A;
  --trait: #DCE2EC;
  --panneau: #F3F5F9;
  --blanc: #FFFFFF;
  --vert: #1E8E5A;
  --courbe: cubic-bezier(.16, 1, .3, 1);
  --courbe-glisse: cubic-bezier(.22, 1, .36, 1);
  --titres: "Newsreader", Georgia, serif;
  --corps: "Atkinson", system-ui, sans-serif;
  --mono: "Atkinson Mono", ui-monospace, monospace;
  --entete-h: 96px;
  --cyan: #00B4D8;
  --cyan-clair: #66D6EC;
  /* Échelle typographique de la charte MasterPro (A-175, reprise de MPAO mini), en rem pour suivre le réglage A / A+ / A++ :
     h1 30→38 px, h2 26→32, h3 22→26, h4 20, produit 34, chapo 19, texte 17, petit 15, mention 13. */
  --t-h1: clamp(1.875rem, 1.1vw + 1.375rem, 2.375rem);
  --t-h2: clamp(1.625rem, .8vw + 1.25rem, 2rem);
  --t-h3: clamp(1.375rem, .5vw + 1.125rem, 1.625rem);
  --t-h4: 1.25rem;
  --t-produit: 2.125rem;
  --t-chapo: 1.1875rem;
  --t-texte: 1.0625rem;
  --t-petit: .9375rem;
  --t-mention: .8125rem;
  --i-titre: 1.12;
  --i-texte: 1.6;
}
html.texte-1 { font-size: 112.5%; }
html.texte-2 { font-size: 125%; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--blanc); color: var(--texte); font: 400 var(--t-texte)/var(--i-texte) var(--corps); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--encre); }
h1, h2, h3 { font-family: var(--titres); font-weight: 500; color: var(--encre); margin: 0; letter-spacing: -.01em; }
h2 { font-size: var(--t-h2); line-height: var(--i-titre); text-wrap: balance; }
p { margin: 0 0 1em; }
.cadre { width: min(1200px, 100% - 64px); margin-inline: auto; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: -9999px; }
.evitement:focus { left: 16px; top: 16px; z-index: 200; background: var(--blanc); padding: 8px 14px; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }

.surtitre { font: 500 var(--t-mention)/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bleu); margin-bottom: 14px; }
.surtitre-or { color: var(--or); }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 6px; font: 700 1rem/1 var(--corps); text-decoration: none; border: 2px solid transparent; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; cursor: pointer; }
.bouton:hover { transform: translateY(-1px); }
.bouton-or { background: var(--or); color: var(--encre); }
.bouton-or:hover { background: #FFC81F; }
.bouton-bleu { background: var(--bleu); color: var(--blanc); }
.bouton-bleu:hover { background: var(--bleu-fonce); }
.bouton-contour { border-color: rgba(255,255,255,.7); color: var(--blanc); }
.bouton-contour:hover { background: rgba(255,255,255,.12); border-color: var(--blanc); }
.bouton-petit { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.lien-fleche { font-weight: 700; text-decoration: none; color: var(--encre); }
.lien-fleche::after { color: var(--or-fonce); }
.lien-fleche::after { content: " →"; display: inline-block; transition: transform .2s ease; }
.lien-fleche:hover::after { transform: translateX(4px); }

/* ——— En-tête : le même que MP AO mini (marque, menus déroulants, taille du texte, menu ☰), fond encre et filet or ;
   seul écart de la vitrine : transparent sur le héros, puis encre au défilement ; escamoté en descendant ——— */
.entete { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--blanc); border-bottom: 2px solid transparent; transition: transform .32s ease, opacity .32s ease, background-color .3s ease, border-color .3s ease; }
.entete-ligne { display: flex; align-items: center; gap: 32px; height: var(--entete-h); position: relative; }
.entete.defile { background: var(--encre); border-bottom-color: var(--or); }
.entete.cachee { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.marque { display: flex; align-items: flex-end; gap: 16px; color: inherit; text-decoration: none; margin-right: auto; }
.marque img { width: 64px; height: 64px; }
.marque > span { padding-bottom: 3px; }
.marque b { display: block; font: 600 31px/.9 var(--titres); letter-spacing: -.015em; color: var(--blanc); }
.marque small { display: block; margin-top: 3px; font: 400 13px/1.1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--or); white-space: nowrap; }
.menu { display: flex; align-items: center; gap: 30px; }
.menu > a, .deroulant summary { color: var(--blanc); text-decoration: none; font-size: 18px; padding: 6px 0; border-bottom: 2px solid transparent; cursor: pointer; transition: color .15s, border-color .15s; }
.menu > a:hover, .deroulant summary:hover, .deroulant[open] summary { color: var(--cyan-clair); border-bottom-color: var(--cyan); }
.deroulant { position: relative; }
.deroulant summary { list-style: none; display: flex; align-items: center; gap: 6px; }
.deroulant summary::-webkit-details-marker { display: none; }
.deroulant summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.panneau-produits { position: absolute; top: calc(100% + 14px); left: -20px; width: 380px; background: var(--blanc); border: 1px solid var(--trait); border-radius: 8px; box-shadow: 0 18px 40px -20px rgba(11,37,69,.35); padding: 8px; }
.panneau-produits a, .panneau-produits span { display: block; padding: 10px 12px; border-radius: 6px; text-decoration: none; }
.panneau-produits a:hover { background: #FFF6D6; }
.panneau-produits b, .burger nav b { display: block; font-weight: 600; font-size: 16px; color: var(--encre); }
.panneau-produits small, .burger nav small { display: block; font-size: 13.5px; color: var(--gris); }
.panneau-produits span b, .burger nav span b { color: var(--gris); }
.taille { display: flex; gap: 6px; flex: none; }
.taille button { min-width: 34px; height: 30px; padding: 0 7px; border: 1px solid rgba(255,255,255,.6); border-radius: 2px; background: none; color: var(--blanc); font: 400 14px/1 var(--corps); cursor: pointer; transition: background-color .15s, color .15s; }
.taille button:hover { background: rgba(255,255,255,.12); }
.taille button[aria-pressed="true"] { background: var(--blanc); border-color: var(--blanc); color: var(--encre); }
.burger { display: none; }
.burger summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 6px; }
.burger summary::-webkit-details-marker { display: none; }
.burger summary span, .burger summary span::before, .burger summary span::after { display: block; width: 24px; height: 2px; background: var(--blanc); border-radius: 1px; position: relative; transition: transform .2s; }
.burger summary span::before, .burger summary span::after { content: ""; position: absolute; left: 0; }
.burger summary span::before { top: -7px; } .burger summary span::after { top: 7px; }
.burger[open] summary span { background: transparent; }
.burger[open] summary span::before { transform: translateY(7px) rotate(45deg); }
.burger[open] summary span::after { transform: translateY(-7px) rotate(-45deg); }
.burger nav { position: absolute; left: -32px; right: -32px; top: 100%; z-index: 10; background: var(--blanc); border-bottom: 1px solid var(--or); box-shadow: 0 18px 30px -24px rgba(11,37,69,.5); padding: 8px 32px 16px; max-height: calc(100svh - var(--entete-h)); overflow-y: auto; }
.burger nav a, .burger nav span { display: block; padding: 10px 0; border-bottom: 1px solid var(--trait); text-decoration: none; color: var(--encre); font-size: 18px; }
.burger nav a:last-child { border-bottom: 0; }
.burger nav .rubrique { margin: 6px 0 2px; font: 400 12px/1.4 var(--corps); letter-spacing: .06em; text-transform: uppercase; color: var(--gris); }
/* Monogramme du pied de page (en attendant la reprise du pied de MP AO mini) */
.monogramme { display: grid; place-items: center; width: 42px; height: 42px; border: 1.5px solid currentColor; font: 600 1.05rem/1 var(--titres); letter-spacing: .02em; }
.marque-texte { display: flex; flex-direction: column; }
.marque-texte strong { font: 500 1.3rem/1.1 var(--titres); }
.marque-texte small { font: 500 .66rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .8; }


/* ——— Bandes ——— */
.bande { padding: clamp(80px, 10vw, 128px) 0; }
.bande-panneau { background: var(--panneau); }
.bande-encre { background: var(--encre); color: rgba(255,255,255,.86); }
.tete { max-width: 760px; margin-bottom: 64px; }
.tete h2 { margin-bottom: 18px; }
.tete-chapo { font-size: var(--t-chapo); color: var(--gris); }

/* ——— 2. Phases ——— */
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.phases::before { content: ""; position: absolute; top: 27px; left: 28px; right: 12%; height: 2px; background: linear-gradient(90deg, var(--or), var(--trait)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--courbe) .5s; }
.phases:has(.vu)::before { transform: scaleX(1); }
.phase { position: relative; background: var(--blanc); border: 1px solid var(--trait); border-radius: 14px; padding: 76px 24px 26px; display: flex; flex-direction: column; }
.phase > p:not(.phase-nom):not(.etat) { color: var(--gris); font-size: var(--t-petit); flex: 1; }
.pastille { position: absolute; top: 0; left: 24px; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--blanc); border: 2px solid var(--trait); font: 500 1.15rem/1 var(--titres); color: var(--encre); }
.phases { margin-top: 28px; }
.phase-nom { font: 500 var(--t-mention)/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gris); margin-bottom: 10px; }
.phase h3 { font-size: var(--t-h3); line-height: var(--i-titre); margin-bottom: 10px; }
.etat { align-self: flex-start; font: 600 var(--t-mention)/1 var(--corps); padding: 6px 10px; border-radius: 99px; background: var(--panneau); color: var(--gris); margin-bottom: 14px; }
.etat-service { background: var(--blanc); color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--encre); }
.etat-annonce { background: var(--or-pale); color: var(--encre); }
.phase-active { border-color: var(--or); box-shadow: 0 18px 40px -18px rgba(245,183,0,.45); }
.phase-active .pastille { background: var(--or); border-color: var(--or); color: var(--encre); }
.phases-kits { margin: 34px 0 0; padding: 18px 22px; border-left: 3px solid var(--or); background: var(--blanc); border-radius: 0 10px 10px 0; color: var(--texte); }

/* ——— Deux colonnes ——— */
.deux-colonnes { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.deux-colonnes h2 { margin-bottom: 26px; }
.tete-mini { margin-bottom: clamp(28px, 4vw, 48px); }
.tete-mini h2 { max-width: none; margin: 0; }
.tete-mini .tete-chapo { margin: 12px 0 0; }
.comparatif .essai-note { margin: 8px 0 0; font-size: var(--t-mention); color: var(--gris); text-align: center; }
.prevenu .prevenu-note { grid-column: 2; font-size: var(--t-mention); }
.prevenu-note a { color: rgba(255,255,255,.8); }
@media (max-width: 1080px) { .prevenu .prevenu-note { grid-column: auto; } }
.point-vert { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--vert); margin-right: 10px; box-shadow: 0 0 0 0 rgba(30,142,90,.5); animation: pouls 2.2s ease-out infinite; }
@keyframes pouls { 0% { box-shadow: 0 0 0 0 rgba(30,142,90,.5); } 80%, 100% { box-shadow: 0 0 0 10px rgba(30,142,90,0); } }
.coches { list-style: none; padding: 0; margin: 0 0 30px; }
.coches li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--gris); }
.coches li strong { color: var(--encre); }
.coches li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--or-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%238A6400' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
/* Section MP AO mini : étapes numérotées, boutons, note */
ol.coches { counter-reset: etape; }
ol.coches li { counter-increment: etape; }
ol.coches li::before { content: counter(etape); background: var(--encre); color: var(--blanc); font-weight: 700; font-size: .8rem; line-height: 20px; text-align: center; }
#titre-mini .appel { font-size: .55em; color: var(--or-texte); }
.familles-ligne { margin: -12px 0 26px; color: var(--gris); font-size: var(--t-petit); }
.actions-mini { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
#mpao-mini .bouton-contour { border-color: var(--encre); color: var(--encre); }
#mpao-mini .bouton-contour:hover { background: var(--or-pale); }
.note-mini { margin: 0 0 18px; font-size: var(--t-mention); color: var(--gris); }
.formules { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 30px; }
.formule { border: 1px solid var(--trait); border-radius: 12px; padding: 22px; font-size: var(--t-petit); color: var(--gris); }
.formule-nom { font: 700 var(--t-petit)/1.2 var(--corps); color: var(--encre); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.formule-prix { font: 500 var(--t-produit)/1 var(--titres); color: var(--encre); margin-bottom: 12px; }
.formule-prix small { font: 500 .9rem var(--corps); color: var(--gris); }
.formule-note { font-size: var(--t-mention); margin: 0; color: var(--gris); }
.formule-pro { border: 2px solid var(--encre); position: relative; }
.badge-or { font: 700 .7rem/1 var(--corps); background: var(--or); color: var(--encre); padding: 5px 8px; border-radius: 99px; }

/* E-mail d'exemple : les avis arrivent l'un après l'autre */
.courriel { margin: 0; background: var(--blanc); border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(11,37,69,.35), 0 0 0 1px var(--trait); overflow: hidden; transform-origin: center; }
.courriel-barre { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--panneau); border-bottom: 1px solid var(--trait); }
.courriel-barre span { width: 10px; height: 10px; border-radius: 50%; background: var(--trait); }
.courriel-barre p { margin: 0 0 0 12px; font: 500 var(--t-mention)/1 var(--mono); color: var(--gris); }
.courriel-corps { padding: 26px 28px 8px; }
.courriel-titre { font: 500 var(--t-h3)/var(--i-titre) var(--titres); color: var(--encre); padding-bottom: 14px; border-bottom: 2px solid var(--encre); }
.avis { padding: 14px 0 16px; border-bottom: 1px solid var(--trait); opacity: 0; transform: translate3d(24px, 0, 0); transition: opacity .8s var(--courbe), transform .8s var(--courbe); }
.courriel.vu .avis { opacity: 1; transform: none; }
.courriel.vu .avis:nth-child(2) { transition-delay: .7s; }
.courriel.vu .avis:nth-child(3) { transition-delay: 1s; }
.courriel.vu .avis:nth-child(4) { transition-delay: 1.3s; }
.avis:last-child { border-bottom: 0; }
.avis p { margin: 0; font-size: var(--t-petit); }
.avis-acheteur { font: 500 var(--t-mention)/1.4 var(--mono) !important; color: var(--gris); letter-spacing: .04em; }
.avis-objet { font: 500 var(--t-texte)/1.3 var(--titres) !important; color: var(--encre); margin: 2px 0 6px !important; }
.avis-pourquoi span { font-weight: 700; color: var(--or-fonce); }
.avis-limite { display: inline-block; margin-top: 8px !important; font-size: var(--t-mention) !important; font-weight: 700; color: var(--encre); background: var(--or-pale); padding: 4px 8px; border-radius: 4px; }
.courriel figcaption { padding: 10px 28px 16px; font-size: var(--t-mention); color: var(--gris); }

/* ——— 4. Kits ——— */
.deux-colonnes-inverse { grid-template-columns: 1fr 1fr; }
.atouts { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 16px; }
.atouts li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; font-size: var(--t-petit); color: var(--gris); }
.atouts strong { color: var(--encre); }
.atout-icone { grid-row: span 2; width: 44px; height: 44px; border-radius: 10px; background: var(--blanc); border: 1px solid var(--trait); display: grid; place-items: center; font-size: 1.15rem; color: var(--or-texte); }
.domaines { list-style: none; margin: 0; padding: 10px; background: var(--blanc); border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(11,37,69,.25); }
.domaines li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 20px; border-bottom: 1px solid var(--trait); font: 500 var(--t-h4)/1.3 var(--titres); color: var(--encre); transition: background-color .2s ease; }
.domaines li:hover { background: var(--panneau); }
.domaines li:last-child { border-bottom: 0; }
.domaine-etat { font: 500 var(--t-mention)/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gris); white-space: nowrap; }
.domaine-dispo { color: var(--encre); background: var(--or); padding: 7px 10px; border-radius: 99px; }

/* ——— 5. Éditeur ——— */
.editeur { display: grid; grid-template-columns: 320px 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.editeur-portrait { width: 320px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; box-shadow: 18px 18px 0 var(--or); }
.editeur blockquote { margin: 0 0 24px; font: italic 400 var(--t-h3)/1.35 var(--titres); color: var(--blanc); }
.editeur-nom { font-weight: 700; color: var(--blanc); margin-bottom: 6px; }
.editeur-metiers { font-size: var(--t-petit); color: rgba(255,255,255,.7); margin-bottom: 34px; }
.engagements { list-style: none; padding: 26px 0 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid rgba(255,255,255,.18); font-size: var(--t-petit); color: rgba(255,255,255,.7); }
.engagements strong { display: block; color: var(--or); font-weight: 700; margin-bottom: 4px; }

/* ——— 6. Être prévenu ——— */
.prevenu { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px 64px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: 18px; background: linear-gradient(135deg, var(--encre) 0%, var(--encre-2) 100%); color: rgba(255,255,255,.8); }
.prevenu h2 { color: var(--blanc); font-size: var(--t-h2); margin-bottom: 12px; }
.prevenu .surtitre { color: var(--or); }
.prevenu p { margin: 0; }
.prevenu .surtitre { margin-bottom: 12px; }
.prevenu fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.prevenu legend { font: 500 var(--t-mention)/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; color: rgba(255,255,255,.65); }
.puce { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 99px; color: var(--blanc); font-weight: 600; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.puce:has(input:checked) { background: rgba(245,183,0,.16); border-color: var(--or); }
.puce input { accent-color: var(--or); width: 16px; height: 16px; margin: 0; }
.prevenu-ligne { grid-column: 2; display: flex; gap: 10px; }
.prevenu-ligne input { flex: 1; min-height: 52px; border-radius: 6px; border: 0; padding: 0 16px; font: 400 1rem var(--corps); }
.prevenu .bouton-bleu { background: var(--or); color: var(--encre); }

/* ——— 7. FAQ et contact ——— */
.faq-grille { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq-grille h2 { margin-bottom: 28px; }
main details { border-bottom: 1px solid var(--trait); }
main details:first-of-type { border-top: 1px solid var(--trait); }
main summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 500 var(--t-h4)/1.35 var(--titres); color: var(--encre); }
main summary::-webkit-details-marker { display: none; }
main summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 300 1.6rem/1 var(--corps); color: var(--or-texte); transition: transform .3s var(--courbe); }
main details[open] summary::after { transform: rotate(45deg); }
main details p { color: var(--gris); padding-right: 40px; }
.contact { background: var(--blanc); border-radius: 16px; padding: 32px; border-top: 4px solid var(--or); box-shadow: 0 24px 48px -28px rgba(11,37,69,.3); }
.contact-titre { font: 500 var(--t-h3)/var(--i-titre) var(--titres); color: var(--encre); }
.contact p { color: var(--gris); }
.contact-courriel { font-weight: 700; font-size: var(--t-texte); }

/* ——— Pied ——— */
.pied { background: #071A33; color: rgba(255,255,255,.72); padding: 72px 0 0; font-size: var(--t-petit); }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; }
.pied a { color: rgba(255,255,255,.85); display: block; margin-bottom: 8px; text-decoration: none; }
.pied a:hover { color: var(--or); }
.pied .marque-pied { display: flex; color: var(--blanc); margin-bottom: 18px; }
.pied-grille > * { min-width: 0; }
.pied .marque-texte { min-width: 0; }
.pied .marque-texte small { white-space: normal; overflow-wrap: anywhere; }
.pied-devise { font: italic 400 var(--t-texte) var(--titres); color: rgba(255,255,255,.6); }
.pied-titre { font: 500 var(--t-mention)/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--or); margin-bottom: 18px; }
.pied-bas { margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); font: 400 var(--t-mention) var(--mono); color: rgba(255,255,255,.5); text-align: center; }

/* Retour en haut : n'apparaît qu'une fois la page entamée */
.retour { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--encre); color: var(--or); text-decoration: none; border: 1px solid rgba(245,183,0,.45); box-shadow: 0 10px 24px rgba(11,37,69,.3); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s ease, transform .3s var(--courbe); }
.retour.visible { opacity: 1; transform: none; pointer-events: auto; }

/* ——— Apparition au défilement (mécanisme du thème MasterPro) ——— */
.apparait { opacity: 0; transform: translate3d(0, 58px, 0); transition: opacity 1.1s var(--courbe), transform 1.1s var(--courbe); will-change: opacity, transform; }
.apparait.vu { opacity: 1; transform: none; }
.apparait.vu + .apparait.vu { transition-delay: .14s; }
.apparait.glisse-gauche { transform: translate3d(-90px, 0, 0); transition: opacity 1.3s var(--courbe-glisse), transform 1.3s var(--courbe-glisse); }
.apparait.glisse-droite { transform: translate3d(90px, 0, 0); transition: opacity 1.3s var(--courbe-glisse), transform 1.3s var(--courbe-glisse); }
.apparait.glisse-gauche.vu, .apparait.glisse-droite.vu { transform: none; }
.phases .phase.vu:nth-child(2) { transition-delay: .2s; }
.phases .phase.vu:nth-child(3) { transition-delay: .4s; }
.phases .phase.vu:nth-child(4) { transition-delay: .6s; }
.apparait.fondu { transform: none; transition: opacity 1.4s ease 1.1s; }
section { overflow-x: clip; }

/* ——— Écrans moyens et téléphone ——— */
@media (max-width: 1180px) {
  .entete .menu { display: none; }
  .burger { display: block; }
}
@media (max-width: 1080px) {
  .phases { grid-template-columns: repeat(2, 1fr); row-gap: 52px; }
  .phases::before { display: none; }
}
@media (max-width: 820px) {
  :root { --entete-h: 76px; }
  .entete-ligne { gap: 10px; }
  .marque { gap: 10px; } .marque img { width: 52px; height: 52px; } .marque b { font-size: 24px; } .marque small { font-size: 10.5px; margin-top: 2px; }
  .entete .taille { display: none; }
  .burger nav { left: -16px; right: -16px; padding: 8px 20px 16px; }
  .cadre { width: calc(100% - 32px); }
  .deux-colonnes, .deux-colonnes-inverse, .faq-grille, .editeur, .prevenu { grid-template-columns: minmax(0, 1fr); }
  .domaines li { flex-wrap: wrap; row-gap: 8px; }
  .prevenu-ligne { grid-column: auto; flex-direction: column; }
  .formules { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr; }
  .editeur-portrait { width: 220px; }
  .engagements { grid-template-columns: 1fr; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .courriel-corps { padding: 20px 18px 4px; }
}

/* Moins d'animation demandé : tout est en place d'emblée */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .entree, .apparait, .apparait.glisse-gauche, .apparait.glisse-droite, .apparait.fondu, .avis { opacity: 1; transform: none; transition: none; animation: none; }
  .point-vert { animation: none; }
  .phases::before { transform: none; transition: none; }
  .entete { transition: none; }
  .entete.cachee { transform: none; opacity: 1; pointer-events: auto; }
  .heros-texte { transform: none !important; opacity: 1 !important; }
}

/* ——— 1. Héros : diaporama de la gamme (un écran par phase) ———
   Les écrans sont empilés dans la même case de grille : la hauteur suit le plus haut, sans position absolue. */
.heros { position: relative; color: var(--blanc); background: var(--encre); overflow: hidden; }
.diapos { display: grid; }
.diapo { grid-area: 1 / 1; position: relative; min-height: max(680px, 100svh); display: flex; flex-direction: column; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s linear 1.2s; }
.diapo.active { opacity: 1; visibility: visible; transition: opacity 1.2s ease, visibility 0s; z-index: 1; }
.heros-fond { position: absolute; inset: 0; display: block; overflow: hidden; will-change: transform; }
.heros-fond img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; transform: scale(1.14); transition: transform 8s cubic-bezier(.2, .6, .35, 1); }
.diapo.active .heros-fond img { transform: scale(1.03); }
.diapo-voile { position: absolute; inset: 0; }
.diapo-contenu { position: relative; padding-top: calc(var(--entete-h) + 32px); padding-bottom: 150px; }
.heros-texte { max-width: 560px; will-change: transform, opacity; }
/* Bloc produit : phase, sigle (point fort), filet or sur la largeur de la colonne, nom complet, état */
.heros-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 0 14px; }
.heros-phase { font: 500 var(--t-petit)/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--or); margin: 0; }
.heros-etat { display: inline-flex; align-items: center; gap: 8px; font: 500 var(--t-mention)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.9); margin: 0; white-space: nowrap; }
.heros-etat-dispo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3DBE7E; }
.heros-produit { margin: 0 0 22px; padding-bottom: 18px; border-bottom: 2px solid var(--or); color: var(--blanc); }
.heros-sigle { display: block; font: 500 var(--t-h1)/1.1 var(--titres); letter-spacing: -.01em; color: var(--blanc); }
.heros-nom { display: block; margin-top: 2px; font: italic 500 1.75rem/1.25 var(--titres); color: var(--or); white-space: nowrap; }
/* Téléphone : le sous-titre du produit passe à la ligne au lieu d'être coupé (texte agrandi dans les réglages du téléphone). */
@media (max-width: 480px) { .heros-nom { font-size: 1.375rem; white-space: normal; } .heros-tete { flex-wrap: wrap; row-gap: 6px; } }
.heros-chapo { font-size: var(--t-chapo); line-height: 1.55; color: rgba(255,255,255,.88); margin-bottom: 30px; }
.heros-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.provisoire { position: absolute; top: calc(var(--entete-h) + 14px); right: 24px; z-index: 2; font: 500 var(--t-mention)/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.9); color: var(--encre); padding: 6px 10px; border-radius: 4px; }

/* Les lignes du texte montent l'une après l'autre à chaque arrivée d'écran ; elles repartent vite au départ. */
.diapo .entree { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity .35s ease, transform .35s ease; }
.diapo.active .entree { opacity: 1; transform: none; transition: opacity 1s var(--courbe), transform 1s var(--courbe); transition-delay: calc(.45s + var(--i) * .14s); }

/* Mises en page : une par écran */
.diapo-gauche .diapo-voile { background: linear-gradient(90deg, rgba(11,37,69,.94) 0%, rgba(11,37,69,.84) 30%, rgba(11,37,69,.4) 52%, rgba(11,37,69,0) 72%), linear-gradient(0deg, rgba(11,37,69,.85) 0%, rgba(11,37,69,0) 30%); }
.diapo-droite .diapo-voile { background: linear-gradient(270deg, rgba(11,37,69,.94) 0%, rgba(11,37,69,.84) 30%, rgba(11,37,69,.4) 52%, rgba(11,37,69,0) 72%), linear-gradient(0deg, rgba(11,37,69,.85) 0%, rgba(11,37,69,0) 30%); }
.diapo-droite .heros-texte { margin-left: auto; }
.diapo-centre .diapo-voile { background: radial-gradient(ellipse at center, rgba(11,37,69,.82) 0%, rgba(11,37,69,.72) 45%, rgba(11,37,69,.55) 100%); }
.diapo-centre .heros-texte { margin-inline: auto; text-align: center; }
.diapo-centre .heros-actions { justify-content: center; }

/* Index du diaporama : un onglet par écran, un filet or qui se remplit pendant l'affichage */
.heros-index { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; border-top: 1px solid rgba(255,255,255,.18); background: rgba(11,37,69,.4); backdrop-filter: blur(6px); }
.heros-index .cadre { display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: stretch; }
.onglet { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; padding: 20px 20px 22px 0; border: 0; background: none; color: rgba(255,255,255,.6); text-align: left; cursor: pointer; font: inherit; transition: color .3s ease; }
.onglet:hover, .onglet.active { color: var(--blanc); }
.onglet-num { font: 500 var(--t-h4)/1 var(--titres); color: var(--or); grid-row: span 2; }
.onglet-phase { font: 500 var(--t-mention)/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.onglet-produit { font-size: var(--t-petit); font-weight: 600; }
.jauge { position: absolute; left: 0; right: 20px; top: -1px; height: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.jauge i { position: absolute; inset: 0; background: var(--or); transform: scaleX(0); transform-origin: left; }
.onglet.active .jauge i { animation: jauge var(--duree, 3s) linear forwards; }
.heros.en-pause .onglet.active .jauge i { animation-play-state: paused; }
@keyframes jauge { to { transform: scaleX(1); } }
.pause { align-self: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: none; color: var(--blanc); cursor: pointer; font-size: .8rem; }
.pause:hover { border-color: var(--or); color: var(--or); }

@media (max-width: 1080px) {
  .onglet { padding-right: 12px; }
  .onglet-phase { display: none; }
}
@media (max-width: 820px) {
  .diapo { min-height: 0; justify-content: flex-start; }
  .heros-fond { position: relative; inset: auto; height: 280px; }
  .heros-fond img { object-position: 64% 50%; }
  .diapo-voile, .diapo-gauche .diapo-voile, .diapo-droite .diapo-voile, .diapo-bas .diapo-voile, .diapo-centre .diapo-voile { background: linear-gradient(180deg, rgba(11,37,69,.5) 0%, rgba(11,37,69,0) 22%, rgba(11,37,69,0) 190px, var(--encre) 280px); }
  .diapo-contenu { padding: 24px 0 112px; }
  .diapo-droite .heros-texte, .diapo-centre .heros-texte { margin: 0; text-align: left; }
  .diapo-centre .heros-actions { justify-content: flex-start; }
  .heros-chapo { font-size: var(--t-texte); }
  .heros-actions .bouton { width: 100%; }
  .provisoire { top: calc(var(--entete-h) + 8px); right: 12px; }
  .heros-index .cadre { grid-template-columns: repeat(4, 1fr) auto; }
  .onglet { grid-template-columns: 1fr; padding: 16px 8px 18px 0; }
  .onglet-num { grid-row: auto; }
  .onglet-produit { font-size: var(--t-mention); }
  .pause { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .diapo, .diapo.active, .heros-fond img, .diapo .entree, .diapo.active .entree { transition: none; }
  .diapo .entree { opacity: 1; transform: none; }
  .heros-fond img, .diapo.active .heros-fond img { transform: scale(1.03); }
  .onglet.active .jauge i { animation: none; transform: scaleX(1); }
}

/* Image provisoire retournée (écran 2) : propriété scale, qui se compose avec la parallaxe. */
.heros-fond.miroir { scale: -1 1; }
@media (min-width: 821px) { .heros-fond { inset: 0 0 -18% 0; } }

/* Voile haut : garde lisibles le logo et le menu blancs sur les photos claires. */
.diapo-voile::after { content: ""; position: absolute; inset: 0 0 auto; height: 200px; background: linear-gradient(180deg, rgba(11,37,69,.72) 0%, rgba(11,37,69,0) 100%); }

/* Écran 3 : voile concentré en bas à gauche, les visages restent dans la lumière. */

/* Écran 4 : voile concentré derrière le texte centré, le bois garde sa chaleur sur les bords. */
@media (min-width: 821px) { .diapo-centre .diapo-voile { background: radial-gradient(ellipse 52% 48% at 50% 50%, rgba(11,37,69,.88) 0%, rgba(11,37,69,.62) 55%, rgba(11,37,69,.18) 100%); } }

/* Barre d'index lisible sur toutes les photos, claires comprises. */
.heros-index { background: rgba(11,37,69,.78); }

/* ——— 2. Le fil de la gamme ———
   Une ligne or relie les étapes ; elle avance au rythme du défilement (--p, de 0 à 1, posé par mp.js) et allume
   chaque pastille qu'elle atteint. Les relais disent ce qui passe d'un logiciel au suivant. */
.fil { position: relative; --p: 0; }
.fil-cotes { display: grid; grid-template-columns: 1fr 3fr; gap: 32px; margin-bottom: 26px; }
.cote { font: 500 var(--t-mention)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gris); padding-bottom: 10px; border-bottom: 2px solid var(--trait); }
.cote-mo { border-bottom-color: var(--encre); color: var(--encre); }
.cote-entreprise { border-bottom-color: var(--or); color: var(--encre); }
.fil-ligne { position: absolute; left: 28px; right: calc(25% - 52px); top: 28px; height: 2px; background: var(--trait); }
.fil-ligne i { position: absolute; inset: 0; background: var(--or); transform: scaleX(var(--p)); transform-origin: left; }
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.etape { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.etape .pastille { position: relative; top: auto; left: auto; transform: scale(.92); margin-bottom: 22px; transition: background-color .5s ease, border-color .5s ease, color .5s ease, transform .5s var(--courbe); }
.etape.atteinte .pastille { background: var(--or); border-color: var(--or); color: var(--encre); transform: none; box-shadow: 0 0 0 6px rgba(245,183,0,.18); }
.etape:first-child.atteinte .pastille { background: var(--encre); border-color: var(--encre); box-shadow: 0 0 0 6px rgba(11,37,69,.12); }
.etape h3 { font-size: var(--t-h3); line-height: var(--i-titre); margin-bottom: 10px; }
.etape-texte { color: var(--gris); font-size: var(--t-petit); flex: 1; }
.etape .bouton-petit { margin-top: 4px; }
.relais { position: absolute; top: 15px; left: 66px; right: -26px; margin: 0; display: flex; justify-content: center; pointer-events: none; }
.relais span { font: 500 var(--t-mention)/1.2 var(--mono); color: var(--encre); background: var(--panneau); border: 1px solid var(--or); border-radius: 99px; padding: 5px 10px; white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .6s ease .25s, transform .6s var(--courbe) .25s; }
.etape.relais-vu .relais span { opacity: 1; transform: none; }
.phases-kits { margin-top: 48px; }

@media (max-width: 1080px) {
  .fil-cotes { display: none; }
  .fil-ligne { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .fil-ligne i { transform: scaleY(var(--p)); transform-origin: top; }
  .etapes { grid-template-columns: 1fr; gap: 0; }
  .etape { display: grid; grid-template-columns: 56px 1fr; column-gap: 22px; padding-bottom: 40px; }
  .etape > *:not(.pastille) { grid-column: 2; }
  .etape .pastille { grid-row: 1 / span 6; margin: 0; align-self: start; }
  .etape .etat, .etape .lien-fleche, .etape .bouton { justify-self: start; }
  .relais { position: static; display: block; margin-top: 18px; }
  .relais span { display: inline-block; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .fil { --p: 1; }
  .etape .pastille, .relais span { transition: none; }
}

.etape .etat { background: var(--blanc); }
.etape .etat-service { background: var(--blanc); }
.etape .etat-annonce { background: var(--or-pale); }

/* Section MP AO mini : ordinateur et téléphone repris d'ao-mini (A-162), animés à l'arrivée de la colonne. */
.exemple-appareils { margin: 0; justify-self: center; }
.exemple-appareils figcaption { margin-top: 18px; font-size: var(--t-mention); color: var(--gris); text-align: center; }
.appareils { position: relative; width: 640px; height: 560px; zoom: .9; font-family: var(--corps); color: var(--encre); }
.appareils p { margin: 0; }
.ap-portable { position: absolute; left: 0; top: 20px; width: 600px; }
.ap-ecran { background: #1b1f27; border-radius: 14px 14px 0 0; padding: 14px 14px 18px; }
.ap-fenetre { background: #fff; height: 348px; display: grid; grid-template-columns: 170px 1fr; overflow: hidden; border-radius: 3px; }
.ap-liste { background: #f4f6f9; border-right: 1px solid #dde2ea; font-size: 11px; }
.ap-liste > p { padding: 6px 10px; font-weight: 700; color: var(--gris); border-bottom: 1px solid #dde2ea; }
.ap-liste div { padding: 8px 10px; border-bottom: 1px solid #e6e9ef; color: var(--gris); line-height: 1.3; }
.ap-liste b { display: block; color: var(--encre); font-size: 11.5px; }
.ap-liste i { float: right; font-style: normal; color: #8a93a3; }
.ap-liste .ap-actif { background: #fff; box-shadow: inset 3px 0 0 var(--cyan); }
.ap-mail { padding: 14px 18px; font-size: 11.5px; line-height: 1.4; overflow: hidden; }
.ap-de { display: flex; justify-content: space-between; color: var(--gris); font-size: 10.5px; padding-bottom: 8px; border-bottom: 1px solid #e6e9ef; }
.ap-objet { font: 600 16px var(--titres); margin: 10px 0 8px !important; }
.ap-avis { border-top: 3px solid var(--encre); padding: 8px 0 6px; }
.ap-avis small { color: var(--gris); }
.ap-avis strong { display: block; font: 600 13.5px/1.2 var(--titres); margin: 2px 0 5px; }
.ap-avis em { font-style: normal; font-weight: 700; color: var(--or-fonce); font-size: 10.5px; display: block; margin-top: 5px; }
.ap-base { height: 16px; background: linear-gradient(#c9ced8, #9aa1ad); border-radius: 0 0 12px 12px; margin: 0 -28px; position: relative; }
.ap-base::after { content: ""; position: absolute; left: 50%; top: 0; width: 90px; height: 6px; margin-left: -45px; background: #8a919d; border-radius: 0 0 6px 6px; }
.ap-tel { position: absolute; right: 0; bottom: 0; width: 210px; height: 420px; background: #111; border-radius: 34px; padding: 10px; box-shadow: 0 30px 50px -25px rgba(11,37,69,.6); }
.ap-tel-ecran { height: 100%; border-radius: 26px; background: linear-gradient(160deg, #16335e, var(--encre) 60%); padding: 16px 12px; color: #fff; position: relative; overflow: hidden; }
.ap-tel-ecran::before { content: ""; position: absolute; left: 50%; top: 8px; width: 70px; height: 18px; margin-left: -35px; background: #111; border-radius: 10px; }
.ap-heure { text-align: center; margin-top: 40px !important; font: 300 54px/1 var(--corps); letter-spacing: -.02em; }
.ap-jour { text-align: center; font-size: 12px; opacity: .85; margin-top: 4px !important; }
.ap-notif { margin-top: 34px; background: rgba(255,255,255,.95); color: var(--encre); border-radius: 14px; padding: 10px 11px; font-size: 11px; line-height: 1.35; }
.ap-app { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--gris); margin-bottom: 4px !important; }
.ap-app i { font-style: normal; margin-left: auto; }
.ap-app svg { width: 16px; height: 16px; }
.ap-notif b { display: block; font-size: 12px; }
.ap-notif2 { margin-top: 8px; background: rgba(255,255,255,.75); border-radius: 14px; padding: 8px 11px; font-size: 10.5px; color: var(--encre); }
/* Scénario lancé quand la colonne arrive : la notification tombe sur le téléphone,
   puis l'e-mail s'ouvre sur l'ordinateur (ligne surlignée, en-tête, objet, avis l'un après l'autre). */
@media (prefers-reduced-motion: no-preference) {
  .exemple-appareils .ap-notif { opacity: 0; transform: translateY(-14px); }
  .exemple-appareils .ap-liste .ap-actif { background: #f4f6f9; box-shadow: inset 0 0 0 var(--cyan); }
  .exemple-appareils .ap-mail > * { opacity: 0; transform: translateY(8px); }
  .exemple-appareils.vu .ap-notif { animation: ap-notif .55s ease-out 1.1s both; }
  .exemple-appareils.vu .ap-liste .ap-actif { animation: ap-actif .5s ease-out 1.9s both; }
  .exemple-appareils.vu .ap-mail > * { animation: ap-mail .6s var(--courbe) both; }
  .exemple-appareils.vu .ap-mail > :nth-child(1) { animation-delay: 2.3s; }
  .exemple-appareils.vu .ap-mail > :nth-child(2) { animation-delay: 2.45s; }
  .exemple-appareils.vu .ap-mail > :nth-child(3) { animation-delay: 2.75s; }
  .exemple-appareils.vu .ap-mail > :nth-child(4) { animation-delay: 3.15s; }
  @keyframes ap-notif { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
  @keyframes ap-actif { from { background: #f4f6f9; box-shadow: inset 0 0 0 var(--cyan); } to { background: #fff; box-shadow: inset 3px 0 0 var(--cyan); } }
  @keyframes ap-mail { to { opacity: 1; transform: none; } }
  /* Glissement des deux colonnes plus franc dans cette section, la droite légèrement après la gauche */
  #mpao-mini .apparait.glisse-gauche { transform: translate3d(-180px, 0, 0); }
  #mpao-mini .apparait.glisse-droite { transform: translate3d(180px, 0, 0); }
  #mpao-mini .apparait.glisse-gauche.vu, #mpao-mini .apparait.glisse-droite.vu { transform: none; }
  #mpao-mini .apparait.glisse-droite.vu { transition-delay: .15s; }
}
@media (max-width: 1300px) { .appareils { zoom: .8; } }
@media (max-width: 1100px) { .appareils { zoom: .68; } }
@media (max-width: 820px) { .appareils { zoom: .75; } }
@media (max-width: 560px) { .appareils { zoom: .52; } }

/* Retouches du 14/11 (charte : encre et or seulement dans les sections) */
.point-etat { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--or); margin-right: 10px; vertical-align: 1px; }
.bouton-trait { background: transparent; border-color: var(--or); color: var(--encre); }
.bouton-trait:hover { background: var(--or-pale); }
/* Pastilles : chacune arrive en encre (chiffre or), puis passe à l'or quand la suivante arrive ; toutes identiques à la fin */
.etape.arrivee .pastille { opacity: 1; transform: none; background: var(--encre); border-color: var(--encre); color: var(--or); box-shadow: 0 0 0 6px rgba(11,37,69,.12); }
.etape.atteinte .pastille, .etape:first-child.atteinte .pastille { opacity: 1; transform: none; background: var(--or); border-color: var(--or); color: var(--encre); box-shadow: 0 0 0 6px rgba(245,183,0,.18); }

/* Fil de la gamme : séquence minutée, lancée une fois quand le fil arrive à l'écran.
   La ligne se trace (4 s), les chiffres 01 → 04 arrivent l'un après l'autre en glissant depuis la droite,
   puis les textes de chaque étape, dans le même ordre et le même sens. */
.fil-ligne i { transform: scaleX(0); transition: transform 2.1s linear; }
.fil.lance .fil-ligne i { transform: scaleX(1); }
@media (max-width: 1080px) { .fil-ligne i { transform: scaleY(0); } .fil.lance .fil-ligne i { transform: scaleY(1); } }
.etape .pastille { opacity: 0; transform: translateX(60px) scale(.92); transition: opacity .35s ease, transform .45s var(--courbe-glisse), background-color .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease; }
.etape.atteinte .pastille { opacity: 1; transform: none; }
.etape > :not(.pastille) { opacity: 0; transform: translateX(60px); transition: opacity .4s ease, transform .5s var(--courbe-glisse); }
.etape.texte-vu > :not(.pastille) { opacity: 1; transform: none; }
.etape.texte-vu > :nth-child(3) { transition-delay: .04s; }
.etape.texte-vu > :nth-child(4) { transition-delay: .08s; }
.etape.texte-vu > :nth-child(5) { transition-delay: .12s; }
.etape.texte-vu > :nth-child(6) { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  .fil-ligne i, .etape .pastille, .etape > :not(.pastille) { opacity: 1; transform: none; transition: none; }
}

/* Tarifs de MP AO mini : copie exacte du rendu final d'ao-mini (ressources/style.css, règles A-177 et suivantes,
   cascade résolue) : colonne gratuite filet gris 1 px, colonne Pro filet encre 1 px et fond crème, tête Pro encre,
   « 14 jours offerts » en contour or calé à droite du prix, coches bleues, boutons à angles droits et bord 1 px. */
.tarifs-tete { text-align: left; }
.tarifs-tete p:not(.surtitre) { margin: 8px 0 0; color: #4A5872; font-size: var(--t-chapo); }
.comparatif { width: calc(100% + 36px); max-width: none; margin: 32px -18px 0; border-collapse: separate; border-spacing: 18px 0; font-size: 1rem; color: var(--encre); }
.comparatif th, .comparatif td { padding: 8px 16px; font-size: .9375rem; text-align: left; vertical-align: top; border-bottom: 1px solid #D5D9E0; }
.comparatif tbody th { padding-left: 0; width: 30%; font-weight: 400; color: #4A5872; font-size: .90625rem; }
.comparatif thead th { padding: 14px 16px 12px; border-bottom: 0; vertical-align: top; font-weight: 400; }
.comparatif thead th:first-child { vertical-align: bottom; border-bottom: 1px solid #B9C0CC; }
.comparatif thead b { display: block; font-size: .9375rem; font-weight: 600; letter-spacing: .01em; }
.comparatif .prix { display: flex; flex-wrap: nowrap; align-items: baseline; gap: 8px 12px; margin: 6px 0 0; }
.comparatif .prix > * { flex: none; white-space: nowrap; }
.comparatif .prix-grand { display: block; margin: 0; font: 400 2.125rem/1 var(--titres); }
.comparatif .prix small { display: block; font-size: .8125rem; color: #4A5872; }
.comparatif .offert { display: inline-block; margin: 0 0 0 auto; align-self: center; padding: 2px 8px; background: transparent; border: 1px solid var(--or); color: var(--or); font-size: .75rem; font-weight: 600; }
.comparatif thead th.col-gratuite { background: var(--blanc); color: var(--encre); }
.comparatif .col-gratuite { box-shadow: inset 1px 0 #B9C0CC, inset -1px 0 #B9C0CC; }
.comparatif thead .col-gratuite { box-shadow: inset 1px 0 #B9C0CC, inset -1px 0 #B9C0CC, inset 0 1px #B9C0CC; border-bottom: 1px solid #B9C0CC !important; }
.comparatif tfoot td.col-gratuite { box-shadow: inset 1px 0 #B9C0CC, inset -1px 0 #B9C0CC, inset 0 -1px #B9C0CC; }
.comparatif .col-pro { background: #FFFAEB; box-shadow: inset 1px 0 var(--encre), inset -1px 0 var(--encre); }
.comparatif thead th.col-pro { background: var(--encre); color: var(--blanc); box-shadow: none; border-bottom-color: var(--encre); }
.comparatif thead th.col-pro small { color: #C9D3E3; }
.comparatif thead th.col-pro .prix-grand { color: var(--or); }
.comparatif tfoot td.col-pro { box-shadow: inset 1px 0 var(--encre), inset -1px 0 var(--encre), inset 0 -1px var(--encre); }
.comparatif .coche { width: 18px; height: 18px; color: #0369A1; vertical-align: -5px; }
.comparatif .non { color: #B9C0CC; }
.comparatif tfoot td { padding: 14px 16px; border-bottom: 0; }
.comparatif tfoot .bouton { display: block; width: 100%; min-height: 0; text-align: center; padding: .55rem 1rem; border-radius: 2px; border-width: 1px; font: 600 .9375rem/1.4 var(--corps); }
.comparatif tfoot .bouton-contour { background: transparent; color: var(--encre); border-color: var(--encre); }
.comparatif tfoot .bouton-or { background: var(--or); color: var(--encre); border-color: var(--or); }
.comparatif tfoot .bouton:hover { background: var(--encre); border-color: var(--encre); color: var(--blanc); }
@media (max-width: 820px) {
  .comparatif { border-spacing: 6px 0; width: calc(100% + 12px); margin-left: -6px; margin-right: -6px; }
  .comparatif th, .comparatif td { padding: 8px; font-size: .84375rem; }
  .comparatif thead th { padding: 12px 8px; }
  .comparatif tbody th { width: 28%; }
  .comparatif thead b { font-size: .875rem; }
  .comparatif .prix-grand { font-size: 1.875rem; }
  .comparatif .prix small { font-size: .75rem; }
  .comparatif tfoot td { padding: 10px 6px; }
}

/* Une section par écran (grand écran, html.par-ecran posé par mp.js) : chaque section occupe la hauteur de la
   fenêtre, contenu centré ; un cran de molette ou une touche fait passer à la section suivante. */
html.par-ecran main > section.bande { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--entete-h) + 16px) 0 40px; }
html.par-ecran main > section.bande > .cadre { width: min(1200px, 100% - 64px); }
@media (max-height: 820px) {
  html.par-ecran main > section.bande { padding: 76px 0 12px; }
  html.par-ecran .tete h2, html.par-ecran .tete-mini { margin-bottom: 14px; }
  html.par-ecran .etape .pastille { margin-bottom: 14px; }
  html.par-ecran .comparatif { margin-top: 14px; }
  html.par-ecran .appareils { zoom: .7; }
}
/* Titres sur deux lignes, coupure choisie (<br class="coupure">) ; sur téléphone, retour à la ligne naturel. */
#gamme .tete { max-width: none; }
/* Gamme : chapeau rapproché de la frise, bloc centré sur la hauteur de l'écran (en-tête caché en descendant). */
html.par-ecran main > section#gamme { padding: 32px 0; }
html.par-ecran #gamme .tete { margin-bottom: 36px; }
#gamme .tete .tete-chapo { max-width: 760px; }
@media (max-width: 820px) { br.coupure { display: none; } }

/* Mot mis en valeur dans un titre : un seul groupe par titre, italique Newsreader ; bleu signal sur fond clair
   (environ 6:1), or sur fond encre. Jamais dans le héros. */
h2 .accent { font-style: italic; color: var(--bleu); }
.bande-encre h2 .accent, .prevenu h2 .accent { color: var(--or); }

/* Pages de texte (confidentialité, mentions, CGV) : en-tête encre d'emblée, colonne de lecture, tableaux à filets. */
.page-simple .entete { background: var(--encre); border-bottom-color: var(--or); }
.page-texte { padding: calc(var(--entete-h) + clamp(48px, 6vw, 80px)) 0 clamp(64px, 8vw, 112px); }
.texte-legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); column-gap: 64px; align-items: start; }
.texte-tete { grid-column: 1 / -1; max-width: 860px; margin-bottom: 40px; }
.texte-corps { max-width: 880px; }
.texte-corps > h2:first-child { margin-top: 0; }
.texte-legal h3 { font-size: var(--t-h4); margin: 32px 0 12px; }
.texte-legal h2, .texte-legal h3 { scroll-margin-top: calc(var(--entete-h) + 24px); }
.sommaire { position: sticky; top: calc(var(--entete-h) + 24px); max-height: calc(100vh - var(--entete-h) - 48px); overflow: auto; border-left: 2px solid var(--trait); padding-left: 18px; font-size: var(--t-petit); }
.sommaire-titre { font: 500 var(--t-mention)/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gris); margin: 0 0 10px; }
.sommaire ol { list-style: none; margin: 0; padding: 0; }
.sommaire ol ol { padding-left: 14px; margin: 4px 0; }
.sommaire li { margin: 0; max-width: none; }
.sommaire li + li { margin-top: 0; }
.texte-legal .sommaire a { display: block; padding: 4px 0; color: var(--encre); text-decoration: none; }
.texte-legal .sommaire a:hover, .texte-legal .sommaire a.actif { color: var(--bleu); }
.texte-legal .sommaire a.actif { font-weight: 600; }
.versions { list-style: none; padding-left: 0; }
@media (max-width: 999px) { .texte-legal { display: block; } .sommaire { position: static; max-height: none; margin-bottom: 40px; } }
.texte-legal h1 { font-size: var(--t-h1); line-height: var(--i-titre); margin-bottom: 12px; }
.texte-legal h2 { font-size: var(--t-h3); margin: 48px 0 14px; }
.texte-legal p, .texte-legal li { max-width: 72ch; }
.texte-legal a { color: var(--bleu); }
.texte-legal ul { padding-left: 1.2em; }
.texte-legal li + li { margin-top: 6px; }
.version-legale { color: var(--gris); font-size: var(--t-petit); }
.texte-legal .defile { overflow-x: auto; margin: 8px 0 18px; }
.texte-legal table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--t-petit); }
.texte-legal th { text-align: left; font: 500 var(--t-mention)/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--encre); padding: 10px 14px 10px 0; border-bottom: 2px solid var(--encre); }
.texte-legal td { vertical-align: top; padding: 14px 14px 14px 0; border-bottom: 1px solid var(--trait); }
@media (max-width: 520px) { .pied-grille { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.texte-legal h4 { font: 600 var(--t-texte)/1.4 var(--corps); color: var(--encre); margin: 22px 0 8px; }
.chapeau-partie { color: var(--gris); margin-top: -6px; }

.parties .texte-corps > h2 ~ h2 { border-top: 2px solid var(--encre); padding-top: 40px; margin-top: 64px; }

/* Pratidoc sur fond encre, familles en cartes blanches fines (proposition E, 17/11) */
#kits h2 { color: var(--blanc); }
#kits .tete-chapo { color: rgba(255,255,255,.78); }
#kits .atouts li { color: rgba(255,255,255,.66); }
#kits .atouts strong { color: var(--blanc); }
#kits .atout-icone { background: transparent; border-color: rgba(255,255,255,.22); color: var(--or); }
.familles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.familles li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: center; padding: 18px 22px; background: var(--blanc); border-radius: 12px; }
.familles h3 { font: 500 1.25rem/1.25 var(--titres); color: var(--encre); margin: 0 0 4px; }
.familles p { margin: 0; font-size: var(--t-petit); color: var(--gris); }
.famille-etat { font-size: .875rem; color: var(--gris); white-space: nowrap; }
.famille-dispo { box-shadow: inset 0 3px 0 var(--or); }
.famille-dispo .famille-etat { color: var(--encre); font-weight: 700; }

/* Éditeur en bandeau clair, suivi du formulaire « Lancements » sur le même écran */
.editeur-bandeau { display: grid; grid-template-columns: 132px minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; align-items: center; margin-bottom: 40px; }
.editeur-bandeau .editeur-portrait { width: 132px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; box-shadow: 8px 8px 0 var(--or); }
.editeur-bandeau .surtitre { margin-bottom: 8px; }
.editeur-bandeau blockquote { margin: 0 0 10px; font: italic 400 var(--t-h4)/1.4 var(--titres); color: var(--encre); }
.editeur-bandeau .editeur-nom { font-weight: 700; color: var(--encre); font-size: var(--t-petit); margin: 0 0 2px; }
.editeur-bandeau .editeur-metiers { font-size: var(--t-mention); color: var(--gris); margin: 0; }
.editeur-bandeau .engagements { grid-template-columns: 1fr; gap: 12px; padding: 0 0 0 28px; border-top: 0; border-left: 1px solid var(--trait); color: var(--gris); }
.editeur-bandeau .engagements strong { color: var(--encre); margin-bottom: 0; }
@media (max-width: 1000px) {
  .editeur-bandeau { grid-template-columns: 110px minmax(0, 1fr); gap: 24px; }
  .editeur-bandeau .editeur-portrait { width: 110px; }
  .editeur-bandeau .engagements { grid-column: 1 / -1; padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--trait); }
}
@media (max-width: 820px) { .familles li { grid-template-columns: minmax(0, 1fr); row-gap: 8px; } }
#prevenu { scroll-margin-top: calc(var(--entete-h) + 24px); }
#editeur .prevenu { padding: clamp(28px, 3.2vw, 44px) clamp(28px, 4vw, 52px); }
/* Pratidoc : seule la carte disponible est un lien ; les autres restent des emplacements blancs vides */
.familles li { display: block; padding: 0; min-height: 88px; }
.familles a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: center; min-height: 88px; box-sizing: border-box; padding: 18px 22px; border-radius: 12px; color: inherit; text-decoration: none; transition: box-shadow .2s ease; }
.familles a:hover { box-shadow: 0 0 0 2px var(--or); }
.familles a:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
.familles a:hover h3 { text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 4px; }
#kits .atouts { margin-bottom: 0; }
@media (max-width: 820px) { .familles a { grid-template-columns: minmax(0, 1fr); row-gap: 8px; } .famille-vide { min-height: 56px; } }

/* Pratidoc (17/11, suite) : titre sur toute la largeur, atouts plus grands avec icônes dessinées, familles en accordéon */
.pratidoc-tete { margin-bottom: clamp(28px, 4vw, 48px); }
.pratidoc-tete h2 { margin: 0; }
.pratidoc-corps { align-items: start; }
#kits .tete-chapo { margin: 0 0 32px; }
.atouts-pratidoc { gap: 24px; }
.atouts-pratidoc li { grid-template-columns: 60px 1fr; column-gap: 20px; font-size: var(--t-texte); }
.atouts-pratidoc strong { font-size: var(--t-h4); font-family: var(--titres); font-weight: 500; }
#kits .atouts-pratidoc .atout-icone { width: 60px; height: 60px; border-radius: 14px; border: 1px solid rgba(245,183,0,.45); background: rgba(245,183,0,.07); }
.atout-icone svg { width: 34px; height: 34px; fill: none; stroke: var(--or); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.familles { display: grid; gap: 12px; }
.familles .famille, .famille-vide { background: var(--blanc); border-radius: 12px; border: 0; min-height: 88px; }
.familles .famille-dispo { box-shadow: inset 0 3px 0 var(--or); }
.familles summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; box-sizing: border-box; padding: 18px 22px; cursor: pointer; border-radius: 12px; font: inherit; color: inherit; }
.familles summary::-webkit-details-marker { display: none; }
.familles summary::after { content: none; }
.famille-titre { display: block; font: 500 1.25rem/1.25 var(--titres); color: var(--encre); margin-bottom: 4px; }
.famille-desc { display: block; font-size: var(--t-petit); color: var(--gris); }
.famille-chevron { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--trait); position: relative; transition: background-color .2s ease, transform .3s var(--courbe); }
.famille-chevron::before { content: ""; position: absolute; left: 50%; top: 45%; width: 9px; height: 9px; border-right: 2px solid var(--encre); border-bottom: 2px solid var(--encre); transform: translate(-50%, -50%) rotate(45deg); }
.familles summary:hover .famille-chevron { background: var(--or-pale); border-color: var(--or); }
.familles details[open] .famille-chevron { transform: rotate(180deg); }
.familles summary:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
.famille-liens { list-style: none; margin: 0; padding: 0 22px 14px; border-top: 1px solid var(--trait); }
.familles .famille-liens li { display: block; min-height: 0; padding: 0; }
.famille-liens a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--trait); color: var(--encre); text-decoration: none; font-weight: 600; font-size: var(--t-petit); }
.famille-liens li:last-child a { border-bottom: 0; color: var(--bleu); }
.famille-liens a:hover span:first-child { text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 4px; }
.famille-liens a:focus-visible { outline: 2px solid var(--bleu); outline-offset: 2px; }
.famille-prix { white-space: nowrap; }
@media (max-width: 820px) { .famille-vide { min-height: 56px; } .atouts-pratidoc li { grid-template-columns: 52px 1fr; } #kits .atouts-pratidoc .atout-icone { width: 52px; height: 52px; } }
.familles .famille-liens li { background: none; border-radius: 0; }
.familles .famille-liens a { min-height: 0; border-radius: 0; box-shadow: none; }
.atout-icone svg { width: 42px; height: 42px; stroke-width: 1.8; }
.atout-icone svg { width: 52px; height: 52px; stroke-width: 1.7; }

/* Recouvrement au défilement : la section Pratidoc reste en place, la section suivante (éditeur) monte par-dessus */
@media (min-width: 1000px) and (min-height: 640px) and (prefers-reduced-motion: no-preference) {
  #kits { position: sticky; top: 0; z-index: 0; }
  #kits + section { position: relative; z-index: 1; background: var(--blanc); box-shadow: 0 -24px 48px -24px rgba(0,0,0,.45); }
  /* Toutes les sections suivantes et le pied passent devant : Pratidoc, restée en place, n'apparaît plus jamais par transparence. */
  #kits ~ section, body > footer { position: relative; z-index: 1; }
  #kits ~ section:not(.bande-panneau):not(.bande-encre) { background: var(--blanc); }
}

/* Questions : titre sur toute la largeur, la carte de contact s'aligne sur la première question */
.faq-tete { margin-bottom: 28px; }
.faq-tete h2 { margin: 0; }
.contact .contact-titre { color: var(--encre); margin-top: 0; }
#contact details p a { color: var(--bleu); }
/* FAQ : même chevron que l'accordéon Pratidoc (le « + » qui tournait en « × » se lisait comme une croix) */
main #contact summary::after { content: ""; top: 50%; right: 4px; width: 9px; height: 9px; border-right: 2px solid var(--encre); border-bottom: 2px solid var(--encre); transform: translateY(-70%) rotate(45deg); }
main #contact details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
main #contact summary:hover::after { border-color: var(--or-texte); }

/* Contrôle visuel du 17/11 */
.lien-fleche::after { content: "→"; margin-left: .35em; }
.puce:has(input:checked) { background: rgba(255,255,255,.1); border-color: var(--or); }
.comparatif-defile { overflow: visible; }
.glisser-tableau { display: none; }
@media (max-width: 700px) {
  .comparatif-defile { overflow-x: auto; }
  .comparatif-defile .comparatif { min-width: 620px; }
  .glisser-tableau { display: block; margin: 0 0 10px; font-size: var(--t-mention); color: var(--gris); }
}
.marque-pied-logo { width: 44px; height: 44px; flex: none; }
.pied .marque-pied { align-items: center; gap: 14px; }
@media (max-width: 500px) {
  .onglet { grid-template-columns: auto; justify-items: center; padding-right: 0; }
  .onglet-produit { display: none; }
}
@media (max-width: 820px) {
  .actions-mini { display: grid; gap: 12px; }
  .actions-mini .bouton { width: 100%; }
}

/* Boutique Pratidoc (kits.html) : mise en page reprise de la boutique de masterpro-formation.fr (27/09) —
   fil d'Ariane, titre, colonne de filtres collante à gauche, produits en bandeaux à droite ; couleurs de la charte
   (encre, or, bleu signal pour les petits titres sur fond clair). */
.page-boutique { background: var(--panneau); }
.boutique { padding: calc(var(--entete-h) + clamp(32px, 4vw, 56px)) 0 clamp(64px, 8vw, 112px); }
.fil-ariane { display: flex; flex-wrap: wrap; gap: 6px 8px; font: 400 var(--t-mention)/1.4 var(--corps); color: var(--gris); margin-bottom: 10px; }
.fil-ariane a { color: var(--bleu); text-decoration: none; }
.fil-ariane a:hover { text-decoration: underline; }
.fil-ariane [aria-current] { color: var(--encre); }
.boutique-titre { font-size: var(--t-h1); line-height: var(--i-titre); margin-bottom: clamp(28px, 3vw, 44px); }
.boutique-grille { display: grid; grid-template-columns: 280px minmax(0, 1fr); column-gap: clamp(28px, 3vw, 44px); align-items: start; }
.filtres-colonne { position: sticky; top: calc(var(--entete-h) + 24px); display: flex; flex-direction: column; gap: 16px; }
.boutique-compte { font: 500 var(--t-h4)/1.3 var(--corps); color: var(--encre); margin: 0; }
.filtres-groupe, .encart { padding: 16px; background: var(--blanc); border: 1px solid var(--trait); border-radius: 12px; }
.filtres-titre { font: 500 var(--t-mention)/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bleu); margin: 0 0 12px; }
.filtres { display: flex; flex-direction: column; gap: 8px; }
.filtres button { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding: 10px 14px; border: 1px solid var(--trait); border-radius: 10px; background: var(--blanc); color: var(--encre); font: 400 var(--t-petit)/1.25 var(--corps); text-align: left; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.filtres button:hover { border-color: var(--encre); }
.filtres button[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: var(--blanc); }
.filtre-nombre { opacity: .7; }
.filtres button[hidden] { display: none; }
.encart-partenaire { display: block; text-decoration: none; text-align: center; transition: border-color .15s ease; }
.encart-partenaire:hover { border-color: var(--encre); }
.encart-partenaire img { width: auto; max-width: 100%; max-height: 96px; height: auto; margin: 4px auto 12px; }
.encart-partenaire .encart-phrase { display: block; margin: 0; }
.encart-partenaire:hover .encart-phrase { color: var(--encre); }
.filtres button:disabled { cursor: default; border-style: dashed; color: var(--gris); background: transparent; }
.filtres button:disabled:hover { border-color: var(--trait); }
.filtre-mention { font: 500 .6875rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--or-texte); white-space: nowrap; }
.encart-phrase { font-size: var(--t-petit); line-height: 1.45; color: var(--gris); margin: 0 0 12px; }
.encart-veille form { display: flex; flex-direction: column; gap: 8px; }
.encart-veille input { width: 100%; padding: 10px 12px; border: 1px solid var(--trait); border-radius: 8px; font: inherit; font-size: var(--t-petit); background: var(--blanc); }
.encart-veille .bouton { width: 100%; min-height: 44px; }
.encart-mention { margin: 10px 0 0; font-size: var(--t-mention); line-height: 1.4; color: var(--gris); }
.encart-mention a { color: inherit; }

.produits-tete { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.tri { padding: 8px 36px 8px 12px; border: 1px solid var(--trait); border-radius: 8px; background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B2545' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center / 12px; color: var(--encre); font: inherit; font-size: var(--t-petit); appearance: none; cursor: pointer; }
.cartes-produits { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.carte-produit { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; column-gap: 28px; align-items: start; padding: 24px; background: var(--blanc); border: 1px solid var(--trait); border-radius: 12px; }
.carte-produit[hidden] { display: none; }
.carte-image { position: relative; display: block; border: 1px solid var(--trait); border-radius: 10px; overflow: hidden; }
.carte-image img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.carte-badge { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 999px; background: var(--or); color: var(--encre); font: 600 .6875rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.carte-corps h2 { font-size: var(--t-h3); line-height: 1.2; margin: 2px 0 4px; }
.carte-corps h2 a { color: var(--encre); text-decoration: none; }
.carte-corps h2 a:hover { color: var(--bleu); }
.carte-titre-suite { white-space: nowrap; }
.carte-sous-titre { font: 500 var(--t-petit)/1.4 var(--corps); color: var(--bleu); margin: 0 0 12px; }
.carte-texte { color: var(--gris); margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.carte-texte strong { color: var(--encre); }
.carte-pied { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 16px; }
.carte-prix { margin: 4px 0 0; font: 600 1.25rem/1.2 var(--mono); color: var(--encre); text-align: right; white-space: nowrap; }
.carte-prix span { display: block; margin-top: 4px; font-size: var(--t-petit); font-weight: 600; color: var(--texte); }
.carte-pied .bouton { white-space: nowrap; }
.produits-vide { padding: 24px; background: var(--blanc); border: 1px dashed var(--trait); border-radius: 12px; }
.lien-bouton { border: 0; padding: 0; background: none; font: inherit; color: var(--bleu); text-decoration: underline; cursor: pointer; }

@media (max-width: 1100px) {
  .carte-produit { grid-template-columns: 150px minmax(0, 1fr); column-gap: 22px; }
  .carte-image { grid-row: span 2; }
  .carte-pied { flex-direction: row; flex-wrap: wrap; align-items: center; margin-top: 16px; }
  .carte-prix { text-align: left; }
}
@media (max-width: 860px) {
  .boutique-grille { display: flex; flex-direction: column; }
  .filtres-colonne { display: contents; }
  .boutique-compte { order: -2; margin-bottom: 12px; }
  .filtres-groupe { order: -1; width: 100%; padding: 0; border: 0; background: none; margin-bottom: 16px; }
  .filtres { flex-direction: row; flex-wrap: wrap; }
  .filtres button { flex: 0 0 auto; width: auto; max-width: 100%; border-radius: 999px; padding: 8px 13px; }
  .produits { width: 100%; }
  .encart { order: 10; margin-top: 32px; width: 100%; }
}
@media (max-width: 600px) {
  .carte-produit { grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
  .carte-image { grid-row: auto; }
  .carte-corps h2 { font-size: var(--t-h4); }
  .carte-texte, .carte-pied { grid-column: 1 / -1; }
  .carte-texte { margin-top: 12px; }
  .carte-corps { display: contents; }
  .carte-corps h2, .carte-sous-titre { grid-column: 2; }
  .carte-image { grid-row: 1 / span 2; }

}

/* Fiche du kit (kit-conformite-ia.html) : déroulé de la page de présentation de masterpro-formation.fr
   (date, reports, personnes concernées, obligations, dossier sur fond encre, mention), aux couleurs de la charte ;
   date limitée à 42 px (pas d'effet affiche), états en contour encre et or pâle (pas de rouge ni de vert). */
.page-fiche main { background: var(--blanc); }
.fiche-ouverture { padding: calc(var(--entete-h) + clamp(32px, 4vw, 56px)) 0 clamp(48px, 6vw, 72px); background: var(--panneau); }
.fiche-tete { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: 28px; }
.fiche-date { font-size: clamp(2.25rem, 1.5vw + 1.75rem, 2.625rem); line-height: 1.05; font-weight: 600; margin-bottom: 8px; }
.fiche-date-legende { font-size: var(--t-petit); color: var(--gris); margin-bottom: 28px; max-width: 52ch; }
.fiche-accroche { font: 500 var(--t-h3)/1.25 var(--titres); color: var(--encre); max-width: 30ch; margin-bottom: 14px; text-wrap: balance; }
.fiche-chapo { font-size: var(--t-chapo); color: var(--gris); max-width: 56ch; }
.fiche-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fiche-visuel { margin: 0; border: 1px solid var(--trait); border-radius: 12px; overflow: hidden; background: var(--blanc); }
.fiche-visuel img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.fiche-atouts { list-style: none; margin: clamp(36px, 4vw, 56px) 0 0; padding: 22px 0 0; border-top: 1px solid var(--trait); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fiche-atouts li { display: flex; align-items: center; gap: 12px; font-size: var(--t-petit); color: var(--gris); line-height: 1.35; }
.fiche-atouts strong { display: block; color: var(--encre); }
.fiche-atouts svg { flex: 0 0 auto; width: 40px; height: 40px; padding: 9px; border: 1px solid var(--trait); border-radius: 50%; background: var(--blanc); fill: none; stroke: var(--bleu); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.fiche-bloc { padding: clamp(56px, 7vw, 96px) 0; }
.fiche-bloc-filet { border-top: 1px solid var(--trait); }
.fiche-bloc h2 { margin-bottom: 20px; }
.fiche-lecture > * { max-width: 820px; }
.fiche-lecture h2 + * { margin-top: 0; }
.fiche-lecture h2:not(:first-child) { margin-top: clamp(40px, 5vw, 64px); }
.reports { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.report { padding: 22px 24px 24px; border-radius: 12px; }
.report p { margin: 0; }
.report-oui { border: 1px solid var(--trait); background: var(--panneau); }
.report-non { border: 2px solid var(--encre); background: var(--or-pale); }
.report-titre { font: 600 var(--t-mention)/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gris); margin-bottom: 10px !important; }
.report-non .report-titre { color: var(--encre); }
.liste-coches { list-style: none; padding: 0; margin: 0 0 20px; }
.liste-coches li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--trait); }
.liste-coches li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 14px; height: 8px; border-left: 2px solid var(--bleu); border-bottom: 2px solid var(--bleu); transform: rotate(-45deg); }
.fiche-note { color: var(--gris); }
.obligations { list-style: none; counter-reset: ob; padding: 0; margin: 0; display: grid; gap: 12px; }
.obligations li { counter-increment: ob; position: relative; padding: 18px 20px 18px 64px; border: 1px solid var(--trait); border-radius: 12px; color: var(--gris); }
.obligations li::before { content: counter(ob); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--encre); color: var(--blanc); font: 600 .9375rem/1 var(--corps); }
.obligations strong { display: block; color: var(--encre); font: 500 var(--t-h4)/1.3 var(--titres); margin-bottom: 4px; }

.fiche-dossier { background: var(--encre); color: rgba(255,255,255,.82); padding: clamp(56px, 7vw, 96px) 0; }
.fiche-dossier h2 { color: var(--blanc); margin-bottom: 10px; }
.fiche-dossier-grille { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.fiche-dossier-chapo { color: rgba(255,255,255,.66); margin-bottom: 28px; }
.dossier-liste { list-style: none; margin: 0; padding: 0; }
.dossier-liste li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.dossier-liste strong { color: var(--blanc); font-weight: 600; }
.dossier-liste span { color: rgba(255,255,255,.62); font-size: var(--t-petit); }
.achat { padding: 28px; border: 1px solid rgba(255,255,255,.2); border-top: 3px solid var(--or); border-radius: 12px; background: rgba(255,255,255,.04); }
.achat-nom { font: 500 var(--t-h4)/1.3 var(--titres); color: var(--blanc); margin-bottom: 14px; }
.achat-prix { font: 600 clamp(2.25rem, 1.5vw + 1.75rem, 2.625rem)/1 var(--titres); color: var(--blanc); margin-bottom: 8px; }
.achat-detail { font-size: var(--t-petit); color: rgba(255,255,255,.66); }
.achat-bouton { width: 100%; margin-top: 8px; }
.achat-mention { margin: 14px 0 0; font-size: var(--t-mention); line-height: 1.45; color: rgba(255,255,255,.6); }
.achat-mention a { color: inherit; }
.achat-mention-clair { color: var(--gris); }

.fiche-licence { background: var(--panneau); }
.fiche-licence-grille { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; max-width: 1000px; }
.fiche-licence p { max-width: 64ch; }
.licence-achat { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 24px; }
.licence-achat .carte-prix { text-align: left; margin: 0; }
.fiche-licence h2, .fiche-licence { scroll-margin-top: calc(var(--entete-h) + 16px); }
.fiche-avertissement { padding: 40px 0 56px; border-top: 1px solid var(--trait); font-size: var(--t-petit); color: var(--gris); }
.fiche-avertissement a { color: var(--bleu); }

@media (max-width: 999px) {
  .fiche-tete, .fiche-dossier-grille { grid-template-columns: minmax(0, 1fr); }
  .fiche-visuel { max-width: 360px; }
  .fiche-atouts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .reports { grid-template-columns: minmax(0, 1fr); }
  .fiche-licence-grille { grid-template-columns: minmax(0, 1fr); }
  .fiche-visuel-petit { max-width: 200px; }
  .fiche-atouts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .obligations li { padding-left: 58px; }
}

/* Pratidoc : les familles sans contenu restent dans le code mais ne s'affichent pas (règle du 17/11 :
   rien d'inactif à l'écran) ; elles reparaîtront avec leur premier produit. */
.famille-vide { display: none; }
/* Pied : « Outils numériques et logiciels » tient sur une ligne aux largeurs courantes. */
.pied .marque-texte small { letter-spacing: .06em; }

/* Formulaires reliés à la plateforme (formulaires.js) : message d'état sous le formulaire. */
.formulaire-etat { margin: .6em 0 0; font-size: var(--t-mention, .9rem); line-height: 1.5; min-height: 1.5em; }
.formulaire-etat:empty { display: none; }
.formulaire-erreur { color: #9B1C1C; font-weight: 600; }
.bande-encre .formulaire-erreur, .fond-encre .formulaire-erreur { color: #FFD7D7; }
.confirmation { grid-column: 1 / -1; max-width: 72ch; }
.confirmation .formulaire-etat { font-size: var(--t-texte); margin: 0 0 1em; }
[hidden] { display: none !important; }
/* Tarifs sur téléphone (G-012, rendu d'ao-mini 80e8740) : cartes Gratuit puis Pro construites par mp.js à partir du
   tableau ; sous 700 px (820 px en A++), le tableau laisse la place aux cartes. Sans JavaScript, le tableau défile. */
.tarifs-cartes { display: none; gap: 18px; margin-top: 24px; }
@media (max-width: 700px) {
  html.a-cartes .comparatif-defile, html.a-cartes .glisser-tableau { display: none; }
  html.a-cartes .tarifs-cartes { display: grid; }
}
@media (max-width: 820px) {
  html.a-cartes.texte-2 .comparatif-defile, html.a-cartes.texte-2 .glisser-tableau { display: none; }
  html.a-cartes.texte-2 .tarifs-cartes { display: grid; }
}
.carte-formule { min-width: 0; background: var(--blanc); border: 1px solid #B9C0CC; color: var(--encre); }
.carte-formule h3 { margin: 0; padding: 16px 18px 0; font: 600 1.0625rem/1.3 var(--corps); }
.carte-formule .prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0; padding: 6px 18px 16px; border-bottom: 1px solid #B9C0CC; }
.carte-formule .prix > * { white-space: normal; }
.carte-formule .prix-grand { font: 600 1.75rem/1.1 var(--titres); }
.carte-formule .prix small { color: #4A5872; }
.carte-formule .offert { display: inline-block; padding: 2px 8px; border: 1px solid var(--or); color: var(--or); font-size: .75rem; font-weight: 600; }
.carte-formule dl { margin: 0; padding: 4px 18px; }
.carte-formule dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid #D5D9E0; }
.carte-formule dl > div:last-child { border-bottom: 0; }
.carte-formule dt { font-size: .875rem; color: #4A5872; }
.carte-formule dd { margin: 0; font-size: .9375rem; overflow-wrap: anywhere; }
.carte-formule .coche { width: 18px; height: 18px; color: #0369A1; vertical-align: -5px; }
.carte-formule .non { color: #B9C0CC; }
.carte-pied-formule { padding: 6px 18px 18px; }
.carte-pied-formule .bouton { display: flex; width: 100%; min-height: 48px; text-align: center; }
.carte-pied-formule .bouton-contour { background: transparent; color: var(--encre); border-color: var(--encre); }
.carte-pied-formule .bouton-contour:hover { background: var(--or-pale); }
.carte-pied-formule .essai-note { margin: 8px 0 0; font-size: var(--t-mention); color: var(--gris); text-align: center; }
.carte-formule.col-pro { background: #FFFAEB; border-color: var(--encre); }
.carte-formule.col-pro h3, .carte-formule.col-pro .prix { background: var(--encre); color: var(--blanc); }
.carte-formule.col-pro .prix { border-bottom-color: var(--encre); }
.carte-formule.col-pro .prix small { color: #C9D3E3; }
.carte-formule.col-pro .prix-grand { color: var(--or); }
