/* O'BabyMom Formations — feuille de style du site public.
   Fond ivoire chaud ; le bleu sarcelle des boutons du baby spa en touches dosées (sections en lavis léger)
   et en bandes pleines (agenda, appel final) ; accents terracotta sur fond clair, or vif sur les bandes bleues. Titres en Cormorant Garamond, texte en Figtree. */

@font-face { font-family: 'Cormorant'; src: url('/fonts/Cormorant-normal.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('/fonts/Cormorant-italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/fonts/Figtree-normal.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --fond: #faf6ef;          /* ivoire chaud */
  --fond-2: #e5eef0;        /* lavis du bleu des boutons du baby spa, une section sur deux */
  --carte: #ffffff;
  --carte-2: #ffffff;
  --sarcelle: #2f6b82;
  --sarcelle-fonce: #22546a;
  --encre: #1d3a47;
  --encre-doux: #3c5865;
  --encre-pale: #4a626d;
  --or: #a64d33;            /* terracotta : accents et italiques sur fond clair */
  --or-vif: #f2cf8a;        /* or lumineux, sur les bandes bleues */
  --accent: #2f6b82;
  --terre: #9a3f28;
  --trait: rgba(29, 58, 71, .13);
  --trait-fort: rgba(29, 58, 71, .26);
  --rayon: 20px;
  --largeur: 1180px;
  --serif: 'Cormorant', 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--fond); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--fond); color: var(--encre); font: 400 1.0625rem/1.7 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sarcelle); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--sarcelle-fonce); }
:focus-visible { outline: 2px solid var(--sarcelle); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(176, 84, 58, .2); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.06; letter-spacing: -.005em; margin: 0 0 .5em; color: var(--encre); text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6.2vw, 5rem); font-weight: 350; }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); font-weight: 350; }
h3 { font-size: clamp(1.5rem, 2.2vw, 1.8rem); font-weight: 500; line-height: 1.15; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--or); font-weight: 350; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { color: var(--encre); font-weight: 600; }
ul { padding-left: 1.2em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 32px, var(--largeur)); margin-inline: auto; }
/* Un enfant de grille peut rétrécir sous sa largeur de contenu (liste déroulante aux longues options,
   adresse e-mail…) : sans cela, la colonne déborde de l'écran sur les petits téléphones. */
.duo > *, .grille > *, .deux > *, .heros__in > *, .page-tete__in > *, .inscription > *, .pied__in > * { min-width: 0; }
select { max-width: 100%; text-overflow: ellipsis; }
.wrap--etroit { width: min(100% - 32px, 760px); margin-inline: auto; }

