/* =========================================================
   Sustalys — feuille de style
   Palette : ivoire, vert forêt, terracotta méditerranéenne
   ========================================================= */
:root {
  --paper: #ffffff;
  --paper-2: #f0f6fb;
  --white: #ffffff;
  --ink: #22304e;
  --ink-soft: #4a5875;
  --forest: #141f35;
  --forest-2: #005499;
  --forest-3: #0e1626;
  --terra: #0078d2;
  --terra-dark: #005499;
  --sage: #cfe3f3;
  --sand: #7fd0f2;
  --line: rgba(34,48,78, .14);
  --line-light: rgba(255,255,255, .18);

  --pole-certif: #005499;
  --pole-eco: #0082de;
  --pole-cx: #0078d2;
  --pole-exp: #2a9fd6;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 40px -22px rgba(20,31,53, .45);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--forest-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terra-dark); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-variation-settings: "opsz" 144; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-variation-settings: "opsz" 120; }
h3 { font-size: 1.3rem; }
h1 em, h2 em { font-style: italic; color: var(--terra); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }
.nowrap { white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 110px 0; }
.section-white { background: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--terra-dark); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .98rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--terra); color: #fff; }
.btn-gold:hover { background: var(--terra-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--forest); }
.btn-light:hover { background: #fff; color: var(--forest); }
.arrow { transition: transform .2s; }
a:hover .arrow { transform: translateX(4px); }

/* ---------- En-tête ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255, .88);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(0,0,0,.4); }
header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
/* Logo officiel Sustalys (image, couleurs d'origine) */
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo img { display: block; height: 54px; width: auto; }
#menu { display: flex; align-items: center; gap: 6px; list-style: none; }
#menu a:not(.btn) {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem;
}
#menu a:not(.btn):hover { background: var(--paper-2); }
#menu .btn { margin-left: 10px; padding: 11px 22px; }
.menu-toggle { display: none; }

/* ---------- Accueil : hero ---------- */
/* Références en fond plein écran, légèrement floutées, texte clair par-dessus */
.hero { padding: 0; position: relative; overflow: hidden; background: var(--forest-3); }
.hero-main { position: relative; display: flex; align-items: center; min-height: calc(100vh - 78px - 70px); min-height: calc(100svh - 78px - 70px); }
.hero-grid { position: relative; z-index: 4; padding-top: 64px; padding-bottom: 104px; }
.hero-grid { pointer-events: none; }
.hero-text { max-width: 760px; color: var(--paper); pointer-events: auto; }
.hero-text .eyebrow { color: var(--sand); }
.hero-text h1 { margin-bottom: 24px; color: var(--paper); text-shadow: 0 2px 30px rgba(14,22,38,.35); }
.hero-text h1 em { color: #7fd0f2; }
.hero-text > p { font-size: 1.18rem; color: rgba(255,255,255,.88); max-width: 600px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero .btn-outline { border-color: rgba(255,255,255,.7); color: var(--paper); }
.hero .btn-outline:hover { background: var(--paper); color: var(--forest); }
.hero-proof { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.25); }
.hero-proof span { font-size: .9rem; color: rgba(255,255,255,.78); max-width: 170px; line-height: 1.4; }
.hero-proof strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; color: var(--sand); margin-bottom: 4px; }

/* Carrousel de fond : glissement de droite à gauche + lent zoom */
.showcase { position: absolute; inset: 0; z-index: 1; }
.showcase-viewport { position: absolute; inset: 0; overflow: hidden; }
.showcase-viewport::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14,22,38,.8) 0%, rgba(14,22,38,.52) 45%, rgba(14,22,38,.12) 100%),
    linear-gradient(0deg, rgba(14,22,38,.5), rgba(14,22,38,0) 30%);
}
.showcase-slide {
  position: absolute; inset: 0; margin: 0; overflow: hidden;
  transform: translateX(100%); transition: transform 1.4s cubic-bezier(.77, 0, .18, 1);
}
.showcase-slide:not(.is-active):not(.is-leaving) { transition: none; }
.showcase-slide.is-active { transform: none; z-index: 2; }
.showcase-slide.is-leaving { transform: translateX(-30%); z-index: 1; }
.showcase-slide img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05); transform: scale(1.1);
}
.showcase-slide.is-active img { animation: kenburns 8s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14) translateX(1.5%); } to { transform: scale(1.06); } }

