/* =========================================
   DRONE DES BOIS — FEUILLE DE STYLES V2
   ========================================= */

/* ── 0. RESET & BASE ──────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Couleurs */
  --foret-nuit:  #13261B;
  --foret:       #1C3A29;
  --foret-logo:  #225036;
  --mousse:      #9DCA9F;
  --brume:       #EEF1EC;
  --anthracite:  #1E2421;

  /* Typographie */
  --fs-label:  0.6875rem; /* 11px */
  --fs-body:   1.0625rem; /* 17px */
  --fs-h1:     clamp(2.5rem, 5.5vw, 4rem);
  --fs-h2:     clamp(1.75rem, 3.2vw, 2.5rem);
  --lh-body:   1.7;

  /* Espacement (multiple de 8) */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px; --s14: 112px;

  /* Mise en page */
  --max-w:  1340px;
  --gutter: clamp(24px, 5vw, 80px);
  --radius: 3px;
  --tx:     175ms ease;

  /* Header */
  --h-header: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--anthracite);
  background: var(--foret-nuit);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ── 1. POLICES ───────────────────────────── */
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat.woff2') format('woff2');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

/* ── 2. CONTENEUR ─────────────────────────── */
.conteneur {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── 3. ÉLÉMENTS COMMUNS ─────────────────── */
h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }

.etiquette {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mousse);
  margin-bottom: var(--s3);
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--mousse);
  color: var(--foret-nuit);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background var(--tx), transform var(--tx);
}
.btn:hover { background: #b8dbb9; transform: translateY(-1px); }

.btn--contour {
  background: transparent;
  color: var(--brume);
  border: 1.5px solid rgba(238,241,236,0.45);
}
.btn--contour:hover { background: rgba(238,241,236,0.08); transform: translateY(-1px); }

.lien-sec {
  font-size: 0.9375rem;
  color: var(--brume);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity var(--tx);
}
.lien-sec:hover { opacity: 1; }

/* ── 4. HEADER ───────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--h-header);
  transition: background var(--tx), box-shadow var(--tx);
}

.header--opaque {
  background: var(--foret-nuit);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo__img { width: 34px; height: 34px; flex-shrink: 0; }
.logo__nom {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--brume);
  letter-spacing: 0.01em;
}

.nav__desktop {
  display: flex;
  align-items: center;
  gap: var(--s6);
}
.nav__liens {
  display: flex;
  gap: var(--s5);
}
.nav__lien {
  font-size: 0.9375rem;
  color: var(--brume);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity var(--tx);
}
.nav__lien:hover { opacity: 1; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  color: var(--brume);
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--tx), opacity var(--tx);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--h-header);
  left: 0; right: 0;
  background: var(--foret-nuit);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--s4) var(--gutter) var(--s6);
  z-index: 99;
  flex-direction: column;
  gap: var(--s3);
}
.nav__mobile.ouvert { display: flex; }
.nav__mobile-lien {
  font-size: 1.125rem;
  color: var(--brume);
  text-decoration: none;
  padding-block: var(--s1);
  opacity: 0.8;
}
.nav__mobile-lien:hover { opacity: 1; }


/* ── 5. SECTION HERO (4.1) ───────────────── */
.hero {
  position: relative;
  background: var(--foret-nuit);
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  animation: zoom-lent 20s ease-in-out both;
}
@keyframes zoom-lent {
  from { transform: scale(1); }
  to   { transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__photo img { animation: none; }
}

/* Voile sombre progressif */
.hero__voile {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to top,
      rgba(19,38,27,0.92) 0%,
      rgba(19,38,27,0.72) 35%,
      rgba(19,38,27,0.45) 65%,
      rgba(19,38,27,0.30) 100%
    );
}

/* Voile en haut pour le header */
.hero__voile-top {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(19,38,27,0.70) 0%,
    transparent 25%
  );
  pointer-events: none;
}

.hero__conteneur {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-bottom: var(--s14);
  padding-top: calc(var(--h-header) + var(--s8));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: var(--s4);
}

