/* Je suis Férale · sections. Chaque bloc du renderer a ses règles ici. */

/* ---- Qui t'accueille (preuve) ---- */
.fe-preuve-in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.fe-preuve-media { margin: 0; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); aspect-ratio: 1; }
.fe-preuve-media img { width: 100%; height: 100%; object-fit: cover; }
.fe-preuve-texte { font-size: 1.1rem; max-width: 36em; }
.fe-chiffres { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 2em 0 1.6em; padding-top: 1.6em; border-top: 1px solid var(--trait); }
.fe-chiffres b { display: block; font-family: var(--police-titre); font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--ambre-clair); line-height: 1; margin-bottom: 0.3em; }
.fe-chiffres span { font-size: 0.92rem; line-height: 1.4; display: block; color: var(--texte-clair); }
.fe-preuve-liens { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; }
.fe-preuve-liens a { font-size: 0.88rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.5em 1.1em; border: 1px solid var(--trait); border-radius: 999px; color: var(--papier); transition: background 0.2s, color 0.2s; }
.fe-preuve-liens a:hover { background: var(--papier); color: var(--foret); }
@media (max-width: 760px) {
  .fe-preuve-in { grid-template-columns: 1fr; }
  .fe-preuve-media { max-width: 420px; }
  .fe-chiffres { grid-template-columns: 1fr 1fr; }
}

