@font-face { font-family: "Syne"; font-weight: 800; font-style: normal; font-display: swap; src: url("polices/Syne-800.woff2") format("woff2"), url("polices/Syne-800.ttf") format("truetype"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("polices/IBMPlexSans-variable.woff2") format("woff2"), url("polices/IBMPlexSans-400.ttf") format("truetype"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("polices/IBMPlexSans-variable.woff2") format("woff2"), url("polices/IBMPlexSans-500.ttf") format("truetype"); }

html { color-scheme: light; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: #fdfdfc;
  color: #141413;
  font-family: "IBM Plex Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}
a { color: #141413; text-decoration-thickness: 1px; text-decoration-color: #9a9a97; text-underline-offset: 0.25em; }
a:hover { text-decoration-color: #141413; }
a:focus-visible { outline: 2px solid #141413; outline-offset: 3px; }
p, ul, ol, dl, h1, h2, h3 { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
[id] { scroll-margin-top: 32px; }

.cadre { max-width: 40rem; margin: 0 auto; padding: 0 16px; }

.evitement { position: absolute; left: -9999px; }
.evitement:focus { left: 16px; top: 16px; background: #fdfdfc; padding: 8px 12px; z-index: 10; }
.cache-visuel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* En-tete */
.entete { border-bottom: 1px solid #e6e6e3; }
.entete .cadre { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 18px; }
.mot {
  font-family: "Syne", sans-serif; font-weight: 800; font-size: 15px; line-height: 1;
  letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; color: #141413;
}
.nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; }
.nav a { text-decoration: none; color: #5a5a58; padding: 4px 0; }
.nav a:hover { color: #141413; }
.nav a[aria-current="page"] { color: #141413; text-decoration: underline; text-underline-offset: 0.35em; }

/* Ouverture */
.ouverture { padding: 56px 0 40px; }
.sur { font-size: 14px; letter-spacing: 0.04em; color: #5a5a58; margin-bottom: 20px; }
h1 { font-weight: 500; font-size: 30px; line-height: 1.2; letter-spacing: -0.005em; }
.devise { display: flex; flex-direction: column; gap: 4px; font-weight: 500; font-size: 32px; line-height: 1.15; }
.devise .ia { font-weight: 400; color: #1a9be0; }
.chapo { margin-top: 20px; font-size: 19px; line-height: 1.5; color: #141413; }
.ouverture p + p { margin-top: 12px; }

/* Sections */
.bloc { padding: 36px 0; border-top: 1px solid #e6e6e3; }
.etiquette {
  display: flex; gap: 12px; align-items: baseline;
  font-family: "IBM Plex Sans", sans-serif; font-weight: 500; font-size: 13px; line-height: 1.3;
  letter-spacing: 0.2em; text-transform: uppercase; color: #5a5a58; margin-bottom: 18px;
}
.etiquette .num { color: #141413; }
h2 { font-weight: 500; font-size: 23px; line-height: 1.3; margin-bottom: 14px; }
h3 { font-weight: 500; font-size: 18px; line-height: 1.35; }
.bloc p + p { margin-top: 12px; }
.second { color: #5a5a58; }

/* Portes */
.portes { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
.porte {
  display: flex; flex-direction: column; text-decoration: none; color: #141413;
  border: 1px solid #141413; padding: 20px 20px 18px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.porte h3 { margin-bottom: 8px; }
.porte p { color: #5a5a58; font-size: 16px; }
.porte .aller { display: block; margin-top: auto; padding-top: 14px; font-size: 18px; line-height: 1; font-weight: 500; }

/* Etapes et verbes */
.liste-def { display: grid; gap: 22px; }
.liste-def div { display: grid; gap: 6px; }
.liste-def dt { font-weight: 500; font-size: 19px; }
.liste-def dd { margin: 0; }
.liste-def .n { font-family: "IBM Plex Sans", sans-serif; font-weight: 500; font-size: 13px; letter-spacing: 0.08em; color: #5a5a58; margin-right: 10px; }

/* Contact */
.coord { display: grid; gap: 22px; }
.coord div { display: grid; gap: 2px; }
.coord dt { font-family: "IBM Plex Sans", sans-serif; font-weight: 500; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #5a5a58; }
.coord dd { margin: 0; }
.coord .grand { font-size: 24px; font-weight: 500; line-height: 1.3; }
.coord .grand a { text-decoration: none; }
.coord .grand a:hover { text-decoration: underline; }
.numero { font-size: 24px; font-weight: 500; line-height: 1.3; margin: 0; }
.numero a { text-decoration: none; }
.numero a:hover { text-decoration: underline; }
.questions { display: grid; gap: 24px; }
.questions div { display: grid; gap: 6px; }
.questions dt { font-weight: 500; font-size: 19px; line-height: 1.35; }
.questions dd { margin: 0; }
.questions dd + dd { margin-top: 10px; }
.appel { margin-top: 20px; }
.appel a { font-weight: 500; }

.mentions { font-size: 15px; }
.mentions h3 { font-size: 16px; margin-top: 20px; margin-bottom: 4px; }
.mentions h3:first-of-type { margin-top: 0; }

/* Pied de page : le verso de la carte */
.pied { background: #141413; color: #fdfdfc; margin-top: 40px; padding: 40px 0 44px; font-size: 15px; }
.pied .mot { color: #5ac8fa; }
.pied a { color: #fdfdfc; }
.pied .plan { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.pied .plan a { text-decoration: none; color: #d9d9d6; }
.pied .plan a:hover { color: #fdfdfc; text-decoration: underline; }

@media (min-width: 720px) {
  body { font-size: 18px; }
  .cadre { padding: 0 32px; }
  .mot { font-size: 18px; }
  .nav { font-size: 15px; }
  .ouverture { padding: 96px 0 64px; }
  h1 { font-size: 40px; }
  .devise { font-size: 46px; }
  .chapo { font-size: 21px; }
  .bloc { padding: 48px 0; }
  h2 { font-size: 26px; }
  .portes { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .porte { transition: none; }
}

/* Cartes cliquables : au survol et au clavier, la carte devient le verso de la carte de visite : fond encre, texte blanc, flèche bleu ciel (proposition après l'audit du 28 septembre 2026) */
.porte:hover, .porte:focus-visible { background: #141413; border-color: #141413; color: #fdfdfc; outline: none; }
.porte:hover p, .porte:focus-visible p, .porte:hover h3, .porte:focus-visible h3 { color: #fdfdfc; }
.porte:hover .aller, .porte:focus-visible .aller { color: #5ac8fa; }
