/* ==========================================================================
   NA'BUILD — feuille de style (site une page, maquette AXIOMA)
   Palette & typo : Montserrat, or #CE9443, sombre #2D2D2D, gris #979797
   ========================================================================== */

:root {
  --dark: #2d2d2d;
  --ink: #2f2b36;
  --gold: #ce9443;
  --grey: #6f6f6f;      /* texte secondaire sur blanc (contraste AA) */
  --grey-2: #bbbdc8;
  --light: #f7f7f7;
  --page: #ededed;
  --white: #fff;
  --radius: 24px;
  --gap: 12px;
  --pad: clamp(16px, 3vw, 44px);
  --header-h: 90px;

  /* courbes d'accélération reprises du moteur d'animation Wix */
  --ease-back: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-cubic: cubic-bezier(0.645, 0.045, 0.355, 1);
  --ease-sine: cubic-bezier(0.445, 0.05, 0.55, 0.95);
  --ease-sine-in: cubic-bezier(0.47, 0, 0.745, 0.715);
  --ease-quad-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Montserrat (SIL Open Font License, voir assets/fonts/OFL.txt) hébergée sur le site : aucune donnée envoyée à Google */
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-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: Montserrat;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-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;
}

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

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

body {
  margin: 0;
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dark);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -100px; left: 16px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--dark); color: var(--white); font-weight: 600; }
.skip:focus { top: 16px; }
.form__note { font-size: 13px; line-height: 1.5; color: var(--light); }
.form__note a { text-decoration: underline; }
.is-white .form__note { color: var(--grey); margin-top: 10px; }

/* pages Mentions légales / Confidentialité */
.prose { max-width: 820px; }
.prose-section { padding-top: calc(var(--header-h) + 40px); }
.prose h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 700; text-transform: uppercase; line-height: 1.1; margin-top: 12px; }
.prose h2 { font-size: 22px; font-weight: 700; margin-top: 44px; text-transform: uppercase; }
.prose h3 { font-size: 17px; font-weight: 700; margin-top: 26px; }
.prose p, .prose li { line-height: 1.7; margin-top: 12px; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold); }
.prose .lead { margin-top: 20px; max-width: none; }
.prose .meta { color: var(--grey); font-size: 14px; }

/* --------------------------------------------------------------------------
   Transition entre les pages (équivalent du "OutIn" de Wix : fondu sortant puis entrant)
   -------------------------------------------------------------------------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 220ms ease-out both vt-out; }
::view-transition-new(root) { animation: 260ms ease-in 200ms both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* --------------------------------------------------------------------------
   Sections en cartes arrondies (comme les captures d'inspiration)
   -------------------------------------------------------------------------- */
