/* Pamélie Hannis, orthophoniste : boutique (aperçu) */

:root {
  --sauge: #ddebd1;          /* fond principal (bannière, pied de page) */
  --sauge-pale: #f3f8ee;     /* sections teintées */
  --menthe: #dcf6e8;
  --vert: #57b48b;           /* accents (puces, bordures, icônes) */
  --vert-fonce: #2e7d5b;     /* boutons et liens : contraste AA avec le blanc */
  --vert-encre: #24654a;
  --rose: #c29090;
  --saumon: #ecb2a7;
  --saumon-pale: #fbede9;
  --blanc: #ffffff;
  --creme: #fffdf9;
  --texte: #222222;
  --texte-doux: #555b57;
  --titre: "Fraunces", Georgia, "Times New Roman", serif;
  --rayon: 22px;
  --ombre: 0 1px 2px rgba(34, 34, 34, 0.04), 0 14px 34px -14px rgba(46, 90, 66, 0.22);
  --ombre-forte: 0 2px 4px rgba(34, 34, 34, 0.05), 0 24px 48px -18px rgba(46, 90, 66, 0.32);
  --largeur: 1160px;
  --hauteur-entete: 100px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hauteur-entete) + 1rem); }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--texte);
  background: var(--creme);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

img { max-width: 100%; display: block; }

a { color: var(--vert-fonce); text-underline-offset: 3px; }
a:hover { color: var(--vert-encre); }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; }
h2 {
  font-family: var(--titre);
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  letter-spacing: -0.01em;
}
h3 { font-family: var(--titre); font-weight: 600; font-size: 1.3rem; }
h4 { font-size: 1rem; }

:focus-visible { outline: 3px solid var(--vert-encre); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

/* Lien d'évitement : hors écran, visible au focus clavier */
.lien-evitement {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.6rem 1.1rem;
  background: var(--vert-encre);
  color: var(--blanc);
  font-weight: 600;
  border-radius: 999px;
  transform: translateY(-200%);
}
.lien-evitement:focus,
.lien-evitement:focus-visible { transform: none; color: var(--blanc); }

/* Élément à confirmer : badge pointillé saumon sur encre foncée, voulu et lisible */
.a-confirmer {
  display: inline-block;
  vertical-align: middle;
  background: #2b2623;
  color: #f5c4a0;
  border: 1.5px dashed var(--saumon);
  border-radius: 8px;
  padding: 0.1rem 0.55rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: none;
  max-width: 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.surtitre {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vert-fonce);
}

.fleur { position: absolute; width: 48px; height: 48px; }

/* ---------- Bandeau aperçu ---------- */
.bandeau-apercu {
  background: var(--saumon);
  color: var(--texte);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
}

/* ---------- En-tête ---------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 249, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(87, 180, 139, 0.18);
}
.entete-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--hauteur-entete);
}
.logo { display: block; border-radius: 8px; }
/* Logo PNG transparent (600 × 506) : seule la hauteur est fixée, la largeur suit. */
.logo img,
.pied-logo {
  height: 84px;
  width: auto;
}

.menu { display: flex; gap: 0.35rem; }
.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  color: var(--texte);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.menu a:hover,
.menu a:focus-visible { background: var(--menthe); color: var(--vert-encre); }

.menu-bouton {
  display: none;
  align-items: center;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--menthe);
  color: var(--texte);
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  min-width: 44px;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
}
.menu-icone {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 2px;
  margin-right: 0.6rem;
  background: currentColor;
  border-radius: 2px;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

/* ---------- Bannière ---------- */
.banniere {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 45%, rgba(255, 255, 255, 0.55) 0, rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 8% 100%, rgba(220, 246, 232, 0.9) 0, rgba(220, 246, 232, 0) 40%),
    var(--sauge);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  border-radius: 0 0 clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px);
}
.banniere-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.banniere .surtitre {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--vert-encre);
  margin-bottom: 1.25rem;
}
.banniere .surtitre::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--vert);
  border-radius: 2px;
}
.slogan {
  margin: 0;
  max-width: 20ch;
  font-family: var(--titre);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--texte);
}
.banniere-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.banniere-points {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.banniere-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
}
.banniere-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vert);
}

