/* ==========================================================
   COOMISGUI — Système de design v2
   Noir charbon, or, ivoire. Couture éditoriale.
   ========================================================== */

:root {
  --noir: #0B0B0C;
  --noir-2: #131315;
  --or: #C9A227;
  --or-clair: #E8C96A;
  --ivoire: #F5F0E6;
  --gris: #8F8A80;
  --serif: "Cormorant Garamond", serif;
  --sans: "Jost", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--noir);
  color: var(--ivoire);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--or); color: var(--noir); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; cursor: pointer; color: inherit; font: inherit; }

main, .entete { position: relative; z-index: 2; }

/* ----- Poussière d'or (fond) ----- */

#poussiere {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ----- Curseur personnalisé (pointeur fin uniquement) ----- */

.curseur, .curseur-halo {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 200;
  display: none;
}

.curseur {
  width: 7px;
  height: 7px;
  background: var(--or-clair);
}

.curseur-halo {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(201, 162, 39, 0.55);
  transition: width 0.35s ease, height 0.35s ease, border-color 0.35s ease;
}

.curseur-halo.actif {
  width: 64px;
  height: 64px;
  border-color: rgba(232, 201, 106, 0.9);
}

@media (pointer: fine) {
  .curseur, .curseur-halo { display: block; }
}

/* ----- Préchargeur à rideaux ----- */

