/* ==========================================================================
   24 Sàrl — feuille de style principale
   Design suisse contemporain : grille précise, espace négatif, rouge en accent.
   Palette et typographie dérivées du logo historique.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Polices (auto-hébergées — aucune requête externe)
   Inter, SIL Open Font License 1.1 — voir assets/fonts/LICENSE.txt
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.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;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   2. Variables
   -------------------------------------------------------------------------- */

:root {
  /* Couleurs */
  --rouge: #9d1f27;
  --rouge-actif: #7f1720;
  --rouge-voile: rgba(157, 31, 39, 0.08);
  --anthracite: #555555;
  --gris-moyen: #949494;
  --gris-texte: #5c5c5c;
  --gris-clair: #f2f2f0;
  --blanc-casse: #fafaf8;
  --encre: #242424;
  --blanc: #ffffff;
  --trait: #e2e2de;
  --trait-fonce: rgba(255, 255, 255, 0.16);

  /* Typographie */
  --police: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial,
    sans-serif;

  /* Rythme */
  --contenu: 1200px;
  --contenu-etroit: 720px;
  --gouttiere: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --entete-h: 76px;

  /* Mouvement */
  --transition: 180ms cubic-bezier(0.33, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--entete-h) + 1.5rem);
}

body {
  margin: 0;
  background: var(--blanc-casse);
  color: var(--encre);
  font-family: var(--police);
  font-size: 1rem;
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--encre);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.125rem, 1.35rem + 3.1vw, 3.75rem);
}
h2 {
  font-size: clamp(1.75rem, 1.25rem + 2vw, 2.625rem);
}
h3 {
  font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem);
  letter-spacing: -0.01em;
}
h4 {
  font-size: 1.0625rem;
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 1.15em;
  text-wrap: pretty;
}
p:last-child {
  margin-bottom: 0;
}

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

strong {
  font-weight: 600;
}

ul,
ol {
  margin: 0 0 1.15em;
  padding-left: 1.25rem;
}
li {
  margin-bottom: 0.4em;
}
li:last-child {
  margin-bottom: 0;
}

hr {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--trait);
}

/* Focus visible et cohérent partout */
:focus-visible {
  outline: 2px solid var(--rouge);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--rouge);
  color: var(--blanc);
}

/* --------------------------------------------------------------------------
   4. Utilitaires de mise en page
   -------------------------------------------------------------------------- */