.card-section {
  position: relative;
  margin: var(--gap);
  border-radius: var(--radius);
  padding: clamp(56px, 7vw, 100px) var(--pad);
  scroll-margin-top: var(--gap);
  overflow: hidden;
}
.card-section + .card-section { margin-top: 0; }
.is-white { background: var(--white); color: var(--dark); --gold: #b8802f; }   /* or légèrement plus foncé sur blanc : contraste ≥ 3:1 */
.is-dark { background: var(--dark); color: var(--white); --grey: #b3b3b3; }
.on-image { --grey: #e2e2e2; }
.inner { max-width: 1400px; margin-inline: auto; }

/* --------------------------------------------------------------------------
   Typographie
   -------------------------------------------------------------------------- */
.label {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(45, 45, 45, 0.35);
  border-radius: 999px;
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 26px;
}
.is-dark .label, .on-image .label { border-color: rgba(255, 255, 255, 0.5); color: var(--light); }

.title {
  font-size: clamp(36px, 4.6vw, 66px);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.title em { font-style: normal; color: var(--gold); }
.title--center { text-align: center; }

.lead { font-weight: 600; line-height: 1.65; max-width: 540px; }
.muted { color: var(--grey); font-weight: 500; }

.statement {
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.45;
  max-width: 1300px;
}

/* --------------------------------------------------------------------------
   Boutons & pastilles
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 50px;
  padding: 0 4px 0 28px;
  border-radius: 50px;
  border: 1px solid transparent;
  background: var(--light);
  color: var(--ink);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn__icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: #000;
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background-color 0.2s, color 0.2s;
}
.btn__icon svg { width: 18px; height: 18px; }
/* au survol, la flèche ↗ pivote vers la droite → (tous les boutons fléchés du site) */
.btn__icon svg, .arrow-badge svg, .newsletter button svg { transition: transform 0.3s var(--ease-cubic); }
.btn:hover .btn__icon svg, .btn:focus-visible .btn__icon svg,
a.media:hover .arrow-badge svg, a.media:focus-visible .arrow-badge svg,
.newsletter button:hover svg, .newsletter button:focus-visible svg { transform: rotate(45deg); }
.btn:hover { background: rgba(47, 43, 54, 0.15); border-color: var(--light); color: var(--light); }
.btn:hover .btn__icon { background: var(--light); color: #000; }
/* sur fond blanc : pastille blanche cerclée de noir (bouton "Consultation" de la maquette) */
.is-white .btn { background: var(--white); border-color: var(--dark); }
.is-white .btn:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }
.is-white .btn:hover .btn__icon { background: var(--white); color: var(--dark); }

/* boutons ronds précédent / suivant */
.round {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.round:hover { background: var(--light); color: var(--ink); border-color: var(--light); }
.round svg { width: 14px; height: 14px; }
.is-white .round { border-color: rgba(45, 45, 45, 0.35); color: var(--dark); }
.is-white .round:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }

/* pastilles "verre" posées sur les images */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li {
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--light);
  font-size: 18px;
  font-weight: 500;
}

/* filtres du portfolio */
.filters { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin: 44px 0 48px; }
.filters .round { width: 50px; height: 50px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chip {
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid var(--dark);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: background-color 0.2s, color 0.2s;
}
.chip:hover, .chip.active { background: var(--dark); color: var(--white); }

/* --------------------------------------------------------------------------
   En-tête (posé dans la carte hero) + menu mobile
   -------------------------------------------------------------------------- */
.header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  height: var(--header-h);
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  gap: clamp(32px, 6.5vw, 100px);
  color: var(--white);
}
.header__logo { color: var(--light); }
.header__logo svg { width: 40px; height: 40px; }

.nav { display: flex; gap: 8px; }
.nav a {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  font-size: 16px;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.nav a:hover, .nav a.active { background: var(--light); border-color: #707070; color: var(--ink); }

.socials { display: flex; gap: 14px; }
.socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: background-color 0.2s, color 0.2s;
}
.socials a:hover { background: var(--light); color: var(--ink); }
.socials svg { width: 17px; height: 17px; }
.header__right { margin-left: auto; display: flex; align-items: center; gap: clamp(32px, 7vw, 108px); }

/* en-tête posé sur une page blanche (pages légales) */
.header--on-light { color: var(--dark); }
.header--on-light .header__logo { color: var(--dark); }
.header--on-light .nav a { background: rgba(45, 45, 45, 0.05); border-color: rgba(45, 45, 45, 0.35); color: var(--dark); }
.header--on-light .nav a:hover, .header--on-light .nav a.active { background: var(--dark); border-color: var(--dark); color: var(--white); }
.header--on-light .socials a { border-color: rgba(45, 45, 45, 0.4); color: var(--dark); }
.header--on-light .socials a:hover { background: var(--dark); color: var(--white); }
.header--on-light .btn { background: var(--white); border-color: var(--dark); }
.header--on-light .btn:hover { background: var(--dark); color: var(--white); }
.header--on-light .btn:hover .btn__icon { background: var(--white); color: var(--dark); }
.header--on-light .burger { background: var(--dark); color: var(--white); }

.burger {
  display: none;
  width: 66px;
  height: 46px;
  border-radius: 999px;
  background: var(--light);
  color: var(--ink);
  place-items: center;
  margin-left: auto;
}
.burger svg { width: 20px; height: 20px; }
/* menu mobile : arrive de la droite comme le "GlideIn" du menu Wix */
.menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: var(--dark);
  color: var(--white);
  padding: 120px var(--pad) 40px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.5s var(--ease-cubic), visibility 0s linear 0.5s;
}
.menu.open { transform: none; visibility: visible; transition-delay: 0s, 0s; }
.menu__close {
  position: absolute;
  top: 22px;
  right: var(--pad);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: grid;
  place-items: center;
}
.menu__close svg { width: 16px; height: 16px; }
.menu__nav a { display: block; font-size: 34px; font-weight: 700; text-transform: uppercase; padding: 8px 0; }
.menu__nav a.active { color: var(--gold); }
.menu .btn { align-self: flex-start; }
.menu address { font-style: normal; font-size: 15px; line-height: 1.8; color: var(--grey-2); margin-top: auto; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  height: calc(100svh - 2 * var(--gap));
  min-height: 660px;
  padding: 0;
  background: #b9c7d6;
  color: var(--white);
}
/* la photo est posée deux fois : fond complet, puis avant-plan (ciel transparent) au-dessus du wordmark,
   pour que le bâtiment passe devant les lettres comme sur la maquette */
.hero__bg, .hero__front { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.28), transparent 32%), linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 45%); pointer-events: none; }
.hero__word { position: absolute; top: max(165px, 19%); left: 50%; translate: -50% 0; width: min(62%, 900px); }
.hero__tag { position: absolute; font-size: 15px; line-height: 1.3; color: var(--light); max-width: 260px; }
.hero__tag--l { top: 118px; left: var(--pad); }
.hero__tag--r { top: 118px; right: var(--pad); text-align: right; }
.hero__tag--b { bottom: 40px; left: var(--pad); font-size: 18px; }
.hero__cta { position: absolute; bottom: 40px; left: 50%; translate: -50% 0; }
.hero__stats { position: absolute; right: 28px; bottom: 40px; width: 285px; display: grid; gap: 20px; }
.stat {
  padding: 22px 12px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.stat strong { display: block; font-size: 42px; font-weight: 400; line-height: 1; margin-bottom: 12px; }
.stat span { font-size: 14px; line-height: 1.45; color: rgba(247, 247, 247, 0.9); }

/* --------------------------------------------------------------------------
   Mises en page communes
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split > * { min-width: 0; }
.split__text .lead { margin-top: 26px; }
.split__text .btn { margin-top: 36px; }
.split--end { align-items: end; }

.media {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #1e1e1e;
}
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease-in-out; }
.media .tags { position: absolute; left: 20px; bottom: 20px; }
.media--hover:hover img { transform: scale(1.05); }

/* rangée "flèches à gauche / bouton à droite" puis piste défilante */
.row__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 56px 0 40px; }
.row__arrows { display: flex; gap: 12px; }
.track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block: 4px 8px;
}
.track::-webkit-scrollbar { display: none; }
.track > * { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; }
.track--4 > * { flex-basis: calc((100% - 72px) / 4); }
.track--4 > :nth-child(even) { margin-top: 60px; }

