/* PROJET-209 ADF-ATTENTE (30/10/2026) - salon.ids-groupe.com : page d'attente du Congres ADF 2026.
   Feuille PROPRE a la page d'attente : salon.css, les pages legales et les pages « terminees » ne changent pas.
   CSP du site : style-src 'self', font-src 'self', img-src 'self' et AUCUN script => aucun style en ligne, carrousel
   en CSS seul (pause par une case a cocher, arret complet si l'appareil demande moins d'animations).
   Police Manrope (SIL OFL 1.1, licence a cote du fichier) servie par le site ; aucune ressource tierce.
   Couleurs : logo ADF (rouge, vert, bleu) et fonds des visuels de campagne (turquoise, bleu). Textes sur fond sombre :
   contraste >= 4,5:1 (mesure au banc). Mobile d'abord (390 px), puis 720 px et 1024 px. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(manrope-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --adf-rouge: #E30613;
  --adf-vert: #00933F;
  --adf-vert-fonce: #007A33;
  --adf-bleu: #2070B6;
  --turquoise: #009DA2;
  --teal: #03646F;
  --teal-nuit: #024A53;
  --bleu-nuit: #155E96;
  --bleu-ciel: #DCEBF5;
  --encre: #06151F;
  --texte-2: #44535E;
  --fond: #F4F6F7;
  --blanc: #FFFFFF;
  --bord: #E2E7EA;
  --sur-sombre: #E3F6F7;
  --rayon: 20px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--fond); color: var(--encre);
  font-family: 'Manrope', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.55;
}
main { flex: 1 0 auto; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, .pause-case:focus-visible ~ .pause-bouton { outline: 3px solid var(--adf-bleu); outline-offset: 3px; }
a[href^="tel:"], a[href^="mailto:"], .insecable { white-space: nowrap; }
p { margin: 0 0 12px; }
.cadre { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Bande aux trois couleurs du logo ADF */
.tricolore { display: flex; height: 6px; }
.tricolore span { flex: 1 1 0; }
.tricolore span:nth-child(1) { background: var(--adf-rouge); }
.tricolore span:nth-child(2) { background: var(--adf-vert); }
.tricolore span:nth-child(3) { background: var(--adf-bleu); }

