/* ==========================================================================
   NAB Consulting — Charte graphique v3 (septembre 2026)
   Vert profond #1A5C26 · Jaune accent #EFBB3C · Jost (titrage) / Manrope (texte)
   ========================================================================== */

:root {
  /* Marque */
  --green: #1a5c26;
  --green-deep: #103a18;
  --green-soft: #f1f5f1;
  --yellow: #efbb3c;
  --yellow-dark: #8a6e14; /* jaune lisible sur fond clair (charte p.11) */

  /* Neutres charte */
  --white: #ffffff;
  --n-50: #f7f8fa;
  --n-100: #e3e7ec;
  --n-200: #c0c8d1;
  --n-300: #97a1ac;
  --n-600: #4a5765;
  --n-800: #25303b;

  --font-title: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", Arial, Helvetica, sans-serif;

  --maxw: 1240px;
  --gut: 28px;
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--n-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0;
}
p { margin: 0; }
::selection { background: var(--yellow); color: var(--green-deep); }

/* Utilitaires ------------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

.kicker {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 14px;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--yellow);
  flex: none;
}
.kicker--light { color: rgba(255, 255, 255, 0.72); }

.section { padding: clamp(54px, 6vw, 88px) 0; }
.section--tint { background: var(--n-50); }
.section--green { background: var(--green); color: var(--white); }

.section-head { max-width: 780px; margin-bottom: clamp(30px, 3.4vw, 44px); }
.section-head h2 {
  font-size: clamp(30px, 4.2vw, 46px);
  margin: 18px 0 0;
}
.section-head p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--n-600);
  max-width: 62ch;
}
.section--green .section-head p { color: rgba(255, 255, 255, 0.76); }

/* Boutons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-deep); }
.btn--ghost { border-color: var(--n-200); color: var(--n-800); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--light { background: var(--white); color: var(--green); }
.btn--light:hover { background: var(--yellow); color: var(--green-deep); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.btn--outline-light:hover { border-color: var(--yellow); color: var(--yellow); }
.btn .arw { transition: transform 0.25s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

/* En-tête ---------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
              height 0.35s var(--ease);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px;
  position: relative; z-index: 2; }
.brand { position: relative; z-index: 3; }
.brand img { height: 38px; width: auto; transition: height 0.35s var(--ease); }
.brand .logo-light { display: block; }
.brand .logo-dark { display: none; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: width 0.3s var(--ease);
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { width: 100%; }

.header-cta { display: inline-flex; }

/* État condensé (au scroll) */
/* Pas de backdrop-filter ici : il fait de l'en-tête un bloc conteneur pour ses
   descendants en position fixed, et le panneau du menu mobile — .nav, fixed,
   inset 0 — se retrouvait alors enfermé dans les 70 px de la barre au lieu de
   couvrir l'écran. Le fond étant opaque, le flou n'apportait de toute façon
   rien de visible. */
.header.is-solid {
  background: var(--white);
  box-shadow: 0 1px 0 var(--n-100);
  height: 70px;
}
.header.is-solid .brand img { height: 32px; }
.header.is-solid .brand .logo-light { display: none; }
.header.is-solid .brand .logo-dark { display: block; }
.header.is-solid .nav a { color: var(--n-800); }
.header.is-solid .nav a:hover { color: var(--green); }
.header.is-solid .btn--outline-light { border-color: var(--green); color: var(--green); }
.header.is-solid .btn--outline-light:hover { background: var(--green); color: var(--white); }

/* Burger */
.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 3; }
.burger span {
  position: absolute;
  left: 10px;
  width: 24px; height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), background 0.3s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.header.is-solid .burger span { background: var(--n-800); }
/* Menu ouvert, les trois barres passent au blanc pour se détacher du panneau
   vert. Le sélecteur reprend .is-solid : sans lui il pèse moins lourd que la
   règle ci-dessus, et la croix restait sombre dès qu'on avait scrollé. */
