/* Paie Intérim — feuille de style
   Palette : papier de bulletin, encre marine, surligneur, stylo bille.
   Polices auto-hébergées (aucune requête vers un service tiers). */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-wdth-italic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson";
  src: url("/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson";
  src: url("/fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --papier: #eef2f0;
  --feuille: #fbfcfb;
  --encre: #1b2638;
  --encre-douce: #4f5a6b;
  --filet: #c5cfcb;
  --surligneur: #f4ea4a;
  --stylo: #2347b0;
  --bandeau: #1b2638;
  --bandeau-texte: #eef2f0;

  --titre: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --texte: "Atkinson", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --pas: clamp(1rem, 0.6rem + 1.6vw, 1.5rem);
  --largeur: 72rem;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --papier: #121925;
    --feuille: #1a2332;
    --encre: #e4e9e6;
    --encre-douce: #a9b3bf;
    --filet: #2e3a4b;
    --stylo: #9db2ff;
    --bandeau: #0c121b;
    --bandeau-texte: #e4e9e6;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.125rem;
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--stylo);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}

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

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

.lien-evitement {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.5rem 0.9rem;
  background: var(--encre);
  color: var(--papier);
  z-index: 10;
}
.lien-evitement:focus {
  top: 1rem;
}

.conteneur {
  width: min(100% - 2 * var(--pas), var(--largeur));
  margin-inline: auto;
}

/* Titres : Archivo resserré, utilisé comme matière graphique */
h1,
h2,
h3 {
  font-family: var(--titre);
  font-stretch: 78%;
  font-weight: 760;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.4rem, 1.4rem + 3.6vw, 3.9rem);
}
h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem);
}
h3 {
  font-size: 1.4rem;
  font-stretch: 85%;
  font-weight: 700;
}
p {
  margin: 0;
  max-width: 62ch;
}