.conteneur {
  width: 100%;
  max-width: var(--contenu);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.conteneur--etroit {
  max-width: calc(var(--contenu-etroit) + var(--gouttiere) * 2);
}

.section {
  padding-block: var(--section-y);
}

.section--serree {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section--claire {
  background: var(--gris-clair);
}

.section--blanche {
  background: var(--blanc);
}

.section + .section--blanche,
.section--blanche + .section {
  border-top: 1px solid var(--trait);
}

.visuellement-cache {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.lien-evitement {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--rouge);
  color: var(--blanc);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transform: translate(-50%, -120%);
  transition: transform var(--transition);
}
.lien-evitement:focus {
  color: var(--blanc);
  transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   5. Composants de texte
   -------------------------------------------------------------------------- */

.surtitre {
  display: block;
  margin: 0 0 1rem;
  color: var(--rouge);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.surtitre--gris {
  color: var(--anthracite);
}

.chapeau {
  max-width: 58ch;
  color: var(--gris-texte);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  line-height: 1.7;
}

.titre-section {
  max-width: 22ch;
}

.entete-section {
  max-width: var(--contenu-etroit);
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.entete-section .chapeau {
  margin-top: 1.25rem;
}

.entete-section--centree {
  margin-inline: auto;
  text-align: center;
}
.entete-section--centree .titre-section,
.entete-section--centree .chapeau {
  margin-inline: auto;
}

/* Filet rouge court, rappel discret de l'accent du logo */
.filet {
  width: 48px;
  height: 2px;
  margin-bottom: 1.75rem;
  background: var(--rouge);
}
.entete-section--centree .filet {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   6. Boutons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition),
    color var(--transition);
}

.btn--principal {
  background: var(--rouge);
  color: var(--blanc);
}
.btn--principal:hover {
  background: var(--rouge-actif);
  color: var(--blanc);
}
.btn--principal:active {
  background: #6b131b;
}

.btn--secondaire {
  background: transparent;
  border-color: #cfcfca;
  color: var(--encre);
}
.btn--secondaire:hover {
  border-color: var(--encre);
  color: var(--encre);
}
.btn--secondaire:active {
  background: var(--gris-clair);
}

.btn--clair {
  background: var(--blanc);
  color: var(--encre);
}
.btn--clair:hover {
  background: var(--gris-clair);
  color: var(--encre);
}

.btn--fantome {
  background: transparent;
  border-color: var(--trait-fonce);
  color: var(--blanc);
}
.btn--fantome:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--blanc);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

.groupe-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* Lien fléché */
.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--rouge);
}
.lien-fleche::after {
  content: "";
  width: 1.125rem;
  height: 1px;
  background: currentColor;
  transition: width var(--transition);
}
.lien-fleche:hover {
  color: var(--rouge-actif);
}
.lien-fleche:hover::after {
  width: 1.75rem;
}

/* --------------------------------------------------------------------------
   7. En-tête et navigation
   -------------------------------------------------------------------------- */

.entete {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blanc-casse);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.entete.est-defile {
  border-bottom-color: var(--trait);
}

.entete__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--entete-h);
  transition: min-height var(--transition);
}
.entete.est-defile .entete__inner {
  min-height: 62px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo img {
  width: auto;
  height: 46px;
  /* Fond blanc du JPEG fondu dans le fond clair — le logo n'est pas modifié */
  mix-blend-mode: multiply;
  transition: height var(--transition);
}
.entete.est-defile .logo img {
  height: 38px;
}

.nav-principale {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.25rem);
}

.nav-principale__liste {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-principale__liste li {
  margin: 0;
}

.nav-principale__liste a {
  position: relative;
  display: inline-block;
  padding-block: 0.5rem;
  color: var(--encre);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-principale__liste a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0.15rem;
  height: 1px;
  background: var(--rouge);
  transition: right var(--transition);
}
.nav-principale__liste a:hover::after,
.nav-principale__liste a[aria-current="page"]::after {
  right: 0;
}
.nav-principale__liste a[aria-current="page"] {
  color: var(--rouge);
}

.entete .btn {
  min-height: 44px;
  padding: 0.625rem 1.25rem;
}

/* Sélecteur de langue */
.lien-langue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--trait);
  border-radius: 2px;
  color: var(--anthracite);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition);
}
.lien-langue:hover {
  border-color: var(--encre);
  color: var(--encre);
}
.menu-mobile .lien-langue {
  width: 100%;
  margin-top: 0.875rem;
}

/* Bouton hamburger */
.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--trait);
  border-radius: 2px;
  cursor: pointer;
}
.burger__barres,
.burger__barres::before,
.burger__barres::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--encre);
  transition: transform var(--transition), opacity var(--transition);
}
.burger__barres {
  position: relative;
}
.burger__barres::before,
.burger__barres::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger__barres::before {
  top: -6px;
}
.burger__barres::after {
  top: 6px;
}
.burger[aria-expanded="true"] .burger__barres {
  background: transparent;
}
.burger[aria-expanded="true"] .burger__barres::before {
  transform: translateY(6px) rotate(45deg);
}
.burger[aria-expanded="true"] .burger__barres::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Menu mobile */
.menu-mobile {
  display: none;
  border-top: 1px solid var(--trait);
  background: var(--blanc-casse);
}
.menu-mobile.est-ouvert {
  display: block;
}
.menu-mobile__liste {
  margin: 0;
  padding: 0.5rem 0 1.5rem;
  list-style: none;
}
.menu-mobile__liste li {
  margin: 0;
  border-bottom: 1px solid var(--trait);
}
.menu-mobile__liste a {
  display: block;
  padding: 1rem 0;
  color: var(--encre);
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
}
.menu-mobile__liste a[aria-current="page"] {
  color: var(--rouge);
}
.menu-mobile .btn {
  width: 100%;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .nav-principale {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 7vw, 6rem);
}

