/* ==========================================================================
   Déclic'Qualité — Directeur Qualité Externalisé
   Feuille de style unique, sans dépendance.
   Sommaire :
     1. Tokens & reset
     2. Utilitaires de mise en page
     3. Composants (boutons, cartes, titres)
     4. En-tête & navigation
     5. Sections
     6. Formulaire & pied de page
     7. Animations, accessibilité, impression
   ========================================================================== */

/* 1. Tokens & reset ------------------------------------------------------ */

:root {
  /* Palette dérivée des visuels de marque (logo DQE, méthode ROSE) */
  --navy-900: #0a1729;
  --navy-800: #13294b;
  --navy-700: #1d3a68;
  --navy-050: #eef2f8;

  /* gold-600 sert au texte et aux icônes sur fond clair : assombri pour
     atteindre un contraste AA (4,96:1 sur blanc, 4,55:1 sur le crème). */
  --gold-600: #8a6c12;
  --gold-500: #c9a227;
  --gold-400: #ddbe5c;
  --gold-050: #fbf5e4;

  --red-600: #a6192e;
  --slate-600: #45566b;

  --ink: #2f2c28;
  --muted: #6d6a66;
  --bg: #fbfaf8;
  --surface: #ffffff;
  --border: #e6e3dd;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(10 23 41 / 6%), 0 4px 12px rgb(10 23 41 / 5%);
  --shadow-md: 0 4px 10px rgb(10 23 41 / 7%), 0 18px 40px rgb(10 23 41 / 9%);
  --shadow-lg: 0 10px 24px rgb(10 23 41 / 10%), 0 32px 70px rgb(10 23 41 / 16%);

  --font-title: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shell: 1160px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 78px;
}

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

* { margin: 0; }

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

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

img { height: auto; }

a { color: inherit; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

::selection { background: var(--gold-400); color: var(--navy-900); }

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

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

.section { padding-block: var(--section-y); }
.section--tint { background: linear-gradient(180deg, var(--bg), #f3f1ec); }
.section--paper { background: var(--surface); }

.section--dark {
  background:
    radial-gradient(120% 90% at 12% 0%, var(--navy-700) 0%, transparent 55%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #fff;
}

.grid-2 {
  display: grid;
  gap: clamp(2rem, 5vw, 3.75rem);
  align-items: center;
}

@media (min-width: 62rem) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-2--wide-left { grid-template-columns: 1.08fr 0.92fr; }
}

.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.6rem; }

/* 3. Composants ---------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

.section--dark .eyebrow { color: var(--gold-400); }
.section--dark .eyebrow::before { background: var(--gold-400); }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy-800);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.section--dark h1,
.section--dark h2,
.section--dark h3 { color: #fff; }

h1 { font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4rem); }
h2 { font-size: clamp(1.95rem, 1.35rem + 2.4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem); }

p { text-wrap: pretty; }

.lead {
  font-size: clamp(1.06rem, 1rem + 0.35vw, 1.25rem);
  color: var(--muted);
}

.section--dark .lead { color: rgb(255 255 255 / 78%); }

.section-head {
  max-width: 46rem;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.section-head .eyebrow { margin-bottom: 1rem; }
.section-head h2 { margin-bottom: 0.85rem; }

.rule {
  width: 62px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--red-600));
}

.section-head .rule { margin: 1.4rem auto 0; }

/* Boutons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.65rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover { background: var(--navy-700); border-color: var(--navy-700); box-shadow: var(--shadow-md); }

.btn--gold {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.btn--gold:hover { background: var(--gold-400); border-color: var(--gold-400); box-shadow: var(--shadow-md); }

.btn--ghost { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn--ghost:hover { background: var(--navy-800); color: #fff; }

.section--dark .btn--ghost { border-color: rgb(255 255 255 / 55%); color: #fff; }
.section--dark .btn--ghost:hover { background: #fff; color: var(--navy-800); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Cartes */

.card {
  position: relative;
  height: 100%;
  padding: clamp(1.6rem, 3vw, 2.1rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
}

.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); }

.card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1.25rem;
  border-radius: 16px;
  background: var(--gold-050);
  color: var(--gold-600);
  transition: background-color 0.28s var(--ease), color 0.28s var(--ease);
}