/* ---- Pour qui ---- */
.fe-pourqui-in { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.fe-pourqui-media { margin: 0; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); }
.fe-pourqui-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.fe-coches { list-style: none; display: grid; gap: 14px; max-width: 40em; }
.fe-coches li { position: relative; padding-left: 2.1em; font-size: 1.08rem; line-height: 1.5; color: var(--encre); }
.fe-coches li::before {
  content: '';
  position: absolute; left: 0; top: 0.28em;
  width: 1.15em; height: 1.15em; border-radius: 50%;
  background: var(--mousse);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23000' opacity='.18'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23000' opacity='.18'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.fe-tarifs .fe-coches li::before, .fe-sombre .fe-coches li::before { background: var(--ambre-clair); }
.fe-tarifs .fe-coches li { color: var(--papier); }
@media (max-width: 760px) {
  .fe-pourqui-in { grid-template-columns: 1fr; }
  .fe-pourqui-media { max-width: 460px; }
}

/* ---- Le lieu ---- */
.fe-mosaique { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: clamp(36px, 5vw, 60px); }
.fe-mosaique figure { margin: 0; border-radius: var(--rayon-petit); overflow: hidden; aspect-ratio: 1; }
.fe-mosaique figure:nth-child(4n+2) { transform: translateY(22px); }
.fe-mosaique figure:nth-child(4n+3) { transform: translateY(-8px); }
.fe-mosaique img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.fe-mosaique figure:hover img { transform: scale(1.04); }
.fe-reperes { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 28px; }
.fe-reperes li { padding-top: 16px; border-top: 1px solid var(--trait); }
.fe-reperes h3 { font-size: 1.15rem; margin-bottom: 0.35em; }
.fe-reperes p { font-size: 0.96rem; color: var(--encre-doux); margin: 0; }
@media (max-width: 860px) { .fe-reperes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .fe-mosaique { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .fe-mosaique figure:nth-child(n) { transform: none; }
  .fe-reperes { grid-template-columns: 1fr; gap: 16px; }
}

/* ---- Programme : la frise des jours ---- */
.fe-programme-in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.fe-programme .fe-tete { position: sticky; top: calc(var(--nav-h) + 24px); margin-bottom: 0; }
.fe-jours { list-style: none; display: grid; gap: 0; position: relative; }
.fe-jour { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--trait); }
.fe-jour:last-child { border-bottom: 1px solid var(--trait); }
.fe-jour-etiquette { font-family: var(--police-titre); font-style: italic; font-size: 1.05rem; color: var(--mousse); margin: 0.2em 0 0; }
.fe-jour-titre { font-size: 1.5rem; margin-bottom: 0.35em; }
.fe-jour-texte { color: var(--encre-doux); max-width: 34em; }
@media (max-width: 860px) {
  .fe-programme-in { grid-template-columns: 1fr; }
  .fe-programme .fe-tete { position: static; margin-bottom: 8px; }
  .fe-jour { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
}

/* ---- Cartes avec photo ---- */
.fe-cartes-grille { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.fe-cartes-2 .fe-cartes-grille { grid-template-columns: repeat(2, 1fr); }
.fe-cartes-4 .fe-cartes-grille { grid-template-columns: repeat(4, 1fr); }
.fe-carte-media { margin: 0 0 18px; border-radius: var(--rayon-petit); overflow: hidden; aspect-ratio: 1; }
.fe-carte-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.fe-carte:hover .fe-carte-media img { transform: scale(1.04); }
.fe-carte-titre { font-size: 1.35rem; margin-bottom: 0.35em; }
.fe-carte-texte { font-size: 0.98rem; }
@media (max-width: 860px) { .fe-cartes-grille, .fe-cartes-4 .fe-cartes-grille { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fe-cartes-grille, .fe-cartes-2 .fe-cartes-grille, .fe-cartes-4 .fe-cartes-grille { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

/* ---- Quatre mots ---- */
.fe-valeurs-grille { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fe-valeurs-grille li { background: var(--papier-2); border-radius: var(--rayon); padding: 28px 24px; }
[data-fond="papier-2"] .fe-valeurs-grille li { background: var(--papier); }
.fe-valeurs-grille h3 { font-size: 1.5rem; font-style: italic; font-weight: 400; margin-bottom: 0.4em; font-variation-settings: 'opsz' 96, 'SOFT' 100, 'WONK' 1; }
.fe-valeurs-grille .pa-rich { font-size: 0.96rem; }
@media (max-width: 860px) { .fe-valeurs-grille { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .fe-valeurs-grille { grid-template-columns: 1fr; } }

/* ---- Tarifs ---- */
.fe-tarifs-in { max-width: 900px; }
.fe-tarifs-grille { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 36px; }
.fe-tarif { border: 1px solid var(--trait); border-radius: var(--rayon); padding: 30px 28px; text-align: center; }
.fe-tarif-fort { background: rgba(243, 238, 228, 0.06); border-color: var(--ambre); }
.fe-tarif h3 { font-size: 1.15rem; color: var(--sauge); font-family: var(--police-texte); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem; margin-bottom: 0.8em; }
.fe-tarif-prix { font-family: var(--police-titre); font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--papier); line-height: 1; margin: 0 0 0.3em; font-weight: 500; }
.fe-tarif-detail { color: var(--texte-clair); margin: 0; }
.fe-inclus { max-width: 34em; margin: 0 auto 26px; }
.fe-tarifs-note { text-align: center; color: var(--sauge); font-size: 0.95rem; max-width: 36em; margin: 0 auto; }
.fe-tarifs .fe-ctas { margin-top: 2em; }
@media (max-width: 560px) { .fe-tarifs-grille { grid-template-columns: 1fr; } }

/* ---- Invitation ---- */
.fe-appel-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.fe-appel-inverse .fe-appel-media { order: 2; }
.fe-appel-media { margin: 0; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); }
.fe-appel-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fe-appel-corps .pa-rich { font-size: 1.1rem; max-width: 32em; }
@media (max-width: 760px) { .fe-appel-in { grid-template-columns: 1fr; } .fe-appel-inverse .fe-appel-media { order: 0; } }

/* ---- Bannière bouton (brique générique) ---- */
.pa-b-cta { text-align: center; }
.pa-cta { max-width: 720px; }
.pa-cta-titre { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 0.5em; }
.pa-cta-texte { font-size: 1.1rem; margin-bottom: 1.6em; }
.pa-cta-foret { --encre: var(--papier); --encre-doux: var(--texte-clair); --trait: rgba(243, 238, 228, 0.16); background: var(--foret-2); color: var(--encre-doux); }
.pa-cta-ambre { background: var(--ambre); }
.pa-cta-ambre .btn-ambre { background: var(--foret); color: var(--papier); }
.pa-cta-papier { background: var(--papier-2); }

/* ---- Texte libre, citation, image + texte, grande image ---- */
.pa-b-rich .conteneur { max-width: 820px; }
.pa-center { text-align: center; }
.pa-b-quote .conteneur { max-width: 860px; text-align: center; }
.pa-quote { margin: 0; font-family: var(--police-titre); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.25; color: var(--encre); font-variation-settings: 'opsz' 96, 'SOFT' 100, 'WONK' 1; }
.pa-quote-by { margin-top: 1.2em; color: var(--texte-note); font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; }
.pa-imgtext { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.pa-imgtext.pa-reverse .pa-imgtext-media { order: 2; }
.pa-imgtext-media { margin: 0; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); }
.pa-imgtext-media img { width: 100%; object-fit: cover; }
.pa-imgtext-corps .pa-rich { font-size: 1.08rem; max-width: 34em; }
.pa-fullimg { margin: 0; }
.pa-fullimg img { width: 100%; max-height: 80vh; object-fit: cover; }
.pa-fullimg-cap { text-align: center; padding: 14px 20px 0; font-size: 0.92rem; color: var(--texte-note); font-style: italic; }
@media (max-width: 760px) { .pa-imgtext { grid-template-columns: 1fr; } .pa-imgtext.pa-reverse .pa-imgtext-media { order: 0; } }

/* Habillage des images (proportions / forme choisies dans l'admin) */
[data-format="portrait"] img { aspect-ratio: 3 / 4; }
[data-format="carre"] img { aspect-ratio: 1; }
[data-format="paysage"] img { aspect-ratio: 4 / 3; }
[data-format="pano"] img { aspect-ratio: 16 / 9; }
[data-forme="droit"] { border-radius: 0; }
[data-forme="arrondi"] { border-radius: var(--rayon); }
[data-forme="rond"] { border-radius: 50%; }
[data-forme="ovale"] { border-radius: 50% / 40%; }
[data-forme="polaroid"] { padding: 12px 12px 40px; background: #fff; border-radius: 4px; }
[data-forme="lisere"] { outline: 1px solid var(--sauge); outline-offset: 10px; }

/* ---- Section pliante ---- */
.pa-b-accordion .conteneur { max-width: 820px; }
.pa-acc-intro { margin-bottom: 1.4em; }
.pa-acc-liste { display: grid; gap: 0; border-top: 1px solid var(--trait); }
.pa-acc { border-bottom: 1px solid var(--trait); }
.pa-acc-titre { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; font-family: var(--police-titre); font-size: 1.25rem; color: var(--encre); position: relative; }
.pa-acc-titre::-webkit-details-marker { display: none; }
.pa-acc-titre::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--police-texte); font-size: 1.5rem; color: var(--mousse); transition: transform 0.25s; }
.pa-acc[open] .pa-acc-titre::after { transform: translateY(-50%) rotate(45deg); }
.pa-acc-corps { padding: 0 0 22px; max-width: 40em; }

/* ---- Témoignages ---- */
.pa-testi-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.pa-testi { margin: 0; background: var(--papier-2); border-radius: var(--rayon); padding: 28px; }
.pa-testi-texte { margin: 0 0 1em; font-family: var(--police-titre); font-style: italic; font-size: 1.2rem; line-height: 1.4; color: var(--encre); }
.pa-testi-auteur { font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mousse); }

/* ---- Liste à puces (brique) ---- */
.pa-b-iconlist .conteneur { max-width: 820px; }

/* ---- Galerie ---- */
.pa-gal { display: grid; gap: 14px; }
.pa-gal-2 { grid-template-columns: repeat(2, 1fr); }
.pa-gal-3 { grid-template-columns: repeat(3, 1fr); }
.pa-gal-4 { grid-template-columns: repeat(4, 1fr); }
.pa-gal-item { margin: 0; position: relative; }
.pa-gal-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rayon-petit); }
.pa-gal-mosaique .pa-gal-item:nth-child(3n+1) img { aspect-ratio: 3 / 4; }
.pa-gal-mosaique .pa-gal-item:nth-child(3n+2) img { aspect-ratio: 1; }
.pa-gal-item figcaption { margin-top: 8px; font-size: 0.9rem; color: var(--texte-note); }
.pa-cadre-nu img { border-radius: 0; }
.pa-cadre-polaroid .pa-gal-item { background: #fff; padding: 10px 10px 30px; border-radius: 4px; box-shadow: 0 8px 24px rgba(30, 43, 34, 0.12); }
.pa-cadre-polaroid img { border-radius: 0; }
.pa-cadre-lisere img { outline: 1px solid var(--sauge); outline-offset: 8px; }
.pa-gal-zoom { display: block; cursor: zoom-in; }
.pa-gal-media { display: block; position: relative; }
.pa-gal-playbtn { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(243, 238, 228, 0.9); }
.pa-gal-playbtn::after { content: ''; position: absolute; left: 55%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--foret); }
.pa-gal-videovide { display: block; aspect-ratio: 16 / 9; background: var(--papier-2); border-radius: var(--rayon-petit); }
.pa-car { position: relative; }
.pa-car-piste { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.pa-car-piste::-webkit-scrollbar { display: none; }
.pa-car-piste .pa-gal-item { flex: 0 0 min(72vw, 420px); scroll-snap-align: start; }
.pa-car-nav { display: none; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.pa-car-pret .pa-car-nav { display: flex; }
.pa-car-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--trait); background: var(--papier); color: var(--encre); font-size: 1.4rem; cursor: pointer; }
.pa-car-btn:hover { background: var(--foret); color: var(--papier); }
@media (max-width: 760px) { .pa-gal-3, .pa-gal-4 { grid-template-columns: repeat(2, 1fr); } }
.pa-lb { position: fixed; inset: 0; z-index: 200; background: rgba(20, 29, 23, 0.94); display: flex; align-items: center; justify-content: center; padding: 48px 64px; }
.pa-lb[hidden] { display: none; }
.pa-lb-media { max-width: 100%; max-height: 100%; display: flex; align-items: center; justify-content: center; }
.pa-lb-media img, .pa-lb-media video { max-width: 100%; max-height: 82vh; border-radius: var(--rayon-petit); }
.pa-lb-cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--texte-clair); font-size: 0.95rem; margin: 0; }
.pa-lb-fermer, .pa-lb-btn { position: absolute; border: none; background: rgba(243, 238, 228, 0.12); color: var(--papier); width: 46px; height: 46px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.pa-lb-fermer { top: 16px; right: 16px; }
.pa-lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.pa-lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.pa-lb-btn:disabled { opacity: 0.25; cursor: default; }
@media (max-width: 600px) { .pa-lb { padding: 56px 12px; } }

/* ---- Vidéo ---- */
.pa-video .conteneur { max-width: 960px; }
.pa-video-cadre { margin: 0; }
.pa-video-cadre video { width: 100%; border-radius: var(--rayon); background: var(--nuit); }
.pa-video-cadre figcaption { margin-top: 12px; text-align: center; font-size: 0.92rem; color: var(--texte-note); font-style: italic; }
.pa-video-attente { padding: 40px; text-align: center; border: 1px dashed var(--trait); border-radius: var(--rayon); color: var(--texte-note); }

/* ---- Prochaines dates : calendrier du mois + liste des sessions ---- */
.ag-intro { max-width: 44em; margin-bottom: 2em; }
.ag-deux { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.ag-cal { background: var(--papier-2); border-radius: var(--rayon); padding: 22px 22px 18px; }
.ag-cal[hidden] { display: none !important; }
.ag-cal-tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ag-cal-mois { margin: 0; font-family: var(--police-titre); font-size: 1.3rem; color: var(--encre); text-transform: capitalize; }
.ag-cal-nav { display: flex; gap: 6px; }
.ag-cal-fleche { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--trait); background: transparent; color: var(--encre); cursor: pointer; font-size: 1.1rem; }
.ag-cal-fleche:hover { background: var(--foret); color: var(--papier); }
.ag-cal-grille { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.ag-cal-nom { text-align: center; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--texte-note); padding-bottom: 6px; }
.ag-cal-case { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 8px; font-size: 0.92rem; color: var(--encre); border: none; background: transparent; font-family: inherit; }
.ag-cal-case.est-dehors { color: var(--texte-note); opacity: 0.45; }
.ag-cal-case.est-aujourdhui .ag-cal-num { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--mousse); }
.ag-cal-case.a-date { background: var(--mousse); color: var(--papier); cursor: pointer; border-radius: 0; }
.ag-cal-case.a-date.est-debut { border-radius: 8px 0 0 8px; }
.ag-cal-case.a-date.est-fin { border-radius: 0 8px 8px 0; }
.ag-cal-case.a-date.est-debut.est-fin { border-radius: 8px; }
.ag-cal-case.a-date.est-passee { background: var(--papier-3); color: var(--encre-doux); }
.ag-cal-case.a-date:hover { background: var(--foret); }
.ag-cal-point { display: none; }
.ag-cal-legende { margin: 12px 0 0; font-size: 0.82rem; color: var(--texte-note); display: flex; gap: 14px; flex-wrap: wrap; }
.ag-cal-cle { display: inline-flex; align-items: center; gap: 6px; }
.ag-cal-cle::before { content: ''; width: 14px; height: 10px; border-radius: 3px; background: var(--mousse); }
.ag-cal-note .ag-cal-aide { font-size: 0.9rem; color: var(--texte-note); margin: 0; }
.ag-liste { list-style: none; display: grid; gap: 14px; }
.ag-item { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 18px 20px; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--papier); transition: box-shadow 0.3s; }
.ag-item.est-visee { box-shadow: 0 0 0 3px var(--ambre-clair); }
.ag-date { margin: 0; display: grid; grid-auto-flow: column; align-items: baseline; gap: 5px; font-family: var(--police-titre); color: var(--encre); }
.ag-jour { font-size: 1.8rem; line-height: 1; }
.ag-jour-vide { opacity: 0.5; }
.ag-mois { font-family: var(--police-texte); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--encre-doux); }
.ag-fleche { color: var(--mousse); font-size: 1rem; padding: 0 2px; }
.ag-annee { font-family: var(--police-texte); font-size: 0.72rem; color: var(--texte-note); margin-left: 4px; }
.ag-titre { font-size: 1.15rem; margin-bottom: 0.15em; }
.ag-infos { font-size: 0.92rem; color: var(--encre-doux); margin: 0; }
.ag-heure:not(:empty) + .ag-lieu:not(:empty)::before { content: '·'; margin: 0 0.5em; opacity: 0.6; }
.ag-desc { margin: 0.4em 0 0; font-size: 0.94rem; color: var(--encre-doux); }
.ag-lien { font-size: 0.92rem; padding: 0.6em 1.3em; }
.ag-vide { color: var(--texte-note); font-style: italic; max-width: 40em; }
.ag-liste[hidden], .ag-item[hidden], .ag-mini[hidden], .ag-plus[hidden] { display: none !important; }
.ag-liste.est-plie .ag-item.est-cachee { display: none; }
.ag-plus { margin-top: 16px; }
.ag-plus-bouton { font-size: 0.92rem; padding: 0.6em 1.4em; }
.ag-zone { margin-top: 1.4em; }
.ag-mini { background: var(--papier-2); border-radius: var(--rayon-petit); padding: 16px 18px; }
.ag-mini-tete { margin: 0 0 10px; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mousse); }
.ag-mini-liste { list-style: none; display: grid; gap: 8px; }
.ag-mini-item { display: flex; gap: 12px; align-items: center; }
.ag-mini-item .ag-jour { font-size: 1.3rem; }
.ag-mini-titre { margin: 0; font-weight: 500; color: var(--encre); }
.ag-mini-infos { margin: 0; font-size: 0.88rem; }
@media (max-width: 860px) { .ag-deux { grid-template-columns: 1fr; } .ag-cal { max-width: 420px; } }
@media (max-width: 560px) { .ag-item { grid-template-columns: 1fr; gap: 10px; } .ag-lien { justify-self: start; } }

