/* Styles des blocs Tier B (palette "Ajouter une section").
   Reutilise les variables :root et les classes de styles.css (titre-section,
   tarifs, liste-changements...). Chargee seulement quand la page contient un
   bloc Tier B (ou en mode edition). */

.pa-b { padding: clamp(40px, 6vh, 72px) 0; }
/* Une galerie qui suit un texte appartient a ce texte : elle se colle a lui au
   lieu d'additionner les deux respirations de section. La regle s'annule si
   l'ordre des blocs change dans l'editeur. */
.pa-b-rich + .pa-b-gal, .pa-b-imgtext + .pa-b-gal { padding-top: 0; }
.pa-b-rich:has(+ .pa-b-gal), .pa-b-imgtext:has(+ .pa-b-gal) { padding-bottom: clamp(18px, 2.6vh, 30px); }
/* Titre de galerie laisse vide : visible et cliquable en edition seulement. */
.pa-titre-vide { display: none; }
.is-editing .pa-titre-vide { display: inline-block; min-width: 12em; min-height: 1.2em; opacity: 0.45; }
.pa-b .titre-section { font-family: 'Marcellus', 'Alegreya', serif; }
.pa-rich p { margin-bottom: 1em; color: var(--encre-doux); max-width: 42em; }
.pa-rich p:last-child { margin-bottom: 0; }
.pa-rich a { color: var(--turquoise-fonce); }
.pa-rich strong { font-family: 'Marcellus', serif; font-weight: 400; }

/* En-tete de page secondaire. Meme ouverture que le hero de l'accueil : degrade
   creme vers galet et halos flous turquoise/bleu, en plus calme et plus court. */
.pa-b-pagehead {
  position: relative;
  overflow: hidden;
  padding: clamp(86px, 12vh, 134px) 0 clamp(58px, 7.5vh, 96px);
  background: linear-gradient(165deg, var(--creme) 0%, var(--galet) 100%);
}
/* Les .blob viennent de styles.css : le hero les dimensionne pour un plein
   ecran, on les recale ici sur la hauteur plus courte d'un en-tete. */