.prechargeur {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.prechargeur .volet {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background: var(--noir);
}

.prechargeur .volet-g { left: 0; }
.prechargeur .volet-d { right: 0; }

.prechargeur .pre-contenu {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  z-index: 2;
}

.prechargeur img { width: 108px; opacity: 0; }

.prechargeur .trait {
  width: 0;
  height: 1px;
  background: var(--or);
}

.prechargeur .pourcent {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.35em;
  color: var(--gris);
}

/* ----- Navigation ----- */

.entete {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 48px;
}

.entete .marque {
  font-weight: 500;
  letter-spacing: 0.35em;
  font-size: 14.5px;
  text-transform: uppercase;
}

.entete nav {
  display: flex;
  gap: 36px;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.entete nav a {
  position: relative;
  padding-bottom: 4px;
}

.entete nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.entete nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ----- Burger et menu voile (mobile) ----- */

.burger {
  display: none;
  flex-direction: column;
  gap: 7px;
  padding: 6px 2px;
  z-index: 70;
}

.burger span {
  display: block;
  width: 30px;
  height: 1.5px;
  background: var(--ivoire);
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s;
}

.burger.ouvert span:first-child { transform: translateY(4.25px) rotate(45deg); }
.burger.ouvert span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

.voile-menu {
  position: fixed;
  inset: 0;
  background: var(--noir-2);
  z-index: 60;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 32px;
  transform: translateY(-104%);
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
}

.voile-menu.ouvert { transform: translateY(0); }

.voile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.voile-menu nav a {
  font-family: var(--serif);
  font-size: clamp(38px, 10vw, 64px);
  font-weight: 500;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s;
}

.voile-menu.ouvert nav a { opacity: 1; transform: translateY(0); }
.voile-menu.ouvert nav a:nth-child(1) { transition-delay: 0.25s; }
.voile-menu.ouvert nav a:nth-child(2) { transition-delay: 0.33s; }
.voile-menu.ouvert nav a:nth-child(3) { transition-delay: 0.41s; }
.voile-menu.ouvert nav a:nth-child(4) { transition-delay: 0.49s; }

.voile-menu nav a:active, .voile-menu nav a:hover { color: var(--or-clair); }

.voile-menu .voile-pied {
  position: absolute;
  bottom: 36px;
  left: 32px;
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gris);
}

/* ----- Fil d'or (signature) ----- */

.fil-or {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.fil-or path {
  fill: none;
  stroke: var(--or);
  stroke-width: 1.2;
  opacity: 0.55;
}

/* ----- Sections communes ----- */

.section {
  position: relative;
  padding: 140px 48px;
  max-width: 1440px;
  margin: 0 auto;
}

.sur-titre {
  font-size: 13.5px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 30px;
}

.titre-serif {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.06;
  color: var(--ivoire);
}

.ligne-revele { display: block; overflow: hidden; }
.ligne-revele > span { display: block; transform: translateY(112%); }
.ligne-revele .car { display: inline-block; }
.ligne-revele .mot { display: inline-block; white-space: nowrap; }

.texte-or {
  background: linear-gradient(105deg, var(--or) 20%, #F6E27A 42%, var(--or-clair) 50%, var(--or) 72%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  animation: reflet 4.2s ease-in-out infinite;
}

@keyframes reflet {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}

.apparait { opacity: 0; transform: translateY(26px); }

/* ----- Héro ----- */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero .titre-serif {
  font-size: clamp(58px, 11vw, 172px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.hero .titre-serif .decale { margin-left: 12vw; }

.hero-bas {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 64px;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-bas p {
  max-width: 380px;
  color: var(--gris);
  font-size: 15.5px;
}

.hero-miss { text-align: right; }

.hero-miss .etiquette {
  font-size: 11.5px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 10px;
}

.hero-miss .nom {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 48px);
  color: var(--or-clair);
  font-style: italic;
  font-weight: 500;
  line-height: 1.1;
}

.filigrane {
  position: absolute;
  right: -4vw;
  bottom: -6vh;
  width: 44vw;
  max-width: 620px;
  opacity: 0.05;
  pointer-events: none;
}

.indice-defiler {
  position: absolute;
  bottom: 34px;
  left: 48px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gris);
  display: flex;
  align-items: center;
  gap: 14px;
}

.indice-defiler::after {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--or);
  transform-origin: left;
  animation: pulsation 2.4s ease-in-out infinite;
}

@keyframes pulsation {
  0%, 100% { transform: scaleX(0.35); opacity: 0.5; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* ----- Bandeau défilant ----- */

.bandeau {
  overflow: hidden;
  border-top: 1px solid rgba(201, 162, 39, 0.25);
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
  padding: 26px 0;
  position: relative;
  z-index: 2;
}

.bande-piste {
  display: flex;
  width: max-content;
  animation: defile 30s linear infinite;
}

.bande-piste span {
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 162, 39, 0.75);
  padding-right: 60px;
}

.bande-piste span em {
  font-style: italic;
  -webkit-text-stroke: 0;
  color: var(--or);
}

@keyframes defile {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----- Palmarès ----- */

.palmares { overflow: hidden; }

.palmares .titre-serif {
  font-size: clamp(40px, 5.5vw, 84px);
  margin-bottom: 70px;
}

.texte-fantome {
  position: absolute;
  top: 46%;
  left: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(160px, 24vw, 380px);
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 240, 230, 0.06);
  pointer-events: none;
  z-index: 0;
}

.rangee-miss {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: baseline;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(245, 240, 230, 0.12);
  transition: padding-left 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 1;
}

.rangee-miss:first-of-type { border-top: 1px solid rgba(245, 240, 230, 0.12); }
.rangee-miss:hover { padding-left: 22px; }

.rangee-miss::after {
  content: attr(data-annee);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(80px, 10vw, 150px);
  color: var(--or);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.rangee-miss:hover::after { opacity: 0.08; }

.rangee-miss .annee {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gris);
  font-weight: 500;
}

.rangee-miss .nom {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 500;
  transition: color 0.4s ease;
}

.rangee-miss:hover .nom { color: var(--or-clair); }

.rangee-miss .mention {
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--or);
}

/* ----- Chiffres ----- */

.chiffres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  align-items: start;
}

.chiffre .valeur {
  font-family: var(--serif);
  font-size: clamp(64px, 8vw, 120px);
  font-weight: 500;
  line-height: 1;
}

.chiffre .valeur sup { font-size: 0.45em; color: var(--or); }

.chiffre .legende {
  margin-top: 14px;
  color: var(--gris);
  font-size: 16px;
  max-width: 240px;
}

/* ----- Appel ----- */

.appel { padding-top: 180px; padding-bottom: 180px; }

.appel .titre-serif { font-size: clamp(42px, 7vw, 110px); }

.appel .actions {
  margin-top: 60px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.lien-souligne {
  display: inline-block;
  font-size: 14.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--or);
  padding-bottom: 10px;
  transition: color 0.4s ease, letter-spacing 0.4s ease;
}

.lien-souligne:hover { color: var(--or-clair); letter-spacing: 0.38em; }

/* ----- Pied de page ----- */

.pied {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(245, 240, 230, 0.12);
  padding: 60px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--gris);
  font-size: 14.5px;
  letter-spacing: 0.08em;
}

.pied img { width: 54px; opacity: 0.85; }

/* ==========================================================
   RESPONSIVE — tablette puis mobile
   ========================================================== */

@media (max-width: 1024px) {
  .section { padding: 110px 36px; }
  .indice-defiler { left: 36px; }
  .pied { padding: 50px 36px; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .entete { padding: 20px 22px; }
  .entete nav { display: none; }
  .burger { display: flex; }
  .section { padding: 68px 22px; }
  .hero .titre-serif { font-size: clamp(38px, 11vw, 84px); }
  .hero .titre-serif .decale { margin-left: 7vw; }
  .hero-bas { flex-direction: column; align-items: flex-start; margin-top: 26px; gap: 22px; }
  .hero-miss { text-align: left; }
  .filigrane { width: 74vw; right: -14vw; opacity: 0.045; }
  .indice-defiler { left: 22px; bottom: 26px; }
  .palmares .titre-serif { margin-bottom: 44px; }
  .rangee-miss { grid-template-columns: 58px 1fr; gap: 18px; padding: 26px 0; }
  .rangee-miss .annee { font-size: 19px; }
  .rangee-miss .mention { grid-column: 2; }
  .rangee-miss:hover { padding-left: 0; }
  .rangee-miss::after { display: none; }
  .chiffres { grid-template-columns: 1fr; gap: 44px; }
  .appel { padding-top: 120px; padding-bottom: 120px; }
  .appel .actions { gap: 30px; flex-direction: column; }
  .pied { padding: 44px 22px; flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 400px) {
  .hero .titre-serif { font-size: clamp(34px, 10.5vw, 48px); }
  .bande-piste span { font-size: 40px; }
}

/* ----- Mouvement réduit : tout visible, rien ne bouge ----- */

@media (prefers-reduced-motion: reduce) {
  .prechargeur { display: none; }
  .ligne-revele > span { transform: none; }
  .apparait { opacity: 1; transform: none; }
  .indice-defiler::after,
  .bande-piste,
  .texte-or { animation: none; }
  .texte-or { color: var(--or-clair); background: none; }
  #poussiere { display: none; }
}

@media (max-width: 860px) {
  .hero { min-height: 0; padding-top: 116px; padding-bottom: 52px; justify-content: flex-start; }
  .indice-defiler { position: static; margin-top: 38px; }
}
/* ==========================================================
   COOMISGUI — Compléments : palmarès, fiches, corrections mobiles
   ========================================================== */

/* ----- L'en-tête ne laisse plus le contenu se mélanger à lui ----- */

.entete {
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.94) 55%, rgba(11, 11, 12, 0));
  padding-bottom: 30px;
}

/* ----- En-tête de page intérieure ----- */

.en-tete-page {
  padding-top: 170px;
  padding-bottom: 60px;
}

.en-tete-page .titre-serif {
  font-size: clamp(44px, 7vw, 104px);
}

.retour {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 34px;
  transition: color 0.3s ease;
}

.retour:hover { color: var(--or-clair); }

/* ----- Cadre photo réservé (avant les portraits officiels) ----- */

.cadre-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: var(--noir-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  overflow: hidden;
}

.cadre-photo::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 162, 39, 0.16);
  pointer-events: none;
}

