/* ==========================================================================
   Les Petites Étoiles d'Orient — feuille de style
   Palette échantillonnée directement sur le logo de l'association.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs issues du logo */
  --safran: #f38341;
  --braise: #ec5b3c;
  --grenat: #d73544;
  --prune: #963376;

  /* Neutres */
  --encre: #241a2b;
  --encre-douce: #5f5266;
  --papier: #ffffff;
  --papier-chaud: #fbf7f5;
  --trait: #e8ded9;

  /* Dégradé signature */
  --halo: linear-gradient(145deg, var(--safran) 0%, var(--grenat) 52%, var(--prune) 100%);

  /* Typographie */
  --titre: "Fraunces", "Iowan Old Style", Georgia, serif;
  --texte: "Karla", "Helvetica Neue", Arial, sans-serif;

  /* Échelle de type */
  --t-xxl: clamp(2.6rem, 6.5vw, 4.6rem);
  --t-xl: clamp(2rem, 4.2vw, 3rem);
  --t-l: clamp(1.35rem, 2.4vw, 1.75rem);
  --t-m: clamp(1.05rem, 1.4vw, 1.15rem);
  --t-s: 0.94rem;
  --t-xs: 0.78rem;

  /* Rythme */
  --gouttiere: clamp(1.25rem, 4vw, 2.5rem);
  --largeur: 1180px;
  --largeur-texte: 68ch;
  --section-y: clamp(4rem, 9vw, 7.5rem);

  --arrondi: 4px;
  --arrondi-doux: 18px;

  --ombre: 0 18px 50px -28px rgba(36, 26, 43, 0.4);
  --transition: 260ms cubic-bezier(0.32, 0.72, 0.35, 1);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--texte);
  font-size: var(--t-m);
  line-height: 1.68;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 40;
}

h1 { font-size: var(--t-xxl); }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-l); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--grenat); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--prune); }

ul, ol { margin: 0 0 1.15em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

:focus-visible {
  outline: 2.5px solid var(--prune);
  outline-offset: 3px;
  border-radius: 2px;
}

.saut-contenu {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--encre);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--arrondi) var(--arrondi);
  transition: top var(--transition);
}
.saut-contenu:focus { top: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. Utilitaires de mise en page
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.wrap--etroit { max-width: 950px; }

.section { padding-block: var(--section-y); }
.section--chaud { background: var(--papier-chaud); }
.section--serre { padding-block: calc(var(--section-y) * 0.6); }

.mesure { max-width: var(--largeur-texte); }

.visuellement-cache {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Surtitre : petite étiquette de section */
.surtitre {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--texte);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--prune);
  margin: 0 0 1.1rem;
}
.surtitre::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--halo);
}

.chapeau {
  font-size: clamp(1.1rem, 1.8vw, 1.28rem);
  line-height: 1.6;
  color: var(--encre-douce);
  max-width: 56ch;
}

.chapeau__accent {
  font-weight: 700;
  color: var(--encre);
}

/* Mot mis en avant, souligné par le dégradé du logo */
.accent {
  background: var(--halo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   4. Boutons
   -------------------------------------------------------------------------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--texte);
  font-size: var(--t-s);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.95rem 1.75rem;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition),
    background-color var(--transition), color var(--transition);
}

.bouton--plein {
  background: var(--halo);
  color: #fff;
  box-shadow: 0 10px 26px -14px rgba(215, 53, 68, 0.9);
}
.bouton--plein:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -14px rgba(150, 51, 118, 0.75);
}

.bouton--trait {
  background: transparent;
  color: var(--encre);
  border-color: var(--trait);
}
.bouton--trait:hover {
  color: var(--encre);
  border-color: var(--prune);
  transform: translateY(-2px);
}

.bouton[disabled] { opacity: 0.55; cursor: progress; transform: none; }