/* Motif secondaire : courbes discrètes inspirées des deux arcs du logo */
.hero__motif {
  position: absolute;
  top: -12%;
  right: -18%;
  width: min(760px, 78vw);
  pointer-events: none;
  user-select: none;
  opacity: 0.5;
  z-index: 0;
}

.hero__grille {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grille {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(3rem, 6vw, 5.5rem);
  }
}

.hero__texte h1 {
  margin-bottom: 1.5rem;
}
.hero__texte .chapeau {
  margin-bottom: 2rem;
}

.hero--interieur {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--trait);
}
.hero--interieur .hero__grille {
  grid-template-columns: minmax(0, 1fr);
}
.hero--interieur .hero__texte {
  max-width: var(--contenu-etroit);
}
.hero--interieur h1 {
  margin-bottom: 1.5rem;
}

/* Marqueurs de confiance */
.marqueurs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin: 2.5rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--trait);
  list-style: none;
}
.marqueurs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--gris-texte);
  font-size: 0.875rem;
  font-weight: 500;
}
.marqueurs li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rouge);
  flex-shrink: 0;
}

/* Visuel du hero */
.hero__visuel {
  position: relative;
  margin: 0;
}
.hero__visuel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Composition graphique : panneau de courbes reprenant le motif du logo.
   Sert de visuel tant qu'aucune photographie professionnelle n'est fournie —
   voir README pour la marche à suivre lors du remplacement. */
.plan-image {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  background: var(--gris-clair);
  border: 1px solid var(--trait);
  overflow: hidden;
}
.plan-image__arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.plan-image__legende {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  max-width: 26ch;
  margin: 0;
  padding: 1rem 1.25rem;
  background: var(--blanc-casse);
  border-top: 2px solid var(--rouge);
  color: var(--encre);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}
.plan-image--large {
  aspect-ratio: 4 / 3;
}

/* Portrait — volontairement contenu : la source est en basse définition,
   l'afficher petit préserve la netteté. */
.portrait {
  width: 240px;
  max-width: 100%;
  margin: 0 0 2rem;
}
.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
}

/* Bande photo pleine largeur de conteneur */
.bandeau-photo {
  margin: 0;
}
.bandeau-photo img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.bandeau-photo figcaption {
  margin-top: 0.875rem;
  color: var(--gris-texte);
  font-size: 0.8125rem;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .bandeau-photo img {
    aspect-ratio: 3 / 2;
  }
}

/* --------------------------------------------------------------------------
   9. Grilles et cartes
   -------------------------------------------------------------------------- */