.cadre-photo .embleme {
  width: 34%;
  opacity: 0.16;
}

.cadre-photo span {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gris);
}

.cadre-photo img.portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----- Page palmarès : les règnes ----- */

.regnes {
  display: flex;
  flex-direction: column;
  gap: 110px;
  padding-top: 20px;
}

.regne {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: 64px;
  align-items: start;
}

.regne:nth-child(even) { direction: rtl; }
.regne:nth-child(even) > * { direction: ltr; }

.regne .annee-geante {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(64px, 8vw, 130px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 162, 39, 0.6);
  margin-bottom: 18px;
}

.regne .nom-reine {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 500;
  line-height: 1.12;
  margin-bottom: 8px;
}

.regne .nom-reine a { transition: color 0.35s ease; }
.regne .nom-reine a:hover { color: var(--or-clair); }

.regne .mention {
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 34px;
}

.dauphines {
  border-top: 1px solid rgba(245, 240, 230, 0.12);
  margin-top: 26px;
}

.dauphine {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(245, 240, 230, 0.12);
}

.dauphine .nom {
  font-family: var(--serif);
  font-size: 22px;
  transition: color 0.3s ease;
}

.dauphine:hover .nom { color: var(--or-clair); }

.dauphine .titre-dauphine {
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gris);
  white-space: nowrap;
}

/* ----- Fiche d'une reine ----- */

.fiche {
  display: grid;
  grid-template-columns: minmax(0, 430px) 1fr;
  gap: 70px;
  align-items: start;
}

.fiche-infos .titre-serif {
  font-size: clamp(40px, 5.6vw, 86px);
  margin-bottom: 12px;
}

.fiche-infos .mention {
  font-size: 13.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 36px;
}

.fiche-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 44px;
  padding: 22px 0;
  border-top: 1px solid rgba(245, 240, 230, 0.12);
  border-bottom: 1px solid rgba(245, 240, 230, 0.12);
  margin-bottom: 36px;
}

.fiche-meta div .etiquette {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 4px;
}

.fiche-meta div .valeur {
  font-family: var(--serif);
  font-size: 20px;
}

.parcours { margin-top: 10px; }

.parcours .etape {
  display: flex;
  gap: 26px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(245, 240, 230, 0.1);
}

.parcours .etape .annee {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gris);
  min-width: 64px;
}

.parcours .etape .statut { font-size: 15px; letter-spacing: 0.04em; }

.a-venir {
  border: 1px dashed rgba(201, 162, 39, 0.3);
  padding: 34px 30px;
  color: var(--gris);
  font-size: 16px;
  margin-top: 44px;
}

.a-venir .etiquette {
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 8px;
}

/* ----- Responsive des nouvelles pages et corrections des vides ----- */

@media (max-width: 1024px) {
  .regne { gap: 40px; }
  .fiche { gap: 44px; }
}

@media (max-width: 860px) {
  .en-tete-page { padding-top: 128px; padding-bottom: 34px; }
  .regnes { gap: 64px; }
  .regne { grid-template-columns: 1fr; gap: 26px; }
  .regne .cadre-photo { max-width: 420px; }
  .fiche { grid-template-columns: 1fr; gap: 30px; }
  .fiche .cadre-photo { max-width: 420px; }

  .appel { padding-top: 56px; padding-bottom: 44px; }
  .appel .actions { margin-top: 36px; }
  .chiffres { gap: 34px; }
  .pied { padding-top: 34px; padding-bottom: 34px; }
  .entete { padding-bottom: 22px; }
}

.bloc-texte { max-width: 720px; }
.bloc-texte p { margin-bottom: 22px; color: var(--ivoire); font-size: 17px; }
.valeurs { display: flex; flex-direction: column; }
.valeur-ligne { display: grid; grid-template-columns: 90px 1fr; gap: 30px; align-items: start; padding: 34px 0; border-bottom: 1px solid rgba(245, 240, 230, 0.12); }
.valeur-ligne:first-child { border-top: 1px solid rgba(245, 240, 230, 0.12); }
.valeur-ligne .numero { font-family: var(--serif); font-size: 40px; color: transparent; -webkit-text-stroke: 1px rgba(201, 162, 39, 0.65); line-height: 1; }
.valeur-ligne .intitule { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); font-weight: 500; margin-bottom: 8px; }
.valeur-ligne p { color: var(--gris); font-size: 15.5px; max-width: 560px; }
@media (max-width: 860px) {
  .valeur-ligne { grid-template-columns: 54px 1fr; gap: 18px; padding: 24px 0; }
  .valeur-ligne .numero { font-size: 30px; }
}
/* ==========================================================
   COOMISGUI — Formulaire de candidature et critères
   ========================================================== */

.liste-criteres {
  list-style: none;
  counter-reset: critere;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 60px;
}

.liste-criteres li {
  counter-increment: critere;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid rgba(245, 240, 230, 0.12);
  font-size: 15.5px;
  color: var(--ivoire);
}

.liste-criteres li .num::before {
  content: counter(critere, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 28px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 162, 39, 0.65);
}

/* ----- Formulaire ----- */

.formulaire {
  position: relative;
  max-width: 860px;
}

.grille-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 54px;
}

.champ { margin-bottom: 30px; }

.champ label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 10px;
}