/* En-tête */
.entete {
  padding-block: 1.25rem;
}
.entete .conteneur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.marque {
  font-family: var(--titre);
  font-stretch: 72%;
  font-weight: 820;
  font-size: 1.6rem;
  color: var(--encre);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.marque svg {
  width: 1.7rem;
  height: 1.7rem;
}
.navigation {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.navigation a {
  color: var(--encre);
  text-decoration: none;
  font-size: 1rem;
}
.navigation a:hover {
  text-decoration: underline;
}
.navigation .liens-secondaires {
  display: flex;
  gap: 1.5rem;
}
.bouton-entete {
  padding: 0.55rem 0.95rem;
  border: 1.5px solid var(--encre);
  border-radius: 6px;
  font-weight: 650;
}
.bouton-entete:hover {
  background: var(--encre);
  color: var(--papier) !important;
  text-decoration: none !important;
}
@media (max-width: 52rem) {
  .navigation .liens-secondaires {
    display: none;
  }
}

/* Accroche */
.accroche {
  padding-block: clamp(1.5rem, 0.5rem + 3vw, 3.5rem) clamp(3rem, 2rem + 4vw, 6rem);
}
.accroche .conteneur {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
@media (max-width: 60rem) {
  .accroche .conteneur {
    grid-template-columns: minmax(0, 1fr);
  }
}
.accroche h1 {
  margin-bottom: 1.25rem;
}
.accroche h1 span {
  display: block;
}
.accroche h1 span:first-child {
  color: var(--encre-douce);
}
.chapo {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.statut {
  color: var(--encre-douce);
  font-size: 1rem;
  margin-bottom: 1.75rem;
}

/* Formulaire d'inscription */
.inscription {
  display: grid;
  gap: 0.85rem;
  max-width: 34rem;
}
.inscription > label:first-of-type {
  font-weight: 650;
  font-size: 1rem;
}
.ligne-champ {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.ligne-champ input {
  flex: 1 1 15rem;
  min-width: 0;
  font: inherit;
  font-size: 1.05rem;
  padding: 0.8rem 0.9rem;
  color: var(--encre);
  background: var(--feuille);
  border: 1.5px solid var(--encre-douce);
  border-radius: 6px;
}
.ligne-champ input::placeholder {
  color: var(--encre-douce);
  opacity: 0.75;
}
.ligne-champ button {
  flex: 0 0 auto;
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.8rem 1.2rem;
  color: #1b2638;
  background: var(--surligneur);
  border: 1.5px solid #1b2638;
  border-radius: 6px;
  cursor: pointer;
}
.ligne-champ button:hover {
  background: #ece03a;
}
@media (max-width: 30rem) {
  .ligne-champ button {
    flex: 1 1 100%;
  }
}
.case {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.6rem;
  align-items: start;
  font-size: 1rem;
  line-height: 1.45;
  cursor: pointer;
}
.case input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.15rem 0 0;
  accent-color: var(--stylo);
}
.mention {
  font-size: 0.9rem;
  color: var(--encre-douce);
}

/* Le bulletin : pièce maîtresse de la page */
.bulletins {
  margin: 0;
}
.pile {
  position: relative;
  padding: 2.7rem 1.3rem 0 0;
}
.feuille {
  background: var(--feuille);
  border: 1px solid var(--filet);
  border-radius: 3px;
}
.feuille-arriere {
  position: absolute;
  font-family: var(--titre);
  font-stretch: 85%;
  font-weight: 650;
  font-size: 0.8rem;
  line-height: 1;
  color: var(--encre-douce);
  padding: 0.38rem 0.75rem;
  text-align: right;
}
.feuille-c {
  inset: 0 0 2.7rem 1.3rem;
}
.feuille-b {
  inset: 1.35rem 0.65rem 1.35rem 0.65rem;
}
.feuille-a {
  position: relative;
  padding: 1.1rem 1.2rem 1.2rem;
  font-family: var(--titre);
  font-stretch: 88%;
}
.entete-bulletin {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
  font-size: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--encre);
  margin-bottom: 0.4rem;
}
.entete-bulletin span:last-child {
  font-weight: 500;
  color: var(--encre-douce);
}
.bulletin {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 0.98rem;
}
.bulletin th {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--encre-douce);
  text-align: left;
  padding: 0.45rem 0;
}
.bulletin th:not(:first-child),
.bulletin td:not(:first-child) {
  text-align: right;
  white-space: nowrap;
  padding-left: 0.8rem;
}
.bulletin td {
  padding: 0.5rem 0;
  border-top: 1px solid var(--filet);
  vertical-align: top;
}
.bulletin td:first-child {
  padding-right: 0.5rem;
}
.bulletin tfoot th,
.bulletin tfoot td {
  border-top: 2px solid var(--encre);
  font-size: 1rem;
  font-weight: 760;
  color: var(--encre);
  padding-top: 0.6rem;
}

/* Le trait de surligneur, tracé une seule fois au chargement */
.surligne td {
  position: relative;
}
.surligne td::before {
  content: "";
  position: absolute;
  inset: 0.3rem -1px 0.3rem -1px;
  background: var(--surligneur);
  border-radius: 0;
  z-index: 0;
  transform-origin: left center;
  transform: scaleX(0);
  animation: surligner 520ms cubic-bezier(0.3, 0.7, 0.35, 1) forwards;
}
.surligne td:first-child::before {
  left: -0.3rem;
  border-radius: 6px 0 0 8px / 8px 0 0 5px;
}
.surligne td:last-child::before {
  right: -0.3rem;
  border-radius: 0 8px 5px 0 / 0 5px 8px 0;
}
.surligne td > span {
  position: relative;
  z-index: 1;
  color: #1b2638;
}
.surligne td:nth-child(2)::before {
  animation-delay: 120ms;
}
.surligne td:nth-child(3)::before {
  animation-delay: 240ms;
}
.surligne.second td::before {
  animation-delay: 900ms;
}
.surligne.second td:nth-child(2)::before {
  animation-delay: 1020ms;
}
.surligne.second td:nth-child(3)::before {
  animation-delay: 1140ms;
}

/* Annotations au stylo bille */
.annotation td {
  border-top: 0;
  padding: 0 0 0.6rem;
  font-family: var(--titre);
  font-style: italic;
  font-stretch: 92%;
  font-weight: 520;
  font-size: 0.95rem;
  color: var(--stylo);
  text-align: left !important;
  white-space: normal !important;
  opacity: 0;
  animation: apparaitre 400ms ease-out 700ms forwards;
}
.annotation.second td {
  animation-delay: 1600ms;
}
.annotation td::before {
  content: "↳ ";
}

.bulletins figcaption {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--encre-douce);
}

@keyframes surligner {
  to {
    transform: scaleX(1);
  }
}
@keyframes apparaitre {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .surligne td::before,
  .annotation td {
    animation: none;
    transform: none;
    opacity: 1;
  }
}

/* Sections */
.section {
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
  border-top: 1px solid var(--filet);
}
.section h2 {
  margin-bottom: 1rem;
}
.section .intro {
  color: var(--encre-douce);
  margin-bottom: 2.5rem;
}

/* Les quatre moments d'une mission : une vraie séquence */
.moments {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--encre);
}
.moments li {
  padding: 1.25rem 1.5rem 0.5rem 0;
  position: relative;
}
.moments li + li {
  padding-left: 1.5rem;
  border-left: 1px solid var(--filet);
}
.moments li::before {
  content: "";
  position: absolute;
  top: -0.45rem;
  left: 0;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--papier);
  border: 2px solid var(--encre);
}
.moments li + li::before {
  left: -0.45rem;
}
.moments h3 {
  margin-bottom: 0.6rem;
}
.moments p {
  font-size: 1.02rem;
}
@media (max-width: 56rem) {
  .moments {
    grid-template-columns: minmax(0, 1fr);
    border-top: 0;
    border-left: 2px solid var(--encre);
    margin-left: 0.4rem;
  }
  .moments li,
  .moments li + li {
    padding: 0 0 1.75rem 1.5rem;
    border-left: 0;
  }
  .moments li::before,
  .moments li + li::before {
    top: 0.3rem;
    left: -0.5rem;
  }
}

