/* ==============================================================
   TFC Médical – feuille de style unique
   Approche mobile-first : styles de base pour petits écrans,
   puis enrichissements via @media (min-width: …).
   ============================================================== */

/* --------------------------------------------------------------
   1. VARIABLES (couleurs issues du logo et de la maquette)
   -------------------------------------------------------------- */
:root {
  --color-white: #ffffff;
  --color-anthracite: #2b2b2d;      /* panneaux sombres, titres */
  --color-anthracite-deep: #1e1e20; /* dégradé du héros */
  --color-black: #111112;           /* fond du carrousel */
  --color-text: #3a3a3c;            /* texte courant */
  --color-text-muted: #5f5f63;      /* texte secondaire */
  --color-logo-grey: #575757;       /* gris du lettrage du logo */
  --color-accent: #b0141e;          /* rouge sombre du logo */
  --color-accent-dark: #8e0f18;
  --color-bg-soft: #f4f4f5;         /* fonds de blocs */
  --color-icon-bg: #ececed;         /* cercles des pictogrammes */
  --color-line: #dcdcde;            /* filets fins */
  --color-line-dark: rgba(255, 255, 255, 0.28);
  --color-veil: rgba(30, 30, 32, 0.78); /* voile sur photo */
  --color-focus: #b0141e;
  --color-success: #1e6136;         /* message d'envoi réussi */

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-logo: Georgia, "Times New Roman", serif;

  --radius: 3px;
  --header-h: 72px;
  --container: 1240px;
  --gutter: 20px;
}

@media (min-width: 1024px) {
  :root {
    --header-h: 96px;
    --gutter: 40px;
  }
}

/* --------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

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

h1, h2, h3 {
  color: var(--color-anthracite);
  line-height: 1.2;
  font-weight: 500;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--color-accent);
}

figure {
  margin: 0;
}

address {
  font-style: normal;
}

/* Focus visible et homogène */
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

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

/* Lien d'évitement (clavier) */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--color-anthracite);
  color: var(--color-white);
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --------------------------------------------------------------
   3. BOUTONS
   -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 12px 28px;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn-arrow {
  color: var(--color-accent);
  transition: transform 0.2s;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Bouton plein blanc (héros) */
.btn-light {
  background: var(--color-white);
  color: var(--color-anthracite);
}

.btn-light:hover {
  background: var(--color-bg-soft);
}

/* Bouton contour fin (héros) */
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Bouton sombre (formulaire) */
.btn-dark {
  background: var(--color-anthracite);
  color: var(--color-white);
}

.btn-dark .btn-arrow {
  color: var(--color-white);
}

.btn-dark:hover {
  background: var(--color-accent);
}

/* Inactif tant que script.js ne tourne pas */
.btn-dark:disabled,
.btn-dark:disabled:hover {
  background: var(--color-anthracite);
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-dark:disabled:hover .btn-arrow {
  transform: none;
}

.hero :focus-visible,
.banner :focus-visible {
  outline-color: var(--color-white);
}

/* --------------------------------------------------------------
   4. EN-TÊTE FIXE ET NAVIGATION
   -------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo + texte de repli */
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-logo-grey);
}

.site-header .brand-logo {
  height: calc(var(--header-h) - 20px);
  width: auto;
}

.brand-text {
  display: none; /* affiché seulement si le logo est introuvable */
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  padding-left: 12px;
  border-left: 3px solid var(--color-accent);
}

.brand-text-main {
  font-family: var(--font-logo);
  font-size: 1.9rem;
  letter-spacing: 0.04em;
  color: var(--color-logo-grey);
}

.brand-text-sub {
  margin-top: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--color-logo-grey);
}

/* Classe posée par script.js quand le logo ne se charge pas */
.logo-missing .brand-logo {
  display: none;
}

.logo-missing .brand-text {
  display: inline-flex;
}

/* Bouton hamburger (mobile) */
.nav-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 1.5px;
  background: var(--color-anthracite);
  transition: transform 0.2s, background-color 0.2s;
}

.nav-toggle-bar {
  top: 21px;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  left: 0;
}