.champ input,
.champ select,
.champ textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(245, 240, 230, 0.3);
  color: var(--ivoire);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  padding: 10px 2px 12px;
  border-radius: 0;
  transition: border-color 0.35s ease;
}

.champ textarea {
  border: 1px solid rgba(245, 240, 230, 0.3);
  padding: 16px;
  resize: vertical;
  min-height: 130px;
}

.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--or);
}

.champ select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--or) 50%),
                    linear-gradient(135deg, var(--or) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.champ select option { background: var(--noir-2); color: var(--ivoire); }

.champ input[type="date"] { color-scheme: dark; }

.champ input[type="file"] {
  border-bottom: 0;
  padding: 6px 0;
  font-size: 15.5px;
  color: var(--gris);
  cursor: pointer;
}

.champ input[type="file"]::file-selector-button {
  background: transparent;
  border: 1px solid var(--or);
  color: var(--ivoire);
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 12px 22px;
  margin-right: 18px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.champ input[type="file"]::file-selector-button:hover {
  background: var(--or);
  color: var(--noir);
}

.engagement {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 18px;
  align-items: start;
  margin: 34px 0 44px;
  cursor: pointer;
  color: var(--gris);
  font-size: 16px;
  line-height: 1.75;
}

.engagement input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--or);
  background: transparent;
  cursor: pointer;
  position: relative;
  top: 4px;
  transition: background 0.25s ease;
}

.engagement input[type="checkbox"]:checked { background: var(--or); }

.engagement input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--noir);
  clip-path: polygon(14% 44%, 0 62%, 40% 100%, 100% 16%, 84% 2%, 38% 70%);
}

.bouton-or {
  display: inline-block;
  border: 1px solid var(--or);
  color: var(--ivoire);
  font-size: 14.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 20px 44px;
  transition: background 0.4s ease, color 0.4s ease, letter-spacing 0.4s ease;
}

.bouton-or:hover {
  background: var(--or);
  color: var(--noir);
  letter-spacing: 0.36em;
}

.note-form {
  margin-top: 26px;
  font-size: 14.5px;
  color: var(--gris);
  max-width: 520px;
}

.encart-erreurs {
  border: 1px solid rgba(216, 90, 48, 0.55);
  color: #E8A188;
  padding: 24px 28px;
  margin-bottom: 40px;
  font-size: 16px;
  max-width: 860px;
}

.encart-erreurs ul { margin-top: 10px; padding-left: 18px; }
.encart-erreurs li { margin-top: 4px; }

/* ----- Responsive ----- */

@media (max-width: 860px) {
  .liste-criteres { grid-template-columns: 1fr; gap: 0; }
  .liste-criteres li { grid-template-columns: 46px 1fr; gap: 14px; padding: 16px 0; font-size: 15px; }
  .liste-criteres li .num::before { font-size: 22px; }
  .grille-2 { grid-template-columns: 1fr; gap: 0; }
  .champ { margin-bottom: 26px; }
  .bouton-or { width: 100%; text-align: center; }
}
/* ==========================================================
   COOMISGUI — Espace comité
   ========================================================== */

body.espace .entete {
  background: var(--noir-2);
  border-bottom: 1px solid rgba(245, 240, 230, 0.1);
  padding-bottom: 22px;
}

.lien-sortie {
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gris);
  transition: color 0.3s ease;
}

.lien-sortie:hover { color: var(--or-clair); }

.carte-connexion {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
}

.carte-connexion img { width: 70px; margin-bottom: 26px; }

.encart-succes {
  border: 1px solid rgba(29, 158, 117, 0.55);
  color: #7FD8B4;
  padding: 18px 24px;
  margin-bottom: 30px;
  font-size: 16px;
  max-width: 860px;
}

/* ----- Filtres ----- */