/* Plusieurs agences */
.deux-colonnes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
@media (max-width: 56rem) {
  .deux-colonnes {
    grid-template-columns: minmax(0, 1fr);
  }
}
.releve {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--titre);
  font-stretch: 88%;
  font-variant-numeric: tabular-nums;
  background: var(--feuille);
  border: 1px solid var(--filet);
}
.releve caption {
  text-align: left;
  font-weight: 700;
  font-size: 1.05rem;
  padding-bottom: 0.6rem;
}
.releve th,
.releve td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--filet);
  text-align: right;
}
.releve th:first-child,
.releve td:first-child {
  text-align: left;
}
.releve thead th {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--encre-douce);
}
.releve tfoot th,
.releve tfoot td {
  font-weight: 760;
  border-bottom: 0;
  border-top: 2px solid var(--encre);
}

/* Engagements */
.jamais {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  max-width: 48rem;
}
.jamais li {
  font-family: var(--titre);
  font-stretch: 85%;
  font-weight: 600;
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.55rem);
  line-height: 1.25;
  padding: 1rem 0;
  border-bottom: 1px solid var(--filet);
}
.jamais li:first-child {
  border-top: 2px solid var(--encre);
}
.precision {
  color: var(--encre-douce);
}

/* Mot du fondateur */
.fondateur p + p {
  margin-top: 1rem;
}
.signature {
  margin-top: 1.5rem;
  font-family: var(--titre);
  font-style: italic;
  font-stretch: 92%;
  color: var(--stylo);
  font-size: 1.15rem;
}

/* Questions */
.questions {
  max-width: 48rem;
}
.questions details {
  border-bottom: 1px solid var(--filet);
}
.questions details:first-of-type {
  border-top: 2px solid var(--encre);
}
.questions summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--titre);
  font-stretch: 88%;
  font-weight: 680;
  font-size: 1.25rem;
  padding: 1.1rem 2.5rem 1.1rem 0;
  position: relative;
}
.questions summary::-webkit-details-marker {
  display: none;
}
.questions summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--encre-douce);
}
.questions details[open] summary::after {
  content: "−";
}
.questions details p {
  padding-bottom: 1.25rem;
}

