/* =========================================================
   ASSOCIATION AWEN — FEUILLE DE STYLE
   1. Couleurs et polices (modifiez ici)
   ========================================================= */
:root {
  --fond: #F4F2F8;
  --carte: #FBFAFD;
  --bordure: #DDD8E8;
  --violet: #6A5B96;
  --violet-fonce: #4F4275;
  --dore: #94701E;
  --texte: #2A2638;
  --texte-doux: #6B6680;
  --lavande: #E6E0F2;
  --lavande-soutenu: #DCD4EC;
  --surligne: #FCE8A6;
  --rayon: 14px;
  --titre: "Marcellus", Georgia, serif;
  --corps: "Nunito", system-ui, sans-serif;
}

@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/marcellus-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/marcellus-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("../fonts/nunito-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("../fonts/nunito-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }

/* 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--fond); color: var(--texte); font-family: var(--corps); font-size: 16px; line-height: 1.65; padding-top: 76px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--titre); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: 56px; }
h2 { font-size: 38px; }
h3 { font-size: 24px; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--violet-fonce); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.a-completer { background: var(--surligne); padding: 0 4px; border-radius: 3px; }
[hidden] { display: none !important; }

/* 3. Mise en page */
.conteneur { max-width: 1296px; margin: 0 auto; padding: 0 48px; }
.section { padding: 56px 0; }
.section-serree { padding: 32px 0; }
.pile { display: flex; flex-direction: column; gap: 16px; }
.texte-court { max-width: 640px; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.duo.centre { align-items: center; }
.grille-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.colonne-centree { max-width: 720px; margin: 0 auto; }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.doux { color: var(--texte-doux); }
.petit { font-size: 14px; }

/* 4. Typo utilitaire */
.surtitre { font-family: var(--corps); font-weight: 700; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--dore); margin: 0; }
.chapo { font-size: 18px; color: var(--texte-doux); max-width: 600px; }