.filtres {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-bottom: 34px;
  font-size: 13.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.filtres a {
  color: var(--gris);
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.filtres a:hover { color: var(--ivoire); }
.filtres a.actif { color: var(--or-clair); border-color: var(--or); }

/* ----- Lignes de candidatures ----- */

.ligne-candidature {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(245, 240, 230, 0.12);
  transition: padding-left 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.ligne-candidature:first-of-type { border-top: 1px solid rgba(245, 240, 230, 0.12); }
.ligne-candidature:hover { padding-left: 14px; }

.ligne-candidature .nom-candidate {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  transition: color 0.3s ease;
}

.ligne-candidature:hover .nom-candidate { color: var(--or-clair); }

.ligne-candidature .details,
.details {
  font-size: 14.5px;
  color: var(--gris);
}

/* ----- Badges de statut ----- */

.badge {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 7px 14px;
  border: 1px solid;
  white-space: nowrap;
}

.badge.st-recue { color: #B4B2A9; border-color: rgba(180, 178, 169, 0.5); }
.badge.st-en_etude { color: #EFC26B; border-color: rgba(239, 194, 107, 0.55); }
.badge.st-retenue { color: #7FD8B4; border-color: rgba(127, 216, 180, 0.55); }
.badge.st-rejetee { color: #E89B8A; border-color: rgba(232, 155, 138, 0.55); }

/* ----- Boutons de décision ----- */

.decisions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
}

.bouton-decision {
  border: 1px solid rgba(245, 240, 230, 0.4);
  color: var(--ivoire);
  font-size: 13.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 16px 26px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.bouton-decision:hover { border-color: var(--ivoire); background: rgba(245, 240, 230, 0.08); }

.bouton-decision.retenir { border-color: var(--or); }
.bouton-decision.retenir:hover { background: var(--or); color: var(--noir); }

.bouton-decision.rejeter { border-color: rgba(226, 75, 74, 0.6); color: #E89B8A; }
.bouton-decision.rejeter:hover { background: rgba(226, 75, 74, 0.14); }

/* ----- Pagination Laravel ----- */

.espace nav[role="navigation"] { font-size: 15.5px; }

/* ----- Responsive ----- */

@media (max-width: 860px) {
  .ligne-candidature { grid-template-columns: 1fr auto; }
  .ligne-candidature > .details { display: none; }
  .decisions { flex-direction: column; }
  .bouton-decision { width: 100%; }
}

.grille-equipe { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 46px 40px; }
.membre { max-width: 300px; }
.portrait-membre { aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid rgba(201, 162, 39, 0.35); margin-bottom: 18px; }
.portrait-membre img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92); transition: transform 0.6s ease; }
.membre:hover .portrait-membre img { transform: scale(1.04); }
.monogramme { aspect-ratio: 3 / 4; border: 1px solid rgba(201, 162, 39, 0.35); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 54px; color: transparent; -webkit-text-stroke: 1px rgba(201, 162, 39, 0.6); margin-bottom: 18px; }
.nom-membre { font-family: var(--serif); font-size: 24px; font-weight: 500; margin-bottom: 6px; }
.role-membre { font-size: 15px; color: var(--gris); line-height: 1.6; }
@media (max-width: 860px) { .grille-equipe { grid-template-columns: 1fr 1fr; gap: 30px 20px; } .monogramme { font-size: 40px; } }

.en-tete-page { overflow: hidden; }
.en-tete-page .filigrane { right: -10vw; bottom: auto; top: 40px; width: 52vw; max-width: 460px; }
.en-tete-page .sur-titre::before { content: ""; display: inline-block; width: 34px; height: 1px; background: var(--or); margin-right: 14px; vertical-align: middle; }
@media (max-width: 860px) {
  .en-tete-page .filigrane { width: 80vw; right: -24vw; top: 20px; opacity: 0.04; }
}

.couronne-hero { display: block; width: clamp(130px, 15vw, 220px); margin: 0 0 18px 4px; opacity: 0; filter: drop-shadow(0 22px 34px rgba(201, 162, 39, 0.28)); animation: apparaitre-couronne 1.2s ease 0.35s forwards, levitation 5.5s ease-in-out 0.35s infinite; }
.couronne-page { display: block; width: clamp(64px, 7vw, 92px); margin-bottom: 20px; opacity: 0; filter: drop-shadow(0 12px 20px rgba(201, 162, 39, 0.25)); animation: apparaitre-couronne 1s ease 0.25s forwards, levitation 6s ease-in-out infinite; }
@keyframes apparaitre-couronne { to { opacity: 1; } }
@keyframes levitation { 0%, 100% { transform: translateY(0) rotate(-1.4deg); } 50% { transform: translateY(-12px) rotate(1.4deg); } }
.appel { position: relative; }
.appel::after { content: ""; position: absolute; right: 3vw; top: 50%; width: clamp(180px, 22vw, 320px); aspect-ratio: 697 / 478; background: url('/assets/brand/couronne.png') center / contain no-repeat; opacity: 0.85; transform: translateY(-50%); pointer-events: none; filter: drop-shadow(0 20px 30px rgba(201, 162, 39, 0.22)); animation: levitation-appel 6.5s ease-in-out infinite; }
@keyframes levitation-appel { 0%, 100% { transform: translateY(-50%) rotate(-1.2deg); } 50% { transform: translateY(calc(-50% - 12px)) rotate(1.2deg); } }
@media (max-width: 860px) {
  .appel::after { width: 170px; right: -26px; opacity: 0.22; }
}
@media (prefers-reduced-motion: reduce) {
  .couronne-hero, .couronne-page { opacity: 1; animation: none; }
  .appel::after { animation: none; }
}

.grille-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 30px 26px; }
.carte-logo { background: var(--ivoire); aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; padding: 22px; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease; }
.carte-logo img { max-height: 62px; max-width: 82%; width: auto; }
.carte-logo span { font-family: var(--serif); font-size: 17px; color: var(--noir); text-align: center; line-height: 1.3; }
.bloc-partenaire:hover .carte-logo { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(201, 162, 39, 0.16); }
.legende-logo { margin-top: 12px; font-size: 14px; color: var(--gris); letter-spacing: 0.04em; }
.voile-menu.ouvert nav a:nth-child(5) { transition-delay: 0.57s; }
@media (max-width: 860px) { .grille-logos { grid-template-columns: 1fr 1fr; gap: 20px 14px; } .carte-logo img { max-height: 48px; } }

.sur-titre::before { content: ""; display: inline-block; width: 34px; height: 1px; background: var(--or); margin-right: 14px; vertical-align: middle; }
main .section:not(.hero):not(.en-tete-page):not(.appel) { padding-top: 62px; padding-bottom: 62px; }
.en-tete-page { padding-bottom: 36px; }
.appel { padding-top: 110px; padding-bottom: 120px; }
@media (max-width: 860px) {
  main .section:not(.hero):not(.en-tete-page):not(.appel) { padding-top: 46px; padding-bottom: 46px; }
  .appel { padding-top: 62px; padding-bottom: 50px; }
  .en-tete-page { padding-bottom: 24px; }
}

.grille-albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.carte-album { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid rgba(201, 162, 39, 0.25); background: var(--noir-2); display: block; }
.carte-album img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.carte-album:hover img { transform: scale(1.05); }
.album-vide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.album-vide img { width: 30%; opacity: 0.14; object-fit: contain; }
.voile-album { position: absolute; inset: auto 0 0 0; padding: 40px 20px 18px; background: linear-gradient(180deg, transparent, rgba(11, 11, 12, 0.92)); display: flex; flex-direction: column; gap: 3px; }
.titre-album { font-family: var(--serif); font-size: 23px; color: var(--ivoire); }
.compte-album { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--or); }
.grille-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.grille-photos a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--noir-2); }
.grille-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.grille-photos a:hover img { transform: scale(1.04); }
.grille-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
.video-cadre { aspect-ratio: 16 / 9; border: 1px solid rgba(201, 162, 39, 0.25); }
.video-cadre iframe { width: 100%; height: 100%; border: 0; }
.visionneuse { position: fixed; inset: 0; z-index: 90; background: rgba(6, 6, 7, 0.96); display: flex; align-items: center; justify-content: center; padding: 4vh 4vw; cursor: zoom-out; }
.visionneuse img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.visionneuse-fermer { position: absolute; top: 18px; right: 26px; font-size: 34px; color: var(--ivoire); line-height: 1; }
.grille-medias-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.media-admin { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--noir-2); border: 1px solid rgba(245, 240, 230, 0.12); }
.media-admin img { width: 100%; height: 100%; object-fit: cover; }
.media-admin .etiquette-video { position: absolute; left: 8px; bottom: 8px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--noir); background: var(--or); padding: 3px 8px; }
.supprimer-media { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; background: rgba(11, 11, 12, 0.85); color: #E89B8A; font-size: 18px; line-height: 1; border: 1px solid rgba(232, 155, 138, 0.5); }
.voile-menu.ouvert nav a:nth-child(6) { transition-delay: 0.65s; }
@media (max-width: 860px) {
  .grille-albums { grid-template-columns: 1fr; }
  .grille-photos { grid-template-columns: 1fr 1fr; gap: 8px; }
  .grille-videos { grid-template-columns: 1fr; }
}

.visionneuse[hidden] { display: none; }

.grille-articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 30px; }
.carte-article { display: block; }
.image-article { display: block; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid rgba(201, 162, 39, 0.25); background: var(--noir-2); margin-bottom: 18px; }
.image-article img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.carte-article:hover .image-article img { transform: scale(1.05); }
.article-sans-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.article-sans-image img { width: 34%; opacity: 0.2; object-fit: contain; }
.date-article { display: block; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--or); margin-bottom: 8px; }
.titre-article { display: block; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; line-height: 1.25; color: var(--ivoire); transition: color 0.3s ease; }
.carte-article:hover .titre-article { color: var(--or-clair); }
.extrait-article { display: block; margin-top: 10px; font-size: 16px; color: var(--gris); }
.couverture-article { max-width: 1000px; border: 1px solid rgba(201, 162, 39, 0.25); }
.couverture-article img { width: 100%; }
.contenu-article { max-width: 760px; font-size: 17.5px; line-height: 1.95; color: var(--ivoire); }
.contenu-article::first-letter { font-family: var(--serif); font-size: 3.2em; line-height: 0.85; color: var(--or-clair); float: left; padding-right: 12px; padding-top: 6px; }
.voile-menu.ouvert nav a:nth-child(7) { transition-delay: 0.73s; }
@media (max-width: 860px) { .grille-articles { grid-template-columns: 1fr; gap: 34px; } }

