/* ============================================================
   AGÉO Construction — style.css
   Mobile-first | WCAG AA | Production
   ============================================================ */

/* === 1. CUSTOM PROPERTIES === */
:root {
  --navy:        #0033a0;
  --navy-dark:   #00257a;
  --navy-deep:   #001440;
  --orange:      #ef6b00;
  --orange-dk:   #d05e00;
  --ink:         #0033a0;
  --white:       #ffffff;
  --steel:       #6b7280;
  --border:      #e5e7ef;
  --surface:     #f8f9fc;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;

  --section-py:  clamp(4rem, 8vw, 7rem);
  --container:   1280px;

  --shadow-sm:   0 1px 4px rgba(0, 51, 160, 0.06);
  --shadow-md:   0 4px 20px rgba(0, 51, 160, 0.10);
  --shadow-lg:   0 12px 48px rgba(0, 51, 160, 0.16);
  --radius:      6px;
  --radius-lg:   10px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* === 3. TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 6vw, 5.5rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3.4rem); font-weight: 700; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); font-weight: 700; }

p {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.75;
  color: var(--steel);
}

/* === 4. LAYOUT UTILITIES === */
.container {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section {
  padding-block: var(--section-py);
}

.section__header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.section__title { color: var(--ink); }

.section__intro {
  max-width: 65ch;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  margin-top: 1rem;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--transition), transform 0.65s var(--transition);
}
.reveal.is-visible       { opacity: 1; transform: translateY(0); }
.reveal-delay-1          { transition-delay: 0.1s; }
.reveal-delay-2          { transition-delay: 0.2s; }
.reveal-delay-3          { transition-delay: 0.3s; }
.reveal-delay-4          { transition-delay: 0.4s; }

/* === 5. COMPONENTS === */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(239, 107, 0, 0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn--outline-navy:hover,
.btn--outline-navy:focus-visible {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Arrow link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
  transition: gap var(--transition);
}
.link-arrow::after {
  content: '→';
  transition: transform var(--transition);
}
.link-arrow:hover::after { transform: translateX(5px); }

/* Target badge */
.target-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  background: rgba(239, 107, 0, 0.00);
  border: 1px solid rgba(239, 107, 0, 1);
  border-radius: 2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.02em;
}

/* Image placeholder */
.img-ph {
  position: relative;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(0, 51, 160, 0.03) 10px,
      rgba(0, 51, 160, 0.03) 11px
    ),
    var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 2rem;
}
.img-ph__icon {
  width: 36px;
  height: 36px;
  color: #b0b8cc;
}
.img-ph__label {
  font-size: 0.68rem;
  font-family: monospace;
  color: #9aa0af;
  text-align: center;
  line-height: 1.5;
}

/* === 6. HEADER & NAV === */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 16px rgba(0, 51, 160, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 2rem;
}

.nav__logo img {
  height: 44px;
  width: auto;
}

.nav__menu {
  display: none;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
}

.nav__menu a {
  display: inline-block;
  padding: 0.5rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav__menu a:hover { color: var(--navy); background: var(--surface); }
.nav__menu a[aria-current="page"] { color: var(--navy); font-weight: 600; }

.nav__cta.nav__cta {
  background: var(--orange);
  color: var(--white);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  margin-left: 0.5rem;
}
.nav__cta:hover { background: var(--orange-dk); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(239,107,0,0.3); }

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.nav__hamburger:hover { background: var(--surface); }
.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}
.nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav__drawer {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--white);
  z-index: 99;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
}
.nav__drawer.is-open { display: flex; }
.nav__drawer a {
  display: block;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), color var(--transition);
}
.nav__drawer a:last-child { border-bottom: none; }
.nav__drawer a:hover { background: var(--surface); color: var(--navy); }
.nav__drawer .nav__cta {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  border: none;
  margin-top: 1rem;
  font-weight: 600;
}
.nav__drawer .nav__cta:hover { background: var(--orange-dk); }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* === 7. HERO === */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    url('../assets/images/hero-chantier-paca.webp') center / cover no-repeat;
}

/* Barre orange gauche — signature de marque */
.hero::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 8px; height: 100%;
  background: var(--orange);
}



.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(3.5rem, 9vw, 6rem);
  padding-left: clamp(2.5rem, 7vw, 5rem);
}

.hero__content { max-width: 820px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.1s forwards;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 2rem; height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}
.hero__eyebrow span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.25s forwards;
}
.hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem) !important;
  color: rgba(255,255,255,0.72) !important;
  max-width: 58ch;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.4s forwards;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.55s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  animation: fadeIn 1s 1.3s forwards;
  color: rgba(255,255,255,0.35);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  animation: scrollPulse 2s 1.8s infinite;
}