.groupe-boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   5. En-tête et navigation
   -------------------------------------------------------------------------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.entete.est-detachee {
  border-bottom-color: var(--trait);
  box-shadow: 0 8px 24px -22px rgba(36, 26, 43, 0.7);
}

.entete__interieur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.marque {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--encre);
  font-family: var(--titre);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.marque:hover { color: var(--encre); }
.marque img { width: 46px; height: 46px; border-radius: 50%; }
.marque span { max-width: 15ch; }

.nav__liste {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__lien {
  display: inline-block;
  position: relative;
  padding: 0.55rem 0.95rem;
  font-size: var(--t-s);
  font-weight: 600;
  color: var(--encre);
  text-decoration: none;
  border-radius: var(--arrondi);
}
.nav__lien::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--halo);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav__lien:hover { color: var(--encre); }
.nav__lien:hover::after,
.nav__lien[aria-current="page"]::after { transform: scaleX(1); }

.nav__cta { margin-left: 0.6rem; padding: 0.7rem 1.35rem; }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background: none;
  border: 1.5px solid var(--trait);
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.burger__trait {
  display: block;
  position: relative;
  width: 18px;
  height: 1.5px;
  background: var(--encre);
  transition: background var(--transition);
}
.burger__trait::before,
.burger__trait::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--encre);
  transition: transform var(--transition), top var(--transition);
}
.burger__trait::before { top: -6px; }
.burger__trait::after { top: 6px; }

.burger[aria-expanded="true"] .burger__trait { background: transparent; }
.burger[aria-expanded="true"] .burger__trait::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__trait::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: inline-flex; }

  .nav {
    position: fixed;
    inset: 76px 0 auto;
    background: var(--papier);
    border-bottom: 1px solid var(--trait);
    padding: 1rem var(--gouttiere) 2rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }
  .nav.est-ouverte { opacity: 1; visibility: visible; transform: translateY(0); }

  .nav__liste { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__liste > li { width: 100%; margin: 0; }
  .nav__lien {
    display: block;
    width: 100%;
    padding: 1rem 0.25rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--trait);
  }
  .nav__lien::after { display: none; }
  .nav__lien[aria-current="page"] { color: var(--prune); }
  .nav__cta {
    display: flex;
    width: 100%;
    margin: 1.5rem 0 0;
    padding: 1rem 1.35rem;
    border-bottom: none;
  }
}

/* --------------------------------------------------------------------------
   6. Héros — le médaillon est l'élément signature du site
   -------------------------------------------------------------------------- */
.heros {
  position: relative;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 6.5rem);
  overflow: hidden;
}

.heros::before {
  content: "";
  position: absolute;
  top: -28%;
  right: -18%;
  width: min(70vw, 720px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(243, 131, 65, 0.16), rgba(150, 51, 118, 0.05) 55%, transparent 72%);
  z-index: -1;
  pointer-events: none;
}

.heros__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.heros__titre { margin-bottom: 1.1rem; }

.heros__note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.2rem;
  font-size: var(--t-s);
  color: var(--encre-douce);
}
.heros__note strong { color: var(--encre); font-weight: 700; }

/* Le médaillon : reprend le cercle et le tourbillon de jupe du logo */
.medaillon {
  position: relative;
  width: min(100%, 460px);
  margin-inline: auto;
  aspect-ratio: 1;
}