body.menu-open .burger span,
body.menu-open .header.is-solid .burger span { background: var(--white); }
/* au-dessus du panneau vert, on garde toujours le logo blanc */
body.menu-open .header .brand .logo-light { display: block; }
body.menu-open .header .brand .logo-dark { display: none; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--green-deep);
  color: var(--white);
  /* le filet jaune venait du bandeau des chiffres, supprimé : on le porte ici */
  border-bottom: 3px solid var(--yellow);
  padding: calc(var(--header-h) + clamp(58px, 8vw, 116px)) 0 clamp(48px, 6vw, 84px);
  overflow: hidden;
}
.hero::before {
  /* trame géométrique inspirée de la grille du monogramme */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(120% 90% at 78% 12%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(120% 90% at 78% 12%, #000 0%, transparent 70%);
}
.hero::after {
  /* le « A » du monogramme, en filigrane */
  content: "";
  position: absolute;
  right: -6%;
  bottom: -18%;
  width: min(620px, 52vw);
  aspect-ratio: 1 / 0.86;
  background: var(--green);
  clip-path: polygon(50% 0%, 100% 100%, 78% 100%, 50% 42%, 22% 100%, 0% 100%);
  opacity: 0.55;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { max-width: 860px; }
.hero h1 {
  font-size: clamp(40px, 6.6vw, 78px);
  font-weight: 400;
  letter-spacing: -0.028em;
  margin: 26px 0 0;
}
.hero h1 em {
  font-style: normal;
  display: inline-block;
  position: relative;
  color: var(--white);
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 4px;
  background: var(--yellow);
}
.hero-lede {
  margin-top: 24px;
  font-size: clamp(17px, 1.6vw, 19.5px);
  color: rgba(255, 255, 255, 0.78);
  max-width: 60ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Approche --------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.pillars { display: flex; flex-direction: column; }
.pillar { padding: 22px 0; border-top: 1px solid var(--n-100); display: flex; gap: 22px; }
.pillar:last-child { border-bottom: 1px solid var(--n-100); }
.pillar-idx {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--yellow-dark);
  padding-top: 5px;
  flex: none;
}
.pillar h3 { font-size: 20px; font-weight: 500; }
.pillar p { margin-top: 8px; font-size: 15.5px; color: var(--n-600); }

/* Secteurs --------------------------------------------------------------- */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--n-100);
  border: 1px solid var(--n-100); }
.sector { background: var(--white); padding: 34px 26px; text-align: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.sector:hover { background: var(--green); color: var(--white); }
.sector svg { width: 30px; height: 30px; stroke: var(--green); stroke-width: 1.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 16px;
  transition: stroke 0.3s var(--ease); }
.sector:hover svg { stroke: var(--yellow); }
.sector span { font-family: var(--font-title); font-size: 17px; font-weight: 500; }

/* FAQ -------------------------------------------------------------------- */
.faq { max-width: 880px; border-top: 1px solid var(--n-100); }
.faq-item { border-bottom: 1px solid var(--n-100); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  text-align: left;
  font-family: var(--font-title);
  font-size: clamp(17px, 1.9vw, 21px);
  font-weight: 500;
  color: var(--n-800);
  transition: color 0.25s var(--ease);
}
.faq-q:hover { color: var(--green); }
.faq-sign { position: relative; width: 16px; height: 16px; flex: none; }
.faq-sign::before, .faq-sign::after {
  content: "";
  position: absolute;
  background: var(--yellow-dark);
  transition: transform 0.3s var(--ease);
}
.faq-sign::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq-sign::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item.is-open .faq-sign::after { transform: scaleY(0); }
.faq-a { overflow: hidden; height: 0; transition: height 0.35s var(--ease); }
.faq-a-inner { padding: 0 0 28px; max-width: 72ch; color: var(--n-600); font-size: 16px; }
.faq-a-inner ul { margin: 14px 0 0; padding-left: 20px; }
.faq-a-inner li { margin-bottom: 6px; }
.faq-a-inner li::marker { color: var(--yellow-dark); }

/* Contact ---------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); }
.contact-list { display: flex; flex-direction: column; }
.contact-row {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  align-items: flex-start;
}
.contact-row:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.contact-row svg { width: 22px; height: 22px; stroke: var(--yellow); stroke-width: 1.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round; flex: none; margin-top: 3px; }
.contact-row .lbl { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.contact-row .val { font-family: var(--font-title); font-size: 19px; font-weight: 500; margin-top: 4px; }
.contact-row a.val:hover { color: var(--yellow); }

/* Formulaire */
.form { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 14px 16px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 118px; }
.field select option { color: var(--n-800); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: rgba(255, 255, 255, 0.1);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.form-note { font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* Pied de page ----------------------------------------------------------- */
.footer { background: var(--green-deep); color: rgba(255, 255, 255, 0.7); padding: 52px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.footer img { height: 42px; width: auto; }
.footer p { margin-top: 20px; font-size: 15px; max-width: 42ch; }
.footer h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--white); font-family: var(--font-body); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer a { font-size: 15px; transition: color 0.25s var(--ease); }
.footer a:hover { color: var(--yellow); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  padding-top: 26px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }

/* Apparition au défilement ------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .sectors { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --gut: 20px; --header-h: 72px; }
  .burger { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--green-deep);
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    z-index: 1;
  }
  body.menu-open .nav { transform: none; }
  body.menu-open { overflow: hidden; }
  .nav a { font-family: var(--font-title); font-size: 27px; color: var(--white); padding: 12px 0; }
  .header.is-solid .nav a { color: var(--white); }
  .sectors { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero::after { opacity: 0.35; right: -22%; }
}

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

/* ==========================================================================
   Composants ajoutés — opération phare, photos, presse, valeurs, réalisations
   ========================================================================== */

.h-lg { font-size: clamp(30px, 4.2vw, 46px); }
.lede { margin-top: 18px; font-size: 16.5px; color: var(--n-600); max-width: 58ch; }

/* Opération phare -------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}
.feature-lede { color: rgba(255, 255, 255, 0.78); font-size: 16.5px; margin-bottom: 20px; max-width: 60ch; }

.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.facts li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.facts-k {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  flex: none;
}
.facts-v {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 500;
  text-align: right;
}
.facts li:first-child .facts-v { font-size: 26px; color: var(--yellow); }
.facts-v small { font-size: 0.55em; color: rgba(255, 255, 255, 0.6); }

/* Photographies ---------------------------------------------------------- */
.photo { margin: 0; position: relative; }
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--green-deep);
}
.photo--3-2 img { aspect-ratio: 3 / 2; }
.photo--4-5 img { aspect-ratio: 4 / 5; }
.photo::after {
  /* voile vert 25 % prévu par la charte pour le texte posé sur image */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--green);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 32px 24px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(transparent, rgba(16, 58, 24, 0.82));
}
.photo figcaption::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: var(--yellow);
  margin-bottom: 10px;
}
.split--portrait { grid-template-columns: 0.8fr 1.2fr; align-items: center; }

