/* ============================================================
   A.BUILD CI — Corporate Premium Stylesheet
   Palette : Bleu nuit #0E1A2B · Bleu nuit 2 #16283E · Blanc #FFFFFF
             Gris clair #F5F5F5 · Gris bleute #9DAABB · Or #DFC981
   ============================================================ */

:root {
  --black: #0E1A2B;
  --black-2: #16283E;
  --white: #FFFFFF;
  --grey-light: #F5F5F5;
  --grey-mid: #9DAABB;
  --accent: #DFC981;
  --accent-deep: #816F31;   /* or profond : icones sur fond clair (contraste AA) */
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-soft: 0 10px 40px rgba(14, 26, 43, .08);
  --shadow-hover: 0 24px 60px rgba(14, 26, 43, .16);
  --radius: 10px;
  --container: 1240px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--accent); color: var(--black); }

/* ---------- Utilitaires ---------- */
.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}
.section { padding: clamp(72px, 9vw, 130px) 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--accent);
}
.kicker--light { color: var(--white); }
.kicker--center { justify-content: center; }

.section-title {
  color: var(--accent-deep);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.section-lead {
  color: #555;
  max-width: 640px;
  margin-top: 18px;
  font-size: 1.05rem;
}
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 34px;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: all .45s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn svg { width: 16px; height: 16px; transition: transform .45s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(5px); }

.btn--primary { background: var(--accent); color: var(--black); }
.btn--primary:hover { background: var(--white); color: var(--black); box-shadow: 0 14px 34px rgba(223, 201, 129, .25); }

.btn--outline { background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, .55); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--accent); color: var(--black); }

/* ---------- Animations reveal (uniquement si JS actif) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), padding .5s var(--ease);
  padding: 18px 0;
}
.header.is-scrolled {
  background: rgba(14, 26, 43, .96);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
  padding: 10px 0;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; }
.brand img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header .btn { padding: 12px 24px; font-size: .78rem; }

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 110;
}
.burger span {
  width: 28px; height: 2px;
  background: var(--white);
  transition: transform .4s var(--ease), opacity .3s;
}
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO — Slider plein écran
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: var(--black);
}
/*  NOTE VIDÉO : pour passer à une vidéo de fond, remplacer .hero__slides
    par <video class="hero__video" autoplay muted loop playsinline poster="...">
    — les classes overlay/contenu restent identiques. */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease;
  pointer-events: none;
}
.hero__slide.is-active { opacity: 1; pointer-events: auto; }
.hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1);
}
.hero__slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(14, 26, 43, .82) 0%, rgba(14, 26, 43, .55) 45%, rgba(14, 26, 43, .28) 100%);
  z-index: 2;
}
.hero__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Réserve la place du header fixe (haut) et des indicateurs (bas)
     pour que le contenu centré ne chevauche jamais ni le logo ni les dots. */
  padding-top: 106px;
  padding-bottom: 100px;
}
.hero__caption { max-width: 780px; }
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero__kicker::before { content: ""; width: 48px; height: 2px; background: var(--accent); flex: none; }
.hero__title {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin-bottom: 20px;
}
.hero__title em { font-style: normal; color: var(--accent); }
.hero__subtitle {
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  max-width: 560px;
  margin-bottom: 32px;
  font-weight: 500;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 18px; }

/* Animation d'entrée du contenu de slide */
.hero__caption > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.hero__slide.is-active ~ .hero__content .hero__caption > *,
.hero__content.is-in .hero__caption > * { opacity: 1; transform: none; }
.hero__caption > *:nth-child(1) { transition-delay: .25s; }
.hero__caption > *:nth-child(2) { transition-delay: .4s; }
.hero__caption > *:nth-child(3) { transition-delay: .55s; }
.hero__caption > *:nth-child(4) { transition-delay: .7s; }
.hero__content.is-out .hero__caption > * { opacity: 0; transform: translateY(18px); transition-duration: .45s; transition-delay: 0s; }