.medaillon__anneau {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: var(--halo);
  opacity: 0.9;
  animation: rotation 42s linear infinite;
  mask: radial-gradient(circle, transparent 0 calc(50% - 4px), #000 calc(50% - 4px));
  -webkit-mask: radial-gradient(circle, transparent 0 calc(50% - 4px), #000 calc(50% - 4px));
}

.medaillon__anneau--pointille {
  inset: -34px;
  background: none;
  border: 1.5px dashed rgba(150, 51, 118, 0.28);
  animation-duration: 90s;
  animation-direction: reverse;
  mask: none;
  -webkit-mask: none;
}

.medaillon__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: var(--papier-chaud);
}

.medaillon__etoile {
  position: absolute;
  width: 22px;
  color: var(--grenat);
  opacity: 0.85;
  animation: scintille 4.5s ease-in-out infinite;
}
.medaillon__etoile--a { top: 4%; left: 6%; animation-delay: 0s; }
.medaillon__etoile--b { bottom: 12%; right: 0%; width: 15px; color: var(--prune); animation-delay: 1.4s; }
.medaillon__etoile--c { bottom: -2%; left: 26%; width: 12px; color: var(--safran); animation-delay: 2.6s; }

@keyframes rotation { to { transform: rotate(360deg); } }
@keyframes scintille {
  0%, 100% { opacity: 0.3; transform: scale(0.86); }
  50% { opacity: 1; transform: scale(1); }
}

@media (max-width: 860px) {
  .heros__grille { grid-template-columns: 1fr; }
  .heros__media { order: -1; }
  .medaillon { width: min(74%, 330px); }
}

/* --------------------------------------------------------------------------
   7. Bandeau de valeurs
   -------------------------------------------------------------------------- */
.valeurs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.valeurs li {
  margin: 0;
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--trait);
  border-radius: 100px;
  font-size: var(--t-s);
  font-weight: 600;
  background: var(--papier);
}

/* --------------------------------------------------------------------------
   8bis. Galerie en quinconce (trois portraits)
   -------------------------------------------------------------------------- */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.trio__item {
  margin: 0;
  border-radius: var(--arrondi-doux);
  overflow: hidden;
  background: var(--papier-chaud);
  box-shadow: var(--ombre);
}

.trio__item img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* Décalage vertical : rythme irrégulier plutôt qu'une symétrie parfaite.
   Position relative (et non transform) pour ne pas entrer en conflit
   avec le transform utilisé par .reveler pendant l'animation d'apparition. */
.trio__item { position: relative; }
.trio__item:nth-child(1) { top: 22px; }
.trio__item:nth-child(2) { top: -32px; }
.trio__item:nth-child(3) { top: 8px; }

@media (max-width: 760px) {
  .trio {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    max-width: 340px;
    margin-inline: auto;
  }
  .trio__item:nth-child(1),
  .trio__item:nth-child(2),
  .trio__item:nth-child(3) { top: 0; }
}

/* --------------------------------------------------------------------------
   8. Le cours en trois temps (séquence réelle → numérotation justifiée)
   -------------------------------------------------------------------------- */
.temps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  counter-reset: temps;
}