/* 5. Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 999px; background: var(--violet); color: #fff; border: 1px solid var(--violet); font-family: var(--corps); font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.bouton:hover { background: var(--violet-fonce); border-color: var(--violet-fonce); color: #fff; }
.bouton.contour { background: transparent; color: var(--violet); }
.bouton.contour:hover { background: var(--violet); color: #fff; }
.bouton.blanc { background: #fff; color: var(--violet); border-color: #fff; }
.bouton.blanc:hover { background: var(--lavande); border-color: var(--lavande); color: var(--violet-fonce); }
.bouton.petit { padding: 10px 20px; font-size: 14px; }
.bouton:disabled, .bouton[aria-disabled="true"] { opacity: .4; cursor: not-allowed; pointer-events: none; }
.lien-souligne { color: var(--violet); font-weight: 600; text-decoration: underline; }

/* 6. En-tête */
.entete { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--fond); border-bottom: 1px solid var(--bordure); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--texte); font-family: var(--titre); font-size: 24px; }
.marque:hover { color: var(--texte); }
.marque img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; border: 1px solid var(--bordure); background: #fff; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--texte); font-weight: 600; font-size: 15px; }
.menu a:hover { background: var(--lavande); color: var(--texte); }
.menu a[aria-current="page"] { background: var(--violet); color: #fff; }
.menu .bouton { margin-left: 10px; padding: 9px 20px; }
.menu .bouton.contour { color: var(--violet); }
.menu .bouton.contour:hover, .menu .bouton[aria-current="page"] { background: var(--violet); color: #fff; }
.bouton-menu { display: none; background: none; border: 1px solid var(--bordure); border-radius: 999px; padding: 8px 16px; font: 700 15px var(--corps); color: var(--texte); cursor: pointer; align-items: center; gap: 8px; }
.bouton-menu span { display: block; width: 16px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }

/* 7. En-tête de page intérieure */
.entete-page { padding: 96px 0 72px; }
.entete-page .pile { gap: 20px; }
.entete-page .surtitre { color: var(--texte-doux); font-size: 15px; }
.entete-page h1 { max-width: 900px; }

/* 8. Cartes, encarts, bandeaux */
.carte { background: var(--carte); border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 32px; }
.note { display: flex; gap: 16px; align-items: flex-start; border-left: 2px solid var(--dore); padding: 6px 0 6px 20px; font-size: 15px; max-width: 760px; }
.note img { width: 26px; height: 26px; flex: none; margin-top: 2px; }
.note .pile { gap: 8px; }
.bandeau { background: var(--violet); color: #fff; border-radius: 18px; padding: 56px 64px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.bandeau h2 { color: #fff; font-size: 34px; }
.bandeau p { color: rgba(255,255,255,.8); margin-top: 10px; max-width: 620px; }
.symbole { width: 28px; height: 28px; }

/* Encart à chargement au clic */
.externe { position: relative; border: 1px solid var(--bordure); border-radius: var(--rayon); overflow: hidden; min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px; text-align: center;
  background-color: var(--carte);
  background-image: repeating-linear-gradient(45deg, rgba(106,91,150,.07) 0 1px, transparent 1px 22px), repeating-linear-gradient(-45deg, rgba(106,91,150,.07) 0 1px, transparent 1px 22px); }
.externe .symbole { width: 40px; height: 40px; }
.externe .mention { font-size: 13px; color: var(--texte-doux); max-width: 340px; }
.externe.charge { padding: 0; background: #fff; display: block; min-height: 0; }
.externe iframe { width: 100%; border: 0; display: block; }
.externe .etiquette-lieu { position: absolute; top: 20px; left: 20px; background: #fff; border: 1px solid var(--bordure); border-radius: 10px; padding: 10px 14px; text-align: left; font-size: 14px; line-height: 1.4; }
.externe .etiquette-lieu strong { display: block; font-family: var(--titre); font-weight: 400; font-size: 16px; }
.externe.charge .etiquette-lieu { display: none; }

/* 9. Pastilles et étiquettes */
.pastille { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; line-height: 1.3; }
.pastille.therapeute { background: var(--lavande); color: var(--texte); }
.pastille.praticien { border: 1px solid var(--dore); color: var(--dore); }
.pastille.complet { background: var(--dore); color: #fff; }
.pastille.annule, .pastille.passe { background: #E4E2EA; color: var(--texte-doux); }
.pastilles { display: flex; flex-wrap: wrap; gap: 6px; }
.etiquettes { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.etiquettes li { border: 1px solid var(--bordure); border-radius: 999px; padding: 4px 12px; font-size: 13px; color: var(--texte-doux); background: #fff; }
.etiquettes.grandes li { font-size: 15px; padding: 8px 18px; color: var(--texte); }

/* 10. Arches, avatar, logo */
.arche { border-radius: 1000px 1000px 0 0; overflow: hidden; background: var(--lavande); }
.hero { padding: 80px 0 64px; }
.hero h1 { font-size: 60px; }
.hero h1 em { font-style: normal; color: var(--violet); display: block; }
.hero .texte { font-size: 18px; color: var(--texte-doux); max-width: 540px; }
.hero-visuel { position: relative; max-width: 440px; justify-self: end; width: 100%; }
.hero-visuel .arche { background: #fff; border: 1px solid var(--lavande-soutenu); aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; padding: 48px 32px 32px; }
.hero-visuel .arche img { width: 100%; height: 100%; object-fit: contain; }
.medaillon { position: absolute; left: -24px; bottom: 32px; width: 70px; height: 70px; border-radius: 50%; background: var(--lavande); border: 4px solid var(--fond); display: flex; align-items: center; justify-content: center; }
.medaillon img { width: 34px; height: 34px; }
.photo-arche { aspect-ratio: 4 / 5; max-width: 460px; width: 100%; }
.photo-arche img { width: 100%; height: 100%; object-fit: cover; }
.avatar { width: 56px; height: 70px; flex: none; border-radius: 28px 28px 0 0; background: var(--lavande); display: flex; align-items: center; justify-content: center; font-family: var(--titre); font-size: 20px; color: var(--violet); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.grand { width: 100%; max-width: 360px; height: auto; aspect-ratio: 4 / 5; border-radius: 1000px 1000px 0 0; font-size: 72px; }

/* 11. Accueil : trois rayons */
.rayons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--bordure); }
.rayon { padding: 32px 32px 8px; display: flex; flex-direction: column; gap: 12px; }
.rayon + .rayon { border-left: 1px solid var(--bordure); }
.rayon:first-child { padding-left: 0; }
.trait { display: block; width: 2px; height: 44px; background: var(--dore); margin: 0 0 8px 14px; border-radius: 2px; }
.trait.gauche { transform: rotate(18deg); }
.trait.droite { transform: rotate(-18deg); }
.compteur { color: var(--texte-doux); font-size: 14px; font-weight: 600; }
.citation { font-family: var(--titre); font-size: 30px; line-height: 1.35; margin: 0; }

/* 12. Événements (cartes compactes, liste, calendrier) */
.evt-mini { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; padding: 16px; align-items: center; }
.evt-mini .vignette { width: 92px; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--lavande); }
.evt-mini .vignette img { width: 100%; height: 100%; object-fit: cover; }
.evt-mini h3 { font-size: 19px; }
.evt-date { display: flex; align-items: baseline; gap: 8px; }
.evt-date .jour { font-family: var(--titre); font-size: 36px; line-height: 1; color: var(--texte); }
.evt-date .mois { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--dore); }

.agenda { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; align-items: start; }
.calendrier { padding: 24px; position: sticky; top: 100px; }
.cal-tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-tete h3 { font-size: 22px; text-transform: capitalize; }
.rond { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--bordure); background: #fff; color: var(--violet); font-size: 20px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.rond:hover { border-color: var(--violet); }
.cal-grille { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-grille .jsem { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--texte-doux); padding: 4px 0 8px; }
.cal-jour { aspect-ratio: 1; border: 1px solid transparent; border-radius: 50%; background: none; font: 600 14px var(--corps); color: var(--texte); display: flex; align-items: center; justify-content: center; padding: 0; }
.cal-jour.aujourdhui { border-color: var(--texte-doux); }
.cal-jour.avec-evt { background: var(--lavande); cursor: pointer; color: var(--violet-fonce); font-weight: 800; }
.cal-jour.avec-evt:hover { border-color: var(--violet); }
.cal-jour.selection { background: var(--violet); color: #fff; }
.cal-legende { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--texte-doux); margin-top: 16px; }
.cal-legende i { width: 14px; height: 14px; border-radius: 50%; background: var(--lavande); }
.liste-evt { display: flex; flex-direction: column; gap: 16px; }
.evt { display: grid; grid-template-columns: 76px minmax(0, 1fr) 120px; gap: 24px; align-items: start; transition: border-color .3s, box-shadow .3s; }
.evt.surbrillance { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet); }
.evt .evt-date { flex-direction: column; gap: 4px; align-items: flex-start; }
.evt .evt-date .jour { font-size: 48px; }
.evt h3 { font-size: 24px; }
.evt.est-annule h3 { text-decoration: line-through; color: var(--texte-doux); }
.evt .meta { color: var(--texte-doux); font-size: 14px; }
.evt .affiche { border: 0; padding: 0; background: var(--lavande); border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 4; cursor: zoom-in; width: 100%; }
.evt .affiche img { width: 100%; height: 100%; object-fit: cover; }
.description { white-space: pre-line; font-size: 15px; }
.lire-suite { background: none; border: 0; padding: 0; color: var(--violet); font: 700 15px var(--corps); cursor: pointer; text-decoration: underline; }
.lien-discret { font-size: 14px; color: var(--texte-doux); }
.vide { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 32px; }

.temps-forts { border-top: 1px solid var(--bordure); list-style: none; margin: 0; padding: 0; }
.temps-forts li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--bordure); }
.temps-forts .evt-date { flex-direction: column; align-items: flex-start; gap: 4px; }
.temps-forts h3 { font-size: 21px; margin-bottom: 4px; }
.temps-forts p { color: var(--texte-doux); font-size: 15px; }

/* 13. Carrousel d'affiches */
.carrousel { position: relative; }
.carrousel-piste { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; }
.carrousel-piste::-webkit-scrollbar { display: none; }
.carrousel-piste:focus-visible { outline-offset: 6px; }
.affiche-item { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; }
.carrousel.reduit .affiche-item { flex-basis: calc((100% - 96px) / 5); }
.affiche-item button { border: 0; padding: 0; background: var(--lavande); border-radius: var(--rayon); overflow: hidden; aspect-ratio: 3 / 4; cursor: zoom-in; box-shadow: 0 6px 20px rgba(42,38,56,.08); }
.affiche-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.affiche-item button:hover img { transform: scale(1.03); }
.affiche-item h3 { font-size: 18px; }
.affiche-item .date { font-size: 13px; color: var(--texte-doux); }
.carrousel-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.points { display: flex; gap: 8px; flex-wrap: wrap; }
.points button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--violet); background: transparent; padding: 0; cursor: pointer; }
.points button[aria-current="true"] { background: var(--violet); }
.fleches { display: flex; gap: 8px; }

/* 14. Visionneuse */
.visionneuse { position: fixed; inset: 0; z-index: 100; background: rgba(38, 30, 66, .9); display: flex; align-items: center; justify-content: center; padding: 64px 80px; }
.visionneuse figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 900px; max-height: 100%; }
.visionneuse img { max-height: calc(100vh - 240px); width: auto; border-radius: 10px; }
.visionneuse figcaption { color: #fff; text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; max-width: 640px; }
.visionneuse figcaption strong { font-family: var(--titre); font-weight: 400; font-size: 22px; }
.visionneuse figcaption .texte { color: rgba(255,255,255,.85); font-size: 14px; white-space: pre-line; max-height: 120px; overflow: auto; }
.visionneuse .rond { position: absolute; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; width: 48px; height: 48px; }
.visionneuse .fermer { top: 20px; right: 20px; font-size: 26px; }
.visionneuse .prec { left: 20px; top: 50%; transform: translateY(-50%); }
.visionneuse .suiv { right: 20px; top: 50%; transform: translateY(-50%); }

/* 15. Photos Instagram */
.mosaique { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mosaique.trois { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.photo { position: relative; border: 0; padding: 0; aspect-ratio: 1; border-radius: var(--rayon); overflow: hidden; background: var(--lavande); cursor: zoom-in; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .voile { position: absolute; inset: 0; background: rgba(106,91,150,.85); color: #fff; opacity: 0; transition: opacity .25s; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; text-align: left; font: 600 13px/1.4 var(--corps); }
.photo:hover .voile, .photo:focus-visible .voile { opacity: 1; }
.photo .lecture { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.onglets { display: flex; gap: 8px; }
.onglets button { border: 1px solid var(--bordure); background: #fff; color: var(--texte); border-radius: 999px; padding: 8px 20px; font: 700 14px var(--corps); cursor: pointer; }
.onglets button[aria-selected="true"] { background: var(--violet); border-color: var(--violet); color: #fff; }

/* 16. Thérapeutes */
.filtres { display: flex; flex-wrap: wrap; gap: 10px; }
.filtres button { border: 1px solid var(--bordure); background: #fff; color: var(--texte); border-radius: 999px; padding: 10px 20px; font: 700 15px var(--corps); cursor: pointer; }
.filtres button small { font-size: 13px; font-weight: 600; color: var(--texte-doux); }
.filtres button[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); color: #fff; }
.filtres button[aria-pressed="true"] small { color: rgba(255,255,255,.8); }
.carte-ther { display: flex; flex-direction: column; gap: 16px; padding: 16px 16px 24px; }
.carte-ther .corps, .carte-ther .etiquettes, .carte-ther .boutons { padding: 0 8px; }
.carte-ther h3 { font-size: 24px; margin-top: 10px; }
.carte-ther .boutons { margin-top: auto; padding-top: 4px; }
.carte-ther .bouton { padding: 10px 18px; font-size: 14px; }
.portrait { position: relative; display: block; text-decoration: none; aspect-ratio: 4 / 3; border-radius: 1000px 1000px 10px 10px / 1000px 1000px 10px 10px; overflow: hidden; background: var(--lavande); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .5s; }
.carte-ther:hover .portrait img { transform: scale(1.03); }
.portrait.sans-photo { display: flex; align-items: center; justify-content: center; background-color: var(--lavande); background-image: repeating-linear-gradient(45deg, rgba(106,91,150,.08) 0 1px, transparent 1px 20px), repeating-linear-gradient(-45deg, rgba(106,91,150,.08) 0 1px, transparent 1px 20px); }
.portrait .initiales { position: relative; margin-top: 36px; font-family: var(--titre); font-size: 56px; color: var(--violet); letter-spacing: .04em; }
.portrait .symbole-fond { position: absolute; width: 32px; height: 32px; top: 12%; left: 50%; transform: translateX(-50%); opacity: .5; }
.carte-ther:hover .portrait.sans-photo img { transform: translateX(-50%); }
.squelette { background: var(--lavande); border-radius: var(--rayon); min-height: 220px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.erreur-chargement { color: var(--texte-doux); padding: 24px 0; }
.fiche { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 72px; align-items: start; }
.fiche h1 { font-size: 52px; }
.fiche-visuel { position: relative; position: sticky; top: 100px; }
.fiche-visuel .avatar.grand { max-width: none; border: 1px solid var(--lavande-soutenu); }
.fiche-visuel .avatar.grand img { object-position: center 25%; }
.fiche-texte { gap: 22px; padding-top: 24px; }
.presentation { font-size: 17px; line-height: 1.8; max-width: 620px; }
.fiche .coordonnees { max-width: 560px; }
.coordonnees dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 20px; margin: 0; font-size: 15px; }
.coordonnees dt { font-weight: 700; color: var(--texte-doux); }
.coordonnees dd { margin: 0; overflow-wrap: anywhere; }

/* 17. Avis */
.note-globale { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.note-globale .valeur { font-family: var(--titre); font-size: 88px; line-height: 1; }
.etoiles { color: var(--dore); font-size: 28px; letter-spacing: 4px; }
.etoiles .vide { color: var(--bordure); }
.temoignages { columns: 3; column-gap: 24px; }
.temoignages figure { break-inside: avoid; margin: 0 0 24px; display: flex; flex-direction: column; gap: 16px; }
.temoignages blockquote { margin: 0; font-family: var(--titre); font-size: 21px; line-height: 1.4; }
.temoignages figcaption { font-weight: 800; }

/* 18. Charte */
.texte-charte { max-width: 640px; margin: 0 auto; }
.texte-charte header { display: flex; flex-direction: column; gap: 12px; padding-bottom: 28px; border-bottom: 1px solid var(--bordure); margin-bottom: 28px; }
.texte-charte header img.logo { width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--bordure); object-fit: cover; background: #fff; }
.articles { list-style: none; counter-reset: art; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.articles li { counter-increment: art; position: relative; padding-left: 64px; font-size: 15px; line-height: 1.8; }
.articles li::before { content: counter(art); position: absolute; left: 0; top: -6px; font-family: var(--titre); font-size: 34px; color: var(--dore); line-height: 1; width: 44px; text-align: right; }
.articles li p + p { margin-top: 10px; }
.definitions { margin-top: 36px; padding: 24px 28px; }
.definitions .pile { gap: 8px; font-size: 15px; }

/* 19. Formulaires */
.formulaire { display: flex; flex-direction: column; gap: 18px; }
.formulaire h2, .formulaire h3 { font-size: 28px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ label, .legende { font-weight: 700; font-size: 14px; }
.champ .facultatif { font-weight: 400; color: var(--texte-doux); }
.duo-champs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], select, textarea { width: 100%; font: 400 16px var(--corps); color: var(--texte); background: #fff; border: 1px solid var(--bordure); border-radius: 10px; padding: 12px 14px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--violet); outline-offset: 0; border-color: var(--violet); }
textarea { min-height: 140px; resize: vertical; }
.case { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.case input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--violet); flex: none; }
.choix { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; }
.choix legend { padding: 0; margin-bottom: 4px; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mention { font-size: 13px; color: var(--texte-doux); }
.message-ok { background: var(--lavande); border-radius: 10px; padding: 18px 20px; font-weight: 600; }
.message-erreur { color: #9B2C2C; font-size: 14px; font-weight: 600; }
.coches { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.coches li { position: relative; padding-left: 30px; }
.coches li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 7px; height: 12px; border: solid var(--dore); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* 20. Nous rejoindre */
.chemins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.chemin { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--texte); padding: 28px; transition: border-color .2s, transform .2s; }
.chemin:hover { border-color: var(--violet); color: var(--texte); transform: translateY(-2px); }
.chemin h2 { font-size: 23px; }
.chemin p:not(.surtitre) { color: var(--texte-doux); font-size: 15px; }
.chemin .fleche { margin-top: auto; color: var(--violet); font-size: 22px; padding-top: 8px; }
.chemin.soutenu { background: var(--lavande); }
.etapes { display: flex; gap: 10px; flex-wrap: wrap; }
.etapes span { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--bordure); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 14px; font-weight: 700; color: var(--texte-doux); background: #fff; }
.etapes b { width: 24px; height: 24px; border-radius: 50%; background: var(--lavande); color: var(--violet); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.etapes span.active { color: var(--texte); border-color: var(--violet); }
.etapes span.active b { background: var(--violet); color: #fff; }
.infos-contact { display: flex; flex-direction: column; gap: 24px; }
.infos-contact .pile { gap: 6px; }
.horaires { border-collapse: collapse; }
.horaires td { padding: 3px 32px 3px 0; }

/* 21. Pages juridiques */
.juridique { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.juridique h3 { margin-top: 32px; font-size: 26px; }
.juridique ul { margin: 0; padding-left: 20px; }
.tableau-donnees { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--carte); border: 1px solid var(--bordure); border-radius: var(--rayon); overflow: hidden; }
.tableau-donnees th { text-align: left; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-doux); padding: 14px; border-bottom: 1px solid var(--bordure); }
.tableau-donnees td { padding: 14px; border-bottom: 1px solid var(--bordure); vertical-align: top; }
.tableau-donnees tr:last-child td { border-bottom: 0; }
.defile-x { overflow-x: auto; }

/* 22. Pied de page */
.pied { border-top: 1px solid var(--bordure); margin-top: 56px; padding: 56px 0 28px; font-size: 15px; }
.pied .grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.pied .marque { font-size: 22px; }
.pied .marque img { width: 30px; height: 30px; border: 0; border-radius: 0; background: none; }
.pied p { color: var(--texte-doux); }
.pied ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pied ul a, .pied .pile a { color: var(--texte); text-decoration: none; }
.pied ul a:hover, .pied .pile a:hover { color: var(--violet); text-decoration: underline; }
.pied .bas { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--bordure); font-size: 13px; color: var(--texte-doux); }
.pied .bas a { color: var(--texte-doux); }

/* 23. Bureau */
.bureau-sync { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.etat-ok { color: #2F6B3A; font-weight: 700; }
.etat-ko { color: #9B2C2C; font-weight: 700; }

/* 24. Responsive */
@media (max-width: 1080px) {
  .bouton-menu { display: inline-flex; }
  .menu { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--fond); border-bottom: 1px solid var(--bordure); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 4px; }
  .menu.ouvert { display: flex; }
  .menu a { padding: 12px 16px; }
  .menu .bouton { margin: 8px 0 0; }
}
@media (max-width: 860px) {
  .conteneur { padding: 0 16px; }
  h1, .hero h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .section { padding: 40px 0; }
  .entete-page { padding: 56px 0 40px; }
  .duo, .grille-3, .agenda, .fiche, .chemins, .pied .grille, .duo-champs, .bureau-sync { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .rayons { grid-template-columns: minmax(0, 1fr); }
  .rayon, .rayon:first-child { padding: 28px 0 8px; }
  .rayon + .rayon { border-left: 0; border-top: 1px solid var(--bordure); }
  .hero-visuel { justify-self: center; max-width: 340px; }
  .medaillon { left: -8px; }
  .calendrier { position: static; }
  .evt { grid-template-columns: 60px minmax(0, 1fr); }
  .evt .affiche { grid-column: 2; max-width: 160px; }
  .evt .evt-date .jour { font-size: 38px; }
  .temps-forts li { grid-template-columns: 80px minmax(0, 1fr); }
  .temps-forts li .pastille { grid-column: 2; justify-self: start; }
  .affiche-item, .carrousel.reduit .affiche-item { flex-basis: 80%; }
  .mosaique { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mosaique.trois { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .temoignages { columns: 1; }
  .bandeau { padding: 36px 24px; }
  .bandeau h2 { font-size: 28px; }
  .carte { padding: 24px; }
  .citation { font-size: 24px; }
  .note-globale .valeur { font-size: 64px; }
  .visionneuse { padding: 72px 12px; }
  .visionneuse .prec, .visionneuse .suiv { top: auto; bottom: 16px; transform: none; }
  .fiche h1 { font-size: 38px; }
  .avatar.grand { max-width: 300px; }
  .fiche-visuel { position: relative; top: 0; max-width: 300px; justify-self: center; width: 100%; }
  .fiche-texte { padding-top: 0; }
}

/* 25. Nouveau logo et retrait des tribann (octobre 2026) */
/* Le logo n'est plus carré : on l'affiche en entier, sans le rogner. */
.marque img, .texte-charte header img.logo { object-fit: contain; padding: 2px; }
/* Tous les tribann (images/awen.svg) sont masqués, où qu'ils soient :
   pied de page, encadrés, encarts carte et vidéo, fiches sans photo. */
img[src$="awen.svg"] { display: none !important; }
/* Pastille ronde à côté du logo de l'accueil, qui ne contenait que le tribann. */
.medaillon { display: none !important; }
/* Les trois traits dorés de la section « Trois rayons » formaient un tribann. */
.trait { display: none !important; }
/* L'encadré « note » sans icône : on garde un retrait propre. */
.note { gap: 0; }

/* SEO 2026-10-05 : les sous-titres des pages juridiques passent de H3 a H2 (hierarchie des titres), meme apparence qu'avant */
.juridique h2 { margin-top: 32px; font-size: 26px; }