/* Bandeau d'inscription final */
.bandeau {
  background: var(--bandeau);
  color: var(--bandeau-texte);
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
}
.bandeau h2 {
  margin-bottom: 0.75rem;
}
.bandeau .intro {
  margin-bottom: 1.75rem;
  color: var(--bandeau-texte);
  opacity: 0.85;
}
.bandeau a {
  color: var(--bandeau-texte);
}
.bandeau .ligne-champ input {
  background: #fbfcfb;
  color: #1b2638;
  border-color: #fbfcfb;
}
.bandeau .ligne-champ input::placeholder {
  color: #4f5a6b;
}
.bandeau .mention {
  color: var(--bandeau-texte);
  opacity: 0.8;
}
.bandeau .case input {
  accent-color: var(--surligneur);
}
.bandeau :focus-visible {
  outline-color: var(--surligneur);
}

/* Pied de page */
.pied {
  padding-block: 2rem 2.5rem;
  font-size: 0.95rem;
  color: var(--encre-douce);
}
.pied .conteneur {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}
.pied nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.pied a {
  color: var(--encre-douce);
}

/* Pages de texte (mentions légales, confidentialité, merci, 404) */
.page-texte {
  padding-block: clamp(2rem, 1rem + 3vw, 4rem) clamp(3rem, 2rem + 4vw, 6rem);
}
.page-texte .conteneur {
  max-width: 46rem;
}
.page-texte h1 {
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem);
  margin-bottom: 1rem;
}
.page-texte h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 0.75rem;
}
.page-texte p + p,
.page-texte ul + p,
.page-texte p + ul {
  margin-top: 0.9rem;
}
.page-texte ul {
  padding-left: 1.2rem;
  max-width: 62ch;
}
.page-texte li + li {
  margin-top: 0.4rem;
}
.mise-a-jour {
  color: var(--encre-douce);
  font-size: 1rem;
}
.a-completer {
  background: var(--surligneur);
  color: #1b2638;
  padding: 0 0.2em;
  border-radius: 2px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.bouton {
  display: inline-block;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid #1b2638;
}
.bouton-principal {
  background: var(--surligneur);
  color: #1b2638;
}
.bouton-secondaire {
  color: var(--encre);
  border-color: var(--encre);
}
.bouton:hover {
  text-decoration: none;
  filter: brightness(0.97);
}

/* Navigation : le lien Guides reste visible sur mobile */
@media (max-width: 52rem) {
  .navigation .liens-toujours {
    display: flex;
  }
}
.navigation a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* Guides : index */
.page-guides {
  padding-block: clamp(2rem, 1rem + 3vw, 4rem) clamp(3rem, 2rem + 4vw, 6rem);
}
.page-guides .conteneur {
  max-width: 52rem;
}
.guides-entete h1 {
  margin-bottom: 1rem;
}
.guides-entete .chapo {
  color: var(--encre-douce);
  margin-bottom: 2.5rem;
}
.liste-guides {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  border-top: 2px solid var(--encre);
}
.liste-guides li {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--filet);
}
.liste-guides h2 {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem);
  font-stretch: 82%;
  margin-bottom: 0.6rem;
}
.liste-guides h2 a {
  color: var(--encre);
  text-decoration: none;
}
.liste-guides h2 a:hover {
  text-decoration: underline;
}
.meta-guide {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--encre-douce);
}
.note-guides {
  font-size: 1rem;
  color: var(--encre-douce);
}

/* Guides : article */
.article {
  padding-top: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.article > .conteneur {
  max-width: 46rem;
  padding-bottom: clamp(3rem, 2rem + 4vw, 5rem);
}
.ariane {
  font-size: 0.95rem;
  color: var(--encre-douce);
  margin-bottom: 1.5rem;
}
.ariane a {
  color: var(--encre-douce);
}
.article-entete h1 {
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.3rem);
  margin-bottom: 1.25rem;
}
.article-entete .chapo {
  margin-bottom: 1rem;
}
.signature-article {
  font-size: 0.98rem;
  color: var(--encre-douce);
  margin-bottom: 2rem;
}