/* Collage d'aperçus */
.banniere-visuel {
  position: relative;
  width: 100%;
  max-width: 470px;
  aspect-ratio: 1;
  justify-self: end;
}
.halo {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--menthe) 0, rgba(220, 246, 232, 0.4) 60%, rgba(220, 246, 232, 0) 72%);
}
.apercu.apercu-mini {
  position: absolute;
  width: 50%;
  aspect-ratio: 3 / 4;
  border: 6px solid var(--blanc);
  border-radius: 18px;
  box-shadow: var(--ombre-forte);
}
.apercu.apercu-mini::after { font-size: 1.05rem; letter-spacing: 0.18em; }
.apercu-mini.m1 { left: 2%; top: 16%; transform: rotate(-7deg); }
.apercu-mini.m2 { right: 2%; top: 5%; transform: rotate(6deg); z-index: 2; }
.apercu-mini.m3 { left: 27%; bottom: 2%; transform: rotate(-1.5deg); z-index: 3; }

.banniere .f1 { color: var(--saumon); top: 9%;  left: 2.5%; width: 46px; height: 46px; }
.banniere .f2 { color: var(--blanc);  top: 7%;  left: 47%; width: 26px; height: 26px; }
.banniere .f3 { color: var(--rose);   top: 6%;  right: 3%; width: 38px; height: 38px; opacity: 0.75; }
.banniere .f4 { color: var(--vert);   bottom: 7%; left: 42%; width: 30px; height: 30px; opacity: 0.55; }
.banniere .f5 { color: var(--blanc);  bottom: 10%; left: 4%; width: 34px; height: 34px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--vert-fonce);
  color: var(--blanc);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.8rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  box-shadow: 0 8px 18px -8px rgba(46, 125, 91, 0.7);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:hover,
.btn:focus-visible {
  background: var(--vert-encre);
  color: var(--blanc);
  transform: translateY(-1px);
}
.btn-contour {
  background: rgba(255, 255, 255, 0.55);
  color: var(--vert-encre);
  border-color: var(--vert-fonce);
  box-shadow: none;
}
.btn-contour:hover,
.btn-contour:focus-visible { background: var(--blanc); color: var(--vert-encre); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-teinte { background: var(--sauge-pale); }
.entete-section { max-width: 680px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sous-titre { color: var(--texte-doux); margin: 0; font-size: 1.05rem; max-width: 60ch; }

/* À propos */
.a-propos {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.photo-placeholder {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--menthe), var(--sauge));
  border: 2px dashed var(--vert);
  box-shadow: 0 0 0 10px var(--sauge-pale);
  display: grid;
  place-items: center;
  color: var(--vert-encre);
  font-weight: 600;
  font-size: 0.9rem;
}
.photo-placeholder .fleur { top: 8%; right: 10%; width: 40px; height: 40px; color: var(--saumon); }
.portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.portrait .photo-placeholder { width: 100%; }
.photo-initiales {
  font-family: var(--titre);
  font-size: 4rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--vert-encre);
  opacity: 0.55;
}
.bio { margin: 0; }
.titres {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}
.titres li {
  position: relative;
  padding-left: 2.1rem;
}
.titres li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--menthe) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%232e7d5b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* ---------- Filtres des documents ---------- */
.filtres {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.filtre {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem 1.1rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--vert-encre);
  background: var(--blanc);
  border: 1.5px solid rgba(46, 125, 91, 0.45);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.filtre:hover { background: var(--menthe); }
.filtre[aria-pressed="true"] {
  background: var(--vert-fonce);
  border-color: var(--vert-fonce);
  color: var(--blanc);
}
.filtres-statut {
  margin: 0 0 1.25rem;
  min-height: 1.4em;
  font-size: 0.85rem;
  color: var(--texte-doux);
}

/* ---------- Cartes produits ---------- */
.grille-produits {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}
.carte {
  background: var(--blanc);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.carte:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); }
.carte-corps {
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.carte-corps h3 { margin-bottom: 0.6rem; }
.carte-corps p { margin: 0 0 1rem; font-size: 0.95rem; }
.carte-desc { color: var(--texte-doux); }
.carte-desc.replie {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lire-suite {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  margin: -0.85rem 0 0.6rem;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--vert-fonce);
  text-decoration: underline;
  text-decoration-color: var(--saumon);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  cursor: pointer;
}
.carte-corps .etiquettes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.8rem;
}
.etiquettes span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--menthe);
  color: var(--vert-encre);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