.pull-quote {
  margin: 24px 0 0;
  padding-left: 22px;
  border-left: 4px solid var(--yellow);
  font-family: var(--font-title);
  font-size: clamp(21px, 2.5vw, 28px);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--green);
}

/* Vision / mission ------------------------------------------------------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--n-100);
  border: 1px solid var(--n-100); }
.panel { background: var(--white); padding: clamp(30px, 3.4vw, 46px); }
.panel h3 { font-size: 22px; font-weight: 500; margin-bottom: 16px; }
.panel h3::after { content: ""; display: block; width: 30px; height: 2px;
  background: var(--yellow); margin-top: 14px; }
.panel p { font-size: 15.5px; color: var(--n-600); }
.panel--accent { background: var(--green); color: var(--white); }
.panel--accent p { color: rgba(255, 255, 255, 0.78); }

/* Valeurs ---------------------------------------------------------------- */
/* Quatre valeurs : une rangée sur grand écran, 2 x 2 en dessous. */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 2.4vw, 34px); }
.value { border-top: 2px solid var(--yellow); padding-top: 22px; }
.value h3 { font-size: 21px; font-weight: 500; margin: 10px 0 10px; }
.value p { font-size: 15.5px; color: var(--n-600); }

/* Chapeau des pages internes --------------------------------------------- */
.hero--page { padding-bottom: clamp(44px, 6vw, 80px); }
.hero--page h1 { font-size: clamp(36px, 5.4vw, 62px); font-weight: 400; }