.bandeau-test { margin: 0; padding: 10px 20px; background: #8A4A0B; color: var(--blanc); font-weight: 700; text-align: center; font-size: 15px; }

/* En-tete IDS GROUPE */
.entete { background: var(--blanc); border-bottom: 1px solid var(--bord); }
.entete-cadre { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.marque { margin: 0; font-size: 20px; letter-spacing: 0.04em; line-height: 1; }
.marque strong { font-weight: 800; }
.sous-marque { margin: 4px 0 0; font-size: 12px; color: var(--texte-2); }
.pastille {
  flex: 0 0 auto; margin: 0; padding: 5px 11px; border-radius: 999px; background: var(--fond); border: 1px solid var(--bord);
  font-size: 12px; font-weight: 700; color: var(--encre); white-space: nowrap;
}
.pastille::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 29px; border-radius: 50%; background: var(--adf-rouge); box-shadow: 11px 0 0 var(--adf-vert), 22px 0 0 var(--adf-bleu); vertical-align: 0; }

/* Bandeau principal : fonds sombres des visuels (turquoise -> bleu), texte blanc */
.heros {
  position: relative; overflow: hidden; color: var(--blanc);
  background:
    radial-gradient(120% 70% at 100% 100%, rgba(0, 157, 162, 0.38) 0%, rgba(0, 157, 162, 0) 60%),
    radial-gradient(90% 60% at 0% 0%, rgba(32, 112, 182, 0.30) 0%, rgba(32, 112, 182, 0) 65%),
    linear-gradient(160deg, var(--teal) 0%, var(--teal-nuit) 45%, var(--bleu-nuit) 100%);
}
.heros-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 26px; padding-bottom: 30px; }
.surtitre { margin: 0 0 10px; color: var(--sur-sombre); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
h1 { margin: 0 0 16px; font-size: 30px; line-height: 1.16; font-weight: 800; letter-spacing: -0.01em; }
.date-cle {
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background-image: linear-gradient(90deg, var(--adf-rouge) 0 33.4%, var(--adf-vert) 33.4% 66.7%, var(--adf-bleu) 66.7% 100%);
  background-repeat: no-repeat; background-size: 100% 6px; background-position: 0 100%; padding-bottom: 4px;
}
.accroche { font-size: 17px; color: var(--blanc); }
.accroche strong { font-weight: 800; }

/* Carrousel des 5 visuels : fondu enchaine en CSS seul (aucun script : CSP du site) */
.heros-visuels { position: relative; }
.pause-case { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.carrousel { position: relative; }
.diapos {
  position: relative; margin: 0; padding: 0; list-style: none; aspect-ratio: 1 / 1; width: 100%;
  border-radius: var(--rayon); overflow: hidden; background: var(--turquoise);
  box-shadow: 0 18px 40px rgba(2, 30, 40, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.diapo { position: absolute; inset: 0; opacity: 0; animation: adf-fondu 25s linear infinite both; }
.diapo picture, .diapo img { display: block; width: 100%; height: 100%; }
.diapo img { object-fit: cover; }
.diapo:nth-child(1) { animation-delay: -1s; }
.diapo:nth-child(2) { animation-delay: 4s; }
.diapo:nth-child(3) { animation-delay: 9s; }
.diapo:nth-child(4) { animation-delay: 14s; }
.diapo:nth-child(5) { animation-delay: 19s; }
@keyframes adf-fondu {
  0% { opacity: 0; }
  4% { opacity: 1; }
  20% { opacity: 1; }
  24% { opacity: 0; }
  100% { opacity: 0; }
}
.points { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.points span { display: block; width: 26px; height: 5px; border-radius: 3px; background: var(--blanc); opacity: 0.35; transform-origin: left center; animation: adf-point 25s linear infinite both; }
.points span:nth-child(1) { animation-delay: -1s; }
.points span:nth-child(2) { animation-delay: 4s; }
.points span:nth-child(3) { animation-delay: 9s; }
.points span:nth-child(4) { animation-delay: 14s; }
.points span:nth-child(5) { animation-delay: 19s; }
@keyframes adf-point {
  0% { opacity: 0.35; }
  4% { opacity: 1; }
  20% { opacity: 1; }
  24% { opacity: 0.35; }
  100% { opacity: 0.35; }
}
.carrousel:hover .diapo, .carrousel:hover .points span,
.pause-case:checked ~ .carrousel .diapo, .pause-case:checked ~ .carrousel .points span { animation-play-state: paused; }
.pause-bouton {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 14px; min-height: 44px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.55); color: var(--blanc); font-size: 14px; font-weight: 700;
  cursor: pointer; user-select: none; -webkit-user-select: none;
}
.pause-bouton::before { content: ""; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.pause-case:checked ~ .pause-bouton::before { border-right: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; height: 0; width: 0; }
.pause-reprendre { display: none; }
.pause-case:checked ~ .pause-bouton .pause-arreter { display: none; }
.pause-case:checked ~ .pause-bouton .pause-reprendre { display: inline; }

/* Corps : conseiller puis dates */
.corps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 24px; padding-bottom: 36px; }
.carte {
  background: var(--blanc); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 22px 20px;
  box-shadow: 0 10px 30px rgba(6, 21, 31, 0.06);
}
.conseiller { position: relative; overflow: hidden; }
.conseiller::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--adf-rouge) 0 33.4%, var(--adf-vert) 33.4% 66.7%, var(--adf-bleu) 66.7% 100%); }
.conseiller-tete { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.monogramme {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(140deg, var(--teal) 0%, var(--bleu-nuit) 100%); color: var(--blanc); font-weight: 800; font-size: 19px; letter-spacing: 0.02em;
}
.conseiller-titre { margin: 0 0 2px; color: var(--texte-2); font-size: 14px; font-weight: 600; }
.conseiller-nom { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 800; }
.boutons { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.bouton[href] { white-space: normal; }
.bouton {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 18px; border-radius: 14px;
  text-decoration: none; font-weight: 800; font-size: 17px; line-height: 1.25; white-space: normal;
}
.bouton svg { flex: 0 0 auto; width: 22px; height: 22px; }
.bouton-texte { display: flex; flex-direction: column; min-width: 0; }
.bouton-detail { font-weight: 600; font-size: 15px; }
.bouton-appel { background: var(--adf-rouge); color: var(--blanc); }
.bouton-appel:hover { background: #C20510; color: var(--blanc); }
.bouton-mail, .bouton-site { background: var(--blanc); color: var(--encre); border: 2px solid var(--adf-bleu); }
.bouton-mail:hover, .bouton-site:hover { background: var(--bleu-ciel); color: var(--encre); }
.bouton-mail .bouton-detail, .bouton-site .bouton-detail { overflow-wrap: anywhere; white-space: normal; }
.conseiller-note { margin: 14px 0 0; color: var(--texte-2); font-size: 15px; }

.dates h2 { margin: 0 0 16px; font-size: 20px; line-height: 1.25; font-weight: 800; }
.frise { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.etape { position: relative; padding: 0 0 18px 30px; }
.etape:last-child { padding-bottom: 0; }
.etape::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--adf-rouge); box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.14); }
.etape::after { content: ""; position: absolute; left: 7px; top: 26px; bottom: 2px; width: 2px; background: var(--bord); }
.etape:last-child::after { display: none; }
.etape-vert::before { background: var(--adf-vert); box-shadow: 0 0 0 4px rgba(0, 147, 63, 0.14); }
.etape-bleu::before { background: var(--adf-bleu); box-shadow: 0 0 0 4px rgba(32, 112, 182, 0.14); }
.etape-date { margin: 0 0 2px; font-weight: 800; font-size: 17px; }
.etape-texte { margin: 0; color: var(--texte-2); font-size: 15px; }

/* Pied (textes inchanges) */
.pied { border-top: 1px solid var(--bord); background: var(--blanc); color: var(--texte-2); font-size: 14px; }
.pied .cadre { padding-top: 14px; padding-bottom: 18px; }
.pied p { margin: 0 0 6px; }
.pied a { color: var(--encre); }
.mention { font-size: 13px; }
.liens-legaux a { white-space: nowrap; }

/* Moins d'animations demande par l'appareil : aucun defilement, visuels cote a cote (glisser du doigt) */
@media (prefers-reduced-motion: reduce) {
  .diapo, .points span { animation: none; }
  .diapos { display: flex; gap: 12px; aspect-ratio: auto; overflow-x: auto; scroll-snap-type: x mandatory; background: transparent; box-shadow: none; border-radius: 0; }
  .diapo { position: relative; inset: auto; opacity: 1; flex: 0 0 86%; aspect-ratio: 1 / 1; scroll-snap-align: start; border-radius: var(--rayon); overflow: hidden; }
  .points, .pause-bouton, .pause-case { display: none; }
}

/* Tablette */
@media (min-width: 720px) {
  .cadre { padding: 0 32px; }
  .entete-cadre { padding-top: 18px; padding-bottom: 18px; }
  h1 { font-size: 40px; }
  .heros-grille { padding-top: 40px; padding-bottom: 44px; }
  .heros-visuels { max-width: 520px; width: 100%; justify-self: center; }
  .corps { grid-template-columns: 1fr 1fr; align-items: start; padding-top: 32px; }
  .carte { padding: 26px 26px; }
}
/* Ordinateur */
@media (min-width: 1024px) {
  h1 { font-size: 50px; }
  .accroche { font-size: 19px; max-width: 34em; }
  .heros-grille { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: 56px; padding-top: 56px; padding-bottom: 60px; }
  .heros-visuels { max-width: 460px; justify-self: end; }
  .corps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding-top: 40px; padding-bottom: 48px; }
}
/* [ADF-SANS-PAUSE 30/10/2026] DG : « enlève mettre en pause le défilement » : bouton et case masqués ; le défilement s'arrête toujours si l'appareil demande moins d'animations. */
.pause-bouton, .pause-case { display: none !important; }