/* « En bref » : posé comme une feuille sur le bureau */
.en-bref {
  background: var(--feuille);
  border: 1px solid var(--filet);
  border-top: 3px solid var(--encre);
  border-radius: 3px;
  padding: 1.25rem 1.4rem 1.35rem;
  margin-bottom: 2.5rem;
}
.en-bref h2 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.en-bref ul {
  margin: 0;
  padding-left: 1.15rem;
}
.en-bref li + li {
  margin-top: 0.45rem;
}

.article-corps h2 {
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
  margin: 2.75rem 0 0.9rem;
}
.article-corps h3 {
  margin: 1.9rem 0 0.5rem;
}
.article-corps p + p {
  margin-top: 0.9rem;
}
.article-corps ul,
.article-corps ol {
  max-width: 62ch;
  padding-left: 1.2rem;
  margin: 1rem 0 0;
}
.article-corps li + li {
  margin-top: 0.7rem;
}

.tableau-defilant {
  overflow-x: auto;
  margin: 1.5rem 0 0.6rem;
}
.releve.exemple {
  min-width: 26rem;
}
.releve.exemple tbody th {
  font-weight: 500;
}
.note-tableau {
  font-size: 0.98rem;
  color: var(--encre-douce);
}

/* Cas à vérifier : le trait de surligneur, ici sur la marge */
.a-verifier {
  list-style: none;
  padding-left: 0 !important;
}
.a-verifier li {
  padding-left: 1rem;
  border-left: 4px solid var(--surligneur);
}

/* Étapes : une vraie séquence, donc numérotée */
.etapes {
  list-style: none;
  counter-reset: etape;
  padding-left: 0 !important;
}
.etapes li {
  counter-increment: etape;
  position: relative;
  padding-left: 2.6rem;
}
.etapes li::before {
  content: counter(etape);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.8rem;
  height: 1.8rem;
  border: 2px solid var(--encre);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--titre);
  font-stretch: 85%;
  font-weight: 760;
  font-size: 0.95rem;
  line-height: 1;
}

.sources {
  margin-top: 3rem;
  padding-top: 0.25rem;
  border-top: 2px solid var(--encre);
}
.sources h2 {
  margin-top: 1.25rem;
  font-size: 1.5rem;
}
.sources ul {
  font-size: 1rem;
}
.sources li + li {
  margin-top: 0.5rem;
}

.auteur {
  margin-top: 2.5rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--filet);
}
.auteur h2 {
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
}
.auteur p {
  font-size: 1rem;
  color: var(--encre-douce);
}

.bandeau-guide .conteneur {
  max-width: 46rem;
}
.bandeau-guide .bouton-principal {
  color: #1b2638;
  border-color: var(--surligneur);
}
.bandeau-guide .bouton-principal:hover {
  color: #1b2638;
}

/* Bloc guides sur l'accueil */
.guides-accueil .conteneur {
  max-width: 52rem;
}
.guides-accueil .intro {
  margin-bottom: 1.5rem;
}
.guides-accueil .liste-guides {
  margin-bottom: 1.25rem;
}
.guides-accueil h3 {
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem);
  margin-bottom: 0.5rem;
}
.guides-accueil h3 a {
  color: var(--encre);
  text-decoration: none;
}
.guides-accueil h3 a:hover {
  text-decoration: underline;
}

/* En-tête compact sur petits écrans (marque + Guides + bouton sur une ligne) */
.marque,
.navigation a {
  white-space: nowrap;
}
@media (max-width: 30rem) {
  .entete .conteneur {
    gap: 0.6rem;
  }
  .marque {
    font-size: 1.3rem;
    gap: 0.4rem;
  }
  .marque svg {
    width: 1.45rem;
    height: 1.45rem;
  }
  .navigation {
    gap: 0.8rem;
  }
  .navigation a {
    font-size: 0.92rem;
  }
  .bouton-entete {
    padding: 0.45rem 0.65rem;
  }
}
