/* ==========================================================================
   EL GHARB SPOT — main.css
   Direction artistique « Warm Modern »
   Vert profond #01623B · Or chaud #DABF70 · Ivoire chaud
   Typographie : Outfit (titres) + Inter (texte)
   ========================================================================== */

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--egs-header-h, 84px) + 14px);
  overflow-x: hidden;
}

body {
  font-family: var(--egs-font, 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--egs-text, #1B2A23);
  background: var(--egs-bg, #FBF8F2);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

img,
svg,
video { display: block; max-width: 100%; height: auto; }

[hidden] { display: none !important; }

input,
button,
textarea,
select { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: 0; padding: 0; }

a { color: inherit; text-decoration: none; }

ul,
ol { list-style: none; padding: 0; }

:where(section, article) { position: relative; }

::selection { background: rgba(var(--egs-secondary-rgb, 218, 191, 112), .45); color: #0C1F16; }

:focus-visible {
  outline: 2px solid var(--egs-primary, #01623B);
  outline-offset: 4px;
  border-radius: var(--egs-radius-sm, 10px);
}

.egs-skip {
  position: fixed;
  top: -70px;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--egs-primary, #01623B);
  color: #fff;
  font-size: .875rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: top .2s ease;
}
.egs-skip:focus { top: 16px; }

/* ---------- Layout ---------- */
.egs-container {
  width: 100%;
  max-width: var(--egs-maxw, 1240px);
  margin-inline: auto;
  padding-inline: 28px;
}

.egs-container--narrow { max-width: 820px; }

.section,
.egs-section { padding-block: clamp(76px, 9vw, 132px); }

.section--tint { background: var(--egs-surface, #F1EADB); }

.section--dark {
  background: var(--egs-primary, #01623B);
  color: #F6F1E6;
}
.section--dark .egs-h2,
.section--dark .egs-head__text { color: #FBF8F2; }
.section--dark .egs-kicker { color: var(--egs-secondary, #DABF70); }
.section--dark .egs-kicker::before { background: var(--egs-secondary, #DABF70); }

.egs-main { display: block; }

/* ---------- Typography ---------- */
.egs-h1,
.egs-h2,
.egs-hero__title,
.egs-cta__title,
.egs-signature__title,
.egs-pagehero .egs-h1 {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.egs-h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }

.egs-h2 {
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  color: var(--egs-text, #1B2A23);
}

.egs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--egs-primary, #01623B);
}
.egs-kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--egs-secondary, #DABF70);
}
.egs-kicker--light { color: var(--egs-secondary, #DABF70); }
.egs-kicker--light::before { background: var(--egs-secondary, #DABF70); }

.egs-head {
  max-width: 720px;
  display: grid;
  gap: 18px;
  margin-bottom: clamp(44px, 5vw, 68px);
}
.egs-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.egs-head--left { text-align: left; }

.egs-head__text {
  font-size: 1.05rem;
  color: var(--egs-muted, #5F6E66);
  max-width: 62ch;
}

.egs-prose { color: var(--egs-muted, #5F6E66); }
.egs-prose p + p { margin-top: 1em; }
.egs-prose h2,
.egs-prose h3 {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-weight: 500;
  color: var(--egs-text, #1B2A23);
  margin-block: 1.4em .5em;
}
.egs-prose a { color: var(--egs-primary, #01623B); text-decoration: underline; text-underline-offset: 3px; }
.egs-prose--lead { font-size: 1.08rem; color: var(--egs-text, #1B2A23); }
.egs-prose--center { text-align: center; max-width: 760px; margin-inline: auto; }

/* ---------- Buttons ---------- */
.egs-btn {
  --btn-bg: var(--egs-primary, #01623B);
  --btn-fg: #FFFFFF;
  --btn-bd: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 26px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--egs-radius-sm, 10px);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--egs-font, 'Inter', sans-serif);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.egs-btn:hover { transform: translateY(-2px); }

.egs-btn__arrow {
  display: inline-flex;
  transition: transform .25s ease;
}
.egs-btn:hover .egs-btn__arrow { transform: translateX(4px); }

.egs-btn--primary { --btn-bg: var(--egs-primary, #01623B); --btn-fg: #FFFFFF; }
.egs-btn--primary:hover { --btn-bg: #014C2E; }

.egs-btn--accent { --btn-bg: var(--egs-secondary, #DABF70); --btn-fg: #12291D; }
.egs-btn--accent:hover { --btn-bg: var(--egs-accent-hover, #C8AD5C); }

.egs-btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--egs-primary, #01623B);
  --btn-bd: rgba(1, 98, 59, .35);
}
.egs-btn--outline:hover {
  --btn-bg: var(--egs-primary, #01623B);
  --btn-fg: #FFFFFF;
  --btn-bd: var(--egs-primary, #01623B);
}

.egs-btn--light { --btn-bg: #FBF8F2; --btn-fg: #12291D; }
.egs-btn--light:hover { --btn-bg: var(--egs-secondary, #DABF70); }

.egs-btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #FBF8F2;
  --btn-bd: rgba(251, 248, 242, .35);
}
.egs-btn--ghost-light:hover { --btn-bd: #FBF8F2; --btn-bg: rgba(251, 248, 242, .08); }

.egs-btn--sm { padding: 11px 18px; font-size: .7rem; }
.egs-btn--lg { padding: 18px 32px; }

/* ---------- Progress bar ---------- */
.egs-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 200;
  background: transparent;
}
.egs-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--egs-primary, #01623B), var(--egs-secondary, #DABF70));
}

/* ---------- Header ---------- */
.egs-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 150;
  background: rgba(251, 248, 242, .96);
  border-bottom: 1px solid rgba(27, 42, 35, .1);
  transition: background .3s ease, box-shadow .3s ease;
}
.egs-header.is-scrolled {
  background: #FBF8F2;
  border-bottom-color: rgba(27, 42, 35, .14);
}

.egs-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 48px);
  min-height: var(--egs-header-h, 78px);
}

.egs-header__brand { display: flex; align-items: center; flex: none; }

.egs-header__logo-img {
  max-height: min(var(--egs-header-logo-pc, 46px), calc(var(--egs-header-h, 84px) - 18px));
  width: auto;
}

.egs-header__logo--top,
.egs-header__fallback.egs-header__logo--top { display: none; }

.egs-header__fallback {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  line-height: 1;
}
.egs-header__mark {
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--egs-primary, #01623B);
}
.egs-header__name {
  font-family: var(--egs-font, 'Inter', sans-serif);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--egs-muted, #5F6E66);
  white-space: nowrap;
}

.egs-nav { display: flex; align-items: center; gap: 24px; }

.egs-nav__list { display: flex; align-items: center; gap: 22px; }
.egs-nav__list > li > a {
  position: relative;
  display: inline-block;
  padding-block: 8px;
  font-size: .71rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--egs-text, #1B2A23);
  white-space: nowrap;
  transition: color .2s ease;
}
.egs-nav__list > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--egs-secondary, #DABF70);
  transition: width .3s ease;
}
.egs-nav__list > li > a:hover::after,
.egs-nav__list > li.current-menu-item > a::after { width: 100%; }
.egs-nav__list > li.current-menu-item > a { color: var(--egs-primary, #01623B); }

.egs-nav .sub-menu {
  position: absolute;
  min-width: 230px;
  padding: 12px;
  margin-top: 10px;
  background: #FBF8F2;
  border: 1px solid rgba(27, 42, 35, .1);
  border-radius: var(--egs-radius-sm, 10px);
  box-shadow: 0 12px 28px -26px rgba(1, 50, 30, .38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.egs-nav__list > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.egs-nav .sub-menu a {
  display: block;
  padding: 9px 12px;
  font-size: .82rem;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--egs-muted, #5F6E66);
}
.egs-nav .sub-menu a:hover { color: var(--egs-primary, #01623B); background: rgba(1, 98, 59, .05); }

.egs-nav__cta { display: none; }

/* Éléments réservés au menu latéral (mobile) */
.egs-nav__brand,
.egs-nav__footer { display: none; }

.egs-header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.egs-header__cta { display: flex; margin-left: 4px; }
.egs-header__cta .egs-btn { padding: 12px 20px; }

@media (min-width: 1181px) {
  .egs-nav { flex: 1; justify-content: center; }
}

.egs-burger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
}
.egs-burger span {
  display: block;
  height: 1.5px;
  background: var(--egs-primary, #01623B);
  transition: transform .3s ease, opacity .3s ease;
}
.egs-burger.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.egs-burger.is-active span:nth-child(2) { opacity: 0; }
.egs-burger.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.egs-header__line { display: none; }

.egs-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(9, 26, 18, .5);
  backdrop-filter: blur(3px);
}

/* ---------- Hero (poster éditorial : texte sur ivoire + panneau vert) ---------- */
.egs-hero {
  position: relative;
  --hero-gutter: max(28px, calc((100vw - 1240px) / 2 + 28px));
  min-height: min(88vh, 820px);
  margin-top: var(--egs-header-h, 84px);
  background: var(--egs-bg, #FBF8F2);
  color: var(--egs-text, #1B2A23);
  overflow: hidden;
  border-bottom: 1px solid rgba(27, 42, 35, .1);
}

.egs-hero__track { position: relative; min-height: inherit; }

.egs-hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility .9s;
}
.egs-hero__slide.is-active { opacity: 1; visibility: visible; }

.egs-hero__media { position: absolute; inset: 0 0 0 50%; }
.egs-hero__media {
  background:
    radial-gradient(110% 80% at 82% 8%, rgba(10, 122, 75, .9) 0%, rgba(11, 31, 22, 0) 58%),
    radial-gradient(90% 70% at 6% 96%, rgba(218, 191, 112, .18) 0%, rgba(11, 31, 22, 0) 60%),
    linear-gradient(200deg, #0E2A1D 0%, #0B1F16 100%);
}
.egs-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(251, 248, 242, .06) 1px, transparent 1px);
  background-size: 100% 64px;
  opacity: .6;
  pointer-events: none;
}
.egs-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 22, 15, .55) 0%, rgba(7, 22, 15, .15) 45%, rgba(7, 22, 15, .75) 100%);
}
.egs-hero__img,
.egs-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.egs-hero__video { border: 0; }

.egs-hero__inner {
  position: relative;
  z-index: 2;
  max-width: none;
  margin: 0;
  padding-block: clamp(56px, 9vh, 110px);
  padding-left: var(--hero-gutter, 28px);
  padding-right: 28px;
  display: flex;
  align-items: center;
}

.egs-hero__copy {
  max-width: calc(50vw - var(--hero-gutter, 28px) - 48px);
  min-width: 0;
  display: grid;
  gap: 22px;
  padding-right: 0;
  color: var(--egs-text, #1B2A23);
}

.egs-hero__kicker {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--egs-primary, #01623B);
}

.egs-hero__title {
  font-size: clamp(2.3rem, 4.9vw, 4.4rem);
  font-weight: 600;
  color: var(--egs-text, #1B2A23);
  max-width: 15ch;
}

.egs-hero__text {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--egs-muted, #5F6E66);
  max-width: 48ch;
}

.egs-hero__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
  max-width: 480px;
}
.egs-hero__actions .egs-btn {
  width: 100%;
  padding: 16px 20px;
  font-size: .72rem;
  letter-spacing: .1em;
  white-space: nowrap;
}

/* Sur fond ivoire : le bouton "light" devient contour */
.egs-hero .egs-btn--light {
  --btn-bg: transparent;
  --btn-fg: var(--egs-primary, #01623B);
  --btn-bd: rgba(1, 98, 59, .35);
}
.egs-hero .egs-btn--light:hover {
  --btn-bg: var(--egs-primary, #01623B);
  --btn-fg: #FBF8F2;
  --btn-bd: var(--egs-primary, #01623B);
}

.egs-hero__controls {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 4vw, 54px);
  bottom: clamp(20px, 4vw, 40px);
  top: auto;
  transform: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  width: auto;
  max-width: none;
  padding-inline: 0;
  margin: 0;
}
.egs-hero__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(251, 248, 242, .35);
  border-radius: 50%;
  color: #FBF8F2;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.egs-hero__arrow:hover { background: var(--egs-secondary, #DABF70); color: #12291D; border-color: transparent; }

.egs-hero__dots { display: none; }

.egs-hero__scroll {
  position: absolute;
  right: 28px;
  bottom: 34px;
  z-index: 3;
  display: none;
}
.egs-hero__scroll-line {
  display: block;
  width: 1px;
  height: 54px;
  background: linear-gradient(180deg, transparent, var(--egs-secondary, #DABF70));
}

/* ---------- Signature (bandeau éditorial asymétrique) ---------- */
.egs-signature {
  padding-block: clamp(64px, 8vw, 112px);
  background: var(--egs-bg, #FBF8F2);
  border-bottom: 1px solid rgba(27, 42, 35, .1);
}

.egs-signature__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.egs-signature__main { display: grid; gap: 0; }

.egs-signature__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--egs-primary, #01623B);
}
.egs-signature__label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--egs-secondary, #DABF70);
}

.egs-signature__title {
  margin-top: 20px;
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: clamp(1.9rem, 3.5vw, 3.05rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--egs-text, #1B2A23);
  max-width: 22ch;
  text-wrap: balance;
}

.egs-signature__text {
  margin-top: 20px;
  max-width: 54ch;
  color: var(--egs-muted, #5F6E66);
  font-size: 1.02rem;
}

.egs-signature__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.egs-signature__tags li {
  padding: 7px 14px;
  border: 1px solid rgba(1, 98, 59, .2);
  border-radius: var(--egs-radius-sm, 10px);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--egs-primary, #01623B);
}

/* ---------- Chiffres clés (colonne droite) ---------- */
.egs-signature__aside {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(27, 42, 35, .14);
  border-left: 1px solid rgba(27, 42, 35, .14);
}
.egs-stat {
  display: grid;
  gap: 6px;
  padding: 26px 20px;
  border-right: 1px solid rgba(27, 42, 35, .14);
  border-bottom: 1px solid rgba(27, 42, 35, .14);
}
.egs-stat__value {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--egs-primary, #01623B);
}
.egs-stat__label {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--egs-muted, #5F6E66);
}

/* ---------- About ---------- */
.egs-about__grid {
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.egs-about__copy { order: 1; min-width: 0; }
.egs-about__media { order: 2; min-width: 0; }

.egs-about__media { position: relative; }

.egs-about__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--egs-radius-sm, 10px);
}
.egs-about__img--ph {
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(1, 98, 59, .12), rgba(218, 191, 112, .28));
  color: var(--egs-primary, #01623B);
}
.egs-about__ph-icon { display: grid; place-items: center; }

.egs-about__media::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1px solid var(--egs-secondary, #DABF70);
  border-radius: var(--egs-radius-sm, 10px);
  z-index: -1;
}

.egs-about__copy { display: grid; gap: 22px; }
.egs-about__text { color: var(--egs-muted, #5F6E66); max-width: 56ch; }

.egs-about__points { display: grid; gap: 14px; }
.egs-about__points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(27, 42, 35, .08);
  font-size: .95rem;
}
.egs-about__points li svg { color: var(--egs-secondary, #DABF70); flex: none; margin-top: 3px; }

.egs-about__actions { margin-top: 6px; }

/* ---------- Mot du directeur ---------- */
.egs-ceo {
  padding-block: clamp(76px, 9vw, 132px);
  background: var(--egs-bg, #FBF8F2);
  border-top: 1px solid rgba(27, 42, 35, .1);
}

.egs-ceo__grid {
  display: grid;
  grid-template-columns: .72fr 1fr;
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
}

.egs-ceo__media { position: relative; }

.egs-ceo__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: contain;
  object-position: center;
  border-radius: var(--egs-radius, 16px);
  background: rgba(1, 98, 59, .04);
}
.egs-ceo__img--ph {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  height: auto;
  background: linear-gradient(155deg, #0A7A4B 0%, #014C2E 60%, #0B1F16 100%);
  color: var(--egs-secondary, #DABF70);
}
.egs-ceo__initials {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: clamp(3rem, 5vw, 4.4rem);
  font-weight: 600;
  letter-spacing: .06em;
}

.egs-ceo__media::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1px solid var(--egs-secondary, #DABF70);
  border-radius: calc(var(--egs-radius, 16px) + 6px);
  z-index: -1;
}

.egs-ceo__copy { display: grid; gap: 20px; }

.egs-ceo__quote {
  position: relative;
  margin: 0;
  padding-top: 40px;
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--egs-text, #1B2A23);
  text-wrap: pretty;
}
.egs-ceo__quote::before {
  content: "“";
  position: absolute;
  top: -4px;
  left: -8px;
  font-size: 3.6rem;
  line-height: 1;
  color: var(--egs-secondary, #DABF70);
}

.egs-ceo__text { color: var(--egs-muted, #5F6E66); max-width: 58ch; }

.egs-ceo__sign {
  display: grid;
  gap: 4px;
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px solid rgba(27, 42, 35, .14);
  max-width: 300px;
}
.egs-ceo__name {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--egs-text, #1B2A23);
}
.egs-ceo__role {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--egs-primary, #01623B);
}

/* ---------- Services (lignes éditoriales numérotées) ---------- */
.egs-svc-grid {
  display: block;
  counter-reset: svc;
  border-top: 1px solid rgba(27, 42, 35, .14);
}

.egs-svc {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1.1fr) minmax(0, .9fr) 44px;
  grid-template-areas: "icon title text link";
  align-items: center;
  gap: 0 clamp(18px, 2.5vw, 34px);
  padding: 28px 0 28px 92px;
  border-bottom: 1px solid rgba(27, 42, 35, .14);
  counter-increment: svc;
  transition: background .3s ease, padding-left .3s ease;
}
.egs-svc::before {
  content: counter(svc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: .04em;
  color: rgba(1, 98, 59, .32);
  transition: color .3s ease;
}
.egs-svc:hover { background: rgba(218, 191, 112, .16); padding-left: 104px; }
.egs-svc:hover::before { color: var(--egs-primary, #01623B); }

.egs-svc__icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(1, 98, 59, .22);
  border-radius: 50%;
  color: var(--egs-primary, #01623B);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.egs-svc:hover .egs-svc__icon {
  background: var(--egs-primary, #01623B);
  border-color: var(--egs-primary, #01623B);
  color: #FBF8F2;
}

.egs-svc__title {
  grid-area: title;
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.34rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.22;
}
.egs-svc__text { grid-area: text; color: var(--egs-muted, #5F6E66); font-size: .9rem; margin: 0; }
.egs-svc__link {
  grid-area: link;
  justify-self: end;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  border: 1px solid rgba(1, 98, 59, .25);
  border-radius: 50%;
  color: var(--egs-primary, #01623B);
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.egs-svc__link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.egs-svc__link:hover { background: var(--egs-secondary, #DABF70); color: #12291D; transform: translateX(3px); }

.egs-section-cta {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
  text-align: center;
}

/* ---------- Pôles ---------- */
.egs-poles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.egs-pole:nth-child(1),
.egs-pole:nth-child(4) { grid-column: span 2; }

.egs-pole {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  padding: 26px;
  background: #0E1F17;
  color: #FBF8F2;
  border-radius: var(--egs-radius-sm, 10px);
  overflow: hidden;
  isolation: isolate;
}
.egs-pole__media { position: absolute; inset: 0; z-index: -1; }
.egs-pole__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 26, 18, .15) 0%, rgba(9, 26, 18, .9) 78%);
  transition: background .4s ease;
}
.egs-pole__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.egs-pole__img--ph { background: linear-gradient(160deg, #0A7A4B, #014C2E); }
.egs-pole:hover .egs-pole__img { transform: scale(1.06); }

.egs-pole__body { display: grid; gap: 10px; }
.egs-pole__title {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
}
.egs-pole__text { font-size: .86rem; color: rgba(251, 248, 242, .78); }
.egs-pole__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-top: 8px;
  border: 1px solid rgba(218, 191, 112, .6);
  border-radius: 50%;
  color: var(--egs-secondary, #DABF70);
  transition: background .3s ease, color .3s ease;
}
.egs-pole:hover .egs-pole__go { background: var(--egs-secondary, #DABF70); color: #12291D; }

/* ---------- Gallery grid ---------- */
.egs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.egs-grid--preview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.egs-grid--gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
}
.egs-grid__empty,
.egs-empty {
  grid-column: 1 / -1;
  padding: 48px 24px;
  text-align: center;
  color: var(--egs-muted, #5F6E66);
  border: 1px dashed rgba(27, 42, 35, .2);
}
.egs-grid__more { grid-column: 1 / -1; display: grid; justify-items: center; margin-top: 20px; }

.egs-gitem { position: relative; border-radius: var(--egs-radius-sm, 10px); overflow: hidden; }
.egs-gitem__media { position: relative; height: 100%; min-height: 260px; }

.egs-gitem__img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform .8s ease;
}
.egs-gitem:hover .egs-gitem__img { transform: scale(1.05); }
.egs-gitem__img--ph {
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(1, 98, 59, .5), rgba(218, 191, 112, .4));
  color: #FBF8F2;
}

.egs-gitem__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 22, 15, .82) 100%);
  opacity: .9;
  transition: opacity .3s ease;
}
.egs-gitem:hover .egs-gitem__shade { opacity: 1; }

.egs-gitem__cap {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 5px;
  padding: 22px;
  color: #FBF8F2;
}
.egs-gitem__title {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.25;
}
.egs-gitem__cat {
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--egs-secondary, #DABF70);
}

.egs-gitem__play {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(251, 248, 242, .92);
  color: var(--egs-primary, #01623B);
  transition: transform .3s ease, background .3s ease;
}
.egs-gitem:hover .egs-gitem__play { transform: scale(1.08); background: var(--egs-secondary, #DABF70); }

.egs-gitem__info {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(7, 22, 15, .45);
  color: #FBF8F2;
  opacity: 0;
  transition: opacity .25s ease, background .25s ease;
}
.egs-gitem:hover .egs-gitem__info { opacity: 1; }
.egs-gitem__info:hover { background: var(--egs-secondary, #DABF70); color: #12291D; }

.egs-gitem--portrait .egs-gitem__media,
.egs-gitem--portrait .egs-gitem__img { min-height: 420px; }
.egs-gitem--wide { grid-column: span 2; }
.egs-gitem--tall .egs-gitem__media,
.egs-gitem--tall .egs-gitem__img { min-height: 520px; }

/* ---------- Filters ---------- */
.egs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.egs-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(27, 42, 35, .16);
  border-radius: var(--egs-radius-sm, 10px);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--egs-muted, #5F6E66);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.egs-chip:hover { border-color: var(--egs-primary, #01623B); color: var(--egs-primary, #01623B); }
.egs-chip.is-active {
  background: var(--egs-primary, #01623B);
  border-color: var(--egs-primary, #01623B);
  color: #FBF8F2;
}
.egs-chip__count { font-size: .66rem; opacity: .65; }

.egs-projet-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.egs-projet-bar__clear {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--egs-primary, #01623B);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Off-canvas ---------- */
.egs-offc { position: fixed; inset: 0; z-index: 400; }
.egs-offc__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 22, 15, .62);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .35s ease;
}
.egs-offc.is-on .egs-offc__backdrop { opacity: 1; }

.egs-offc__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(560px, 100%);
  background: var(--egs-bg, #FBF8F2);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
  border-left: 1px solid rgba(218, 191, 112, .5);
}
.egs-offc.is-on .egs-offc__panel { transform: none; }

.egs-offc__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(251, 248, 242, .92);
  color: var(--egs-text, #1B2A23);
}

.egs-offc__media { background: #0E1F17; }
.egs-offc__media img,
.egs-offc__media video,
.egs-offc__media iframe {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 0;
}

.egs-offc__body { display: grid; gap: 16px; padding: 32px; }
.egs-offc__kicker {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--egs-primary, #01623B);
}
.egs-offc__title {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.15;
}
.egs-offc__client { display: flex; align-items: center; gap: 12px; }
.egs-offc__logo { max-height: 40px; width: auto; }
.egs-offc__clientname { font-size: .82rem; letter-spacing: .06em; color: var(--egs-muted, #5F6E66); }
.egs-offc__desc { color: var(--egs-muted, #5F6E66); }
.egs-offc__actions { margin-top: 8px; }

/* ---------- Méthode ---------- */
.egs-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(27, 42, 35, .14);
}
.egs-step {
  position: relative;
  padding: 30px 22px 0 0;
}
.egs-step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--egs-secondary, #DABF70);
  border-radius: 50%;
}
.egs-step__num {
  display: block;
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: 2.4rem;
  line-height: 1;
  color: rgba(1, 98, 59, .18);
  margin-bottom: 14px;
}
.egs-step__title {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.egs-step__text { font-size: .9rem; color: var(--egs-muted, #5F6E66); }

/* ---------- Atouts : manifeste (bande sombre) ---------- */
.egs-manifesto {
  background: var(--egs-primary, #01623B);
  color: #FBF8F2;
  padding-block: clamp(72px, 9vw, 124px);
}
.egs-manifesto__head {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 66px);
}
.egs-manifesto__title {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #FBF8F2;
  text-wrap: balance;
}

.egs-manifesto__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(251, 248, 242, .2);
}
.egs-manifesto__item {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 28px 24px 30px;
  border-right: 1px solid rgba(251, 248, 242, .16);
}
.egs-manifesto__item:first-child { padding-left: 0; }
.egs-manifesto__item:last-child { border-right: 0; padding-right: 0; }

.egs-manifesto__num {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--egs-secondary, #DABF70);
}
.egs-manifesto__text {
  font-size: .94rem;
  line-height: 1.6;
  color: rgba(251, 248, 242, .82);
}

.egs-manifesto__foot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid rgba(251, 248, 242, .2);
}
.egs-manifesto__mv { display: grid; gap: 10px; }
.egs-manifesto__mv-label {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--egs-secondary, #DABF70);
}
.egs-manifesto__mv p {
  font-size: .98rem;
  line-height: 1.65;
  color: rgba(251, 248, 242, .82);
  max-width: 46ch;
}

/* ---------- Bande références ---------- */
.egs-refs-band {
  padding-block: clamp(38px, 4vw, 54px);
  background: var(--egs-bg, #FBF8F2);
  border-bottom: 1px solid rgba(27, 42, 35, .1);
}
.egs-refs-band__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--egs-muted, #5F6E66);
  margin-bottom: 26px;
  text-align: center;
}

.egs-mv,
.egs-mission {
  padding: 30px;
  border: 1px solid rgba(1, 98, 59, .16);
  border-radius: var(--egs-radius-sm, 10px);
  background: rgba(251, 248, 242, .6);
  display: grid;
  gap: 10px;
}
.egs-mv--alt,
.egs-mission--alt {
  background: var(--egs-primary, #01623B);
  border-color: var(--egs-primary, #01623B);
  color: #FBF8F2;
}
.egs-mv--alt p,
.egs-mission--alt p { color: rgba(251, 248, 242, .8); }
.egs-mv--alt h3,
.egs-mission--alt h3 { color: #FBF8F2; }

.egs-mv__icon,
.egs-mission__icon {
  display: inline-flex;
  color: var(--egs-secondary, #DABF70);
}
.egs-mv__title,
.egs-mission h3 {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.25rem;
  font-weight: 600;
}
.egs-mission p { font-size: .94rem; color: var(--egs-muted, #5F6E66); }

.egs-mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

/* ---------- Marquee ---------- */
.egs-marquee {
  margin-top: clamp(44px, 5vw, 72px);
  padding-block: 34px;
  border-top: 1px solid rgba(27, 42, 35, .12);
}
.egs-marquee__label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--egs-muted, #5F6E66);
  margin-bottom: 24px;
  text-align: center;
}
.egs-marquee__viewport { overflow: hidden; }
.egs-marquee__track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: egs-marquee 42s linear infinite;
}
.egs-marquee:hover .egs-marquee__track { animation-play-state: paused; }
.egs-marquee__item { display: flex; align-items: center; }
.egs-marquee__link { display: inline-flex; align-items: center; }
.egs-marquee__link img {
  max-height: 46px;
  width: auto;
  opacity: .55;
  filter: grayscale(1);
  transition: opacity .25s ease, filter .25s ease;
}
.egs-marquee__link:hover img { opacity: 1; filter: none; }
.egs-marquee__name {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.15rem;
  color: rgba(27, 42, 35, .45);
}

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

/* ---------- CTA band ---------- */
.egs-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 108px);
  background: linear-gradient(135deg, #01623B 0%, #014C2E 62%, #013A23 100%);
  color: #FBF8F2;
}

.egs-cta__glow {
  position: absolute;
  top: -45%;
  right: -12%;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(218, 191, 112, .3), transparent 68%);
  pointer-events: none;
  animation: egs-cta-drift 18s ease-in-out infinite alternate;
}
@keyframes egs-cta-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-64px, 44px, 0) scale(1.16); }
}

.egs-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4vw, 68px);
  align-items: center;
}

.egs-cta__copy { display: grid; gap: 16px; }

.egs-cta__title {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.08;
  color: #FBF8F2;
}
.egs-cta__title span {
  display: inline-block;
  color: var(--egs-secondary, #DABF70);
}

.egs-cta__side { display: grid; gap: 20px; justify-items: start; }
.egs-cta__text {
  color: rgba(251, 248, 242, .8);
  font-size: .98rem;
  max-width: 48ch;
}
.egs-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.egs-cta__actions .egs-btn { flex: 1 1 0; min-width: 210px; justify-content: space-between; }

.egs-cta__rule {
  position: relative;
  z-index: 1;
  display: block;
  height: 1px;
  margin-top: clamp(34px, 4vw, 56px);
  background: linear-gradient(90deg, var(--egs-secondary, #DABF70), rgba(218, 191, 112, 0));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s cubic-bezier(.22, .61, .36, 1) .15s;
}
.egs-cta.is-in .egs-cta__rule { transform: scaleX(1); }

@media (max-width: 860px) {
  .egs-cta__inner { grid-template-columns: 1fr; }
  .egs-cta__side { justify-items: stretch; }
  .egs-cta__actions { flex-direction: column; }
  .egs-cta__actions .egs-btn { width: 100%; justify-content: center; }
}

/* ---------- Footer ---------- */
.egs-footer {
  background: #0B1F16;
  color: rgba(251, 248, 242, .72);
  padding-top: clamp(56px, 7vw, 90px);
}
.egs-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.egs-footer__logo-img { max-height: var(--egs-footer-logo-pc, 56px); width: auto; }
.egs-footer__fallback {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
}
.egs-footer__fallback .egs-header__mark { color: var(--egs-secondary, #DABF70); }
.egs-footer__fallback .egs-header__name { color: rgba(251, 248, 242, .6); }

.egs-footer__tagline {
  margin-top: 20px;
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.18rem;
  line-height: 1.3;
  color: #FBF8F2;
}
.egs-footer__desc {
  margin-top: 12px;
  font-size: .88rem;
  max-width: 42ch;
}

.egs-footer__title {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--egs-secondary, #DABF70);
  margin-bottom: 20px;
}

.egs-footer__menu { display: grid; gap: 10px; }
.egs-footer__menu a {
  font-size: .9rem;
  color: rgba(251, 248, 242, .72);
  transition: color .2s ease;
}
.egs-footer__menu a:hover { color: var(--egs-secondary, #DABF70); }

.egs-footer__contact { display: grid; gap: 14px; }
.egs-footer__contact a,
.egs-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  line-height: 1.5;
}
.egs-footer__contact svg { color: var(--egs-secondary, #DABF70); flex: none; margin-top: 3px; }
.egs-footer__contact a:hover { color: var(--egs-secondary, #DABF70); }

.egs-social { display: flex; gap: 10px; margin-top: 22px; }
.egs-social__link {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(251, 248, 242, .22);
  border-radius: 50%;
  color: rgba(251, 248, 242, .8);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.egs-social__link:hover {
  background: var(--egs-secondary, #DABF70);
  border-color: var(--egs-secondary, #DABF70);
  color: #12291D;
}
.egs-social__tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  translate: -50% 0;
  padding: 4px 8px;
  border-radius: var(--egs-radius-sm, 10px);
  background: #FBF8F2;
  color: #12291D;
  font-size: .66rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.egs-social__link:hover .egs-social__tip { opacity: 1; }

.egs-social--contact { margin-top: 16px; }
.egs-social--contact .egs-social__link {
  border-color: rgba(1, 98, 59, .2);
  color: var(--egs-primary, #01623B);
}

.egs-footer__bottom { border-top: 1px solid rgba(251, 248, 242, .12); }
.egs-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 22px;
}
.egs-footer__bottom-left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.egs-footer__copy { font-size: .78rem; }
.egs-footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.egs-footer__legal a { font-size: .78rem; text-decoration: underline; text-underline-offset: 3px; }
.egs-footer__legal a:hover { color: var(--egs-secondary, #DABF70); }
.egs-footer__credit { font-size: .76rem; }
.egs-footer__credit strong { color: var(--egs-secondary, #DABF70); }

.egs-totop {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(251, 248, 242, .25);
  border-radius: 50%;
  color: #FBF8F2;
  transition: background .25s ease, color .25s ease;
}
.egs-totop:hover { background: var(--egs-secondary, #DABF70); color: #12291D; border-color: transparent; }

/* ---------- Page hero ---------- */
.egs-pagehero {
  position: relative;
  margin-top: var(--egs-header-h, 90px);
  padding-block: clamp(54px, 6.2vw, 88px) clamp(50px, 5.8vw, 80px);
  background: var(--egs-primary, #01623B);
  color: #FBF8F2;
  overflow: hidden;
  text-align: center;
}
.egs-pagehero::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  translate: -50% 0;
  width: min(760px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(218, 191, 112, .55), transparent);
}
.egs-pagehero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -40%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(218, 191, 112, .22), transparent 70%);
  pointer-events: none;
  animation: egs-float 16s ease-in-out infinite alternate;
}
@keyframes egs-float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-48px, 32px, 0) scale(1.12); }
}

.egs-pagehero.has-img {
  background-image: linear-gradient(180deg, rgba(7, 34, 22, .88), rgba(7, 34, 22, .88)), var(--hero-img);
  background-size: cover;
  background-position: center;
}
.egs-pagehero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  max-width: 840px;
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}
.egs-pagehero__inner > * {
  animation: egs-rise .75s cubic-bezier(.22, .61, .36, 1) both;
}
.egs-pagehero__inner > *:nth-child(1) { animation-delay: .06s; }
.egs-pagehero__inner > *:nth-child(2) { animation-delay: .16s; }
.egs-pagehero__inner > *:nth-child(3) { animation-delay: .26s; }

@keyframes egs-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.egs-pagehero .egs-h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); color: #FBF8F2; }
.egs-pagehero__text { color: rgba(251, 248, 242, .82); max-width: 62ch; font-size: 1.02rem; }

.egs-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--egs-muted, #5F6E66);
}
.egs-crumbs a:hover { color: var(--egs-primary, #01623B); }
.egs-crumbs__sep { opacity: .5; }
.egs-crumbs__current { color: var(--egs-primary, #01623B); }

/* ---------- Page Services : grille photo éditoriale ---------- */
.egs-spage__intro {
  max-width: 780px;
  margin-bottom: clamp(36px, 4vw, 56px);
  color: var(--egs-muted, #5F6E66);
  font-size: 1.04rem;
}
.egs-spage__intro p + p { margin-top: 1em; }

.egs-svcgrid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px);
}
.egs-scard { grid-column: span 7; display: grid; gap: 0; align-content: start; scroll-margin-top: calc(var(--egs-header-h, 90px) + 24px); }
.egs-scard:nth-child(even) { grid-column: span 5; }

.egs-scard__media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--egs-radius-sm, 10px);
  background: var(--egs-surface, #F1EADB);
}
.egs-scard__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.22, .61, .36, 1);
}
.egs-scard:nth-child(even) .egs-scard__img { aspect-ratio: 4 / 3.4; }
.egs-scard:hover .egs-scard__img { transform: scale(1.04); }
.egs-scard__img--ph {
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(1, 98, 59, .2), rgba(218, 191, 112, .4));
  color: #FBF8F2;
}

.egs-scard__num {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  background: var(--egs-secondary, #DABF70);
  color: #12291D;
  border-radius: 8px;
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.egs-scard__body {
  display: grid;
  gap: 12px;
  padding-top: 30px;
}
.egs-scard__title {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--egs-text, #1B2A23);
}
.egs-scard__short { color: var(--egs-muted, #5F6E66); font-size: .94rem; max-width: 52ch; }

.egs-scard__list { display: grid; gap: 7px; margin-top: 4px; }
.egs-scard__list li {
  position: relative;
  padding-left: 16px;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--egs-muted, #5F6E66);
}
.egs-scard__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 7px;
  height: 1px;
  background: var(--egs-secondary, #DABF70);
}

.egs-scard__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--egs-primary, #01623B);
}
.egs-scard__link svg { transition: transform .25s ease; }
.egs-scard__link:hover svg { transform: translateX(4px); }

/* ---------- Réalisations : portfolio ---------- */
.egs-folio__intro {
  max-width: 760px;
  margin-bottom: 32px;
  color: var(--egs-muted, #5F6E66);
}

.egs-folio__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(26px, 3vw, 40px);
}

.egs-folio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}

.egs-folio__item { transition: opacity .35s ease, transform .35s ease; }
.egs-folio__item.is-hidden { display: none; }

.egs-folio__link { display: block; }

.egs-folio__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--egs-radius-sm, 10px);
  aspect-ratio: 4 / 5;
  background: var(--egs-surface, #F1EADB);
  isolation: isolate;
}

.egs-folio__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.22, .61, .36, 1);
}
.egs-folio__item:hover .egs-folio__img { transform: scale(1.06); }
.egs-folio__img--ph {
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(1, 98, 59, .45), rgba(218, 191, 112, .45));
  color: #FBF8F2;
}

.egs-folio__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 22, 15, .05) 0%, rgba(7, 22, 15, .15) 45%, rgba(7, 22, 15, .88) 100%);
  transition: opacity .35s ease;
}
.egs-folio__item:hover .egs-folio__media::after { opacity: .92; }

.egs-folio__num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 9px;
  background: rgba(251, 248, 242, .92);
  color: #12291D;
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.egs-folio__cap {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: grid;
  gap: 6px;
  padding: 22px;
  color: #FBF8F2;
}
.egs-folio__cat {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--egs-secondary, #DABF70);
}
.egs-folio__title {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.22;
  transition: transform .4s cubic-bezier(.22, .61, .36, 1);
}
.egs-folio__client {
  font-size: .78rem;
  color: rgba(251, 248, 242, .72);
}
.egs-folio__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #FBF8F2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.egs-folio__item:hover .egs-folio__go { opacity: 1; transform: none; }

.egs-folio__empty {
  padding: 44px 0;
  text-align: center;
  color: var(--egs-muted, #5F6E66);
}

/* ---------- Références ---------- */
.egs-refs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.egs-ref {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 30px 20px;
  min-height: 130px;
  border: 1px solid rgba(27, 42, 35, .1);
  border-radius: var(--egs-radius-sm, 10px);
  background: rgba(251, 248, 242, .5);
  transition: border-color .25s ease, background .25s ease;
}
.egs-ref:hover { border-color: var(--egs-secondary, #DABF70); background: #fff; }
.egs-ref__logo { max-height: 52px; width: auto; }
.egs-ref__name {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.05rem;
  text-align: center;
}
.egs-ref__sector {
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--egs-muted, #5F6E66);
}

/* ---------- Contact : assistant en 3 étapes ---------- */
.egs-wizard {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

/* Panneau gauche */
.egs-wizard__aside {
  position: sticky;
  top: calc(var(--egs-header-h, 90px) + 26px);
  display: grid;
  gap: 16px;
  align-content: start;
}
.egs-wizard__title {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--egs-text, #1B2A23);
}
.egs-wizard__lead { font-size: .9rem; color: var(--egs-muted, #5F6E66); }

.egs-wizard__dots {
  display: grid;
  gap: 0;
  margin-top: 10px;
  border-top: 1px solid rgba(27, 42, 35, .12);
}
.egs-wizard__dots li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(27, 42, 35, .12);
  font-size: .86rem;
  color: var(--egs-muted, #5F6E66);
  transition: color .3s ease;
}
.egs-wizard__dot-num {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(95, 110, 102, .55);
  transition: color .3s ease;
}
.egs-wizard__dots li.is-active { color: var(--egs-text, #1B2A23); font-weight: 600; }
.egs-wizard__dots li.is-active .egs-wizard__dot-num { color: var(--egs-primary, #01623B); }
.egs-wizard__dots li.is-done .egs-wizard__dot-num { color: var(--egs-secondary, #B2903F); }
.egs-wizard__dots li.is-done .egs-wizard__dot-label { text-decoration: line-through; text-decoration-color: rgba(95, 110, 102, .4); }

.egs-wizard__help {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding: 16px 18px;
  background: rgba(1, 98, 59, .06);
  border-left: 2px solid var(--egs-secondary, #DABF70);
}
.egs-wizard__help-label { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--egs-muted, #5F6E66); }
.egs-wizard__help a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--egs-primary, #01623B);
}

/* Carte du formulaire */
.egs-wizard__main { position: relative; }
.egs-wizard__form {
  display: grid;
  gap: 24px;
  padding: clamp(22px, 3vw, 40px);
  background: #fff;
  border: 1px solid rgba(27, 42, 35, .1);
  border-radius: var(--egs-radius-sm, 10px);
  box-shadow: 0 16px 44px -46px rgba(1, 50, 30, .38);
}

.egs-wizard__progress {
  position: relative;
  height: 2px;
  background: rgba(27, 42, 35, .1);
  overflow: hidden;
}
.egs-wizard__progress-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 33.33%;
  background: linear-gradient(90deg, var(--egs-primary, #01623B), var(--egs-secondary, #DABF70));
  transition: width .45s cubic-bezier(.22, .61, .36, 1);
}

/* Étapes */
.egs-step-panel {
  display: none;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.egs-step-panel.is-active { display: grid; gap: 22px; animation: egs-step-in .45s cubic-bezier(.22, .61, .36, 1) both; }
.egs-step-panel.is-back { animation-name: egs-step-in-back; }

@keyframes egs-step-in {
  from { opacity: 0; transform: translateX(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes egs-step-in-back {
  from { opacity: 0; transform: translateX(-22px); }
  to { opacity: 1; transform: none; }
}

.egs-step-panel__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
}
.egs-step-panel__num {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: rgba(1, 98, 59, .22);
}
.egs-step-panel__text { display: grid; gap: 2px; }
.egs-step-panel__title {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--egs-text, #1B2A23);
}
.egs-step-panel__sub { font-size: .84rem; color: var(--egs-muted, #5F6E66); }

.egs-step-panel__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 6px;
}
.egs-step-panel__hint { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--egs-muted, #5F6E66); }

/* Sélecteur multiple (prestations) */
.egs-select { position: relative; }

.egs-select__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  background: var(--egs-bg, #FBF8F2);
  border: 1px solid rgba(27, 42, 35, .14);
  border-radius: var(--egs-radius-sm, 10px);
  font-size: .94rem;
  color: var(--egs-muted, #5F6E66);
  text-align: left;
  transition: border-color .2s ease, background .2s ease;
}
.egs-select__toggle:hover { border-color: rgba(1, 98, 59, .45); }
.egs-select.is-open .egs-select__toggle {
  border-color: var(--egs-primary, #01623B);
  background: #fff;
}
.egs-select__value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.egs-select.has-value .egs-select__value { color: var(--egs-text, #1B2A23); font-weight: 600; }
.egs-select__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--egs-primary, #01623B);
  color: #FBF8F2;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
}
.egs-select__chev { color: var(--egs-muted, #5F6E66); transition: transform .25s ease; flex: none; }
.egs-select.is-open .egs-select__chev { transform: rotate(180deg); }

.egs-select__panel {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid rgba(27, 42, 35, .12);
  border-radius: var(--egs-radius-sm, 10px);
  box-shadow: 0 14px 32px -28px rgba(1, 50, 30, .42);
  overflow: hidden;
  animation: egs-select-in .2s ease both;
}
@keyframes egs-select-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.egs-select__list { max-height: 290px; overflow-y: auto; padding: 6px; }

.egs-select__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--egs-radius-sm, 10px);
  font-size: .88rem;
  line-height: 1.3;
  color: var(--egs-text, #1B2A23);
  cursor: pointer;
  transition: background .15s ease;
}
.egs-select__opt:hover { background: rgba(1, 98, 59, .05); }
.egs-select__opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.egs-select__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid rgba(1, 98, 59, .18);
  border-radius: 50%;
  color: var(--egs-primary, #01623B);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.egs-select__label { flex: 1; min-width: 0; }
.egs-select__check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border: 1px solid rgba(27, 42, 35, .2);
  border-radius: var(--egs-radius-sm, 10px);
  color: transparent;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.egs-select__opt input:checked ~ .egs-select__icon {
  background: var(--egs-primary, #01623B);
  border-color: var(--egs-primary, #01623B);
  color: #FBF8F2;
}
.egs-select__opt input:checked ~ .egs-select__check {
  background: var(--egs-primary, #01623B);
  border-color: var(--egs-primary, #01623B);
  color: #FBF8F2;
}
.egs-select__opt input:focus-visible ~ .egs-select__label { outline: 2px solid var(--egs-primary, #01623B); outline-offset: 2px; }
.egs-select__opt.is-selected { background: rgba(1, 98, 59, .06); }

.egs-select__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-top: 1px solid rgba(27, 42, 35, .1);
  background: #FBFAF7;
}
.egs-select__hint { font-size: .72rem; color: var(--egs-muted, #5F6E66); }
.egs-select__done {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--egs-primary, #01623B);
}
.egs-select__done:hover { text-decoration: underline; text-underline-offset: 3px; }

.egs-field__legend {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--egs-text, #1B2A23);
}
.egs-field__legend em { color: var(--egs-primary, #01623B); font-style: normal; }

.egs-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.egs-field { display: grid; gap: 7px; }
.egs-field--full { grid-column: 1 / -1; }
.egs-field label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--egs-text, #1B2A23);
}
.egs-field label span { color: var(--egs-primary, #01623B); }
.egs-opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--egs-muted, #5F6E66); }

.egs-field input,
.egs-field select,
.egs-field textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--egs-bg, #FBF8F2);
  border: 1px solid rgba(27, 42, 35, .14);
  border-radius: var(--egs-radius-sm, 10px);
  font-size: .94rem;
  transition: border-color .2s ease, background .2s ease;
}
.egs-field input::placeholder,
.egs-field textarea::placeholder { color: rgba(95, 110, 102, .7); }
.egs-field input:focus,
.egs-field select:focus,
.egs-field textarea:focus {
  outline: none;
  border-color: var(--egs-primary, #01623B);
  background: #fff;
}
.egs-field textarea { resize: vertical; min-height: 130px; }
.egs-field.is-error input,
.egs-field.is-error textarea,
.egs-field.is-error select { border-color: #B3261E; }
.egs-field__err { color: #B3261E; font-size: .78rem; }

.egs-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.egs-drop {
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 26px 20px;
  border: 1px dashed rgba(1, 98, 59, .35);
  border-radius: var(--egs-radius-sm, 10px);
  background: rgba(1, 98, 59, .03);
  text-align: center;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.egs-drop:hover { border-color: var(--egs-primary, #01623B); background: rgba(1, 98, 59, .06); }
.egs-drop svg { color: var(--egs-primary, #01623B); }
.egs-drop__main { font-size: .9rem; }
.egs-drop__hint { font-size: .76rem; color: var(--egs-muted, #5F6E66); }
.egs-drop__file { font-size: .8rem; color: var(--egs-primary, #01623B); font-weight: 600; }
.egs-drop input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.egs-form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.egs-form__note { font-size: .78rem; color: var(--egs-muted, #5F6E66); }
.egs-form__error {
  padding: 12px 14px;
  border-left: 3px solid #B3261E;
  background: rgba(179, 38, 30, .07);
  color: #8C1D17;
  font-size: .88rem;
}

.egs-submit { position: relative; }
.egs-submit__loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(18, 41, 29, .25);
  border-top-color: #12291D;
  border-radius: 50%;
  animation: egs-spin .7s linear infinite;
}
.egs-submit.is-loading .egs-submit__loader { display: inline-block; }
.egs-submit.is-loading .egs-btn__arrow { display: none; }
@keyframes egs-spin { to { transform: rotate(360deg); } }

/* Success */
.egs-success {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(30px, 4vw, 54px);
  background: #fff;
  border: 1px solid rgba(1, 98, 59, .16);
  border-radius: var(--egs-radius-sm, 10px);
  text-align: center;
}
.egs-success__anim { position: relative; width: 110px; height: 110px; }
.egs-success__circle { width: 110px; height: 110px; }
.egs-success__ring {
  fill: none;
  stroke: var(--egs-primary, #01623B);
  stroke-width: 2;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
}
.egs-success__check {
  fill: none;
  stroke: var(--egs-secondary, #DABF70);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
}
.egs-success.is-play .egs-success__ring { animation: egs-ring .8s ease forwards; }
.egs-success.is-play .egs-success__check { animation: egs-check .5s .45s ease forwards; }
@keyframes egs-ring { to { stroke-dashoffset: 0; } }
@keyframes egs-check { to { stroke-dashoffset: 0; } }

.egs-success__spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--egs-secondary, #DABF70);
  opacity: 0;
}
.egs-success.is-play .egs-success__spark--1 { animation: egs-pop .6s .8s ease forwards; top: 6px; left: 10px; }
.egs-success.is-play .egs-success__spark--2 { animation: egs-pop .6s .95s ease forwards; bottom: 8px; right: 6px; }
.egs-success.is-play .egs-success__spark--3 { animation: egs-pop .6s 1.1s ease forwards; top: 46%; right: -4px; }
@keyframes egs-pop { 0% { opacity: 0; transform: scale(.4); } 60% { opacity: 1; transform: scale(1.4); } 100% { opacity: .0; transform: scale(1); } }

.egs-success__title {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.6rem;
  font-weight: 500;
}
.egs-success__text { color: var(--egs-muted, #5F6E66); max-width: 46ch; }

/* Bande coordonnées */
.egs-contactband {
  padding-block: clamp(44px, 5vw, 68px);
  background: var(--egs-primary, #01623B);
  color: #FBF8F2;
}
.egs-contactband__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(251, 248, 242, .18);
}
.egs-contactband__item {
  display: grid;
  gap: 6px;
  padding: 24px 20px 26px 0;
  border-right: 1px solid rgba(251, 248, 242, .14);
}
.egs-contactband__item:last-child { border-right: 0; }
.egs-contactband__item:not(:first-child) { padding-left: 20px; }
.egs-contactband__icon { color: var(--egs-secondary, #DABF70); }
.egs-contactband__label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(251, 248, 242, .6);
}
.egs-contactband__value {
  font-size: .92rem;
  line-height: 1.45;
  color: #FBF8F2;
}
.egs-contactband__value:hover { color: var(--egs-secondary, #DABF70); }

.egs-contactband__map {
  position: relative;
  margin-top: 32px;
  border-radius: var(--egs-radius-sm, 10px);
  overflow: hidden;
  border: 1px solid rgba(251, 248, 242, .16);
}
.egs-contactband__map iframe {
  width: 100%;
  height: clamp(220px, 32vw, 340px);
  border: 0;
  display: block;
  filter: grayscale(.35) contrast(1.05);
}
.egs-map__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--egs-secondary, #DABF70);
}
.egs-map__link:hover { color: #FBF8F2; }

/* ---------- FAQ ---------- */
.egs-faq-wrap { margin-top: clamp(48px, 6vw, 82px); }
.egs-faq { display: grid; gap: 0; border-top: 1px solid rgba(27, 42, 35, .12); }
.egs-faq__item { border-bottom: 1px solid rgba(27, 42, 35, .12); }
.egs-faq__item summary,
.egs-faq__item > button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.08rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  list-style: none;
}
.egs-faq__item summary::-webkit-details-marker { display: none; }
.egs-faq__a {
  padding-bottom: 24px;
  color: var(--egs-muted, #5F6E66);
  font-size: .94rem;
  max-width: 76ch;
}

/* ---------- A propos page ---------- */
.egs-ap-intro {
  display: grid;
  gap: 20px;
  max-width: 900px;
}
.egs-ap-extra { max-width: 820px; margin-top: 26px; }
.egs-ap-block { margin-top: clamp(56px, 7vw, 96px); }

.egs-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.egs-value {
  padding: 28px;
  border: 1px solid rgba(27, 42, 35, .1);
  border-radius: var(--egs-radius-sm, 10px);
  display: grid;
  gap: 10px;
  background: rgba(251, 248, 242, .55);
}
.egs-value__icon { color: var(--egs-secondary, #DABF70); }
.egs-value__title {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.15rem;
  font-weight: 500;
}

/* ---------- 404 ---------- */
.egs-404 {
  position: relative;
  min-height: calc(100vh - var(--egs-header-h, 90px));
  margin-top: var(--egs-header-h, 90px);
  display: grid;
  place-items: center;
  padding-block: clamp(70px, 10vw, 124px);
  background: var(--egs-primary, #01623B);
  color: #FBF8F2;
  overflow: hidden;
  text-align: center;
}
.egs-404::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(58% 50% at 50% 32%, rgba(218, 191, 112, .18), transparent 66%);
}
.egs-404__watermark {
  position: absolute;
  left: 50%;
  top: 44%;
  translate: -50% -50%;
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: clamp(9rem, 28vw, 24rem);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(218, 191, 112, .22);
  user-select: none;
  pointer-events: none;
}
.egs-404__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
  max-width: 680px;
}
.egs-404__title {
  color: #FBF8F2;
  font-size: clamp(1.9rem, 4vw, 3rem);
}
.egs-404__text {
  color: rgba(251, 248, 242, .78);
  max-width: 52ch;
}
.egs-404__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}
.egs-404__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 4px;
}
.egs-404__links a {
  padding: 8px 15px;
  border: 1px solid rgba(251, 248, 242, .25);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(251, 248, 242, .85);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.egs-404__links a:hover {
  background: var(--egs-secondary, #DABF70);
  border-color: var(--egs-secondary, #DABF70);
  color: #12291D;
}
.egs-404__search {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  width: 100%;
  max-width: 460px;
}
.egs-404__search input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  background: rgba(251, 248, 242, .08);
  border: 1px solid rgba(251, 248, 242, .25);
  border-radius: var(--egs-radius-sm, 10px);
  color: #FBF8F2;
  font-size: .94rem;
  transition: border-color .2s ease, background .2s ease;
}
.egs-404__search input::placeholder { color: rgba(251, 248, 242, .5); }
.egs-404__search input:focus {
  outline: none;
  border-color: var(--egs-secondary, #DABF70);
  background: rgba(251, 248, 242, .14);
}
.egs-404__search .egs-btn { padding: 14px 22px; white-space: nowrap; }

@media (max-width: 560px) {
  .egs-404__search { flex-direction: column; }
  .egs-404__search .egs-btn { width: 100%; justify-content: center; }
  .egs-404__links a { font-size: .66rem; padding: 7px 12px; }
}

/* ---------- Article / misc ---------- */
.egs-article__head { display: grid; gap: 14px; margin-bottom: 30px; }

/* ---------- SEO brief ---------- */
.egs-seo-brief {
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 48px;
  padding: 22px 26px;
  border-left: 2px solid var(--egs-secondary, #DABF70);
  background: rgba(1, 98, 59, .04);
  font-size: .92rem;
  color: var(--egs-muted, #5F6E66);
}
.egs-seo-brief strong { color: var(--egs-primary, #01623B); }

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--d, 0ms);
}
[data-reveal="left"] { transform: translateX(-26px); }
[data-reveal="right"] { transform: translateX(26px); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Login ---------- */
.login { background: var(--egs-bg, #FBF8F2); }
.egs-login-tagline {
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  color: var(--egs-primary, #01623B);
  text-align: center;
  margin-top: 12px;
}
.egs-login-footer { display: flex; justify-content: center; gap: 10px; font-size: .78rem; color: var(--egs-muted, #5F6E66); }

/* ---------- Admin : demandes ---------- */
.egs-dm-page { max-width: 900px; }
.egs-dm-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.egs-dm-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--egs-radius-sm, 10px);
  background: rgba(1, 98, 59, .1);
  color: #01623B;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.egs-dm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.egs-dm-row { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid #eee; }
.egs-dm-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #666; }
.egs-dm-value { font-size: 14px; color: #1B2A23; }
.egs-dm-ref { font-weight: 800; color: #01623B; }
.egs-dm-block h3 { margin: 0 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #01623B; }
.egs-dm-desc { white-space: pre-wrap; background: #FBF8F2; padding: 16px; border-radius: var(--egs-radius-sm, 10px); }
.egs-dm-thumb img { max-width: 260px; height: auto; border-radius: var(--egs-radius-sm, 10px); }

/* ---------- Aide flottante (FAB + panneau) ---------- */
.egs-help {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 180;
}

.egs-help__fab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px 13px 14px;
  background: var(--egs-primary, #01623B);
  color: #FBF8F2;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .05em;
  box-shadow: 0 12px 28px -22px rgba(1, 50, 30, .55);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
  animation: egs-fab-in .55s .9s cubic-bezier(.22, .61, .36, 1) both;
}
.egs-help__fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(1, 98, 59, .45);
  pointer-events: none;
  animation: egs-halo 3.6s ease-out 1.6s infinite;
}
@keyframes egs-fab-in {
  from { opacity: 0; transform: scale(.82) translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes egs-halo {
  0% { transform: scale(1); opacity: .5; }
  65% { transform: scale(1.28); opacity: 0; }
  100% { transform: scale(1.28); opacity: 0; }
}

.egs-help__fab:hover {
  transform: translateY(-3px);
  background: #014C2E;
  box-shadow: 0 18px 34px -24px rgba(1, 50, 30, .6);
}
.egs-help__fab-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(251, 248, 242, .16);
  transition: background .25s ease;
}
.egs-help__fab-icon svg { animation: egs-icon-bob 4.2s ease-in-out infinite; }
@keyframes egs-icon-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
}
.egs-help__fab:hover .egs-help__fab-icon { background: rgba(251, 248, 242, .26); }
.egs-help__fab-label { white-space: nowrap; }

.egs-help.is-open .egs-help__fab { opacity: 0; pointer-events: none; }

.egs-help__modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}
.egs-help__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 22, 15, .55);
  backdrop-filter: blur(3px);
  animation: egs-fade .25s ease both;
}
@keyframes egs-fade { from { opacity: 0; } to { opacity: 1; } }

.egs-help__panel {
  position: relative;
  width: min(450px, 100%);
  padding: 32px;
  background: var(--egs-bg, #FBF8F2);
  border-radius: var(--egs-radius-lg, 24px);
  box-shadow: 0 30px 70px -44px rgba(1, 50, 30, .65);
  animation: egs-help-in .35s cubic-bezier(.22, .61, .36, 1) both;
}
@keyframes egs-help-in {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: none; }
}

.egs-help__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--egs-muted, #5F6E66);
  transition: background .2s ease, color .2s ease;
}
.egs-help__close:hover { background: rgba(1, 50, 30, .07); color: var(--egs-text, #1B2A23); }

.egs-help__kicker {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--egs-primary, #01623B);
}
.egs-help__title {
  margin-top: 8px;
  font-family: var(--egs-font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--egs-text, #1B2A23);
}
.egs-help__text { margin-top: 8px; font-size: .9rem; color: var(--egs-muted, #5F6E66); }

.egs-help__list { display: grid; gap: 8px; margin-top: 22px; }

.egs-help__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(27, 42, 35, .12);
  border-radius: 14px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.egs-help__item:hover { border-color: rgba(1, 98, 59, .4); background: rgba(1, 98, 59, .04); transform: translateX(2px); }

.egs-help__item-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid rgba(1, 98, 59, .18);
  border-radius: 50%;
  color: var(--egs-primary, #01623B);
}
.egs-help__item-body { display: grid; gap: 2px; flex: 1; min-width: 0; }
.egs-help__item-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--egs-muted, #5F6E66);
}
.egs-help__item-value { font-size: .92rem; font-weight: 600; color: var(--egs-text, #1B2A23); }
.egs-help__item-go { flex: none; color: var(--egs-muted, #5F6E66); }

.egs-help__item-icon--gmaps {
  border-color: rgba(234, 67, 53, .18);
  background: #fff;
}

.egs-help__item--accent {
  background: var(--egs-primary, #01623B);
  border-color: var(--egs-primary, #01623B);
}
.egs-help__item--accent .egs-help__item-icon {
  background: rgba(251, 248, 242, .14);
  border-color: transparent;
  color: #FBF8F2;
}
.egs-help__item--accent .egs-help__item-label { color: rgba(251, 248, 242, .68); }
.egs-help__item--accent .egs-help__item-value,
.egs-help__item--accent .egs-help__item-go { color: #FBF8F2; }
.egs-help__item--accent:hover { background: #014C2E; border-color: #014C2E; }

body.egs-help-open { overflow: hidden; }

@media (max-width: 640px) {
  .egs-help { right: 12px; bottom: 12px; }
  .egs-help__fab { padding: 9px; gap: 0; }
  .egs-help__fab-label { display: none; }
  .egs-help__fab-icon { width: 44px; height: 44px; }
  .egs-help__modal { padding: 0; place-items: end center; }
  .egs-help__panel {
    width: 100%;
    padding: 26px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    border-radius: 22px 22px 0 0;
    animation-name: egs-sheet-in;
  }
  @keyframes egs-sheet-in {
    from { transform: translateY(100%); }
    to { transform: none; }
  }
}

/* ==========================================================================
   Finitions : profondeur (rayons, ombres douces)
   ========================================================================== */

/* Grands médias / cartes */
.egs-about__img,
.egs-about__media,
.egs-pole,
.egs-pole__media,
.egs-gitem,
.egs-gitem__media,
.egs-scard__media,
.egs-folio__media,
.egs-proj__media,
.egs-contactband__map,
.egs-map,
.egs-drop {
  border-radius: var(--egs-radius, 16px);
}

.egs-wizard__form,
.egs-success {
  border-radius: var(--egs-radius-lg, 24px);
}

.egs-select__panel,
.egs-nav .sub-menu,
.egs-offc__panel {
  border-radius: var(--egs-radius, 16px);
}

.egs-select__panel { overflow: hidden; }

/* Boutons : relief très discret */
.egs-btn {
  border-radius: 10px;
  box-shadow: 0 1px 1px rgba(1, 50, 30, .06);
}
.egs-btn:hover {
  box-shadow: 0 4px 10px -8px rgba(1, 50, 30, .3);
}
.egs-btn--outline,
.egs-btn--ghost-light { box-shadow: none; }
.egs-btn--outline:hover,
.egs-btn--ghost-light:hover { box-shadow: none; }

/* Champs */
.egs-field input,
.egs-field select,
.egs-field textarea { border-radius: 10px; }

/* Puces / badges */
.egs-chip,
.egs-signature__tags li,
.egs-social__link { border-radius: var(--egs-radius-pill, 999px); }

/* Images : ombre à peine perceptible */
.egs-scard__media,
.egs-folio__media,
.egs-pole,
.egs-gitem,
.egs-about__media img {
  box-shadow: 0 8px 20px -20px rgba(1, 50, 30, .3);
}
.egs-scard:hover .egs-scard__media,
.egs-folio__item:hover .egs-folio__media,
.egs-pole:hover {
  box-shadow: 0 12px 26px -22px rgba(1, 50, 30, .35);
}
.egs-scard__media,
.egs-folio__media,
.egs-pole {
  transition: box-shadow .35s ease, transform .35s ease;
}

/* Barre de progression / petits éléments gardent des angles doux */
.egs-wizard__progress,
.egs-wizard__progress-bar { border-radius: 999px; }
.egs-wizard__progress-bar { border-radius: 999px; }

/* Avatar icônes rondes déjà en 50%, on garde */

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .egs-poles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .egs-pole:nth-child(1),
  .egs-pole:nth-child(4) { grid-column: auto; }
  .egs-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .egs-footer__col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 1180px) {
  .egs-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(380px, 88vw);
    z-index: 160;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--egs-header-h, 78px) + 26px) 30px 40px;
    background: var(--egs-bg, #FBF8F2);
    border-left: 1px solid rgba(218, 191, 112, .5);
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.22, .61, .36, 1);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .egs-nav.is-open { transform: none; }
  .egs-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .egs-nav__list > li { border-bottom: 1px solid rgba(27, 42, 35, .1); }
  .egs-nav__list > li > a { display: block; padding: 18px 0; font-size: .82rem; }
  .egs-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 12px 14px;
    margin: 0;
    background: transparent;
  }
  .egs-nav__cta { display: flex; margin-top: 24px; }

  .egs-nav__brand {
    display: flex;
    margin-bottom: 26px;
  }
  .egs-nav__brand a {
    display: inline-flex;
    align-items: baseline;
    gap: 9px;
  }
  .egs-nav__logo { max-height: 56px; width: auto; }

  .egs-nav__footer {
    display: grid;
    gap: 20px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(27, 42, 35, .12);
  }
  .egs-nav__contact { display: grid; gap: 10px; }
  .egs-nav__contact a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .85rem;
    color: var(--egs-muted, #5F6E66);
    transition: color .2s ease;
  }
  .egs-nav__contact a:hover { color: var(--egs-primary, #01623B); }
  .egs-nav__contact svg { flex: none; color: var(--egs-primary, #01623B); }

  .egs-social--drawer { margin-top: 0; flex-wrap: wrap; gap: 8px; }
  .egs-social--drawer .egs-social__link {
    width: 42px;
    height: 42px;
    border-color: rgba(1, 98, 59, .2);
    color: var(--egs-primary, #01623B);
  }
  .egs-social--drawer .egs-social__link:hover {
    background: var(--egs-primary, #01623B);
    border-color: var(--egs-primary, #01623B);
    color: #FBF8F2;
  }
  .egs-header__cta { display: none; }
  .egs-burger { display: flex; }
  .egs-header__line { display: block; }

  .egs-about__grid,
  .egs-contact__grid { grid-template-columns: 1fr; }

  .egs-manifesto__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .egs-manifesto__item {
    border-right: 0;
    border-bottom: 1px solid rgba(251, 248, 242, .16);
    padding-inline: 0;
    padding-right: 20px;
  }
  .egs-manifesto__item:nth-child(2n) { padding-right: 0; padding-left: 20px; }
  .egs-manifesto__foot { grid-template-columns: 1fr; }

  .egs-about__media { max-width: 520px; }
  .egs-about__media::before { inset: 16px -16px -16px 16px; }

  .egs-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 22px; }
  .egs-step { padding-top: 24px; }

  .egs-scard,
  .egs-scard:nth-child(even) { grid-column: span 6; }
  .egs-scard:nth-child(even) .egs-scard__img { aspect-ratio: 16 / 10; }

  .egs-grid,
  .egs-grid--preview,
  .egs-grid--gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .egs-gitem--wide { grid-column: span 2; }

  .egs-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .egs-svc {
    grid-template-columns: 46px 1fr 44px;
    grid-template-areas:
      "icon title link"
      "icon text text";
    gap: 8px 18px;
    padding-left: 0;
    padding-block: 24px;
  }
  .egs-svc:hover { padding-left: 0; }
  .egs-svc::before { display: none; }
}

@media (max-width: 860px) {
  .egs-ceo__grid { grid-template-columns: 1fr; }
  .egs-ceo__media { max-width: none; }
  .egs-ceo__img { max-height: none; }
  .egs-ceo__media::before { inset: 14px -14px -14px 14px; }
  .egs-wizard { grid-template-columns: 1fr; }
  .egs-wizard__aside { position: static; }
  .egs-wizard__dots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .egs-wizard__dots li { border-bottom: 0; padding: 6px 0; }
  .egs-contactband__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .egs-contactband__item { border-right: 0; padding-left: 0 !important; padding-right: 0; border-bottom: 1px solid rgba(251, 248, 242, .14); }
  .egs-signature__grid { grid-template-columns: 1fr; }
  .egs-signature__aside { max-width: 520px; }
  .egs-folio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .egs-cta__inner { flex-direction: column; align-items: flex-start; }
  .egs-footer__grid { grid-template-columns: 1fr 1fr; }
  .egs-footer__col--brand { grid-column: 1 / -1; }
  .egs-hero { min-height: 74vh; background: #0B1F16; color: #FBF8F2; }
  .egs-hero__media { inset: 0; }
  .egs-hero__media::after { background: linear-gradient(180deg, rgba(11, 31, 22, .82) 0%, rgba(11, 31, 22, .62) 45%, rgba(11, 31, 22, .94) 100%); }
  .egs-hero__inner { padding-block: 68px 76px; }
  .egs-hero__copy { padding-right: 0; max-width: none; color: #FBF8F2; gap: 16px; }
  .egs-hero__kicker { color: var(--egs-secondary, #DABF70); font-size: .64rem; letter-spacing: .2em; }
  .egs-hero__title { color: #FBF8F2; max-width: none; font-size: clamp(1.9rem, 8vw, 2.7rem); line-height: 1.12; }
  .egs-hero__text { color: rgba(251, 248, 242, .85); font-size: .94rem; }

  /* CTA : bouton principal + lien texte */
  .egs-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-width: none;
    margin-top: 8px;
  }
  .egs-hero__actions .egs-btn--accent {
    order: 1;
    width: 100%;
    justify-content: center;
    padding: 16px 18px;
    font-size: .74rem;
    letter-spacing: .08em;
  }
  .egs-hero__actions .egs-btn--light {
    order: 2;
    width: 100%;
    justify-content: center;
    padding: 8px 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: rgba(251, 248, 242, .92);
    font-size: .7rem;
    letter-spacing: .1em;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-color: rgba(218, 191, 112, .7);
  }
  .egs-hero__actions .egs-btn--light:hover {
    background: transparent;
    color: var(--egs-secondary, #DABF70);
    transform: none;
  }
  .egs-hero__actions .egs-btn--light .egs-btn__arrow { display: none; }

  .egs-hero__controls { top: 16px; bottom: auto; right: 14px; gap: 8px; }
  .egs-hero__arrow {
    width: 36px;
    height: 36px;
    background: rgba(11, 31, 22, .42);
    border-color: rgba(251, 248, 242, .28);
  }
  .egs-hero__scroll { display: none; }
  .egs-mv-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .egs-container { padding-inline: 20px; }
  .section { padding-block: 62px; }
  .egs-folio { grid-template-columns: 1fr; }
  .egs-folio__media { aspect-ratio: 4 / 3; }
  .egs-contactband__grid { grid-template-columns: 1fr; }
  .egs-manifesto__grid { grid-template-columns: 1fr; }
  .egs-manifesto__item { padding-inline: 0; border-bottom: 1px solid rgba(251, 248, 242, .16); }
  .egs-manifesto__item:last-child { border-bottom: 0; }

  .egs-scard,
  .egs-scard:nth-child(even) { grid-column: span 12; }
  .egs-form__grid { grid-template-columns: 1fr; }
  .egs-field--full { grid-column: auto; }
  .egs-grid,
  .egs-grid--preview,
  .egs-grid--gallery { grid-template-columns: 1fr; }
  .egs-gitem--wide { grid-column: auto; }
  .egs-poles__grid { grid-template-columns: 1fr; }
  .egs-pole { min-height: 340px; }
  .egs-steps { grid-template-columns: 1fr; }
  .egs-values { grid-template-columns: 1fr; }
  .egs-footer__grid { grid-template-columns: 1fr; }
  .egs-hero__controls { top: 12px; right: 10px; }
  .egs-hero__actions { gap: 8px; }
  .egs-hero__actions .egs-btn--accent { min-height: 54px; }
  .egs-h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .egs-hero__title { font-size: clamp(2rem, 9vw, 3rem); }
  .egs-about__media::before { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
