/* ============================================================
   La Cage aux Oiseaux — thème « pierre de taille »
   ============================================================ */

:root {
  --pierre-50:  #faf7f1;
  --pierre-100: #f4efe5;
  --pierre-200: #eae1d0;
  --pierre-300: #d9cbb2;
  --pierre-400: #c3ae8c;
  --noyer:      #3c3125;
  --noyer-60:   #6e6151;
  --noyer-40:   #948876;
  --tuile:      #a85f3f;
  --tuile-fonce:#874a30;
  --bleu:       #7fa8c4;
  --bleu-fonce: #46718f;
  --blanc:      #fffdf8;
  --ligne:      #e3d9c6;
  --ombre: 0 18px 40px -18px rgba(60, 49, 37, .28);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--noyer);
  background-color: var(--pierre-100);
  /* grain de pierre très léger */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.24 0 0 0 0 0.19 0 0 0 0 0.14 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: var(--tuile-fonce); }
a:hover { color: var(--tuile); }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* ---------- Accessibilité ---------- */
.lien-passer {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--noyer);
  color: var(--blanc);
  padding: .6rem 1rem;
}
.lien-passer:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--tuile);
  outline-offset: 2px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: .8rem 1.7rem;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-plein {
  background: var(--tuile);
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(168, 95, 63, .8);
}
.btn-plein:hover { background: var(--tuile-fonce); color: #fff; }
.btn-ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  backdrop-filter: blur(2px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.btn-clair {
  background: var(--pierre-100);
  color: var(--noyer);
}
.btn-clair:hover { background: #fff; color: var(--noyer); }

/* ---------- En-tête ---------- */
.entete {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color .3s ease, box-shadow .3s ease;
}
/* Voile sombre au-dessus du hero pour la lisibilité de la nav (accueil, entête transparente) */
body[data-page="accueil"] .entete:not(.enroule)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 110px;
  background: linear-gradient(180deg, rgba(28, 23, 17, .55), rgba(28, 23, 17, 0));
  pointer-events: none;
}
.entete-interieur {
  width: min(1240px, 95%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.logo img {
  height: 52px;
  width: auto;
  transition: transform .2s ease;
}
.logo:hover img { transform: scale(1.03); }
/* Bascule de logo : version blanche sur fond sombre (hero accueil + pied de page) */
.logo .logo-blanche { display: none; }
body[data-page="accueil"] .entete:not(.enroule) .logo .logo-fonce { display: none; }
body[data-page="accueil"] .entete:not(.enroule) .logo .logo-blanche { display: block; }
.logo-pied .logo-fonce { display: none; }
.logo-pied .logo-blanche { display: block; }
.logo-texte {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: .02em;
}
/* état translucide (au-dessus du hero) */
.entete .logo-texte,
.entete .nav a { color: #fff; }
.entete.enroule {
  background: rgba(244, 239, 229, .94);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--ligne), 0 10px 30px -20px rgba(60, 49, 37, .4);
}
.entete.enroule .logo-texte,
.entete.enroule .nav a { color: var(--noyer); }
.entete.enroule .nav a.actif { color: var(--tuile-fonce); }

.nav ul {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .05em;
  padding: .4rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav a.actif { border-bottom-color: var(--tuile); }
.nav a:hover { border-bottom-color: currentColor; }

.nav-burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 23, 17, .62) 0%, rgba(28, 23, 17, .5) 45%, rgba(28, 23, 17, .72) 100%);
}
.hero-interieur {
  position: relative;
  z-index: 1;
  width: min(900px, 92%);
  margin-inline: auto;
  padding: 2.4rem 2.2rem;
  text-align: center;
  color: #fff;
  background: rgba(28, 23, 17, .5);
  border-radius: 6px;
  backdrop-filter: blur(3px);
}
.hero-surtitre {
  margin: 0 0 .8rem;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #f7f4ee;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .45);
}
.hero-titre {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 600;
  line-height: 1.12;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.hero-sous {
  margin: 1.2rem auto 0;
  max-width: 640px;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, .96);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .45);
}
.hero-boutons {
  margin-top: 2rem;
  display: flex;
  gap: .9rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Bandeau de page ---------- */
.bandeau {
  margin-top: 0;
  padding: 11.5rem 0 3.2rem;
  background-color: var(--pierre-200);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.24 0 0 0 0 0.19 0 0 0 0 0.14 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  border-bottom: 1px solid var(--ligne);
}
.bandeau .h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
}
.bandeau-sous {
  margin: .6rem 0 0;
  font-size: 1.05rem;
  color: var(--noyer-60);
  font-weight: 300;
  letter-spacing: .03em;
}

/* ---------- Sections ---------- */
.section { padding: 4.2rem 0; }
.section + .section { padding-top: 0; }
.section-tete { margin-bottom: 1.6rem; }
.h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  position: relative;
  padding-bottom: .8rem;
}
.h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  background: var(--tuile);
}
.section-sous {
  margin: .55rem 0 0;
  color: var(--noyer-60);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .04em;
}
.section-corps p {
  margin: 0 0 1rem;
  max-width: 72ch;
}
.section-corps p:last-child { margin-bottom: 0; }
.section-corps strong { font-weight: 600; }