.temps__item {
  position: relative;
  margin: 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--trait);
  counter-increment: temps;
}
.temps__item::before {
  content: counter(temps, decimal-leading-zero);
  display: block;
  font-family: var(--titre);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.9rem;
  background: var(--halo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.temps__item h3 { font-size: 1.22rem; margin-bottom: 0.5rem; }
.temps__item p { font-size: var(--t-s); color: var(--encre-douce); line-height: 1.62; }

/* --------------------------------------------------------------------------
   9bis. Carrousel manuel (3 images, sans défilement automatique)
   -------------------------------------------------------------------------- */
.carrousel {
  position: relative;
  border-radius: var(--arrondi-doux);
  overflow: hidden;
  box-shadow: var(--ombre);
  background: var(--papier-chaud);
}

.carrousel__piste {
  display: flex;
  transition: transform 480ms cubic-bezier(0.22, 0.68, 0.3, 1);
}

.carrousel__diapo {
  flex: 0 0 100%;
  margin: 0;
}

.carrousel__diapo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.carrousel__fleche {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--encre);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(36, 26, 43, 0.45);
  transition: background var(--transition), transform var(--transition);
}
.carrousel__fleche:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.carrousel__fleche--precedent { left: 14px; }
.carrousel__fleche--suivant { right: 14px; }

.carrousel__puces {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.carrousel__puce {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(36, 26, 43, 0.15);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.carrousel__puce:hover { transform: scale(1.15); }
.carrousel__puce[aria-current="true"] { background: #fff; box-shadow: 0 0 0 2px var(--prune); }

@media (max-width: 560px) {
  .carrousel__fleche { width: 38px; height: 38px; font-size: 1.2rem; }
}

/* --------------------------------------------------------------------------
   10. Blocs de contenu généraux
   -------------------------------------------------------------------------- */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.duo--texte-droite > .duo__media { order: -1; }

@media (max-width: 800px) {
  .duo { grid-template-columns: 1fr; }
  .duo--texte-droite > .duo__media { order: 0; }
}

.portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 240px 240px var(--arrondi-doux) var(--arrondi-doux);
  overflow: hidden;
  background: var(--papier-chaud);
  box-shadow: var(--ombre);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.cadre-photo {
  border-radius: var(--arrondi-doux);
  overflow: hidden;
  background: var(--papier-chaud);
  box-shadow: var(--ombre);
}
.cadre-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Encadré éditorial (la tribune sur le regard porté sur la danse) */
.tribune {
  position: relative;
  padding: clamp(2rem, 4vw, 3.25rem);
  background: var(--papier);
  border: 1px solid var(--trait);
  border-radius: var(--arrondi-doux);
}
.tribune::before {
  content: "";
  position: absolute;
  left: 0;
  top: clamp(2rem, 4vw, 3.25rem);
  bottom: clamp(2rem, 4vw, 3.25rem);
  width: 3px;
  border-radius: 3px;
  background: var(--halo);
  transform: translateX(-1.5px);
}
.tribune p:first-of-type { font-size: 1.12rem; }

.citation {
  font-family: var(--titre);
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  line-height: 1.35;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 40;
  margin: 0;
  max-width: 22ch;
}

/* Séparateur d'étoiles repris du logo */
.etoiles-separateur {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-block: clamp(2.5rem, 5vw, 4rem);
  color: var(--grenat);
  opacity: 0.55;
}
.etoiles-separateur svg:nth-child(2) { width: 15px; opacity: 0.7; }
.etoiles-separateur svg:nth-child(3) { width: 10px; opacity: 0.45; }
.etoiles-separateur svg { width: 11px; }

/* Cartes d'information (contact, infos pratiques) */
.cartes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.carte {
  margin: 0;
  padding: 1.75rem;
  background: var(--papier);
  border: 1px solid var(--trait);
  border-radius: var(--arrondi-doux);
  transition: border-color var(--transition), transform var(--transition);
}
.carte:hover { border-color: rgba(150, 51, 118, 0.35); transform: translateY(-3px); }
.carte h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.carte p { font-size: var(--t-s); color: var(--encre-douce); }
.carte a { font-weight: 600; }

/* Appel à l'action de bas de page */
.appel {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--arrondi-doux);
  background: var(--papier-chaud);
  border: 1px solid var(--trait);
}
.appel h2 { max-width: 18ch; margin-inline: auto; }
.appel .chapeau { margin-inline: auto; }
.appel .groupe-boutons { justify-content: center; }

/* --------------------------------------------------------------------------
   10. Formulaire
   -------------------------------------------------------------------------- */
.formulaire { display: grid; gap: 1.25rem; }

.champ { display: grid; gap: 0.45rem; }

.champ label {
  font-size: var(--t-s);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.champ .indication { font-weight: 400; color: var(--encre-douce); }

.champ input,
.champ textarea,
.champ select {
  width: 100%;
  font-family: var(--texte);
  font-size: 1rem;
  color: var(--encre);
  padding: 0.85rem 1rem;
  background: var(--papier);
  border: 1.5px solid var(--trait);
  border-radius: var(--arrondi);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.champ textarea { min-height: 170px; resize: vertical; }
.champ input:focus,
.champ textarea:focus,
.champ select:focus {
  outline: none;
  border-color: var(--prune);
  box-shadow: 0 0 0 3px rgba(150, 51, 118, 0.12);
}
.champ input[aria-invalid="true"],
.champ textarea[aria-invalid="true"] { border-color: var(--grenat); }

.erreur-champ {
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--grenat);
  min-height: 1em;
}

.duo-champs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.consentement {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 1.1rem 1.25rem;
  background: var(--papier-chaud);
  border: 1px solid var(--trait);
  border-radius: var(--arrondi);
}
.consentement input { width: 20px; height: 20px; margin-top: 0.2rem; accent-color: var(--prune); }
.consentement label { font-size: var(--t-s); font-weight: 400; line-height: 1.55; }

/* Piège à robots : invisible pour les humains, rempli par les bots */
.pot-de-miel {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.message-formulaire {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--arrondi);
  font-size: var(--t-s);
  font-weight: 600;
}
.message-formulaire.est-visible { display: block; }
.message-formulaire--succes { background: #edf7f0; color: #1d6b3c; border: 1px solid #bfe3cc; }
.message-formulaire--echec { background: #fdf0f1; color: #a51f2c; border: 1px solid #f2c6ca; }

/* --------------------------------------------------------------------------
   11. Pages de texte légal
   -------------------------------------------------------------------------- */
.page-titre {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--trait);
}

.texte-legal h2 {
  font-size: 1.5rem;
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--trait);
}
.texte-legal h2:first-of-type { margin-top: 0; border-top: none; padding-top: 0; }
.texte-legal h3 { font-size: 1.12rem; margin-top: 1.75rem; }
.texte-legal p,
.texte-legal li { font-size: var(--t-s); color: var(--encre-douce); }
.texte-legal strong { color: var(--encre); }

.sommaire {
  list-style: none;
  padding: 1.25rem 1.5rem;
  margin: 0 0 2.5rem;
  background: var(--papier-chaud);
  border-radius: var(--arrondi-doux);
  border: 1px solid var(--trait);
  columns: 2;
  column-gap: 2rem;
}
.sommaire li { font-size: var(--t-s); break-inside: avoid; }
@media (max-width: 620px) { .sommaire { columns: 1; } }

/* --------------------------------------------------------------------------
   12. Pied de page
   -------------------------------------------------------------------------- */
.pied {
  background: var(--encre);
  color: rgba(255, 255, 255, 0.72);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: var(--t-s);
}
.pied a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; }

.pied__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: 2.5rem;
}
@media (max-width: 760px) { .pied__grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pied__grille { grid-template-columns: 1fr; } }

.pied__marque {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-family: var(--titre);
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
}
.pied__marque img { width: 52px; height: 52px; border-radius: 50%; }

.pied__titre {
  font-family: var(--texte);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1rem;
}

.pied__liste { list-style: none; margin: 0; padding: 0; }
.pied__liste li { margin-bottom: 0.55rem; }

/* Réseaux sociaux : rangée d'icônes côte à côte plutôt qu'une liste empilée */
.reseaux {
  display: flex;
  gap: 0.6rem;
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
}

.reseaux__lien {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.reseaux__lien svg {
  width: 17px;
  height: 17px;
  flex: none;
}
a.reseaux__lien:hover {
  background: var(--halo);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

/* Réseau pas encore actif : affiché mais non cliquable */
.reseaux__lien--desactive {
  opacity: 0.35;
  cursor: default;
}

.pied__bas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--t-xs);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   13. Révélation au défilement
   -------------------------------------------------------------------------- */
.js .reveler {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 0.68, 0.3, 1);
}
.js .reveler.est-revele { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   14. Préférences de mouvement réduit
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveler { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   15. Impression
   -------------------------------------------------------------------------- */
@media print {
  .entete, .pied, .burger, .groupe-boutons { display: none; }
  body { color: #000; font-size: 11pt; }
}
