/* ═══════════════════════════════════════════════════════════════
   EGS MCC · Identité visuelle
   Rouge brique · Noir charbon · Crème · Fraunces serif
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Palette EGS MCC — logo rouge brique + noir */
  --navy: #18181A;          /* noir charbon (rôle "navy" hérité) */
  --navy-deep: #0B0B0D;
  --blue: #C8202C;          /* rouge brique (rôle "blue" hérité) */
  --blue-light: #FBEDEE;
  --accent: #C8202C;        /* rouge — accent principal */
  --accent-deep: #9B1620;   /* rouge profond pour hover */
  --white: #FFFFFF;
  --off: #F5F2EC;           /* crème chaude */
  --line: #E3DDD2;
  --ink: #18181A;
  --ink-muted: #6B6B72;

  --sans: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Montserrat', 'Inter Tight', system-ui, sans-serif;
  --display: 'Montserrat', 'Inter Tight', system-ui, sans-serif;

  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 7rem);

  --radius: 4px;
  --shadow: 0 12px 40px -12px rgba(24, 24, 26, .18);
  --shadow-lg: 0 30px 80px -30px rgba(24, 24, 26, .3);

  /* Easings — Emil Kowalski curves */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--navy); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--navy);
  margin: 0;
  text-transform: none;
}
h1 em, h2 em, h3 em {
  font-style: normal;
  font-weight: 800;
  color: var(--accent);
}

p { margin: 0 0 1rem; color: var(--ink-muted); }

/* Kicker — filet éditorial */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1.25rem;
}
.kicker::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}
.kicker--inv { color: var(--accent); }

/* Link arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: .95rem;
  color: var(--blue);
  margin-top: 1rem;
  transition: gap .2s ease, color .2s;
  gap: 0;
}
.link-arrow:hover { color: var(--navy); gap: .25rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.7rem;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: var(--radius);
  transition: background .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out), box-shadow .25s var(--ease-out), transform .16s var(--ease-out);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--primary {
  background: var(--navy);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-deep); box-shadow: var(--shadow); }
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--full { width: 100%; justify-content: center; }

/* ═══════════════════════════ NAV ═══════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .35s ease, box-shadow .35s ease;
  background: rgba(255,255,255,0);
}
.nav.is-scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px -15px rgba(24, 24, 26,.15);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.brand-mark { width: 36px; height: 36px; }
.brand-mark--xl { width: 56px; height: 56px; }
.brand-lockup { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .02em;
  color: var(--navy);
}
.brand-sub {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 2px;
}
.brand-lockup--inv .brand-name,
.brand-lockup--inv .brand-sub { color: #fff; }
.brand-lockup--inv .brand-sub { color: rgba(255,255,255,.65); }

.nav:not(.is-scrolled) .brand-name { color: #fff; }
.nav:not(.is-scrolled) .brand-sub { color: rgba(255,255,255,.75); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__menu a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--navy);
  padding: .4rem 0;
  position: relative;
  transition: color .2s;
}
.nav__menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width .25s ease;
}
.nav__menu a:hover { color: var(--blue); }
.nav__menu a:hover::after { width: 100%; }

.nav:not(.is-scrolled) .nav__menu a { color: #fff; }
.nav:not(.is-scrolled) .nav__menu a:hover { color: #F5A4AB; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: .65rem 1.25rem;
  background: var(--blue);
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background .2s;
}
.nav__cta:hover { background: var(--navy); }

.nav__burger {
  display: none;
  width: 36px; height: 36px;
  position: relative;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  margin: 5px auto;
  transition: all .3s ease;
}
.nav:not(.is-scrolled) .nav__burger span { background: #fff; }

@media (max-width: 960px) {
  .nav__menu {
    position: fixed;
    inset: 70px 0 0 0;
    background: #fff;
    flex-direction: column;
    padding: 2rem var(--gutter);
    gap: 1.25rem;
    transform: translateX(100%);
    transition: transform .35s ease;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__menu a { color: var(--navy) !important; font-size: 1.1rem; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }
}

/* ═══════════════════════════ HERO ═══════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  transform: scale(1.04);
}
.hero__slide.is-active {
  opacity: 1;
  animation: heroZoom 7s ease-out;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11, 11, 13,.78) 0%, rgba(24, 24, 26,.55) 60%, rgba(24, 24, 26,.3) 100%);
  z-index: 1;
}
.hero__frame {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 6rem var(--gutter) 5rem;
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  margin-bottom: 2rem;
}
.hero__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(2.75rem, 7.2vw, 5.75rem);
  color: #fff;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.02;
  text-transform: uppercase;
  margin: 0 0 1.75rem;
  max-width: 940px;
}
.hero__title em {
  font-style: normal;
  font-weight: 800;
  color: var(--accent);
}
.hero__lede {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,.88);
  max-width: 640px;
  margin: 0 0 2.5rem;
  line-height: 1.55;
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .6rem;
  z-index: 3;
}
.hero__dots button {
  width: 32px;
  height: 3px;
  background: rgba(255,255,255,.35);
  border-radius: 2px;
  transition: background .25s ease, width .25s ease;
}
.hero__dots button.is-active {
  background: #fff;
  width: 48px;
}

/* ═══════════════════════════ INTRO ═══════════════════════════ */
.intro {
  background: var(--off);
  padding: var(--section-y) var(--gutter);
}
.intro__inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.intro__tagline {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.2vw, 2.65rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -.022em;
  margin: 0;
}
.intro__tagline em {
  font-style: normal;
  font-weight: 800;
  color: var(--accent);
}