/* sections avec image, alternance gauche / droite */
.section-media .section-grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.8rem;
  align-items: center;
}
.section-media .section-tete { margin-bottom: 1.1rem; }
.section-figures {
  display: grid;
  gap: 1.2rem;
  align-content: center;
}
.section-figure { margin: 0; }
.section-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(60, 49, 37, .18);
}

/* diaporama des sections multi-images */
.diaporama { position: relative; }
.diapo-slide { margin: 0; }
.diapo-slide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(60, 49, 37, .18);
}
.diapo-ponts, .diapo-pause { display: none; }

/* mode diaporama, activé par le JS une fois les hauteurs calculées */
.diaporama.prete {
  display: block;
  gap: 0;
}
.diaporama.prete .diapo-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .6s ease;
}
.diaporama.prete .diapo-slide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
.diaporama.prete .diapo-slide.actif { opacity: 1; }

.diaporama.prete .diapo-ponts {
  display: flex;
  gap: .5rem;
  position: absolute;
  left: 50%;
  bottom: .8rem;
  transform: translateX(-50%);
  z-index: 2;
}
.diapo-point {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
}
.diapo-point:hover { background: rgba(255, 255, 255, .85); }
.diapo-point.actif { background: #fff; }

.diaporama.prete .diapo-pause {
  display: block;
  position: absolute;
  top: .7rem;
  right: .7rem;
  z-index: 2;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(28, 23, 17, .55);
  cursor: pointer;
}
.diapo-pause::before,
.diapo-pause::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 11px;
  background: #fff;
}
.diapo-pause::before { left: 10.5px; }
.diapo-pause::after { right: 10.5px; }
.diapo-pause.pause::after { display: none; }
.diapo-pause.pause::before {
  left: 12px;
  width: 0;
  height: 0;
  background: transparent;
  border-left: 9px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

@media (prefers-reduced-motion: reduce) {
  .diaporama.prete .diapo-slide { transition: none; }
  .diaporama.prete .diapo-pause { display: none; }
}

/* listes à puces de pierre */
.liste-points, .liste-espaces, .liste-equipements {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  max-width: 72ch;
}
.liste-points li, .liste-espaces li, .liste-equipements li {
  position: relative;
  padding: .35rem 0 .35rem 1.6rem;
}
.liste-points li::before, .liste-espaces li::before, .liste-equipements li::before {
  content: "";
  position: absolute;
  left: .2rem;
  top: .95em;
  width: 9px;
  height: 9px;
  background: var(--tuile);
  transform: rotate(45deg);
}

/* chiffres clés */
.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ligne);
  border: 1px solid var(--ligne);
}
.stats li {
  background: var(--blanc);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.stats-nombre {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--tuile-fonce);
}
.stats-libelle {
  font-size: .92rem;
  color: var(--noyer-60);
  line-height: 1.45;
}

/* ---------- Galerie (masonry) ---------- */
.galerie {
  columns: 3;
  column-gap: 1.1rem;
}
.galerie-item {
  margin: 0 0 1.1rem;
  break-inside: avoid;
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 6px 18px -14px rgba(60, 49, 37, .5);
  transition: box-shadow .25s ease, transform .25s ease;
}
.galerie-item:hover {
  box-shadow: var(--ombre);
  transform: translateY(-3px);
}
.galerie-cliquer {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
}
.galerie-cliquer img {
  width: 100%;
  transition: transform .5s ease;
}
.galerie-cliquer:hover img { transform: scale(1.04); }
.galerie-item figcaption {
  padding: .65rem .9rem;
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--noyer-60);
  border-top: 1px solid var(--ligne);
  background: var(--pierre-50);
}
.section-voirplus { margin-top: 1.4rem; }
.section-voirplus a {
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  border-bottom: 1px solid var(--tuile);
  padding-bottom: 2px;
}

/* ---------- CTA ---------- */
.cta {
  padding: 4.5rem 0;
  background-color: var(--noyer);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.8 0 0 0 0 0.72 0 0 0 0 0.6 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--pierre-100);
  text-align: center;
}
.cta-titre {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}
.cta p {
  margin: .9rem auto 1.8rem;
  max-width: 56ch;
  color: rgba(244, 239, 229, .85);
  font-weight: 300;
}