/* === 8. KPI BAND === */
.kpi-band {
  background: var(--navy);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.kpi-band__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.kpi-item {
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.kpi-item:nth-child(2n)  { border-right: none; }
.kpi-item:nth-child(3),
.kpi-item:nth-child(4)   { border-bottom: none; }

.kpi-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.kpi-label {
  font-size: clamp(0.78rem, 1.3vw, 0.88rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.45;
}

/* === 9. SERVICES PREVIEW === */
.services-grid__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card__img { width: 100%; }

.service-card__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card h3 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  flex: 1;
}
.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

/* === 10. IDENTITÉ === */
.identity__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.identity__text p { margin-bottom: 1.25rem; }

.identity__map {
  /* Cadre supprimé — image SVG map.svg affichée sans bordure */
}

/* === 11. POURQUOI AGÉO === */
.why { border-top: 1px solid var(--border); }

.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.why-card { display: flex; flex-direction: column; gap: 1rem; }

/* Numéro devant le titre : même taille que h3, orange */
.why-card__number {
  font-family: var(--font-display);
  font-size: inherit;   /* hérite de h3 */
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  flex-shrink: 0;
}

/* Icône — fond transparent, pas d'encadré, centrée */
.why-card__icon {
  width: 108px;
  height: 108px;
  background: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-bottom: 0.5rem;
}
.why-card__icon svg,
.why-card__icon img {
  width: 108px;
  height: 108px;
  stroke: var(--navy);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  object-fit: contain;
}

/* Titre avec numéro inline */
.why-card h3 {
  color: var(--navy);
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}
.why-card p  { font-size: 0.9rem; }

/* === 12. CERTIFICATIONS === */
.certs { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.certs__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 0.875rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-align: center;
  cursor: default;
}
.cert-badge:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.cert-badge__code {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}
.cert-badge__name {
  font-size: 0.68rem;
  color: var(--steel);
  margin-top: 0.25rem;
  line-height: 1.3;
}

.cert-badge--featured { border-color: rgba(239,107,0,0.4); background: rgba(239,107,0,0.04); }
.cert-badge--featured .cert-badge__code { color: var(--orange); }
.cert-badge--featured:hover { border-color: var(--orange); }

/* Badge avec logo image (ex. RGE) */
.cert-badge--logo {
  min-width: 130px;
  padding: 0.75rem 1.25rem;
}
.cert-badge--logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.certs__bdf {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: rgba(0,51,160,0.04);
  border: 1px solid rgba(0,51,160,0.15);
  border-radius: var(--radius-lg);
}
.certs__bdf strong { color: var(--navy); font-weight: 700; font-size: 0.95rem; }
.certs__bdf p { margin: 0; font-size: 0.8rem; }

/* === 13. GALLERY === */
.gallery { border-top: 1px solid var(--border); }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,20,64,0.82) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item:focus-within .gallery-item__overlay { opacity: 1; }

.gallery-item__caption {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.82);
  font-style: italic;
}

.gallery__cta { text-align: center; margin-top: 2.5rem; }

/* === 14. CONTACT BANNER === */
.cta-band {
  background: var(--navy);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}

/* Mot décoratif en filigrane */
.cta-band::before {
  content: 'CONTACT';
  position: absolute;
  right: -1rem;
  bottom: -1.5rem;
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 18rem);
  font-weight: 800;
  color: rgba(255,255,255,0.022);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.cta-band__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cta-band__contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition);
}
.cta-band__contact:hover { color: var(--orange); }
.cta-band__contact svg {
  width: 20px; height: 20px;
  stroke: var(--orange);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* === 15. FOOTER === */
#footer {
  background: var(--ink);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.footer__logo { display: inline-block; margin-bottom: 1rem; }
.footer__logo img { height: 46px; width: auto; }

.footer__tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  max-width: 30ch;
  line-height: 1.65;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }

.footer__contact-item {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.5rem;
  font-style: normal;
  line-height: 1.6;
}
.footer__contact-item a { transition: color var(--transition); }
.footer__contact-item a:hover { color: var(--orange); }

.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
}
.footer__bottom a { transition: color var(--transition); }
.footer__bottom a:hover { color: rgba(255,255,255,0.6); }
.footer__bottom-links { display: flex; gap: 1.5rem; }

/* === 16. ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* === 17. RESPONSIVE === */

/* 480px : galerie 2 colonnes depuis mobile large */
@media (min-width: 480px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

/* 768px : tablette */
@media (min-width: 768px) {
  .nav__menu     { display: flex; }
  .nav__hamburger { display: none; }

  .kpi-band__grid { grid-template-columns: repeat(4, 1fr); }
  .kpi-item        { border-bottom: none; }
  .kpi-item:nth-child(4)   { border-right: none; }
  .kpi-item:nth-child(2n)  { border-right: 1px solid rgba(255,255,255,0.1); }

  .services-grid__grid { grid-template-columns: repeat(2, 1fr); }

  .why__grid { grid-template-columns: repeat(2, 1fr); }

  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* 1024px : desktop */
@media (min-width: 1024px) {
  .services-grid__grid { grid-template-columns: repeat(3, 1fr); }

  .identity__grid { grid-template-columns: 1fr 1fr; }

  .why__grid { grid-template-columns: repeat(3, 1fr); }

  .cta-band__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }
  .cta-band h2 { max-width: 48%; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

/* 1280px : large desktop */
@media (min-width: 1280px) {
  .hero__content { max-width: 860px; }
}

/* === 18. ACCESSIBILITÉ === */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero h1, .hero__sub, .hero__ctas, .hero__eyebrow, .hero__scroll {
    opacity: 1;
    animation: none;
  }
}

/* Overrides Leaflet */
.leaflet-container { font-family: var(--font-body) !important; }
.leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-md) !important;
}