.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon { background: var(--gold-500); color: #fff; }

.cards {
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}

/* 4. En-tête & navigation ------------------------------------------------ */

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.7rem 1.2rem;
  background: var(--navy-800);
  color: #fff;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus { top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(255 255 255 / 88%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px rgb(10 23 41 / 7%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  flex: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
  color: #fff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  box-shadow: inset 0 0 0 1px rgb(201 162 39 / 45%);
}

.brand__name {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.2;
}

.brand__tag {
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 700;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }

.nav__link {
  position: relative;
  padding-block: 0.35rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="true"] { color: var(--navy-800); }

.nav__link:hover::after,
.nav__link[aria-current="true"]::after { transform: scaleX(1); }

.nav__cta { margin-left: 0.4rem; padding: 0.6rem 1.25rem; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle svg { width: 22px; height: 22px; color: var(--navy-800); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

@media (max-width: 60rem) {
  .nav-toggle { display: grid; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1.1rem var(--gutter) 1.6rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
      visibility 0.22s;
  }

  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

  .nav__link {
    padding: 0.85rem 0.25rem;
    font-size: 1.02rem;
    border-bottom: 1px solid var(--border);
  }

  .nav__link::after { display: none; }
  .nav__link[aria-current="true"] { color: var(--gold-600); }
  .nav__cta { margin: 0.9rem 0 0; justify-content: center; }
}

/* 5. Sections ------------------------------------------------------------ */

/* Héros */

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(48rem 30rem at 88% -10%, rgb(201 162 39 / 11%), transparent 62%),
    radial-gradient(42rem 26rem at 0% 8%, rgb(19 41 75 / 7%), transparent 60%);
  pointer-events: none;
}

.hero .shell { position: relative; }

.hero__quote {
  margin: 1.4rem 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--gold-500);
  font-family: var(--font-title);
  font-size: clamp(1.1rem, 1rem + 0.55vw, 1.4rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--navy-800);
}

.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block: 1.4rem;
  padding: 0;
  list-style: none;
}

.pillars li {
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.855rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--navy-800);
}

.hero__media { position: relative; }

.hero__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero__badge {
  position: absolute;
  left: -0.75rem;
  bottom: -1.5rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.hero__badge strong {
  font-family: var(--font-title);
  font-size: 2rem;
  line-height: 1;
  color: var(--navy-800);
}

.hero__badge span { font-size: 0.85rem; line-height: 1.35; color: var(--muted); }

@media (max-width: 40rem) { .hero__badge { position: static; margin-top: 1.25rem; } }

/* Bandeau de chiffres */

.stats {
  display: grid;
  gap: 1px;
  background: rgb(255 255 255 / 14%);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 60rem) { .stats { grid-template-columns: repeat(4, 1fr); } }

.stats div {
  padding: clamp(1.4rem, 3vw, 2rem) 1.25rem;
  background: rgb(255 255 255 / 5%);
  text-align: center;
}

.stats dt {
  font-family: var(--font-title);
  font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold-400);
}

/* Libellé long (référentiels) : corps réduit pour rester à l'échelle des chiffres. */
.stats dt.is-text { font-size: clamp(1.2rem, 0.95rem + 0.8vw, 1.5rem); line-height: 1.2; }

.stats dd {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgb(255 255 255 / 78%);
}

/* Onglets Problématiques / Méthode ROSE */

.tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  width: fit-content;
  margin-inline: auto;
  max-width: 100%;
  flex-wrap: wrap;
}

.tab {
  padding: 0.65rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-800);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.tab:hover { background: var(--navy-050); }
.tab[aria-selected="true"] { background: var(--navy-800); color: #fff; }

.tabpanel[hidden] { display: none; }
.tabpanel { animation: fade-up 0.4s var(--ease) both; }

/* Liste des problématiques */

.issues { display: grid; gap: 1.1rem; padding: 0; list-style: none; }

@media (min-width: 48rem) { .issues { grid-template-columns: 1fr 1fr; } }

.issues li {
  display: flex;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red-600);
  border-radius: var(--radius);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.issues li:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.issues svg { width: 24px; height: 24px; flex: none; margin-top: 0.2rem; color: var(--red-600); }
.issues h3 { font-size: 1.08rem; margin-bottom: 0.2rem; }
.issues p { font-size: 0.95rem; color: var(--muted); }

/* Méthode ROSE */

.rose {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
}

.rose__card {
  position: relative;
  padding: 1.6rem 1.5rem 1.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.rose__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--tone, var(--navy-800));
}