/* Barre du bas : mention des références, nom du projet, progression */
.showcase-bar {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: 26px;
  width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.showcase-credit { margin: 0; max-width: 520px; font-size: .78rem; line-height: 1.45; color: rgba(255,255,255,.65); }
.showcase-credit a { color: var(--sand); }
.showcase-credit a:hover { color: #fff; }
.showcase-slide figcaption {
  position: absolute; z-index: 4; right: max(24px, calc((100% - var(--container)) / 2 + 24px)); bottom: 54px;
  font-family: var(--font-display); font-size: 1rem; letter-spacing: .08em; color: rgba(255,255,255,.9);
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(12px);
}
.showcase-slide figcaption::before { content: ""; width: 22px; height: 2px; background: var(--terra); }
.showcase-slide figcaption strong { font-weight: 500; }
.showcase-slide.is-active figcaption { opacity: 1; transform: none; transition: opacity .6s ease 1s, transform .6s ease 1s; }
.showcase-nav { display: flex; gap: 6px; flex: none; }
.showcase-nav button {
  position: relative; overflow: hidden;
  width: 30px; height: 4px; border-radius: 4px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.35);
}
.showcase-nav button::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.showcase-nav button[aria-current="true"]::after { animation: progress var(--slide-delay, 5s) linear forwards; }
.showcase.is-paused .showcase-nav button[aria-current="true"]::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }
/* Bandeau défilant des référentiels */
.marquee { margin-top: 0; background: var(--forest); color: var(--paper); overflow: hidden; padding: 20px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee ul { display: flex; list-style: none; }
.marquee li { display: flex; align-items: center; font-family: var(--font-display); font-size: 1.4rem; white-space: nowrap; }
.marquee li::after { content: "✳"; color: var(--terra); font-size: .9rem; margin: 0 32px; }
.marquee a { color: inherit; text-decoration: none; }
.marquee a:hover { color: var(--sand); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Explorateur du cycle de vie ---------- */
.lifecycle { background: var(--white); }
.phases {
  position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  list-style: none; margin-bottom: 26px;
}
.phases::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 27px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.phase-btn {
  position: relative; width: 100%; background: none; border: 0; cursor: pointer; padding: 0 8px 4px;
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  font: inherit; color: var(--ink-soft);
}
.phase-dot {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 1.5px solid var(--line);
  font-family: var(--font-display); font-size: 1.2rem; color: var(--forest);
  transition: background .25s, color .25s, transform .25s, border-color .25s;
}
.phase-name { font-weight: 700; font-size: .98rem; color: var(--ink); }
.phase-btn:hover .phase-dot { border-color: var(--forest); transform: translateY(-3px); }
.phase-btn[aria-pressed="true"] .phase-dot { background: var(--terra); border-color: var(--terra); color: #fff; transform: scale(1.08); }
.phase-btn[aria-pressed="true"] .phase-name { color: var(--terra-dark); }

.phase-panel {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  background: var(--paper); border-radius: var(--radius); padding: 20px 26px; margin-bottom: 34px;
  min-height: 84px;
}
.phase-panel .phase-kicker { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--forest); }
.phase-panel p { margin: 0; color: var(--ink-soft); }
.phase-reset {
  background: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 9px 18px; cursor: pointer;
  font: 600 .88rem var(--font-body); color: var(--ink);
}
.phase-reset:hover { background: var(--ink); color: var(--paper); }
.phase-reset[hidden] { display: none; }

.expertises { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.exp {
  --pole: var(--pole-certif);
  position: relative; display: flex; flex-direction: column; min-height: 250px;
  padding: 24px 22px 22px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; overflow: hidden;
  transition: transform .3s, opacity .35s, filter .35s, background .3s, border-color .3s, box-shadow .3s;
}
.exp[data-pole="eco"] { --pole: var(--pole-eco); }
.exp[data-pole="cx"] { --pole: var(--pole-cx); }
.exp[data-pole="exp"] { --pole: var(--pole-exp); }
.exp::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%;
  background: var(--pole); opacity: .08; transition: transform .45s, opacity .3s;
}
.exp-num { font-family: var(--font-display); font-size: .95rem; color: var(--ink-soft); margin-bottom: 18px; display: flex; justify-content: space-between; align-items: center; }
.exp-pole { font-family: var(--font-body); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pole); }
.exp h3 { font-size: 1.32rem; margin-bottom: 10px; }
.exp p { font-size: .93rem; color: var(--ink-soft); margin-bottom: 18px; line-height: 1.55; }
.exp > span:last-child { margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--pole); }
.exp:hover { transform: translateY(-5px); background: #fff; border-color: var(--pole); box-shadow: var(--shadow); color: var(--ink); }
.exp:hover::after { transform: scale(2.6); opacity: .12; }
.expertises.is-filtered .exp:not(.is-match) { opacity: .28; filter: grayscale(1); transform: scale(.97); }
.expertises.is-filtered .exp.is-match { background: #fff; border-color: var(--pole); box-shadow: var(--shadow); }

.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: .86rem; color: var(--ink-soft); list-style: none; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* ---------- Pôles ---------- */
.poles-section { background: var(--forest); color: var(--paper); position: relative; overflow: hidden; }
.poles-section h2, .poles-section h3 { color: var(--paper); }
.poles-section .eyebrow { color: var(--sand); }
.poles-section .section-head p { color: rgba(255,255,255,.75); }
.poles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.pole { padding: 34px 22px 10px 0; border-right: 1px solid var(--line-light); }
.pole + .pole { padding-left: 22px; }
.pole:last-child { border-right: 0; }
.pole-brand {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; background: rgba(255,255,255,.1); color: var(--sand);
}
.pole-index { font-family: var(--font-display); font-size: 3.6rem; line-height: 1; color: rgba(255,255,255,.16); display: block; margin-bottom: 12px; }
.pole h3 { font-size: 1.22rem; }
.pole ul { list-style: none; }
.pole li { padding: 9px 0; border-bottom: 1px dashed var(--line-light); font-size: .94rem; color: rgba(255,255,255,.82); }
.pole li:last-child { border-bottom: 0; }
.pole a { color: var(--paper); text-decoration-color: rgba(255,255,255,.4); }
.pole a:hover { color: var(--sand); }
.poles-audience { margin: 50px 0 0; max-width: 820px; color: rgba(255,255,255,.8); }
.poles-audience strong { color: var(--paper); }
.quote {
  margin: 56px 0 0; padding-top: 44px; border-top: 1px solid var(--line-light);
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.3; max-width: 900px;
  color: var(--paper);
}
.quote::before { content: "“"; display: block; font-size: 4.5rem; line-height: .6; color: var(--terra); margin-bottom: 8px; font-style: normal; }

/* ---------- Projets ---------- */
/* Mosaïque en quinconce : grande / petite, puis petite / grande */
.projects { display: flex; flex-wrap: wrap; gap: 20px; }
.project {
  position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--forest);
  flex: 1 1 38%; min-height: 380px;
}
.project:nth-child(4n+1), .project:nth-child(4n+4) { flex-basis: 55%; }
.is-missing { display: none !important; }
.project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.project:hover img { transform: scale(1.07); }
.project figcaption {
  position: absolute; inset: auto 0 0 0; padding: 80px 26px 24px;
  background: linear-gradient(transparent, rgba(14,22,38,.9)); color: var(--paper);
}
.project figcaption strong { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; transition: transform .5s ease; }
.project figcaption span { display: block; font-size: .9rem; opacity: .85; transition: transform .5s ease, opacity .5s ease; }
.project figcaption::after {
  content: "→"; position: absolute; right: 24px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--terra); color: #fff; font-size: 1.1rem;
  opacity: 0; transform: translateX(-12px) rotate(-45deg); transition: opacity .4s ease, transform .4s ease;
}
.project:hover figcaption strong { transform: translateY(-4px); }
.project:hover figcaption::after { opacity: 1; transform: rotate(-45deg); }
/* Apparition en cascade des projets */
.js .projects.reveal { opacity: 1; transform: none; }
.js .projects.reveal .project { opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .projects.reveal.in .project { opacity: 1; transform: none; }
.js .projects.reveal.in .project:nth-child(2) { transition-delay: .12s; }
.js .projects.reveal.in .project:nth-child(3) { transition-delay: .24s; }
.js .projects.reveal.in .project:nth-child(4) { transition-delay: .36s; }

/* ---------- Enjeux ---------- */
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aud {
  display: flex; flex-direction: column; padding: 32px 30px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
}
.aud-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--forest); margin-bottom: 24px; }
.aud h3 { font-size: 1.4rem; }
.aud .need { color: var(--ink-soft); font-size: 1.02rem; }
.aud .need::before { content: "Votre enjeu"; display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.aud .answer { margin: auto 0 0; padding: 18px 20px; border-radius: 14px; background: var(--paper); font-size: .95rem; }
.aud .answer strong { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--terra-dark); margin-bottom: 6px; }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
.about-text p { color: var(--ink-soft); font-size: 1.08rem; }
.founder {
  position: relative; background: var(--paper); border-radius: var(--radius-lg); padding: 34px;
  border: 1px solid var(--line);
}
.founder-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.avatar {
  width: 76px; height: 76px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(from 200deg, var(--terra), var(--sand), var(--sage), var(--forest-2), var(--terra));
  font-family: var(--font-display); font-size: 1.6rem; color: var(--forest-3); position: relative;
}
.avatar::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--paper); }
.avatar span { position: relative; }
.founder h3 { margin: 0; font-size: 1.6rem; }
.founder .role { color: var(--terra-dark); font-weight: 600; font-size: .92rem; }
.founder p { color: var(--ink-soft); font-size: .98rem; }
.founder ul { list-style: none; display: grid; gap: 8px; }
.founder li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: .94rem; }
.founder li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f1e8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; counter-reset: pillar; }
.pillar { padding-top: 22px; border-top: 2px solid var(--forest); counter-increment: pillar; }
.pillar h3::before { content: "0" counter(pillar) " "; color: var(--terra); font-size: .95rem; margin-right: 6px; }
.pillar p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