.voile-menu.ouvert nav a:nth-child(8) { transition-delay: 0.81s; }

.prochain-evenement { display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: start; border: 1px solid rgba(201, 162, 39, 0.35); padding: 40px; max-width: 900px; }
.date-majeste { text-align: center; }
.date-majeste .jour { display: block; font-family: var(--serif); font-size: clamp(64px, 8vw, 110px); font-weight: 600; line-height: 0.9; color: var(--or-clair); }
.date-majeste .mois { display: block; font-size: 13.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gris); margin-top: 10px; }
.titre-evenement { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 44px); font-weight: 500; line-height: 1.15; color: var(--ivoire); }
.meta-evenement { font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--or); margin-top: 10px; }
.desc-evenement { color: var(--gris); font-size: 15px; margin-top: 16px; max-width: 560px; }
.calendrier { max-width: 760px; border: 1px solid rgba(245, 240, 230, 0.14); padding: 30px; }
.cal-tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.cal-titre { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); font-weight: 500; }
.cal-nav { font-size: 26px; color: var(--or); width: 44px; height: 44px; border: 1px solid rgba(201, 162, 39, 0.4); transition: background 0.3s, color 0.3s; }
.cal-nav:hover { background: var(--or); color: var(--noir); }
.cal-jours-noms, .cal-grille { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-jours-noms { margin-bottom: 8px; }
.cal-jours-noms div { text-align: center; font-size: 11px; letter-spacing: 0.2em; color: var(--gris); }
.cal-jour { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 17px; color: var(--ivoire); border: 1px solid transparent; cursor: default; }
.cal-jour.aujourdhui { border-color: rgba(245, 240, 230, 0.4); }
.cal-jour.avec-evenement { position: relative; border-color: var(--or); color: var(--or-clair); cursor: pointer; transition: background 0.3s; }
.cal-jour.avec-evenement::after { content: ""; position: absolute; bottom: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--or); }
.cal-jour.avec-evenement:hover { background: rgba(201, 162, 39, 0.14); }
.cal-detail { max-width: 760px; margin-top: 22px; }
.cal-detail-date { font-size: 13.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--or); margin-bottom: 14px; }
.cal-evt { border-left: 1px solid var(--or); padding: 4px 0 4px 20px; margin-bottom: 16px; }
.cal-evt-titre { display: block; font-family: var(--serif); font-size: 24px; color: var(--ivoire); }
.cal-evt-meta { display: block; font-size: 13.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gris); margin-top: 4px; }
.cal-evt-desc { display: block; font-size: 15.5px; color: var(--gris); margin-top: 6px; }
.rangee-evenement { display: grid; grid-template-columns: 110px 1fr; gap: 30px; align-items: center; padding: 26px 0; border-bottom: 1px solid rgba(245, 240, 230, 0.12); }
.rangee-evenement:first-of-type { border-top: 1px solid rgba(245, 240, 230, 0.12); }
.rangee-evenement.passe { opacity: 0.65; }
.date-courte { text-align: center; }
.date-courte .jour { display: block; font-family: var(--serif); font-size: 38px; font-weight: 600; color: var(--or-clair); line-height: 1; }
.date-courte .mois { display: block; font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gris); margin-top: 4px; }
.lien-or { color: var(--or); border-bottom: 1px solid rgba(201, 162, 39, 0.5); }
.voile-menu.ouvert nav a:nth-child(9) { transition-delay: 0.89s; }
@media (max-width: 1200px) { .entete nav { gap: 22px; font-size: 11.5px; } }
@media (max-width: 860px) {
  .prochain-evenement { grid-template-columns: 1fr; gap: 20px; padding: 26px 22px; }
  .calendrier { padding: 18px 14px; }
  .rangee-evenement { grid-template-columns: 74px 1fr; gap: 18px; }
  .date-courte .jour { font-size: 30px; }
}