/* bloc "Nous" : offres, engagements, références (contenu des flyers NA'BUILD) */
.nous__more { margin-top: clamp(56px, 7vw, 100px); }
.nous__head { margin: 0 0 32px; }
.nous__head + .offers, .nous__head + .pledges { margin-top: 0; }
.subtitle { font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.subtitle em { font-style: normal; color: var(--gold); }
.nous__head .muted { margin-top: 12px; max-width: 760px; }
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: clamp(48px, 6vw, 80px); }
.offer { background: #f4f4f4; border-radius: var(--radius); padding: 32px; }
.offer__icon, .pledge__icon { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; }
.offer__icon svg, .pledge__icon svg { width: 24px; height: 24px; }
.offer h3 { font-size: 22px; font-weight: 700; text-transform: uppercase; margin-top: 22px; }
.offer p { margin-top: 12px; color: #555; line-height: 1.6; }
.offer p strong { color: var(--dark); }
.mini-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.mini-chips li { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(45, 45, 45, 0.3); font-size: 13px; font-weight: 500; }
.pledges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: clamp(48px, 6vw, 80px); }
.pledge { padding: 28px 0 0; border-top: 1px solid rgba(45, 45, 45, 0.15); }
.pledge h3 { font-size: 17px; font-weight: 700; text-transform: uppercase; margin-top: 18px; line-height: 1.25; }
.pledge p { margin-top: 8px; color: var(--grey); font-size: 15px; line-height: 1.55; }
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; padding: 28px 0; border-top: 1px solid rgba(45, 45, 45, 0.15); border-bottom: 1px solid rgba(45, 45, 45, 0.15); }
.trust .label { margin: 0; }
.trust__list { display: flex; flex-wrap: wrap; gap: 14px 36px; font-weight: 700; font-size: 18px; letter-spacing: 0.06em; text-transform: uppercase; color: #6f6f6f; }
.cta-line { color: var(--grey); max-width: 520px; }
.nous__more .row__bar { margin-bottom: 0; }
.cta-line strong { color: var(--dark); }

/* cartes photos avec titre + légende verre sur la première (pistes défilantes) */
.shot { position: relative; }
.shot__title {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.15;
  max-width: 55%;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.shot__cap {
  position: absolute;
  left: 20px;
  bottom: 20px;
  max-width: 300px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--light);
  font-size: 13px;
  line-height: 1.5;
}
.arrow-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.arrow-badge svg { width: 16px; height: 16px; }

/* cartes services / projets */
.card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 22px; }
.card h3 { font-size: 19px; font-weight: 700; text-transform: uppercase; line-height: 1.2; }
.card__num { font-weight: 400; font-size: 19px; white-space: nowrap; }
.card p { margin-top: 10px; color: var(--grey); font-size: 15px; line-height: 1.55; }
.card .media { aspect-ratio: 5 / 4; }
.card--cta .media { display: grid; place-items: center; background: var(--dark); color: var(--white); text-align: center; padding: 24px; }
.card--cta .media strong { font-size: 24px; font-weight: 700; text-transform: uppercase; line-height: 1.2; }
.card--cta .media strong + span { display: block; margin-top: 10px; color: var(--grey-2); font-size: 15px; }

