/* Amicale du personnel du CH Erdre et Loire — site public */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* --nuit, --bleu, --soleil, --corail sont redéfinies par les réglages (voir layout) */
  --nuit: #152248;
  --bleu: #4f66b0;
  --soleil: #f29b0c;
  --corail: #e2561b;
  --ciel: #eef2fb;
  --ciel-fonce: #dfe6f6;
  --encre: #1b2440;
  --texte: #3c4663;
  --gris: #6b7591;
  --ligne: #dbe2f0;
  --blanc: #fff;
  /* couleurs du logo, une par catégorie */
  --c-cyan: #1597c4;
  --c-rose: #d6558f;
  --c-violet: #93508d;
  --c-vert: #78900c;
  --c-orange: #d98300;
  --c-corail: #d4511a;
  --c-gris: #727a90;
  --c-bleu: #4f66b0;
  --titre: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --corps: "Figtree", "Segoe UI", system-ui, sans-serif;
  --large: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--corps); font-size: 1.0625rem; line-height: 1.6; color: var(--texte); background: var(--blanc); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--nuit); }
h1, h2, h3 { font-family: var(--titre); color: var(--encre); line-height: 1.08; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.17em; }
:focus-visible { outline: 3px solid var(--soleil); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lien-evitement { position: absolute; left: -999px; top: 0; background: var(--nuit); color: #fff; padding: .6rem 1rem; z-index: 100; }
.lien-evitement:focus { left: 1rem; }
.petit { font-size: .9rem; color: var(--gris); }
.lead { font-size: 1.15rem; }

.conteneur { width: min(100% - 32px, var(--large)); margin-inline: auto; }
.conteneur--etroit { width: min(100% - 32px, 760px); }
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section--ciel { background: var(--ciel); }
.section--nuit { background: var(--nuit); color: #c8d1ea; }
.section--nuit h2 { color: #fff; }
.entete-section { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .2rem 2rem; margin-bottom: 2rem; }
.entete-section h2 { grid-column: 1; margin: 0; }
.entete-section p { grid-column: 1; margin: .5rem 0 0; max-width: 62ch; color: var(--gris); }
.entete-section .lien-section { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
.lien-section { font-weight: 600; white-space: nowrap; }
.titre-bloc { font-size: 1.5rem; margin: 2.2rem 0 1rem; }
.titre-bloc:first-child { margin-top: 0; }
.vide { padding: 1.5rem; border: 2px dashed var(--ligne); border-radius: 14px; color: var(--gris); }
@media (max-width: 640px) {
  .entete-section { grid-template-columns: 1fr; }
  .entete-section .lien-section { grid-column: 1; grid-row: auto; margin-top: .6rem; }
}

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--corps); font-weight: 700; font-size: 1rem; padding: .78rem 1.3rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; line-height: 1.2; transition: background-color .15s, color .15s, border-color .15s; }
.btn--petit { padding: .55rem 1rem; font-size: .95rem; }
.btn--soleil { background: var(--soleil); color: #2a1a00; }
.btn--soleil:hover { background: #ffb22e; color: #2a1a00; }
.btn--nuit { background: var(--nuit); color: #fff; }
.btn--nuit:hover { background: var(--bleu); color: #fff; }
.btn--contour { border-color: var(--nuit); color: var(--nuit); background: transparent; }
.btn--contour:hover { background: var(--nuit); color: #fff; }
.btn:active { transform: translateY(1px); }
.lien-discret { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .95rem; text-decoration: none; }
.lien-discret:hover { text-decoration: underline; }
.lien-discret--clair { color: #fff; }
.lien-discret--clair:hover { color: var(--soleil); }
.lien-section-groupe { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: 1.4rem; }

/* Barre d'administration */
.barre-admin { background: #263258; color: #d6dcf0; font-size: .85rem; }
.barre-admin .conteneur { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: center; padding: .4rem 0; }
.barre-admin a { color: #fff; }
.alerte-hl { background: var(--soleil); color: #2a1a00; padding: .05rem .5rem; border-radius: 4px; font-weight: 700; }

/* En-tête */
.entete { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--ligne); }
.entete__barre { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.marque { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--encre); flex: none; }
.marque img { width: 58px; height: auto; }
.marque strong { display: block; font-family: var(--titre); font-weight: 800; font-size: 1.3rem; line-height: 1; letter-spacing: -.02em; }
.marque small { display: block; color: var(--gris); font-size: .85rem; margin-top: .2rem; }
.nav { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.nav ul a { display: block; padding: .5rem .75rem; border-radius: 999px; color: var(--encre); font-weight: 600; text-decoration: none; }
.nav ul a:hover { background: var(--ciel); color: var(--nuit); }
.nav ul a[aria-current] { background: var(--ciel-fonce); color: var(--nuit); }
.burger { display: none; margin-left: auto; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--nuit); }
.burger .ic { width: 28px; height: 28px; }
.entete__perm { margin: 0; background: var(--nuit); color: #c8d1ea; font-size: .9rem; }
.entete__perm .conteneur { display: flex; align-items: center; gap: .5rem; padding: .4rem 0; }
.entete__perm .ic { color: var(--soleil); }
.entete__perm a { color: #fff; font-weight: 600; }
.accueil .entete__perm { display: none; }
@media (max-width: 1060px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); background: #fff; flex-direction: column; align-items: stretch; padding: 5rem 1.2rem 2rem; transform: translateX(105%); transition: transform .22s ease; box-shadow: -12px 0 32px rgba(21, 34, 72, .18); overflow-y: auto; z-index: 60; }
  .nav.ouverte { transform: none; }
  .nav ul { flex-direction: column; }
  .nav ul a { font-size: 1.15rem; padding: .7rem 1rem; }
  .nav__cta { margin-top: 1rem; }
  .nav__fermer { position: absolute; top: 1rem; right: 1rem; }
  .voile { position: fixed; inset: 0; background: rgba(21, 34, 72, .45); z-index: 55; display: none; }
  .voile.visible { display: block; }
}
@media (min-width: 1061px) { .nav__fermer, .voile { display: none !important; } }
@media (max-width: 480px) { .marque small { display: none; } .marque img { width: 48px; } }

/* Fil d'Ariane */
.fil { font-size: .88rem; color: var(--gris); margin-bottom: 1rem; }
.fil ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.fil li + li::before { content: "/"; margin-right: .3rem; color: #b2bad0; }
.fil a { color: var(--gris); }

/* ---------- Héros de l'accueil ---------- */
.heros { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--ciel) 100%); }
.heros__grille { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(2.5rem, 6vw, 5rem) 0; }
.heros__surtitre { color: var(--bleu); font-weight: 600; margin-bottom: .8rem; }
.heros h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); max-width: 14ch; }
.heros__intro { font-size: 1.2rem; max-width: 46ch; color: var(--texte); }
.heros__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.6rem; }
.heros__raccourcis { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.heros__raccourcis a { display: inline-block; padding: .3rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--ligne); color: var(--encre); font-size: .92rem; font-weight: 500; text-decoration: none; }
.heros__raccourcis a:hover { border-color: var(--bleu); color: var(--bleu); }
/* la ronde : les six personnages du logo, en pastilles de couleur autour du ticket */
.heros__ticket { position: relative; }
.heros__ticket .ticket { position: relative; z-index: 1; }
.ronde { position: absolute; inset: -70px -50px; z-index: 0; pointer-events: none; }
.ronde i { position: absolute; border-radius: 50%; }
.ronde i:nth-child(1) { background: var(--c-cyan); width: 64px; height: 64px; left: 46%; top: 0; }
.ronde i:nth-child(2) { background: var(--c-violet); width: 44px; height: 44px; right: 6%; top: 10%; }
.ronde i:nth-child(3) { background: var(--c-rose); width: 54px; height: 54px; right: 0; top: 52%; }
.ronde i:nth-child(4) { background: #b4c41a; width: 48px; height: 48px; right: 22%; bottom: 0; }
.ronde i:nth-child(5) { background: var(--soleil); width: 58px; height: 58px; left: 12%; bottom: 4%; }
.ronde i:nth-child(6) { background: var(--corail); width: 34px; height: 34px; left: 0; top: 30%; }
@media (max-width: 900px) {
  .heros__grille { grid-template-columns: 1fr; }
  .ronde { display: none; }
}

/* ---------- Ticket « prochaine journée » (élément signature) ---------- */
.ticket { display: grid; grid-template-columns: 170px 1fr; background: #fff; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(21, 34, 72, .45); position: relative; }
.ticket__date { background: var(--nuit); color: #c8d1ea; border-radius: 22px 0 0 22px; padding: 1.4rem 1rem; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
/* perforations entre le talon et le ticket */
.ticket__date::after { content: ""; position: absolute; right: -6px; top: 14px; bottom: 14px; width: 12px; background: radial-gradient(circle at 6px 6px, #fff 4px, transparent 4.5px) 0 0 / 12px 16px repeat-y; }
.ticket__titre { font-size: .82rem; line-height: 1.25; color: #9eabd3; margin-bottom: .8rem; }
.ticket__jour { font-family: var(--titre); font-weight: 700; font-size: 1.15rem; color: #fff; text-transform: capitalize; }
.ticket__num { font-family: var(--titre); font-weight: 800; font-size: 5.6rem; line-height: .9; color: var(--soleil); letter-spacing: -.04em; }
.ticket__mois { font-family: var(--titre); font-weight: 700; font-size: 1.15rem; color: #fff; }
.ticket__delai { margin-top: auto; padding-top: .9rem; font-size: .85rem; font-weight: 600; color: #fff; }
.ticket__corps { padding: 1.4rem 1.5rem 1.3rem 1.8rem; display: flex; flex-direction: column; gap: .2rem; }
.ticket__lieu { font-size: .92rem; color: var(--gris); }
.ticket__lieu .ic { color: var(--bleu); }
.ticket__intro { font-weight: 700; color: var(--encre); margin-bottom: .5rem; }
.ticket__liste { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .35rem; }
.ticket__liste a { display: flex; align-items: center; gap: .7rem; padding: .35rem; margin: 0 -.35rem; border-radius: 12px; text-decoration: none; color: var(--encre); }
.ticket__liste a:hover { background: var(--ciel); }
.ticket__liste strong { display: block; line-height: 1.2; }
.ticket__liste small { display: block; color: var(--gris); font-size: .85rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ticket__lien { margin-top: auto; font-weight: 600; font-size: .95rem; }
@media (max-width: 520px) {
  .ticket { grid-template-columns: 1fr; }
  .ticket__date { border-radius: 22px 22px 0 0; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0 .6rem; align-items: baseline; padding: 1rem; }
  .ticket__titre { width: 100%; margin-bottom: .3rem; }
  .ticket__num { font-size: 3.4rem; }
  .ticket__delai { width: 100%; padding-top: .3rem; }
  .ticket__date::after { right: 14px; left: 14px; top: auto; bottom: -6px; width: auto; height: 12px; background: radial-gradient(circle at 6px 6px, #fff 4px, transparent 4.5px) 0 0 / 16px 12px repeat-x; }
}

/* Avatars d'exposants (image ou initiales, couleur de catégorie) */
.avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; color: #fff; font-family: var(--titre); font-weight: 800; background: var(--c-bleu); border: 3px solid var(--c-bleu); }
.avatar img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.avatar--grand { width: 64px; height: 64px; font-size: 1.3rem; }
.avatar--cyan { border-color: var(--c-cyan); background: var(--c-cyan); }
.avatar--rose { border-color: var(--c-rose); background: var(--c-rose); }
.avatar--violet { border-color: var(--c-violet); background: var(--c-violet); }
.avatar--vert { border-color: var(--c-vert); background: var(--c-vert); }
.avatar--orange { border-color: var(--c-orange); background: var(--c-orange); }
.avatar--gris { border-color: var(--c-gris); background: var(--c-gris); }

/* Étiquette de catégorie */
.cat { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; color: var(--c-bleu); }
.cat::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: currentColor; }
.cat--cyan { color: var(--c-cyan); } .cat--rose { color: var(--c-rose); } .cat--violet { color: var(--c-violet); }
.cat--vert { color: var(--c-vert); } .cat--orange { color: var(--c-orange); } .cat--corail { color: var(--c-corail); } .cat--gris { color: var(--c-gris); }

/* ---------- Agenda ---------- */
.pastille-date { flex: none; width: 74px; display: flex; flex-direction: column; align-items: center; background: #fff; border: 2px solid var(--nuit); border-radius: 14px; overflow: hidden; line-height: 1.1; text-align: center; }
.pastille-date span:first-child { width: 100%; background: var(--nuit); color: #fff; font-size: .78rem; font-weight: 600; padding: .2rem 0; }
.pastille-date strong { font-family: var(--titre); font-weight: 800; font-size: 1.9rem; color: var(--encre); padding-top: .15rem; }
.pastille-date span:last-child { font-size: .8rem; color: var(--gris); padding-bottom: .35rem; }
.pastille-date--mini { width: 52px; border-radius: 10px; }
.pastille-date--mini strong { font-size: 1.35rem; }
.pastille-date--mini span:first-child { font-size: .7rem; }
.pastille-date--grande { width: 96px; }
.pastille-date--grande strong { font-size: 2.6rem; }

.agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.jour { display: grid; grid-template-columns: 74px 1fr; gap: 1.2rem; position: relative; }
.jour > .pastille-date { align-self: start; }
.jour:not(:last-child)::before { content: ""; position: absolute; left: 36px; top: 84px; bottom: -1.6rem; border-left: 2px dashed var(--ligne); }
.jour__titre { margin: .2rem 0 .7rem; }
.jour__titre strong { font-family: var(--titre); font-size: 1.25rem; color: var(--encre); margin-right: .6rem; }
.jour__titre span { font-size: .88rem; font-weight: 600; color: var(--bleu); }
.jour__exposants { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.expo-ligne { display: grid; grid-template-columns: 76px 1fr auto; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--ligne); border-radius: 16px; padding: .6rem; text-decoration: none; color: var(--texte); transition: border-color .15s, box-shadow .15s; }
.expo-ligne:hover { border-color: var(--bleu); box-shadow: 0 8px 20px -14px rgba(21, 34, 72, .5); color: var(--texte); }
.expo-ligne__img img, .expo-ligne__img .visuel-vide { width: 76px; height: 76px; object-fit: cover; border-radius: 12px; }
.expo-ligne__texte { display: flex; flex-direction: column; min-width: 0; }
.expo-ligne__texte strong { font-family: var(--titre); font-size: 1.15rem; color: var(--encre); line-height: 1.2; }
.expo-ligne__texte > span:last-child { font-size: .93rem; color: var(--gris); line-height: 1.35; }
.expo-ligne__heure { font-size: .85rem; font-weight: 600; color: var(--nuit); background: var(--ciel); padding: .3rem .65rem; border-radius: 999px; white-space: nowrap; margin-right: .3rem; }
.agenda--compact .expo-ligne__heure { display: none; }
@media (max-width: 600px) {
  .jour { grid-template-columns: 1fr; gap: .4rem; }
  .jour .pastille-date { display: none; }
  .jour::before { display: none; }
  .expo-ligne { grid-template-columns: 60px 1fr; }
  .expo-ligne__img img, .expo-ligne__img .visuel-vide { width: 60px; height: 60px; }
  .expo-ligne__heure { grid-column: 2; justify-self: start; }
}
.duo-agenda { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.duo-agenda .entete-section { display: block; position: sticky; top: 110px; }
@media (max-width: 900px) { .duo-agenda { grid-template-columns: 1fr; } .duo-agenda .entete-section { position: static; } }

.liste-dates { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; }
.liste-dates li { display: flex; align-items: center; gap: .8rem; }
.liste-dates li > span:last-child { font-weight: 600; color: var(--encre); line-height: 1.25; }
.liste-dates small { display: block; font-weight: 400; color: var(--gris); font-size: .85rem; }

/* Exposants déjà venus */
.grille-passes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; }
.passe { display: flex; gap: .9rem; align-items: center; background: #fff; border-radius: 16px; padding: .8rem; text-decoration: none; color: var(--texte); border: 1px solid transparent; }
.passe:hover { border-color: var(--bleu); color: var(--texte); }
.passe__texte { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.passe__texte strong { font-family: var(--titre); color: var(--encre); font-size: 1.1rem; }
.passe__texte span { font-size: .88rem; color: var(--gris); }
.passe__texte small { font-size: .84rem; color: var(--bleu); font-weight: 600; margin-top: .2rem; }

/* ---------- Produits : étiquette de prix ronde ---------- */
.grille-produits { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.6rem; }
.produit { position: relative; display: flex; flex-direction: column; }
.produit__img { display: block; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ciel); }
.produit__img img, .produit__img .visuel-vide { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.produit__img:hover img { transform: scale(1.03); }
.produit__prix { position: absolute; top: -12px; right: min(-8px, 0px); width: 96px; height: 96px; border-radius: 50%; background: var(--soleil); color: #2a1a00; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(8deg); box-shadow: 0 10px 20px -10px rgba(120, 70, 0, .6); padding: .4rem; }
.produit__prix strong { font-family: var(--titre); font-weight: 800; font-size: 1.45rem; line-height: 1; letter-spacing: -.03em; }
.produit__prix small { font-size: .72rem; line-height: 1.15; font-weight: 600; margin-top: .15rem; }
.produit__prix--grand { width: 120px; height: 120px; top: -16px; right: -10px; }
.produit__prix--grand strong { font-size: 1.85rem; }
.produit__corps { padding: 1.1rem .2rem 0; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.produit__corps h3 { font-size: 1.45rem; margin: .1rem 0 .35rem; }
.produit__corps h3 a { color: var(--encre); text-decoration: none; }
.produit__corps h3 a:hover { color: var(--bleu); }
.produit__corps p { color: var(--gris); margin-bottom: .6rem; }
.produit__corps .btn { margin-top: auto; }
.produit__etiquette { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--c-corail); }
.produit__freq { font-size: .92rem; font-weight: 600; color: var(--nuit) !important; }
.produit__freq .ic { color: var(--soleil); }
.bandeau-info { display: flex; gap: .8rem; align-items: flex-start; margin-top: 2.5rem; padding: 1rem 1.2rem; background: var(--ciel); border-radius: 14px; }
.bandeau-info .ic { color: var(--bleu); width: 22px; height: 22px; margin-top: .15rem; }
.bandeau-info p { margin: 0; }
table.tarifs { border-collapse: collapse; width: 100%; max-width: 480px; font-size: 1.05rem; }
.tarifs th, .tarifs td { padding: .7rem .2rem; border-bottom: 1px dashed var(--ligne); text-align: left; font-weight: 500; }
.tarifs td { text-align: right; font-family: var(--titre); font-weight: 800; color: var(--encre); font-size: 1.2rem; }

/* ---------- Avantages ---------- */
.grille-offres { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1rem; }
.offre { --c: var(--c-bleu); display: grid; grid-template-columns: 112px 1fr; gap: 1rem; padding: .8rem; background: #fff; border: 1px solid var(--ligne); border-left: 5px solid var(--c); border-radius: 6px 18px 18px 6px; text-decoration: none; color: var(--texte); transition: box-shadow .15s, border-color .15s; }
.offre:hover { box-shadow: 0 12px 24px -16px rgba(21, 34, 72, .55); color: var(--texte); }
.offre--cyan { --c: var(--c-cyan); } .offre--rose { --c: var(--c-rose); } .offre--violet { --c: var(--c-violet); }
.offre--vert { --c: var(--c-vert); } .offre--orange { --c: var(--c-orange); } .offre--corail { --c: var(--c-corail); }
.offre__img img, .offre__img .visuel-vide { width: 112px; height: 112px; object-fit: cover; border-radius: 12px; background: var(--ciel); }
.offre__corps { display: flex; flex-direction: column; min-width: 0; }
.offre__nom { font-family: var(--titre); font-size: 1.2rem; color: var(--encre); line-height: 1.2; margin-top: .1rem; }
.offre__lieu { font-size: .88rem; color: var(--gris); }
.offre__gain { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .5rem; margin-top: auto; padding-top: .35rem; }
.offre__gain b { font-family: var(--titre); font-weight: 800; font-size: 1.5rem; color: var(--c); letter-spacing: -.02em; }
.offre__gain del { color: var(--gris); font-size: .95rem; }
.offre__gain em { font-style: normal; font-size: .8rem; font-weight: 700; color: #fff; background: var(--c); padding: .05rem .45rem; border-radius: 999px; }
.offre__cond { font-size: .82rem; color: var(--gris); line-height: 1.35; }
@media (max-width: 420px) { .grille-offres { grid-template-columns: 1fr; } .offre { grid-template-columns: 84px 1fr; } .offre__img img, .offre__img .visuel-vide { width: 84px; height: 84px; } }

.filtres { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filtres a { padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--ligne); text-decoration: none; color: var(--encre); font-weight: 600; font-size: .95rem; background: #fff; }
.filtres a:hover { border-color: var(--nuit); }
.filtres a[aria-current] { background: var(--nuit); border-color: var(--nuit); color: #fff; }

.gain { --c: var(--c-bleu); display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; padding: 1.3rem 1.6rem; border-radius: 18px; background: var(--ciel); margin-bottom: 1.2rem; }
.gain--cyan { --c: var(--c-cyan); } .gain--rose { --c: var(--c-rose); } .gain--violet { --c: var(--c-violet); }
.gain--vert { --c: var(--c-vert); } .gain--orange { --c: var(--c-orange); } .gain--corail { --c: var(--c-corail); }
.gain div { display: flex; flex-direction: column; }
.gain span { font-size: .85rem; color: var(--gris); font-weight: 600; }
.gain strong { font-family: var(--titre); font-size: 2.6rem; font-weight: 800; color: var(--c); line-height: 1; letter-spacing: -.03em; }
.gain del { font-family: var(--titre); font-size: 1.6rem; color: var(--gris); line-height: 1.3; }
.gain b { font-family: var(--titre); font-size: 1.6rem; color: var(--encre); line-height: 1.3; }
.conditions { display: flex; gap: .5rem; align-items: flex-start; font-weight: 600; color: var(--encre); }
.conditions .ic { color: var(--bleu); margin-top: .2rem; }
.codes { display: flex; gap: .7rem; background: #fff; border-radius: 12px; padding: .8rem 1rem; margin: .4rem 0 1rem; }
.codes .ic { color: var(--soleil); margin-top: .2rem; }
.codes span { display: block; font-weight: 600; color: var(--encre); user-select: all; }
.codes--caches { font-size: .95rem; }

/* ---------- Actualités ---------- */
.grille-actus { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.6rem; }
.actu__img { display: block; position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ciel); margin-bottom: .9rem; }
.actu__img img, .actu__img .visuel-vide { width: 100%; height: 100%; object-fit: cover; }
.actu__lecture { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--nuit); }
.actu time { font-size: .88rem; color: var(--gris); }
.actu h3 { margin: .2rem 0 .4rem; }
.actu h3 a { color: var(--encre); text-decoration: none; }
.actu h3 a:hover { color: var(--bleu); text-decoration: underline; }
.actu p { color: var(--gris); }
.date-article { display: block; color: var(--bleu); font-weight: 600; margin-bottom: .5rem; }
.image-article { margin: 0 0 2rem; }
.image-article img { border-radius: 20px; width: 100%; }

.video { margin: 1.5rem 0 2rem; }
.video__bouton { display: block; position: relative; width: 100%; padding: 0; border: 0; cursor: pointer; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.video__bouton img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video__play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: var(--soleil); color: #2a1a00; display: grid; place-items: center; }
.video__play .ic { width: 32px; height: 32px; fill: currentColor; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 18px; }
.video__note { font-size: .85rem; color: var(--gris); margin-top: .5rem; }

/* ---------- L'équipe ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.duo--haut { align-items: start; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }
.photo-equipe { margin: 0; }
.photo-equipe img { border-radius: 24px 24px 24px 6px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-equipe figcaption { font-size: .88rem; margin-top: .6rem; color: inherit; opacity: .8; }
.bureau-mini { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.5rem; }
.bureau-mini strong { display: block; color: #fff; font-family: var(--titre); font-size: 1.1rem; }
.bureau-mini span { font-size: .9rem; }
.membres { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.membres li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--ligne); }
.membres span { color: var(--gris); }
.membres strong { color: var(--encre); text-align: right; }
.correspondants { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .7rem; }
.correspondants li { background: #fff; border-radius: 14px; padding: .8rem 1rem; display: flex; flex-direction: column; }
.correspondants span { font-size: .85rem; color: var(--bleu); font-weight: 600; }
.correspondants strong { font-family: var(--titre); color: var(--encre); font-size: 1.1rem; }
.correspondants .a-pourvoir { background: transparent; border: 2px dashed var(--ciel-fonce); }
.correspondants .a-pourvoir strong { color: var(--gris); font-family: var(--corps); font-weight: 500; font-size: 1rem; }
.sommaire { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.sommaire a { padding: .35rem .85rem; border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; }

/* ---------- Pages intérieures ---------- */
.entete-page { background: var(--ciel); padding: clamp(1.6rem, 4vw, 2.6rem) 0 clamp(2rem, 4vw, 3rem); }
.entete-page h1 { margin: .3rem 0 .6rem; }
.entete-page__intro { font-size: 1.15rem; max-width: 62ch; margin: 0; }
.entete-page__infos { margin: .9rem 0 0; color: var(--gris); }
.entete-page__infos .ic { color: var(--bleu); }
.fiche-entete { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: center; }
.fiche-entete__img { position: relative; }
.fiche-entete__img img, .fiche-entete__img .visuel-vide { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; background: #fff; }
@media (max-width: 760px) { .fiche-entete { grid-template-columns: 1fr; gap: 1.5rem; } .fiche-entete__img { max-width: 420px; } }

.mise-en-page { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 920px) { .mise-en-page { grid-template-columns: 1fr; } }
.colonne { display: grid; gap: 1.2rem; position: sticky; top: 100px; }
@media (max-width: 920px) { .colonne { position: static; } }
.encart { background: var(--ciel); border-radius: 18px; padding: 1.3rem 1.4rem; }
.encart h2, .encart h3 { font-size: 1.2rem; margin-bottom: .8rem; }
.encart p:last-child { margin-bottom: 0; }
.encart--soleil { background: #fff3dc; }
.encart--nuit { background: var(--nuit); color: #c8d1ea; }
.encart--nuit h2 { color: #fff; }
.encart--nuit a { color: #fff; }
.encart .ic { color: var(--bleu); }
.encart--nuit .ic { color: var(--soleil); }
.mini-liste { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .4rem; }
.mini-liste a { font-weight: 600; }

.prochaine-venue { display: flex; gap: 1.3rem; align-items: center; padding: 1.2rem; background: #fff3dc; border-radius: 18px; margin-bottom: 1rem; }
.prochaine-venue p { margin: 0 0 .3rem; }
.prochaine-venue__titre { font-family: var(--titre); font-weight: 800; font-size: 1.35rem; color: var(--encre); line-height: 1.2; }
.autres-dates { font-weight: 600; color: var(--nuit); }
.historique { color: var(--gris); }

.coordonnees { list-style: none; margin: 0 0 .5rem; padding: 0; display: grid; gap: .6rem; }
.coordonnees li { display: flex; gap: .7rem; align-items: flex-start; }
.coordonnees .ic { margin-top: .25rem; }
.coordonnees a { font-weight: 600; word-break: break-word; }

.redac { max-width: 70ch; }
.redac h2 { font-size: 1.6rem; margin-top: 1.8em; }
.redac h3 { margin-top: 1.4em; }
.redac ul, .redac ol { padding-left: 1.3rem; }
.redac li { margin-bottom: .35rem; }
.redac li::marker { color: var(--soleil); }
.redac blockquote { margin: 1.5rem 0; padding: .4rem 0 .4rem 1.2rem; border-left: 4px solid var(--soleil); color: var(--encre); }
.redac table { border-collapse: collapse; width: 100%; margin: 1.2rem 0; font-size: .97rem; }
.redac th, .redac td { border-bottom: 1px solid var(--ligne); padding: .6rem .5rem; text-align: left; }
.redac thead th { color: var(--gris); font-weight: 600; font-size: .9rem; }

/* Documents */
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.doc { display: flex; align-items: center; gap: 1rem; padding: .8rem 1rem; background: #fff; border: 1px solid var(--ligne); border-radius: 14px; text-decoration: none; color: inherit; }
.doc:hover { border-color: var(--bleu); color: inherit; }
.doc__icone { flex: none; width: 44px; height: 50px; display: grid; place-items: center; border-radius: 6px 12px 6px 6px; background: #fde7df; color: var(--c-corail); font-weight: 800; font-size: .78rem; }
.doc__icone--lien { background: var(--ciel); color: var(--bleu); }
.doc__texte { flex: 1; min-width: 0; }
.doc__texte strong { display: block; color: var(--encre); line-height: 1.3; }
.doc__texte span { display: block; font-size: .86rem; color: var(--gris); }
.doc__action { color: var(--bleu); width: 22px; height: 22px; }

/* Formulaire */
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.champ { display: flex; flex-direction: column; gap: .35rem; }
.champ--large { grid-column: 1 / -1; }
.champ label { font-weight: 600; color: var(--encre); font-size: .95rem; }
.champ label small { font-weight: 400; color: var(--gris); }
.champ input, .champ select, .champ textarea { font: inherit; font-size: 1rem; padding: .75rem .9rem; border: 1px solid #c3cce0; border-radius: 12px; background: #fff; color: var(--encre); width: 100%; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--bleu); outline: 3px solid rgba(79, 102, 176, .22); outline-offset: 0; }
.champ textarea { min-height: 170px; resize: vertical; }
.case { grid-column: 1 / -1; display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: var(--gris); }
.case input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--nuit); flex: none; }
.pot-de-miel { position: absolute; left: -5000px; }
@media (max-width: 640px) { .formulaire { grid-template-columns: 1fr; } }
.message { padding: 1rem 1.2rem; border-radius: 14px; margin-bottom: 1.4rem; }
.message--ok { background: #e6f5e9; color: #1d5a2c; }
.message--erreur { background: #fde9e4; color: #7c2412; }
.message ul { margin: .3rem 0 0; padding-left: 1.2rem; }

/* Visuel par défaut : l'emblème de l'amicale sur fond ciel */
.visuel-vide { display: grid; place-items: center; background: var(--ciel); }
.visuel-vide img { width: 42%; max-width: 110px; height: auto !important; object-fit: contain !important; opacity: .55; }

/* Pied de page */
.pied { background: var(--nuit); color: #aeb9d9; font-size: .95rem; }
.pied__haut { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
.pied h2 { font-size: 1.05rem; color: #fff; margin-bottom: .9rem; letter-spacing: 0; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.pied a { color: #dfe5f5; text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; }
.pied__marque img { width: 64px; margin-bottom: .8rem; }
.pied__marque strong { color: #fff; }
.pied__bas { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.1rem 0 1.3rem; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: space-between; font-size: .86rem; }
.pied__bas span:last-child { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
@media (max-width: 860px) { .pied__haut { grid-template-columns: 1fr 1fr; } .pied__marque { grid-column: 1 / -1; } }
@media (max-width: 520px) { .pied__haut { grid-template-columns: 1fr; } }

.page-erreur { text-align: center; }
.page-erreur img { margin: 0 auto 1.5rem; }
.page-erreur__liens { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }

@media print {
  .entete, .pied, .barre-admin, .colonne, .ronde { display: none !important; }
  body { font-size: 12pt; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 640px) { .produit__prix { right: 6px; } .produit__prix--grand { right: 6px; } }
