/* =====================================================================
   ASMC – Compositions de blocs de la page d'accueil
   Chargé sur le site ET dans l'éditeur (functions.php), pour que
   l'éditeur ressemble au site. Toutes les classes commencent par
   « asmc- » : elles ne touchent pas au reste d'Astra.
   Couleurs : charte.md (bleu nuit, azur, soleil, vert pin, sable).
   ===================================================================== */
:root{
  --asmc-ink:#0b2e44; --asmc-ink-2:#134a69; --asmc-muted:#5e6f78;
  --asmc-paper:#fcf7ee; --asmc-paper-2:#f4e8d3;
  --asmc-azur:#0a86bf; --asmc-azur-2:#076d9c;
  --asmc-sun:#f7b731; --asmc-sun-2:#e9a215; --asmc-sun-soft:#fff3d6;
  --asmc-pine:#2f6b45; --asmc-green-soft:#eaf2e3;
  --asmc-line:#e6dccb; --asmc-r:6px;
  --asmc-serif:"Instrument Serif",Georgia,serif;
  --asmc-sans:"Inter Tight",system-ui,sans-serif;
  /* Marge latérale : 28 px, ou de quoi centrer un contenu de 1224 px */
  --asmc-gouttiere:max(28px,calc((100% - 1224px) / 2));
}

/* ---------- Page d'accueil : sections collées les unes aux autres ---------- */
.home .entry-content > .alignfull,
.home .entry-content > .asmc-section{margin-top:0!important;margin-bottom:0!important}
.home .site-content > .ast-container,
.home #primary{margin-top:0!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important}
.home .entry-header{display:none}
/* Accueil bord à bord, quel que soit le réglage « Conteneur » d'Astra
   (pleine largeur, étroit, encadré…) : pas de marge blanche autour du bandeau */
body.home #content > .ast-container,
body.home .site-content > .ast-container{max-width:none!important;width:100%!important;padding:0!important;margin:0!important;display:block!important}
body.home #primary,
body.home #main,
body.home #primary article,
body.home .ast-article-single,
body.home .entry-content{margin:0!important;padding:0!important;max-width:none!important;width:100%!important;border:0!important;box-shadow:none!important}
body.home .entry-content > .alignfull,
body.home .entry-content > .asmc-section{margin-left:0!important;margin-right:0!important;max-width:none!important;width:100%!important;box-sizing:border-box}
body.home #secondary{display:none!important}

/* ---------- Section type ---------- */
.asmc-section{padding:112px var(--asmc-gouttiere)!important;background:var(--asmc-paper);color:var(--asmc-ink);margin:0}
.asmc-section > *{margin-top:0;margin-bottom:0}

/* En-tête de section : étiquette + titre à gauche, texte ou lien à droite */
.asmc-entete{display:flex;justify-content:space-between;align-items:flex-end;gap:24px 32px;flex-wrap:wrap;margin:0 0 56px!important;padding-bottom:28px;border-bottom:1px solid var(--asmc-line)}
.asmc-entete > *{margin:0!important}
.asmc-entete > p{max-width:420px;color:var(--asmc-muted)}
.asmc-label{font-family:var(--asmc-sans);font-size:.72rem!important;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--asmc-muted);margin:0!important}
.asmc-label strong{color:var(--asmc-azur);font-weight:700;margin-right:10px}
.asmc-titre{font-family:var(--asmc-serif)!important;font-weight:400!important;font-size:clamp(2.4rem,5vw,4.2rem)!important;line-height:1!important;letter-spacing:-.01em;margin:14px 0 0!important;color:var(--asmc-ink)}
.asmc-titre em{color:var(--asmc-azur);font-style:italic}

/* Lien « … → » souligné */
.asmc-lien-fleche a{font-weight:600;color:var(--asmc-ink)!important;text-decoration:none!important;border-bottom:1.5px solid currentColor;padding-bottom:3px}
.asmc-lien-fleche a:hover{color:var(--asmc-azur)!important}