/* --------------------------------------------------------------------------
   Contact — carte image + formulaire verre
   -------------------------------------------------------------------------- */
.contact {
  min-height: calc(100svh - 2 * var(--gap));
  padding-top: 90px;
  padding-bottom: 130px;
  display: flex;
  color: var(--white);
}
/* le contenu est aligné sur la même largeur (.inner) que les autres sections, le fond reste pleine largeur */
.contact__inner {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 520px);
  gap: 40px;
  align-content: start;
}
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.1) 60%); }
.contact__text p { max-width: 540px; margin-top: 24px; }
.contact .title em { color: inherit; }
.contact__text .muted { color: inherit; font-weight: inherit; }
.contact__tags { position: absolute; left: 0; bottom: -90px; }

.form {
  padding: 28px 28px 32px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: grid;
  gap: 22px;
  align-self: start;
}
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; color: var(--light); }
.field input, .field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: var(--white);
  font: inherit;
  padding: 6px 0;
  border-radius: 0;
  transition: border-color 0.2s;
}
.field textarea { resize: vertical; min-height: 60px; }
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--white); }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form__bg { display: none; }
.form__status { font-size: 14px; color: var(--light); min-height: 1.2em; }
.form__status--dark { color: var(--grey); margin-top: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* --------------------------------------------------------------------------
   Pied de page (carte blanche)
   -------------------------------------------------------------------------- */
.footer { padding-top: 40px; padding-bottom: 32px; }
.footer__word { width: 100%; margin-bottom: 70px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr auto auto 1fr; gap: 40px clamp(24px, 5vw, 80px); align-items: start; }
.footer__title { font-size: 28px; font-weight: 700; text-transform: uppercase; line-height: 1.25; max-width: 460px; }
.newsletter { display: flex; align-items: center; gap: 12px; max-width: 460px; margin-top: 32px; border-bottom: 1px solid var(--dark); }
.newsletter input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-weight: 600; padding: 10px 0; color: var(--dark); }
.newsletter input:focus { outline: 0; }
.newsletter button { width: 32px; height: 32px; display: grid; place-items: center; color: var(--dark); }
.newsletter button svg { width: 20px; height: 20px; }
.footer .socials { flex-direction: column; gap: 8px; }
.footer .socials a { width: 38px; height: 38px; }
.footer .socials a { border-color: var(--dark); color: var(--dark); }
.footer .socials a:hover { background: var(--dark); color: var(--white); }
.footer__nav a { display: block; font-weight: 600; padding: 6px 0; }
.footer__nav a:hover { color: var(--gold); }
.footer address { font-style: normal; font-weight: 600; line-height: 1.9; }
.footer address a:hover { color: var(--gold); }
.footer__copy { margin-top: 70px; font-size: 13px; color: var(--grey); display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__copy a:hover { color: var(--gold); text-decoration: underline; }

/* --------------------------------------------------------------------------
   Pages projet
   -------------------------------------------------------------------------- */
.phero {
  position: relative;
  height: calc(100svh - 2 * var(--gap));
  min-height: 560px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--header-h) var(--pad) 40px;
  color: var(--white);
}
.phero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.phero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); z-index: -1; }
.phero h1 { font-size: clamp(38px, 6vw, 88px); font-weight: 700; line-height: 1.1; max-width: 900px; }