/* ═══════════════════════════ PRÉSENTATION ═══════════════════════════ */
.present {
  padding: var(--section-y) var(--gutter);
}
.present__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.present__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}
.present__left p { font-size: 1.02rem; line-height: 1.7; }
.present__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.stat {
  background: var(--off);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  border-left: 2px solid var(--accent);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.stat__num {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--navy);
  line-height: 1;
  margin-bottom: .5rem;
}
.stat__label {
  font-size: .85rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}
@media (max-width: 800px) {
  .present__inner { grid-template-columns: 1fr; }
}

/* ═══════════════════════════ ACTIVITÉS ═══════════════════════════ */
.activities {
  padding: var(--section-y) var(--gutter);
  background: var(--off);
}
.activities__head {
  max-width: var(--container);
  margin: 0 auto 3.5rem;
  text-align: center;
}
.activities__head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.activities__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.activity {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 4px 20px -10px rgba(24, 24, 26,.12);
  display: flex;
  flex-direction: column;
}
.activity:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.activity__img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.activity__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(24, 24, 26,.4) 100%);
}
.activity__body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.activity__num {
  font-family: var(--display);
  font-style: normal;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: .85rem;
  display: block;
}
.activity__body h3 {
  font-size: 1.35rem;
  margin: 0 0 .75rem;
}
.activity__body p {
  font-size: .92rem;
  flex: 1;
}