.hero__texte {
  max-width: 680px;
}
.hero__texte h1 {
  color: var(--brume);
  margin-bottom: var(--s4);
}
.hero__intro {
  font-size: 1.0625rem;
  color: var(--brume);
  opacity: 0.82;
  max-width: 540px;
  margin-bottom: var(--s6);
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--s4);
  flex-wrap: wrap;
}

.hero__geo {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brume);
  opacity: 0.45;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: flex-end;
  padding-bottom: 4px;
}


/* ── 6. SECTION FRISE PHOTO (4.3) ────────── */
.frise-photo {
  background: var(--foret-nuit);
  padding-block: var(--s14);
}

.frise-photo__header {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  margin-bottom: var(--s8);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s4);
}

.frise-photo__titre-wrap .etiquette { margin-bottom: var(--s2); }
.frise-photo__titre {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--brume);
  line-height: 1.15;
}

/* Flèches de navigation */
.frise-photo__nav {
  display: flex;
  gap: var(--s2);
  flex-shrink: 0;
}
.frise-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(238,241,236,0.2);
  color: var(--brume);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--tx), background var(--tx);
}
.frise-nav-btn:hover {
  border-color: var(--mousse);
  background: rgba(157,202,159,0.08);
}
.frise-nav-btn:disabled { opacity: 0.2; cursor: default; }
.frise-nav-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; }

/* Barre de progression */
.frise-photo__progress-wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  margin-bottom: var(--s5);
}
.frise-photo__progress-bg {
  height: 2px;
  background: rgba(238,241,236,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.frise-photo__progress-bar {
  height: 100%;
  background: var(--mousse);
  border-radius: 2px;
  width: 0%;
  transition: width 100ms linear;
}

/* Track horizontal */
.frise-photo__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 20px;
  padding-inline: var(--gutter);
  padding-bottom: var(--s4);
  max-width: var(--max-w);
  margin-inline: auto;
  /* Hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.frise-photo__track::-webkit-scrollbar { display: none; }

/* Carte photo */
.etape-card {
  flex: 0 0 calc((100vw - 2 * var(--gutter)) / 2.5 - 12px);
  max-width: 360px;
  min-width: 240px;
  scroll-snap-align: start;
  aspect-ratio: 4 / 5;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--foret);
}

.etape-card__photo {
  position: absolute;
  inset: 0;
}
.etape-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Voile carte */
.etape-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(19,38,27,0.92) 0%,
    rgba(19,38,27,0.55) 45%,
    rgba(19,38,27,0.1) 100%
  );
  z-index: 1;
}

.etape-card__num {
  position: absolute;
  top: var(--s4);
  left: var(--s4);
  z-index: 2;
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--brume);
  opacity: 0.9;
  text-shadow: 0 2px 14px rgba(19,38,27,0.55);
  line-height: 1;
  letter-spacing: -0.03em;
}

.etape-card__contenu {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: var(--s5) var(--s4) var(--s4);
}

.etape-card__duree {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mousse);
  margin-bottom: var(--s2);
}

.etape-card__titre {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brume);
  line-height: 1.25;
  margin-bottom: var(--s1);
}

.etape-card__texte {
  font-size: 0.875rem;
  color: var(--brume);
  opacity: 0.72;
  line-height: 1.6;
}

/* Note sous la frise */
.frise-photo__note {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  margin-top: var(--s6);
  font-size: 0.9375rem;
  color: var(--brume);
  opacity: 0.5;
  font-style: italic;
}


/* ── 7. CE QUE VOUS RECEVEZ (4.2) ──────────
   (stub — non affiché en preview) */
.mesures {
  background: var(--foret);
  padding-block: var(--s14);
}
.mesures__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s10);
  align-items: start;
}
.mesures__header .etiquette { color: var(--mousse); }
.mesures__header h2 { color: var(--brume); margin-bottom: var(--s3); }
.mesures__header p  { color: var(--brume); opacity: 0.72; font-size: 1rem; }

