@charset "utf-8";
/* ==========================================================================
   Le Vagabond — feuille de styles de production
   Mobile-first. Aucun framework, aucune dépendance externe.
   Sommaire :
     1. Polices locales
     2. Variables & socle
     3. Utilitaires
     4. En-tête & navigation
     5. Hero
     6. Chiffres clés
     7. Vidéo
     8. Montage (cartes + diaporamas)
     9. Structures
    10. Organisateurs
    11. Vente & location
    12. Réalisations
    13. Équipe
    14. FAQ
    15. Contact & formulaire
   15b. Page de confirmation (merci.html)
   15c. Pages légales (mentions-legales.html, confidentialite.html)
    16. Pied de page
    17. Lightbox
    18. Animations & préférences de mouvement
   ========================================================================== */

/* 1. Polices locales ------------------------------------------------------ */
/* Outfit, fichiers variables (axe wght 100–900) servis depuis assets/fonts/.
   Deux fichiers seulement : la découpe par unicode-range évite de charger
   l'extension latine pour un contenu purement français. */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/outfit-variable-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: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/outfit-variable-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 & socle ---------------------------------------------------- */

:root {
  --bg: #faf8f5;
  --ink: #14110f;
  --muted: #6e6660;
  --faint: #8a8078;

  --accent: #c98b72;
  --accent-dark: #b87a61;
  --green: #5c7059;
  --green-dark: #4a5b47;

  --sand: #f7efe5;
  --sage: #ecf0e9;
  --stone: #ede8e1;
  --card: #fff;

  --line: rgba(20, 17, 15, 0.08);
  --line-strong: rgba(20, 17, 15, 0.16);

  --header-h: 64px;
  --shell: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 10px;

  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (min-width: 48em) {
  :root {
    --header-h: 76px;
  }
}

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

html {
  scroll-behavior: smooth;
  /* Le titre visé ne doit pas passer sous l'en-tête collant. */
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* garde-fou : aucune section ne doit dépasser à 360 px */
}

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

a {
  color: var(--ink);
  text-decoration: none;
}

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

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

h1,
h2,
h3 {
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: pretty;
  margin: 0;
}

h2 {
  font-size: clamp(28px, 3.4vw, 46px);
}

h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

address {
  font-style: normal;
}

/* Doit l'emporter sur les display: grid/flex posés plus bas. */
[hidden] {
  display: none !important;
}

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

/* 3. Utilitaires ---------------------------------------------------------- */

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

.section {
  padding-block: clamp(56px, 9vw, 140px);
}

.section--flush-top {
  padding-top: 0;
}

.section__intro {
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 64px);
}

.section__intro--wide {
  max-width: 660px;
  margin-bottom: clamp(36px, 5vw, 72px);
}

.eyebrow {
  font-family: var(--mono);
  font-size: clamp(13px, 1.4vw, 18px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.lede {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 17px);
  line-height: 1.65;
  margin-top: 18px;
}

/* Lien d'évitement : visible uniquement au clavier. */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 18px;
  border-radius: 6px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
  color: var(--bg);
}

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

/* Boutons ----------------------------------------------------------------- */

.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 16px 30px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s,
    transform 0.25s;
}

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn--green {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.btn--green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn--ghost {
  padding: 16px 4px;
  border-bottom: 1px solid rgba(250, 248, 245, 0.4);
  border-radius: 0;
  color: var(--bg);
  font-weight: 400;
}

.btn--ghost:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 17, 15, 0.07);
}

.site-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  min-height: var(--header-h);
}

.site-header__logo img {
  height: 30px;
  width: auto;
}

/* Le bouton n'apparaît que si le JS peut l'actionner. */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

/* Les barres vivent dans leur propre conteneur : le libellé lecteur d'écran
   ne décale plus la numérotation des :nth-child. */
.nav-toggle__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
}

.js .nav-toggle {
  display: inline-flex;
}

.nav-toggle__bar {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Sans JS : le menu reste déplié et passe simplement à la ligne. */
.site-nav {
  flex-basis: 100%;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  padding: 0 0 12px;
}

.site-nav a {
  display: block;
  padding: 13px 0;
  font-size: 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--ink);
}

/* Avec JS : panneau replié, déplié par le bouton. */
.js .site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  flex-basis: auto;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.3s ease, visibility 0s linear 0.3s;
}