/* Pot de miel ------------------------------------------------------------ */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* États du formulaire ---------------------------------------------------- */
.form-note.is-ok { color: var(--yellow); font-weight: 600; }
.form-note.is-error { color: #ffd2d2; font-weight: 600; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* Responsive des ajouts -------------------------------------------------- */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .split--portrait { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
}

/* ==========================================================================
   Partenaires — bande sobre, logos seuls
   ========================================================================== */

.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(26px, 3.4vw, 52px) clamp(28px, 4.4vw, 64px);
  padding: clamp(26px, 3vw, 40px) clamp(20px, 3vw, 40px);
  background: var(--white);
  border: 1px solid var(--n-100);
}

.partner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 0 8px;
}

.partner img {
  max-height: 100%;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* couleurs d'origine, simplement apaisées au repos */
  opacity: 0.8;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  animation: partner-float 9s var(--ease) infinite;
}

/* équilibrage optique : les trois logos n'ont pas le même format
   (lockup vertical, bloc large, médaillon carré). */
.partner--tall { height: 76px; }
.partner--tall img { max-width: 120px; }
.partner--wide img { max-width: 140px; }
/* lockups très allongés : sans cela leur hauteur tombe sous 35 px */
.partner--xwide img { max-width: 195px; }

/* décalages répartis pour que l'oscillation ne se synchronise jamais */
.partner:nth-child(2) img { animation-delay: -1.1s; }
.partner:nth-child(3) img { animation-delay: -2.2s; }
.partner:nth-child(4) img { animation-delay: -3.4s; }
.partner:nth-child(5) img { animation-delay: -4.5s; }
.partner:nth-child(6) img { animation-delay: -5.6s; }
.partner:nth-child(7) img { animation-delay: -6.8s; }
.partner:nth-child(8) img { animation-delay: -7.9s; }
.partner:nth-child(9) img { animation-delay: -8.6s; }

@keyframes partner-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -4px; }
}

/* filet jaune qui se trace sous le logo survolé */
.partner::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px; bottom: -12px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}

.partner:hover img {
  opacity: 1;
  transform: translateY(-2px);
  animation-play-state: paused;
}
.partner:hover::after { transform: scaleX(1); }

@media (max-width: 620px) {
  .partner { height: 46px; }
  .partner--tall { height: 56px; }
  .partner img { max-width: 108px; }
  .partner--xwide img { max-width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .partner img { animation: none; }
}

/* ==========================================================================
   Motif — le triangle du « A » du monogramme
   Repris du filigrane du hero, en trois intensités seulement, pour qu'il
   reste un signe et ne devienne pas un décor.
   ========================================================================== */

/* Le dessin : chevron ouvert, mêmes proportions que le « A » du logo. */
.motif { position: relative; overflow: hidden; }
.motif > * { position: relative; z-index: 1; }

.motif::after {
  content: "";
  position: absolute;
  aspect-ratio: 1 / 0.86;
  clip-path: polygon(50% 0%, 100% 100%, 78% 100%, 50% 42%, 22% 100%, 0% 100%);
  pointer-events: none;
  z-index: 0;
}

/* Filigrane sur fond vert : un ton plus clair que le fond. */
.motif--right::after {
  right: -5%;
  bottom: -22%;
  width: min(540px, 44vw);
  background: rgba(255, 255, 255, 0.05);
}
.motif--left::after {
  left: -8%;
  bottom: -26%;
  width: min(480px, 40vw);
  background: rgba(255, 255, 255, 0.045);
}

/* Variante pied de page : plus discrète encore. */
.footer.motif::after {
  right: -4%;
  bottom: -30%;
  width: min(420px, 34vw);
  background: rgba(255, 255, 255, 0.035);
}


/* Puces des listes de la FAQ : le disque devient un triangle. */
.faq-a-inner ul { list-style: none; padding-left: 0; }
.faq-a-inner li { position: relative; padding-left: 22px; }
.faq-a-inner li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 8px;
  background: var(--yellow-dark);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

/* Valeurs : une pointe posée sur le filet qui coiffe chaque colonne. */
.value { position: relative; }
.value::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 0;
  width: 11px;
  height: 9px;
  background: var(--yellow);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

@media (prefers-reduced-motion: reduce) {
  .motif::after { opacity: 0.6; }
}

/* Contexte posé avant la citation du président. */
.quote-intro {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--n-300);
}
.pull-quote { margin-top: 14px; }
.pull-quote cite {
  display: block;
  margin-top: 18px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--yellow-dark);
}