.mesures__liste { display: flex; flex-direction: column; gap: 0; }
.mesure-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--s3);
  padding-block: var(--s4);
  border-top: 1px solid rgba(157,202,159,0.15);
  align-items: start;
}
.mesure-item:last-child { border-bottom: 1px solid rgba(157,202,159,0.15); }
.mesure-item__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--mousse);
  opacity: 0.3;
  line-height: 1;
  padding-top: 3px;
}
.mesure-item__titre {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--brume);
  font-size: 1rem;
  margin-bottom: 4px;
}
.mesure-item__texte { font-size: 0.9375rem; color: var(--brume); opacity: 0.65; line-height: 1.6; }


/* ── 8. EN TOUTE TRANSPARENCE (4.4) ─────── */
.transparence {
  background: var(--foret-nuit);
  padding-block: var(--s14);
  position: relative;
  overflow: hidden;
}
.transparence__inner { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s10); align-items: start; }
.transparence__header h2 { color: var(--brume); margin-bottom: var(--s8); }
.transparence__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.t-col__titre {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s3);
}
.t-col--oui .t-col__titre { color: var(--mousse); }
.t-col--non .t-col__titre { color: var(--brume); opacity: 0.6; }
.t-col ul { display: flex; flex-direction: column; gap: var(--s2); }
.t-col li { font-size: 0.9375rem; color: var(--brume); opacity: 0.72; padding-left: var(--s3); position: relative; }
.t-col--oui li::before { content: '–'; position: absolute; left: 0; color: var(--mousse); }
.t-col--non li::before { content: '–'; position: absolute; left: 0; color: var(--brume); opacity: 0.3; }
.transparence__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.transparence__photo img { width: 100%; height: 100%; object-fit: cover; }
.transparence__conclusion {
  grid-column: 1 / -1;
  margin-top: var(--s8);
  font-style: italic;
  color: var(--brume);
  opacity: 0.55;
  font-size: 0.9375rem;
  border-left: 2px solid var(--mousse);
  padding-left: var(--s3);
}


/* ── 9. POUR QUI (4.5) ───────────────────── */
.pour-qui {
  background: var(--foret);
  padding-block: var(--s14);
}
.pour-qui__header { margin-bottom: var(--s10); }
.pour-qui__header h2 { color: var(--brume); margin-top: var(--s2); }
.pour-qui__grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pq-card__body { min-height: 100%; }
.pq-card { border-radius: var(--radius); overflow: hidden; background: rgba(19,38,27,0.5); }
.pq-card__photo { aspect-ratio: 16/9; overflow: hidden; }
.pq-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.pq-card:hover .pq-card__photo img { transform: scale(1.04); }
.pq-card__body { padding: var(--s4); }
.pq-card__num { font-family: 'Montserrat', sans-serif; font-size: 0.8125rem; font-weight: 700; color: var(--mousse); opacity: 0.8; margin-bottom: var(--s1); }
.pq-card__titre { font-family: 'Montserrat', sans-serif; font-weight: 600; color: var(--brume); margin-bottom: var(--s2); }
.pq-card__texte { font-size: 0.9375rem; color: var(--brume); opacity: 0.65; line-height: 1.6; }


/* ── 10. LA MÉTHODE (4.6) ────────────────── */
.methode {
  position: relative;
  overflow: hidden;
  background: var(--foret);
  min-height: 480px;
  display: flex;
  align-items: center;
}
.methode__photo {
  position: absolute;
  inset: 0;
}
.methode__photo img { width: 100%; height: 100%; object-fit: cover; }
.methode__voile {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(19,38,27,0.92) 0%, rgba(19,38,27,0.85) 38%, transparent 62%);
}
.methode__contenu {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: var(--s14);
}
.methode__texte { max-width: 540px; }
.methode__texte h2 { color: var(--brume); margin-bottom: var(--s4); }
.methode__texte p { color: var(--brume); opacity: 0.78; line-height: 1.75; }