.grille {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.grille--2 {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 780px) {
  .grille--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.grille--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}

.carte-service {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-top: 2px solid var(--rouge);
  transition: border-color var(--transition), transform var(--transition);
}
.carte-service:hover {
  border-color: #d3d3ce;
  border-top-color: var(--rouge-actif);
}
.carte-service__numero {
  margin-bottom: 1.25rem;
  color: var(--anthracite);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.carte-service h3 {
  margin-bottom: 0.875rem;
}
.carte-service p {
  color: var(--gris-texte);
  font-size: 0.9688rem;
}
.carte-service .lien-fleche {
  margin-top: auto;
  padding-top: 1.5rem;
  align-self: flex-start;
}

/* Carte de publication LinkedIn */
.carte-publication {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--blanc);
  border: 1px solid var(--trait);
  transition: border-color var(--transition);
}
.carte-publication:hover {
  border-color: #cfcfca;
}
.carte-publication__date {
  display: block;
  margin-bottom: 1rem;
  color: var(--anthracite);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.carte-publication h3 {
  margin-bottom: 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}
.carte-publication h3 a {
  color: var(--encre);
  text-decoration: none;
}
/* La carte entière est cliquable, sans piéger le clavier :
   seul le lien du titre reste focusable. */
.carte-publication h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.carte-publication {
  position: relative;
}
.carte-publication h3 a:hover {
  color: var(--rouge);
}
.carte-publication p {
  margin-bottom: 1.5rem;
  color: var(--gris-texte);
  font-size: 0.9375rem;
}
.carte-publication .lien-fleche {
  margin-top: auto;
  align-self: flex-start;
}

/* Liste à puces fines */
.liste-fine {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.liste-fine li {
  position: relative;
  margin-bottom: 0.625rem;
  padding-left: 1.25rem;
  color: var(--gris-texte);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.liste-fine li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--rouge);
}

.liste-fine--colonnes {
  columns: 2;
  column-gap: 2.5rem;
}
.liste-fine--colonnes li {
  break-inside: avoid;
}
@media (max-width: 640px) {
  .liste-fine--colonnes {
    columns: 1;
  }
}

/* Bloc encadré simple */
.encadre {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--blanc);
  border: 1px solid var(--trait);
}
.encadre h3 {
  margin-bottom: 1rem;
}

.encadre--accent {
  border-left: 2px solid var(--rouge);
}

/* Note discrète (mentions « sur demande », etc.) */
.note {
  display: inline-block;
  padding: 0.5rem 0.875rem;
  background: var(--rouge-voile);
  color: var(--rouge-actif);
  font-size: 0.875rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   10. Sections éditoriales (deux colonnes)
   -------------------------------------------------------------------------- */

.duo {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .duo {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }
  .duo--texte-droite > :first-child {
    order: 2;
  }
  .duo--asymetrique {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

/* --------------------------------------------------------------------------
   11. Méthode et étapes
   -------------------------------------------------------------------------- */

.etapes {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: etape;
}
@media (min-width: 860px) {
  .etapes--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.etape {
  position: relative;
  margin: 0;
  padding: 2rem 0 2rem 0;
  border-top: 1px solid var(--trait);
}
@media (min-width: 860px) {
  .etapes--3 .etape {
    padding-right: 2.5rem;
  }
}
.etape__numero {
  display: block;
  margin-bottom: 1rem;
  color: var(--rouge);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.etape h3 {
  margin-bottom: 0.75rem;
}
.etape p {
  color: var(--gris-texte);
  font-size: 0.9688rem;
}

/* Frise numérotée verticale (page audit) */
.frise {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: frise;
}
.frise__item {
  position: relative;
  margin: 0;
  padding: 1.5rem 0 1.5rem 4rem;
  border-bottom: 1px solid var(--trait);
  counter-increment: frise;
}
.frise__item:first-child {
  border-top: 1px solid var(--trait);
}
.frise__item::before {
  content: counter(frise, decimal-leading-zero);
  position: absolute;
  top: 1.55rem;
  left: 0;
  color: var(--rouge);
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}
.frise__item h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0;
}
.frise__item p {
  margin-top: 0.4rem;
  color: var(--gris-texte);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   12. Témoignages
   -------------------------------------------------------------------------- */

.temoignage {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--blanc);
  border: 1px solid var(--trait);
}
.temoignage__marque {
  width: 22px;
  height: 2px;
  margin-bottom: 1.5rem;
  background: var(--rouge);
}
.temoignage blockquote {
  margin: 0 0 1.75rem;
  color: var(--encre);
  font-size: 1.0625rem;
  line-height: 1.6;
}
/* Traduction sous une citation conservée dans sa langue d'origine */
.temoignage__traduction {
  margin: -1.125rem 0 1.75rem;
  color: var(--gris-texte);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.temoignage figcaption {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--trait);
  font-size: 0.875rem;
  line-height: 1.5;
}
.temoignage__nom {
  display: block;
  font-weight: 600;
  color: var(--encre);
}
.temoignage__role {
  color: var(--gris-texte);
}

/* --------------------------------------------------------------------------
   13. Accordéon
   -------------------------------------------------------------------------- */

.accordeon {
  border-top: 1px solid var(--trait);
}

.accordeon__item {
  border-bottom: 1px solid var(--trait);
}

.accordeon__item > summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 60px;
  padding: 1.125rem 0;
  cursor: pointer;
  font-size: 1.0313rem;
  font-weight: 500;
  color: var(--encre);
  list-style: none;
  transition: color var(--transition);
}
.accordeon__item > summary::-webkit-details-marker {
  display: none;
}
.accordeon__item > summary:hover {
  color: var(--rouge);
}
.accordeon__item > summary:focus-visible {
  outline-offset: -2px;
}

.accordeon__numero {
  flex-shrink: 0;
  min-width: 1.75rem;
  color: var(--anthracite);
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.accordeon__titre {
  flex: 1;
}

.accordeon__signe {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}
.accordeon__signe::before,
.accordeon__signe::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 1.5px;
  background: var(--rouge);
  transition: transform var(--transition);
}
.accordeon__signe::after {
  transform: rotate(90deg);
}
.accordeon__item[open] .accordeon__signe::after {
  transform: rotate(0deg);
}

.accordeon__contenu {
  padding: 0 0 1.5rem calc(1.75rem + 1rem);
  max-width: 62ch;
  color: var(--gris-texte);
  font-size: 0.9688rem;
}
@media (max-width: 560px) {
  .accordeon__contenu {
    padding-left: 0;
  }
}

/* --------------------------------------------------------------------------
   14. Bandeau d'appel à l'action
   -------------------------------------------------------------------------- */

.bandeau-cta {
  position: relative;
  overflow: hidden;
  background: #2e2e2e;
  color: var(--blanc);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.bandeau-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, #2e2e2e 0%, #3a2426 62%, #4a1c21 100%);
}
.bandeau-cta__motif {
  position: absolute;
  right: -8%;
  bottom: -60%;
  width: min(620px, 70vw);
  opacity: 0.28;
  pointer-events: none;
}
.bandeau-cta > .conteneur {
  position: relative;
  z-index: 1;
}
.bandeau-cta h2 {
  color: var(--blanc);
  max-width: 20ch;
  margin-bottom: 1.25rem;
}
.bandeau-cta p {
  max-width: 56ch;
  margin-bottom: 2.25rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.0625rem;
}
.bandeau-cta .surtitre {
  color: rgba(255, 255, 255, 0.62);
}

/* --------------------------------------------------------------------------
   15. Formulaire
   -------------------------------------------------------------------------- */

.formulaire {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 700px) {
  .formulaire {
    grid-template-columns: 1fr 1fr;
  }
  .champ--pleine-largeur {
    grid-column: 1 / -1;
  }
}

.champ {
  display: flex;
  flex-direction: column;
  gap: 0.4375rem;
}

.champ label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--encre);
}
.champ__facultatif {
  color: var(--gris-texte);
  font-weight: 400;
}

.champ input,
.champ select,
.champ textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.875rem;
  background: var(--blanc);
  border: 1px solid #d5d5d0;
  border-radius: 2px;
  color: var(--encre);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.champ textarea {
  min-height: 150px;
  resize: vertical;
}
.champ select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
}
.champ input:hover,
.champ select:hover,
.champ textarea:hover {
  border-color: #b9b9b3;
}
.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--rouge);
  box-shadow: 0 0 0 3px var(--rouge-voile);
}
.champ input:focus-visible,
.champ select:focus-visible,
.champ textarea:focus-visible {
  outline: 2px solid var(--rouge);
  outline-offset: 1px;
}