.js .site-nav.is-open {
  max-height: 70svh;
  overflow-y: auto;
  visibility: visible;
  transition: max-height 0.3s ease, visibility 0s;
}

.js .site-nav ul {
  padding: 8px var(--gutter) 20px;
}

@media (min-width: 62em) {
  .js .nav-toggle {
    display: none;
  }

  .site-nav,
  .js .site-nav {
    position: static;
    flex-basis: auto;
    max-height: none;
    overflow: visible;
    visibility: visible;
    background: none;
    border: none;
    transition: none;
  }

  .site-nav ul,
  .js .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: clamp(14px, 2vw, 30px);
    padding: 0;
  }

  .site-nav a {
    padding: 6px 0;
    font-size: 14.5px;
    letter-spacing: 0.01em;
    white-space: nowrap;
    border-bottom: 1px solid transparent;
    transition: color 0.25s, border-color 0.25s;
  }

  .site-nav a[aria-current="true"] {
    color: var(--ink);
    border-bottom-color: var(--accent);
  }
}

/* 5. Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(calc(100svh - var(--header-h)), 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  padding-block: clamp(40px, 8vw, 64px);
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% 50%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 17, 15, 0.34) 0%,
    rgba(20, 17, 15, 0.22) 40%,
    rgba(20, 17, 15, 0.62) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(32px, 6.2vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--bg);
  max-width: 20ch;
}

.hero__lede {
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.55;
  color: rgba(250, 248, 245, 0.88);
  max-width: 56ch;
  /* Respiration sous le titre — remplace la marge fixe de ~170 px de la
     maquette, qui faisait déborder le hero sous 400 px de large. */
  margin-top: clamp(20px, 8vh, 64px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: clamp(24px, 4vw, 38px);
}

/* 6. Chiffres clés -------------------------------------------------------- */

.figures {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--sand);
}

.figures__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(20px, 2vw, 28px);
  padding-block: clamp(32px, 4vw, 52px);
  /* `margin: 0` écraserait le `margin-inline: auto` de .shell : au-delà de
     1280 px le bloc se collait alors au bord gauche au lieu d'être centré.
     On ne remet donc à zéro que les marges verticales du <dl>. */
  margin-block: 0;
  justify-items: center;
}

.figures__item {
  text-align: center;
  width: 100%;
  max-width: 34ch;
}

.figures__item dt {
  font-size: clamp(20px, 2.1vw, 34px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--accent-dark);
  /* pas de white-space:nowrap : « 0 outil / formation » doit pouvoir passer
     à la ligne sur un écran de 360 px */
  text-wrap: balance;
}

.figures__item dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.figures__item .infinite {
  font-size: 2.1em;
  line-height: 0.6;
  display: inline-block;
  vertical-align: -0.12em;
}

/* 7. Vidéo ---------------------------------------------------------------- */

.section-video {
  padding-top: clamp(40px, 6vw, 88px);
}

.video-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 16 / 9;
}

.video-figure video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sans JS, la vidéo garde ses contrôles natifs : pas de surcouche qui
   intercepterait les clics. */
.video-figure__overlay {
  display: none;
}

.js .video-figure__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  background: rgba(20, 17, 15, 0.18);
  border: none;
  cursor: pointer;
  color: #fff;
  transition: opacity 0.25s;
}

.video-figure__overlay[hidden] {
  display: none;
}

.video-figure__play {
  width: clamp(58px, 12vw, 78px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  transition: background-color 0.25s, transform 0.25s;
}

.video-figure__overlay:hover .video-figure__play {
  background: var(--accent-dark);
  transform: scale(1.05);
}

.video-figure__play::before {
  content: "";
  border-left: 22px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}

.video-figure__label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-video__title {
  margin-bottom: clamp(18px, 2.4vw, 28px);
}

/* 8. Montage : cartes + diaporamas ---------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(24px, 3vw, 36px);
}

.step__num {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--accent);
  margin-bottom: 10px;
}

.step h3 {
  margin-bottom: 8px;
}

.step p:last-child {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.step__media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--stone);
  aspect-ratio: 3 / 4;
  margin-bottom: 20px;
  width: 100%;
  padding: 0;
  border: none;
  display: block;
}

/* Le curseur ne promet l'agrandissement que si le JS peut l'ouvrir. */
.js button.step__media {
  cursor: zoom-in;
}

.step__media--contain {
  display: flex;
  align-items: center;
}

.step__media--contain img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Diaporama : les images sont empilées et se relaient en fondu.

   Chaque image monte en fondu (0,6 s) par-dessus la précédente, qui reste
   opaque tout le temps du fondu : rien du fond ne transparaît entre deux
   photos. Une fois recouverte, elle redescend à zéro sans qu'on la voie.
   La dernière image est seule à redescendre à découvert : son fondu sortant
   révèle la première, déjà remontée sous la pile. Chaque photo tient donc
   l'écran 3 secondes, boucle comprise.

   Les délais sont décalés de -0,6 s (la durée du fondu) : à l'arrêt sur la
   première image, l'animation est figée sur son image-clé « opacité 1 » au
   lieu du « opacité 0 » de départ. Le diaporama peut donc rester en pause
   par défaut, sans que la carte apparaisse vide. */
.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  /* En pause tant que script.js n'a pas vu la carte entrer dans l'écran.
     Sans JavaScript, le diaporama entier est masqué au profit du
     <noscript> de la carte (voir plus bas). */
  animation-play-state: paused;
}