.projet__label { font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--gold); margin-bottom: 26px; }
.projet__big { font-size: clamp(20px, 2vw, 29px); font-weight: 700; line-height: 1.45; }
.projet__text { color: var(--grey-2); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.6; margin-top: 26px; }
.projet__text + .projet__text { margin-top: 16px; }
.split--project .media { aspect-ratio: 2 / 3; max-width: 520px; margin-left: auto; }

/* parallaxe & zoom au défilement (équivalents ParallaxScroll / ShrinkScroll de Wix) */
.parallax img { height: 130%; top: -15%; position: relative; }
@supports (animation-timeline: view()) {
  .parallax img { animation: parallax linear both; animation-timeline: view(); }
  .band__bg { animation: shrink linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
}
@keyframes parallax { from { transform: translateY(-9%); } to { transform: translateY(9%); } }
@keyframes shrink { from { transform: scale(1.2); } to { transform: scale(1); } }

.band { min-height: 90svh; display: grid; place-items: center; text-align: center; padding: 120px var(--pad); color: var(--white); }
.band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(20, 20, 20, 0.5); z-index: -1; }
.band__small { position: absolute; top: 60px; left: 60px; width: min(30%, 330px); aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; }
.band h2 { font-size: clamp(30px, 3.6vw, 50px); font-weight: 700; color: var(--gold); }
.band p { max-width: 850px; margin-top: 18px; color: var(--light); }

.gallery { display: grid; grid-template-columns: minmax(280px, 1fr) 2fr; gap: 60px; align-items: start; }
.gallery__aside { position: sticky; top: 120px; }
.gallery__aside h2 { font-size: clamp(28px, 2.8vw, 40px); font-weight: 700; color: var(--gold); }
.gallery__aside p { margin-top: 24px; font-size: clamp(18px, 1.8vw, 29px); font-weight: 700; line-height: 1.45; }
.masonry { columns: 3; column-gap: 20px; }
.masonry img { width: 100%; border-radius: 16px; margin-bottom: 20px; break-inside: avoid; }
.projet__nav { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 60px; }

/* --------------------------------------------------------------------------
   Animations d'entrée (reprises une à une de la config Wix du site actuel).
   Un élément .a est masqué tant que JS n'a pas ajouté .in (déclenché à 15 % de visibilité, une seule fois).
   Variables : --dur (durée), --delay, --dist (distance du glissement), --scale (échelle de départ), --ease
   -------------------------------------------------------------------------- */