.etiquettes .etiq-theme { background: var(--saumon-pale); color: #84504b; }
.etiquettes .etiq-public {
  background: transparent;
  color: var(--vert-encre);
  box-shadow: inset 0 0 0 1px rgba(46, 125, 91, 0.4);
}
.carte-pied {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed rgba(87, 180, 139, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.prix {
  font-family: var(--titre);
  font-size: 1.65rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Aperçu filigrané : image recadrée + filigrane « APERÇU » en CSS */
.apercu {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--menthe);
  border-bottom: 1px solid var(--sauge);
  user-select: none;
  -webkit-user-select: none;
}
.apercu img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
  pointer-events: none;           /* pas de glisser-déposer ni « enregistrer l'image » direct */
  filter: none;
}
.apercu::after {
  content: "APERÇU";
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(34, 34, 34, 0.12);
  transform: rotate(-28deg);
  pointer-events: none;
}
.apercu::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;                     /* calque transparent au-dessus de l'image */
  background: repeating-linear-gradient(
    -28deg,
    transparent 0 60px,
    rgba(87, 180, 139, 0.1) 60px 62px
  );
}

/* Mots déconstruits : aperçu 3 syllabes + emplacement 4 syllabes */
.media-duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--sauge);
}
.media-duo .apercu { aspect-ratio: auto; border-bottom: 0; }
.media-duo .apercu img { position: absolute; inset: 0; }
.media-duo .apercu::after { font-size: 1.3rem; letter-spacing: 0.16em; }
.media-duo figcaption {
  position: absolute;
  font-weight: 700;
  left: 0.6rem;
  bottom: 0.6rem;
  z-index: 3;
  background: var(--blanc);
  color: var(--vert-encre);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(34, 34, 34, 0.12);
}
.doc-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 1rem;
  text-align: center;
  background: linear-gradient(160deg, var(--menthe), var(--sauge));
  border-left: 1px dashed rgba(87, 180, 139, 0.6);
}
.doc-placeholder .fleur {
  position: static;
  width: 34px;
  height: 34px;
  margin-bottom: 0.5rem;
  color: var(--saumon);
}
.doc-placeholder-titre { font-family: var(--titre); font-weight: 600; font-size: 1rem; line-height: 1.2; }
.doc-placeholder-sous { font-family: var(--titre); font-weight: 600; font-size: 1.5rem; color: var(--vert-fonce); line-height: 1.1; }
.doc-placeholder .a-confirmer { margin-top: 0.6rem; font-size: 0.66rem; }
/* Document ajouté depuis /admin sans photo : emplacement pleine largeur */
.doc-placeholder-seul { aspect-ratio: 4 / 3; border-left: 0; border-bottom: 1px solid var(--sauge); }

/* Trio */
.carte-trio {
  margin-top: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(115deg, var(--saumon-pale) 0%, var(--blanc) 65%);
  border: 1px solid rgba(194, 144, 144, 0.35);
  border-radius: 26px;
  box-shadow: var(--ombre);
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 2rem;
  align-items: center;
}
.carte-trio h3 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.carte-trio p { margin: 0; color: var(--texte-doux); }
.carte-trio .carte-pied { margin: 0; padding: 0; border: 0; gap: 1.25rem; }
.trio-icone {
  position: relative;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
}
.trio-icone .fleur { inset: 0; width: 100%; height: 100%; color: var(--saumon); }
.trio-icone span {
  position: relative;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1rem;
  color: var(--texte);
}
.carte-trio h3 .a-confirmer { margin-left: 0.5rem; }
/* Photo du trio (facultative, ajoutée depuis /admin) à la place de la fleur */
.apercu.trio-photo { width: 110px; border: 0; border-radius: 16px; }
.apercu.trio-photo::after { font-size: 0.8rem; letter-spacing: 0.12em; }

/* ---------- Formations ---------- */
.formation {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.75rem, 4.5vw, 4rem);
  align-items: start;
  background: var(--blanc);
  border-radius: 30px;
  box-shadow: var(--ombre);
  padding: clamp(1.1rem, 3vw, 2.5rem);
  scroll-margin-top: calc(var(--hauteur-entete) + 1rem);
}
.formation + .formation { margin-top: clamp(1.75rem, 4vw, 2.75rem); }
.formation-inverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.formation-inverse .formation-visuel { order: 2; }