/* La première image reste visible si les animations ne tournent pas. */
.slideshow img:first-child {
  opacity: 1;
}

.slideshow.is-playing img {
  animation-play-state: running;
}

/* Le survol suspend le défilement sans le remettre à zéro. */
.slideshow.is-playing:hover img,
.slideshow.is-playing:focus-visible img {
  animation-play-state: paused;
}

.slideshow--4 img {
  animation-name: slide-fade-4;
  animation-duration: 12s;
}

.slideshow--6 img {
  animation-name: slide-fade-6;
  animation-duration: 18s;
}

.slideshow--7 img {
  animation-name: slide-fade-7;
  animation-duration: 21s;
}

.slideshow img:nth-child(1) { animation-delay: -0.6s; }
.slideshow img:nth-child(2) { animation-delay: 2.4s; }
.slideshow img:nth-child(3) { animation-delay: 5.4s; }
.slideshow img:nth-child(4) { animation-delay: 8.4s; }
.slideshow img:nth-child(5) { animation-delay: 11.4s; }
.slideshow img:nth-child(6) { animation-delay: 14.4s; }
.slideshow img:nth-child(7) { animation-delay: 17.4s; }

@keyframes slide-fade-4 {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  30%  { opacity: 1; }
  35%  { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes slide-fade-6 {
  0%      { opacity: 0; }
  3.333%  { opacity: 1; }
  20%     { opacity: 1; }
  23.333% { opacity: 0; }
  100%    { opacity: 0; }
}

@keyframes slide-fade-7 {
  0%      { opacity: 0; }
  2.857%  { opacity: 1; }
  17.143% { opacity: 1; }
  20%     { opacity: 0; }
  100%    { opacity: 0; }
}

/* Repli sans JavaScript.

   Les images suivantes d'un diaporama ne portent qu'un GIF transparent de
   1 x 1 : leur vraie source attend dans `data-src`, que seul le script pose.
   Sans JavaScript, le bouton d'agrandissement — qui n'ouvrirait rien — est
   retiré par le <noscript> du <head>, et le <noscript> de chaque carte rend
   les photos en clair, les unes sous les autres. */
.step__gallery {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 6px;
  margin-bottom: 20px;
}

/* Planche-contact : même cadrage 3/4 que le diaporama, pour que la carte
   garde une hauteur raisonnable même à six ou sept photos. */
.step__gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  background: var(--stone);
  display: block;
}

/* Photo unique (le schéma PMR) : montrée en entier, jamais recadrée. */
.step__gallery li:only-child img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}

/* Emplacement encore sans photo (volet roulant). */
.step__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    45deg,
    var(--stone) 0 5px,
    #e4ddd2 5px 10px
  );
}

.step__placeholder p {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--faint);
  text-align: center;
  padding: 0 24px;
}

/* 9. Structures ----------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
  align-items: start;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.card:hover {
  border-color: rgba(201, 139, 114, 0.5);
  transform: translateY(-3px);
}

.card__media {
  aspect-ratio: 4 / 3;
  background: var(--sand);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card__media--sage { background: var(--sage); }
.card__media--sand2 { background: #f4ede6; }
.card__media--mist { background: #eef0ec; }

.card__body {
  padding: 24px 24px 26px;
}

.card__body h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.card__body > p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.spec {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.spec li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
}

.spec li::before {
  content: "—";
  color: var(--accent);
  flex: none;
}

/* 10. Organisateurs ------------------------------------------------------- */