/* ---- Candidature ---- */
.fe-cand { background: var(--papier-2); }
.fe-cand-in { max-width: 760px; }
.fe-form { margin-top: 1.4em; }
.fe-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.fe-champ { display: grid; gap: 6px; }
.fe-champ span { font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em; color: var(--encre); }
.fe-champ input, .fe-champ textarea {
  font: inherit; font-size: 1rem; color: var(--encre);
  padding: 0.8em 1em; border: 1.5px solid var(--trait); border-radius: var(--rayon-petit);
  background: var(--papier); width: 100%; transition: border-color 0.2s;
}
.fe-champ input:focus, .fe-champ textarea:focus { outline: none; border-color: var(--mousse); }
.fe-champ-long { margin-top: 16px; }
.fe-champ textarea { resize: vertical; min-height: 120px; }
.fe-dispos { border: none; padding: 0; margin: 22px 0 0; }
.fe-dispos legend { font-size: 0.9rem; font-weight: 500; color: var(--encre); padding: 0; margin-bottom: 10px; }
.fe-cases { display: flex; flex-wrap: wrap; gap: 10px; }
.fe-case { display: inline-flex; align-items: center; gap: 8px; padding: 0.55em 1em; border: 1.5px solid var(--trait); border-radius: 999px; background: var(--papier); cursor: pointer; font-size: 0.95rem; color: var(--encre); transition: border-color 0.2s, background 0.2s; }
.fe-case:has(input:checked) { border-color: var(--mousse); background: color-mix(in srgb, var(--mousse) 14%, var(--papier)); }
.fe-case input { accent-color: var(--mousse); margin: 0; }
.fe-case[hidden] { display: none; }
.fe-engagement { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; margin-top: 26px; padding: 18px 20px; border-radius: var(--rayon); background: var(--papier); border: 1.5px solid var(--trait); cursor: pointer; }
.fe-engagement input { margin-top: 5px; width: 20px; height: 20px; accent-color: var(--mousse); }
.fe-engagement span { color: var(--encre); font-size: 1rem; line-height: 1.5; }
.fe-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fe-erreur { color: var(--brique); font-weight: 500; margin: 14px 0 0; }
.fe-erreur[hidden] { display: none; }
.fe-form .fe-ctas { margin-top: 1.6em; }
.fe-cand-apres { font-size: 0.92rem; color: var(--texte-note); margin-top: 1em; }
.fe-merci { margin-top: 1.4em; padding: 32px; background: var(--papier); border-radius: var(--rayon); border: 1.5px solid var(--sauge); }
.fe-merci[hidden] { display: none; }
.fe-merci-titre { font-size: 1.6rem; margin-bottom: 0.4em; }
.fe-form[hidden] { display: none; }
@media (max-width: 600px) { .fe-champs { grid-template-columns: 1fr; } }