.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after  { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Menu mobile : panneau déroulant sous l'en-tête */
.main-nav {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-line);
  display: none;
}

.main-nav.is-open {
  display: block;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 8px var(--gutter) 16px;
}

.main-nav a {
  position: relative;
  display: inline-block;
  padding: 12px 0;
  color: var(--color-anthracite);
  text-decoration: none;
  font-size: 1.0625rem;
}

/* Soulignement rouge du lien actif */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.main-nav a.is-active {
  color: var(--color-accent);
}

/* Sélecteur de langue FR · NL · EN
   Mobile : à gauche du hamburger. Desktop : à droite du menu (order). */
.lang-switch {
  margin-left: auto;
  margin-right: 8px;
}

.lang-switch ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lang-switch li {
  display: flex;
  align-items: center;
}

/* Filet fin entre les langues */
.lang-switch li + li::before {
  content: "";
  width: 1px;
  height: 14px;
  background: var(--color-line);
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 44px;
  padding: 0 6px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--color-anthracite);
}

.lang-switch a[aria-current="page"] {
  color: var(--color-accent);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: block;
    background: none;
    border: 0;
    margin-left: auto;
  }

  .lang-switch {
    order: 3;
    margin: 0 0 0 28px;
    padding-left: 20px;
    border-left: 1px solid var(--color-line);
  }

  .main-nav ul {
    display: flex;
    gap: 44px;
    padding: 0;
  }
}

/* --------------------------------------------------------------
   5. HÉROS + CARROUSEL
   Mobile : texte au-dessus, carrousel en dessous, sans diagonale.
   Desktop (≥ 900px) : panneau texte à gauche, carrousel à droite
   découpé en diagonale (clip-path).
   -------------------------------------------------------------- */
.hero {
  position: relative;
  margin-top: var(--header-h);
  background: linear-gradient(135deg, #343437 0%, var(--color-anthracite) 45%, var(--color-anthracite-deep) 100%);
  color: var(--color-white);
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-content {
  padding: 48px 0 36px;
}

.hero h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.14;
  margin-bottom: 0.4em;
  max-width: 21ch;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 1rem + 1vw, 1.9rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.6em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---- Carrousel ---- */
.carousel {
  position: relative;
  background: var(--color-black);
}

.carousel-viewport {
  position: relative;
  height: 72vw;
  max-height: 520px;
  min-height: 280px;
  overflow: hidden;
  touch-action: pan-y; /* laisse le défilement vertical, capte le swipe horizontal */
}

.carousel-track {
  position: absolute;
  inset: 0;
}

/* Les slides sont superposées ; transition en fondu */
.slide {
  position: absolute;
  inset: 0;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0s linear 0.8s;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease, visibility 0s;
}

/* Radiographie affichée entière, jamais déformée */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.slide figcaption {
  position: absolute;
  right: 20px;
  bottom: 12px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Contrôles : flèches, points, pause */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px var(--gutter) 18px;
  background: var(--color-black);
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: var(--radius);
  color: var(--color-white);
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s, background-color 0.2s;
}

.carousel-btn:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
}

.carousel-pause {
  margin-left: 8px;
}

.carousel-pause .icon-play,
.carousel-pause.is-paused .icon-pause {
  display: none;
}

.carousel-pause.is-paused .icon-play {
  display: block;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Zone cliquable de 28px, point visuel de 8px */
.carousel-dot {
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: background-color 0.2s, transform 0.2s;
}

.carousel-dot:hover::before {
  background: var(--color-white);
}

.carousel-dot[aria-current="true"]::before {
  background: var(--color-accent);
  transform: scale(1.25);
}

/* ---- Héros desktop : diagonale ---- */
@media (min-width: 900px) {
  .hero {
    height: 80vh;
    min-height: 560px;
    max-height: 820px;
  }

  .hero-inner {
    height: 100%;
    display: flex;
    align-items: center;
  }

  .hero-content {
    width: 54%;
    padding: 0 0 90px;
  }

  /* Le carrousel n'est plus positionné : ses enfants se placent
     par rapport au héros (zone image à droite, contrôles en bas à gauche) */
  .carousel {
    position: static;
    background: none;
  }

  .carousel-viewport {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 46%;
    height: auto;
    max-height: none;
    background: var(--color-black);
    /* Coupure diagonale, comme sur la maquette */
    clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 1;
  }

  /* Décalage à gauche pour que la radio ne soit pas rognée par la diagonale */
  .slide {
    padding: 36px 48px 36px 20%;
  }

  .carousel-controls {
    position: absolute;
    z-index: 3;
    bottom: 48px;
    left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
    justify-content: flex-start;
    padding: 0;
    margin-left: -12px; /* aligne visuellement la flèche sur le texte */
    background: none;
  }

  .carousel-dots {
    margin: 0 14px;
  }
}

@media (min-width: 1280px) {
  .hero-content {
    width: 52%;
  }

  .carousel-viewport {
    left: 48%;
  }
}

/* --------------------------------------------------------------
   6. BANDE DES 3 PILIERS
   -------------------------------------------------------------- */
.pillars {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-line);
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.pillar {
  padding: 36px 0;
}

.pillar + .pillar {
  border-top: 1px solid var(--color-line);
}

.pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--color-icon-bg);
  color: var(--color-anthracite);
}