.organisers {
  background: var(--sage);
}

.organisers .eyebrow {
  color: var(--green-dark);
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

@media (min-width: 56em) {
  .split {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px 32px;
  margin-block: clamp(28px, 4vw, 38px);
}

.benefits h3 {
  font-size: 17px;
  margin-bottom: 7px;
}

.benefits p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
}

.stack figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e6e0d7;
  aspect-ratio: 16 / 10;
}

.stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 11. Vente & location ---------------------------------------------------- */

.offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
}

.offer {
  border: 1px solid rgba(201, 139, 114, 0.28);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 44px);
  background: #fffaf5;
}

.offer--rent {
  border-color: rgba(92, 112, 89, 0.26);
  border-top-color: var(--green);
  background: #fafbf8;
}

.offer h3 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.offer > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 26px;
}

.offer ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.offer li {
  display: flex;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.55;
}

.offer li::before {
  content: "—";
  color: var(--accent);
  flex: none;
}

.offer--rent li::before {
  color: var(--green);
}

.offer li.highlight {
  margin-top: 2px;
}

.offer li.highlight::before {
  content: "→";
  font-size: 1.35em;
  line-height: 1.15;
}

/* 12. Réalisations -------------------------------------------------------- */

.showcase {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--stone);
}

.showcase img {
  width: 100%;
}

/* 13. Équipe -------------------------------------------------------------- */

.team-section {
  background: var(--sand);
}

.team-section .eyebrow {
  color: var(--accent-dark);
}

.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(28px, 4vw, 56px);
}

.team__portrait {
  border-radius: var(--radius);
  overflow: hidden;
  background: #e6e0d7;
  aspect-ratio: 4 / 5;
  margin: 0 0 22px;
  max-width: min(62%, 260px);
}

.team__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.team h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.team__role {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 18px;
  border: 1px solid rgba(20, 17, 15, 0.22);
  border-radius: 999px;
  font-size: 14px;
  transition: border-color 0.25s, color 0.25s;
}

.pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* 14. FAQ ----------------------------------------------------------------- */

.faq-section {
  max-width: 900px;
  margin-inline: auto;
}

.faq-section > h2 {
  margin-bottom: clamp(28px, 4vw, 56px);
}

.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(20, 17, 15, 0.12);
}

.faq details {
  border-bottom: 1px solid rgba(20, 17, 15, 0.12);
}

.faq summary {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: baseline;
  padding: 22px 0;
  cursor: pointer;
  font-size: clamp(17px, 1.5vw, 20px);
  list-style: none;
  transition: color 0.25s;
}

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

.faq summary:hover {
  color: var(--accent);
}

.faq summary::after {
  content: "+";
  color: var(--accent);
  flex: none;
  font-size: 20px;
  line-height: 1;
  transition: transform 0.25s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq p {
  margin: -6px 0 24px;
  max-width: 70ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* 15. Contact & formulaire ------------------------------------------------ */

.contact {
  border-top: 1px solid var(--line);
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(32px, 5vw, 80px);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: clamp(28px, 4vw, 40px);
  font-size: 16px;
  line-height: 1.6;
}

.contact__label {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13.5px;
  font-family: var(--mono);
}

.form {
  background: var(--card);
  border: 1px solid rgba(20, 17, 15, 0.1);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

.form .full {
  grid-column: 1 / -1;
}

.form input,
.form select,
.form textarea {
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 13px 14px;
  font-size: 16px; /* ≥16px : évite le zoom automatique sur iOS */
  background: var(--bg);
  color: var(--ink);
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}

.form textarea {
  resize: vertical;
  min-height: 120px;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--accent);
}

/* Piège à robots : invisible et hors du flux, mais pas display:none
   (certains robots ignorent les champs ainsi masqués). */
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}

.field-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 4px 10px;
}

.field-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--accent);
  flex: none;
}

.field-consent label {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}

.field-consent__link {
  grid-column: 2;
  font-size: 13px;
  color: var(--accent);
  border-bottom: 1px solid rgba(201, 139, 114, 0.35);
  justify-self: start;
}

.form-error {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(176, 58, 46, 0.45);
  border-radius: 6px;
  background: rgba(176, 58, 46, 0.06);
  color: #8f2e24;
  font-size: 14.5px;
  line-height: 1.55;
}

.form-status {
  background: var(--card);
  border: 1px solid rgba(201, 139, 114, 0.4);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 44px);
}