/* ---------- Styles de boutons (choix « Styles » dans l'éditeur) ---------- */
.wp-block-button[class*="is-style-asmc-"] .wp-block-button__link{border-radius:999px!important;padding:16px 26px!important;font-family:var(--asmc-sans);font-weight:600!important;font-size:.92rem!important;line-height:1.2!important;border:1.5px solid transparent!important;text-decoration:none!important;transition:background .2s,color .2s}
.wp-block-button.is-style-asmc-soleil .wp-block-button__link{background:var(--asmc-sun)!important;color:var(--asmc-ink)!important;border-color:var(--asmc-sun)!important}
.wp-block-button.is-style-asmc-soleil .wp-block-button__link:hover{background:var(--asmc-sun-2)!important;border-color:var(--asmc-sun-2)!important}
.wp-block-button.is-style-asmc-nuit .wp-block-button__link{background:var(--asmc-ink)!important;color:#fff!important;border-color:var(--asmc-ink)!important}
.wp-block-button.is-style-asmc-nuit .wp-block-button__link:hover{background:var(--asmc-ink-2)!important}
.wp-block-button.is-style-asmc-contour .wp-block-button__link{background:transparent!important;color:var(--asmc-ink)!important;border-color:var(--asmc-ink)!important}
.wp-block-button.is-style-asmc-contour .wp-block-button__link:hover{background:var(--asmc-ink)!important;color:#fff!important}
.wp-block-button.is-style-asmc-contour-blanc .wp-block-button__link{background:transparent!important;color:#fff!important;border-color:rgba(255,255,255,.7)!important}
.wp-block-button.is-style-asmc-contour-blanc .wp-block-button__link:hover{background:#fff!important;color:var(--asmc-ink)!important}
.asmc-section .wp-block-buttons,.wp-block-cover .wp-block-buttons{gap:12px}

/* ---------- Photos en fond : toujours un voile bleu nuit sous le texte blanc ---------- */
.asmc-heros,.asmc-groupes,.asmc-sejours,.asmc-temoignage,.asmc-route-img{color:#fff}
.asmc-heros h1,.asmc-heros h2,.asmc-heros h3,.asmc-heros p,
.asmc-groupes h2,.asmc-groupes h3,.asmc-groupes p,.asmc-groupes li,.asmc-groupes label,
.asmc-sejours h2,.asmc-sejours p,.asmc-sejours li,
.asmc-temoignage p,.asmc-temoignage cite,
.asmc-route-img h3,.asmc-route-img h3 a,.asmc-route-img p{color:#fff!important}

/* =====================================================================
   1. HÉROS
   ===================================================================== */
.wp-block-cover.asmc-heros{min-height:clamp(420px,38vw,720px)!important;padding-bottom:40px!important;padding:0 var(--asmc-gouttiere)!important;align-items:flex-end;justify-content:flex-start;background-color:var(--asmc-ink);margin:0!important}
.asmc-heros .wp-block-cover__background{opacity:1!important;background:
  linear-gradient(90deg,rgba(11,46,68,.84) 0%,rgba(11,46,68,.48) 45%,rgba(11,46,68,.08) 75%),
  linear-gradient(0deg,rgba(11,46,68,.88) 0%,rgba(11,46,68,0) 42%)!important}
.asmc-heros .wp-block-cover__inner-container{width:100%;max-width:none;padding:96px 0 0}
.asmc-heros .wp-block-cover__inner-container > *{max-width:620px;margin-left:0!important;margin-right:0!important}
.asmc-kicker{display:inline-flex!important;align-items:center;gap:10px;font-family:var(--asmc-sans);font-size:.75rem!important;font-weight:600;letter-spacing:.2em;text-transform:uppercase;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);padding:8px 14px;border-radius:999px;margin:0!important}
.asmc-kicker::before{content:"☀";color:var(--asmc-sun);letter-spacing:0}
.asmc-heros .asmc-heros-titre{font-family:var(--asmc-serif)!important;font-weight:400!important;font-size:clamp(2.4rem,4.6vw,4.2rem)!important;line-height:1.02!important;letter-spacing:-.02em;margin:22px 0 20px!important;text-shadow:0 2px 24px rgba(0,0,0,.25)}
.asmc-heros .asmc-heros-titre em{color:var(--asmc-sun)!important}
.asmc-heros-texte{font-size:1.12rem!important;line-height:1.6;max-width:520px!important;margin:0 0 30px!important;opacity:.92}
/* Chiffres clés en bas de la photo */
.asmc-heros .asmc-chiffres{max-width:none!important;display:grid;grid-template-columns:repeat(4,1fr);margin-top:40px!important;border-top:1px solid rgba(255,255,255,.25)}
.asmc-chiffres > p{margin:0!important;padding:24px 28px;border-left:1px solid rgba(255,255,255,.2);font-size:.82rem!important;line-height:1.4;opacity:.9}
.asmc-chiffres > p:first-child{border-left:0;padding-left:0}
.asmc-chiffres strong{display:block;font-family:var(--asmc-serif);font-weight:400;font-size:2.4rem;line-height:1;color:var(--asmc-sun);margin-bottom:4px}

/* =====================================================================
   2. BANDEAU AZUR
   ===================================================================== */
.asmc-bandeau{background:var(--asmc-azur);color:#fff;padding:16px var(--asmc-gouttiere)!important;margin:0!important}
.asmc-bandeau ul.asmc-bandeau-liste{list-style:none;margin:0!important;padding:0!important;display:flex;flex-wrap:wrap;justify-content:center;gap:6px 0}
.asmc-bandeau-liste li{margin:0!important;padding:0!important;font-family:var(--asmc-sans);font-size:.86rem;letter-spacing:.1em;text-transform:uppercase;color:#fff;display:flex;align-items:center}
.asmc-bandeau-liste li::before{display:none!important}
.asmc-bandeau-liste li + li::before{content:"☀"!important;display:inline!important;position:static!important;background:none!important;width:auto!important;height:auto!important;color:var(--asmc-sun);font-size:.65rem;margin:0 22px}
/* Défilement en boucle (activé par le script du thème ; dans l'éditeur, la liste reste fixe) */
.asmc-bandeau.is-defilant{overflow:hidden;padding-left:0!important;padding-right:0!important}
.asmc-bandeau.is-defilant ul.asmc-bandeau-liste{flex-wrap:nowrap;justify-content:flex-start;gap:0;width:max-content;animation:asmc-defile var(--asmc-duree,40s) linear infinite;will-change:transform}
.asmc-bandeau.is-defilant:hover ul.asmc-bandeau-liste{animation-play-state:paused}
.asmc-bandeau.is-defilant .asmc-bandeau-liste li{white-space:nowrap}
.asmc-bandeau.is-defilant .asmc-bandeau-liste li::before{content:"☀"!important;display:inline!important;position:static!important;background:none!important;width:auto!important;height:auto!important;color:var(--asmc-sun);font-size:.65rem;margin:0 24px}
@keyframes asmc-defile{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.asmc-bandeau.is-defilant ul.asmc-bandeau-liste{animation:none}}

/* =====================================================================
   3. AGENDA
   ===================================================================== */
.asmc-agenda-grille{gap:64px!important;margin:0!important}
.asmc-rdv{background:#fff;border-radius:var(--asmc-r);padding:36px!important}
.asmc-rdv > *{margin:0!important}
.asmc-rdv h3{font-family:var(--asmc-serif)!important;font-weight:400!important;font-size:2rem!important;line-height:1.1!important;margin:10px 0 18px!important;color:var(--asmc-ink)}
.asmc-rdv p{color:var(--asmc-muted)}
.asmc-rdv .asmc-lien-fleche{margin-top:24px!important}
.asmc-rdv figure{margin:24px 0 0!important}
.asmc-rdv figure img{border-radius:var(--asmc-r);aspect-ratio:16/9;object-fit:cover;width:100%}

/* Liste générée par [asmc_prochaines_sorties] */
.asmc-sorties{list-style:none!important;margin:0!important;padding:0!important;border-top:1px solid var(--asmc-ink)}
.asmc-sortie{display:grid;grid-template-columns:96px 1fr auto;gap:24px;align-items:center;padding:24px 0;margin:0!important;border-bottom:1px solid var(--asmc-line)}
.asmc-sortie::before{display:none!important}
.asmc-sortie-date{line-height:1}
.asmc-sortie-date b{display:block;font-family:var(--asmc-serif);font-weight:400;font-size:3rem;line-height:1}
.asmc-sortie-date span{font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;color:var(--asmc-muted)}
.asmc-sortie-titre{font-family:var(--asmc-sans);font-size:1.1rem;font-weight:600;margin:0}
.asmc-sortie-lieu{font-size:.88rem;color:var(--asmc-muted);margin:2px 0 0}
.asmc-pastilles{display:flex;gap:6px}
.asmc-pastille{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:.75rem;font-weight:700;color:#fff;background:var(--c)}
.asmc-sortie.is-prochaine{background:#fff;margin:0 -20px!important;padding:24px 20px;border-radius:var(--asmc-r);border-bottom-color:transparent}
.asmc-badge{display:inline-block;margin-left:10px;font-size:.65rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;background:var(--asmc-sun);color:var(--asmc-ink);padding:3px 8px;border-radius:20px;vertical-align:3px}
.asmc-agenda .wp-block-column > .asmc-lien-fleche{margin-top:22px!important}
.asmc-sorties-note{font-size:.85rem;color:var(--asmc-muted);margin:18px 0 0}

/* =====================================================================
   4. GROUPES DE NIVEAU (fond bleu nuit)
   ===================================================================== */
.wp-block-cover.asmc-groupes{min-height:0;padding:112px var(--asmc-gouttiere)!important;align-items:stretch;background-color:var(--asmc-ink);margin:0!important}
.asmc-groupes .wp-block-cover__background{opacity:1!important;background:linear-gradient(160deg,rgba(11,46,68,.95) 0%,rgba(13,74,108,.86) 100%)!important}
.asmc-groupes .wp-block-cover__inner-container{width:100%;max-width:none}
.asmc-groupes .asmc-entete{border-color:rgba(255,255,255,.15)}
.asmc-groupes .asmc-entete > p{color:rgba(252,247,238,.72)!important}
.asmc-groupes .asmc-label{color:rgba(252,247,238,.6)!important}
.asmc-groupes .asmc-titre{color:var(--asmc-paper)!important}
.asmc-groupes .asmc-titre em{color:var(--asmc-sun)!important}
.asmc-choix-grille{gap:64px!important;align-items:center!important;margin:0!important}
.asmc-gcartes{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.asmc-gcartes > *{margin:0!important}
.asmc-gcarte{border:1px solid rgba(255,255,255,.15);border-radius:var(--asmc-r);padding:24px!important;transition:.25s}
.asmc-gcarte > *{margin:0!important}
.asmc-groupes.asmc-choix-actif .asmc-gcarte{opacity:.45}
.asmc-groupes.asmc-choix-actif .asmc-gcarte.is-on{opacity:1;border-color:var(--asmc-sun);background:rgba(247,183,49,.14)}
.asmc-gcarte-n{font-size:.72rem!important;letter-spacing:.16em;text-transform:uppercase;opacity:.65}
.asmc-gcarte h3{font-family:var(--asmc-serif)!important;font-weight:400!important;font-size:1.9rem!important;line-height:1.05!important;margin:6px 0 16px!important}
.asmc-gcarte ul{list-style:none!important;margin:0!important;padding:0!important;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.asmc-gcarte li{margin:0!important;padding:0!important;font-size:.8rem;opacity:.85}
.asmc-gcarte li::before{display:none!important}
.asmc-gcarte li strong{display:block;font-size:.95rem;font-weight:600;opacity:1}

/* Curseur généré par [asmc_choix_groupe] */
.asmc-choix label{display:block;font-size:.85rem;opacity:.72;margin-bottom:14px}
.asmc-vitesse{font-family:var(--asmc-serif);font-size:clamp(5rem,12vw,9rem);line-height:.9;color:#fff}
.asmc-vitesse small{font-family:var(--asmc-sans);font-size:1.2rem;opacity:.6;margin-left:8px}
/* Curseur dessiné par le thème (Astra impose sinon une pastille bleue) :
   rail jaune jusqu'à la valeur (--asmc-pct, mis à jour par le script), gris ensuite */
.asmc-choix input[type=range]{-webkit-appearance:none!important;appearance:none!important;display:block;width:100%!important;height:28px!important;margin:24px 0 0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;cursor:pointer;--asmc-pct:46%}
.asmc-choix input[type=range]:focus{outline:none}
.asmc-choix input[type=range]::-webkit-slider-runnable-track{height:6px!important;border-radius:999px!important;border:0!important;box-shadow:none!important;outline:0!important;background:linear-gradient(90deg,var(--asmc-sun) 0 var(--asmc-pct),rgba(255,255,255,.22) var(--asmc-pct) 100%)!important}
.asmc-choix input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:22px!important;height:22px!important;margin-top:-8px!important;border-radius:50%!important;border:0!important;background:var(--asmc-sun)!important;box-shadow:0 2px 6px rgba(0,0,0,.35)!important;transition:transform .15s}
.asmc-choix input[type=range]:hover::-webkit-slider-thumb{transform:scale(1.12)}
.asmc-choix input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 4px rgba(247,183,49,.35)}
.asmc-choix input[type=range]::-moz-range-track{height:6px!important;border-radius:999px!important;border:0!important;box-shadow:none!important;background:rgba(255,255,255,.22)!important}
.asmc-choix input[type=range]::-moz-range-progress{height:6px!important;border-radius:999px!important;box-shadow:none!important;background:var(--asmc-sun)!important}
.asmc-choix input[type=range]::-moz-range-thumb{width:22px!important;height:22px!important;border-radius:50%!important;border:0!important;background:var(--asmc-sun)!important;box-shadow:0 2px 6px rgba(0,0,0,.35)!important}
.asmc-choix input[type=range]:focus-visible::-moz-range-thumb{box-shadow:0 0 0 4px rgba(247,183,49,.35)}
.asmc-echelle{display:flex;justify-content:space-between;font-size:.75rem;opacity:.5;margin-top:6px}
.asmc-groupes p.asmc-choix-resultat{margin:18px 0 0;font-weight:600;color:var(--asmc-sun)!important}
.asmc-groupes .wp-block-buttons{margin-top:32px!important}

/* =====================================================================
   5. PARCOURS (fond vert tendre)
   ===================================================================== */
.asmc-section.asmc-parcours{background:var(--asmc-green-soft)}
.asmc-parcours .asmc-entete{border-color:#cfdcc4}
.asmc-parcours .asmc-label strong,.asmc-parcours .asmc-titre em{color:var(--asmc-pine)}
.asmc-routes{gap:24px!important;margin:0!important}
.wp-block-cover.asmc-route-img{aspect-ratio:4/5;min-height:0!important;border-radius:var(--asmc-r);overflow:hidden;align-items:flex-end;justify-content:flex-start;padding:20px!important;background-color:#0e5a7e;margin:0!important}
.asmc-route-img .wp-block-cover__background{opacity:1!important;background:linear-gradient(0deg,rgba(20,60,35,.72),rgba(20,60,35,.05) 60%)!important}
.wp-block-cover.asmc-route-img{align-items:stretch}
.asmc-route-img .wp-block-cover__inner-container{width:100%;display:flex;flex-direction:column;justify-content:flex-end}
.asmc-route-img .wp-block-cover__inner-container > *{margin:0!important}
.asmc-route-img .asmc-tag{margin-bottom:auto!important;align-self:flex-start}
.asmc-route-img p.asmc-tag,.asmc-tag{background:#fff;color:var(--asmc-pine)!important;font-size:.72rem!important;font-weight:600;letter-spacing:.1em;text-transform:uppercase;padding:5px 10px;border-radius:20px;line-height:1.3}
.asmc-route-img h3{font-family:var(--asmc-serif)!important;font-weight:400!important;font-size:2rem!important;line-height:1!important}
.asmc-route-img h3 a{text-decoration:none!important}
.asmc-route-img .asmc-route-info{font-size:.85rem!important;opacity:.85;margin-top:4px!important}
.asmc-route-texte{margin-top:14px!important;color:var(--asmc-muted);font-size:.93rem!important}

/* =====================================================================
   6. SÉJOURS (photo sous un voile bleu nuit, plus soutenu à gauche sous le texte)
   Même bleu nuit que le bandeau « Prêt à rejoindre le peloton ? », à la place du vert pin
   (29 oct., demande du club : le vert ternissait les photos, l'azur était trop pâle) ;
   côté droit un peu plus foncé que le bandeau « Rejoindre » pour la liste des dates
   ===================================================================== */
.wp-block-cover.asmc-sejours{min-height:0;padding:120px var(--asmc-gouttiere)!important;background-color:var(--asmc-ink);margin:0!important}
.asmc-sejours .wp-block-cover__background{opacity:1!important;background:linear-gradient(90deg,rgba(11,46,68,.94) 0%,rgba(11,46,68,.74) 50%,rgba(11,46,68,.66) 100%)!important}
.asmc-sejours :is(.asmc-label,.asmc-titre,.asmc-sejours-texte,.asmc-sejours-liste li){text-shadow:0 1px 14px rgba(0,0,0,.45)}
.asmc-sejours .wp-block-cover__inner-container{width:100%;max-width:none}
.asmc-sejours-grille{gap:64px!important;align-items:center!important;margin:0!important}
.asmc-sejours .asmc-label{color:rgba(255,255,255,.72)!important}
.asmc-sejours .asmc-label strong{color:var(--asmc-sun)}
.asmc-sejours .asmc-titre{color:#fff!important}
.asmc-sejours .asmc-titre em{color:var(--asmc-sun)!important}
.asmc-sejours-texte{opacity:.88;margin:20px 0 32px!important;max-width:520px;font-size:1.05rem!important}
.asmc-sejours ul.asmc-sejours-liste{list-style:none!important;margin:0!important;padding:0!important;border-top:1px solid rgba(255,255,255,.3)}
.asmc-sejours-liste li{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:0!important;padding:20px 0!important;border-bottom:1px solid rgba(255,255,255,.3);font-size:.85rem;text-align:right}
.asmc-sejours-liste li::before{display:none!important}
.asmc-sejours-liste li strong{font-family:var(--asmc-serif);font-weight:400;font-size:1.5rem;text-align:left;line-height:1.15}

/* =====================================================================
   7. TÉMOIGNAGE (photo sous un voile bleu nuit uniforme : texte centré, 29 oct.)
   ===================================================================== */
.wp-block-cover.asmc-temoignage{min-height:0;padding:150px var(--asmc-gouttiere)!important;text-align:center;background-color:var(--asmc-ink);margin:0!important}
.asmc-temoignage .wp-block-cover__background{opacity:1!important;background:linear-gradient(0deg,rgba(11,46,68,.78),rgba(11,46,68,.66))!important}
.asmc-temoignage :is(.asmc-label,.wp-block-quote p,.wp-block-quote cite){text-shadow:0 1px 14px rgba(0,0,0,.45)}
.asmc-temoignage .asmc-label{color:rgba(255,255,255,.75)!important}
.asmc-temoignage .wp-block-quote{border:0!important;padding:0!important;margin:24px auto 0!important;max-width:960px;background:none!important;quotes:none}
.asmc-temoignage .wp-block-quote p{font-family:var(--asmc-serif)!important;font-size:clamp(1.8rem,3.6vw,3rem)!important;line-height:1.2!important;font-style:normal}
.asmc-temoignage .wp-block-quote p em{color:var(--asmc-sun)!important}
.asmc-temoignage .wp-block-quote cite{display:block;margin-top:24px;font-family:var(--asmc-sans);font-style:normal;font-size:.9rem!important;opacity:.82}

/* =====================================================================
   8. ADHÉSION
   ===================================================================== */
.asmc-section.asmc-adhesion{background:#fff}
.asmc-adhesion-grille{gap:72px!important;margin:0!important}
.asmc-adhesion-intro{color:var(--asmc-muted);margin:20px 0 28px!important}
.asmc-adhesion ol.asmc-etapes{list-style:none!important;counter-reset:asmc-etape;display:grid;gap:18px;margin:0 0 32px!important;padding:0!important}
.asmc-etapes li{counter-increment:asmc-etape;position:relative;padding:0 0 0 52px!important;margin:0!important;font-size:.9rem;color:var(--asmc-muted)}
.asmc-etapes li::before{content:counter(asmc-etape)!important;position:absolute;left:0;top:0;width:32px;height:32px;border-radius:50%;border:1.5px solid var(--asmc-ink);display:grid;place-items:center;font-weight:700;font-size:.85rem;color:var(--asmc-ink);background:none}
.asmc-etapes li strong{display:block;font-size:1rem;color:var(--asmc-ink)}
.asmc-etapes li::first-line{font-weight:700;font-size:1rem;color:var(--asmc-ink)}
.asmc-formules{border-top:1px solid var(--asmc-ink)}
.asmc-formules > *{margin:0!important}
.asmc-formule{display:grid!important;grid-template-columns:1fr auto;gap:20px;align-items:center;padding:28px 0!important;border-bottom:1px solid var(--asmc-line)}
.asmc-formule > *{margin:0!important}
.asmc-formule h3{font-family:var(--asmc-serif)!important;font-weight:400!important;font-size:2rem!important;line-height:1!important;margin:4px 0 0!important}
.asmc-formule-texte > *{margin:0!important}
.asmc-formule-desc{font-size:.9rem!important;color:var(--asmc-muted);margin-top:6px!important}
.asmc-prix{text-align:right}
.asmc-prix > *{margin:0!important}
.asmc-prix-montant{font-family:var(--asmc-serif);font-size:3rem!important;line-height:1!important}
.asmc-prix-unite{font-size:.75rem!important;color:var(--asmc-muted);letter-spacing:.1em;text-transform:uppercase}
.asmc-formule.is-style-asmc-recommandee{background:var(--asmc-sun-soft);margin:0 -24px!important;padding:28px 24px!important;border-radius:var(--asmc-r);border-bottom-color:transparent}
.asmc-formule.is-style-asmc-recommandee h3::after{content:"Recommandée";font-family:var(--asmc-sans);font-size:.65rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;background:var(--asmc-sun);color:var(--asmc-ink);padding:3px 8px;border-radius:20px;margin-left:12px;vertical-align:8px}

/* =====================================================================
   9. ACTUALITÉS (4 derniers articles, mis à jour tout seuls)
   ===================================================================== */
.asmc-actus .wp-block-post-template{list-style:none!important;margin:0!important;padding:0!important;display:grid!important;grid-template-columns:repeat(4,1fr);gap:24px}
.asmc-actus .wp-block-post-template > li{margin:0!important;padding:0!important}
.asmc-actus .wp-block-post-template > li::before{display:none!important}
.asmc-actus .wp-block-post-featured-image{margin:0 0 16px!important;border-radius:var(--asmc-r);overflow:hidden;background:var(--asmc-paper-2);aspect-ratio:3/2}
.asmc-actus .wp-block-post-featured-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.asmc-actus li:hover .wp-block-post-featured-image img{transform:scale(1.04)}
.asmc-actus .wp-block-post-terms{font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;font-weight:700;margin:0!important}
.asmc-actus .wp-block-post-terms a{color:var(--asmc-azur)!important;text-decoration:none!important}
.asmc-actus .wp-block-post-title{font-family:var(--asmc-sans)!important;font-size:1.12rem!important;font-weight:600!important;line-height:1.35!important;margin:8px 0 6px!important}
.asmc-actus .wp-block-post-title a{color:var(--asmc-ink)!important;text-decoration:none!important}
.asmc-actus .wp-block-post-title a:hover{color:var(--asmc-azur)!important}
.asmc-actus .wp-block-post-date{font-size:.8rem;color:var(--asmc-muted)}
.asmc-actus .wp-block-query-no-results p{color:var(--asmc-muted)}

/* =====================================================================
   10. OUTILS SÉCURITÉ
   ===================================================================== */
.asmc-section.asmc-outils-section{padding-top:72px!important;padding-bottom:72px!important}
.asmc-outils{display:grid!important;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--asmc-ink);border-bottom:1px solid var(--asmc-ink)}
.asmc-outils > *{margin:0!important}
.asmc-outil{position:relative;padding:32px 24px!important;border-left:1px solid var(--asmc-line);transition:background .2s}
.asmc-outil:first-child{border-left:0}
.asmc-outil:hover{background:#fff}
.asmc-outil > *{margin:0!important}
.asmc-outil-k{font-size:.72rem!important;letter-spacing:.16em;text-transform:uppercase;color:var(--asmc-muted);font-weight:600}
.asmc-outil h4{font-family:var(--asmc-serif)!important;font-weight:400!important;font-size:1.6rem!important;line-height:1.1!important;margin:8px 0!important}
.asmc-outil h4 a{color:var(--asmc-ink)!important;text-decoration:none!important}
.asmc-outil h4 a::after{content:"";position:absolute;inset:0}
.asmc-outil p:last-child{font-size:.85rem!important;color:var(--asmc-muted);margin-top:8px!important}
.asmc-outil.is-urgence .asmc-outil-k{color:#c0392b}

/* =====================================================================
   TABLETTE ET TÉLÉPHONE
   ===================================================================== */
@media (max-width:1080px){
  .asmc-actus .wp-block-post-template{grid-template-columns:repeat(2,1fr)}
  .asmc-outils{grid-template-columns:repeat(2,1fr)}
  .asmc-outil:nth-child(3){border-left:0}
  .asmc-outil:nth-child(n+3){border-top:1px solid var(--asmc-line)}
}
@media (max-width:781px){
  .asmc-section{padding-top:80px!important;padding-bottom:80px!important}
  .wp-block-cover.asmc-groupes{padding-top:80px!important;padding-bottom:80px!important}
  .wp-block-cover.asmc-sejours{padding-top:80px!important;padding-bottom:80px!important}
  .wp-block-cover.asmc-temoignage{padding-top:96px!important;padding-bottom:96px!important}
  :root{--asmc-gouttiere:16px}
  .wp-block-cover.asmc-heros{min-height:440px!important}
  .asmc-heros .wp-block-cover__inner-container{padding-top:96px}
  .asmc-heros .asmc-chiffres{grid-template-columns:repeat(2,1fr);margin-top:36px!important}
  .asmc-chiffres > p{padding:16px 18px}
  .asmc-chiffres > p:nth-child(odd){border-left:0;padding-left:0}
  .asmc-chiffres > p:nth-child(n+3){border-top:1px solid rgba(255,255,255,.2)}
  .asmc-chiffres strong{font-size:2rem}
  .asmc-agenda-grille,.asmc-choix-grille,.asmc-sejours-grille,.asmc-adhesion-grille{gap:48px!important}
  .asmc-gcartes{grid-template-columns:1fr}
  .wp-block-cover.asmc-route-img{aspect-ratio:16/11}
  .asmc-sortie{grid-template-columns:72px 1fr;gap:16px}
  .asmc-sortie .asmc-pastilles{grid-column:2}
  .asmc-sortie-date b{font-size:2.4rem}
  .asmc-bandeau-liste li + li::before{margin:0 12px}
  .asmc-sortie.is-prochaine{margin:0 -12px!important;padding:20px 12px}
  .asmc-formule.is-style-asmc-recommandee{margin:0 -12px!important;padding:24px 12px!important}
  .asmc-heros .wp-block-buttons{gap:10px}
}
@media (max-width:520px){
  .asmc-actus .wp-block-post-template,.asmc-outils{grid-template-columns:1fr}
  .asmc-outil{border-left:0!important;border-top:1px solid var(--asmc-line)}
  .asmc-outil:first-child{border-top:0}
  .asmc-prix-montant{font-size:2.3rem!important}
  .asmc-formule{grid-template-columns:1fr;gap:10px}
  .asmc-prix{text-align:left}
}
@media (prefers-reduced-motion:reduce){
  .asmc-actus .wp-block-post-featured-image img,.asmc-gcarte{transition:none}
}