.pillar-title {
  font-size: 1.375rem;
  font-weight: 500;
  margin-bottom: 0.4em;
}

.pillar p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  max-width: 34ch;
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .pillar {
    padding: 0 28px;
  }

  .pillar:first-child {
    padding-left: 0;
  }

  .pillar + .pillar {
    border-top: 0;
    border-left: 1px solid var(--color-line);
  }

  .pillar-title {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .pillar {
    padding: 0 48px;
  }

  .pillar-title {
    font-size: 1.5rem;
  }
}

/* --------------------------------------------------------------
   7. QUI SOMMES-NOUS
   -------------------------------------------------------------- */
.about {
  padding: 64px 0;
  background: var(--color-bg-soft);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.section-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-accent);
}

.section-title {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  margin-bottom: 0.9em;
}

.about-text p {
  font-size: 1.0625rem;
}

.about-signature {
  margin-top: 1.6em;
  padding-left: 18px;
  border-left: 3px solid var(--color-accent);
  font-size: 1.1875rem !important;
  font-weight: 500;
  color: var(--color-anthracite);
}

.about-media {
  margin-top: 40px;
  position: relative;
}

/* Filet décoratif rouge décalé derrière la photo */
.about-media::before {
  content: "";
  position: absolute;
  inset: 16px -12px -12px 16px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  opacity: 0.6;
}

.about-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 60% 60%; /* centre sur les plateaux d'instruments */
  border-radius: var(--radius);
  filter: saturate(0.85) contrast(1.03);
}

@media (min-width: 900px) {
  .about {
    padding: 104px 0;
  }

  .about-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 72px;
    align-items: start;
  }

  .about-media {
    margin-top: 0;
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }

  .about-media img {
    aspect-ratio: 4 / 5;
  }
}

/* --------------------------------------------------------------
   8. BANDEAU « FOND D'ÉCRAN » AVEC LOGO
   -------------------------------------------------------------- */
.banner {
  position: relative;
  overflow: hidden;
  background: var(--color-anthracite);
  color: var(--color-white);
}

.banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

/* Voile anthracite pour garantir la lisibilité du texte blanc */
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-veil);
}

.banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

/* Panneau blanc pour que le logo reste lisible */
.banner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.banner-logo .brand-logo {
  height: 88px;
  width: auto;
}

.banner-logo .brand-text-main {
  font-size: 2.6rem;
}

.banner-quote {
  margin: 32px 0 0;
  max-width: 30ch;
  font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem);
  font-weight: 300;
  line-height: 1.35;
  color: var(--color-white);
}