/* ---------- Contact ---------- */
#contact { background: var(--forest-3); color: var(--paper); }
#contact h2, #contact h3 { color: var(--paper); }
#contact .eyebrow { color: var(--sand); }
#contact .section-head p { color: rgba(255,255,255,.75); }
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.contact-info { padding: 34px; border-radius: var(--radius-lg); background: var(--forest); }
.contact-info > p { color: rgba(255,255,255,.75); }
.info-row { padding: 14px 0; border-top: 1px solid var(--line-light); font-weight: 600; }
.info-row small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); font-weight: 700; margin-bottom: 2px; }
.info-row a { color: var(--paper); }
#contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 34px; border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 7px; }
.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white);
  font: 1rem var(--font-body); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest-2); box-shadow: 0 0 0 4px rgba(0,84,153,.12); }
.field.invalid input, .field.invalid textarea { border-color: #b3261e; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--forest); flex: none; }
.form-note { margin: 0; font-size: .82rem; color: var(--ink-soft); }
.form-status { font-weight: 600; font-size: .95rem; }
.form-status.ok { color: var(--forest-2); }
.form-status.err { color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pages de service ---------- */
.page-hero {
  position: relative; overflow: hidden; background: var(--forest); color: var(--paper);
  padding: 70px 0 84px;
}
.page-hero::after {
  content: ""; position: absolute; right: -180px; bottom: -320px; width: 620px; height: 620px; border-radius: 50%;
  border: 1px solid var(--line-light); box-shadow: 0 0 0 60px rgba(255,255,255,.03), 0 0 0 120px rgba(255,255,255,.03);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--paper); font-size: clamp(2.2rem, 4.6vw, 3.7rem); max-width: 900px; }
.page-hero .lead { font-size: 1.18rem; color: rgba(255,255,255,.8); max-width: 760px; margin-bottom: 32px; }
.breadcrumb ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: .86rem; margin-bottom: 26px; color: rgba(255,255,255,.7); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a { color: var(--sand); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

.article { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 70px; align-items: start; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #33415e; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--terra); }
.prose figure { margin: 30px 0; }
.prose figure img { width: 100%; height: auto; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.prose figcaption { font-size: .86rem; color: var(--ink-soft); margin-top: 10px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }

.levels { display: flex; flex-wrap: wrap; gap: 0; margin: 10px 0 28px; border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.levels span { flex: 1 1 auto; text-align: center; padding: 11px 14px; font-weight: 700; font-size: .88rem; color: var(--forest); }
.levels span:nth-child(1) { background: #f5f9fc; }
.levels span:nth-child(2) { background: #e3eef8; }
.levels span:nth-child(3) { background: #cfe3f3; }
.levels span:nth-child(4) { background: #0082de; color: #fff; }
.levels span:nth-child(5) { background: var(--forest); color: #fff; }

.steps { counter-reset: step; margin: 28px 0 10px; display: grid; gap: 0; }
.steps > div { position: relative; padding: 0 0 26px 74px; counter-increment: step; }
.steps > div::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -4px;
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 1.5px solid var(--forest); font-family: var(--font-display); color: var(--forest);
}
.steps > div::after { content: ""; position: absolute; left: 25px; top: 50px; bottom: 0; width: 1.5px; background: var(--line); }
.steps > div:last-child::after { display: none; }
.steps > div:last-child::before { background: var(--terra); border-color: var(--terra); color: #fff; }
.steps h3 { margin: 6px 0 6px; font-size: 1.2rem; }
.steps p { margin: 0; color: var(--ink-soft); }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--forest-2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; position: relative; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 1.5rem; font-weight: 400; color: var(--terra); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); }

.aside { position: sticky; top: 104px; display: grid; gap: 20px; }
.aside-card { background: var(--terra); color: #fff; border-radius: var(--radius-lg); padding: 30px; }
.aside-card h2 { color: #fff; font-size: 1.6rem; }
.aside-card p { color: rgba(255,255,255,.9); font-size: .96rem; }
.aside-card .btn-gold { background: var(--forest-3); width: 100%; }
.aside-card .btn-gold:hover { background: var(--forest); }
.aside-card .tel { display: block; text-align: center; margin-top: 14px; color: #fff; font-weight: 700; text-decoration: none; }
.aside-links { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.aside-links h2 { font-size: 1.15rem; margin-bottom: 12px; }
.aside-links ul { list-style: none; }
.aside-links a { display: block; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .94rem; }
.aside-links a:hover { background: var(--paper); }
.aside-links a[aria-current="page"] { background: var(--forest); color: var(--paper); font-weight: 600; }

.cta-band { background: var(--paper-2); padding: 90px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 1px solid var(--line); }
.cta-band::before { left: -120px; top: -150px; }
.cta-band::after { right: -100px; bottom: -170px; box-shadow: 0 0 0 40px rgba(0,120,210,.06); }
.cta-band .container { position: relative; }
.cta-band h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.cta-band p { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 28px; }

.legal h2 { font-size: 1.6rem; margin-top: 1.6em; }
.legal p { color: #33415e; }

/* ---------- Pied de page ---------- */
footer { background: var(--forest-3); color: rgba(255,255,255,.72); padding: 80px 0 30px; font-size: .94rem; }
footer .logo { background: var(--paper); padding: 12px 16px; border-radius: 14px; }
footer .logo img { height: 62px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-title { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); margin-bottom: 16px; }
footer ul { list-style: none; display: grid; gap: 8px; }
footer a { color: rgba(255,255,255,.82); text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
.footer-label { display: block; font-size: .78rem; color: rgba(255,255,255,.5); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: .85rem; }

/* =========================================================
   Accueil (structure inspirée des pages solutions SOCOTEC)
   ========================================================= */
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--paper); background: transparent; }
.btn-ghost:hover { background: var(--paper); color: var(--forest); }

/* Hero : une seule photo, fixe */
.home-hero { position: relative; overflow: hidden; background: var(--forest-3); color: var(--paper); min-height: clamp(460px, 70vh, 660px); display: flex; align-items: flex-end; }
.home-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.home-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,22,38,.86) 0%, rgba(14,22,38,.6) 48%, rgba(14,22,38,.18) 100%),
              linear-gradient(0deg, rgba(14,22,38,.55), rgba(14,22,38,0) 45%);
}
.home-hero-inner { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 76px; }
.home-hero-kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); margin-bottom: 20px; }
.home-hero h1 { color: var(--paper); max-width: 920px; font-size: clamp(2.2rem, 4.6vw, 3.9rem); margin-bottom: 34px; text-shadow: 0 2px 30px rgba(14,22,38,.35); }
.home-hero h1 span { display: block; color: var(--sand); font-style: italic; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Bandeau d'accès rapide */
.quick { background: var(--terra); color: #fff; }
.quick-inner { display: flex; align-items: center; gap: 28px; padding-top: 16px; padding-bottom: 16px; }
.quick-label { font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.quick ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.quick a { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.55); color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; transition: background .2s, color .2s; }
.quick a:hover { background: #fff; color: var(--terra-dark); }

/* Introduction + carte expert */
.intro { padding: 96px 0; background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: 64px; align-items: start; }
.intro-text h2 { font-size: clamp(1.6rem, 2.7vw, 2.25rem); color: var(--forest); margin-bottom: 26px; }
.intro-text p { color: var(--ink-soft); font-size: 1.08rem; }
.intro-text a { color: var(--forest-2); font-weight: 600; }
.expert-card { background: var(--forest); color: var(--paper); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.expert-card-title { margin: 0; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }
.expert-head { display: flex; align-items: center; gap: 16px; }
.expert-card .avatar { width: 66px; height: 66px; font-size: 1.4rem; }
.expert-card .avatar::before { background: var(--forest); }
.expert-card .avatar span { color: var(--paper); }
.expert-name { margin: 0; font-family: var(--font-display); font-size: 1.4rem; color: var(--paper); }
.expert-role { margin: 4px 0 0; font-size: .88rem; line-height: 1.4; color: var(--sand); }
.expert-creds { list-style: none; display: grid; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.expert-creds li { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: rgba(255,255,255,.88); }
.expert-creds li::before, .checklist li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--terra) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.expert-line { color: var(--paper); font-weight: 600; text-decoration: none; }
.expert-line:hover { color: var(--sand); }
.expert-card .btn { margin-top: 6px; }

/* Notre offre : tuiles sur fond coloré */
.offer {
  padding: 100px 0; color: var(--paper);
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(0,130,222,.35), transparent 62%),
    linear-gradient(118deg, transparent 0 22%, rgba(0,84,153,.55) 22% 38%, transparent 38% 61%, rgba(0,84,153,.32) 61% 72%, transparent 72%),
    var(--forest-3);
}
.offer-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 44px; }
.offer-label { margin: 0; font-size: 1.05rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; }
.phase-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.phase-filter > span { font-size: .85rem; color: rgba(255,255,255,.7); margin-right: 4px; }
.phase-filter .phase-btn {
  display: inline-flex; width: auto; flex-direction: row; gap: 0; padding: 8px 15px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.3); background: transparent; color: var(--paper);
  font: 600 .85rem var(--font-body); cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.phase-filter .phase-btn:hover { border-color: var(--sand); }
.phase-filter .phase-btn[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--forest); }
.offer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.offer-tile {
  position: relative; display: flex; flex-direction: column; min-height: 250px; padding: 26px 22px 22px;
  border: 1px solid rgba(255,255,255,.22); color: var(--paper); text-decoration: none;
  transition: background .3s, border-color .3s, opacity .3s, transform .3s;
}
.offer-num { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); margin-bottom: auto; }
.offer-tile h3 { color: var(--paper); font-size: 1.35rem; margin: 26px 0 10px; }
.offer-tile p { font-size: .88rem; line-height: 1.5; color: rgba(255,255,255,.72); margin: 0 0 18px; }
.offer-arrow { font-size: 1.4rem; line-height: 1; transition: transform .25s; }
.offer-tile:hover { background: rgba(255,255,255,.07); border-color: var(--sand); color: var(--paper); transform: translateY(-4px); }
.offer-tile:hover .offer-arrow { transform: translateX(6px); }
.offer-grid.is-filtered .offer-tile:not(.is-match) { opacity: .22; }
.offer-grid.is-filtered .offer-tile.is-match { border-color: var(--sand); background: rgba(255,255,255,.06); }
.offer-status { margin: 22px 0 0; min-height: 1.6em; font-size: .9rem; color: rgba(255,255,255,.75); }

/* Comment Sustalys accompagne */
.how { padding: 100px 0 0; background: var(--white); }
.how-head { max-width: 900px; margin-bottom: 64px; }
.how-head h2 { color: var(--forest-2); font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.how-head p { color: var(--ink-soft); font-size: 1.1rem; }
.domain { padding: 84px 0; background: #f0f6fb; scroll-margin-top: 80px; }
.domain--alt { background: var(--paper); }
.domain-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 64px; align-items: center; }
.domain--alt .domain-grid { grid-template-columns: .9fr 1.4fr; }
.domain--alt .domain-panel { order: -1; }
.domain-tag { margin: 0 0 10px; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terra-dark); }
.domain-text h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.domain-text h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; line-height: 1.4; color: var(--forest-2); margin-bottom: 14px; }
.domain-text > p { color: var(--ink-soft); }
.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 6px 0 30px; }
.checklist li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: .95rem; }
.domain-panel { position: relative; overflow: hidden; background: var(--forest); color: var(--paper); border-radius: var(--radius-lg); padding: 38px 34px; }
.domain--alt .domain-panel { background: var(--forest-2); }
.domain-num { position: absolute; right: 18px; top: -18px; font-family: var(--font-display); font-size: 7.5rem; line-height: 1; color: rgba(255,255,255,.08); }
.domain-panel-title { position: relative; margin: 0 0 12px; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }
.domain-panel ul { position: relative; list-style: none; }
.domain-panel li { border-bottom: 1px solid var(--line-light); }
.domain-panel li:last-child { border-bottom: 0; }
.domain-panel li > a, .domain-panel li > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; color: var(--paper); text-decoration: none; font-weight: 600; }
.domain-panel li a:hover { color: var(--sand); }

/* Pourquoi Sustalys : tuiles en dégradé de verts */
.why { padding: 100px 0 10px; background: var(--white); }
.why-title { color: var(--forest-2); max-width: 900px; margin-bottom: 40px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.why-tile { padding: 38px 30px; min-height: 260px; color: var(--paper); }
.why-tile:nth-child(1) { background: #22304e; }
.why-tile:nth-child(2) { background: #005499; }
.why-tile:nth-child(3) { background: #0082de; }
.why-tile:nth-child(4) { background: #0095d5; }
.why-tile h3 { color: var(--paper); font-size: 1.3rem; margin-bottom: 14px; }
.why-tile p { margin: 0; color: rgba(255,255,255,.84); font-size: .96rem; }
#enjeux .section-head h2 { color: var(--forest-2); }

/* FAQ de l'accueil */
.home-faq { padding: 100px 0; background: #f0f6fb; }
.home-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.home-faq-grid p { color: var(--ink-soft); }

/* À propos : chiffres clés */
.facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.facts li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; font-size: .92rem; color: var(--ink-soft); }
.facts strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; color: var(--forest); margin-bottom: 4px; }

@media (max-width: 1080px) {
  .offer-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .intro-grid, .domain-grid, .domain--alt .domain-grid, .home-faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .domain--alt .domain-panel { order: 0; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .quick-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .intro, .offer, .why, .home-faq { padding: 72px 0; }
  .how { padding-top: 72px; }
  .domain { padding: 60px 0; }
}
@media (max-width: 600px) {
  .home-hero-inner { padding-top: 96px; padding-bottom: 52px; }
  .offer-grid, .why-grid, .facts, .checklist { grid-template-columns: 1fr; }
  .offer-tile { min-height: 0; }
  .why-tile { min-height: 0; }
  .expert-card, .domain-panel { padding: 26px; }
}
/* Alternance des fonds de l'accueil : blanc / bleu très clair (façon SOCOTEC) */
#enjeux { background: var(--paper-2); }
.home-faq { background: var(--white); }
#a-propos { background: var(--paper-2); }
.offer-tile { border-radius: 4px; }
/* Offre rangée en 3 familles : certifications / études / performance & conformité */
.offer-group { scroll-margin-top: 90px; }
.offer-group + .offer-row, .offer-row { margin-top: 56px; }
.offer-row { display: grid; grid-template-columns: 3fr 2fr; gap: 40px; }
.offer-group-head { display: flex; align-items: flex-start; gap: 18px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.18); }
.offer-group-letter {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--terra); color: #fff; font-family: var(--font-display); font-size: 1.25rem;
}
.offer-group-head h2 { color: #fff; font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin: 0 0 4px; }
.offer-group-head p { margin: 0; font-size: .95rem; color: rgba(255,255,255,.72); }
.offer-grid--5 { grid-template-columns: repeat(5, 1fr); }
.offer-grid--3 { grid-template-columns: repeat(3, 1fr); }
.offer-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1080px) {
  .offer-row { grid-template-columns: 1fr; gap: 56px; }
  .offer-grid--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .offer-grid--5, .offer-grid--3, .offer-grid--2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .offer-grid--5, .offer-grid--3, .offer-grid--2 { grid-template-columns: 1fr; }
}
/* Liste latérale des pages de service, rangée par famille */
.aside-group { margin: 16px 0 4px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-dark); }
.aside-links h2 + .aside-group { margin-top: 4px; }
/* Photo de Missimawou KIKI */
.expert-photo { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; object-position: center 25%; border: 3px solid var(--sand); }
.about { align-items: center; }
.about-text .facts { margin-top: 28px; }
.portrait { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); max-width: 420px; justify-self: end; }
.portrait img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; }
.portrait figcaption { padding: 22px 24px 26px; }
.portrait strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; color: var(--ink); }
.portrait span { display: block; margin: 4px 0 16px; font-size: .92rem; color: var(--forest-2); font-weight: 600; line-height: 1.4; }
@media (max-width: 900px) { .portrait { justify-self: start; } }
/* Sustalys CEM et blog */
.offer-row + .offer-group { margin-top: 56px; }
.footer-grid { grid-template-columns: 1.2fr repeat(5, 1fr); gap: 26px; }
#menu a { white-space: nowrap; }
#menu .btn-outline { margin-left: 6px; padding: 10px 20px; }
@media (min-width: 901px) and (max-width: 1180px) {
  #menu { gap: 0; }
  #menu a:not(.btn) { padding: 10px 8px; font-size: .9rem; }
  #menu .btn, #menu .btn-outline { margin-left: 6px; padding: 9px 14px; font-size: .9rem; }
}
.post-meta { margin: 0; color: rgba(255,255,255,.8); }
.prose ol { padding-left: 22px; margin: 0 0 1.2em; }
.prose ol li { margin-bottom: 10px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--forest-2); color: var(--ink); }
.post-tag { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-dark); margin-bottom: 14px; }
.post-card h2 { font-size: 1.4rem; }
.post-card p { color: var(--ink-soft); font-size: .95rem; }
.post-foot { display: flex; justify-content: space-between; margin-top: auto; padding-top: 10px; font-size: .88rem; font-weight: 600; color: var(--forest-2); }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .post-grid { grid-template-columns: 1fr; } }
/* Encart de contact : fond blanc, cadre limité à son contenu */
.aside { align-items: start; }
.aside--post { grid-template-columns: 1fr; }
.aside .aside-card { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-top: 3px solid var(--terra); border-radius: var(--radius); padding: 26px; box-shadow: 0 12px 30px -24px rgba(20,31,53,.45); }
.aside .aside-card h2 { color: var(--ink); font-size: 1.35rem; margin-top: 0; }
.aside .aside-card p { color: var(--ink-soft); }
.aside .aside-card .btn-gold { background: var(--terra); }
.aside .aside-card .btn-gold:hover { background: var(--terra-dark); }
.aside .aside-card .tel { color: var(--forest-2); font-weight: 600; font-size: .92rem; }
@media (max-width: 1080px) {
  .aside--post { display: block; max-width: 760px; }
}
/* Nous rejoindre */
.job-empty { padding: 18px 22px; background: var(--paper-2); border-radius: var(--radius); }
.job-note { font-size: .88rem; color: var(--ink-soft); }
/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .expertises { grid-template-columns: repeat(2, 1fr); }
  .poles { grid-template-columns: 1fr 1fr; }
  .pole:nth-child(odd) { padding-left: 0; }
  .pole:nth-child(even), .pole:last-child { border-right: 0; }
  .pole:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .article { grid-template-columns: 1fr; gap: 50px; }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  section { padding: 80px 0; }
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; cursor: pointer; padding: 0 12px;
  }
  .menu-toggle span { height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  #menu {
    position: absolute; left: 0; right: 0; top: 78px; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line);
    display: none;
  }
  #menu.open { display: flex; }
  #menu a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; }
  #menu .btn { margin: 10px 0 0; }
  .hero-grid, .about, .contact { grid-template-columns: 1fr; gap: 48px; }
  .hero-grid { padding-top: 56px; padding-bottom: 130px; }
  .hero-text { max-width: none; }
  .showcase-viewport::after { background: rgba(14,22,38,.6); }
  .showcase-bar { flex-direction: column; align-items: flex-start; gap: 12px; padding: 0 16px; }
  .phases { grid-template-columns: repeat(5, minmax(96px, 1fr)); overflow-x: auto; padding-bottom: 8px; }
  .phase-panel { grid-template-columns: 1fr; gap: 8px; }
  .expertises { grid-template-columns: 1fr 1fr; }
  .project, .project:nth-child(4n+1), .project:nth-child(4n+4) { flex-basis: 100%; min-height: 280px; }
  .audiences, .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero-text > p { font-size: 1.08rem; }
  .hero-grid { padding-top: 40px; padding-bottom: 150px; }
  .showcase-slide figcaption { right: 16px; top: 18px; bottom: auto; font-size: .85rem; }
  .showcase-credit { max-width: 60%; }
  .phases { grid-template-columns: repeat(5, 92px); }
  .phases::before { left: 46px; right: auto; width: calc(92px * 4); }
  .expertises, .poles { grid-template-columns: 1fr; }
  .exp { min-height: 0; }
  .pole, .pole + .pole { padding: 28px 0 10px; border-right: 0; }
  .pole + .pole { border-top: 1px solid var(--line-light); }
  #contact-form { grid-template-columns: 1fr; padding: 24px; }
  .contact-info, .founder { padding: 26px; }
  .aside { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps > div { padding-left: 64px; }
  .levels { border-radius: 16px; }
  .levels span { flex: 1 1 33%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