.champ__erreur {
  min-height: 0;
  color: var(--rouge-actif);
  font-size: 0.8125rem;
  font-weight: 500;
}
.champ--invalide input,
.champ--invalide select,
.champ--invalide textarea {
  border-color: var(--rouge);
}

/* Case à cocher */
.champ-case {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.champ-case input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 2px 0 0;
  accent-color: var(--rouge);
}
.champ-case label {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--gris-texte);
  line-height: 1.55;
}

/* Message de retour du formulaire */
.form-message {
  padding: 1rem 1.125rem;
  border-left: 2px solid var(--rouge);
  background: var(--rouge-voile);
  color: var(--encre);
  font-size: 0.9375rem;
}
.form-message[hidden] {
  display: none;
}

/* Coordonnées */
.coordonnees {
  margin: 0;
  font-size: 0.9688rem;
  line-height: 1.75;
}
.coordonnees dt {
  margin-top: 1.5rem;
  color: var(--gris-texte);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.coordonnees dt:first-child {
  margin-top: 0;
}
.coordonnees dd {
  margin: 0.25rem 0 0;
  color: var(--encre);
}
.coordonnees a {
  text-decoration-color: rgba(157, 31, 39, 0.35);
}

/* --------------------------------------------------------------------------
   16. Pied de page
   -------------------------------------------------------------------------- */

.pied {
  background: var(--gris-clair);
  border-top: 1px solid var(--trait);
  padding-block: clamp(3rem, 5vw, 4.5rem) 2rem;
}

.pied__haut {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #dededa;
}
@media (min-width: 760px) {
  .pied__haut {
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }
}

.pied .logo img {
  height: 52px;
  mix-blend-mode: multiply;
}
.pied__baseline {
  max-width: 30ch;
  margin-top: 1.25rem;
  color: var(--gris-texte);
  font-size: 0.9375rem;
}

.pied h2 {
  margin-bottom: 1.125rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--anthracite);
}