.rose__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.rose__head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.9rem; }

.rose__letter {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  background: var(--tone, var(--navy-800));
  color: #fff;
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.rose__head h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tone, var(--navy-800));
}

.rose__card p { font-size: 0.95rem; color: var(--muted); }

.rose-hub {
  margin-top: 1.6rem;
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: #fff;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 52rem) { .rose-hub { grid-template-columns: auto 1fr; text-align: left; } }

.rose-hub__ring {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 152px;
  height: 152px;
  border-radius: 50%;
  background:
    conic-gradient(var(--red-600) 0 25%, var(--gold-500) 0 50%, var(--slate-600) 0 75%, var(--red-600) 0);
  padding: 12px;
}

.rose-hub__ring span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--navy-900);
  font-family: var(--font-title);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  padding: 0.5rem;
}

/* Bloc sombre imbriqué dans une section claire : le titre doit repasser en blanc. */
.rose-hub h3 { margin-bottom: 0.5rem; color: #fff; }
.rose-hub p { color: rgb(255 255 255 / 78%); }

.rose-hub ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 52rem) { .rose-hub ul { justify-content: flex-start; } }

.rose-hub li {
  padding: 0.35rem 0.9rem;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Cycle PDCA */

.pdca {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 62rem) { .pdca { grid-template-columns: 1.05fr 0.95fr; } }

.pdca__figure { margin: 0; }
.pdca__figure svg { width: 100%; height: auto; }

.steps { display: grid; gap: 1.1rem; padding: 0; list-style: none; counter-reset: step; }

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy-050);
  color: var(--navy-800);
  font-family: var(--font-title);
  font-weight: 700;
}

.steps strong { display: block; color: var(--navy-800); }
.steps p { font-size: 0.95rem; color: var(--muted); }

/* Cas client */

.case-grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.75rem); }

@media (min-width: 52rem) { .case-grid { grid-template-columns: 1fr 1fr; } }

.case-card {
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.case-card--accent {
  background: linear-gradient(150deg, var(--navy-050), var(--gold-050));
  border-color: rgb(201 162 39 / 35%);
}

.case-card h3 { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.1rem; }
.case-card h3 svg { width: 22px; height: 22px; color: var(--gold-600); flex: none; }

.ticks { display: grid; gap: 0.7rem; padding: 0; list-style: none; }

.ticks li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: baseline;
  font-size: 0.98rem;
}

.ticks li::before {
  content: attr(data-mark);
  color: var(--gold-600);
  font-weight: 900;
  line-height: 1.5;
}

.case-note {
  margin-top: 1.75rem;
  text-align: center;
  font-style: italic;
  color: var(--muted);
}

/* Parcours */

.parcours { max-width: 52rem; margin-inline: auto; }
.parcours p { margin-bottom: 1.15rem; }

.principles {
  display: grid;
  gap: 0.9rem;
  margin: 2rem 0;
  padding: clamp(1.6rem, 3.5vw, 2.3rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--navy-050), var(--gold-050));
  list-style: none;
}

@media (min-width: 44rem) { .principles { grid-template-columns: 1fr 1fr; } }

.principles li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  font-weight: 700;
  color: var(--navy-800);
}

.principles li svg { width: 20px; height: 20px; color: var(--gold-600); }

.pull-quote {
  margin-top: 2rem;
  padding: 1.5rem 0 1.5rem 1.6rem;
  border-left: 4px solid var(--gold-500);
  font-family: var(--font-title);
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.55rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--navy-800);
}

.pull-quote footer { margin-top: 0.9rem; font-family: var(--font-body); font-size: 0.9rem; font-style: normal; color: var(--muted); }

/* FAQ */

.faq { max-width: 50rem; margin-inline: auto; display: grid; gap: 0.75rem; }

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.faq details[open] { border-color: var(--gold-400); box-shadow: var(--shadow-sm); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-title);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy-800);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  width: 11px;
  height: 11px;
  flex: none;
  border-right: 2.5px solid var(--gold-600);
  border-bottom: 2.5px solid var(--gold-600);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 1.4rem 1.35rem; color: var(--muted); }

/* 6. Formulaire & pied de page ------------------------------------------- */

.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }

@media (min-width: 62rem) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }

.contact-list { display: grid; gap: 0.85rem; margin-top: 2rem; padding: 0; list-style: none; }

.contact-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 1.25rem;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 6%);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.contact-list li:hover { background: rgb(255 255 255 / 11%); border-color: rgb(201 162 39 / 55%); }
.contact-list svg { width: 24px; height: 24px; color: var(--gold-400); }
.contact-list span { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgb(255 255 255 / 62%); }
.contact-list a, .contact-list strong { font-size: 1.02rem; font-weight: 700; color: #fff; text-decoration: none; }
.contact-list a:hover { color: var(--gold-400); }

.form {
  display: grid;
  gap: 1.05rem;
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.form__row { display: grid; gap: 1.05rem; }

@media (min-width: 34rem) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.4rem; }

.field label { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; color: rgb(255 255 255 / 88%); }
.field label .req { color: var(--gold-400); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 10px;
  background: rgb(255 255 255 / 8%);
  color: #fff;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.field textarea { min-height: 8rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgb(255 255 255 / 45%); }

.field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ddbe5c' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
  padding-right: 2.6rem;
}

.field select option { background: var(--navy-900); color: #fff; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-400);
  background: rgb(255 255 255 / 13%);
  box-shadow: 0 0 0 3px rgb(221 190 92 / 26%);
}

.field input:user-invalid,
.field textarea:user-invalid { border-color: #ff9a9a; }

.form__note { font-size: 0.82rem; line-height: 1.55; color: rgb(255 255 255 / 62%); }
.form__note a { color: var(--gold-400); }

.form__status {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgb(221 190 92 / 15%);
  border: 1px solid rgb(221 190 92 / 35%);
  font-size: 0.9rem;
}

.form__status[hidden] { display: none; }

.form__status--succes {
  background: rgb(120 200 140 / 16%);
  border-color: rgb(140 220 160 / 45%);
  color: #d6f5e0;
}

.form__status--erreur {
  background: rgb(255 130 130 / 15%);
  border-color: rgb(255 150 150 / 45%);
  color: #ffd9d9;
}

.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Pied de page */

.site-footer { position: relative; color: rgb(255 255 255 / 78%); background: var(--navy-900); overflow: hidden; }

.site-footer__bg { position: absolute; inset: 0; opacity: 0.16; }
.site-footer__bg img { width: 100%; height: 100%; object-fit: cover; }

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(10 23 41 / 82%), rgb(10 23 41 / 96%));
}

.site-footer .shell { position: relative; z-index: 1; }

.footer-top {
  display: grid;
  gap: 2rem;
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}

@media (min-width: 48rem) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr; } }

.footer-top h2 { font-size: 1.15rem; color: #fff; margin-bottom: 1rem; }
.footer-top p { font-size: 0.94rem; }
.footer-top ul { display: grid; gap: 0.5rem; padding: 0; list-style: none; font-size: 0.94rem; }
.footer-top a { text-decoration: none; transition: color 0.2s var(--ease); }
.footer-top a:hover { color: var(--gold-400); }

.footer-brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.footer-brand .brand__mark { box-shadow: inset 0 0 0 1px rgb(201 162 39 / 65%); }
.footer-brand .brand__name { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1.4rem;
  border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: 0.85rem;
}

/* Retour en haut */

.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--navy-800);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.to-top svg { width: 20px; height: 20px; }

/* Page « Mentions légales » */

.legal { max-width: 48rem; margin-inline: auto; }
.legal h2 { font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem); margin: 2.5rem 0 0.85rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.legal a { color: var(--navy-700); }

.legal mark {
  background: var(--gold-050);
  border-bottom: 2px dotted var(--gold-500);
  color: var(--ink);
  padding: 0 0.2em;
  border-radius: 3px;
}

/* 7. Animations, accessibilité, impression -------------------------------- */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* L'état masqué n'est appliqué que si JavaScript est actif : sans JS,
   le contenu reste visible au lieu de rester bloqué à opacity 0. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.section--dark :where(a, button, input, select, textarea):focus-visible { outline-color: var(--gold-400); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .nav, .to-top, .hero__media, .site-footer__bg, .form { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .section { padding-block: 1.2rem; }
  .section--dark { background: #fff !important; color: #000 !important; }
  .section--dark :where(h1, h2, h3, p, a, span, strong) { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
}