/* ==========================================================================
   Page services
   ========================================================================== */

/* Méthode en trois temps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
.step { border-top: 2px solid var(--yellow); padding-top: 22px; position: relative; }
.step::before {
  content: "";
  position: absolute;
  top: -11px; left: 0;
  width: 11px; height: 9px;
  background: var(--yellow);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}
.step .card-num { color: var(--yellow); }
.step h3 { font-size: 21px; font-weight: 500; margin: 10px 0 10px; }
.step p { font-size: 15.5px; color: rgba(255, 255, 255, 0.78); }

/* Appel à l'action téléphonique */
.call {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.call-text h2 { margin: 18px 0 16px; }
.call-text p { font-size: 16.5px; color: var(--n-600); max-width: 46ch; }

.call-action { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

.call-number {
  display: block;
  width: 100%;
  background: var(--green);
  color: var(--white);
  padding: clamp(24px, 3vw, 34px) clamp(24px, 3vw, 36px);
  position: relative;
  overflow: hidden;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.call-number::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -40%;
  width: 220px;
  aspect-ratio: 1 / 0.86;
  background: rgba(255, 255, 255, 0.06);
  clip-path: polygon(50% 0%, 100% 100%, 78% 100%, 50% 42%, 22% 100%, 0% 100%);
  transition: transform 0.5s var(--ease);
}
.call-number:hover { background: var(--green-deep); transform: translateY(-3px); }
.call-number:hover::after { transform: translateY(-8px); }

.call-label {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 10px;
}
.call-digits {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--font-title);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .call { grid-template-columns: 1fr; }
}


/* Sommaire posé sous le chapeau d'une page interne */
.anchors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.anchors a {
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease),
              background 0.25s var(--ease);
}
.anchors a:hover {
  border-color: var(--yellow);
  color: var(--green-deep);
  background: var(--yellow);
}

/* Les sections de la page « À propos » visées par une ancre. */
#president, #approche, #methode, #vision, #secteurs, #faq { scroll-margin-top: 90px; }

/* Vision & mission : la photo du président occupe la colonne de gauche ------ */
.vision-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.duo--stack { grid-template-columns: 1fr; }