/* Le visuel reste à l'écran pendant la lecture du long texte voisin. */
.formation-visuel {
  position: sticky;
  top: calc(var(--hauteur-entete) + 0.75rem);
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(34, 34, 34, 0.04), 0 18px 38px -22px rgba(132, 80, 75, 0.4);
}
/* Illustration du frein lingual (1200 × 780) : arrondie dans un panneau saumon-crème,
   pour que ses coins blancs se lisent comme un cadre voulu. */
.visuel-freins {
  --cadre: 18px;
  padding: var(--cadre);
  background: linear-gradient(150deg, #fbedea 0%, #f6ecd9 100%);
}
.visuel-freins img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 6px 16px -10px rgba(132, 80, 75, 0.45);
}
.pastille-prix {
  position: absolute;
  left: calc(var(--cadre, 0px) + 0.75rem);
  bottom: calc(var(--cadre, 0px) + 0.75rem);
  background: var(--blanc);
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.25rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(34, 34, 34, 0.35);
}
.visuel-placeholder {
  aspect-ratio: 1;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 2px rgba(34, 34, 34, 0.04), 0 18px 38px -22px rgba(46, 90, 66, 0.4);
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.6) 0, rgba(255, 255, 255, 0) 35%),
    linear-gradient(150deg, var(--menthe) 0%, var(--sauge) 100%);
}
.visuel-placeholder .p1 { top: 9%;  left: 9%;  width: 56px; height: 56px; color: var(--saumon); }
.visuel-placeholder .p2 { top: 14%; right: 12%; width: 32px; height: 32px; color: var(--blanc); }
.visuel-placeholder .p3 { bottom: 13%; left: 15%; width: 30px; height: 30px; color: var(--vert); opacity: 0.6; }
.visuel-placeholder .p4 { bottom: 8%; right: 9%; width: 70px; height: 70px; color: var(--rose); opacity: 0.6; }
.placeholder-texte-visuel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 78%;
  padding: 1.5rem 1.75rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  box-shadow: 0 10px 30px -16px rgba(46, 90, 66, 0.4);
}
.placeholder-surtitre,
.placeholder-note {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vert-fonce);
}
.placeholder-note { color: var(--texte-doux); }
.placeholder-texte-visuel .a-confirmer { align-self: center; margin-top: 0.35rem; }
.placeholder-titre {
  font-family: var(--titre);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.15;
}

.formation-contenu > p { margin: 0 0 1rem; }
.formation-contenu h3 { font-size: clamp(1.65rem, 2.8vw, 2.2rem); margin-bottom: 0.9rem; }
.formation-contenu h4 {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 1.9rem 0 0.7rem;
  padding-top: 1.4rem;
  border-top: 1px dashed rgba(87, 180, 139, 0.35);
}
.liste-coches,
.modules {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.liste-coches li {
  position: relative;
  padding-left: 1.9rem;
}
.liste-coches li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--menthe) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%232e7d5b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.modules { counter-reset: module; }
.modules li {
  counter-increment: module;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  background: var(--sauge-pale);
  border-radius: 14px;
  font-weight: 600;
}
.modules li::before {
  content: counter(module);
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: var(--blanc);
  color: var(--vert-fonce);
  font-family: var(--titre);
  font-size: 0.95rem;
}
.public {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--vert-fonce);
}
.puces {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.puces li {
  background: var(--menthe);
  color: var(--vert-encre);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}
.details {
  margin: 1.5rem 0;
  padding: 0.5rem 1.25rem;
  background: var(--sauge-pale);
  border-radius: 18px;
  font-size: 0.92rem;
}
.details div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.75rem;
  padding: 0.55rem 0;
}
.details div + div { border-top: 1px dashed rgba(87, 180, 139, 0.35); }
.details dt { font-weight: 600; }
.details dd { margin: 0; color: var(--texte-doux); }
.formation .carte-pied { border-top: 0; padding-top: 0.25rem; flex-wrap: wrap; }
.formation .prix { font-size: 2rem; }