/* ═══════════════════════════ ENGAGEMENTS ═══════════════════════════ */
.commit {
  background: var(--navy);
  color: #fff;
  padding: var(--section-y) var(--gutter);
}
.commit__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.commit__head {
  text-align: center;
  margin-bottom: 3.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.commit__head h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.commit__head p { color: rgba(255,255,255,.75); font-size: 1.1rem; }
.commit__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.pillar {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  transition: background .3s ease, transform .3s ease;
}
.pillar:hover {
  background: rgba(255,255,255,.07);
  transform: translateY(-3px);
}
.pillar svg {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.pillar h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: .75rem;
}
.pillar p { color: rgba(255,255,255,.7); font-size: .95rem; margin: 0; }

/* ═══════════════════════════ CERTIFICATIONS ═══════════════════════════ */
.certs {
  padding: var(--section-y) var(--gutter);
}
.certs__inner { max-width: var(--container); margin: 0 auto; }
.certs__head { text-align: center; margin-bottom: 3rem; }
.certs__head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.certs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.cert {
  background: var(--off);
  padding: 2rem 1.25rem;
  text-align: center;
  border-radius: var(--radius);
  transition: background .25s;
}
.cert:hover { background: var(--blue-light); }
.cert svg {
  width: 40px; height: 40px;
  color: var(--blue);
  margin: 0 auto 1rem;
}
.cert strong {
  display: block;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: .25rem;
}
.cert span {
  font-size: .82rem;
  color: var(--ink-muted);
}

/* ═══════════════════════════ RÉFÉRENCES (chantiers) ═══════════════════════════ */
.works {
  padding: var(--section-y) var(--gutter);
  background: var(--off);
}
.works__head {
  max-width: var(--container);
  margin: 0 auto 4rem;
  text-align: center;
}
.works__head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.works__head p { font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

.feature-work {
  max-width: var(--container);
  margin: 0 auto 5rem;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-work--reverse { direction: rtl; }
.feature-work--reverse > * { direction: ltr; }

.feature-work__gallery {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: .5rem;
}
.feature-work__main {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  cursor: pointer;
  transition: transform .35s ease;
}
.feature-work__main:hover { transform: scale(1.01); }
.feature-work__strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
}
.feature-work__thumb {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  cursor: pointer;
  opacity: .75;
  transition: opacity .25s ease, transform .25s ease;
}
.feature-work__thumb:hover { opacity: 1; transform: scale(1.04); }

.feature-work__body {
  padding: 2rem 2.5rem 2rem 0;
}
.feature-work--reverse .feature-work__body {
  padding: 2rem 0 2rem 2.5rem;
}
.feature-work__tag {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  padding: .35rem .75rem;
  background: var(--blue-light);
  border-radius: 2px;
  margin-bottom: 1rem;
}
.feature-work__body h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: .5rem;
}
.feature-work__loc {
  color: var(--ink-muted);
  font-size: .95rem;
  margin-bottom: 1.5rem;
}
.feature-work__credits {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  display: grid;
  gap: .65rem;
}
.feature-work__credits > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  font-size: .85rem;
}
.credit-label {
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
  font-weight: 600;
}
.credit-value {
  color: var(--navy);
  font-weight: 500;
}
.feature-work__desc {
  font-size: .95rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

@media (max-width: 900px) {
  .feature-work, .feature-work--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .feature-work__body,
  .feature-work--reverse .feature-work__body {
    padding: 0 1.5rem 2rem;
  }
}

/* ═══════════════════════════ ZONE IDF ═══════════════════════════ */
.zone {
  padding: var(--section-y) var(--gutter);
}
.zone__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.zone__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}
.zone__lede { font-size: 1.05rem; }
.zone__fig { margin: 0; }
.idf { width: 100%; height: auto; max-height: 520px; }
@media (max-width: 800px) {
  .zone__inner { grid-template-columns: 1fr; }
}

/* ═══════════════════════════ FAQ ═══════════════════════════ */
.faq {
  padding: var(--section-y) var(--gutter);
  background: var(--off);
}
.faq__head {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}
.faq__title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.faq__list {
  max-width: 800px;
  margin: 0 auto;
}
.faq__item {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: border-color .2s;
}
.faq__item[open] { border-color: var(--blue); }
.faq__item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus {
  font-size: 1.4rem;
  color: var(--blue);
  transition: transform .25s ease;
  flex-shrink: 0;
}
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__content {
  padding: 0 1.5rem 1.25rem;
}
.faq__content p { margin: 0; }

