@font-face { font-family: "Inclusive Sans"; src: url("police.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }
:root { --fond:#FFFFFF;--surface:#F5F5F2;--texte:#1D1D1B;--doux:#55554F;--trait:#D6D6D0;--filet:#1D1D1B;--accent:#E6007E;--accent-fond:#E6007E;--accent-fond-texte:#FFFFFF;--accent2-fond:#21A8A2;--accent2-fond-texte:#1D1D1B; color-scheme: light dark; }
@media screen and (prefers-color-scheme: dark) { :root { --fond:#141413;--surface:#1E1E1C;--texte:#F2F2EE;--doux:#B9B9B2;--trait:#3A3A36;--filet:#F2F2EE;--accent:#FF5FAE;--accent-fond:#E6007E;--accent-fond-texte:#FFFFFF;--accent2-fond:#21A8A2;--accent2-fond-texte:#1D1D1B; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--fond); color: var(--texte); font: 400 1.0625rem/1.6 "Inclusive Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.page { max-width: 60rem; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
@media (min-width: 48rem) { .page { padding: 2rem 2rem 4rem; } }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:focus-visible, .bouton:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.aller { position: absolute; left: -999px; top: 0; background: var(--texte); color: var(--fond); padding: 0.5rem 1rem; }
.aller:focus { left: 1rem; top: 1rem; z-index: 10; }
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.emetteur { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1.25rem; flex-wrap: wrap; padding-bottom: 0.9rem; border-bottom: 1px solid var(--trait); }
.emetteur img { height: 1.9rem; width: auto; display: block; }
.emetteur p { margin: 0; font-size: 0.9375rem; line-height: 1.4; color: var(--doux); }
.emetteur strong { color: var(--texte); font-weight: 600; }
.sombre { display: none !important; }
@media screen and (prefers-color-scheme: dark) { .clair { display: none !important; } .sombre { display: block !important; } }
.tete { margin: 1.75rem 0 1.5rem; }
.tete .logo { height: clamp(3rem, 2.2rem + 3vw, 4.5rem); width: auto; display: block; max-width: 100%; }
h1 { font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3rem); line-height: 1.1; margin: 1.1rem 0 0.4rem; font-weight: 700; letter-spacing: -0.01em; }
.sous { margin: 0; color: var(--doux); }
.sous b { color: var(--texte); }
.gestionnaire { margin: 0.35rem 0 0; color: var(--doux); font-size: 0.9375rem; }
.gestionnaire b { color: var(--texte); font-weight: 600; }
.emetteur { justify-content: flex-start; }
.sommaire ul { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sommaire a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.35rem 1rem; border: 2px solid var(--texte); border-radius: 999px; font-weight: 600; text-decoration: none; }
.sommaire a:hover { background: var(--texte); color: var(--fond); }
section { margin-top: 3rem; scroll-margin-top: 1rem; }
h2 { font-size: clamp(1.45rem, 1.25rem + 0.8vw, 1.75rem); line-height: 1.2; margin: 0 0 1rem; padding-top: 0.9rem; border-top: 3px solid var(--filet); }
h3 { font-size: 1.2rem; line-height: 1.3; margin: 1.75rem 0 0.5rem; }
p, li { max-width: 44rem; }
p { margin: 0 0 0.9rem; }
.intro { color: var(--doux); }
.encadre { border: 2px solid var(--texte); box-shadow: 6px 6px 0 var(--accent2-fond); padding: 1.1rem 1.25rem; margin: 0 6px 1.5rem 0; max-width: 46rem; }
.encadre dl { margin: 0; }
.encadre dt { font-weight: 700; }
.encadre dd { margin: 0 0 0.85rem; }
.encadre dd:last-child { margin-bottom: 0; }
.encadre ul { margin: 0; padding-left: 1.2rem; }
.etapes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--trait); }
.etapes li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.25rem 0.75rem; padding: 0.85rem 0; border-bottom: 1px solid var(--trait); max-width: none; }
.etapes .num { font-weight: 700; font-size: 1.15rem; line-height: 1.5; }
.etapes .quoi { min-width: 0; }
.etapes .detail { display: block; color: var(--doux); font-size: 0.9375rem; }
.etapes .etat { grid-column: 2; justify-self: start; }
@media (min-width: 48rem) { .etapes li { grid-template-columns: 2.25rem minmax(0, 1fr) auto; column-gap: 1.5rem; } .etapes .etat { grid-column: 3; grid-row: 1; justify-self: end; align-self: start; } }
.etat, .badge { display: inline-block; font-size: 0.875rem; font-weight: 700; line-height: 1.3; padding: 0.2rem 0.7rem; border-radius: 999px; border: 2px solid transparent; text-align: center; white-space: nowrap; }
.etat--fait { background: var(--accent2-fond); color: var(--accent2-fond-texte); }
.etat--en-cours, .badge { background: var(--accent-fond); color: var(--accent-fond-texte); }
.etat--a-venir { border-color: var(--doux); }
.etat--attente { border: 2px dashed var(--texte); }
.note { font-size: 0.9375rem; color: var(--doux); margin-top: 1rem; }
.chrono { list-style: none; margin: 1.25rem 0 0; padding: 0; max-width: 46rem; }
.chrono > li { position: relative; padding: 0 0 2rem 1.75rem; border-left: 3px solid var(--trait); max-width: none; }
.chrono > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.chrono > li::before { content: ""; position: absolute; left: -9.5px; top: 0.3rem; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid var(--fond); }
.quand { margin: 0; font-size: 0.9375rem; font-weight: 600; color: var(--doux); }
.quand time::first-letter { text-transform: uppercase; }
.chrono h3 { margin: 0.15rem 0 0.5rem; }
.chrono ul { margin: 0 0 0.9rem; padding-left: 1.2rem; list-style: disc; }
.chrono ul li { margin-bottom: 0.45rem; }
.liens { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0 0; padding: 0; list-style: none; }
.liens li { max-width: none; }
.bouton { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; padding: 0.4rem 0.95rem; border: 2px solid var(--texte); font-weight: 600; text-decoration: none; background: var(--fond); }
.bouton:hover { background: var(--texte); color: var(--fond); }
.bouton .poids { font-weight: 400; font-size: 0.875rem; }
.groupe-texte { color: var(--doux); margin-top: -0.25rem; }
.cartes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin: 1rem 6px 0 0; }
@media (min-width: 40rem) { .cartes { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); } }
.carte { display: flex; flex-direction: column; border: 2px solid var(--texte); background: var(--fond); min-width: 0; }
.carte .vignette { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; border-bottom: 2px solid var(--texte); background: var(--surface); }
.carte .corps { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.2rem 0.6rem; min-width: 0; }
.carte--vedette { box-shadow: 6px 6px 0 var(--accent-fond); }
@media (min-width: 48rem) {
  .carte--vedette { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .carte--vedette .vignette { height: 100%; border-bottom: 0; border-right: 2px solid var(--texte); }
  .carte--vedette .corps { padding: 1.25rem 1.5rem 0.75rem; }
  .carte--vedette h4 { font-size: 1.45rem; }
}
.carte .surtitre { margin: 0; font-size: 0.875rem; font-weight: 700; color: var(--doux); }
.carte h4 { font-size: 1.2rem; line-height: 1.25; margin: 0.15rem 0 0.5rem; }
.carte .badge { align-self: flex-start; margin-bottom: 0.6rem; }
.carte p { margin-bottom: 0.75rem; }
.carte .liens { flex-direction: column; gap: 0; margin-top: auto; padding-top: 0.25rem; }
.carte .liens li { width: 100%; }
.carte .liens .bouton { display: flex; width: 100%; justify-content: space-between; gap: 0.75rem; min-height: 2.75rem; padding: 0.35rem 0; border: 0; border-top: 1px solid var(--trait); background: none; }
.carte .liens .bouton::after { content: "→"; color: var(--accent); font-weight: 700; }
.carte .liens .bouton:hover { background: none; color: inherit; text-decoration: underline; text-decoration-color: var(--accent); }
.lien-final { margin-top: 1.25rem; }
.resume { border-collapse: collapse; width: 100%; max-width: 40rem; margin: 0.5rem 0 1.5rem; }
.resume th, .resume td { text-align: left; vertical-align: top; padding: 0.75rem 0.5rem 0.75rem 0; border-bottom: 1px solid var(--trait); }
.resume th { font-weight: 400; }
.resume th span { display: block; font-size: 0.875rem; color: var(--doux); }
.resume td { text-align: right; font-weight: 700; white-space: nowrap; padding-right: 0; font-variant-numeric: tabular-nums; }
.resume tr:first-child th, .resume tr:first-child td { border-top: 2px solid var(--texte); }
.par-etape { border-collapse: collapse; width: 100%; font-size: 0.9375rem; }
.par-etape th, .par-etape td { text-align: left; vertical-align: top; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--trait); font-weight: 400; }
.par-etape thead th { border-bottom: 2px solid var(--texte); font-size: 0.875rem; font-weight: 700; }
.par-etape .n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.par-etape tfoot td, .par-etape tfoot th { font-weight: 700; border-bottom: 0; border-top: 2px solid var(--texte); }
@media (max-width: 40rem) {
  .par-etape thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .par-etape, .par-etape tbody, .par-etape tfoot, .par-etape tr, .par-etape th, .par-etape td { display: block; }
  .par-etape tr { padding: 0.6rem 0; border-bottom: 1px solid var(--trait); }
  .par-etape th, .par-etape td { border: 0; padding: 0.1rem 0; }
  .par-etape th[scope="row"] { font-weight: 700; margin-bottom: 0.2rem; }
  .par-etape .n { text-align: left; }
  .par-etape .n::before { content: attr(data-libelle) " : "; font-weight: 400; color: var(--doux); }
  .par-etape tfoot td, .par-etape tfoot th { border-top: 0; }
  .par-etape tfoot tr { border-top: 2px solid var(--texte); border-bottom: 0; }
}
.retour { margin: 1.5rem 0 0; }
.texte-mail { max-width: 44rem; }
.texte-mail h2 { border-top: 0; padding-top: 0; font-size: 1.2rem; margin: 1.75rem 0 0.5rem; }
.texte-mail ul { padding-left: 1.2rem; }
.texte-mail li { margin-bottom: 0.5rem; }
footer { margin-top: 3.5rem; padding-top: 1rem; border-top: 1px solid var(--trait); font-size: 0.9375rem; color: var(--doux); }
footer p { margin: 0 0 0.35rem; }
@media print {
  .sommaire, .aller { display: none; }
  .page { max-width: none; padding: 0; }
  .encadre, .carte--vedette { box-shadow: none; }
  .chrono > li, .carte, .etapes li, .resume tr, .par-etape tr { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
  a.bouton { border-width: 1px; }
}