/* ── 11. À PROPOS (4.7) ─────────────────── */
.a-propos {
  background: var(--foret-nuit);
  padding-block: var(--s14);
}
.a-propos__inner { display: grid; grid-template-columns: 340px 1fr; gap: var(--s10); align-items: start; }
.portrait-wrap {
  aspect-ratio: 4 / 5;
  border: 1.5px solid rgba(157,202,159,0.3);
  border-radius: var(--radius);
  background: var(--foret);
}
.a-propos__texte .etiquette { color: var(--mousse); }
.a-propos__texte h2 { color: var(--brume); margin-bottom: var(--s4); }
.a-propos__texte p { color: var(--brume); opacity: 0.78; line-height: 1.75; margin-bottom: var(--s5); }
.reperes { display: flex; flex-direction: column; gap: var(--s3); }
.repere {
  font-size: 0.9375rem;
  color: var(--brume);
  opacity: 0.6;
  padding-left: var(--s3);
  border-left: 2px solid rgba(157,202,159,0.35);
  line-height: 1.55;
}


/* ── 12. CONTACT (4.8) ───────────────────── */
.contact {
  background: var(--brume);
  padding-block: var(--s14);
}
.contact__inner { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s10); align-items: start; }
.contact__inner .etiquette { color: var(--foret-logo); }
.contact__inner h2 { color: var(--anthracite); margin-bottom: var(--s3); }
.contact__intro { color: var(--anthracite); opacity: 0.78; margin-bottom: var(--s6); line-height: 1.65; }
.contact__meta-titre { font-family: 'Montserrat', sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--foret-logo); opacity: 0.8; margin-bottom: 4px; margin-top: var(--s4); }
.contact__meta-val { color: var(--anthracite); font-size: 1rem; }
.contact__meta-val a { color: var(--foret-logo); text-decoration: none; }
.contact__meta-val a:hover { text-decoration: underline; }

/* Formulaire */
.formulaire { display: flex; flex-direction: column; gap: var(--s3); }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ--hp { display: none; }
.rangee { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--anthracite);
}
label.requis::after, .requis::after { content: ' *'; color: var(--foret-logo); }
input, select, textarea {
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid rgba(30,36,33,0.45);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.9375rem;
  color: var(--anthracite);
  transition: border-color var(--tx);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--foret-logo);
}
input.err, select.err, textarea.err {
  border-color: #c0392b;
}
.champ__err {
  font-size: 0.8125rem;
  color: #c0392b;
  display: none;
}
.champ__err.show { display: block; }
textarea { resize: vertical; min-height: 100px; }
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' stroke='%231E2421' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

.champ--consent { flex-direction: row; gap: var(--s2); align-items: flex-start; }
.champ--consent label { display: flex; gap: 10px; font-weight: 400; font-family: 'Inter', sans-serif; font-size: 0.875rem; line-height: 1.5; cursor: pointer; }
.champ--consent input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--foret-logo); }
.champ--consent a { color: var(--foret-logo); }

.form-rgpd {
  font-size: 0.8125rem;
  color: var(--anthracite);
  opacity: 0.8;
  line-height: 1.6;
}
.form-rgpd a { color: var(--foret-logo); }

.btn-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  background: var(--foret-logo);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: background var(--tx);
  cursor: pointer;
  border: none;
  align-self: flex-start;
}
.btn-form:hover { background: var(--foret); }
.btn-form:disabled { opacity: 0.6; cursor: default; }

.confirmation {
  display: none;
  padding: var(--s4);
  background: rgba(34,80,54,0.08);
  border-left: 3px solid var(--foret-logo);
  border-radius: var(--radius);
  color: var(--anthracite);
  font-size: 1rem;
  line-height: 1.6;
}
.confirmation.show { display: block; }