.form-status h3 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
}

.form-status p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.link-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--accent);
  font-size: 15.5px;
  border-bottom: 1px solid rgba(201, 139, 114, 0.35);
}

/* 15b. Page de confirmation (merci.html) ---------------------------------- */

.page-confirmation {
  max-width: 720px;
}

.page-confirmation h1 {
  font-size: clamp(28px, 3.4vw, 46px);
  margin-top: 6px;
}

.page-confirmation .lede {
  max-width: 56ch;
}

.page-confirmation__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: clamp(28px, 4vw, 40px);
}

/* Variante du bouton fantôme sur fond clair : le `.btn--ghost` du hero est
   dessiné pour un fond sombre. */
.btn--ghost-on-light {
  color: var(--ink);
  border-bottom-color: var(--line-strong);
}

.page-confirmation__aside {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.page-confirmation__aside a {
  color: var(--accent);
  border-bottom: 1px solid rgba(201, 139, 114, 0.35);
}

/* 15c. Pages légales ------------------------------------------------------ */
/* Une seule colonne, 700 px au maximum : du texte, rien d'autre. */

.page-legal {
  max-width: 700px;
}

.page-legal h1 {
  font-size: clamp(28px, 3.4vw, 46px);
}

.page-legal h2 {
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: clamp(34px, 4.5vw, 48px);
}

.page-legal p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.page-legal__maj {
  margin-top: 18px;
  font-size: 14.5px;
}

.page-legal a {
  color: var(--accent);
  border-bottom: 1px solid rgba(201, 139, 114, 0.35);
  /* Les adresses e-mail et les URL ne doivent pas déborder à 360 px. */
  overflow-wrap: anywhere;
}

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

.site-footer {
  background: var(--ink);
  color: var(--bg);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px 40px;
  padding-block: clamp(40px, 6vw, 80px) 36px;
}

.site-footer__logo {
  height: 32px;
  width: auto;
  margin-bottom: 18px;
}

.site-footer__blurb {
  color: rgba(250, 248, 245, 0.55);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 30ch;
}

.site-footer nav ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14.5px;
}

.site-footer a {
  color: rgba(250, 248, 245, 0.7);
}

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

.site-footer__label {
  color: rgba(250, 248, 245, 0.5);
}

.site-footer__address {
  color: rgba(250, 248, 245, 0.7);
  font-size: 14.5px;
  line-height: 1.6;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 28px;
  padding-block: 24px 40px;
  border-top: 1px solid rgba(250, 248, 245, 0.12);
}

.site-footer__legal {
  margin: 0;
  color: rgba(250, 248, 245, 0.4);
  font-size: 13px;
}

/* Liens légaux : en ligne, contrairement aux colonnes de navigation. */
.site-footer__legal-nav ul {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13px;
}

/* 17. Lightbox ------------------------------------------------------------ */

.lightbox {
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(20, 17, 15, 0.94);
}

.lightbox[open] {
  display: flex;
  align-items: center;
}

.lightbox::backdrop {
  background: rgba(20, 17, 15, 0.94);
}

.lightbox__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  width: 100%;
  max-width: 1500px;
  margin: auto;
  padding: clamp(56px, 4vw, 44px) clamp(12px, 3vw, 44px) clamp(16px, 3vw, 44px);
}

.lightbox__grid img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 6px;
  background: var(--ink);
}

.lightbox__close {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(250, 248, 245, 0.3);
  background: rgba(20, 17, 15, 0.6);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* 18. Animations & préférences de mouvement ------------------------------- */

/* Apparition au défilement.

   L'état masqué n'existe que sous la classe `js`, posée sur <html> par le
   script en ligne du <head> : sans JavaScript, la feuille de style ne cache
   jamais rien. Seuls `opacity` et `transform` bougent — aucun décalage de
   mise en page. Le décalage de 80 ms entre voisins d'une même grille est
   posé par script.js dans `--reveal-delay`. */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Déjà dans l'écran au chargement : affiché d'emblée, sans transition. */
.js .reveal.reveal--immediate {
  transition: 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;
  }

  /* Diaporamas figés sur la première image plutôt qu'en fondu permanent. */
  .slideshow img {
    animation: none !important;
    opacity: 0;
  }

  .slideshow img:first-child {
    opacity: 1;
  }

  /* Apparitions désactivées : les blocs sont là, sans mouvement. */
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