/* Indicateurs + navigation */
.hero__ui {
  position: absolute;
  z-index: 4;
  bottom: 44px;
  left: 0; right: 0;
}
.hero__ui-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hero__dots { display: flex; gap: 12px; }
.hero__dot {
  width: 44px; height: 3px;
  background: rgba(255, 255, 255, .3);
  position: relative;
  overflow: hidden;
  transition: background .3s;
}
.hero__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.hero__dot.is-active::after { animation: dotfill var(--slide-duration, 7s) linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }

.hero__arrows { display: flex; gap: 12px; }
.hero__arrow {
  width: 52px; height: 52px;
  border: 1px solid rgba(255, 255, 255, .35);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: all .4s var(--ease);
}
.hero__arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--black); }
.hero__arrow svg { width: 18px; height: 18px; }

.hero__scroll {
  position: absolute;
  z-index: 4;
  right: 4%;
  bottom: 130px;
  color: rgba(255, 255, 255, .6);
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollpulse 2.2s ease-in-out infinite;
}
@keyframes scrollpulse {
  0%, 100% { transform: scaleY(.4); transform-origin: top; opacity: .4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============================================================
   SECTION 2 — Qui sommes-nous
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about__body p { color: #555; margin-bottom: 18px; font-size: 1.02rem; }
.about__body p strong { color: var(--black); }
.about__points { margin: 26px 0 34px; display: grid; gap: 12px; }
.about__points li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: .95rem;
}
.about__points svg { width: 20px; height: 20px; color: var(--accent); flex: none; }

.about__media { position: relative; }
.about__media::before {
  content: "";
  position: absolute;
  inset: 28px -28px -28px 28px;
  border: 2px solid var(--accent);
  z-index: 0;
}
.about__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(380px, 46vw, 560px);
  object-fit: cover;
  box-shadow: var(--shadow-hover);
}
.about__badge {
  position: absolute;
  z-index: 2;
  left: -34px;
  bottom: 42px;
  background: var(--black);
  color: var(--white);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-hover);
}
.about__badge strong { font-size: 2.4rem; font-weight: 800; color: var(--accent); line-height: 1; }
.about__badge span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-mid); max-width: 120px; line-height: 1.4; }