/* ── 13. PIED DE PAGE ─────────────────────── */
.footer {
  background: var(--foret-nuit);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-block: var(--s8);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  flex-wrap: wrap;
}
.footer__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer__logo img { width: 28px; height: 28px; }
.footer__logo span { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.9375rem; color: var(--brume); }
.footer__liens { display: flex; gap: var(--s4); flex-wrap: wrap; }
.footer__lien { font-size: 0.875rem; color: var(--brume); opacity: 0.7; text-decoration: none; transition: opacity var(--tx); }
.footer__lien:hover { opacity: 0.75; }
.footer__copy { font-size: 0.8125rem; color: var(--brume); opacity: 0.6; }


/* ── 14. RESPONSIVE ──────────────────────── */
@media (max-width: 1100px) {
  .transparence__inner { grid-template-columns: 1fr; }
  .mesures__inner { grid-template-columns: 1fr; gap: var(--s8); }
  .a-propos__inner { grid-template-columns: 280px 1fr; }
}

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

  .frise-photo__header { flex-direction: column; align-items: flex-start; }
  .etape-card {
    flex: 0 0 calc((100vw - 2 * var(--gutter)) / 1.15);
    max-width: 400px;
  }

  .pour-qui__grille { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .a-propos__inner { grid-template-columns: 1fr; }
  .portrait-wrap { max-width: 280px; }
  .methode__voile { background: rgba(19,38,27,0.85); }
}

@media (max-width: 768px) {
  :root { --h-header: 60px; }

  .hero__conteneur {
    grid-template-columns: 1fr;
    padding-bottom: var(--s10);
  }
  .hero__geo { writing-mode: horizontal-tb; transform: none; }

  .rangee { grid-template-columns: 1fr; }
  .transparence__cols { grid-template-columns: 1fr; }
  .mesures__inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .frise-photo__nav { display: none; }
}

