/*
Theme Name: Collectif Open Source
Theme URI: https://collectifopensource.fr
Author: WPTechCare
Author URI: https://wptechcare.fr
Description: Thème sur mesure du Collectif Open Source : recherche et dialogue autour de la mise en scène. Fond blanc, bleu #0C80A1, sessions de recherche avec champs dédiés, formulaires intégrés.
Version: 1.0.11
Requires at least: 6.5
Requires PHP: 7.4
License: Tous droits réservés
Text Domain: collectif-open-source
*/
/* Collectif Open Source : styles communs à toutes les pages */
:root {
    --bleu: #0C80A1;
    --bleu-vif: #1AA3C9;
    --bleu-pale: #E3F1F6;
    --fond: #FFFFFF;
    --fond-2: #F3F7F9;
    --noir: #0B0B0B;
    --encre: #111416;
    --gris: #5D6870;
    --ligne: #DFE6EA;
    --titre: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
    --texte: "Inter", "Helvetica Neue", Arial, sans-serif;
    --marge: clamp(20px, 4vw, 56px);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: var(--texte); background: var(--fond); color: var(--encre); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  ::selection { background: var(--bleu); color: #fff; }
  .large { padding-inline: var(--marge); max-width: 1440px; margin-inline: auto; }
  .titre { font-family: var(--titre); font-weight: 700; letter-spacing: -.035em; line-height: .95; }
  .etiquette { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
  .etiquette::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bleu); }
  .pilule { display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; border-radius: 999px; font-weight: 500; font-size: 16px; transition: transform .25s, background .25s, color .25s; }
  .pilule:hover { transform: translateY(-2px); }
  .pilule-bleue { background: var(--bleu); color: #fff; }
  .pilule-bleue:hover { background: var(--bleu-vif); }
  .pilule-noire { background: var(--noir); color: #fff; }
  .pilule-noire:hover { background: var(--bleu); }
  .rond { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.2); transition: transform .3s; }
  .pilule:hover .rond { transform: rotate(-45deg); }

  .bandeau-maquette { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 90; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border: 1px solid var(--ligne); color: var(--gris); font-size: 12px; padding: 7px 14px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 20px rgba(0,0,0,.06); }

  /* En-tête */
  .entete { position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding: 16px var(--marge); display: flex; align-items: center; justify-content: space-between; transition: transform .4s ease; }
  .entete.cache { transform: translateY(-110%); }
  .entete-logo { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); }
  .entete-logo img { width: 62px; height: 62px; }
  .menu { display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); border: 1px solid var(--ligne); box-shadow: 0 8px 30px rgba(0,0,0,.05); }
  .menu a { padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 500; transition: background .2s, color .2s; }
  .menu a:hover { background: var(--fond-2); }
  .menu .menu-cta { background: var(--noir); color: #fff; }
  .menu .menu-cta:hover { background: var(--bleu); }
  .burger { display: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ligne); background: rgba(255,255,255,.92); backdrop-filter: blur(14px); cursor: pointer; }
  .burger span { display: block; width: 20px; height: 1.5px; background: var(--encre); margin: 5px auto; transition: transform .3s; }

  /* Accueil : titre géant + photo éclairée au projecteur */
  .scene { padding-top: 124px; }
  .scene h1 { font-size: clamp(64px, 15.6vw, 246px); text-transform: uppercase; line-height: .8; letter-spacing: -.055em; display: flex; flex-wrap: wrap; column-gap: .18em; }
  .scene h1 .ligne { display: block; overflow: hidden; padding-block: .05em; }
  .scene h1 .ligne span { display: block; transform: translateY(105%); animation: monte 1.1s cubic-bezier(.2,.7,.1,1) forwards; }
  .scene h1 .ligne:nth-child(2) span { animation-delay: .12s; }
  .scene h1 .bleu { color: var(--bleu); }
  @keyframes monte { to { transform: none; } }
  .plateau { position: relative; margin-top: clamp(14px, 2vw, 28px); height: min(68vh, 680px); min-height: 440px; border-radius: 32px; overflow: hidden; cursor: crosshair; background: var(--fond-2); }
  .plateau-fond, .plateau-lumiere { position: absolute; inset: 0; background: url("assets/img/banniere.webp") center 45% / cover no-repeat; }
  .plateau-fond { filter: grayscale(1) contrast(.8) brightness(1.2); opacity: .5; }
  .plateau-lumiere {
    --x: 62%; --y: 48%; --r: 260px;
    -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, #000 40%, transparent 100%);
            mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, #000 40%, transparent 100%);
  }
  .plateau-carte { position: absolute; left: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 2; max-width: 470px; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-radius: 24px; padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.12); opacity: 0; transform: translateY(20px); animation: arrive .9s .6s cubic-bezier(.2,.7,.1,1) forwards; }
  @keyframes arrive { to { opacity: 1; transform: none; } }
  .plateau-carte p { font-size: 18px; margin-bottom: 20px; }
  .plateau-carte p b { font-weight: 600; }
  .astuce { position: absolute; top: 22px; right: 22px; z-index: 2; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.88); color: var(--gris); }

  /* Défilant */
  .defilant { background: var(--bleu); color: #fff; overflow: hidden; padding: 22px 0; margin-top: clamp(60px, 8vw, 110px); }
  .defilant-piste { display: flex; width: max-content; animation: defile 48s linear infinite; }
  .defilant:hover .defilant-piste { animation-play-state: paused; }
  .defilant span { font-family: var(--titre); font-size: clamp(24px, 3vw, 40px); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; padding-right: 40px; display: flex; align-items: center; gap: 40px; }
  .defilant span::after { content: ""; width: 16px; height: 16px; border: 2px solid #fff; border-radius: 50%; }
  @keyframes defile { to { transform: translateX(-50%); } }

  /* Manifeste */
  .manifeste { padding: clamp(110px, 16vw, 220px) 0; }
  .manifeste .etiquette { margin-bottom: 40px; }
  .manifeste-texte { font-family: var(--titre); font-size: clamp(34px, 5.6vw, 84px); font-weight: 600; line-height: 1.04; letter-spacing: -.035em; max-width: 17ch; }
  .manifeste-texte .mot { opacity: .12; transition: opacity .25s, color .25s; }
  .manifeste-texte .mot.allume { opacity: 1; }
  .manifeste-texte .mot.fort.allume { color: var(--bleu); }
  .manifeste-pied { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 80px; max-width: 980px; margin-left: auto; color: var(--gris); }

  /* Bento */
  .bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); gap: 14px; }
  .case { border-radius: 26px; padding: 30px; position: relative; overflow: hidden; background: var(--fond-2); display: flex; flex-direction: column; justify-content: space-between; }
  .case-photo { padding: 0; }
  .case-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
  .case-photo:hover img { transform: scale(1.04); }
  .case-photo figcaption { position: absolute; left: 16px; bottom: 16px; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); }
  .grand { grid-column: span 2; grid-row: span 2; }
  .case-comite { grid-column: span 2; }
  .case-comite .noms { columns: 2; column-gap: 30px; margin-top: 20px; }
  .chiffre-geant { font-family: var(--titre); font-weight: 700; font-size: clamp(64px, 7vw, 110px); line-height: .85; letter-spacing: -.05em; }
  .case p { color: var(--gris); font-size: 16px; }
  .case-bleue { background: var(--bleu); color: #fff; }
  .case-bleue p, .case-bleue .etiquette { color: rgba(255,255,255,.9); }
  .case-bleue .etiquette::before { background: #fff; }
  .case-noire { background: var(--noir); color: #fff; }
  .case-noire p, .case-noire .etiquette { color: rgba(255,255,255,.75); }
  .case-blanche { background: var(--fond); border: 1.5px solid var(--ligne); }
  .case h3 { font-family: var(--titre); font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
  .noms { list-style: none; font-family: var(--titre); font-size: 22px; font-weight: 500; letter-spacing: -.01em; line-height: 1.45; }
  .tags { display: flex; flex-wrap: wrap; gap: 8px; }
  .tags li { list-style: none; padding: 7px 14px; border-radius: 999px; background: var(--bleu-pale); color: var(--bleu); font-size: 14px; font-weight: 500; }
  .cercles-deco { position: absolute; right: -50px; bottom: -60px; width: 230px; color: var(--bleu); opacity: .35; }
  .cercles-deco circle, .cercles-deco path { fill: none; stroke: currentColor; stroke-width: 2; }

  /* Méthode : cartes empilées */
  .methode { padding-block: clamp(110px, 14vw, 180px) 60px; }
  .tete { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 64px; }
  .tete h2 { font-size: clamp(46px, 7vw, 108px); margin-top: 18px; }
  .tete p { max-width: 36ch; color: var(--gris); }
  .pile { display: grid; gap: 22px; }
  .carte-etape { position: sticky; top: 110px; min-height: 380px; border-radius: 30px; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 5vw, 80px); align-items: start; box-shadow: 0 -16px 50px rgba(0,0,0,.06); --trait: var(--bleu); }
  .carte-etape:nth-child(1) { background: var(--fond-2); top: 100px; }
  .carte-etape:nth-child(2) { background: var(--bleu); color: #fff; top: 124px; --trait: #fff; }
  .carte-etape:nth-child(3) { background: var(--fond); border: 1.5px solid var(--ligne); top: 148px; }
  .carte-etape:nth-child(4) { background: var(--noir); color: #fff; top: 172px; --trait: var(--bleu-vif); }
  .num { font-family: var(--titre); font-size: clamp(90px, 13vw, 200px); font-weight: 700; line-height: .78; letter-spacing: -.06em; -webkit-text-stroke: 2px var(--trait); color: transparent; }
  .carte-etape h3 { font-family: var(--titre); font-size: clamp(34px, 4.4vw, 64px); font-weight: 700; letter-spacing: -.035em; line-height: 1; margin-bottom: 20px; }
  .carte-etape p { font-size: clamp(17px, 1.5vw, 21px); max-width: 38ch; opacity: .85; }
  .carte-etape .exemple { margin-top: 26px; font-size: 14px; opacity: .7; }

  /* Recherches : carrousel */
  .recherches { padding: clamp(110px, 14vw, 180px) 0 110px; }
  .fleches { display: flex; gap: 10px; }
  .fleches button { width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid var(--ligne); background: var(--fond); color: var(--encre); font-size: 20px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
  .fleches button:hover { background: var(--noir); border-color: var(--noir); color: #fff; }
  .carrousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--marge) 20px; scrollbar-width: none; scroll-padding-inline: var(--marge); }
  .carrousel::-webkit-scrollbar { display: none; }
  .fiche { flex: 0 0 clamp(290px, 34vw, 480px); scroll-snap-align: start; position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4/5; display: block; color: #fff; }
  .fiche img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, filter .6s; filter: grayscale(.3); }
  .fiche:hover img { transform: scale(1.05); filter: none; }
  .fiche::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.78) 100%); }
  .fiche-haut { position: absolute; top: 20px; left: 20px; right: 20px; z-index: 2; display: flex; justify-content: space-between; }
  .fiche-haut span { font-size: 13px; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--encre); }
  .fiche-bas { position: absolute; left: 26px; right: 26px; bottom: 26px; z-index: 2; }
  .fiche h3 { font-family: var(--titre); font-size: clamp(30px, 3vw, 42px); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
  .fiche-question { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s ease; }
  .fiche-question > p { overflow: hidden; font-size: 15px; color: rgba(255,255,255,.9); }
  .fiche:hover .fiche-question, .fiche:focus-visible .fiche-question { grid-template-rows: 1fr; }
  .fiche-question > p span { display: block; padding-top: 12px; }
  .fiche-tout { flex: 0 0 clamp(260px, 26vw, 360px); scroll-snap-align: start; border-radius: 26px; background: var(--bleu); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; }
  .fiche-tout .etiquette { color: rgba(255,255,255,.85); }
  .fiche-tout .etiquette::before { background: #fff; }
  .fiche-tout b { font-family: var(--titre); font-size: clamp(40px, 4vw, 60px); line-height: .95; letter-spacing: -.04em; }

  /* Archives */
  .archives { background: var(--fond-2); padding: clamp(100px, 13vw, 170px) 0; border-radius: 40px 40px 0 0; }
  .filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
  .filtres button { font: inherit; font-size: 15px; font-weight: 500; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--ligne); background: var(--fond); color: var(--encre); cursor: pointer; transition: all .2s; }
  .filtres button[aria-pressed="true"], .filtres button:hover { background: var(--noir); border-color: var(--noir); color: #fff; }
  .liste { list-style: none; border-top: 1px solid var(--ligne); }
  .ligne-session { border-bottom: 1px solid var(--ligne); }
  .ligne-session[hidden] { display: none; }
  .ligne-session button { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: 110px 1fr auto 44px; gap: 24px; align-items: center; padding: 22px 18px; border-radius: 16px; transition: background .25s, color .25s, padding .25s; }
  .ligne-session button:hover, .ligne-session.ouverte button { background: var(--bleu); color: #fff; padding-inline: 26px; }
  .ligne-session button:focus-visible { outline: 2px solid var(--bleu); }
  .an { font-family: var(--titre); font-size: 34px; font-weight: 700; letter-spacing: -.04em; color: var(--bleu); transition: color .25s; }
  .ligne-session button:hover .an, .ligne-session.ouverte .an { color: #fff; }
  .nom-session { font-family: var(--titre); font-size: clamp(21px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
  .mois-lieu { font-size: 14px; opacity: .75; text-align: right; }
  .plus { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 22px; transition: transform .3s; }
  .ligne-session.ouverte .plus { transform: rotate(45deg); }
  .detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
  .ligne-session.ouverte .detail { grid-template-rows: 1fr; }
  .detail > div { overflow: hidden; }
  .detail p { padding: 20px 26px 28px 160px; font-size: 18px; max-width: 980px; }
  .detail small { display: block; margin-top: 10px; font-size: 14px; color: var(--gris); }

  /* Rejoindre */
  .rejoindre { background: var(--bleu); color: #fff; padding: clamp(100px, 13vw, 170px) 0 clamp(80px, 10vw, 130px); position: relative; overflow: hidden; }
  .rejoindre h2 { font-size: clamp(54px, 10vw, 170px); text-transform: uppercase; line-height: .85; letter-spacing: -.055em; }
  .rejoindre-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 70px; align-items: end; }
  .rejoindre-grille > p { font-size: clamp(18px, 1.6vw, 22px); max-width: 34ch; }
  .statut { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.18); font-size: 14px; font-weight: 500; }
  .point { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: pulse 1.8s infinite; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
  .inscription { display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: #fff; }
  .inscription input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16px; padding: 0 20px; background: none; color: var(--encre); }
  .inscription button { border: 0; cursor: pointer; font: inherit; }
  .rgpd { margin-top: 14px; font-size: 13px; opacity: .85; }
  .grand-cercles { position: absolute; right: -8vw; top: -10vw; width: 46vw; opacity: .22; color: #fff; }
  .grand-cercles circle, .grand-cercles path { fill: none; stroke: currentColor; stroke-width: 1.2; }

  /* Lieux */
  .lieux { padding-block: 90px; }
  .lieux-liste { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; list-style: none; }
  .lieux-liste li { padding: 14px 22px; border-radius: 999px; border: 1.5px solid var(--ligne); font-family: var(--titre); font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; transition: background .2s, border-color .2s, color .2s; }
  .lieux-liste li:hover { background: var(--noir); border-color: var(--noir); color: #fff; }
  .lieux .soutien { margin-top: 26px; color: var(--gris); font-size: 14px; }

  /* Pied */
  .pied { background: var(--fond-2); padding: 80px 0 30px; overflow: hidden; border-radius: 40px 40px 0 0; }
  .pied-grille { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
  .pied h4 { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); margin-bottom: 14px; }
  .pied ul { list-style: none; display: grid; gap: 8px; }
  .pied a:hover { color: var(--bleu); }
  .mail { font-family: var(--titre); font-size: clamp(22px, 2.6vw, 38px); font-weight: 600; letter-spacing: -.03em; overflow-wrap: anywhere; line-height: 1.1; }
  .mail:hover { color: var(--bleu); }
  .wordmark { font-family: var(--titre); font-weight: 800; font-size: 17.2vw; line-height: .8; letter-spacing: -.06em; text-transform: uppercase; margin: 70px 0 30px; white-space: nowrap; color: var(--bleu); opacity: .14; user-select: none; }
  .pied-bas { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--gris); }

  /* Apparition au défilement */
  .revele { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.2,.7,.1,1), transform 1s cubic-bezier(.2,.7,.1,1); }
  .revele.vu { opacity: 1; transform: none; }
  .bento .revele:nth-child(2) { transition-delay: .08s; } .bento .revele:nth-child(3) { transition-delay: .16s; } .bento .revele:nth-child(4) { transition-delay: .24s; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .revele { opacity: 1; transform: none; }
    .manifeste-texte .mot { opacity: 1; }
  }

  @media (max-width: 1024px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .grand { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/10; }
    .tete { flex-direction: column; align-items: start; }
    .rejoindre-grille { grid-template-columns: 1fr; gap: 36px; }
    .pied-grille { grid-template-columns: 1fr 1fr; }
    .pied-grille > :first-child { grid-column: 1 / -1; }
  }
  @media (max-width: 760px) {
    body { font-size: 16px; }
    .menu { position: fixed; top: 92px; left: 14px; right: 14px; flex-direction: column; align-items: stretch; border-radius: 24px; padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s; background: rgba(255,255,255,.98); }
    .menu a { padding: 15px 18px; font-size: 18px; }
    .menu-ouvert .menu { opacity: 1; visibility: visible; transform: none; }
    .burger { display: block; }
    .menu-ouvert .burger span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
    .menu-ouvert .burger span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }
    .entete-logo { width: 62px; height: 62px; }
    .entete-logo img { width: 52px; height: 52px; }
    .scene { padding-top: 104px; }
    .plateau { height: auto; min-height: 0; aspect-ratio: 4/5; border-radius: 24px; overflow: visible; }
    .plateau-fond, .plateau-lumiere { border-radius: 24px; }
    .plateau-carte { left: 10px; right: 10px; bottom: 10px; max-width: none; padding: 20px; border-radius: 18px; }
    .plateau-carte p { font-size: 16px; margin-bottom: 14px; }
    .astuce { display: none; }
    .manifeste-pied { grid-template-columns: 1fr; gap: 20px; margin-top: 50px; }
    .bento { grid-template-columns: 1fr; }
    .grand, .case-comite { grid-column: auto; }
    .grand, .case-photo { aspect-ratio: 4/3; }
    .case { border-radius: 22px; }
    .carte-etape { grid-template-columns: 1fr; min-height: 0; gap: 10px; border-radius: 24px; }
    .carte-etape:nth-child(n) { top: 90px; }
    .fleches { display: none; }
    .ligne-session button { grid-template-columns: 1fr 40px; gap: 4px 14px; padding: 18px 10px; }
    .ligne-session button:hover, .ligne-session.ouverte button { padding-inline: 16px; }
    .an { font-size: 15px; font-family: var(--texte); font-weight: 600; letter-spacing: 0; }
    .mois-lieu { display: none; }
    .nom-session { grid-column: 1; }
    .plus { grid-column: 2; grid-row: 1 / 3; }
    .detail p { padding: 16px 16px 24px; font-size: 16px; }
    .archives, .pied { border-radius: 26px 26px 0 0; }
    .inscription { flex-direction: column; border-radius: 22px; }
    .inscription input { padding: 14px 16px; }
    .inscription .pilule { justify-content: center; }
    .pied-grille { grid-template-columns: 1fr; }
    .bandeau-maquette { font-size: 11px; bottom: 10px; }
  }

/* ===== Pages intérieures ===== */
.menu a[aria-current="page"]:not(.menu-cta) { background: var(--bleu-pale); color: var(--bleu); }
.lien-evitement { position: absolute; left: -9999px; top: 10px; z-index: 100; background: var(--noir); color: #fff; padding: 10px 16px; border-radius: 999px; }
.lien-evitement:focus { left: 10px; }

/* En-tête de page */
.page-tete { padding-block: 150px clamp(50px, 6vw, 80px); position: relative; overflow: hidden; }
.ariane { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 14px; color: var(--gris); margin-bottom: 30px; }
.ariane li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.ariane a:hover { color: var(--bleu); }
.ariane [aria-current] { color: var(--encre); }
.page-tete h1 { font-size: clamp(54px, 10vw, 160px); letter-spacing: -.05em; line-height: .88; margin-top: 18px; }
.page-tete h1 .bleu { color: var(--bleu); }
.page-intro { margin-top: 34px; font-size: clamp(19px, 1.8vw, 24px); max-width: 44ch; color: var(--gris); line-height: 1.5; }
.page-tete .cercles-deco { width: clamp(260px, 32vw, 460px); right: -60px; bottom: auto; top: 90px; opacity: .3; }

/* Le collectif */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.duo-texte p { font-size: 18px; color: #333a3f; }
.duo-texte p + p { margin-top: 18px; }
.duo-texte h2 { font-size: clamp(36px, 4.6vw, 64px); margin-bottom: 26px; }
.photo-ronde { border-radius: 30px; overflow: hidden; }
.photo-ronde img { width: 100%; height: 100%; object-fit: cover; }
.section { padding-block: clamp(80px, 10vw, 140px); }
.section-pale { background: var(--fond-2); border-radius: 40px; }
.valeurs-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 50px; }
.valeur { border-radius: 26px; padding: 34px; background: var(--fond); }
.valeur:nth-child(2) { background: var(--bleu); color: #fff; }
.valeur:nth-child(2) p { color: rgba(255,255,255,.88); }
.valeur h3 { font-family: var(--titre); font-size: 30px; letter-spacing: -.03em; margin: 40px 0 10px; }
.valeur p { color: var(--gris); font-size: 16px; }
.valeur-num { font-family: var(--titre); font-weight: 700; font-size: 15px; }
.membres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 50px; }
.membre { display: flex; align-items: center; gap: 18px; padding: 20px; border-radius: 22px; border: 1.5px solid var(--ligne); transition: border-color .2s, transform .2s; }
.membre:hover { border-color: var(--bleu); transform: translateY(-2px); }
.initiales { width: 58px; height: 58px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--bleu-pale); color: var(--bleu); font-family: var(--titre); font-weight: 700; font-size: 20px; }
.membre:nth-child(3n+2) .initiales { background: var(--bleu); color: #fff; }
.membre:nth-child(3n) .initiales { background: var(--noir); color: #fff; }
.membre b { font-family: var(--titre); font-size: 21px; font-weight: 600; letter-spacing: -.01em; display: block; line-height: 1.2; }
.membre span { font-size: 14px; color: var(--gris); }
.frise { list-style: none; margin-top: 50px; border-left: 2px solid var(--ligne); }
.frise li { position: relative; padding: 0 0 36px 34px; }
.frise li::before { content: ""; position: absolute; left: -8px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--fond); border: 2.5px solid var(--bleu); }
.frise li:last-child { padding-bottom: 0; }
.frise .an-frise { font-family: var(--titre); font-weight: 700; font-size: 30px; color: var(--bleu); letter-spacing: -.03em; }
.frise p { color: #333a3f; max-width: 60ch; }
.frise a { text-decoration: underline; text-decoration-color: var(--ligne); text-underline-offset: 3px; }
.frise a:hover { color: var(--bleu); text-decoration-color: currentColor; }

/* Liste des recherches */
.outils { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.outils .filtres { margin: 0; }
.recherche-champ { display: flex; align-items: center; gap: 10px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--ligne); min-width: min(320px, 100%); }
.recherche-champ:focus-within { border-color: var(--bleu); }
.recherche-champ input { border: 0; outline: 0; font: inherit; font-size: 15px; padding: 12px 0; width: 100%; background: none; color: var(--encre); }
.grille-sessions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 18px; }
.carte-session { display: flex; flex-direction: column; }
.carte-session[hidden] { display: none; }
.carte-visuel { position: relative; aspect-ratio: 4/3; border-radius: 24px; overflow: hidden; background: var(--fond-2); }
.carte-visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.carte-session:hover .carte-visuel img { transform: scale(1.04); }
.carte-visuel .pastille { position: absolute; top: 14px; left: 14px; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); }
.visuel-typo { display: flex; align-items: flex-end; padding: 26px; background: var(--bleu); color: #fff; font-family: var(--titre); font-weight: 700; font-size: clamp(30px, 3vw, 42px); line-height: .95; letter-spacing: -.04em; }
.visuel-typo.noir { background: var(--noir); }
.carte-session h2, .carte-session h3 { font-family: var(--titre); font-size: 25px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin: 18px 0 8px; transition: color .2s; }
.carte-session:hover h2, .carte-session:hover h3 { color: var(--bleu); }
.carte-session p { font-size: 15px; color: var(--gris); }
.carte-meta { font-size: 14px; color: var(--gris); margin-top: 10px; }
.aucun { display: none; padding: 40px; text-align: center; color: var(--gris); border: 1.5px dashed var(--ligne); border-radius: 24px; }

/* Page d'une session */
.session-tete { padding-block: 150px 40px; }
.session-tete h1 { font-size: clamp(42px, 7vw, 108px); letter-spacing: -.045em; line-height: .92; margin-top: 18px; max-width: 16ch; }
.session-tete .sous-titre { font-family: var(--titre); font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; color: var(--bleu); margin-top: 14px; letter-spacing: -.02em; }
.infos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; list-style: none; }
.infos li { padding: 10px 18px; border-radius: 999px; background: var(--fond-2); font-size: 15px; }
.infos li b { font-weight: 600; }
.session-une { border-radius: 32px; overflow: hidden; max-height: 640px; background: var(--fond-2); }
.session-une img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; }
.session-corps { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 6vw, 90px); padding-block: clamp(60px, 8vw, 110px); align-items: start; }
.session-texte p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; color: #262b2f; }
.session-texte p + p { margin-top: 22px; }
.session-texte .lettrine::first-letter { font-family: var(--titre); font-weight: 700; float: left; font-size: 4.2em; line-height: .8; padding: 6px 12px 0 0; color: var(--bleu); }
.session-texte h2 { font-family: var(--titre); font-size: 30px; letter-spacing: -.02em; margin: 46px 0 14px; }
.session-citation { margin: 44px 0; padding: 34px; border-radius: 26px; background: var(--bleu); color: #fff; }
.session-citation p { font-family: var(--titre); font-size: clamp(24px, 2.4vw, 32px) !important; font-weight: 600; letter-spacing: -.02em; line-height: 1.2 !important; color: #fff !important; }
.session-citation footer { margin-top: 16px; font-size: 15px; opacity: .85; }
.encart { position: sticky; top: 110px; display: grid; gap: 14px; }
.bloc { border-radius: 24px; padding: 28px; background: var(--fond-2); }
.bloc h2 { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); margin-bottom: 14px; font-family: var(--texte); }
.bloc .grand-nom { font-family: var(--titre); font-size: 22px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.puces li { padding: 7px 13px; border-radius: 999px; background: var(--fond); font-size: 14px; }
.docs { list-style: none; display: grid; gap: 8px; }
.docs a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: var(--fond); font-weight: 500; font-size: 15px; transition: background .2s, color .2s; }
.docs a:hover { background: var(--noir); color: #fff; }
.docs a span:last-child { font-size: 12px; padding: 4px 9px; border-radius: 999px; background: var(--bleu-pale); color: var(--bleu); flex: none; }
.bloc-vide { color: var(--gris); font-size: 15px; }
.galerie { columns: 3 260px; column-gap: 14px; }
.galerie button { all: unset; display: block; cursor: zoom-in; margin-bottom: 14px; border-radius: 20px; overflow: hidden; break-inside: avoid; }
.galerie button:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; }
.galerie img { width: 100%; height: auto; transition: transform .6s ease; }
.galerie button:hover img { transform: scale(1.03); }
.visionneuse { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; margin: auto; }
.visionneuse::backdrop { background: rgba(10,10,10,.86); }
.visionneuse img { max-width: 94vw; max-height: 86vh; border-radius: 14px; }
.visionneuse button { position: fixed; top: 18px; right: 18px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; font-size: 22px; cursor: pointer; }
.suite-sessions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-bottom: clamp(80px, 10vw, 130px); }
.suite-sessions a { border-radius: 26px; padding: 30px; background: var(--fond-2); transition: background .25s, color .25s; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; }
.suite-sessions a:hover { background: var(--bleu); color: #fff; }
.suite-sessions a:last-child { text-align: right; }
.suite-sessions small { font-size: 14px; opacity: .7; }
.suite-sessions b { font-family: var(--titre); font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }

/* Agenda */
.annonce { border-radius: 36px; background: var(--bleu); color: #fff; padding: clamp(34px, 6vw, 80px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: end; position: relative; overflow: hidden; }
.annonce h2 { font-size: clamp(40px, 6vw, 90px); letter-spacing: -.05em; line-height: .9; }
.annonce p { font-size: 18px; opacity: .92; }
.annonce .grand-cercles { width: 40vw; top: -12vw; right: -10vw; }
.etapes-agenda { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.etape-agenda { border-radius: 26px; padding: 30px; background: var(--fond-2); }
.etape-agenda b { font-family: var(--titre); font-size: 44px; color: var(--bleu); letter-spacing: -.04em; line-height: 1; }
.etape-agenda h3 { font-family: var(--titre); font-size: 24px; letter-spacing: -.02em; margin: 22px 0 8px; }
.etape-agenda p { color: var(--gris); font-size: 16px; }

/* Contact */
.contact-grille { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; padding-bottom: clamp(80px, 10vw, 140px); }
.contact-infos { display: grid; gap: 14px; }
.contact-infos .bloc a.mail { font-size: clamp(20px, 2vw, 28px); color: var(--bleu); }
.formulaire-contact { border-radius: 32px; border: 1.5px solid var(--ligne); padding: clamp(26px, 4vw, 48px); display: grid; gap: 18px; }
.formulaire-contact .deux { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.champ { display: grid; gap: 8px; font-size: 14px; font-weight: 500; }
.champ span em { font-style: normal; color: var(--gris); font-weight: 400; }
.champ input, .champ textarea, .champ select { font: inherit; font-size: 16px; padding: 15px 18px; border-radius: 16px; border: 1.5px solid var(--ligne); background: var(--fond); color: var(--encre); transition: border-color .2s; }
.champ textarea { min-height: 170px; resize: vertical; }
.champ input:focus, .champ textarea:focus, .champ select:focus { outline: none; border-color: var(--bleu); }
.formulaire-contact .pilule { justify-content: center; border: 0; cursor: pointer; font: inherit; }
.mention { font-size: 13px; color: var(--gris); }
.piege { position: absolute; left: -9999px; }

@media (max-width: 1024px) {
  .duo, .session-corps, .contact-grille, .annonce { grid-template-columns: 1fr; }
  .grille-sessions, .membres { grid-template-columns: 1fr 1fr; }
  .encart { position: static; }
  .valeurs-grille, .etapes-agenda { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page-tete, .session-tete { padding-block-start: 120px; }
  .grille-sessions, .membres, .suite-sessions, .formulaire-contact .deux { grid-template-columns: 1fr; }
  .suite-sessions a:last-child { text-align: left; }
  .section-pale { border-radius: 26px; }
  .session-une { border-radius: 22px; }
  .outils { flex-direction: column; align-items: stretch; }
}

/* Utilitaires */
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pied-titre { font-family: var(--texte); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); margin-bottom: 14px; }
.lire-session { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--bleu); }
.lire-session:hover { text-decoration: underline; }
a.duo:hover .pilule-noire { background: var(--bleu); }

/* Partenaires */
.partenaires-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 14px; margin: 26px 0 56px; }
.partenaire { display: flex; align-items: center; justify-content: center; height: 160px; padding: 30px 40px; border-radius: 24px; border: 1.5px solid var(--ligne); background: var(--fond); transition: border-color .25s, transform .25s, box-shadow .25s; }
.partenaire img { max-height: 70px; width: auto; max-width: 100%; }
.partenaire:hover { border-color: var(--bleu); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.06); }
.sous-etiquette { display: flex; }
@media (max-width: 760px) {
  .partenaires-logos { grid-template-columns: 1fr; }
  .partenaire { height: 130px; }
}

/* ===== Ajouts propres à WordPress ===== */
.admin-bar .entete { top: 32px; }
@media (max-width: 782px) { .admin-bar .entete { top: 46px; } }
.lien-bleu { color: var(--bleu); font-weight: 500; }
.lien-bleu:hover { text-decoration: underline; }
.carte-etape .exemple a, .etape-agenda a { text-decoration: underline; }
.fiche-sans-photo { background: var(--bleu); }
.fiche-sans-photo::after { display: none; }
.liste-recherches { padding-bottom: clamp(80px, 10vw, 140px); }
.bloc-valeurs { padding-block: clamp(50px, 7vw, 90px); }
.titre-section { font-size: clamp(40px, 6vw, 88px); margin: 16px 0 0; }
.titre-moyen { font-size: clamp(42px, 7vw, 100px) !important; }
.membres { list-style: none; }
.galerie-section { padding-bottom: clamp(60px, 8vw, 110px); }
.galerie-section .etiquette { margin-bottom: 26px; }
.annonce-texte { margin-bottom: 22px; }
.duo-lien { align-items: center; }
.duo-lien .carte-meta { margin: 16px 0 26px; }
.grande-accroche { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.45; }
.actions-404 { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.pilule-contour-sombre { border: 1.5px solid var(--ligne); }
.pilule-contour-sombre:hover { border-color: var(--noir); }
.agenda-contenu { margin-top: 14px; border-radius: 26px; background: var(--bleu-pale); padding: clamp(26px, 4vw, 44px); }

/* Messages des formulaires */
.alerte { padding: 16px 20px; border-radius: 16px; font-size: 16px; font-weight: 500; }
.alerte-ok { background: #E6F4EA; color: #1E5631; }
.alerte-erreur { background: #FDECEA; color: #8A1C12; margin-bottom: 14px; }
.rejoindre .alerte-ok { background: rgba(255,255,255,.95); }

/* Texte écrit dans l'éditeur WordPress */
.session-texte > p:first-of-type::first-letter { font-family: var(--titre); font-weight: 700; float: left; font-size: 4.2em; line-height: .8; padding: 6px 12px 0 0; color: var(--bleu); }
.session-texte h2, .contenu-page h2 { font-family: var(--titre); font-size: 30px; letter-spacing: -.02em; margin: 46px 0 14px; }
.session-texte h3, .contenu-page h3 { font-family: var(--titre); font-size: 23px; margin: 34px 0 10px; }
.session-texte ul, .session-texte ol, .contenu-page ul, .contenu-page ol { margin: 18px 0 18px 1.3em; }
.session-texte a, .contenu-page a { color: var(--bleu); text-decoration: underline; text-underline-offset: 3px; }
.session-texte img, .contenu-page img { border-radius: 18px; height: auto; }
.session-texte figure, .contenu-page figure { margin: 30px 0; }
.contenu-page { padding-bottom: clamp(80px, 10vw, 140px); max-width: 900px; font-size: 18px; }
.contenu-page p + p { margin-top: 16px; }
.agenda-contenu.contenu-page { max-width: none; padding-bottom: clamp(26px, 4vw, 44px); }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination .page-numbers { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--ligne); }
.pagination .current { background: var(--noir); color: #fff; border-color: var(--noir); }

/* Pages légales et liens associés */
.contenu-page mark { background: #FFF3BF; color: inherit; padding: 1px 4px; border-radius: 4px; }
.liens-legaux a:hover, .mention a, .rgpd a { text-decoration: underline; }
.mention a { color: var(--bleu); }
.rgpd a { color: inherit; }
.large.contenu-page { max-width: 1440px; }
.large.contenu-page > * { max-width: 820px; }