.ajout-calendrier { display: inline-block; margin-top: 22px; border: 1px solid var(--or); color: var(--ivoire); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; padding: 13px 22px; transition: background 0.35s ease, color 0.35s ease; white-space: nowrap; }
.ajout-calendrier::before { content: "+"; color: var(--or-clair); margin-right: 10px; font-family: var(--serif); font-size: 15px; }
.ajout-calendrier:hover { background: var(--or); color: var(--noir); }
.ajout-calendrier:hover::before { color: var(--noir); }
.ajout-calendrier.compact { margin-top: 10px; padding: 10px 16px; font-size: 10px; }
.rangee-evenement { grid-template-columns: 110px 1fr auto; }
@media (max-width: 860px) {
  .rangee-evenement { grid-template-columns: 74px 1fr; }
  .rangee-evenement .ajout-calendrier.compact { grid-column: 2; justify-self: start; }
}

.bande-newsletter { position: relative; z-index: 2; border-top: 1px solid rgba(201, 162, 39, 0.25); background: var(--noir-2); }
.interieur-newsletter { max-width: 1440px; margin: 0 auto; padding: 56px 48px; display: grid; grid-template-columns: 1fr auto; gap: 30px 60px; align-items: center; }
.form-newsletter { position: relative; display: flex; gap: 16px; align-items: stretch; }
.form-newsletter input[type="email"] { width: 300px; background: transparent; border: 0; border-bottom: 1px solid rgba(245, 240, 230, 0.35); color: var(--ivoire); font-family: var(--sans); font-weight: 300; font-size: 16px; padding: 12px 2px; }
.form-newsletter input[type="email"]:focus { outline: none; border-color: var(--or); }
.form-newsletter .bouton-or { padding: 14px 26px; font-size: 11.5px; }
.nl-confirmation { color: #7FD8B4; font-size: 16px; }
.nl-erreur { position: absolute; top: 100%; left: 0; margin-top: 8px; color: #E89B8A; font-size: 14px; }
.liste-faq { max-width: 860px; }
.faq { border-bottom: 1px solid rgba(245, 240, 230, 0.14); }
.faq:first-child { border-top: 1px solid rgba(245, 240, 230, 0.14); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 26px 0; font-family: var(--serif); font-size: clamp(19px, 2.2vw, 26px); color: var(--ivoire); transition: color 0.3s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--or); flex-shrink: 0; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.faq[open] summary { color: var(--or-clair); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--or-clair); }
.faq-reponse { padding: 0 0 28px; color: var(--gris); font-size: 15.5px; line-height: 1.85; max-width: 720px; }
.carte-osm { max-width: 900px; border: 1px solid rgba(201, 162, 39, 0.35); aspect-ratio: 16 / 8; }
.carte-osm iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.35) contrast(0.95); }
.langues { display: flex; gap: 10px; font-size: 11px; letter-spacing: 0.2em; margin-left: 26px; }
.langues a { color: var(--gris); transition: color 0.3s ease; }
.langues a.actif { color: var(--or-clair); border-bottom: 1px solid var(--or); padding-bottom: 3px; }
.langues a:hover { color: var(--ivoire); }
@media (max-width: 860px) {
  .interieur-newsletter { grid-template-columns: 1fr; padding: 40px 22px; }
  .form-newsletter { flex-direction: column; }
  .form-newsletter input[type="email"] { width: 100%; }
  .langues { margin-left: 0; margin-right: 18px; }
}