.pied ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pied li {
  margin-bottom: 0.625rem;
}
.pied a {
  color: var(--encre);
  font-size: 0.9375rem;
  text-decoration: none;
}
.pied a:hover {
  color: var(--rouge);
  text-decoration: underline;
}

.pied address {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--encre);
}

/* Lien réseau social du pied de page */
.lien-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  margin-top: 1rem;
  color: var(--encre);
  font-size: 0.9375rem;
  text-decoration: none;
}
.lien-social svg {
  flex-shrink: 0;
  color: var(--rouge);
}
.lien-social:hover {
  color: var(--rouge);
}
.lien-social:hover span {
  text-decoration: underline;
}

.pied__bas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 2rem;
  font-size: 0.8125rem;
  color: var(--gris-texte);
}
.pied__bas ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.pied__bas a {
  font-size: 0.8125rem;
  color: var(--gris-texte);
}

/* --------------------------------------------------------------------------
   17. Fil d'Ariane
   -------------------------------------------------------------------------- */

.fil {
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--gris-texte);
}
.fil ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fil li {
  margin: 0;
}
.fil li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--gris-texte);
}
.fil a {
  color: var(--gris-texte);
  text-decoration: none;
}
.fil a:hover {
  color: var(--rouge);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   18. Pages légales
   -------------------------------------------------------------------------- */

.prose {
  max-width: 68ch;
}
.prose h2 {
  margin: 3rem 0 1rem;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.0625rem;
}
.prose p,
.prose li {
  color: var(--gris-texte);
}
.prose ul {
  padding-left: 1.125rem;
}

/* --------------------------------------------------------------------------
   19. Animations légères
   -------------------------------------------------------------------------- */

.apparait {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}
.apparait.est-visible {
  opacity: 1;
  transform: none;
}

/* Sans JavaScript, le contenu reste visible */
.no-js .apparait {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .apparait {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   20. Impression
   -------------------------------------------------------------------------- */

@media print {
  .entete,
  .menu-mobile,
  .bandeau-cta,
  .lien-evitement,
  .hero__motif {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
  }
}