@media (max-width: 1000px) {
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .vision-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Accueil — renvoi vers les services, et bande de presse
   ========================================================================== */

/* Les sept métiers sont nommés, pas listés : des pastilles qui se replient
   sur deux lignes tiennent en un tiers de la hauteur d'une liste. */
.srv-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}
.srv-lede { font-size: 16.5px; color: var(--n-600); max-width: 46ch; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 10px 17px;
  border: 1px solid var(--n-100);
  background: var(--white);
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 500;
  color: var(--n-800);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease),
              background 0.25s var(--ease), transform 0.25s var(--ease);
}
.pill:hover {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

/* Quatre articles pour une même opération : on cite les sources sur une ligne
   plutôt que d'aligner quatre cartes qui répètent le même titre. */
.press-line {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(26px, 3vw, 38px) 0;
  border-top: 1px solid var(--n-100);
  border-bottom: 1px solid var(--n-100);
}
.press-line-text { max-width: 44ch; }
.press-claim { margin-top: 14px; font-size: 16.5px; color: var(--n-600); max-width: 40ch; }

/* Les sources sont des liens sortants : elles reprennent la pastille déjà
   employée pour les services, seule forme cliquable du site, plutôt qu'un
   simple mot souligné qui ne signalait rien. */
.press-sources {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.press-sources a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid var(--n-100);
  background: var(--white);
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 500;
  color: var(--n-800);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
              color 0.25s var(--ease), transform 0.25s var(--ease);
}
.press-sources a:hover {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}
.press-sources .arw {
  font-size: 13px;
  color: var(--yellow-dark);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.press-sources a:hover .arw { color: var(--yellow); transform: translate(2px, -2px); }

@media (max-width: 900px) {
  .srv-compact { grid-template-columns: 1fr; }
  .press-line { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Accueil — relance téléphonique, juste après le track record
   ========================================================================== */

/* Point de sortie à mi-page : quelqu'un convaincu par les opérations ne doit
   pas avoir à traverser trois sections pour trouver comment joindre. */
.relance { padding: 0; }
.relance-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 40px;
  padding: clamp(24px, 2.8vw, 34px) 0;
  border-bottom: 1px solid var(--n-100);
}
.relance-text {
  font-family: var(--font-title);
  font-size: clamp(19px, 2.1vw, 24px);
  font-weight: 500;
  color: var(--n-800);
  line-height: 1.3;
}
.relance-text span {
  display: block;
  margin-top: 7px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 400;
  color: var(--n-600);
}
.relance-tel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 26px 14px 24px;
  border-left: 3px solid var(--yellow);
  background: var(--n-50);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.relance-tel:hover { background: var(--green); transform: translateY(-2px); }
.relance-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow-dark);
  transition: color 0.25s var(--ease);
}
.relance-digits {
  font-family: var(--font-title);
  font-size: clamp(21px, 2.3vw, 27px);
  font-weight: 500;
  color: var(--green);
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.relance-tel:hover .relance-label { color: var(--yellow); }
.relance-tel:hover .relance-digits { color: var(--white); }

@media (max-width: 620px) {
  .relance-inner { flex-direction: column; align-items: stretch; }
  .relance-tel { align-items: flex-start; }
}

/* Numéro d'ordre — employé par les valeurs et les étapes de la méthode. */
.card-num {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--yellow-dark);
}

/* Bloc de sortie en fin de page interne ----------------------------------- */
.closing {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.closing-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

@media (max-width: 900px) {
  .closing { grid-template-columns: 1fr; }
  .closing-actions { justify-content: flex-start; }
}

/* ==========================================================================
   Page services — composition de tuiles
   Sept blocs de largeurs inégales sur une grille de six colonnes (4+2, 2+2+2,
   3+3) : la lecture se fait par bloc et non ligne à ligne comme dans une liste.
   ========================================================================== */

.tuiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--n-100);
  border: 1px solid var(--n-100);
}

.tuile {
  position: relative;
  overflow: hidden;
  background: var(--white);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  scroll-margin-top: 100px;
  transition: background 0.3s var(--ease);
}
.tuile--2 { grid-column: span 2; }
.tuile--3 { grid-column: span 3; }
.tuile--4 { grid-column: span 4; }

.tuile:hover { background: var(--n-50); }

/* filet jaune qui se trace en haut du bloc survolé */
.tuile::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.tuile:hover::before { transform: scaleX(1); }

/* le numéro, en très grand et très pâle, donne le rythme sans ajouter de texte */
.tuile-chiffre {
  position: absolute;
  right: clamp(14px, 1.6vw, 24px);
  bottom: clamp(-40px, -3vw, -18px);
  font-family: var(--font-title);
  font-size: clamp(88px, 11vw, 150px);
  font-weight: 500;
  line-height: 1;
  color: var(--n-50);
  pointer-events: none;
  user-select: none;
  transition: color 0.4s var(--ease);
}
.tuile:hover .tuile-chiffre { color: var(--n-100); }

.tuile-icone {
  position: relative;
  width: 30px; height: 30px;
  stroke: var(--green); stroke-width: 1.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 20px;
}

.tuile h2 {
  position: relative;
  font-size: clamp(20px, 2.1vw, 25px);
  font-weight: 500;
  line-height: 1.18;
}
.tuile-accroche {
  position: relative;
  margin-top: 10px;
  font-family: var(--font-title);
  font-size: clamp(15px, 1.6vw, 17.5px);
  font-weight: 400;
  color: var(--green);
}
.tuile-texte {
  position: relative;
  margin-top: 14px;
  font-size: 15.5px;
  color: var(--n-600);
  max-width: 62ch;
}