/* ═══════════════════════════ CONTACT ═══════════════════════════ */
.contact {
  background: var(--navy);
  color: #fff;
  padding: var(--section-y) var(--gutter);
}
.contact__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
}
.contact__title {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.contact__lede {
  color: rgba(255,255,255,.78);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.contact__channels {
  display: grid;
  gap: 1.25rem;
}
.contact__channels li {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 1.25rem;
}
.contact__lbl {
  display: block;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: .35rem;
}
.contact__channels a, .contact__channels strong {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  font-style: normal;
}
.contact__channels a:hover { color: #F5A4AB; }

.contact__form {
  background: #fff;
  color: var(--ink);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.contact__form h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--navy);
}
.field { margin-bottom: 1rem; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: .4rem;
}
.field input, .field textarea {
  width: 100%;
  padding: .75rem .85rem;
  font: inherit;
  font-size: .95rem;
  background: var(--off);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s, background .2s;
  font-family: inherit;
  color: var(--ink);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .85rem;
  color: var(--ink-muted);
  margin: 1rem 0 1.5rem;
}
.check input { margin-top: 3px; accent-color: var(--blue); }

@media (max-width: 800px) {
  .contact__inner { grid-template-columns: 1fr; }
}

/* ═══════════════════════════ FOOTER ═══════════════════════════ */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.8);
  padding: 4rem var(--gutter) 0;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.footer__cols h4 {
  color: #fff;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer__cols a, .footer__cols span {
  display: block;
  color: rgba(255,255,255,.65);
  font-size: .92rem;
  margin-bottom: .6rem;
  transition: color .2s;
}
.footer__cols a:hover { color: #F5A4AB; }
.footer__bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.footer__bar a:hover { color: #fff; }

@media (max-width: 700px) {
  .footer__inner { grid-template-columns: 1fr; }
}

/* ═══════════════════════════ LIGHTBOX ═══════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 13, .96);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255,255,255,.1);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.2); }
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__nav--prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__stage {
  max-width: 90vw;
  max-height: 80vh;
}
.lightbox__image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}
.lightbox__caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  display: flex;
  gap: 1rem;
  font-size: .9rem;
}
.lightbox__counter { color: rgba(255,255,255,.6); }

/* ═══════════════════════════ REVEAL ═══════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════ MOTION POLISH ═══════════════════════════ */
/* Reveal: easing éditorial, plus subtil */
.reveal {
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transform: translateY(28px);
}

/* Liens éditoriaux : flèche avec micro-décalage */
.link-arrow {
  transition: gap .25s var(--ease-out), color .25s var(--ease-out);
}

/* Activités : h3 Montserrat */
.activity__body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  line-height: 1.18;
}

/* Pillar (engagements) : titres Montserrat */
.pillar h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.02em;
}

/* Filet ocre sous les sections principales */
.activities__head h2,
.works__head h2,
.commit__head h2,
.certs__head h2,
.present__title {
  position: relative;
}

/* Touch device : pas de hover transform parasites */
@media (hover: none) {
  .activity:hover,
  .stat:hover,
  .pillar:hover,
  .feature-work:hover { transform: none; }
}

/* prefers-reduced-motion : garder fades, supprimer mouvements */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .15s !important;
  }
  .hero__slide.is-active { animation: none; }
  .reveal { transform: none; }
}

/* ═══════════════════════════ CARTE IDF — ANIMATIONS ═══════════════════════════ */
.idf { overflow: visible; }

/* Apparition séquentielle des départements quand la section est visible */
.idf__dep {
  opacity: 0;
  transform-origin: 270px 240px;
  transform: scale(.92);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .35s var(--ease-out);
}
.zone__fig.is-visible .idf__dep {
  opacity: 1;
  transform: scale(1);
  transition-delay: calc(var(--i, 0) * 110ms);
}

/* Hover : chaque département se met en avant */
.idf__dep > path,
.idf__dep > circle {
  transition: fill .25s var(--ease-out), stroke-width .25s var(--ease-out), filter .25s var(--ease-out);
  cursor: pointer;
}
.idf__dep:hover > path {
  fill: #FBEDEE;
  stroke-width: 1.8;
  filter: drop-shadow(0 4px 10px rgba(200,32,44,.25));
}
.idf__siege:hover > path {
  fill: #9B1620;
  filter: drop-shadow(0 6px 16px rgba(200,32,44,.5));
}

/* Pulse rouge autour du siège 94 */
.idf__pulse {
  transform-origin: 295px 245px;
  animation: idfPulse 2.6s ease-out infinite;
  opacity: 0;
}
.zone__fig.is-visible .idf__pulse {
  opacity: 1;
  animation-delay: 1.2s;
}
@keyframes idfPulse {
  0%   { transform: scale(.5); opacity: .9; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Étoile siège : petit clignotement */
.idf__star {
  transform-origin: 295px 235px;
  animation: idfStar 3s ease-in-out infinite;
}
@keyframes idfStar {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.2); }
}