/* Compteurs */
.stats {
  margin-top: clamp(60px, 8vw, 100px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #e8e8e8;
}
.stat {
  padding: 40px 28px 8px;
  border-left: 1px solid #e8e8e8;
}
.stat:first-child { border-left: none; }
.stat__num {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  display: flex;
  align-items: baseline;
}
.stat__num sup { font-size: .5em; color: var(--accent); font-weight: 800; margin-left: 2px; }
.stat__label { margin-top: 10px; color: #777; font-size: .88rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* ============================================================
   SECTION 3 — Nos métiers
   ============================================================ */
.metiers { background: var(--grey-light); }
.metiers__grid {
  margin-top: clamp(44px, 5vw, 70px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.metier {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 36px 40px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.metier::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 3px; width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.metier:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.metier:hover::after { transform: scaleX(1); }
.metier__icon {
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--accent);
  border-radius: 8px;
  margin-bottom: 26px;
  transition: background .4s var(--ease), color .4s var(--ease), transform .5s var(--ease);
}
.metier:hover .metier__icon { background: var(--accent); color: var(--black); transform: rotate(-6deg) scale(1.05); }
.metier__icon svg { width: 30px; height: 30px; }
.metier h3 { font-size: 1.22rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -.01em; }
.metier p { color: #666; font-size: .93rem; }

/* ============================================================
   SECTION 4 — Pourquoi nous choisir
   ============================================================ */
.why__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(44px, 6vw, 90px);
  align-items: start;
}
.why__intro { position: sticky; top: 120px; }
.why__intro p { color: #555; margin-top: 18px; max-width: 440px; }
.why__intro .btn { margin-top: 32px; }
.why__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 34px;
}
.why-item { display: flex; flex-direction: column; gap: 14px; }
.why-item__icon {
  width: 54px; height: 54px;
  border: 1.5px solid #e4e4e4;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--black);
  transition: all .4s var(--ease);
}
.why-item:hover .why-item__icon { background: var(--black); color: var(--accent); border-color: var(--black); transform: translateY(-4px); }
.why-item__icon svg { width: 24px; height: 24px; }
.why-item h3 { font-size: 1.05rem; font-weight: 800; }
.why-item p { color: #666; font-size: .92rem; }

/* ============================================================
   SECTION 5 — Nos réalisations (masonry + lightbox)
   ============================================================ */
.gallery { background: var(--black); }
.gallery .section-title, .gallery .kicker { color: var(--white); }
.gallery .section-lead { color: var(--grey-mid); }
.gallery__masonry {
  margin-top: clamp(44px, 5vw, 70px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  grid-auto-rows: 10px; /* unité de calage : la hauteur de chaque vignette est calculée en JS (span) */
  grid-auto-flow: dense;
}
.gallery__item {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  padding: 0;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter .6s;
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 26, 43, .85) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }
.gallery__meta {
  position: absolute;
  z-index: 2;
  left: 24px; right: 24px; bottom: 20px;
  color: var(--white);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease) .05s, transform .5s var(--ease) .05s;
}
.gallery__item:hover .gallery__meta { opacity: 1; transform: none; }
.gallery__meta h3 { font-size: 1.05rem; font-weight: 800; }
.gallery__meta span { font-size: .8rem; color: var(--accent); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.gallery__plus {
  position: absolute;
  z-index: 2;
  top: 18px; right: 18px;
  width: 40px; height: 40px;
  background: var(--accent);
  color: var(--black);
  display: grid;
  place-items: center;
  border-radius: 50%;
  opacity: 0;
  transform: scale(.6);
  transition: all .45s var(--ease);
}
.gallery__item:hover .gallery__plus { opacity: 1; transform: scale(1); }
.gallery__plus svg { width: 16px; height: 16px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 8, 8, .94);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__inner {
  width: min(1000px, 92vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  transform: translateY(26px) scale(.98);
  transition: transform .5s var(--ease);
}
.lightbox.is-open .lightbox__inner { transform: none; }
.lightbox__inner img {
  width: 100%;
  max-height: 66vh;
  object-fit: contain;
  background: var(--black-2);
}
.lightbox__caption {
  background: var(--black-2);
  border-top: 2px solid var(--accent);
  color: var(--white);
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.lightbox__caption h3 { font-size: 1.2rem; font-weight: 800; }
.lightbox__caption p { color: var(--grey-mid); font-size: .92rem; margin-top: 6px; max-width: 560px; }
.lightbox__tags { display: flex; gap: 10px; flex-wrap: wrap; }
.lightbox__tags span {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(223, 201, 129, .4);
  padding: 6px 12px;
  white-space: nowrap;
}
.lightbox__close {
  position: absolute;
  top: 26px; right: 30px;
  width: 52px; height: 52px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .3);
  display: grid;
  place-items: center;
  transition: all .35s var(--ease);
}
.lightbox__close:hover { background: var(--accent); color: var(--black); border-color: var(--accent); transform: rotate(90deg); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .3);
  display: grid;
  place-items: center;
  transition: all .35s var(--ease);
}
.lightbox__nav:hover { background: var(--accent); color: var(--black); border-color: var(--accent); }
.lightbox__nav--prev { left: 28px; }
.lightbox__nav--next { right: 28px; }
.lightbox__nav svg, .lightbox__close svg { width: 18px; height: 18px; }

/* ============================================================
   SECTION 6 — Notre méthode (timeline horizontale)
   ============================================================ */
.method { background: var(--grey-light); overflow: hidden; }
.method__track {
  margin-top: clamp(56px, 7vw, 90px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  gap: 18px;
}
.method__track::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 6%; right: 6%;
  height: 2px;
  background: #e0e0e0;
}
.method__track::after {
  content: "";
  position: absolute;
  top: 27px;
  left: 6%;
  width: 88%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  transition: transform 2.2s var(--ease) .3s;
}
.step { text-align: center; position: relative; z-index: 1; }
.step__dot {
  width: 56px; height: 56px;
  margin: 0 auto 22px;
  background: var(--white);
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .95rem;
  transition: all .5s var(--ease);
  transition-delay: var(--d, 0s);
}
.step.is-visible .step__dot,
.method__track.is-visible .step__dot {
  background: var(--black);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 8px rgba(223, 201, 129, .12);
}
.step h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: .85rem; color: #666; max-width: 200px; margin-inline: auto; }

/* ============================================================
   SECTION 7 — Quelques projets
   ============================================================ */
.projects__grid {
  margin-top: clamp(44px, 5vw, 70px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.project:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.project__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.project__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.project:hover .project__media img { transform: scale(1.07); }
.project__city {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--black);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.project__city::before { content: ""; width: 6px; height: 6px; background: var(--accent); }
.project__body { padding: 30px 30px 34px; display: flex; flex-direction: column; flex: 1; }
.project__body h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -.01em; }
.project__body p { color: #666; font-size: .93rem; margin-bottom: 24px; flex: 1; }
.project__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--black);
  transition: color .35s;
}
.project__link svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.project__link:hover { color: var(--accent); }
.project__link:hover svg { transform: translateX(6px); }

/* ============================================================
   SECTION 8 — Bande noire chiffres
   ============================================================ */
.band {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.band__bg {
  position: absolute;
  inset: -20px;
  background-position: center;
  background-size: cover;
  filter: blur(6px) brightness(.32);
  transform: translateY(var(--parallax, 0));
  will-change: transform;
}
.band__inner { position: relative; z-index: 2; }
.band__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(44px, 5vw, 70px);
}
.band__head .section-title { color: var(--white); }
.band__head p { color: var(--grey-mid); max-width: 420px; }
.band__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.band__stat { padding: 36px 26px 0; border-left: 1px solid rgba(255, 255, 255, .14); }
.band__stat:first-child { border-left: none; }
.band__stat .stat__num { color: var(--white); }
.band__stat .stat__label { color: var(--grey-mid); }

/* ============================================================
   SECTION 9 — CTA
   ============================================================ */
.cta { background: var(--grey-light); }
.cta__box {
  background: var(--black);
  color: var(--white);
  padding: clamp(56px, 7vw, 96px) clamp(28px, 6vw, 90px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.cta__box::before {
  content: "";
  position: absolute;
  top: -70px; right: -70px;
  width: 260px; height: 260px;
  border: 2px solid rgba(223, 201, 129, .35);
  transform: rotate(45deg);
}
.cta__box::after {
  content: "";
  position: absolute;
  bottom: -90px; right: 80px;
  width: 200px; height: 200px;
  border: 1px solid rgba(255, 255, 255, .1);
  transform: rotate(45deg);
}
.cta__box h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  max-width: 560px;
}
.cta__box h2 em { font-style: normal; color: var(--accent); }
.cta__box p { color: var(--grey-mid); margin-top: 14px; max-width: 480px; }
.cta__box .btn { position: relative; z-index: 2; flex: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--black); color: var(--grey-mid); }
.footer__main {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.1fr 1.1fr;
  gap: clamp(36px, 5vw, 70px);
  padding: clamp(64px, 8vw, 100px) 0 60px;
}
.footer h4 {
  color: var(--white);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 14px;
}
.footer h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 2px;
  background: var(--accent);
}
.footer__brand img { height: 72px; width: auto; object-fit: contain; margin-bottom: 20px; }
.footer__brand p { font-size: .92rem; max-width: 300px; margin-bottom: 24px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 42px; height: 42px;
  border: 1px solid rgba(255, 255, 255, .18);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: all .35s var(--ease);
}
.footer__social a:hover { background: var(--accent); border-color: var(--accent); color: var(--black); transform: translateY(-4px); }
.footer__social svg { width: 17px; height: 17px; }

.footer__links li { margin-bottom: 12px; }
.footer__links a {
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color .3s, transform .3s var(--ease);
}
.footer__links a::before {
  content: "";
  width: 8px; height: 2px;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.footer__links a:hover { color: var(--accent); transform: translateX(4px); }

.footer__contact li {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  font-size: .92rem;
  align-items: flex-start;
}
.footer__contact svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.footer__contact a:hover { color: var(--accent); }

.footer__news p { font-size: .92rem; margin-bottom: 18px; }
.footer__form { display: flex; border: 1px solid rgba(255, 255, 255, .18); }
.footer__form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  padding: 14px 16px;
  font-family: inherit;
  font-size: .9rem;
}
.footer__form input::placeholder { color: #777; }
.footer__form button {
  background: var(--accent);
  color: var(--black);
  padding: 0 20px;
  display: grid;
  place-items: center;
  transition: background .3s;
}
.footer__form button:hover { background: var(--white); }
.footer__form svg { width: 18px; height: 18px; }
.footer__form-msg { font-size: .82rem; color: var(--accent); margin-top: 10px; min-height: 1.2em; }

/* Carte de localisation (juste avant le footer) */
.map { background: var(--black); line-height: 0; }
.map iframe {
  width: 100%;
  height: 340px;
  display: block;
  border: 0;
  filter: grayscale(1) invert(.92) contrast(.9);
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 26px 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .82rem;
}
.footer__bottom a { color: var(--white); }
.footer__bottom a:hover { color: var(--accent); }

/* Retour en haut */
.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 90;
  width: 50px; height: 50px;
  background: var(--accent);
  color: var(--black);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all .45s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--black); color: var(--accent); }
.to-top svg { width: 18px; height: 18px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .metiers__grid, .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__masonry { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .method__track { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; padding-bottom: 12px; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 0;
    background: rgba(14, 26, 43, .98);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s var(--ease), visibility .45s;
    z-index: 105;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a { font-size: 1.1rem; }
  .header .btn { display: none; }
  .burger { display: flex; }

  .about__grid, .why__grid { grid-template-columns: 1fr; }
  .why__intro { position: static; }
  .about__media { margin-top: 20px; }
  .about__media::before { inset: 18px -14px -14px 18px; }
  .about__badge { left: 14px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: none; border-top: 1px solid #e8e8e8; }
  .stats { border-top: none; }
  .band__stats { grid-template-columns: repeat(2, 1fr); }
  .band__stat { border-left: none; border-top: 1px solid rgba(255,255,255,.14); }
  .band__stats { border-top: none; }
  .hero__scroll { display: none; }
}

@media (max-width: 640px) {
  .metiers__grid, .projects__grid { grid-template-columns: 1fr; }
  .gallery__masonry { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr; }
  .stats, .band__stats { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__arrows { display: none; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
  .cta__box { text-align: left; }
  .why__list { grid-template-columns: 1fr; }
}

/* ---------- Accent jaune : titres, CTA et icones ---------- */
/* Sections sombres : le jaune vif passe a 9,5:1, on l'utilise tel quel. */
.gallery .section-title,
.band .section-title { color: var(--accent); }

/* CTA secondaire aligne sur le CTA principal */
.btn--dark { background: var(--accent); color: var(--black); }
.btn--dark:hover { background: var(--white); color: var(--black); box-shadow: 0 14px 34px rgba(223, 201, 129, .25); }

/* Icones sur fond clair : or profond pour rester lisibles */
.why-item__icon { color: var(--accent-deep); border-color: var(--accent-deep); }
/* « Voir le projet » : or par defaut, or profond au survol pour garder un retour visuel */
.project__link { color: var(--accent); }
.project__link:hover { color: var(--accent-deep); }

/* Icones sur fond sombre : jaune vif */
.footer__social a { color: var(--accent); }

/* ---------- Titres en jaune vif (choix client, prime sur le contraste AA) ---------- */
.section-title { color: var(--accent); }

/* ---------- Methode : pastilles 01-05 en jaune au lieu du bleu nuit ---------- */
.step.is-visible .step__dot,
.method__track.is-visible .step__dot {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
}
