/* ==========================================================================
   ITPS Maradi — Institut Tropical Privé de Santé · feuille de style du site public
   Bleu-vert santé, corail du cœur du logo, cadres animés, apparitions au défilement.
   ========================================================================== */
:root {
    --teal: #1677B3; --teal-f: #1B2559; --teal-ff: #141A45; --teal-m: #3E9AD6; --teal-c: #E4F0F9; --teal-cc: #F3F7FC; --teal-l: #9DD0F2;
    --corail: #D35F3B; --corail-f: #B7472A; --corail-c: #FBE5DC; --corail-cc: #FFF5F0;
    --vert: #3BAE13; --vert-f: #2B8A0B;
    --or: #B7791F; --or-c: #FFF4D6;
    --encre: #1C2238; --titre: #1B2559; --gris: #44546E; --doux: #617088; --ligne: #DDE8F2; --ligne-f: #C6D9EB; --blanc: #fff;
    --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
    --sans: 'Manrope', 'Jakarta', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --r: 24px; --r-s: 16px; --ombre: 0 24px 50px -34px rgba(27, 37, 89, .5); --ombre-f: 0 34px 70px -36px rgba(27, 37, 89, .6);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --degrade: linear-gradient(135deg, #1677B3, #1B2559);
    --degrade-corail: linear-gradient(135deg, #D35F3B, #B7472A);
}
@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { margin: 0; font: 16px/1.65 var(--sans); color: var(--encre); background: #fff; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-f); }
h1, h2, h3, h4 { color: var(--titre); line-height: 1.15; margin: 0 0 .6em; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
h3, h4 { font-weight: 800; }
p { margin: 0 0 1em; }
svg { flex-shrink: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal-m); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 104px) 0; position: relative; }
.section-teinte { background: linear-gradient(180deg, var(--teal-cc), #EAF3FA); }
.section-douce { background: linear-gradient(180deg, #fff, var(--teal-cc)); }
.texte-doux { color: var(--gris); }
.centre { text-align: center; }

/* ---------- animations ---------- */
@keyframes tourne { to { --angle: 360deg; } }
@keyframes rotation { to { transform: rotate(360deg); } }
@keyframes ecg { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
@keyframes pouls { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.15); } 28% { transform: scale(1); } 42% { transform: scale(1.1); } }
@keyframes onde { 0% { transform: scale(.8); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes flotte { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(4deg); } }
@keyframes derive { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(18px, -22px) rotate(20deg); } }
@keyframes eclat { 0% { left: -60%; } 60%, 100% { left: 130%; } }
@keyframes remplit { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes vague { to { transform: translateX(-50%); } }
@keyframes apparait { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.ecg path { stroke-dasharray: 1000; animation: ecg 3.4s linear infinite; }
.pouls { animation: pouls 1.5s ease-in-out infinite; transform-origin: center; }
.onde { position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; animation: onde 2.2s ease-out infinite; pointer-events: none; }
.onde.deux { animation-delay: 1.1s; }
.flotte { animation: flotte 6s ease-in-out infinite; }
.flotte.lent { animation-duration: 7.5s; animation-delay: 1.2s; }
.derive { animation: derive 9s ease-in-out infinite; }
.derive.lent { animation-duration: 12s; animation-delay: 2s; }
.rotation { animation: rotation 40s linear infinite; }
.revele { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.revele.vu { opacity: 1; transform: none; }
.barre { transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease) .2s; }
.vu .barre, .barre.vu { transform: scaleX(1); }

/* cadre au contour dégradé qui tourne */
.cadre-anime { position: relative; isolation: isolate; padding: 3px; border-radius: calc(var(--r) + 3px); background: conic-gradient(from var(--angle), #1B2559, #1677B3, #3E9AD6, #22B8C9, #F2B33D, #D35F3B, #B7472A, #E8875F, #1B2559); animation: tourne 5s linear infinite; }
.cadre-anime::before { content: ''; position: absolute; inset: -4px; z-index: -1; border-radius: inherit; background: inherit; filter: blur(16px); opacity: .45; animation: halo 3.2s ease-in-out infinite; pointer-events: none; }
.cadre-anime::after { content: ''; position: absolute; inset: 3px; z-index: 2; border-radius: var(--r); background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%) no-repeat; background-size: 250% 100%; animation: balaye 5.5s ease-in-out infinite; pointer-events: none; mix-blend-mode: soft-light; }
.cadre-anime > * { position: relative; z-index: 1; border-radius: var(--r); }
.cadre-anime:hover { animation-duration: 2s; }
.cadre-anime:hover::before { opacity: .75; }
@keyframes halo { 0%, 100% { opacity: .3; transform: scale(.98); } 50% { opacity: .65; transform: scale(1.01); } }
@keyframes balaye { 0%, 55% { background-position: 150% 0; } 100% { background-position: -50% 0; } }

/* ---------- boutons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px; font-weight: 800; font-size: .98rem; cursor: pointer; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-corail { background: var(--degrade-corail); color: #fff; box-shadow: 0 14px 28px -14px rgba(211, 95, 59, .85); }
.btn-corail:hover { color: #fff; }
.btn-teal { background: var(--degrade); color: #fff; box-shadow: 0 14px 28px -14px rgba(22, 119, 179, .9); }
.btn-teal:hover { color: #fff; }
.btn-ligne { background: #fff; color: var(--titre); border: 1.5px solid var(--ligne-f); }
.btn-ligne:hover { color: var(--teal); border-color: var(--teal); }
.btn-blanc { background: #fff; color: var(--titre); }
.btn-petit { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn-plein { width: 100%; }
.eclat::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); animation: eclat 3.6s ease-in-out infinite; pointer-events: none; }
.lien-fleche { display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; }
.lien-fleche svg { width: 16px; height: 16px; transition: transform .25s; }
.lien-fleche:hover svg { transform: translateX(4px); }

/* ---------- titres de section ---------- */
.surtitre { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--corail); font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.surtitre::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.centre .surtitre::after { content: ''; width: 28px; height: 2px; background: currentColor; }
.titre-section { font-size: clamp(2rem, 4.2vw, 2.9rem); margin-bottom: .35em; }
.tete-section { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 40px; }
.tete-section p { margin: 0; color: var(--gris); max-width: 560px; font-size: 1.05rem; }
.tete-section.centre { flex-direction: column; align-items: center; text-align: center; }

/* ---------- bandeau du haut et annonces urgentes ---------- */
.topbar { background: var(--corail); color: #fff; font-size: .82rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; justify-content: space-between; padding: 9px 0; }
.topbar a { color: #fff; }
.topbar-infos { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.topbar-infos span, .topbar-infos a { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 15px; height: 15px; color: #fff; }
.topbar-reseaux { display: flex; gap: 10px; }
.ticker { display: flex; align-items: center; background: var(--corail-cc); border-bottom: 1px solid #F8D9CC; overflow: hidden; font-size: .9rem; }
.ticker-libelle { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; background: var(--degrade-corail); color: #fff; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .75rem; position: relative; z-index: 1; }
.ticker-libelle svg { width: 16px; height: 16px; }
.ticker-piste { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-defile { display: flex; width: max-content; gap: 56px; padding-left: 40px; animation: defile 32s linear infinite; }
.ticker:hover .ticker-defile { animation-play-state: paused; }
.ticker-defile a { display: inline-flex; align-items: center; gap: 10px; color: var(--teal-f); font-weight: 700; white-space: nowrap; padding: 9px 0; }
.ticker-defile a::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--corail); }

/* ---------- en-tête et menu ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid #E1EBF4; transition: box-shadow .3s; }
.entete::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, #1B2559, #1677B3, #D35F3B, #B7472A, #1677B3, #1B2559); background-size: 200% 100%; animation: filet 8s linear infinite; }
@keyframes filet { to { background-position: 200% 0; } }
.entete.defile { box-shadow: 0 12px 30px -24px rgba(27, 37, 89, .55); }
.entete .wrap { display: flex; align-items: center; gap: 18px; min-height: 80px; }
.marque { display: flex; align-items: center; gap: 12px; color: var(--titre); flex: none; }
.marque img { height: 56px; width: auto; }
.marque-texte { display: flex; flex-direction: column; line-height: 1.15; }
.marque-texte b { font-size: 1.15rem; letter-spacing: .01em; }
.marque-texte small { font-size: .74rem; color: var(--doux); font-weight: 600; }
.nav { margin-left: auto; display: flex; align-items: center; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav li { position: relative; }
.nav > ul > li > a, .nav > ul > li > button { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border: 0; background: none; border-radius: 10px; color: var(--encre); font-weight: 700; font-size: .94rem; cursor: pointer; transition: color .2s, background .2s; }
.nav > ul > li > a:hover, .nav > ul > li > button:hover, .nav li.actif > a, .nav li.actif > button { color: var(--teal); background: var(--teal-cc); }
.nav .chevron { width: 14px; height: 14px; transition: transform .25s; }
.nav li.ouvert .chevron, .nav li:hover .chevron { transform: rotate(180deg); }
.sous-menu { position: absolute; top: calc(100% + 8px); left: 50%; min-width: 270px; transform: translate(-50%, 8px); padding: 8px; list-style: none; margin: 0; background: #fff; border: 1px solid var(--ligne); border-radius: 18px; box-shadow: var(--ombre-f); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.sous-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav li:hover > .sous-menu, .nav li.ouvert > .sous-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sous-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; color: var(--encre); font-weight: 600; font-size: .92rem; }
.sous-menu a:hover, .sous-menu a.actif { background: var(--teal-cc); color: var(--teal); }
.sous-menu .ico { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--teal-c); color: var(--teal); transition: background .2s, color .2s; }
.sous-menu a:hover .ico { background: var(--teal); color: #fff; }
.sous-menu .ico svg { width: 17px; height: 17px; }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { min-height: 46px; padding: 0 20px; }
.burger, .nav-fermer { display: none; }
.voile-nav { position: fixed; inset: 0; z-index: 60; background: rgba(20, 26, 69, .5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.voile-nav.visible { opacity: 1; visibility: visible; }

/* ---------- héros (accueil) ---------- */
.heros { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 85% 10%, #D7E9F6 0%, transparent 60%), radial-gradient(700px 420px at 0% 100%, #FBE5DC 0%, transparent 60%), linear-gradient(180deg, var(--teal-cc) 0%, #fff 100%); }
.heros-pictos svg { position: absolute; pointer-events: none; }
.heros .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 72px 0 110px; }
.heros-texte { display: flex; flex-direction: column; gap: 22px; }
.pastille { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid #CFE1F0; color: var(--teal); font-weight: 800; font-size: .82rem; box-shadow: 0 10px 24px -18px rgba(27, 37, 89, .5); }
.pastille-coeur { position: relative; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--corail-c); color: var(--corail); }
.pastille-coeur svg { width: 14px; height: 14px; fill: currentColor; }
.heros h1 { font-size: clamp(2.6rem, 5.6vw, 4.1rem); line-height: 1.03; margin: 0; }
.heros h1 em { font-style: normal; background: var(--degrade-corail); -webkit-background-clip: text; background-clip: text; color: transparent; }
.heros-texte > p { font-size: 1.12rem; color: var(--gris); max-width: 560px; margin: 0; }
.heros-boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.heros-ecg { width: 100%; max-width: 520px; height: 60px; }
.heros-visuel { position: relative; min-height: 500px; display: grid; place-items: center; }
.heros-cercle { position: absolute; width: 112%; max-width: 560px; height: auto; opacity: .55; }
.heros-photo { width: 100%; max-width: 460px; border-radius: 244px 244px 39px 39px; box-shadow: 0 50px 90px -40px rgba(27, 37, 89, .6); }
.heros-photo img { width: 100%; height: 470px; object-fit: cover; border-radius: 240px 240px 36px 36px; }
.encart { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 20px; background: rgba(255, 255, 255, .97); box-shadow: 0 24px 44px -20px rgba(27, 37, 89, .45); }
.encart-ico { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--degrade-corail); color: #fff; }
.encart-ico svg { width: 24px; height: 24px; }
.encart b { display: block; font-size: 1.5rem; color: var(--titre); line-height: 1; }
.encart small { color: var(--doux); }
.encart-1 { left: -6px; bottom: 40px; }
.encart-2 { right: -4px; top: 46px; padding: 12px 16px; background: var(--degrade); color: #fff; font-weight: 800; font-size: .9rem; gap: 10px; }
.encart-2 svg { width: 22px; height: 22px; color: var(--teal-l); }
.encart-3 { right: 10px; bottom: 120px; width: 64px; height: 64px; padding: 0; justify-content: center; border-radius: 50%; color: var(--teal); }
.encart-3 svg { width: 30px; height: 30px; }
.vague-bas { position: absolute; left: 0; bottom: -1px; width: 100%; height: 60px; }

/* ---------- résultats ---------- */
.bloc-resultats { position: relative; z-index: 2; margin-top: clamp(40px, 6vw, 64px); }
.resultats-carte { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px 28px; align-items: stretch; padding: 28px 30px; background: #fff; }
.resultats-carte > div:first-child { display: flex; flex-direction: column; justify-content: center; }
.resultats-carte small { font-weight: 800; color: var(--teal); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }
.resultats-carte .titre-res { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--titre); line-height: 1.15; }
.jauge { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.jauge-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; min-height: 3em; line-height: 1.5; font-weight: 700; font-size: .95rem; }
.jauge-tete b { color: var(--teal); white-space: nowrap; }
.jauge.faible .jauge-tete b { color: var(--corail-f); }
.jauge-piste { height: 10px; border-radius: 99px; background: var(--teal-c); overflow: hidden; }
.jauge-piste span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--teal), var(--teal-m)); }
.jauge.faible .jauge-piste { background: var(--corail-c); }
.jauge.faible .jauge-piste span { background: linear-gradient(90deg, var(--corail), #E8875F); }

/* ---------- présentation ---------- */
.grille-2 > *, .mise-page > *, .grille-actus > *, .heros .wrap > *, .vedette > * { min-width: 0; }
.grille-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 6vw, 64px); align-items: center; }
.photo-cadre { position: relative; }
.photo-cadre::before { content: ''; position: absolute; inset: 24px -18px -18px 24px; border-radius: 30px; background: repeating-linear-gradient(45deg, #DEEAF4 0 2px, transparent 2px 12px); }
.photo-cadre img { position: relative; width: 100%; height: 420px; object-fit: cover; border-radius: 30px; border: 6px solid #fff; box-shadow: var(--ombre-f); }
.photo-pastille { position: absolute; right: 24px; bottom: -26px; display: flex; flex-direction: column; padding: 16px 24px; border-radius: 22px; background: var(--degrade-corail); color: #fff; box-shadow: 0 20px 40px -18px rgba(183, 71, 42, .8); }
.photo-pastille b { font-family: var(--serif); font-weight: 400; font-size: 2.3rem; line-height: 1; }
.atouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.atout { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--teal-cc); border: 1px solid var(--ligne); font-weight: 700; font-size: .92rem; }
.atout:nth-child(n+3) { background: var(--corail-cc); border-color: #F8D9CC; }
.atout .ico-carte { width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--teal); }
.atout:nth-child(n+3) .ico-carte { color: var(--corail-f); }

/* ---------- cartes ---------- */
.carte { position: relative; transition: transform .45s var(--ease), box-shadow .45s; }
.carte:hover { transform: translateY(-8px); box-shadow: var(--ombre-f); }
.ico-carte { display: grid; place-items: center; flex: none; transition: transform .4s var(--ease); }
.ico-carte svg { width: 55%; height: 55%; }
.carte:hover .ico-carte { transform: rotate(-8deg) scale(1.08); }
.grille-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 22px; }
.carte-niveau { overflow: hidden; display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--ligne); }
.carte-niveau::before { content: ''; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, #DFECF7, transparent 70%); pointer-events: none; }
.carte-niveau .ico-carte { width: 60px; height: 60px; border-radius: 18px; background: linear-gradient(135deg, #DFECF7, #C1DAEE); color: var(--teal); }
.carte-niveau small { font-weight: 800; color: var(--teal); letter-spacing: .1em; text-transform: uppercase; font-size: .74rem; }
.carte-niveau h3 { font-size: 1.22rem; line-height: 1.3; margin: 0; min-height: calc(1.3em * 3); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.carte-niveau ul { flex: 1; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--gris); font-size: .95rem; }
.carte-niveau li { display: flex; gap: 8px; align-items: flex-start; }
.carte-niveau li svg { width: 16px; height: 16px; margin-top: 4px; color: var(--teal-m); }
.carte-niveau .lien-fleche { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--ligne-f); }
.carte-niveau.sombre .lien-fleche { border-top-color: rgba(255, 255, 255, .2); }
.grille-cartes > .cadre-anime { display: flex; }
.grille-cartes > .cadre-anime > .carte-niveau { flex: 1; height: auto; }
.carte-niveau.rouge { border-color: #F8D9CC; }
.carte-niveau.rouge::before { background: radial-gradient(circle, #FCE3D8, transparent 70%); }
.carte-niveau.rouge .ico-carte { background: linear-gradient(135deg, #FCE3D8, #F6C3AE); color: var(--corail-f); }
.carte-niveau.rouge small, .carte-niveau.rouge .lien-fleche { color: var(--corail-f); }
.carte-niveau.sombre { background: linear-gradient(160deg, #1B2559, #20398A); border: 0; color: #fff; }
.carte-niveau.sombre::before { display: none; }
.carte-niveau.sombre h3 { color: #fff; }
.carte-niveau.sombre .ico-carte { background: rgba(255, 255, 255, .12); color: var(--teal-l); }
.carte-niveau.sombre small, .carte-niveau.sombre .lien-fleche, .carte-niveau.sombre li svg { color: var(--teal-l); }
.carte-niveau.sombre ul { color: #D9E8F5; }

/* pourquoi */
.liste-pourquoi { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.item-pourquoi { display: flex; gap: 14px; padding: 14px; border-radius: 18px; }
.item-pourquoi:hover { background: var(--teal-cc); }
.item-pourquoi .ico-carte { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #DFECF7, #C1DAEE); color: var(--teal); }
.item-pourquoi:last-child .ico-carte { background: linear-gradient(135deg, #FCE3D8, #F6C3AE); color: var(--corail-f); }
.item-pourquoi b { display: block; color: var(--titre); }
.item-pourquoi span { color: var(--gris); font-size: .95rem; }
.mosaique { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mosaique .grande { grid-column: span 2; }
.mosaique .grande img { width: 100%; height: 280px; object-fit: cover; }
.mosaique > img { width: 100%; height: 190px; object-fit: cover; border-radius: var(--r); }
.tuile-chiffre { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 24px; border-radius: var(--r); background: var(--degrade-corail); color: #fff; }
.tuile-chiffre b { font-family: var(--serif); font-weight: 400; font-size: 2.8rem; line-height: 1; }
.tuile-chiffre .ecg { position: absolute; left: 0; bottom: 8px; width: 100%; height: 40px; opacity: .35; }

/* chiffres clés */
.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.chiffre { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--r); background: linear-gradient(135deg, #E0734D, #C4532F); border: 0; box-shadow: 0 22px 40px -26px rgba(196, 83, 47, .8); }
.chiffre .ico-carte { width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, .2); color: #fff; }
.chiffre b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.1rem; line-height: 1; color: #fff; }
.chiffre span { color: #FFF1EA; font-size: .92rem; }

/* ---------- frais ---------- */
.moyen-paiement { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--ligne); box-shadow: 0 16px 30px -26px rgba(27, 37, 89, .5); }
.moyen-paiement + .moyen-paiement { margin-top: 12px; }
.moyen-logo { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 50%; background: #FFE34D; font-weight: 900; color: #1B2440; overflow: hidden; }
.moyen-paiement:nth-child(2) .moyen-logo { background: #FDE7E1; color: #C2410C; }
.moyen-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.moyen-paiement b { display: block; font-size: 1.05rem; color: var(--titre); }
.moyen-paiement span { color: var(--gris); }
.moyen-paiement > svg { width: 22px; height: 22px; margin-left: auto; color: var(--teal); }
.avantages { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.avantages li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--corail-cc); border: 1px solid #F8D9CC; font-size: .93rem; }
.avantages svg { width: 20px; height: 20px; color: var(--corail-f); margin-top: 2px; }
.tableau-boite { border-radius: 22px; overflow: hidden; overflow-x: auto; background: #fff; }
.tableau { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 460px; }
.tableau thead tr { background: linear-gradient(90deg, var(--teal-f), var(--teal)); color: #fff; text-align: left; }
.tableau th { padding: 15px 18px; font-weight: 800; }
.tableau td { padding: 13px 18px; border-top: 1px solid #E1EBF4; vertical-align: top; }
.tableau tbody tr { transition: background .2s; }
.tableau tbody tr:nth-child(even) { background: #F7FCFD; }
.tableau tbody tr:hover { background: var(--teal-c); }
.tableau td:nth-child(2):not(.r) { white-space: nowrap; }
.tableau .r { text-align: right; font-weight: 800; white-space: nowrap; }
.tableau tr.ligne-master { background: var(--corail-cc) !important; }
.tableau tr.ligne-master .r { color: var(--corail-f); }
.tableau td small { display: block; color: var(--doux); font-size: .82rem; }

/* ---------- bandeau CSPT ---------- */
.bandeau-cspt { position: relative; overflow: hidden; background: var(--degrade); color: #fff; }
.bandeau-cspt .vague-motif { position: absolute; left: 0; bottom: 0; width: 200%; height: 70px; opacity: .18; animation: vague 18s linear infinite; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 70'%3E%3Cpath d='M0 35c90 30 270 30 360 0s270-30 360 0v35H0z' fill='%23ffffff'/%3E%3C/svg%3E") repeat-x; background-size: 720px 70px; }
.bandeau-cspt .wrap { position: relative; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; padding: 72px 0; }
.logo-onde { position: relative; display: grid; place-items: center; width: 150px; height: 150px; flex: none; color: rgba(255, 255, 255, .6); }
.logo-onde img { position: relative; width: 136px; height: 136px; object-fit: contain; background: #fff; border-radius: 50%; padding: 10px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.bandeau-cspt .texte { flex: 1 1 380px; }
.bandeau-cspt small { color: #FFD27A; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
.bandeau-cspt h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: .2em 0 .3em; }
.bandeau-cspt p { color: #D9E8F5; margin: 0; font-size: 1.05rem; }
.croix-deco { position: absolute; right: 6%; top: -20px; width: 120px; height: 120px; opacity: .07; fill: #fff; }

/* ---------- actualités et annonces ---------- */
.grille-actus { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: stretch; }
.carte-actu { overflow: hidden; display: flex; flex-direction: column; border-radius: var(--r); background: #fff; border: 1px solid var(--ligne); }
.carte-actu .image { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--teal-c); }
.carte-actu .image img, .carte-actu .image .visuel { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.carte-actu:hover .image img { transform: scale(1.06); }
.etiquette { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--c, var(--teal)); color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .04em; }
.carte-actu .etiquette { position: absolute; left: 14px; top: 14px; }
.carte-actu .corps { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--doux); font-size: .84rem; }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.meta svg { width: 15px; height: 15px; }
.carte-actu h3 { font-size: 1.12rem; margin: 0; line-height: 1.35; }
.carte-actu h3 a { color: var(--titre); }
.carte-actu h3 a:hover { color: var(--teal); }
.carte-actu p { color: var(--gris); font-size: .93rem; margin: 0; }
.carte-actu .lien-fleche { margin-top: auto; }
.grille-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.actus-accueil { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.actus-accueil { align-content: start; }
.actus-accueil .carte-actu { height: 100%; }
.actus-accueil .carte-actu .image { aspect-ratio: 16 / 11; flex: none; }
.actus-accueil .carte-actu p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.actus-accueil .carte-actu:last-child:nth-child(odd) { grid-column: span 2; }
.actus-accueil .carte-actu:last-child:nth-child(odd) .image { aspect-ratio: 21 / 8; }
.carte-annonce { position: relative; display: flex; gap: 14px; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--ligne); color: inherit; }
.carte-annonce:hover { color: inherit; border-color: var(--c); }
.carte-annonce + .carte-annonce { margin-top: 12px; }
.annonce-date { display: grid; place-items: center; align-content: center; width: 62px; height: 66px; flex: none; border-radius: 16px; background: var(--c, var(--teal)); color: #fff; line-height: 1; }
.annonce-date b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.annonce-date small { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }
.carte-annonce .corps { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.carte-annonce .type { color: var(--c); font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.carte-annonce h3 { font-size: 1rem; margin: 0; line-height: 1.35; color: var(--titre); }
.carte-annonce p { margin: 0; color: var(--gris); font-size: .88rem; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .02em; text-transform: none; }
.badge svg { width: 12px; height: 12px; }
.badge-urgent { background: var(--corail); color: #fff; animation: pouls 2s ease-in-out infinite; }
.badge-epingle { background: var(--teal-c); color: var(--teal-f); }
.badge-delai { background: var(--or-c); color: #7A5511; }
.badge-fichier { background: #EEF2F6; color: #334155; }
.boite-annonces { display: flex; flex-direction: column; padding: 24px; border-radius: var(--r); background: linear-gradient(180deg, var(--teal-cc), #fff); border: 1px solid var(--ligne); }
#frais .grille-2 > .revele:first-child { position: sticky; top: 110px; }
.boite-annonces h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.boite-annonces h3 svg { width: 22px; height: 22px; color: var(--corail); }

/* listes d'actualités : filtres, à la une, barre latérale */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; }
.filtres a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--ligne-f); color: var(--encre); font-weight: 700; font-size: .9rem; transition: all .2s; }
.filtres a:hover { border-color: var(--teal); color: var(--teal); }
.filtres a.actif { background: var(--teal); border-color: var(--teal); color: #fff; }
.filtres a small { opacity: .7; }
.filtres a i { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--teal)); }
.vedette { display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; border-radius: 28px; background: #fff; margin-bottom: 36px; }
.vedette .image { position: relative; min-height: 360px; overflow: hidden; }
.vedette .image img, .vedette .image .visuel { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.vedette:hover .image img { transform: scale(1.05); }
.vedette .corps { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(24px, 4vw, 44px); }
.vedette h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }
.vedette h2 a { color: var(--titre); }
.mise-page { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; align-items: start; }
.barre-laterale { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 20px; }
.boite { padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--ligne); }
.boite h3 { font-size: 1.05rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.boite h3 svg { width: 20px; height: 20px; color: var(--teal); }
.boite-teal { background: var(--degrade); border: 0; color: #fff; }
.boite-teal h3, .boite-teal b { color: #fff; }
.boite-teal p { color: #D9E8F5; }
.boite-teal a:not(.btn) { color: #fff; text-decoration: underline; }
.recherche { display: flex; gap: 8px; }
.recherche input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border: 1.5px solid var(--ligne-f); border-radius: 12px; background: var(--teal-cc); }
.recherche button { display: grid; place-items: center; width: 46px; border: 0; border-radius: 12px; background: var(--teal); color: #fff; cursor: pointer; }
.recherche button svg { width: 18px; height: 18px; }
.liste-liens { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.liste-liens a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--encre); font-weight: 600; font-size: .92rem; }
.liste-liens a:hover, .liste-liens a.actif { background: var(--teal-cc); color: var(--teal); }
.liste-liens small { color: var(--doux); background: var(--teal-c); border-radius: 99px; padding: 1px 8px; font-weight: 700; }
.mini-actu { display: flex; gap: 12px; align-items: center; padding: 8px 0; color: var(--encre); }
.mini-actu + .mini-actu { border-top: 1px dashed var(--ligne); }
.mini-actu img, .mini-actu .visuel { width: 64px; height: 56px; flex: none; border-radius: 12px; object-fit: cover; }
.mini-actu b { display: block; font-size: .9rem; line-height: 1.35; }
.mini-actu small { color: var(--doux); }
.nuage { display: flex; flex-wrap: wrap; gap: 6px; }
.nuage a { padding: 5px 11px; border-radius: 999px; background: var(--teal-cc); border: 1px solid var(--ligne); font-size: .84rem; font-weight: 600; color: var(--teal-f); }
.nuage a:hover { background: var(--teal); color: #fff; }
.abonnement { display: flex; flex-direction: column; gap: 10px; }
.abonnement input { min-height: 46px; padding: 0 14px; border: 0; border-radius: 12px; }
.abonnement .btn { min-height: 46px; }
.vide { padding: 48px 24px; text-align: center; border-radius: var(--r); background: var(--teal-cc); border: 1px dashed var(--ligne-f); color: var(--gris); }
.vide svg { width: 44px; height: 44px; color: var(--teal-m); margin: 0 auto 10px; }

/* article */
.article-tete { max-width: 860px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.article-tete h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 0; }
.article-image { margin: 36px 0; border-radius: 28px; overflow: hidden; box-shadow: var(--ombre-f); }
.article-image img { width: 100%; max-height: 560px; object-fit: cover; }
.contenu { font-size: 1.06rem; line-height: 1.8; color: #24434B; }
.contenu h2 { font-size: 1.8rem; margin: 1.4em 0 .5em; }
.contenu h3 { font-size: 1.25rem; margin: 1.2em 0 .5em; }
.contenu ul { padding-left: 0; list-style: none; margin: 0 0 1.2em; display: flex; flex-direction: column; gap: 8px; }
.contenu li { position: relative; padding-left: 28px; }
.contenu li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 3px; background: var(--teal-m); transform: rotate(45deg); }
.contenu .liste-titre { font-weight: 700; margin-bottom: .4em; }
.contenu > p:first-child::first-letter { float: left; font-family: var(--serif); font-size: 3.6em; line-height: .85; padding: 6px 10px 0 0; color: var(--teal); }
.contenu.sans-lettrine > p:first-child::first-letter { all: unset; }
.lecteur-video { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; margin: 28px 0; }
.lecteur-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.document-joint { display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin: 24px 0; border-radius: 20px; background: var(--teal-cc); border: 1px solid var(--ligne); }
.document-joint .ico-carte { width: 52px; height: 52px; border-radius: 14px; background: var(--corail); color: #fff; }
.document-joint .texte { flex: 1; min-width: 0; }
.document-joint b { display: block; color: var(--titre); }
.document-joint small { color: var(--doux); }
.galerie-article, .galerie-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 24px 0; }
.galerie-article a, .galerie-grille a { position: relative; display: block; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; }
.galerie-article img, .galerie-grille img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.galerie-article a:hover img, .galerie-grille a:hover img { transform: scale(1.08); }
.galerie-grille a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(20, 26, 69, .5)); opacity: 0; transition: opacity .3s; }
.galerie-grille a:hover::after { opacity: 1; }
.partage { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px 0; margin-top: 28px; border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.partage b { margin-right: 6px; font-size: .9rem; }
.partage a, .partage button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--teal-c); color: var(--teal-f); cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.partage a:hover, .partage button:hover { transform: translateY(-3px); background: var(--teal); color: #fff; }
.partage svg { width: 19px; height: 19px; }
.partage .copie-ok { width: auto; padding: 0 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.article-nav a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 18px; background: var(--teal-cc); border: 1px solid var(--ligne); color: var(--titre); font-weight: 700; }
.article-nav a:hover { border-color: var(--teal); }
.article-nav small { color: var(--teal); font-weight: 800; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.article-nav .suivant { text-align: right; grid-column: 2; }
.annonce-alerte { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 18px; margin-bottom: 24px; background: var(--or-c); border: 1px solid #F2DDA6; color: #6B4A0F; font-weight: 600; }
.annonce-alerte svg { width: 24px; height: 24px; flex: none; }
.annonce-alerte.expiree { background: #F1F5F9; border-color: #E2E8F0; color: #475569; }

/* ---------- en-tête des pages intérieures ---------- */
.page-tete { position: relative; overflow: hidden; padding: 64px 0 96px; background: radial-gradient(700px 360px at 92% -10%, rgba(211, 95, 59, .28), transparent 60%), radial-gradient(600px 320px at -5% 120%, rgba(62, 154, 214, .4), transparent 60%), var(--degrade); color: #fff; }
.page-tete-photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .16; mix-blend-mode: luminosity; }
.page-tete .wrap { position: relative; z-index: 1; }
.page-tete h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 10px 0 12px; max-width: 900px; }
.page-tete > .wrap > p { color: #D9E8F5; font-size: 1.12rem; max-width: 720px; margin: 0; }
.page-tete .ruban { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.fil { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; color: #BEE6EE; margin-bottom: 14px; }
.fil a { color: #fff; }
.page-tete-pictos svg { position: absolute; pointer-events: none; fill: none; stroke: #fff; opacity: .12; }
.page-tete .ecg { position: absolute; left: 0; bottom: 56px; width: 100%; height: 60px; opacity: .18; }
.page-tete .vague-bas path { fill: #fff; }

/* ---------- niveau / filières ---------- */
.filiere { padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--ligne); }
.filiere + .filiere { margin-top: 16px; }
.filiere-tete { display: flex; gap: 16px; align-items: center; }
.filiere-tete .ico-carte { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, #DFECF7, #C1DAEE); color: var(--teal); }
.filiere-tete h3 { margin: 0; font-size: 1.2rem; }
.filiere-tete small { color: var(--doux); font-weight: 600; }
.code { display: inline-block; padding: 2px 9px; border-radius: 8px; background: var(--corail-c); color: var(--corail-f); font-weight: 800; font-size: .78rem; margin-left: 6px; vertical-align: middle; }
.onglets { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 14px; }
.onglets button { position: relative; padding: 10px 18px; border: 0; border-radius: 12px; background: var(--teal-cc); color: var(--encre); font-weight: 800; font-size: .9rem; cursor: pointer; transition: background .2s, color .2s; }
.onglets button[aria-selected="true"] { background: var(--corail); color: #fff; }
.onglets button[aria-selected="true"]::after { content: ''; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--corail); }
.onglet-panneau[hidden] { display: none; }
.lignes-frais { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lignes-frais li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 12px; background: var(--teal-cc); }
.lignes-frais b { color: var(--titre); white-space: nowrap; }
.menu-niveaux { display: flex; flex-direction: column; gap: 10px; }
.menu-niveaux a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 20px; border-radius: 16px; background: var(--teal-cc); border: 1px solid var(--ligne); color: var(--titre); font-weight: 800; text-transform: uppercase; font-size: .9rem; letter-spacing: .03em; transition: all .25s; }
.menu-niveaux a:hover { border-color: var(--teal); transform: translateX(4px); }
.menu-niveaux a.actif { background: var(--degrade-corail); border-color: transparent; color: #fff; box-shadow: 0 16px 30px -18px rgba(183, 71, 42, .8); }
.menu-niveaux svg { width: 18px; height: 18px; }
.contact-lignes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-lignes li { display: flex; gap: 12px; align-items: flex-start; }
.contact-lignes svg { width: 20px; height: 20px; color: var(--corail); margin-top: 3px; }

/* ---------- formulaires ---------- */
.formulaire { padding: clamp(22px, 4vw, 40px); border-radius: 28px; background: #fff; border: 1px solid var(--ligne); box-shadow: var(--ombre); }
.champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ.large { grid-column: 1 / -1; }
.champ label, .legende { font-weight: 700; font-size: .92rem; color: var(--titre); }
.champ label .req, .legende .req { color: var(--corail); }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--ligne-f); border-radius: 14px; background: var(--teal-cc); transition: border-color .2s, box-shadow .2s, background .2s; }
.champ textarea { min-height: 120px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(22, 119, 179, .12); }
.champ .aide { color: var(--doux); font-size: .82rem; }
.erreur { color: var(--corail-f); font-size: .85rem; font-weight: 600; }
.champ.a-erreur input, .champ.a-erreur select { border-color: var(--corail); background: var(--corail-cc); }
.alerte { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; margin-bottom: 20px; font-weight: 600; }
.alerte svg { width: 22px; height: 22px; flex: none; }
.alerte-ok { background: #E8F7EF; border: 1px solid #BDE5CF; color: #12613C; }
.alerte-erreur { background: var(--corail-cc); border: 1px solid #F8D9CC; color: #9F2333; }
.alerte-info { background: var(--teal-cc); border: 1px solid var(--ligne); color: var(--teal-f); }
.piege { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.choix-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.choix-carte { position: relative; cursor: pointer; }
.choix-carte input { position: absolute; opacity: 0; pointer-events: none; }
.choix-carte-corps { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 44px 16px 16px; border: 2px solid var(--ligne-f); border-radius: 18px; background: #fff; transition: border-color .25s, background .25s, box-shadow .25s, transform .25s; }
.choix-carte:hover .choix-carte-corps { transform: translateY(-2px); }
.choix-carte img { width: 54px; height: 54px; object-fit: contain; }
.choix-carte .ico-carte { width: 46px; height: 46px; border-radius: 14px; background: var(--teal-c); color: var(--teal); }
.choix-carte b { display: block; color: var(--titre); line-height: 1.3; }
.choix-carte small { color: var(--doux); }
.choix-coche { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--ligne-f); color: transparent; transition: all .25s; }
.choix-coche svg { width: 14px; height: 14px; }
.choix-carte input:checked + .choix-carte-corps { border-color: var(--teal); background: var(--teal-cc); box-shadow: 0 14px 30px -22px rgba(22, 119, 179, .7); }
.choix-carte input:checked ~ .choix-coche { background: var(--teal); border-color: var(--teal); color: #fff; }
.choix-carte input:focus-visible + .choix-carte-corps { outline: 3px solid var(--teal-m); outline-offset: 2px; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--ligne-f); border-radius: 12px; cursor: pointer; font-weight: 600; background: #fff; }
.radios input { accent-color: var(--teal); width: 18px; height: 18px; }
.radios label:has(input:checked) { border-color: var(--teal); background: var(--teal-cc); color: var(--teal-f); }
.case { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.case input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex: none; }

/* assistant de pré-inscription en étapes */
.etapes-indic { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; counter-reset: e; }
.etapes-indic li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 700; font-size: .82rem; color: var(--doux); }
.etapes-indic li::before { counter-increment: e; content: counter(e); position: relative; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 2px solid var(--ligne-f); font-size: 1rem; color: var(--doux); transition: all .35s; }
.etapes-indic li::after { content: ''; position: absolute; top: 21px; left: calc(50% + 24px); right: calc(-50% + 24px); height: 2px; background: var(--ligne-f); }
.etapes-indic li:last-child::after { display: none; }
.etapes-indic li.fait::before { content: '✓'; background: var(--teal); border-color: var(--teal); color: #fff; }
.etapes-indic li.fait::after { background: var(--teal); }
.etapes-indic li.courant { color: var(--titre); }
.etapes-indic li.courant::before { background: var(--degrade-corail); border-color: var(--corail); color: #fff; box-shadow: 0 0 0 6px var(--corail-c); }
.etape-form { animation: apparait .5s var(--ease) both; }
.etape-form[hidden] { display: none; }
.etape-form h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; margin-bottom: 18px; }
.etape-form h3 svg { width: 24px; height: 24px; color: var(--corail); }
.etape-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--ligne); }
.etape-nav .btn:only-child { margin-left: auto; }
.depots { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.depot { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 170px; padding: 20px 14px; border: 2px dashed var(--ligne-f); border-radius: 20px; background: var(--teal-cc); text-align: center; cursor: pointer; transition: border-color .25s, background .25s; }
.depot:hover, .depot.survol { border-color: var(--teal); background: #E8F6F9; }
.depot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.depot .ico-carte { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--teal); box-shadow: 0 10px 20px -14px rgba(27, 37, 89, .5); }
.depot b { color: var(--titre); font-size: .95rem; }
.depot small { color: var(--doux); font-size: .78rem; }
.depot.rempli { border-style: solid; border-color: #10B981; background: #ECFDF5; }
.depot.rempli .ico-carte { background: #10B981; color: #fff; }
.depot .nom-fichier { font-size: .8rem; font-weight: 700; color: #047857; word-break: break-all; }
.recap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; padding: 18px; border-radius: 16px; background: var(--teal-cc); font-size: .92rem; margin-bottom: 18px; }
.recap dt { color: var(--doux); font-weight: 600; }
.recap dd { margin: 0 0 6px; font-weight: 700; color: var(--titre); }
.parcours { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.parcours li { position: relative; padding: 24px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--ligne); text-align: center; }
.parcours .ico-carte { position: relative; width: 62px; height: 62px; margin: 0 auto 12px; border-radius: 50%; background: var(--degrade); color: #fff; }
.parcours .ico-carte i { position: absolute; top: -4px; right: -6px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--corail); color: #fff; font-style: normal; font-weight: 800; font-size: .78rem; box-shadow: 0 0 0 3px #fff; }
.parcours b { display: block; color: var(--titre); margin-bottom: 4px; }
.parcours p { margin: 0; color: var(--gris); font-size: .9rem; }
.liste-pieces { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.liste-pieces li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--ligne); }
.liste-pieces svg { width: 22px; height: 22px; color: var(--teal); flex: none; }
.liste-pieces span { flex: 1; }
.liste-pieces small { display: block; color: var(--doux); }
.liste-pieces em { font-style: normal; font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 99px; background: var(--or-c); color: #7A5511; }

/* merci */
.merci { max-width: 720px; margin: 0 auto; text-align: center; }
.sceau { position: relative; display: grid; place-items: center; width: 110px; height: 110px; margin: 0 auto 20px; border-radius: 50%; background: var(--degrade); color: #fff; box-shadow: 0 0 0 10px var(--teal-c); }
.sceau svg { width: 50px; height: 50px; }
.reference { display: inline-block; padding: 12px 22px; margin: 10px 0 20px; border-radius: 14px; background: var(--teal-cc); border: 1.5px dashed var(--teal-m); font-family: ui-monospace, monospace; font-size: 1.3rem; font-weight: 800; color: var(--teal-f); letter-spacing: .06em; }

/* équipe, témoignages, partenaires, vidéos */
.membres { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.membre { overflow: hidden; border-radius: var(--r); background: #fff; border: 1px solid var(--ligne); text-align: center; }
.membre .photo { aspect-ratio: 1; overflow: hidden; background: var(--teal-c); }
.membre .photo img, .membre .photo .visuel { width: 100%; height: 100%; object-fit: cover; }
.membre .corps { padding: 18px; }
.membre b { display: block; color: var(--titre); font-size: 1.05rem; }
.membre small { color: var(--corail-f); font-weight: 700; }
.membre p { margin: 8px 0 0; color: var(--gris); font-size: .9rem; }
.temoignages { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.temoignage { position: relative; padding: 30px 26px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--ligne); }
.temoignage::before { content: '“'; position: absolute; top: -6px; right: 22px; font-family: var(--serif); font-size: 6rem; line-height: 1; color: var(--teal-c); }
.temoignage p { position: relative; color: var(--gris); font-style: italic; }
.temoignage .auteur { display: flex; align-items: center; gap: 12px; }
.temoignage .auteur img, .temoignage .auteur .initiale { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.temoignage .initiale { display: grid; place-items: center; background: var(--degrade); color: #fff; font-weight: 800; }
.temoignage b { display: block; color: var(--titre); }
.temoignage small { color: var(--doux); }
.partenaires { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; }
.partenaire { display: grid; place-items: center; width: 170px; height: 100px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--ligne); transition: transform .3s, box-shadow .3s; }
.partenaire:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.partenaire img { max-height: 70px; width: auto; object-fit: contain; }
.partenaire span { font-weight: 800; color: var(--titre); text-align: center; font-size: .85rem; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.carte-video { overflow: hidden; border-radius: var(--r); background: #fff; border: 1px solid var(--ligne); }
.carte-video button { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: var(--teal-f); cursor: pointer; overflow: hidden; }
.carte-video button img, .carte-video button .visuel { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.carte-video button:hover img { transform: scale(1.06); }
.carte-video .jouer { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--corail); box-shadow: 0 0 0 10px rgba(255, 255, 255, .25); transition: transform .3s; }
.carte-video button:hover .jouer { transform: scale(1.1); }
.carte-video .jouer svg { width: 28px; height: 28px; margin-left: 4px; }
.carte-video .corps { padding: 16px 18px; }
.carte-video b { color: var(--titre); }
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.album { position: relative; display: block; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; color: #fff; }
.album img, .album .visuel { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.album:hover img { transform: scale(1.07); }
.album::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20, 26, 69, .85)); }
.album .corps { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 20px; }
.album b { display: block; font-size: 1.15rem; color: #fff; }
.album small { color: #D9E8F5; }
.album .nb { position: absolute; top: 14px; right: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--teal-f); font-weight: 800; font-size: .8rem; }
.album .nb svg { width: 14px; height: 14px; }
.visuel { position: relative; display: grid; place-items: center; overflow: hidden; color: rgba(255, 255, 255, .9); }
.visuel svg { width: 34%; height: 34%; max-width: 64px; max-height: 64px; }
.pagination { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 40px 0 0; padding: 0; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; background: #fff; border: 1px solid var(--ligne-f); font-weight: 700; color: var(--encre); }
.pagination a:hover { border-color: var(--teal); color: var(--teal); }
.pagination .actif span { background: var(--teal); border-color: var(--teal); color: #fff; }
.pagination .off span { opacity: .4; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 16px; background: #fff; border: 1px solid var(--ligne); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--teal-m); box-shadow: var(--ombre); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 800; color: var(--titre); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--teal-c); color: var(--teal); font-size: 1.3rem; transition: transform .3s, background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--corail); color: #fff; }
.faq .reponse { padding: 0 20px 18px; color: var(--gris); }
.agenda-item { display: flex; gap: 14px; align-items: center; padding: 12px 0; }
.agenda-item + .agenda-item { border-top: 1px dashed var(--ligne); }
.agenda-item .annonce-date { width: 56px; height: 58px; border-radius: 14px; }
.agenda-item b { display: block; color: var(--titre); font-size: .95rem; line-height: 1.3; }
.agenda-item small { color: var(--doux); }
.carte-contact { padding: 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--ligne); }
.carte-contact h3 { display: flex; align-items: center; gap: 12px; }
.carte-contact h3 img { height: 48px; width: auto; }
.carte-map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--ligne); min-height: 320px; }
.carte-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- appel final ---------- */
.appel-boite { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; padding: clamp(32px, 5vw, 52px); background: radial-gradient(500px 260px at 100% 0%, rgba(211, 95, 59, .35), transparent 60%), linear-gradient(120deg, var(--teal), var(--teal-f)); color: #fff; }
.appel-boite .ecg { position: absolute; left: 0; bottom: 10px; width: 100%; height: 70px; opacity: .2; }
.appel-boite > div { position: relative; max-width: 640px; }
.appel-boite h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.7rem); margin-bottom: .3em; }
.appel-boite p { color: #D9E8F5; font-size: 1.05rem; margin: 0; }
.appel-boite .btn { position: relative; }

/* ---------- pied de page ---------- */
.pied { position: relative; background: linear-gradient(rgba(20, 22, 75, .92), rgba(20, 22, 75, .94)), var(--fond, none) center / cover no-repeat, #14164B; color: #DCE3F5; padding: 80px 0 0; font-size: .95rem; }
.pied::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--teal-m), var(--corail), var(--teal)); background-size: 200% 100%; animation: defile 8s linear infinite; }
.pied-grille { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.2fr; gap: 40px; }
.pied-grille p { text-align: justify; }
.pied-marque { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.pied-marque img { height: 56px; width: 56px; object-fit: contain; background: #fff; border-radius: 50%; padding: 5px; }
.pied h4 { position: relative; color: #fff; font-size: 1.15rem; font-weight: 800; padding-left: 16px; margin-bottom: 44px; }
.pied h4::before { content: ''; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; border-radius: 2px; background: var(--corail); }
.pied h4::after { content: ''; position: absolute; left: 16px; top: calc(100% + 14px); width: 84px; height: 12px; }
.pied-facebook { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.pied-facebook iframe { max-width: 100%; border-radius: 10px; background: #fff; }
.pied ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.pied a { color: #DCE3F5; }
.pied a:hover { color: #fff; }
.pied-liens a { display: inline-flex; align-items: center; gap: 8px; transition: transform .2s, color .2s; }
.pied-liens a:hover { transform: translateX(4px); }
.pied-liens a::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--corail); transform: rotate(45deg); }
.pied-contact li { display: flex; gap: 10px; align-items: flex-start; }
.pied-contact svg { width: 18px; height: 18px; color: #F08A3C; margin-top: 3px; flex: none; }
.reseaux { display: flex; gap: 10px; margin-top: 18px; }
.reseaux a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, transform .2s; }
.reseaux a:hover { background: var(--corail); color: #fff; transform: translateY(-3px); }
.reseaux svg { width: 18px; height: 18px; }
.pied-bas { margin-top: 64px; padding: 18px 0; background: var(--teal); color: #fff; font-weight: 700; font-size: .9rem; }
.pied-bas .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.pied-bas a { color: #fff; opacity: .9; }
.flottants { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.whatsapp-flottant { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); }
.whatsapp-flottant:hover { color: #fff; transform: scale(1.06); }
.whatsapp-flottant svg { width: 28px; height: 28px; }
.whatsapp-flottant .onde { color: #25D366; }
.haut-page { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--degrade); color: #fff; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; box-shadow: var(--ombre); }
.haut-page.visible { opacity: 1; visibility: visible; transform: none; }
.haut-page svg { width: 20px; height: 20px; }

/* visionneuse et lecteur vidéo */
.visionneuse, .lecteur-boite { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(10, 14, 40, .92); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.visionneuse.ouverte, .lecteur-boite.ouvert { opacity: 1; visibility: visible; }
.visionneuse img { max-width: min(1100px, 92vw); max-height: 82vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.visionneuse button, .lecteur-boite button { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.visionneuse button:hover, .lecteur-boite button:hover { background: var(--corail); }
.visionneuse button svg, .lecteur-boite button svg { width: 22px; height: 22px; }
[data-v-fermer], [data-lecteur-fermer] { top: 20px; right: 20px; }
[data-v-prec] { left: 20px; top: 50%; margin-top: -25px; }
[data-v-suiv] { right: 20px; top: 50%; margin-top: -25px; }
[data-v-compteur] { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 700; }
.lecteur-cadre { width: min(1000px, 94vw); aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.lecteur-cadre iframe, .lecteur-cadre video { width: 100%; height: 100%; border: 0; }

/* ---------- adaptation aux écrans ---------- */
@media (max-width: 1180px) {
    .nav > ul > li > a, .nav > ul > li > button { padding: 10px 9px; font-size: .9rem; }
    .marque-texte small { display: none; }
}
@media (max-width: 1060px) {
    #frais .grille-2 > .revele:first-child { position: static; }
    .burger { display: grid; place-items: center; width: 48px; height: 48px; margin-left: auto; border: 0; border-radius: 14px; background: var(--teal-cc); color: var(--titre); cursor: pointer; }
    .burger svg { width: 24px; height: 24px; }
    .nav { display: block; position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(360px, 88vw); margin: 0; padding: 76px 18px 24px; background: #fff; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; box-shadow: -20px 0 60px -20px rgba(20, 26, 69, .4); }
    .nav.ouvert { transform: none; visibility: visible; }
    .nav-fermer { display: grid; place-items: center; position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--teal-cc); cursor: pointer; }
    .nav-fermer svg { width: 22px; height: 22px; }
    .nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
    .nav > ul > li > a, .nav > ul > li > button { width: 100%; justify-content: space-between; padding: 14px; font-size: 1rem; }
    .sous-menu { position: static; transform: none; min-width: 0; padding: 0 0 0 10px; border: 0; box-shadow: none; display: none; opacity: 1; visibility: visible; }
    .nav li.ouvert > .sous-menu { display: block; transform: none; }
    .nav li:hover > .sous-menu { transform: none; }
    .nav-cta { margin: 14px 0 0; }
    .nav-cta .btn { width: 100%; }
    .entete .btn-entete { display: none; }
    .heros .wrap, .grille-2, .grille-actus, .mise-page, .vedette { grid-template-columns: 1fr; }
    .heros .wrap { padding: 48px 0 100px; }
    .heros-visuel { min-height: 420px; }
    .barre-laterale { position: static; }
    .pied-grille { grid-template-columns: 1fr 1fr; }
    .vedette .image { min-height: 260px; }
}
@media (max-width: 680px) {
    .wrap { width: calc(100% - 32px); }
    .topbar-reseaux, .topbar .devise { display: none; }
    .marque img { height: 48px; }
    .entete .wrap { min-height: 70px; }
    .heros h1 { font-size: 2.4rem; }
    .heros-photo img { height: 380px; }
    .heros-visuel { min-height: 400px; }
    .encart-1 { left: 0; bottom: 14px; padding: 10px 14px; }
    .encart-2 { right: 0; top: 14px; }
    .encart-3 { display: none; }
    .atouts, .champs, .recap { grid-template-columns: 1fr; }
    .actus-accueil { grid-template-columns: 1fr; }
    .actus-accueil .carte-actu:last-child:nth-child(odd) { grid-column: auto; }
    .actus-accueil .carte-actu:last-child:nth-child(odd) .image { aspect-ratio: 16 / 11; }
    .mosaique .grande img { height: 220px; }
    .pied-grille { grid-template-columns: 1fr; }
    .etapes-indic li { font-size: 0; }
    .etapes-indic li::before { font-size: 1rem; }
    .article-nav { grid-template-columns: 1fr; }
    .article-nav .suivant { grid-column: auto; }
    .photo-cadre img { height: 300px; }
    .resultats-carte { padding: 22px; }
    .tuile-chiffre b { font-size: 2.1rem; }
    .tableau { min-width: 0; font-size: .88rem; }
    .tableau th, .tableau td { padding: 11px 10px; }
    .tableau .r { white-space: normal; }
    .ticker-libelle span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .revele { opacity: 1; transform: none; }
    .barre { transform: none; }
}

/* losange sous les titres du pied de page */
.pied h4 { --l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0l6 6-6 6-6-6z' fill='%233E9AD6'/%3E%3C/svg%3E"); }
.pied h4::after { background: var(--l) center / 12px 12px no-repeat, linear-gradient(var(--teal-m), var(--teal-m)) left center / 32px 2px no-repeat, linear-gradient(var(--teal-m), var(--teal-m)) right center / 32px 2px no-repeat; }

/* ---------- diaporama ---------- */
.diapo { position: relative; height: clamp(440px, 72vh, 640px); overflow: hidden; background: var(--teal-ff); color: #fff; }
.diapo-item { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.diapo-item.actif { opacity: 1; visibility: visible; z-index: 1; }
.diapo-item > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.diapo-item.actif > img { animation: zoomDiapo 9s ease-out forwards; }
@keyframes zoomDiapo { from { transform: scale(1.12); } to { transform: scale(1); } }
.diapo-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 22, 75, .82) 0%, rgba(20, 22, 75, .55) 45%, rgba(20, 22, 75, .1) 80%), linear-gradient(0deg, rgba(20, 22, 75, .5), transparent 40%); }
.diapo-texte { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; }
.diapo-texte > * { max-width: 680px; opacity: 0; transform: translateY(30px); }
.diapo-item.actif .diapo-texte > * { animation: entreeDiapo .9s var(--ease) forwards; }
.diapo-item.actif .diapo-texte > *:nth-child(2) { animation-delay: .15s; }
.diapo-item.actif .diapo-texte > *:nth-child(3) { animation-delay: .3s; }
.diapo-item.actif .diapo-texte > *:nth-child(4) { animation-delay: .45s; }
@keyframes entreeDiapo { to { opacity: 1; transform: none; } }
.diapo-texte h1, .diapo-texte .h1 { font-family: var(--sans); font-weight: 800; text-transform: uppercase; color: #fff; font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.08; letter-spacing: -.01em; margin: 0; text-shadow: 0 6px 30px rgba(0, 0, 0, .35); }
.diapo-texte p { font-size: clamp(1rem, 1.6vw, 1.18rem); color: #EEF2FB; margin: 0; }
.diapo-texte .pastille { color: var(--corail); }
.diapo-texte .btn { border-radius: 6px; }
.diapo-fleches { position: absolute; right: max(24px, calc((100vw - 1200px) / 2)); bottom: 0; z-index: 3; display: flex; background: #fff; }
.diapo-fleches button { display: grid; place-items: center; width: 68px; height: 68px; border: 0; background: none; color: var(--titre); cursor: pointer; transition: background .2s, color .2s; }
.diapo-fleches button + button { border-left: 1px solid var(--ligne); }
.diapo-fleches button:hover { background: var(--corail); color: #fff; }
.diapo-fleches svg { width: 22px; height: 22px; }
.diapo-points { position: absolute; left: 50%; bottom: 26px; z-index: 3; display: flex; gap: 8px; transform: translateX(-50%); }
.diapo-points button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .3s, background .3s; }
.diapo-points button.actif { width: 30px; background: var(--corail); }
.diapo-progression { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 4px; background: rgba(255, 255, 255, .15); }
.diapo-progression span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--corail), #F2A27F); }
.diapo-progression span.anime { animation: progressionDiapo var(--duree, 6s) linear forwards; }
@keyframes progressionDiapo { to { width: 100%; } }

/* ---------- bande des deux établissements ---------- */
.bande-etab { position: relative; padding: 36px 0; background: var(--corail); overflow: hidden; }
.bande-etab::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 10% 50%, rgba(255, 255, 255, .12), transparent 40%), radial-gradient(circle at 90% 50%, rgba(255, 255, 255, .1), transparent 40%); }
.bande-etab .wrap { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 6vw, 110px); padding-inline: clamp(0px, 4vw, 70px); }
.carte-etab { position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; padding: 18px 26px 18px 16px; border-radius: 999px 60px 60px 999px; background: var(--vert); color: #fff; box-shadow: 0 20px 40px -22px rgba(0, 0, 0, .45); transition: transform .3s var(--ease), box-shadow .3s; }
.carte-etab::after { content: ''; position: absolute; right: -40px; top: -60px; width: 200px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .14); transition: transform .6s var(--ease); }
.carte-etab:hover { color: #fff; transform: translateY(-5px); box-shadow: 0 28px 50px -24px rgba(0, 0, 0, .55); }
.carte-etab:hover::after { transform: translateX(-30px) scale(1.1); }
.carte-etab-logo { display: grid; place-items: center; width: 84px; height: 84px; flex: none; border-radius: 50%; background: #fff; }
.carte-etab-logo img { width: 62px; height: 62px; object-fit: contain; }
.carte-etab b { display: block; text-transform: uppercase; font-size: 1.05rem; line-height: 1.25; margin-bottom: 6px; }
.carte-etab span span { font-size: .95rem; color: #EEFBE8; }
.carte-etab > svg { width: 22px; height: 22px; margin-left: auto; transition: transform .3s; }
.carte-etab:hover > svg { transform: translateX(5px); }

/* ---------- en chiffres ---------- */
.section-stats { padding: clamp(56px, 8vw, 96px) 0; }
.stats-grille { display: grid; grid-template-columns: .9fr 1.4fr; gap: 40px; align-items: center; }
.stats-titre .points { display: inline-flex; gap: 6px; margin-bottom: 10px; }
.stats-titre .points i { width: 11px; height: 11px; border-radius: 50%; background: var(--teal); animation: pointsStats 1.8s ease-in-out infinite; }
.stats-titre .points i:nth-child(2) { background: var(--titre); animation-delay: .2s; }
.stats-titre .points i:nth-child(3) { animation-delay: .4s; }
@keyframes pointsStats { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }
.stats-titre h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--corail); margin: 0 0 10px; }
.stats-titre p { color: var(--gris); margin: 0; max-width: 420px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.stat-boite { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; aspect-ratio: 1; border-radius: 10px; background: #ECEFF4; transition: transform .35s var(--ease), background .35s, box-shadow .35s; }
.stat-boite::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--corail)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.stat:hover .stat-boite { transform: translateY(-6px); background: #fff; box-shadow: 0 22px 40px -24px rgba(27, 37, 89, .45); }
.stat:hover .stat-boite::before { transform: scaleX(1); }
.stat-ico { color: var(--teal); }
.stat-ico svg { width: 34px; height: 34px; }
.stat b { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 900; color: var(--titre); line-height: 1; }
.stat b sup { font-size: .55em; margin-left: 2px; vertical-align: super; }
.stat-libelle { font-weight: 600; color: var(--encre); font-size: .95rem; line-height: 1.4; }

/* ---------- badge d'angle des cartes ---------- */
.badge-coin { position: absolute; right: 0; top: 0; z-index: 2; padding: 7px 14px; background: var(--corail); color: #fff; font-size: .74rem; font-weight: 800; border-radius: 0 var(--r) 0 12px; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .5); }
.badge-coin.bleu { background: var(--teal); }
.carte-niveau .badge-coin + .ico-carte, .carte-niveau .ico-carte { margin-top: 6px; }

@media (max-width: 1060px) {
    .stats-grille { grid-template-columns: 1fr; }
    .bande-etab .wrap { grid-template-columns: 1fr; padding-inline: 0; }
}
@media (max-width: 680px) {
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .diapo { height: 520px; }
    .diapo-fleches button { width: 52px; height: 52px; }
    .diapo-points { left: 24px; transform: none; }
    .carte-etab { border-radius: 60px 30px 30px 60px; padding: 14px 18px 14px 12px; }
    .carte-etab-logo { width: 64px; height: 64px; }
    .carte-etab-logo img { width: 46px; height: 46px; }
    .carte-etab b { font-size: .92rem; }
    .pied-bas .wrap { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .diapo-texte > * { opacity: 1; transform: none; }
}

/* ---------- Pourquoi l'ITPS : fond bleu nuit ---------- */
.section-pourquoi { padding: clamp(48px, 6vw, 76px) 0; overflow: hidden; background: radial-gradient(600px 380px at 95% 0%, rgba(211, 95, 59, .28), transparent 60%), radial-gradient(520px 360px at 0% 100%, rgba(62, 154, 214, .3), transparent 60%), linear-gradient(135deg, #1B2559, #20398A); color: #fff; }
.section-pourquoi::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M26 22h8v8h8v8h-8v8h-8v-8h-8v-8h8z' fill='%23fff' fill-opacity='.04'/%3E%3C/svg%3E"); pointer-events: none; }
.section-pourquoi .wrap { position: relative; }
.section-pourquoi .grille-2 { gap: clamp(28px, 4vw, 48px); align-items: stretch; }
.section-pourquoi .titre-section { color: #fff; margin-bottom: .2em; }
.section-pourquoi .surtitre { color: #F2A27F; }
.section-pourquoi .liste-pourquoi { gap: 10px; margin-top: 14px; }
.section-pourquoi .item-pourquoi { padding: 12px 14px; align-items: center; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-left: 4px solid var(--corail); transition: background .3s, transform .3s var(--ease); }
.section-pourquoi .item-pourquoi:nth-child(even) { border-left-color: var(--teal-m); }
.section-pourquoi .item-pourquoi:hover { background: rgba(255, 255, 255, .14); transform: translateX(6px); box-shadow: none; }
.section-pourquoi .item-pourquoi b { color: #fff; }
.section-pourquoi .item-pourquoi span { color: #D5DDF2; font-size: .92rem; }
.section-pourquoi .item-pourquoi .ico-carte { width: 46px; height: 46px; background: #fff; color: var(--teal); }
.section-pourquoi .item-pourquoi:last-child .ico-carte { background: #fff; color: var(--corail); }
.section-pourquoi .mosaique { align-content: center; gap: 14px; }
.section-pourquoi .mosaique .grande img { height: 300px; }
.section-pourquoi .mosaique > img { height: 180px; border: 4px solid rgba(255, 255, 255, .9); }
.section-pourquoi .tuile-chiffre { min-height: 180px; }

/* ---------- En chiffres : fond orange du logo ---------- */
.section-stats { position: relative; overflow: hidden; padding: clamp(40px, 5vw, 60px) 0; background: linear-gradient(135deg, #E0734D, #C4532F); color: #fff; }
.section-stats::before { content: ''; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .07); }
.section-stats::after { content: ''; position: absolute; left: 0; right: 0; bottom: 14px; height: 40px; opacity: .18; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40'%3E%3Cpath d='M0 20h120l10-16 14 32 12-24 8 8h236' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") repeat-x left center / 400px 40px; animation: defileEcg 12s linear infinite; }
@keyframes defileEcg { to { background-position: 400px center; } }
.section-stats .wrap { position: relative; z-index: 1; }
.section-stats .stats-grille { gap: 32px; }
.section-stats .stats-titre h2 { color: #fff; }
.section-stats .stats-titre p { color: #FFE9DF; }
.section-stats .stats-titre .points i { background: #fff; }
.section-stats .stats-titre .points i:nth-child(2) { background: var(--titre); }
.section-stats .stat-boite { aspect-ratio: auto; padding: 22px 10px; background: #fff; border-radius: 14px; box-shadow: 0 18px 34px -22px rgba(80, 20, 0, .6); }
.section-stats .stat:hover .stat-boite { background: #fff; }
.section-stats .stat-libelle { color: #fff; }
.section-stats .stat-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--teal-c); }
.section-stats .stat-ico svg { width: 26px; height: 26px; }

/* ---------- Frais : fond bleu clair, tableau compact ---------- */
.section-frais { padding: clamp(48px, 6vw, 76px) 0; background: linear-gradient(180deg, #E4F0F9, #F3F8FC); }
.section-frais::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(22, 119, 179, .12) 1.2px, transparent 1.2px); background-size: 22px 22px; pointer-events: none; }
.section-frais .wrap { position: relative; }
.section-frais .grille-2 { gap: clamp(28px, 4vw, 48px); }
.section-frais .tableau { font-size: .9rem; }
.section-frais .tableau th { padding: 12px 16px; }
.section-frais .tableau td { padding: 8px 16px; }
.section-frais .tableau tbody tr:nth-child(even) { background: #F6FAFD; }
.section-frais .moyen-paiement { padding: 14px 16px; }
.section-frais .avantages li { background: #fff; }
.frais-aide { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; padding: 18px 20px; border-radius: 18px; background: linear-gradient(135deg, #1B2559, #20398A); color: #fff; box-shadow: 0 22px 40px -28px rgba(27, 37, 89, .8); }
.frais-aide-ico { position: relative; display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 50%; background: var(--corail); color: #fff; }
.frais-aide-ico .onde { color: var(--corail); }
.frais-aide-ico svg { width: 22px; height: 22px; }
.frais-aide b { display: block; }
.frais-aide span span { color: #D5DDF2; font-size: .92rem; }
.frais-aide a:not(.btn) { color: #fff; font-weight: 800; }
.frais-aide .btn { margin-left: auto; }
.tableau tfoot .annexes-titre th { padding: 11px 16px; background: var(--corail); color: #fff; text-align: left; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.tableau tfoot .annexes td { padding: 8px 16px; background: var(--corail-cc); border-top: 1px solid #F8D9CC; }
.tableau tfoot .annexes .r { color: var(--corail-f); }
/* ===== Correctif : menu mobile (trois barres) et texte du bandeau du haut ===== */
.topbar, .topbar a, .topbar span { color: #fff; font-weight: 700; text-shadow: 0 1px 1px rgba(0, 0, 0, .18); }
.topbar svg { color: #fff; opacity: 1; }
@media (max-width: 1060px) {
    .entete, .entete.defile { position: sticky; z-index: 80; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: #fff; transform: none; filter: none; }
    .nav { z-index: 90; height: 100vh; height: 100dvh; }
    .voile-nav { z-index: 75; }
}