/* Le premier métier, le plus large, est traité en fond vert : c'est le cœur
   de l'activité, et cela casse la régularité du damier. */
.tuile--phare { background: var(--green); color: var(--white); }
.tuile--phare:hover { background: var(--green-deep); }
.tuile--phare::before { transform: scaleX(1); }
.tuile--phare .tuile-icone { stroke: var(--yellow); width: 34px; height: 34px; }
.tuile--phare .tuile-accroche { color: var(--yellow); }
.tuile--phare .tuile-texte { color: rgba(255, 255, 255, 0.78); }
.tuile--phare .tuile-chiffre,
.tuile--phare:hover .tuile-chiffre { color: rgba(255, 255, 255, 0.07); }
.tuile--phare h2 { font-size: clamp(24px, 2.7vw, 32px); }

@media (max-width: 1000px) {
  .tuiles { grid-template-columns: repeat(2, 1fr); }
  .tuile--2, .tuile--3, .tuile--4 { grid-column: span 1; }
  .tuile--phare { grid-column: span 2 !important; }
}
@media (max-width: 680px) {
  .tuiles { grid-template-columns: 1fr; }
  .tuile--phare { grid-column: span 1 !important; }
  .tuile-chiffre { font-size: 78px; }
}

/* ==========================================================================
   Plaquette de présentation
   ========================================================================== */

.doc {
  display: grid;
  grid-template-columns: 0.46fr 1.54fr;
  gap: clamp(28px, 4.4vw, 64px);
  align-items: center;
}

.doc-apercu {
  display: block;
  position: relative;
  transition: transform 0.35s var(--ease);
}
.doc-apercu img {
  width: 100%;
  height: auto;
  border: 1px solid var(--n-100);
  box-shadow: 0 18px 44px -26px rgba(16, 58, 24, 0.5);
  transition: box-shadow 0.35s var(--ease);
}
.doc-apercu:hover { transform: translateY(-4px); }
.doc-apercu:hover img { box-shadow: 0 26px 56px -24px rgba(16, 58, 24, 0.55); }

.doc-texte h2 { margin: 18px 0 16px; }
.doc-lede { font-size: 16.5px; color: var(--n-600); max-width: 52ch; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.doc-meta {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--n-300);
}

@media (max-width: 820px) {
  .doc { grid-template-columns: 1fr; }
  .doc-apercu { max-width: 260px; }
}

/* Sélecteur de langue ------------------------------------------------------
   Inséré par i18n.js dans la barre d'en-tête, entre la navigation et l'appel
   à l'action. Sur mobile il reste dans la barre (le CTA, lui, est masqué) :
   la langue doit rester accessible sans ouvrir le menu. */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.lang-b {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  padding: 4px 2px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
  transition: color 0.25s var(--ease);
}
.lang-b::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.lang-b:hover { color: var(--white); }
.lang-b.is-on { color: var(--white); }
.lang-b.is-on::after { transform: scaleX(1); }
.lang-sep {
  width: 1px; height: 12px;
  background: rgba(255, 255, 255, 0.28);
}

.header.is-solid .lang-b { color: var(--n-300); }
.header.is-solid .lang-b:hover,
.header.is-solid .lang-b.is-on { color: var(--green); }
.header.is-solid .lang-sep { background: var(--n-200); }

/* Menu mobile ouvert : le panneau vert repasse sous la barre, on rebascule
   le sélecteur en clair pour qu'il reste lisible. */
body.menu-open .header .lang-b,
body.menu-open .header.is-solid .lang-b { color: rgba(255, 255, 255, 0.6); }
body.menu-open .header .lang-b.is-on,
body.menu-open .header.is-solid .lang-b.is-on { color: var(--white); }
body.menu-open .header .lang-sep,
body.menu-open .header.is-solid .lang-sep { background: rgba(255, 255, 255, 0.28); }

@media (max-width: 760px) {
  .lang { margin-left: auto; margin-right: 4px; position: relative; z-index: 3; }
}