/* ---------- Politiques ---------- */
.politiques { max-width: 920px; }
.politique {
  background: var(--blanc);
  border-radius: var(--rayon);
  padding: clamp(1.4rem, 3.5vw, 2.25rem);
  margin-bottom: 1.5rem;
  box-shadow: var(--ombre);
  scroll-margin-top: calc(var(--hauteur-entete) + 1rem);
}
.politique h3 { font-size: 1.4rem; }
.politique h4 { margin-top: 1.4rem; margin-bottom: 0.4rem; }
.politique ul { padding-left: 1.2rem; }
.politique li { margin-bottom: 0.4rem; }
.politique li::marker { color: var(--vert); }
.politique-statut { margin: 0 0 0.9rem; }

/* ---------- Avis ---------- */
.avis-merci {
  margin: 0;
  background: var(--menthe);
  border-bottom: 2px solid var(--vert);
  color: #1f4d38;
  padding: 1rem 1.25rem;
  text-align: center;
  font-weight: 600;
}
.avis-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 50;
  width: max-content;
  max-width: calc(100% - 2rem);
  background: var(--texte);
  color: var(--blanc);
  padding: 0.9rem 1.35rem;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  font-size: 0.95rem;
}

/* ---------- Pied de page ---------- */
.pied {
  background: var(--sauge);
  color: var(--texte);
  padding: 2.75rem 0 2.25rem;
  font-size: 0.9rem;
}
.pied-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
}
.pied-marque { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.pied a { color: var(--vert-encre); }
.pied p { margin: 0.25rem 0; }
.pied .petit { color: var(--texte-doux); font-size: 0.8rem; }

/* ---------- Tablette ---------- */
@media (max-width: 900px) {
  .banniere-inner { grid-template-columns: minmax(0, 1fr); }
  .banniere-visuel { justify-self: center; max-width: 360px; }
  /* Une colonne : la fleur saumon passe dans la marge du haut, hors du titre. */
  .banniere .f1 { top: 0.7rem; left: auto; right: 1.25rem; width: 28px; height: 28px; }

  .formation,
  .formation-inverse { grid-template-columns: minmax(0, 1fr); }
  .formation-inverse .formation-visuel { order: 0; }
  .formation-visuel { position: relative; top: auto; width: 100%; max-width: 440px; justify-self: center; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  :root { --hauteur-entete: 78px; }

  .menu-bouton { display: inline-flex; }
  .menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem;
    background: var(--blanc);
    border-radius: 20px;
    box-shadow: var(--ombre-forte);
  }
  .menu.ouvert { display: flex; }
  .menu a { padding: 0.85rem 1rem; border-radius: 14px; font-size: 1rem; }
  .logo img { height: 64px; }

  .section { padding: 3rem 0; }

  /* Fleurs décoratives : aucune ne doit chevaucher le texte de la bannière. */
  .banniere .surtitre { font-size: 0.75rem; }
  .banniere .f2,
  .banniere .f3 { display: none; }
  .banniere-visuel { max-width: 250px; }
  .banniere-actions .btn { flex: 1 1 auto; }

  .a-propos { grid-template-columns: minmax(0, 1fr); }
  .portrait .photo-placeholder { width: 170px; }
  .photo-initiales { font-size: 2.75rem; }

  .apercu,
  .media-duo { aspect-ratio: 16 / 10; }
  .carte-desc.replie { -webkit-line-clamp: 3; }

  .carte-trio { grid-template-columns: minmax(0, 1fr); }
  .trio-icone { display: none; }

  .visuel-freins { --cadre: 12px; }
  .visuel-freins img { border-radius: 12px; }
  .pastille-prix { font-size: 1.1rem; padding: 0.25rem 0.85rem; }

  .details { padding: 0.4rem 1rem; }
  .details div { grid-template-columns: 7rem 1fr; gap: 0.5rem; }
  .formation .carte-pied .btn { flex: 1; }

  .pied-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .details div { grid-template-columns: 1fr; gap: 0.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carte, .btn, .menu a, .filtre { transition: none; }
  .carte:hover, .btn:hover { transform: none; }
}

/* Portrait (temporaire, fourni par JM) */
.photo-portrait {
  display: block; width: 100%; max-width: 320px; aspect-ratio: 1 / 1;
  height: auto; object-fit: cover; object-position: 42% 48%;
  border-radius: 58% 42% 50% 50% / 48% 52% 48% 52%;
  box-shadow: 0 0 0 8px var(--menthe, #DCF6E8);
}
@media (max-width: 760px) { .photo-portrait { width: 170px; margin-inline: auto; } }