/* Contour : dessin trait */
.idf__outline {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  transition: stroke-dashoffset 2.4s var(--ease-out);
}
.zone__fig.is-visible .idf__outline {
  stroke-dashoffset: 0;
}

/* ═══════════════════════════ ANIMATIONS GLOBALES ═══════════════════════════ */

/* Hero : entrée en cascade */
.hero__eyebrow { animation: heroIn .9s var(--ease-out) .2s both; }
.hero__title   { animation: heroIn 1.1s var(--ease-out) .35s both; }
.hero__lede    { animation: heroIn .9s var(--ease-out) .55s both; }
.hero__ctas    { animation: heroIn .9s var(--ease-out) .75s both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero dot actif : petit glow */
.hero__dots button.is-active {
  box-shadow: 0 0 0 4px rgba(200,32,44,.18);
}
.hero__dots button {
  background: rgba(255,255,255,.35);
  transition: background .35s var(--ease-out), width .45s var(--ease-out), box-shadow .35s var(--ease-out);
}
.hero__dots button.is-active { background: var(--accent); }

/* Soulignement progressif des h2 quand la section apparaît */
.activities__head h2,
.commit__head h2,
.works__head h2,
.certs__head h2,
.zone__title,
.present__title,
.faq__head h2 {
  display: inline-block;
  position: relative;
}
.activities__head h2::after,
.commit__head h2::after,
.works__head h2::after,
.certs__head h2::after,
.zone__title::after,
.present__title::after,
.faq__head h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -.45rem;
  height: 3px;
  width: 0;
  background: var(--accent);
  transition: width 1s var(--ease-out) .25s;
}
.activities__head.is-visible h2::after,
.commit__head.is-visible h2::after,
.works__head.is-visible h2::after,
.certs__head.is-visible h2::after,
.zone__text.is-visible .zone__title::after,
.present__left.is-visible .present__title::after,
.faq__head.is-visible h2::after {
  width: 72px;
}

/* Image zoom dans cards activités */
.activity__img {
  transition: transform .9s var(--ease-out);
  will-change: transform;
}
.activity:hover .activity__img { transform: scale(1.06); }
.activity {
  overflow: hidden; /* sinon le zoom dépasse */
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}

/* Pillar : icone qui tourne légèrement au hover */
.pillar svg {
  transition: transform .5s var(--ease-out), color .3s var(--ease-out);
}
.pillar:hover svg {
  transform: rotate(-6deg) scale(1.08);
  color: #fff;
}

/* Feature-work images : zoom doux au hover */
.feature-work__main {
  transition: transform .8s var(--ease-out);
}
.feature-work:hover .feature-work__main { transform: scale(1.03); }
.feature-work__main { will-change: transform; }
.feature-work__gallery { overflow: hidden; }

/* Link arrow : flèche qui glisse vers la droite */
.link-arrow::after {
  content: '';
}
.link-arrow {
  position: relative;
  transition: color .25s var(--ease-out), letter-spacing .25s var(--ease-out);
}
.link-arrow:hover { letter-spacing: .015em; }

/* Stats : compteur qui scale légèrement à l'apparition */
.stat.is-visible .stat__num {
  animation: statPop .8s var(--ease-out) both;
}
@keyframes statPop {
  0%   { transform: scale(.85); opacity: 0; }
  60%  { transform: scale(1.04); opacity: 1; }
  100% { transform: scale(1); }
}

/* Cert : flip subtil au hover */
.cert {
  transition: transform .4s var(--ease-out), border-color .3s var(--ease-out);
}
.cert:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.cert svg {
  transition: color .3s var(--ease-out), transform .4s var(--ease-out);
}
.cert:hover svg {
  color: var(--accent);
  transform: scale(1.1);
}