.js .a { opacity: 0; }
.js .a.in { animation-duration: var(--dur, 1.2s); animation-delay: var(--delay, 0s); animation-fill-mode: both; }

/* GlideIn / "GlitchIn" : glisse depuis le bas, sans fondu, rebond backOut */
.js .a-glide.in { animation-name: fx-glide; animation-timing-function: var(--ease-back); }
@keyframes fx-glide {
  0% { opacity: 0; transform: translateY(var(--dist, 40%)); animation-timing-function: step-end; }
  0.1% { opacity: 1; transform: translateY(var(--dist, 40%)); }
  100% { opacity: 1; transform: none; }
}
/* ExpandIn : fondu linéaire + échelle 0.8 → 1 */
.js .a-expand.in { animation-name: fx-fade, fx-scale; animation-timing-function: linear, var(--ease, var(--ease-back)); }
@keyframes fx-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fx-scale { from { transform: scale(var(--scale, 0.8)); } to { transform: none; } }
/* FadeIn */
.js .a-fade.in { animation-name: fx-fade; animation-timing-function: var(--ease-sine); }
/* GrowIn : fondu + glisse 20 % + échelle 0.8 → 1 */
.js .a-grow.in { animation-name: fx-fade, fx-grow; animation-timing-function: var(--ease-back); }
@keyframes fx-grow { from { transform: translateY(var(--dist, 20%)) scale(var(--scale, 0.8)); } to { transform: none; } }
/* FloatIn (depuis le bas, 60 px) */
.js .a-float.in { animation-name: fx-float; animation-timing-function: var(--ease-sine); }
@keyframes fx-float { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
/* DropIn : fondu + échelle 1.3 → 1 */
.js .a-drop.in { animation-name: fx-fade, fx-scale; animation-timing-function: var(--ease-quad-out), var(--ease-back); --scale: 1.3; }
/* BlurIn : fondu + flou 6 px → 0, puis une légère pulsation */
.js .a-blur.in { animation-name: fx-fade, fx-blur, fx-pulse; animation-timing-function: var(--ease-sine-in), linear, ease-in-out; animation-duration: 1.4s, 2s, 1s; animation-delay: 0s, 0s, 1.5s; }
@keyframes fx-blur { from { filter: blur(6px); } to { filter: blur(0); } }
@keyframes fx-pulse { 50% { transform: scale(1.03); } }

@media (prefers-reduced-motion: reduce) {
  .js .a { opacity: 1; }
  .js .a.in, .parallax img, .band__bg, .menu { animation: none !important; transition: none !important; }
  .parallax img { height: 100%; top: 0; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .track--4 > * { flex-basis: calc((100% - 48px) / 3); }
  .masonry { columns: 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 80px; --gap: 8px; }
  .nav, .header__right { display: none; }
  .burger { display: grid; }
  .split { grid-template-columns: 1fr; }
  .split__text .lead { max-width: none; }
  .offers { grid-template-columns: 1fr; }
  .pledges { grid-template-columns: 1fr 1fr; }
  .offer { padding: 24px; }
  .track > *, .track--4 > * { flex-basis: 78%; }
  .track--4 > :nth-child(even) { margin-top: 0; }
  .contact__inner { grid-template-columns: 1fr; }
  .split--project .media { max-width: none; margin: 0; aspect-ratio: 4 / 3; }
  .band__small { top: 20px; left: 20px; width: 34%; }
  .gallery { grid-template-columns: 1fr; gap: 32px; }
  .gallery__aside { position: static; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer .socials { flex-direction: row; }
  .footer__copy { margin-top: 40px; }
}

/* --------------------------------------------------------------------------
   Mobile : composition reprise des maquettes téléphone (dossier Inspiration/Mobile)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  :root { --gap: 0px; --pad: 24px; }
  .card-section { border-radius: 0; padding-block: 56px; }
  .prose-section { padding-top: calc(var(--header-h) + 24px); }
  .label { font-size: 15px; padding: 10px 20px; }
  .title { font-size: clamp(34px, 10.5vw, 46px); }
  .title--center br { display: none; }
  .lead { font-size: 17px; }
  .statement { font-size: 24px; }
  .subtitle { font-size: 26px; }
  .btn { height: 58px; padding: 0 5px 0 28px; font-size: 17px; }
  .btn__icon { width: 48px; height: 48px; }
  .btn__icon svg { width: 20px; height: 20px; }
  .tags li { font-size: 15px; padding: 7px 12px; }

  /* en-tête : icône menu simple, sans pastille */
  .burger { background: none; color: var(--white); width: 44px; }
  .header--on-light .burger { background: none; color: var(--dark); }
  .burger svg { width: 28px; height: 28px; }

  /* hero plein écran, wordmark plus large que l'écran */
  .hero { height: 100svh; min-height: 640px; }
  .hero__word { top: 20%; width: calc(100% - 32px); }
  .hero__bg, .hero__front { object-position: 42% 40%; }
  .hero__shade { background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent 30%), linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 55%); }
  .hero__tag--r, .hero__tag--b { display: none; }
  .hero__tag--l { top: auto; bottom: 118px; left: 24px; right: 24px; max-width: none; text-align: center; font-size: 17px; }
  .hero__stats { left: 24px; right: 24px; width: auto; bottom: 196px; grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 18px 16px 16px; }
  .stat strong { font-size: 34px; margin-bottom: 10px; }
  .stat span { font-size: 14px; line-height: 1.4; }
  .hero__cta { bottom: 32px; }

  /* Nous : la photo passe en premier */
  #nous .split .media { order: -1; margin-bottom: 8px; }
  .pledges { grid-template-columns: 1fr; }

  /* pistes : bouton au-dessus, cartes, puis flèches en dessous */
  [data-row] { display: flex; flex-direction: column; }
  .row__bar, .filters { display: contents; }
  .row__bar > .btn { order: 0; align-self: flex-start; margin: 28px 0; }
  .chips { order: 0; justify-content: flex-start; gap: 8px; margin: 4px 0 28px; }
  .chip { padding: 11px 18px; font-size: 13px; }
  .filters .round { display: none; }
  .track { order: 1; }
  .track > *, .track--4 > * { flex-basis: 88%; }
  .card .media { aspect-ratio: 1; }
  .card h3, .card__num { font-size: 21px; }
  .row__arrows { order: 2; margin-top: 28px; }
  .row__arrows .round { width: 60px; height: 60px; }

  /* Contact : section blanche, la photo devient le fond du formulaire */
  .contact { background: var(--white); color: var(--dark); min-height: 0; padding-top: 56px; padding-bottom: 56px; }
  .contact__bg, .contact::before, .contact__tags { display: none; }
  .contact .label { border-color: rgba(45, 45, 45, 0.35); color: var(--grey); }
  .contact .title em { color: var(--gold); }
  .contact__text p { font-size: 17px; font-weight: 600; }
  .contact__text .muted { color: var(--grey); font-weight: 500; }
  .form {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 8px;
    padding: 28px 24px 32px;
    border: 0;
    border-radius: var(--radius);
    color: var(--white);
    background: #6b6b6b;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  /* photo floutée en fond du formulaire, comme sur la maquette */
  .form__bg { display: block; position: absolute; inset: -24px; z-index: -1; width: calc(100% + 48px); height: calc(100% + 48px); max-width: none; object-fit: cover; filter: blur(10px); }
  .form::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, 0.3); }
  .field label { font-size: 16px; }
  .form__foot { flex-direction: column-reverse; align-items: flex-start; }

  /* pied de page : wordmark débordant, liens à gauche, coordonnées à droite */
  .footer { padding-top: 24px; }
  .footer__word { margin-bottom: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .footer__nav { grid-column: 1; grid-row: 2 / span 2; }
  .footer address { grid-column: 2; grid-row: 2; }
  .footer .socials { grid-column: 2; grid-row: 3; align-self: start; }
  .footer__title { font-size: 24px; }
  .footer__copy { text-align: center; margin-top: 48px; }
}