@media (min-width: 900px) {
  .banner-inner {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

/* --------------------------------------------------------------
   9. CONTACT
   -------------------------------------------------------------- */
.contact {
  padding: 64px 0;
  background: var(--color-white);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--color-line);
}

.contact-list li:last-child {
  border-bottom: 1px solid var(--color-line);
}

.contact-list svg {
  flex: none;
  margin-top: 2px;
  color: var(--color-anthracite);
}

.contact-label {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.contact-list a {
  color: var(--color-anthracite);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Formulaire */
.contact-form {
  margin-top: 40px;
  padding: 28px 20px;
  background: var(--color-bg-soft);
  border-radius: var(--radius);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--color-anthracite);
}

.req {
  color: var(--color-accent);
}

.optional {
  font-weight: 400;
  color: var(--color-text-muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--color-anthracite);
  background: var(--color-white);
  border: 1px solid #c4c4c8;
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--color-anthracite);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--color-accent);
}

.form-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.form-status {
  min-height: 1.5em;
  font-size: 0.9375rem;
  color: var(--color-accent);
}

.form-status.is-success {
  color: var(--color-success);
}

/* Message affiché sans JavaScript */
.form-noscript {
  margin-bottom: 24px;
  color: var(--color-anthracite);
}

@media (min-width: 900px) {
  .contact {
    padding: 104px 0;
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 72px;
    align-items: start;
  }

  .contact-form {
    margin-top: 0;
    padding: 40px;
  }
}

/* --------------------------------------------------------------
   10. PIED DE PAGE
   -------------------------------------------------------------- */
.site-footer {
  background: var(--color-anthracite);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9375rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--color-white);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.site-footer :focus-visible {
  outline-color: var(--color-white);
}

@media (min-width: 900px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* --------------------------------------------------------------
   11. RÉDUCTION DES ANIMATIONS
   -------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* --------------------------------------------------------------
   12. CASE DE CONSENTEMENT (formulaire de contact)
   -------------------------------------------------------------- */
.field-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.field-check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--color-accent);
}

.field-check label {
  margin: 0;
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.field-check input[aria-invalid="true"] {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* --------------------------------------------------------------
   13. PAGES DE TEXTE (mentions légales, politique de confidentialité)
   -------------------------------------------------------------- */
.page-text {
  margin-top: var(--header-h);
  padding: 32px 0 72px;
  background: var(--color-white);
}

/* Fil d'Ariane */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.breadcrumb li + li::before {
  content: "›";
  margin: 0 8px;
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

/* Colonne de lecture d'environ 70 caractères */
.prose {
  max-width: 70ch;
}

.prose h1 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  padding-bottom: 0.5em;
  margin-bottom: 0.8em;
  border-bottom: 1px solid var(--color-line);
}

.prose h2 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  margin-top: 2.2em;
  margin-bottom: 0.6em;
}

.prose h2::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-bottom: 14px;
  background: var(--color-accent);
}

.prose h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-top: 1.6em;
  margin-bottom: 0.4em;
}

.prose p,
.prose li,
.prose dd {
  font-size: 1.0625rem;
}

.prose ul {
  margin: 0 0 1em;
  padding-left: 1.3em;
}

.prose li {
  margin-bottom: 0.35em;
}

.prose li::marker {
  color: var(--color-accent);
}

.prose a {
  color: var(--color-accent);
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

.prose a:hover {
  color: var(--color-accent-dark);
}

/* Fiche d'identité (éditeur, responsable du traitement) */
.prose dl {
  margin: 0 0 1em;
  border-top: 1px solid var(--color-line);
}

.prose dl > div {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-line);
}

.prose dt {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.prose dd {
  margin: 2px 0 0;
  color: var(--color-anthracite);
}

@media (min-width: 768px) {
  .prose dl > div {
    display: grid;
    grid-template-columns: 15em 1fr;
    gap: 16px;
  }

  .prose dd {
    margin: 0;
  }
}

/* Information manquante, bien visible pour ne pas l'oublier */
.todo {
  padding: 0 4px;
  background: #fff3cd;
  color: #5c4400;
  border-radius: 2px;
  font-weight: 500;
}

.page-updated {
  margin-top: 3em;
  padding-top: 1em;
  border-top: 1px solid var(--color-line);
  font-size: 0.9375rem !important;
  color: var(--color-text-muted);
}

.footer-links a[aria-current="page"] {
  text-decoration: underline;
}

@media (min-width: 900px) {
  .page-text {
    padding: 48px 0 104px;
  }
}