/* Nav links : underline fluide déjà là, on rend bouton CTA plus vivant */
.nav__cta {
  transition: background .25s var(--ease-out), transform .15s var(--ease-out), box-shadow .25s var(--ease-out);
}
.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(200,32,44,.5);
}
.nav__cta:active { transform: scale(.97); }

/* Logo nav : léger float sur hover */
.nav__brand {
  transition: transform .25s var(--ease-out);
}
.nav__brand:hover { transform: translateY(-1px); }
.brand-mark {
  transition: transform .4s var(--ease-out);
}
.nav__brand:hover .brand-mark { transform: rotate(-4deg); }

/* FAQ : icône + qui tourne en × quand ouvert */
.faq__item summary,
.faq__item h3 {
  transition: color .25s var(--ease-out);
}

/* Smooth scroll réactivé */
html { scroll-behavior: smooth; }

/* ═══════════════════════════ TÉMOIGNAGES — Marquee infini ═══════════════════════════ */
.testimonials {
  padding: var(--section-y) 0;
  background: linear-gradient(180deg, #fff 0%, var(--off) 100%);
  overflow: hidden;
}
.testimonials__head {
  max-width: var(--container);
  margin: 0 auto 3rem;
  padding: 0 var(--gutter);
  text-align: center;
}
.testimonials__head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  display: inline-block;
  position: relative;
}

.testimonials__track-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.testimonials__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: tmMarquee 60s linear infinite;
  padding: 1rem 0;
}
.testimonials__track:hover { animation-play-state: paused; }