.pa-pagehead-halos { position: absolute; inset: 0; pointer-events: none; }
.pa-pagehead-halos .blob-1 { width: 36vw; height: 36vw; background: var(--turquoise); top: -15vw; right: -7vw; opacity: 0.26; }
.pa-pagehead-halos .blob-2 { width: 28vw; height: 28vw; background: var(--bleu); bottom: -13vw; left: -5vw; opacity: 0.24; }
.pa-pagehead-halos .blob-3 { width: 18vw; height: 18vw; background: #fff; top: 28%; left: 56%; opacity: 0.38; }
/* Halos calibres en vw : sur un ecran etroit ils deviendraient des taches
   minuscules, on les elargit pour garder la meme presence de couleur. */
@media (max-width: 700px) {
  .pa-pagehead-halos .blob-1 { width: 72vw; height: 72vw; top: -30vw; right: -18vw; }
  .pa-pagehead-halos .blob-2 { width: 58vw; height: 58vw; bottom: -28vw; left: -16vw; }
  .pa-pagehead-halos .blob-3 { width: 40vw; height: 40vw; }
}
/* Bascule franche vers le creme du corps de page, comme sous le hero de
   l'accueil : un fondu a cet endroit rendait la limite floue et l'ouverture des
   deux pages ne se ressemblait plus. */
.pa-b-pagehead .conteneur { position: relative; z-index: 1; }
.pa-pagehead-retour { margin-bottom: 1.7em; }
.pa-pagehead-retour a {
  font-family: 'Marcellus', serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--turquoise-fonce);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
/* Fleche de retour : decoration CSS, pour que ce lien se lise comme un retour
   et non comme une signature en haut de page. */
.pa-pagehead-retour a::before {
  content: '←';
  display: inline-block;
  margin-right: 0.55em;
  transition: transform 0.25s ease;
}
.pa-pagehead-retour a:hover { border-bottom-color: currentColor; }
.pa-pagehead-retour a:hover::before { transform: translateX(-4px); }
.pa-pagehead-titre {
  color: var(--texte-titre-grand);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.08;
  /* Le souligne descend a 0.81em sous la boite : la marge passe apres lui,
     sinon il toucherait l'intro le jour ou elle est remplie. */
  margin-bottom: 1.1em;
  position: relative;
  display: inline-block;
}
/* Meme souligne turquoise que les titres de section : l'en-tete parle la meme
   langue que le reste de la page. Epaisseur et opacite reprises telles quelles
   de `.titre-section` (styles.css).
   L'ECART, lui, ne peut pas etre recopie : `bottom` se mesure depuis la boite de
   ligne, et ce titre a une interligne serree (1.08) la ou `.titre-section` herite
   du 1.65 du corps de texte. A valeur egale, le filet remontait donc sur les
   jambages du « j » et du « p ». -0.486em replace exactement le meme blanc sous
   les glyphes que sous les titres de section (0.081em, mesure sur le rendu
   reel). A revoir si l'interligne de ce titre change. */
.pa-pagehead-titre::after {
  content: '';
  position: absolute;
  left: 0; bottom: -0.486em;
  width: 100%; height: 0.32em;
  background: var(--turquoise);
  opacity: 0.35;
  border-radius: 999px;
  /* Meme trace que les titres de section : le trait se dessine de la gauche
     vers la droite. main.js pose `est-visible` (ScrollTrigger, ou directement
     si GSAP est absent ou le mouvement reduit), l'editeur la pose au chargement. */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.pa-pagehead-titre.est-visible::after { transform: scaleX(1); }
/* Sur ecran etroit, le titre suit la largeur disponible pour tenir sur UNE
   ligne : le souligne court alors sous les mots au lieu de barrer un pave de
   deux lignes. Cale pour que « Mes autres projets » passe des 320 px, avec de
   la marge. A placer apres la regle de base : meme specificite, c'est la
   derniere ecrite qui gagne. Un titre bien plus long reviendra a la ligne
   plutot que de deborder de l'ecran, c'est le compromis assume. */
@media (max-width: 700px) {
  .pa-pagehead-titre { font-size: clamp(1.75rem, 8.8vw, 2.6rem); }
}
.pa-pagehead-intro { font-size: 1.15rem; }
/* Intro laissee vide : invisible sur le site, saisissable en edition. */
.is-editing .pa-intro-vide { opacity: 0.5; min-height: 1.4em; }

/* Texte libre */
.pa-b-rich.pa-center { text-align: center; }
.pa-b-rich.pa-center .pa-rich p { margin-left: auto; margin-right: auto; }

/* Citation */
.pa-b-quote { text-align: center; }
.pa-quote {
  font-family: 'Alegreya', serif; font-style: italic;
  font-size: clamp(1.5rem, 4vw, 2.6rem); line-height: 1.35;
  max-width: 24em; margin: 0 auto; color: var(--texte-citation);
}
.pa-quote-by { margin-top: 1em; font-family: 'Marcellus', serif; color: var(--turquoise-fonce); }

/* Image + texte */
.pa-imgtext { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pa-imgtext.pa-reverse .pa-imgtext-media { order: 2; }
.pa-imgtext-media { margin: 0; }
.pa-imgtext-media img { width: 100%; height: auto; display: block; border-radius: 24px; box-shadow: 0 18px 48px rgba(28, 48, 56, 0.18); }
.pa-imgtext-corps .titre-section { margin-bottom: 0.7em; }

/* Grande image */
.pa-b-fullimg { padding: 0; }
.pa-fullimg { margin: 0; }
.pa-fullimg img { width: 100%; height: auto; display: block; }
.pa-fullimg-cap { text-align: center; font-style: italic; color: var(--texte-note); padding: 14px 24px; font-size: 0.95rem; }

/* Banniere bouton */
.pa-b-cta { text-align: center; padding: clamp(48px, 9vh, 96px) 24px; }
.pa-cta-turquoise { background: linear-gradient(160deg, var(--creme), var(--galet)); }
.pa-cta-encre { background: radial-gradient(120% 120% at 80% 0%, #24454f, var(--encre-fond)); color: var(--texte-titre-clair); }
.pa-cta-creme { background: var(--galet); }
.pa-cta-titre { font-family: 'Marcellus', serif; font-weight: 400; font-size: clamp(1.9rem, 5vw, 3rem); margin-bottom: 0.5em; }
.pa-cta-texte { max-width: 34em; margin: 0 auto 1.6em; }
.pa-cta-encre .pa-cta-texte { color: var(--texte-clair); }

/* Section pliante (accordeon) */
.pa-acc-intro { max-width: 760px; margin-bottom: 1.8em; }
.pa-acc-intro p { max-width: none; }
.pa-acc-liste { max-width: 760px; }
.pa-acc { border-bottom: 1px solid rgba(28, 48, 56, 0.16); }
.pa-acc-titre {
  cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative;
  font-family: 'Marcellus', serif; font-size: clamp(1.1rem, 2.6vw, 1.4rem); color: var(--encre);
}
.pa-acc-titre::-webkit-details-marker { display: none; }
.pa-acc-titre::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--turquoise-fonce); transition: transform 0.2s;
}
.pa-acc[open] .pa-acc-titre::after { content: '\2013'; }
.pa-acc-corps { padding: 0 0 22px; color: var(--encre-doux); }
.pa-acc-corps p { margin-bottom: 0.8em; }

/* Temoignages */
.pa-testi-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.pa-testi {
  background: var(--creme); border-radius: 20px; padding: 30px 28px; margin: 0;
  box-shadow: 0 10px 30px rgba(28, 48, 56, 0.08); position: relative;
}
.pa-testi-texte { font-style: italic; color: var(--encre-doux); }
.pa-testi-texte p { margin-bottom: 0.6em; }
.pa-testi-auteur { margin-top: 14px; font-family: 'Marcellus', serif; color: var(--turquoise-fonce); }

/* Galerie : items communs (photo + video) */
.pa-gal-item { margin: 0; position: relative; }
.pa-gal-item img, .pa-gal-item video { width: 100%; height: auto; display: block; }
.pa-gal-item figcaption { font-size: 0.85rem; color: var(--texte-note); text-align: center; margin-top: 6px; font-style: italic; }
.pa-gal-zoom, .pa-gal-media { display: block; position: relative; }
.pa-gal-zoom { cursor: zoom-in; }
.pa-gal-zoom[data-video] { cursor: pointer; }
.pa-gal-videovide { display: block; aspect-ratio: 16 / 9; background: #10181c; }
.pa-gal-playbtn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(28, 48, 56, 0.62); backdrop-filter: blur(2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: background 0.2s, transform 0.2s;
}
.pa-gal-playbtn::after {
  content: ''; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--creme);
}
.pa-gal-zoom:hover .pa-gal-playbtn { background: rgba(14, 138, 118, 0.85); transform: translate(-50%, -50%) scale(1.08); }

/* Mise en page : grille (vignettes 4/3) */
.pa-gal { display: grid; gap: 16px; }
.pa-gal-2 { grid-template-columns: repeat(2, 1fr); }
.pa-gal-3 { grid-template-columns: repeat(3, 1fr); }
.pa-gal-4 { grid-template-columns: repeat(4, 1fr); }
.pa-gal-grille .pa-gal-item img { aspect-ratio: 4 / 3; object-fit: cover; }
/* Moins de medias que de colonnes : on centre et on borne la largeur, sinon la
   grille garde une colonne fantome et les photos partent d'un cote. */
.pa-gal-grille.pa-gal-peu { justify-content: center; }
.pa-gal-grille.pa-gal-peu-1 { grid-template-columns: minmax(0, 460px); }
.pa-gal-grille.pa-gal-peu-2 { grid-template-columns: repeat(2, minmax(0, 380px)); }
.pa-gal-grille.pa-gal-peu-3 { grid-template-columns: repeat(3, minmax(0, 330px)); }

/* Mise en page : mosaique (hauteurs naturelles, colonnes) */
.pa-gal-mosaique { display: block; column-gap: 16px; }
.pa-gal-mosaique.pa-gal-2 { column-count: 2; }
.pa-gal-mosaique.pa-gal-3 { column-count: 3; }
.pa-gal-mosaique.pa-gal-4 { column-count: 4; }
.pa-gal-mosaique .pa-gal-item { break-inside: avoid; margin-bottom: 16px; }

/* Mise en page : carrousel. Chaque media est montre EN ENTIER (hauteur bornee,
   largeur naturelle) ; les fleches vivent sous la piste, jamais sur les photos. */
.pa-car { position: relative; }
.pa-car-piste {
  display: flex; gap: 18px; align-items: center;
  /* safe center : centre tant que la piste tient, et revient au bord des qu'il
     y a debordement (sinon le premier media deviendrait inatteignable). */
  justify-content: safe center;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: 4px 2px 8px;
}
.pa-car-piste::-webkit-scrollbar { display: none; }
.pa-car .pa-gal-item { flex: 0 0 auto; max-width: 88%; scroll-snap-align: center; }
.pa-car .pa-gal-item img {
  width: auto; max-width: 100%;
  height: clamp(260px, 46vh, 440px); object-fit: contain;
}
.pa-car-nav { display: none; justify-content: center; gap: 14px; margin-top: 14px; }
.pa-car-pret .pa-car-nav { display: flex; }
.pa-car-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(28, 48, 56, 0.25);
  background: var(--creme); color: var(--encre); font-size: 1.5rem; line-height: 1;
  box-shadow: 0 4px 14px rgba(28, 48, 56, 0.12); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.pa-car-btn:hover { background: var(--turquoise); color: var(--creme); border-color: transparent; transform: scale(1.08); }

/* Visionneuse plein ecran (photos et videos de galerie, construite par main.js) */
.pa-lb {
  position: fixed; inset: 0; z-index: 8000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(16, 24, 28, 0.94); padding: 20px;
}
.pa-lb[hidden] { display: none; }
.pa-lb-media { max-width: min(94vw, 1400px); max-height: 82vh; display: flex; }
.pa-lb-media img, .pa-lb-media video { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 6px; }
.pa-lb-cap { color: var(--galet); font-style: italic; margin-top: 14px; text-align: center; max-width: 70ch; }
.pa-lb-fermer {
  position: absolute; top: 14px; right: 16px;
  width: 46px; height: 46px; border: none; border-radius: 50%; cursor: pointer;
  background: rgba(253, 250, 246, 0.12); color: var(--creme); font-size: 1.7rem; line-height: 1;
}
.pa-lb-fermer:hover { background: rgba(253, 250, 246, 0.28); }
.pa-lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border: none; border-radius: 50%; cursor: pointer;
  background: rgba(253, 250, 246, 0.12); color: var(--creme); font-size: 1.8rem; line-height: 1;
}
.pa-lb-btn:hover { background: rgba(253, 250, 246, 0.28); }
.pa-lb-prev { left: 14px; }
.pa-lb-next { right: 14px; }
.pa-lb-btn[disabled] { opacity: 0.25; cursor: default; }

/* Cadres */
.pa-cadre-arrondi .pa-gal-item img, .pa-cadre-arrondi .pa-gal-item video {
  border-radius: 14px; box-shadow: 0 8px 22px rgba(28, 48, 56, 0.1);
}
.pa-cadre-nu .pa-gal-item img, .pa-cadre-nu .pa-gal-item video { border-radius: 0; }
.pa-cadre-polaroid .pa-gal-item {
  background: #fff; padding: 10px 10px 14px; border-radius: 3px;
  box-shadow: 0 10px 26px rgba(28, 48, 56, 0.18);
}
.pa-cadre-polaroid .pa-gal-item figcaption { margin-top: 10px; font-family: 'Alegreya', serif; }
.pa-cadre-lisere .pa-gal-item {
  background: var(--creme); padding: 6px; border: 1px solid rgba(28, 48, 56, 0.25);
}

/* ════════ QUESTIONNAIRE & CONTACT (bloc formulaire) ════════
   S'appuie sur la section .contact (gradient, blobs, centrage). Les questions
   sont des cartes blanches, l'échelle 1-10 une rangée de ronds qui se
   remplissent jusqu'à la valeur choisie (dégradé bleu → turquoise). */

.sr-lu {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* Encart de proposition d'echange telephonique, au-dessus du questionnaire
   (post-it du 19/06 : rendre l'appel de 20 min visible). */
.fq-appel {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 40em;
  margin: 0 auto 2.8em;
  padding: 18px 26px;
  text-align: left;
  border: 1.5px solid rgba(23, 211, 180, 0.5);
  border-radius: 24px;
  background: rgba(253, 250, 246, 0.72);
  box-shadow: 0 10px 30px rgba(28, 48, 56, 0.07);
}
.fq-appel-icone {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  color: var(--turquoise-fonce);
}
.fq-appel-icone svg { width: 100%; height: 100%; }
.fq-appel-texte { color: var(--encre); font-size: 1.02rem; line-height: 1.55; }

/* ── Video (bloc "Video") ── */
.pa-video { padding: clamp(46px, 7vh, 84px) 0; }
.pa-video-cadre { max-width: 760px; margin: 0 auto; }
.pa-video-cadre video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
  background: #0c1418;
  box-shadow: 0 18px 44px rgba(28, 48, 56, 0.18);
}
.pa-video-cadre figcaption {
  margin-top: 0.9em;
  text-align: center;
  color: var(--encre-doux);
  font-size: 0.95rem;
}
.pa-video-attente {
  border: 1.5px dashed rgba(28, 48, 56, 0.28);
  border-radius: 26px;
  padding: 44px 26px;
  text-align: center;
  color: var(--encre-doux);
}

.fq { max-width: 680px; margin: 0 auto; }
.fq-lead {
  font-family: 'Marcellus', serif;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  margin-bottom: 1.6em;
}

.fq-liste { list-style: none; display: grid; gap: 22px; margin-bottom: 34px; }
.fq-q {
  background: #fff;
  border-radius: 24px;
  padding: 28px 26px 24px;
  box-shadow: 0 12px 36px rgba(28, 48, 56, 0.09);
}
.fq-q-tete {
  display: flex; align-items: baseline; justify-content: center;
  gap: 14px; margin-bottom: 18px;
}
.fq-q-num {
  font-family: 'Marcellus', serif;
  font-size: 1.6rem; line-height: 1;
  color: var(--turquoise); opacity: 0.85;
}
.fq-q:nth-child(2n) .fq-q-num { color: var(--bleu); }
.fq-q-texte { font-family: 'Marcellus', serif; font-size: clamp(1.08rem, 2.4vw, 1.32rem); }

.fq-echelle { border: 0; padding: 0; margin: 0; }
.fq-points { display: flex; justify-content: center; gap: 7px; }
.fq-point { cursor: pointer; position: relative; }
.fq-point input { position: absolute; opacity: 0; pointer-events: none; }
.fq-rond {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(28, 48, 56, 0.22);
  background: var(--creme);
  font-family: 'Marcellus', serif; font-size: 0.95rem;
  color: var(--encre-doux);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.fq-point:hover .fq-rond { transform: translateY(-4px); border-color: var(--turquoise); }
.fq-point input:focus-visible + .fq-rond { outline: 2px solid var(--bleu); outline-offset: 2px; }
.fq-point.is-fill .fq-rond {
  background: var(--turquoise);
  background: color-mix(in oklab, var(--bleu), var(--turquoise) calc(var(--p) * 11%));
  border-color: transparent;
  color: var(--creme);
}
.fq-point.is-on .fq-rond {
  transform: scale(1.22);
  box-shadow: 0 8px 20px rgba(23, 211, 180, 0.4);
  animation: fq-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes fq-pop {
  0% { transform: scale(0.6); }
  60% { transform: scale(1.4); }
  100% { transform: scale(1.22); }
}
.fq-bornes {
  display: flex; justify-content: space-between;
  margin-top: 12px; padding: 0 2px;
  font-style: italic; font-size: 0.88rem; color: var(--encre-doux);
}

/* ── Coordonnées ── */
.fq-coord-titre {
  font-family: 'Marcellus', serif;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  margin-bottom: 1.2em;
}
.fq-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.fq-champ { display: grid; gap: 7px; text-align: left; font-size: 0.95rem; color: var(--encre-doux); }
.fq-champ input, .fq-champ textarea {
  font-family: 'Alegreya', Georgia, serif;
  font-size: 1.05rem;
  color: var(--encre);
  background: #fff;
  border: 1.5px solid rgba(28, 48, 56, 0.2);
  border-radius: 16px;
  padding: 0.7em 1em;
  width: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.fq-champ textarea { resize: vertical; border-radius: 20px; }
.fq-champ input:focus, .fq-champ textarea:focus {
  outline: none;
  border-color: var(--turquoise);
  box-shadow: 0 0 0 4px rgba(23, 211, 180, 0.18);
}
.fq-champ-message { margin-bottom: 22px; }
.fq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fq-erreur {
  margin: 0 0 18px;
  color: #a2452e;
  font-style: italic;
}
.fq-envoyer { border: none; cursor: pointer; }
.fq-envoyer[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* ── Apparition progressive (classe posée par formulaire.js) ── */
.fq-anim .fq-cache { display: none; }
.is-entree { animation: fq-entre 0.75s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes fq-entre {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.fq.fq-envoye { transition: opacity 0.35s ease, transform 0.35s ease; opacity: 0; transform: translateY(-12px); }

/* ── Restitution après envoi ── */
.fq-restitution { max-width: 620px; margin: 0 auto; }
.fq-restitution[hidden] { display: none; }
.fq-res-titre {
  font-family: 'Marcellus', serif;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  margin-bottom: 1.3em;
}
.fq-res-ligne { display: grid; gap: 6px; margin-bottom: 20px; text-align: left; }
.fq-res-label { font-size: 0.98rem; color: var(--encre-doux); }
.fq-res-barre { display: flex; align-items: center; gap: 12px; }
.fq-res-piste {
  flex: 1; height: 12px; border-radius: 999px;
  background: rgba(28, 48, 56, 0.08); overflow: hidden;
}
.fq-res-fill {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--bleu), var(--turquoise));
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.fq-res-val {
  font-family: 'Marcellus', serif; font-size: 1.15rem;
  color: var(--turquoise-fonce); min-width: 1.6em; text-align: right;
}
.fq-merci { margin-top: 2.4em; }
.fq-merci-titre {
  font-family: 'Marcellus', serif;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin-bottom: 0.5em;
}
.fq-merci-texte { color: var(--encre-doux); max-width: 34em; margin: 0 auto; }
.fq-direct { margin-top: 2.2em; }

/* Aperçu de la restitution en mode édition */
.fq-apercu-note {
  font-style: italic; font-size: 0.9rem; color: var(--encre-doux);
  margin: 2.4em 0 1.2em;
  padding-top: 1.6em;
  border-top: 1px dashed rgba(28, 48, 56, 0.3);
}

@media (max-width: 560px) {
  .fq-q { padding: 22px 14px 18px; border-radius: 20px; }
  .fq-points { gap: 4px; }
  .fq-rond { width: 29px; height: 29px; font-size: 0.82rem; }
  .fq-point.is-on .fq-rond { transform: scale(1.18); }
  .fq-champs { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .fq-points { gap: 3px; }
  .fq-rond { width: 26px; height: 26px; font-size: 0.76rem; }
}
@media (prefers-reduced-motion: reduce) {
  .fq-rond, .fq-res-fill, .fq.fq-envoye { transition: none; }
  .fq-point.is-on .fq-rond, .is-entree { animation: none; }
}

@media (max-width: 760px) {
  .fq-appel { padding: 16px 18px; gap: 12px; }
  .fq-appel-icone { width: 24px; height: 24px; }
  .fq-appel-texte { font-size: 0.96rem; }
  .pa-imgtext { grid-template-columns: 1fr; gap: 28px; }
  .pa-imgtext.pa-reverse .pa-imgtext-media { order: 0; }
  /* Mobile : une seule colonne, les medias respirent en pleine largeur. */
  .pa-gal-2, .pa-gal-3, .pa-gal-4 { grid-template-columns: 1fr; }
  .pa-gal-mosaique.pa-gal-2, .pa-gal-mosaique.pa-gal-3, .pa-gal-mosaique.pa-gal-4 { column-count: 1; }
  .pa-car .pa-gal-item img { height: auto; max-height: 62vh; width: 100%; }
  .pa-car .pa-gal-item { max-width: 92%; flex-basis: 92%; }
  .pa-lb-btn { top: auto; bottom: 16px; }
  .pa-lb-prev { left: 22vw; }
  .pa-lb-next { right: 22vw; }
}

/* ════════ AGENDA DES DATES ════════
   Une date se saisit une fois (bloc agenda) et s'affiche a deux endroits :
   la liste complete ci-dessous, et l'encart .ag-mini dans la section de
   l'atelier. Les lignes alternent turquoise et bleu, comme les valeurs de la
   page d'accueil. Les dates passees sont masquees par main.js. */
.ag-intro { max-width: 44em; margin-bottom: 2em; }
.ag-liste { list-style: none; display: grid; gap: 14px; max-width: 880px; }
.ag-item {
  --ton: var(--turquoise);
  --ton-lisible: var(--turquoise-fonce);
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 30px);
  align-items: center;
  padding: 16px 22px;
  border-radius: 22px;
  background: color-mix(in srgb, var(--galet) 42%, var(--creme));
  box-shadow: 0 10px 28px rgba(28, 48, 56, 0.08);
}
/* Alternance de base sur l'ordre du HTML ; main.js la recalcule apres avoir
   masque les dates passees, pour qu'elle reste reguliere a l'ecran. */
.ag-item:nth-child(2n), .ag-item.ag-ton-bleu { --ton: var(--bleu); --ton-lisible: var(--bleu-fonce); }
.ag-item.ag-ton-turquoise { --ton: var(--turquoise); --ton-lisible: var(--turquoise-fonce); }
.ag-date {
  display: grid;
  justify-items: center;
  min-width: 76px;
  padding: 10px 12px;
  border-radius: 16px;
  line-height: 1.06;
  background: color-mix(in srgb, var(--ton) 13%, var(--creme));
  border: 1.5px solid color-mix(in srgb, var(--ton) 40%, transparent);
}
.ag-jour { font-family: 'Marcellus', serif; font-size: 1.85rem; color: var(--ton-lisible); }
.ag-jour-vide { opacity: 0.55; }
.ag-mois { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--encre-doux); }
.ag-annee { font-size: 0.72rem; color: var(--encre-doux); opacity: 0.72; }
.ag-titre { font-family: 'Marcellus', serif; font-size: clamp(1.08rem, 2.4vw, 1.28rem); line-height: 1.3; }
.ag-infos { font-size: 0.95rem; color: var(--encre-doux); margin-top: 0.2em; }
/* Description facultative : ce que cette date a de particulier. Discrete, elle
   reste sous les informations pratiques sans rivaliser avec l'intitule. */
.ag-desc { margin-top: 0.45em; font-size: 0.95rem; line-height: 1.5; color: var(--encre-doux); max-width: 44em; }
.ag-desc a { color: var(--turquoise-fonce); border-bottom: 1px solid currentColor; }
/* Le point separateur n'apparait que si l'heure ET le lieu sont renseignes. */
.ag-heure:not(:empty) + .ag-lieu:not(:empty)::before { content: '·'; margin: 0 0.5em; opacity: 0.6; }
.ag-lien { font-size: 0.95rem; padding: 0.62em 1.35em; white-space: nowrap; }
.ag-vide { color: var(--texte-note); font-style: italic; max-width: 40em; }

/* Encart des prochaines dates, dans la section de l'atelier. Discret : il
   annonce, l'agenda complet detaille. */
.ag-mini {
  margin-top: 1.9em;
  max-width: 42em;
  padding: 14px 20px;
  border-left: 3px solid var(--turquoise);
  border-radius: 0 16px 16px 0;
  background: color-mix(in srgb, var(--galet) 38%, transparent);
}
.ag-mini-tete {
  font-family: 'Marcellus', serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--turquoise-fonce);
  margin-bottom: 0.6em;
}
.ag-mini ul { list-style: none; display: grid; gap: 7px; }
.ag-mini li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5em; font-size: 1rem; }
.ag-mini-quand { font-family: 'Marcellus', serif; }
.ag-mini-lieu { color: var(--encre-doux); }
.ag-mini-lieu::before { content: '·'; margin-right: 0.5em; opacity: 0.6; }
.ag-mini-lien {
  margin-left: 0.4em;
  color: var(--turquoise-fonce);
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s;
}
.ag-mini-lien::after { content: ' ›'; }
.ag-mini-lien:hover { opacity: 0.72; }

@media (max-width: 620px) {
  /* Le bouton passe sous l'intitule et prend la largeur : il reste atteignable
     au pouce sans serrer la ligne. */
  .ag-item { grid-template-columns: auto minmax(0, 1fr); padding: 14px 16px; }
  .ag-lien { grid-column: 1 / -1; text-align: center; }
}
/* main.js masque les dates passees avec l'attribut hidden : il doit l'emporter
   sur les display: grid/flex ci-dessus, qui sinon les laisseraient visibles. */
.ag-liste[hidden], .ag-item[hidden], .ag-mini[hidden], .ag-mini li[hidden] { display: none !important; }

/* ════════ ENCART NEWSLETTER ════════
   Deux colonnes : le mot de Pauline a gauche, le formulaire a droite, dans un
   cartouche galet qui le detache du corps de page sans crier. */
.pa-b-newsletter { padding-top: clamp(24px, 3vh, 40px); }
.nl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  padding: clamp(30px, 4.5vw, 52px) clamp(24px, 4vw, 54px);
  border-radius: 28px;
  background: color-mix(in srgb, var(--galet) 55%, var(--creme));
  box-shadow: 0 16px 40px rgba(28, 48, 56, 0.09);
}
/* Un cran sous les titres de section : l'encart invite, il ne domine pas la
   page, et le titre tient sur une ligne face au formulaire. */
.nl .titre-section { font-size: clamp(1.7rem, 3.4vw, 2.45rem); margin-bottom: 0.7em; }
.nl-texte p { max-width: 30em; }
.nl-champs { display: grid; gap: 14px; }
.nl-champ { display: grid; gap: 6px; font-size: 0.95rem; color: var(--encre-doux); }
.nl-champ input {
  font-family: 'Alegreya', Georgia, serif;
  font-size: 1.02rem;
  padding: 12px 16px;
  border: 1.5px solid rgba(28, 48, 56, 0.18);
  border-radius: 14px;
  background: var(--creme);
  color: var(--encre);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.nl-champ input:focus {
  outline: none;
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--turquoise) 28%, transparent);
}
.nl-bouton { margin-top: 18px; border: none; cursor: pointer; font-size: 1.02rem; }
.nl-bouton:disabled { opacity: 0.6; cursor: default; }
.nl-note { margin-top: 12px; font-size: 0.86rem; font-style: italic; color: var(--texte-note); }
.nl-merci {
  grid-column: 1 / -1;
  font-family: 'Marcellus', serif;
  font-size: 1.15rem;
  color: var(--turquoise-fonce);
  text-align: center;
}
/* Le piege a robots : hors ecran, jamais lu a voix haute, jamais tabule. */
.nl-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nl-erreur::after {
  content: 'L’inscription n’est pas passée. Réessaie dans un instant.';
  display: block; margin-top: 10px; font-size: 0.9rem; color: #a2452e;
}
.nl-form[hidden], .nl-merci[hidden] { display: none !important; }

@media (max-width: 760px) {
  .nl { grid-template-columns: 1fr; }
}