/* ---------- Contact ---------- */
.contact-grille {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.formulaire { margin-top: 1.5rem; }
.formulaire-ligne {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.champ { margin-bottom: 1.1rem; }
.champ label {
  display: block;
  margin-bottom: .4rem;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--noyer-60);
}
.champ input, .champ textarea {
  width: 100%;
  padding: .75rem .9rem;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--noyer);
  background: var(--blanc);
  border: 1px solid var(--pierre-300);
  border-radius: 3px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.champ input:focus, .champ textarea:focus {
  outline: none;
  border-color: var(--tuile);
  box-shadow: 0 0 0 3px rgba(168, 95, 63, .15);
}
.champ-notice {
  font-size: .82rem;
  color: var(--noyer-40);
  margin: 0 0 1.2rem;
}
.formulaire-reussi {
  margin: 0 0 1.2rem;
  padding: .9rem 1.1rem;
  background: #eef4ec;
  border: 1px solid #b9cfb2;
  border-left: 4px solid #5c8a4e;
  color: #33552b;
  border-radius: 3px;
}

.carte-contact {
  background: var(--noyer);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.8 0 0 0 0 0.72 0 0 0 0 0.6 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--pierre-100);
  border-radius: 4px;
  padding: 1.8rem 1.6rem;
  box-shadow: var(--ombre);
}
.carte-contact h3 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
}
.carte-contact p { margin: 0 0 .7rem; }
.carte-contact a { color: var(--bleu); }
.carte-contact a:hover { color: #a9c9de; }
.carte-nom { font-weight: 500; }
.carte-contact dl {
  margin: 1.2rem 0 0;
  border-top: 1px solid rgba(244, 239, 229, .25);
  padding-top: 1rem;
}
.carte-contact dt {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(244, 239, 229, .6);
  margin-top: .8rem;
}
.carte-contact dt:first-child { margin-top: 0; }
.carte-contact dd { margin: .2rem 0 0; font-weight: 400; }
.carte-contact .liste-modalites {
  list-style: none;
  margin: .3rem 0 0;
  padding: 0;
}
.carte-contact .liste-modalites li {
  position: relative;
  padding: .3rem 0 .3rem 1.4rem;
}
.carte-contact .liste-modalites li::before {
  content: "";
  position: absolute;
  left: .1rem;
  top: .85em;
  width: 7px;
  height: 7px;
  background: #a9c9de;
  transform: rotate(45deg);
}
.carte-contact .liste-modalites li strong { font-weight: 600; }

/* ---------- Pied de page ---------- */
.pied {
  background: #2c241c;
  color: rgba(244, 239, 229, .78);
  font-size: .93rem;
}
.pied-interieur {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3rem 0 2.2rem;
}
.pied h3 {
  margin: 0 0 .9rem;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(244, 239, 229, .55);
}
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied ul li { margin: .35rem 0; }
.pied a { color: rgba(244, 239, 229, .85); text-decoration: none; }
.pied a:hover { color: #fff; }
.pied-marque p { margin: 1rem 0 0; max-width: 36ch; font-weight: 300; }
.logo-pied img { height: 56px; opacity: .9; }
.pied-bas {
  border-top: 1px solid rgba(244, 239, 229, .15);
  padding: 1rem 0;
  text-align: center;
  font-size: .82rem;
  color: rgba(244, 239, 229, .62);
}
.pied-bas p { margin: 0; }
.pied-legal { margin-top: .35rem; }
.pied-legal a { color: rgba(244, 239, 229, .62); }
.pied-legal a:hover { color: #fff; }
.pied-legal span { margin: 0 .5rem; opacity: .5; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 20, 15, .92);
  padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox figure {
  margin: 0;
  max-width: min(1100px, 92vw);
  text-align: center;
}
.lightbox img {
  max-height: 80vh;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  border-radius: 3px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
}
.lightbox figcaption {
  margin-top: .8rem;
  color: rgba(244, 239, 229, .8);
  font-size: .95rem;
}
.lightbox-fermer, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}
.lightbox-fermer { top: 1rem; right: 1.2rem; font-size: 2.6rem; line-height: 1; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); font-size: 3.2rem; line-height: 1; padding: 1rem; }
.lightbox-prev { left: .4rem; }
.lightbox-next { right: .4rem; }
.lightbox-fermer:hover, .lightbox-prev:hover, .lightbox-next:hover { opacity: .7; transform: scale(1.1) translateY(0); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.1); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.1); }

/* ---------- 404 ---------- */
.page-404 { padding: 12rem 0 6rem; text-align: center; }
.page-404 .btn { margin-top: 1.5rem; }

/* ---------- Animations d'apparition ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .galerie { columns: 2; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav ul {
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(244, 239, 229, .98);
    border: 1px solid var(--ligne);
    border-radius: 4px;
    box-shadow: var(--ombre);
    min-width: 230px;
    display: none;
  }
  .nav.ouvert ul { display: flex; }
  .nav ul li { margin: 0; }
  .nav ul a {
    display: block;
    padding: .8rem 1.2rem;
    border-bottom: 1px solid var(--ligne);
    color: var(--noyer) !important;
  }
  .nav ul li:last-child a { border-bottom: 0; }
  .nav-burger {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: .5rem;
    cursor: pointer;
  }
  .nav-burger span {
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform .25s ease, opacity .25s ease;
  }
  .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .contact-grille { grid-template-columns: 1fr; }
  .pied-interieur { grid-template-columns: 1fr; gap: 1.8rem; }
  .section-media .section-grille { grid-template-columns: 1fr; gap: 1.4rem; }
  .section-media .section-figures { order: -1; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .formulaire-ligne { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
  .hero-titre { font-size: 2.1rem; }
  .section { padding: 3rem 0; }
  .bandeau { padding: 9rem 0 2.4rem; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