@keyframes tmMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.quote {
  flex: 0 0 380px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out);
}
.quote:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.quote__mark {
  width: 38px;
  height: 38px;
  color: var(--accent);
  opacity: .85;
}
.quote p {
  font-family: var(--display);
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: -.005em;
}
.quote__role {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

@media (max-width: 640px) {
  .quote { flex-basis: 300px; padding: 1.5rem 1.25rem; }
  .quote p { font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .testimonials__track { animation: none; transform: translateX(0); }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — breakpoints additionnels
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .rec-jobs__grid { grid-template-columns: repeat(2, 1fr); }
  .feature-work { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature-work__gallery { order: -1; }
}

@media (max-width: 800px) {
  :root {
    --section-y: clamp(3rem, 8vw, 5rem);
    --gutter: clamp(1rem, 4vw, 1.5rem);
  }
  .hero { min-height: 88vh; }
  .hero__frame { padding: 5rem var(--gutter) 4rem; }
  .hero__title { font-size: clamp(2rem, 9vw, 3.4rem); }
  .hero__lede { font-size: 1rem; }
  .intro__tagline { font-size: clamp(1.25rem, 5vw, 1.8rem); }
  .present__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .present__stats { grid-template-columns: 1fr 1fr; }
  .activities__grid { grid-template-columns: 1fr 1fr; }
  .commit__grid { grid-template-columns: 1fr; }
  .certs__grid { grid-template-columns: repeat(2, 1fr); }
  .zone__inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .zone__inner .kicker { display: inline-flex; }
  .rec-jobs__grid { grid-template-columns: 1fr; }
  .rec-why__grid { grid-template-columns: 1fr 1fr; }
  .rec-process__steps { grid-template-columns: 1fr 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .quote { flex-basis: 320px; }
}

@media (max-width: 560px) {
  :root { --gutter: 1.1rem; }
  .hero { min-height: 92vh; }
  .hero__title { font-size: clamp(2rem, 11vw, 2.8rem); line-height: 1.05; }
  .hero__eyebrow { font-size: .65rem; gap: .5rem; margin-bottom: 1.25rem; }
  .hero__eyebrow::before { width: 22px; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: .75rem; }
  .hero__ctas .btn { justify-content: center; width: 100%; }
  .hero__dots { bottom: 1.2rem; }
  .intro { padding: 3rem var(--gutter); }
  .intro__tagline { font-size: 1.25rem; line-height: 1.35; }
  .present__stats { grid-template-columns: 1fr; gap: 1rem; }
  .stat { padding: 1.5rem 1.25rem; }
  .stat__num { font-size: 2.4rem; }
  .activities__grid { grid-template-columns: 1fr; }
  .certs__grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .testimonials__head h2,
  .activities__head h2,
  .commit__head h2,
  .works__head h2,
  .zone__title,
  .present__title,
  .certs__head h2,
  .faq__head h2 { font-size: clamp(1.6rem, 7vw, 2rem); line-height: 1.15; }
  .quote { flex-basis: 280px; padding: 1.5rem 1.25rem; }
  .quote p { font-size: .92rem; }
  .feature-work__body { padding: 1.5rem 0; }
  .feature-work__credits { grid-template-columns: 1fr; }
  .rec-why__grid { grid-template-columns: 1fr; }
  .rec-process__steps { grid-template-columns: 1fr; gap: 1rem; }
  .rec-process__steps::before { display: none; }
  .rec-apply__form { padding: 1.5rem 1.25rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; gap: .5rem; text-align: center; }
  .nav__inner { padding: .75rem var(--gutter); gap: .75rem; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: .95rem; }
  .brand-sub { font-size: .6rem; }
  .nav__cta { padding: .5rem 1rem; font-size: .8rem; }
}

/* Burger nav — déjà géré jusqu'à 960px, on étend ↑ */
@media (max-width: 960px) {
  .nav__menu { z-index: 90; }
}

/* Empêche overflow horizontal sur mobile */
@media (max-width: 800px) {
  body { overflow-x: hidden; }
  section, .feature-work, .rec-apply__inner { max-width: 100vw; }
}

/* ═══════════════════════════════════════════════════════════════
   MODAL — Demande de devis
   ═══════════════════════════════════════════════════════════════ */
.devis-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.devis-modal.is-open {
  display: flex;
  animation: dvFade .25s var(--ease-out);
}
@keyframes dvFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.devis-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 13, .65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.devis-modal__panel {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--radius);
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow-y: auto;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.5);
  transform: scale(.96) translateY(8px);
  animation: dvSlide .35s var(--ease-out) forwards;
}
@keyframes dvSlide {
  to { transform: scale(1) translateY(0); }
}

.devis-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--off);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s var(--ease-out), color .2s var(--ease-out), transform .15s var(--ease-out);
  z-index: 2;
}
.devis-modal__close:hover { background: var(--accent); color: #fff; }
.devis-modal__close:active { transform: scale(.92); }

.devis-modal__head {
  margin-bottom: 1.5rem;
  padding-right: 3rem;
}
.devis-modal__head h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 .5rem;
  line-height: 1.15;
}
.devis-modal__head p {
  margin: 0;
  font-size: .95rem;
  color: var(--ink-muted);
}

.devis-modal__form .field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1rem;
}
.devis-modal__form .field label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy);
}
.devis-modal__form .field label em {
  color: var(--accent);
  font-style: normal;
}
.devis-modal__form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.devis-modal__form input,
.devis-modal__form select,
.devis-modal__form textarea {
  font-family: var(--sans);
  font-size: .95rem;
  padding: .8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
  width: 100%;
}
.devis-modal__form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 49%, var(--ink) 49%, var(--ink) 51%, transparent 51%),
                    linear-gradient(-45deg, transparent 49%, var(--ink) 49%, var(--ink) 51%, transparent 51%);
  background-size: 6px 6px;
  background-position: calc(100% - 16px) 55%, calc(100% - 10px) 55%;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.devis-modal__form input:focus,
.devis-modal__form select:focus,
.devis-modal__form textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,32,44,.12);
}
.devis-modal__form textarea { resize: vertical; min-height: 90px; }
.devis-modal__form .check { margin: .5rem 0 1rem; font-size: .85rem; }

@media (max-width: 560px) {
  .devis-modal { padding: 0; align-items: flex-end; }
  .devis-modal__panel {
    max-height: 95vh;
    max-width: 100%;
    border-radius: 12px 12px 0 0;
    padding: 1.75rem 1.25rem 1.25rem;
  }
  .devis-modal__form .field-row { grid-template-columns: 1fr; gap: 0; }
}