/* ── 15. ACCESSIBILITÉ ─────────────────────── */
:focus-visible {
  outline: 2px solid var(--foret-logo);
  outline-offset: 3px;
  border-radius: 2px;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ── FRISE ÉPINGLÉE : la bande avance avec le défilement de la page ── */
.frise-photo--epingle { padding-block: 0; }
.frise-photo--epingle .frise-photo__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  box-sizing: border-box;
  padding-top: calc(var(--h-header) + var(--s4));
  padding-bottom: var(--s4);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.frise-photo--epingle .frise-photo__track {
  overflow-x: hidden;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.frise-photo--epingle .frise-photo__progress-bar { transition: none; }
.frise-photo--epingle .frise-photo__note { margin-top: var(--s4); }
.frise-photo--epingle .frise-photo__sticky > * { width: 100%; }

/* Correctifs : en-tête centré, ancres sous l'en-tête fixe, jointure hero */
html { scroll-padding-top: var(--h-header); }
.header__nav, .nav__desktop { align-items: center; }
.nav__desktop { display: flex; gap: 28px; height: 100%; }
.nav__liens { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav__liens li { display: flex; align-items: center; }
.nav__lien { line-height: 1; display: inline-flex; align-items: center; }
.header .btn { padding: 11px 22px; line-height: 1; }
.logo { line-height: 1; }
.hero { isolation: isolate; margin-bottom: -1px; }
.hero + * { position: relative; z-index: 1; }

/* Pages légales : fond clair, texte lisible */
.pg-sec { background: var(--brume); color: var(--anthracite); padding: calc(var(--h-header) + 56px) 0 80px; min-height: 70vh; }
.pg-sec .conteneur { max-width: 760px; }
.pg-sec h1, .pg-sec h2 { color: var(--foret); }
.pg-sec h1 { margin-bottom: 24px; }
.pg-sec h2 { font-size: 1.25rem; margin: 36px 0 10px; }
.pg-sec p, .pg-sec li { color: var(--anthracite); line-height: 1.7; }
.pg-sec ul { padding-left: 20px; margin: 10px 0; }
.pg-sec a { color: var(--foret-logo); text-decoration: underline; }
body:has(.pg-sec) .header { background: var(--foret-nuit); box-shadow: 0 1px 0 rgba(255,255,255,0.06); }

/* Choix Volumes / Santé */
.choix { display: inline-flex; gap: 4px; padding: 4px; margin: 28px 0 0; border-radius: 999px; background: rgba(19,38,27,0.6); border: 1px solid rgba(157,202,159,0.25); }
.choix__btn { appearance: none; border: 0; cursor: pointer; padding: 10px 28px; border-radius: 999px; background: transparent; color: var(--brume); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.9375rem; transition: background var(--tx), color var(--tx); }
.choix__btn.is-actif { background: var(--mousse); color: var(--foret-nuit); }
.choix__btn:focus-visible { outline: 2px solid var(--mousse); outline-offset: 2px; }
.mesures__liste[hidden] { display: none; }

/* Choix Volumes / Santé, présentation centrée */
.mesures__inner { display: block; }
.mesures__header { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.mesures__header p { margin-inline: auto; }
.choix { display: flex; justify-content: center; gap: 16px; padding: 0; margin: 32px 0 0; background: none; border: 0; border-radius: 0; }
.choix__btn { padding: 14px 32px; border: 1.5px solid var(--mousse); color: var(--mousse); background: transparent; font-size: 1rem; }
.choix__btn:hover { background: rgba(157,202,159,0.12); }
.choix__btn.is-actif { background: var(--mousse); color: var(--foret-nuit); }
.mesures__liste { max-width: 760px; margin-inline: auto; }

/* Bandeau sombre, hauteur constante */
.header, .header--opaque, body:has(.pg-sec) .header {
  background: var(--foret-nuit);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  height: var(--h-header);
  transition: none;
}
.header .logo__nom { color: var(--brume); }
.header .nav__lien { color: var(--brume); opacity: 0.85; }
.header .nav__lien:hover { opacity: 1; }
.header .btn { background: var(--mousse); color: var(--foret-nuit); border: 0; }
.header .btn:hover { background: var(--brume); color: var(--foret-nuit); }
.header .burger { color: var(--brume); }

/* Bandeau collé en haut via sticky (plus stable que fixed sous Safari) */
.header { position: sticky; top: 0; left: auto; right: auto; width: 100%; margin-bottom: calc(-1 * var(--h-header)); }

/* Bandeau : fixe (ne suit pas le rebond de Safari), logo agrandi, texte en gras */
:root { --h-header: 64px; }
@media (max-width: 600px) { :root { --h-header: 56px; } }
html, body { overscroll-behavior-y: none; }
.header { position: fixed; top: 0; left: 0; right: 0; width: auto; margin-bottom: 0; }
.header .logo__img { width: 40px; height: 40px; }
.header .logo__nom { font-size: 1.1rem; font-weight: 800; }
.header .nav__lien { font-weight: 700; opacity: 1; font-size: 1rem; }
.header .btn { font-weight: 800; padding: 10px 20px; }
@media (max-width: 600px) { .header .logo__img { width: 34px; height: 34px; } .header .logo__nom { font-size: 1rem; } }

/* Illustration nuage de points */
.transparence__photo--large { aspect-ratio: auto; background: #EEF1EC; margin: 0; }
.transparence__photo--large img { width: 100%; height: auto; display: block; object-fit: contain; }
.transparence__legende { padding: 8px 14px; font-size: 0.8125rem; color: var(--anthracite); background: #EEF1EC; }

/* ── AUDIT : colonne photo retirée, page 404 lisible, mouvement réduit ── */
.a-propos__inner { grid-template-columns: 1fr !important; }

.p404 {
  min-height: 70vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 96px 16px; gap: 16px;
}
.p404__num { font-family: 'Montserrat', sans-serif; font-size: 4rem; font-weight: 700; color: var(--foret-logo); margin: 0; }
.p404__titre { font-size: var(--fs-h2); color: var(--foret-nuit); margin: 0; }
.p404__texte { color: var(--anthracite); max-width: 36ch; margin: 0; }
body:has(.p404) { background: var(--brume); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