/* ---------------------------------------------------------------- En-tête */
.skip { position: absolute; left: 12px; top: -60px; background: var(--sarcelle); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
/* En-tête plein, dans le bleu des boutons du baby spa : il donne sa tenue à une page claire. */
.entete { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--sarcelle) 96%, transparent); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.entete :focus-visible { outline-color: #fff; }
.entete.defile { border-bottom-color: rgba(255, 255, 255, .12); box-shadow: 0 10px 30px -18px rgba(29, 58, 71, .55); }
.entete__in { display: flex; align-items: center; gap: 24px; height: 78px; }
.logo { display: block; flex: none; }
.logo img, .pied__logo img { width: 140px; height: auto; }
.logo img { filter: brightness(0) invert(1); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a { color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .16); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; color: #fff; cursor: pointer; }
.burger svg { width: 24px; height: 24px; margin: auto; }

@media (max-width: 1040px) {
  .burger { display: grid; place-items: center; }
  .nav { position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 24px; background: var(--sarcelle-fonce); border-bottom: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 40px -24px rgba(29, 58, 71, .3); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; max-height: calc(100dvh - 78px); overflow: auto; }
  .nav.ouvert { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 13px 14px; font-size: 1.05rem; }
}

/* ---------------------------------------------------------------- Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px; border-radius: 999px; border: 1px solid transparent; font: 600 .98rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .2s var(--ease); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--plein { background: var(--sarcelle); color: #fff; }
.btn--plein:hover { background: var(--sarcelle-fonce); color: #fff; }
.btn--contour { border-color: var(--trait-fort); color: var(--encre); background: transparent; }
.btn--contour:hover { border-color: var(--encre); color: var(--encre); background: rgba(255, 255, 255, .5); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.lien-fleche svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.lien-fleche:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------- Sections */
.section { padding: clamp(72px, 10vw, 132px) 0; position: relative; }
.section--sable { background: var(--fond-2); }
/* Bande en bleu plein (agenda, appel final) : le moment fort de la page. */
.section--bleu, .appel { background: radial-gradient(ellipse 60% 80% at 10% 0%, rgba(255, 255, 255, .09), transparent 60%), radial-gradient(ellipse 50% 70% at 100% 100%, rgba(242, 207, 138, .12), transparent 65%), var(--sarcelle); color: #fbf6ee; }
.section--bleu h2, .appel h2 { color: #fffaf2; }
.section--bleu h2 em, .appel h2 em, .appel .gouttes, .section--bleu .gouttes { color: var(--or-vif); }
.section--bleu .surtitre, .appel .surtitre { color: #cfe6ea; }
.section--bleu .intro, .appel .intro { color: #e3eef0; }
.section--bleu > .wrap > p a:not(.btn), .appel p a:not(.btn) { color: #fffaf2; }
.section--bleu .btn--plein, .appel .btn--plein { background: #fffaf2; color: var(--sarcelle-fonce); }
.section--bleu .btn--plein:hover, .appel .btn--plein:hover { background: var(--or-vif); color: var(--encre); }
.section--bleu .btn--contour, .appel .btn--contour { border-color: rgba(255, 250, 242, .55); color: #fffaf2; }
.section--bleu .btn--contour:hover, .appel .btn--contour:hover { border-color: #fffaf2; background: rgba(255, 255, 255, .1); color: #fffaf2; }
.section--bleu :focus-visible, .appel :focus-visible { outline-color: #fffaf2; }
.section--bleu .session { border-color: transparent; box-shadow: 0 18px 40px -26px rgba(10, 30, 40, .55); }
/* Dans les cartes blanches de l'agenda, les boutons gardent le bleu plein. */
.section--bleu .session .btn--plein { background: var(--sarcelle); color: #fff; }
.section--bleu .session .btn--plein:hover { background: var(--sarcelle-fonce); color: #fff; }
.section--bleu .session :focus-visible { outline-color: var(--sarcelle); }
/* Un appel final juste après un agenda bleu reste clair : deux bandes bleues ne se suivent jamais. */
.section--bleu + .appel { background: radial-gradient(ellipse 50% 70% at 50% 100%, rgba(176, 84, 58, .08), transparent 70%), var(--fond); color: var(--encre); }
.section--bleu + .appel h2 { color: var(--encre); }
.section--bleu + .appel h2 em, .section--bleu + .appel .gouttes { color: var(--or); }
.section--bleu + .appel .intro { color: var(--encre-doux); }
.section--bleu + .appel .btn--plein { background: var(--sarcelle); color: #fff; }
.section--bleu + .appel .btn--plein:hover { background: var(--sarcelle-fonce); color: #fff; }
.section--bleu + .appel .btn--contour { border-color: var(--trait-fort); color: var(--encre); }
.section--bleu + .appel .btn--contour:hover { border-color: var(--encre); background: rgba(255, 255, 255, .5); }
/* Section « mise en lumière » : halos doux, comme une lampe tamisée */
.section--rose { background: radial-gradient(ellipse 70% 90% at 15% 0%, rgba(215, 179, 122, .10), transparent 60%), radial-gradient(ellipse 60% 80% at 100% 100%, rgba(47, 107, 130, .09), transparent 60%), var(--fond-2); }
.surtitre { display: inline-flex; align-items: center; gap: 12px; font: 600 .78rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.surtitre::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.intro { font-size: 1.14rem; color: var(--encre-doux); max-width: 62ch; }
.tete { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.tete--centre { margin-inline: auto; text-align: center; }
.tete--centre .intro { margin-inline: auto; }
.tete--large, .tete--large .intro { max-width: none; }
.gouttes { width: 34px; height: 28px; color: var(--or); display: block; opacity: .85; }

/* Filtres par univers (catalogue) */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.filtres a { padding: 9px 17px; border-radius: 999px; border: 1px solid var(--trait-fort); color: var(--encre-doux); text-decoration: none; font-weight: 500; font-size: .93rem; transition: color .2s, border-color .2s, background .2s; }
.filtres a:hover { color: #fff; background: var(--sarcelle); border-color: var(--sarcelle); }

/* ---------------------------------------------------------------- Héros */
.heros { padding: clamp(32px, 5vw, 72px) 0 clamp(64px, 9vw, 120px); background: radial-gradient(ellipse 60% 70% at 85% 10%, rgba(47, 107, 130, .13), transparent 65%), radial-gradient(ellipse 50% 60% at 0% 100%, rgba(215, 179, 122, .08), transparent 60%); }
.heros__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.heros h1 { margin-bottom: 24px; }
.heros .intro { margin-bottom: 34px; }
.heros__photo { position: relative; }
/* Photos : coins arrondis, couleurs légèrement adoucies */
.arche, .photo { position: relative; border-radius: 22px; overflow: hidden; background: var(--carte); }
.arche img, .photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.97); transition: transform 1.2s var(--ease), filter .6s; }
.arche::after, .photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(34, 84, 106, .25)); pointer-events: none; }
.heros__photo .arche { aspect-ratio: 4 / 5; }
.pastille { position: absolute; left: -24px; bottom: 48px; background: color-mix(in srgb, var(--carte-2) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--trait); border-radius: 18px; padding: 14px 18px; display: flex; gap: 14px; align-items: center; max-width: 260px; }
.pastille strong { font: 400 2rem/1 var(--serif); color: var(--or); white-space: nowrap; }
.pastille span { font-size: .86rem; line-height: 1.4; color: var(--encre-doux); }
.heros__infos { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 38px; color: var(--encre-doux); font-size: .94rem; }
.heros__infos span { display: inline-flex; align-items: center; gap: 9px; }
.heros__infos svg { width: 18px; height: 18px; color: var(--accent); }
@media (max-width: 860px) {
  .heros__in { grid-template-columns: 1fr; }
  .heros__photo { max-width: 440px; width: 100%; margin-inline: auto; }
  .pastille { left: 8px; bottom: 20px; }
}

/* En-tête de page intérieure */
.page-tete { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); background: radial-gradient(ellipse 55% 80% at 90% 0%, rgba(47, 107, 130, .11), transparent 65%); }
.page-tete__in { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.page-tete .arche { aspect-ratio: 5 / 6; max-height: 440px; width: 100%; }
@media (max-width: 860px) { .page-tete__in { grid-template-columns: 1fr; } .page-tete .arche { max-width: 340px; aspect-ratio: 4 / 4.2; } }
.fil { font-size: .86rem; color: var(--encre-pale); margin-bottom: 22px; }
.fil a { color: inherit; }
.fil a:hover { color: var(--encre); }

/* ---------------------------------------------------------------- Grilles et cartes */
.grille { display: grid; gap: clamp(20px, 2.6vw, 32px); }
.grille--4 { grid-template-columns: repeat(4, 1fr); }
.grille--3 { grid-template-columns: repeat(3, 1fr); }
.grille--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grille--4 { grid-template-columns: repeat(2, 1fr); } .grille--3 { grid-template-columns: repeat(2, 1fr); } .grille--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 620px) { .grille--4, .grille--3, .grille--2 { grid-template-columns: 1fr; } }
.soin-carte, .formation-carte { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--encre); }
.soin-carte .arche { aspect-ratio: 4 / 5; margin-bottom: 24px; }
.formation-carte .arche { aspect-ratio: 4 / 3.4; margin-bottom: 22px; }
.soin-carte:hover img, .formation-carte:hover img { transform: scale(1.04); filter: saturate(.95) brightness(.98); }
.soin-carte h3, .formation-carte h3 { margin-bottom: 8px; transition: color .3s; }
.soin-carte:hover h3, .formation-carte:hover h3 { color: var(--or); }
.soin-carte p, .formation-carte p { color: var(--encre-doux); font-size: .97rem; margin-bottom: 10px; }
.soin-carte__prix { margin-top: auto; font-weight: 600; color: var(--or); font-size: .94rem; }
.formation-carte__infos { display: flex; gap: 8px 18px; flex-wrap: wrap; font-weight: 600; color: var(--or) !important; margin-top: auto; font-size: .94rem !important; }
.formation-carte__date { font-size: .88rem !important; margin: 0 !important; color: var(--accent) !important; }
.univers { scroll-margin-top: 90px; }

/* ---------------------------------------------------------------- Bloc texte + image */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.duo--inverse .duo__media { order: 2; }
.duo__media .arche, .duo__media .photo { aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo--inverse .duo__media { order: 0; } .duo__media { max-width: 440px; } .duo__media .arche, .duo__media .photo { aspect-ratio: 4 / 3.6; } }

.liste-coche { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.liste-coche li { position: relative; padding-left: 30px; color: var(--encre-doux); }
.liste-coche li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--accent); background: radial-gradient(circle, var(--accent) 0 3px, transparent 3.5px); }

/* Fiche formation (tarif, durée, lieu) */
.fiche { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.fiche span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; background: rgba(29, 58, 71, .04); border: 1px solid var(--trait); font-size: .92rem; color: var(--encre-doux); }
.fiche strong { color: var(--or); font-weight: 600; }
.fiche svg { width: 16px; height: 16px; color: var(--accent); }
.note { font-size: .92rem; color: var(--encre-doux); border-left: 1px solid var(--or); padding: 2px 0 2px 16px; margin: 0 0 1.4em; }

/* ---------------------------------------------------------------- Formulaires */
.achat { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); padding: clamp(22px, 3vw, 36px); }
.achat h2 { font-size: clamp(1.8rem, 3vw, 2.2rem); }
.champ { display: grid; gap: 7px; margin-bottom: 18px; }
.champ label { font-weight: 600; font-size: .92rem; color: var(--encre); }
.champ small { color: var(--encre-pale); font-size: .84rem; }
.champ input, .champ textarea, .champ select { width: 100%; font: inherit; font-size: 1rem; color: var(--encre); background: rgba(255, 255, 255, .8); border: 1px solid var(--trait-fort); border-radius: 14px; padding: 13px 15px; transition: border-color .2s, background .2s; }
.champ select option { background: var(--carte); color: var(--encre); }
.champ textarea { min-height: 120px; resize: vertical; }
.champ input:focus, .champ textarea:focus, .champ select:focus { outline: none; border-color: var(--sarcelle); background: #fff; }
.champ input::placeholder, .champ textarea::placeholder { color: var(--encre-pale); }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .deux { grid-template-columns: 1fr; } }
.miel { position: absolute; left: -9999px; }
.message { padding: 14px 16px; border-radius: 14px; margin: 0 0 16px; font-size: .95rem; border: 1px solid transparent; }
.message--ok { background: rgba(47, 107, 130, .12); border-color: rgba(47, 107, 130, .35); color: #1f5a4c; }
.message--erreur { background: rgba(215, 120, 100, .12); border-color: rgba(215, 120, 100, .4); color: #8e3a26; }
.message--info { background: rgba(215, 179, 122, .08); border-color: rgba(215, 179, 122, .28); color: var(--encre); }

/* ---------------------------------------------------------------- FAQ, infos, prose */
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 500 1.4rem/1.3 var(--serif); color: var(--encre); transition: color .2s; }
.faq summary:hover { color: var(--or); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 22px; color: var(--encre-doux); }

.info { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 28px; color: var(--encre-doux); }
.info h3 { font-size: 1.5rem; display: flex; align-items: center; gap: 12px; color: var(--encre); }
.info h3 svg { width: 22px; height: 22px; color: var(--or); flex: none; }
.info p:last-child { margin: 0; }

.programme .info { display: flex; flex-direction: column; }
.programme h3 { margin-bottom: 16px; }
.programme .liste-coche { margin: 0; font-size: .97rem; }
.programme__jour { display: inline-block; align-self: flex-start; font: 600 .76rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(47, 107, 130, .35); padding: 7px 12px; border-radius: 999px; margin-bottom: 16px; }

.prose { font-size: 1.06rem; color: var(--encre-doux); }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--rayon); margin: 1.6em 0; }
.prose li { margin-bottom: .4em; }
.prose ol { padding-left: 1.3em; }
.a-completer { background: rgba(240, 200, 90, .45); color: #4d3800; padding: 1px 5px; border-radius: 4px; }

/* ---------------------------------------------------------------- Appel final */
.appel { text-align: center; }
.appel h2 { max-width: 20ch; margin-inline: auto; }
.appel .gouttes { margin: 0 auto 20px; }
.appel .btns { justify-content: center; margin-top: 30px; }

/* ---------------------------------------------------------------- Pied de page */
.pied { background: var(--fond-2); color: var(--encre-doux); padding: 80px 0 32px; font-size: .95rem; border-top: 1px solid var(--trait); }
.pied a { color: var(--encre); text-decoration: none; }
.pied a:hover { color: var(--sarcelle); }
.pied__in { display: grid; grid-template-columns: 1.4fr 1.1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .pied__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pied__in { grid-template-columns: 1fr; } }
.pied h2 { font-size: 1.4rem; color: var(--encre); margin-bottom: 14px; }
.pied li, .pied p { overflow-wrap: anywhere; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pied__marque p { max-width: 34ch; }
.pied__logo { display: inline-block; margin-bottom: 20px; }
.pied__logo img { width: 130px; }
.pied__bas { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--trait); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; color: var(--encre-pale); }
.pied__bas ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Apparitions lentes au défilement (désactivées si mouvement réduit) */
.apparait { opacity: 0; transform: translateY(14px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.apparait.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .apparait { opacity: 1; transform: none; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--carte-2); color: var(--encre); padding: 14px 20px; border-radius: 16px; border: 1px solid var(--trait); opacity: 0; visibility: hidden; transition: all .3s var(--ease); z-index: 90; max-width: calc(100% - 32px); }
.toast.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* Réserver : dans l'en-tête sur grand écran, bouton flottant sur mobile */
.rdv { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid #fff; background: #fff; color: var(--sarcelle-fonce); text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; flex: none; transition: background .25s, color .25s; }
.rdv:hover { background: var(--fond); border-color: var(--fond); color: var(--sarcelle-fonce); }
.rdv svg, .rdv-mobile svg { width: 18px; height: 18px; }
.rdv-mobile { display: none; }
@media (max-width: 1040px) {
  .entete .rdv { display: none; }
  .rdv-mobile { display: inline-flex; align-items: center; gap: 10px; position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; padding: 14px 24px; border-radius: 999px; background: var(--sarcelle); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 14px 34px -10px rgba(29, 58, 71, .55); white-space: nowrap; }
  .rdv-mobile:hover { color: #fff; background: var(--sarcelle-fonce); }
  .rdv-mobile { transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
  .rdv-mobile.cache { opacity: 0; visibility: hidden; transform: translate(-50%, 16px); }
  .pied { padding-bottom: 104px; }
  .toast { bottom: 88px; }
}
@media (min-width: 1041px) and (max-width: 1240px) { .nav a { padding: 8px 9px; font-size: .92rem; } .entete__in { gap: 14px; } }

/* ================================================================ Agenda */
/* Barre de filtres (agenda général) : révélée par le script ; sans lui, la liste complète reste lisible. */
.filtres-agenda { position: sticky; top: 78px; z-index: 20; display: grid; gap: 14px; padding: 18px 0 16px; background: color-mix(in srgb, var(--fond-2) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--trait); }
.filtres-agenda[hidden] { display: none; }
.filtres-agenda__themes { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--trait-fort); background: transparent; color: var(--encre-doux); font: 500 .93rem/1 var(--sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.puce:hover { color: var(--encre); border-color: var(--encre-pale); }
.puce[aria-pressed="true"] { background: var(--sarcelle); border-color: var(--sarcelle); color: #fff; }
.puce small { font-size: .8rem; opacity: .65; }
.filtres-agenda__ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.choix { position: relative; display: inline-flex; }
.choix select { appearance: none; -webkit-appearance: none; min-height: 42px; padding: 8px 40px 8px 16px; border-radius: 12px; border: 1px solid var(--trait-fort); background: rgba(255, 255, 255, .8); color: var(--encre); font: 500 .93rem/1.2 var(--sans); cursor: pointer; max-width: 100%; }
.choix select option { background: var(--carte); color: var(--encre); }
.choix select:focus-visible { outline: 2px solid var(--sarcelle); outline-offset: 2px; }
.choix::after { content: ''; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--encre-doux); border-bottom: 1.5px solid var(--encre-doux); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.bascule { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: .93rem; color: var(--encre-doux); cursor: pointer; user-select: none; }
.bascule input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bascule__piste { position: relative; width: 40px; height: 24px; border-radius: 999px; background: rgba(29, 58, 71, .14); transition: background .2s; flex: none; }
.bascule__piste::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(29, 58, 71, .3); transition: transform .25s var(--ease); }
.bascule input:checked + .bascule__piste { background: var(--accent); }
.bascule input:checked + .bascule__piste::after { transform: translateX(16px); }
.bascule input:focus-visible + .bascule__piste { outline: 2px solid var(--sarcelle); outline-offset: 2px; }
.filtres-agenda__compte { margin: 0 0 0 auto; font-size: .9rem; color: var(--encre-pale); }
.filtres-agenda__effacer { border: 0; background: none; color: var(--sarcelle); font: 600 .9rem var(--sans); cursor: pointer; padding: 6px 2px; text-decoration: underline; text-underline-offset: .2em; }
.filtres-agenda__effacer[hidden] { display: none; }
@media (max-width: 700px) {
  .filtres-agenda { position: static; padding-top: 4px; }
  .filtres-agenda__themes { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px; scrollbar-width: none; }
  .filtres-agenda__themes::-webkit-scrollbar { display: none; }
  .puce { flex: none; }
  .choix { flex: 1 1 140px; }
  .filtres-agenda__ligne > .choix { flex-basis: 100%; }
  .choix select { width: 100%; }
  .filtres-agenda__compte { margin-left: 0; }
}

.agenda-mois { margin-top: clamp(36px, 5vw, 56px); }
.agenda-mois[hidden] { display: none; }
.agenda-mois__titre { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.9rem, 3vw, 2.4rem); margin: 0 0 18px; }
.agenda-mois__titre::after { content: ''; flex: 1; height: 1px; background: var(--trait); transform: translateY(-6px); }
.agenda-mois__titre small { font: 500 .85rem var(--sans); color: var(--encre-pale); }

.agenda__liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.session { display: grid; grid-template-columns: 92px 1fr auto; gap: 26px; align-items: center; background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 20px 24px 20px 20px; transition: border-color .3s, background .3s, box-shadow .3s; }
.session:hover { border-color: var(--trait-fort); background: var(--carte-2); box-shadow: 0 14px 30px -22px rgba(29, 58, 71, .45); }
.session[hidden] { display: none; }
.session__date { display: grid; justify-items: center; align-content: center; text-align: center; width: 92px; height: 100px; border-radius: 16px; background: rgba(47, 107, 130, .08); border: 1px solid rgba(47, 107, 130, .2); color: var(--sarcelle); font: 600 .72rem/1 var(--sans); text-transform: uppercase; letter-spacing: .12em; gap: 5px; }
.session__date b { font: 400 2.6rem/1 var(--serif); color: var(--encre); letter-spacing: 0; }
.session__date i { font-style: normal; color: var(--encre-pale); letter-spacing: .08em; }
.session__theme { font: 600 .76rem/1 var(--sans) !important; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px !important; }
.session__corps h3 { font-size: clamp(1.5rem, 2.2vw, 1.8rem); margin: 0 0 8px; }
.session__corps h3 a { color: inherit; text-decoration: none; }
.session__corps h3 a:hover { color: var(--or); }
.session__corps p { margin: 0; }
.session__meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--encre-doux); font-size: .95rem; }
.session__meta li { display: inline-flex; align-items: center; gap: 8px; }
.insecable { white-space: nowrap; }
.session__meta svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.session__meta strong { font-weight: 600; color: var(--encre); }
.session__note { font-size: .9rem; color: var(--terre); margin-top: 8px !important; }
.session__droite { display: grid; justify-items: end; gap: 8px; text-align: right; min-width: 190px; }
.session__prix { margin: 0; font: 500 2rem/1 var(--serif); color: var(--encre); }
.session__prix small { display: block; margin-top: 6px; font: 400 .8rem/1.2 var(--sans); color: var(--encre-pale); }
.session__places { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: .86rem; color: var(--accent); font-weight: 600; }
.session__places--dernier { color: var(--terre); }
.session__places--complet { color: var(--encre-pale); }
.jauge { display: inline-flex; gap: 4px; }
.jauge span { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.jauge span.pris { background: transparent; box-shadow: inset 0 0 0 1px var(--trait-fort); }
.session__droite .btn { min-height: 46px; padding: 10px 22px; margin-top: 4px; }
.session--complete { background: rgba(255, 255, 255, .35); }
.session--complete .session__date { background: transparent; border-color: var(--trait); color: var(--encre-pale); }
.session--complete .session__date b, .session--complete h3 { color: var(--encre-doux); }
.agenda__vide, .agenda__aucun { background: var(--carte); border: 1px dashed var(--trait-fort); border-radius: var(--rayon); padding: 26px; margin: 24px 0 0; color: var(--encre-doux); }
.agenda__aucun[hidden] { display: none; }
.agenda--court .session:nth-child(n+7) { display: none; }
@media (max-width: 760px) {
  .session { grid-template-columns: 70px 1fr; gap: 16px; padding: 16px; align-items: start; }
  .session__date { width: 70px; height: 84px; }
  .session__date b { font-size: 2rem; }
  .session__droite { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; justify-items: start; text-align: left; min-width: 0; gap: 10px 16px; padding-top: 14px; border-top: 1px solid var(--trait); }
  .session__places { justify-self: end; }
  .session__droite .btn { grid-column: 1 / -1; width: 100%; margin: 0; }
}

/* ---------------------------------------------------------------- Inscription */
.inscription { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 28px; }
.inscription__recap { position: sticky; top: 100px; }
.recap-session { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: start; background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 18px; margin: 0 0 16px; }
.recap-session img { width: 132px; height: 150px; object-fit: cover; border-radius: 14px; filter: saturate(.9) brightness(.97); }
.recap-session h2 { font-size: 1.7rem; margin: 0 0 10px; }
.recap-session .surtitre { margin-bottom: 8px; font-size: .76rem; }
.recap-session p { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: .96rem; color: var(--encre-doux); }
.recap-session p svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.inscription__montants { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 6px 20px; margin: 0 0 16px; }
.inscription__montants div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--trait); }
.inscription__montants div:last-child { border-bottom: 0; }
.inscription__montants dt { color: var(--encre-doux); }
.inscription__montants dd { margin: 0; font-weight: 600; white-space: nowrap; }
.inscription__montants .fort dt { color: var(--encre); font-weight: 700; }
.inscription__montants .fort dd { color: var(--or); font-size: 1.15rem; font-weight: 700; }
.inscription__montants div[hidden] { display: none; }
.ligne-promo { display: flex; gap: 10px; }
.ligne-promo input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .04em; }
.ligne-promo .btn { flex: none; }
.champ--promo .note { margin: 2px 0 0; }
.note--ok { color: #2f6b4a; border-left-color: #2f6b4a; }
.note--erreur { color: #8e3a26; border-left-color: #d77864; }
.case { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; font-size: .95rem; cursor: pointer; color: var(--encre-doux); }
.case input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--sarcelle); flex: none; }
.btn--large { width: 100%; margin: 6px 0 12px; }
@media (max-width: 900px) { .inscription { grid-template-columns: 1fr; } .inscription__recap { position: static; } }
@media (max-width: 480px) { .recap-session { grid-template-columns: 1fr; } .recap-session img { width: 100%; height: 170px; border-radius: 14px; } }