.accroche { font-family: var(--serif); font-size: clamp(18px, 2vw, 23px); font-style: italic; color: var(--or-clair); margin-top: 18px; }
.reseaux { display: flex; gap: 26px; margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(201, 162, 39, 0.5); color: var(--ivoire); font-size: 14.5px; padding: 9px 16px; }
.chip.en-attente { border-style: dashed; color: var(--gris); }
.chip form { display: inline; }
.chip button { color: #E89B8A; font-size: 15px; line-height: 1; }
.etape-parcours { display: grid; grid-template-columns: 76px 1fr; gap: 22px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid rgba(245, 240, 230, 0.1); }
.annee-parcours { font-family: var(--serif); font-size: 24px; color: transparent; -webkit-text-stroke: 1px rgba(201, 162, 39, 0.7); }
.intitule-parcours { display: block; font-size: 16px; color: var(--ivoire); }
.type-parcours { display: block; font-size: 13.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gris); margin-top: 3px; }
.etape-parcours.en-attente .intitule-parcours { color: var(--gris); }
.etape-parcours .retirer { color: #E89B8A; font-size: 13.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.banniere-statut { padding: 20px 26px; margin-bottom: 34px; font-size: 16px; border: 1px solid; }
.banniere-statut.attente { border-color: rgba(239, 194, 107, 0.55); color: #EFC26B; }
.banniere-statut.refus { border-color: rgba(232, 155, 138, 0.55); color: #E8A188; }
.tableau-diff { border: 1px solid rgba(245, 240, 230, 0.14); margin-bottom: 40px; }
.ligne-diff { display: grid; grid-template-columns: 150px 1fr 1fr; gap: 20px; padding: 16px 20px; border-bottom: 1px solid rgba(245, 240, 230, 0.1); font-size: 15.5px; }
.ligne-diff:last-child { border-bottom: 0; }
.ligne-diff .champ-diff { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gris); }
.ligne-diff .avant { color: var(--gris); text-decoration: line-through rgba(232, 155, 138, 0.6); }
.ligne-diff .apres { color: #7FD8B4; }
@media (max-width: 860px) {
  .ligne-diff { grid-template-columns: 1fr; gap: 6px; }
  .etape-parcours { grid-template-columns: 56px 1fr; }
}

.entete-miss { padding-bottom: 0; }
.regne { display: grid; grid-template-columns: 1.25fr 1fr; gap: 60px; align-items: center; padding-bottom: 50px; }
.nom-regne { font-size: clamp(46px, 7vw, 108px); }
.regne-portrait { max-width: 380px; justify-self: end; }
.menu-miss { position: sticky; top: 86px; z-index: 20; display: flex; gap: 40px; border-top: 1px solid rgba(201, 162, 39, 0.35); border-bottom: 1px solid rgba(201, 162, 39, 0.35); background: rgba(11, 11, 12, 0.92); backdrop-filter: blur(10px); padding: 0; overflow-x: auto; }
.menu-miss a { padding: 18px 2px; font-size: 13.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gris); border-bottom: 1px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color 0.3s ease, border-color 0.3s ease; }
.menu-miss a:hover { color: var(--ivoire); }
.menu-miss a.actif { color: var(--or-clair); border-color: var(--or); }
.colonnes-miss { display: grid; grid-template-columns: 1fr 300px; gap: 60px; align-items: start; }
@media (max-width: 1024px) { .regne { grid-template-columns: 1fr; gap: 34px; } .regne-portrait { justify-self: start; max-width: 300px; } }
@media (max-width: 860px) {
  .menu-miss { top: 70px; gap: 26px; }
  .colonnes-miss { grid-template-columns: 1fr; gap: 30px; }
}

.sous-titre-form { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px); color: var(--or-clair); margin: 44px 0 22px; padding-bottom: 10px; border-bottom: 1px solid rgba(201, 162, 39, 0.3); }
.formulaire .sous-titre-form:first-of-type { margin-top: 0; }

.regne-portrait { position: relative; width: 100%; max-width: 380px; aspect-ratio: 3 / 4; border: 1px solid rgba(201, 162, 39, 0.35); background: var(--noir-2); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.regne-portrait .portrait { width: 100%; height: 100%; object-fit: cover; }
.regne-portrait .embleme { width: 32%; opacity: 0.16; object-fit: contain; }
.regne-portrait span { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gris); }
.menu-miss { scrollbar-width: none; }
.menu-miss::-webkit-scrollbar { display: none; }

.voile-menu.ouvert nav a:nth-child(10) { transition-delay: 0.97s; }

.marque { display: flex; align-items: center; letter-spacing: 0; }
.logo-marque { height: 46px; width: auto; display: block; }
footer .logo-marque, .pied .logo-marque { height: 38px; }
@media (max-width: 860px) { .logo-marque { height: 38px; } }

/* Passe de lisibilite : corps de texte et descriptions rehausses */
body { font-size: 17px; }
p, .bloc-texte { font-size: 17px; line-height: 1.9; }
.desc-evenement, .faq-reponse, .contenu-article, .fiche-infos p { font-size: 16.5px; line-height: 1.9; }
.meta-evenement, .details, .type-parcours { font-size: 15.5px; }
.date-article { font-size: 14.5px; }
.cal-evt-desc, .cal-evt-meta { font-size: 16px; }
.valeur-ligne p { font-size: 16.5px; line-height: 1.85; }
.chip { font-size: 15.5px; }
.intitule-parcours { font-size: 17px; }
.fiche-meta .valeur { font-size: 16.5px; }
.formulaire label { font-size: 15.5px; }
.formulaire input, .formulaire select, .formulaire textarea { font-size: 16.5px; }
.engagement span { font-size: 16px; line-height: 1.75; }
.note-form, .carte-osm + p { font-size: 16px; }
.a-venir { font-size: 15.5px; line-height: 1.8; }
.nl-confirmation { font-size: 15.5px; }
.ligne-candidature .nom-candidate { font-size: 19px; }
footer, .pied { font-size: 16px; }
@media (max-width: 860px) {
  body, p, .bloc-texte { font-size: 16.5px; }
  .desc-evenement, .faq-reponse, .contenu-article, .fiche-infos p { font-size: 16px; }
}

.retour-haut { position: fixed; right: 26px; bottom: 26px; z-index: 60; width: 52px; height: 52px; border: 1px solid var(--or); border-radius: 50%; background: rgba(11, 11, 12, 0.85); backdrop-filter: blur(8px); color: var(--or-clair); font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s, background 0.35s ease, color 0.35s ease; }
.retour-haut.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.retour-haut:hover { background: var(--or); color: var(--noir); }
@media (max-width: 860px) { .retour-haut { right: 16px; bottom: 18px; width: 46px; height: 46px; } }

html, body { overflow-x: hidden; overflow-x: clip; max-width: 100%; }
