/* ==========================================================
   Evo Informatique — feuille de style principale
   Polices hébergées localement (pas d'appel à Google Fonts, RGPD)
   ========================================================== */

@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* Couleurs reprises du logo */
  --vert: #0d4a2b;          /* lettres du logo, un peu éclairci */
  --vert-fonce: #063a20;
  --vert-clair: #85ba89;    /* écran de la tablette */
  --vert-pale: #eef4ee;
  --noir: #161816;
  --gris-texte: #4a4f4b;
  --gris-ligne: #dde2de;
  --gris-fond: #f6f7f5;
  --blanc: #ffffff;

  --titre: "Barlow", "Segoe UI", Arial, sans-serif;
  --texte: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --largeur: 1180px;
  --rayon: 4px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--texte);
  font-size: 17px;
  line-height: 1.6;
  color: var(--noir);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--vert); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--vert-fonce); }

h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--noir);
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1rem;
  padding: .8em 1.4em;
  border-radius: var(--rayon);
  border: 2px solid var(--vert);
  background: var(--vert);
  color: var(--blanc);
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--vert-fonce); border-color: var(--vert-fonce); color: var(--blanc); }

.btn--contour { background: transparent; color: var(--noir); border-color: var(--noir); }
.btn--contour:hover { background: var(--noir); border-color: var(--noir); color: var(--blanc); }

.btn--clair { background: var(--blanc); border-color: var(--blanc); color: var(--noir); }
.btn--clair:hover { background: var(--vert-clair); border-color: var(--vert-clair); color: var(--noir); }

.lien-fleche {
  font-family: var(--titre);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4em;
}
.lien-fleche::after { content: "→"; transition: transform .15s; }
.lien-fleche:hover::after { transform: translateX(3px); }

/* ---------- Bandeau supérieur ---------- */
.bandeau {
  background: var(--noir);
  color: #c9cec9;
  font-size: .9rem;
}
.bandeau .conteneur {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 40px;
}
.bandeau ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.bandeau a { color: #e8ebe8; text-decoration: none; }
.bandeau a:hover { color: var(--vert-clair); }

.reseaux { display: flex; gap: 14px; align-items: center; }
.reseaux a { display: inline-flex; }
.reseaux svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------- En-tête & navigation ---------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--blanc);
  border-bottom: 1px solid var(--gris-ligne);
}
.entete .conteneur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--noir); }
.marque img { height: 58px; width: auto; }
.marque span { font-family: var(--titre); line-height: 1.1; }
.marque strong { display: block; font-size: 1.2rem; font-weight: 700; }
.marque small { font-size: .82rem; color: var(--gris-texte); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.nav li { position: relative; }

.nav-lien,
.nav-deroulant {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--titre);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--noir);
  text-decoration: none;
  padding: 10px 14px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-lien:hover,
.nav-deroulant:hover,
.nav li:focus-within > .nav-deroulant { color: var(--vert); }
.nav-lien[aria-current="page"] { color: var(--vert); box-shadow: inset 0 -2px 0 var(--vert); }

.nav-deroulant svg { width: 11px; height: 11px; transition: transform .2s; }

.sous-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--blanc);
  border: 1px solid var(--gris-ligne);
  border-top: 3px solid var(--vert);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.sous-menu a {
  display: block;
  padding: 9px 20px;
  color: var(--noir);
  text-decoration: none;
  font-size: .97rem;
}
.sous-menu a:hover { background: var(--vert-pale); color: var(--vert-fonce); }
.sous-menu .separateur { border-top: 1px solid var(--gris-ligne); margin: 6px 0; }

@media (hover: hover) and (min-width: 1001px) {
  .nav li:hover > .sous-menu,
  .nav li:focus-within > .sous-menu { opacity: 1; visibility: visible; transform: none; }
  .nav li:hover > .nav-deroulant svg { transform: rotate(180deg); }
}
.nav li.ouvert > .sous-menu { opacity: 1; visibility: visible; transform: none; }
.nav li.ouvert > .nav-deroulant svg { transform: rotate(180deg); }

.nav .btn { margin-left: 12px; padding: .6em 1.2em; }

.burger {
  display: none;
  background: none;
  border: 1px solid var(--gris-ligne);
  border-radius: var(--rayon);
  padding: 10px;
  cursor: pointer;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--noir); margin: 4px 0; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(4) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .burger { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blanc);
    border-bottom: 1px solid var(--gris-ligne);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 24px 24px;
    display: none;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
  }
  .nav.ouverte { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav > ul > li { border-bottom: 1px solid var(--gris-ligne); }
  .nav-lien, .nav-deroulant { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 1.08rem; }
  .sous-menu {
    position: static;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--vert);
    margin: 0 0 12px;
    padding: 0;
    display: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .nav li.ouvert > .sous-menu { display: block; }
  .sous-menu a { padding: 8px 16px; }
  .nav .btn { margin: 20px 0 0; justify-content: center; }
}

/* ---------- Héros ---------- */
.heros { padding: 72px 0 64px; }
.heros .conteneur {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.surtitre {
  display: inline-block;
  font-family: var(--titre);
  font-weight: 600;
  font-size: .92rem;
  color: var(--vert);
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 3px solid var(--vert);
}
.heros p.intro { font-size: 1.15rem; color: var(--gris-texte); max-width: 34em; }
.heros .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* Emplacements photo à remplacer */
.photo {
  position: relative;
  background: var(--gris-fond);
  border: 1px dashed #b9c1bb;
  border-radius: var(--rayon);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #7a827c;
  font-size: .92rem;
  padding: 24px;
  overflow: hidden;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo--large { aspect-ratio: 16 / 10; }

.heros .photo { aspect-ratio: 5 / 4; }

/* ---------- Bande de repères ---------- */
.reperes { border-top: 1px solid var(--gris-ligne); border-bottom: 1px solid var(--gris-ligne); }
.reperes ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.reperes li { padding: 26px 24px; border-left: 1px solid var(--gris-ligne); }
.reperes li:first-child { border-left: 0; padding-left: 0; }
.reperes strong { display: block; font-family: var(--titre); font-size: 1.35rem; font-weight: 600; }
.reperes span { color: var(--gris-texte); font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--gris { background: var(--gris-fond); }

.entete-section { max-width: 640px; margin-bottom: 52px; }
.entete-section p { color: var(--gris-texte); font-size: 1.08rem; }

/* Métiers */
.metiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.metier { border-top: 2px solid var(--noir); padding-top: 22px; display: flex; flex-direction: column; }
.metier .num { font-family: var(--titre); font-weight: 600; color: var(--vert); font-size: .95rem; margin-bottom: 10px; }
.metier p { color: var(--gris-texte); }
.metier ul { list-style: none; margin: 4px 0 24px; padding: 0; }
.metier li { padding: 7px 0; border-bottom: 1px solid var(--gris-ligne); font-size: .97rem; }
.metier li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--vert-clair); margin-right: 10px; vertical-align: middle; }
.metier .lien-fleche { margin-top: auto; }

/* Approche */
.approche {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.approche .texte p { color: var(--gris-texte); }
.engagements { list-style: none; margin: 0; padding: 0; }
.engagements li { display: grid; grid-template-columns: 56px 1fr; padding: 24px 0; border-bottom: 1px solid var(--gris-ligne); }
.engagements li:first-child { padding-top: 0; }
.engagements .icone {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--vert-pale);
  color: var(--vert);
  display: flex; align-items: center; justify-content: center;
}
.engagements .icone svg { width: 20px; height: 20px; }
.engagements h3 { font-size: 1.12rem; margin-bottom: .3em; }
.engagements p { margin: 0; color: var(--gris-texte); }

.secteurs { margin-top: 36px; }
.secteurs h3 { font-size: 1rem; margin-bottom: 14px; }
.secteurs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.secteurs li {
  font-size: .93rem;
  padding: 6px 14px;
  border: 1px solid var(--gris-ligne);
  border-radius: 100px;
  background: var(--blanc);
}

/* Ankaa */
.ankaa { background: var(--noir); color: #d7dbd7; }
.ankaa h2 { color: var(--blanc); }
.ankaa .conteneur {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.ankaa .surtitre { color: var(--vert-clair); border-color: var(--vert-clair); }
.ankaa p { color: #b9bfba; }
.ankaa .points { list-style: none; padding: 0; margin: 24px 0 30px; }
.ankaa .points li { padding: 8px 0 8px 28px; position: relative; color: #e4e7e4; }
.ankaa .points li::before {
  content: "";
  position: absolute; left: 0; top: 15px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--vert-clair);
  border-bottom: 2px solid var(--vert-clair);
  transform: rotate(-45deg);
}
.modules { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 32px; padding: 0; list-style: none; }
.modules li {
  font-family: var(--titre);
  font-size: .84rem;
  font-weight: 500;
  padding: 4px 10px;
  border: 1px solid #3a3f3b;
  border-radius: var(--rayon);
  color: #cfd4d0;
}
.modules abbr { text-decoration: none; color: var(--vert-clair); font-weight: 600; margin-right: 4px; }
.ankaa .photo { background: #222622; border-color: #444a45; color: #8b928c; }

/* Matériel */
.materiel {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
}
.materiel p { color: var(--gris-texte); margin: 0; }
.marques {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gris-ligne);
  border-left: 1px solid var(--gris-ligne);
}
.marques li {
  border-right: 1px solid var(--gris-ligne);
  border-bottom: 1px solid var(--gris-ligne);
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--titre);
  font-weight: 600;
  color: #8a918b;
  letter-spacing: .02em;
  padding: 12px;
}
.marques img { max-height: 34px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.marques li:hover img { filter: none; opacity: 1; }

/* Contact */
.contact { background: var(--vert-fonce); color: #dfeadf; }
.contact .conteneur {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.contact h2 { color: var(--blanc); }
.contact p { color: #c4d6c5; }
.coordonnees { list-style: none; margin: 0; padding: 0; }
.coordonnees li { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.coordonnees li:first-child { border-top: 1px solid rgba(255,255,255,.14); }
.coordonnees .label { font-size: .88rem; color: var(--vert-clair); font-family: var(--titre); font-weight: 600; padding-top: 2px; }
.coordonnees a { color: var(--blanc); text-decoration: none; font-family: var(--titre); font-weight: 600; font-size: 1.12rem; }
.coordonnees a:hover { text-decoration: underline; }
.coordonnees span { color: var(--blanc); }

/* ---------- Pied de page ---------- */
.pied { background: var(--noir); color: #a9afaa; font-size: .95rem; padding: 64px 0 0; }
.pied .colonnes {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.pied h4 { color: var(--blanc); font-size: 1rem; margin-bottom: 14px; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { padding: 4px 0; }
.pied a { color: #cdd2ce; text-decoration: none; }
.pied a:hover { color: var(--vert-clair); }
.pied .marque-pied img { height: 54px; width: auto; background: var(--blanc); border-radius: var(--rayon); padding: 4px; margin-bottom: 16px; }
.pied .reseaux { margin-top: 18px; gap: 10px; }
.pied .reseaux a {
  width: 36px; height: 36px;
  border: 1px solid #3a3f3b;
  border-radius: 50%;
  justify-content: center; align-items: center;
}
.pied .reseaux a:hover { border-color: var(--vert-clair); }
.pied .bas {
  border-top: 1px solid #2c302d;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .88rem;
}

/* ==========================================================
   Sections enrichies
   ========================================================== */

.surtitre--plein { border: 0; padding: 0; }
.section--serree { padding: 72px 0; }
.entete-section .surtitre { margin-bottom: 14px; }

/* Héros avec photo des bureaux */
.heros { padding: 56px 0 80px; position: relative; overflow: hidden; }
.heros::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 34%;
  background: var(--vert-pale);
  z-index: -1;
}
.heros .conteneur { grid-template-columns: 1.1fr .9fr; gap: 72px; }
.heros h1 em { font-style: normal; color: var(--vert); }
.heros-garanties {
  list-style: none;
  margin: 36px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--gris-ligne);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: .95rem;
  color: var(--gris-texte);
}
.heros-garanties li { display: flex; align-items: center; gap: 8px; }
.heros-garanties li::before {
  content: "";
  width: 10px; height: 6px;
  border-left: 2px solid var(--vert);
  border-bottom: 2px solid var(--vert);
  transform: rotate(-45deg) translateY(-2px);
}
.heros-visuel { position: relative; }
.heros-visuel > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 78%;
  border-radius: var(--rayon);
  box-shadow: 0 24px 48px -20px rgba(6, 58, 32, .35);
}
.heros-visuel::before {
  content: "";
  position: absolute;
  left: -22px; bottom: -22px;
  width: 55%; height: 45%;
  background: var(--vert);
  border-radius: var(--rayon);
  z-index: -1;
}
.heros-carte {
  position: absolute;
  left: -36px; bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--blanc);
  padding: 14px 20px 14px 14px;
  border-radius: var(--rayon);
  box-shadow: 0 12px 30px rgba(0,0,0,.14);
}
.heros-carte img { width: 40px; height: auto; }
.heros-carte strong { display: block; font-family: var(--titre); font-weight: 600; font-size: .98rem; }
.heros-carte span { font-size: .87rem; color: var(--gris-texte); }

/* Repères sur fond vert */
.reperes { background: var(--vert); border: 0; color: var(--blanc); }
.reperes li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 30px 24px;
  border-left: 1px solid rgba(255,255,255,.16);
}
.reperes li:first-child { padding-left: 0; }
.reperes svg {
  flex: none;
  width: 34px; height: 34px;
  fill: none;
  stroke: var(--vert-clair);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.reperes strong { color: var(--blanc); font-size: 1.15rem; }
.reperes span { color: #bcd4be; font-size: .9rem; }

/* Métiers en cartes */
.metier {
  border: 1px solid var(--gris-ligne);
  border-top: 3px solid var(--vert);
  border-radius: var(--rayon);
  padding: 32px 28px 28px;
  background: var(--blanc);
  transition: box-shadow .2s, transform .2s;
}
.metier:hover { box-shadow: 0 18px 36px -18px rgba(0,0,0,.18); transform: translateY(-3px); }
.metier-icone {
  width: 52px; height: 52px;
  border-radius: var(--rayon);
  background: var(--vert-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.metier-icone svg { width: 26px; height: 26px; fill: none; stroke: var(--vert); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.metier .num { position: absolute; }
.metier { position: relative; }
.metier .num { top: 30px; right: 28px; font-size: 2.2rem; color: var(--gris-ligne); font-weight: 700; margin: 0; line-height: 1; }

/* Services en détail */
.services-detail { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.services-intro { position: sticky; top: 120px; }
.services-intro > p { color: var(--gris-texte); font-size: 1.06rem; }
.encart {
  margin-top: 32px;
  padding: 24px 26px;
  background: var(--noir);
  color: #d0d5d1;
  border-radius: var(--rayon);
  border-left: 4px solid var(--vert-clair);
}
.encart strong { color: var(--blanc); font-family: var(--titre); font-size: 1.1rem; display: block; margin-bottom: 6px; }
.encart p { margin: 0 0 12px; font-size: .97rem; }
.encart .lien-fleche { color: var(--vert-clair); font-size: 1.15rem; }

.accordeon { border-top: 1px solid var(--gris-ligne); }
.accordeon details { border-bottom: 1px solid var(--gris-ligne); background: var(--blanc); }
.section--gris .accordeon details { background: transparent; }
.accordeon summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 4px;
}
.accordeon summary::-webkit-details-marker { display: none; }
.acc-num { font-family: var(--titre); font-weight: 600; color: var(--vert); font-size: .92rem; width: 26px; }
.acc-titre { flex: 1; font-family: var(--titre); font-weight: 600; font-size: 1.2rem; }
.accordeon summary:hover .acc-titre { color: var(--vert); }
.acc-plus {
  position: relative;
  flex: none;
  width: 32px; height: 32px;
  border: 1px solid var(--gris-ligne);
  border-radius: 50%;
  background: var(--blanc);
  transition: background .2s, border-color .2s;
}
.acc-plus::before, .acc-plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 2px;
  background: var(--noir);
  transform: translate(-50%, -50%);
  transition: transform .2s, background .2s;
}
.acc-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordeon details[open] .acc-plus { background: var(--vert); border-color: var(--vert); }
.accordeon details[open] .acc-plus::before,
.accordeon details[open] .acc-plus::after { background: var(--blanc); }
.accordeon details[open] .acc-plus::after { transform: translate(-50%, -50%) rotate(0); }
.acc-contenu { padding: 0 52px 24px 48px; color: var(--gris-texte); }
.acc-contenu p:last-child { margin-bottom: 0; }
.accordeon--simple .acc-contenu { padding-left: 4px; }
.puces { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.puces li { font-size: .9rem; padding: 4px 12px; background: var(--vert-pale); color: var(--vert-fonce); border-radius: 100px; }

/* Étapes */
.etapes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: none;
  position: relative;
}
.etapes::before {
  content: "";
  position: absolute;
  top: 27px; left: 28px; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--vert-clair) 0 8px, transparent 8px 14px);
}
.etapes li { position: relative; }
.etapes span {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blanc);
  border: 2px solid var(--vert);
  color: var(--vert);
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 22px;
  position: relative;
}
.etapes li:last-child span { background: var(--vert); color: var(--blanc); }
.etapes p { color: var(--gris-texte); margin: 0; }

/* Société & équipe */
.societe { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.societe-photo { margin: 0; position: sticky; top: 120px; }
.societe-photo img { width: 100%; aspect-ratio: 1 / 1.1; object-fit: cover; object-position: 50% 75%; border-radius: var(--rayon); }
.societe-photo figcaption { font-size: .9rem; color: var(--gris-texte); margin-top: 12px; padding-left: 12px; border-left: 2px solid var(--vert-clair); }
.societe-texte > p { color: var(--gris-texte); }
.societe .engagements { margin-top: 28px; }
.societe .engagements li { padding: 18px 0; }
.equipe-titre { margin-top: 40px; font-size: 1.2rem; }
.equipe { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.membre {
  background: var(--noir);
  border-radius: var(--rayon);
  overflow: hidden;
}
.membre img { width: 100%; aspect-ratio: 9 / 10; object-fit: cover; object-position: top; }
.membre div { padding: 14px 16px; border-top: 3px solid var(--vert); }
.membre strong { display: block; color: var(--blanc); font-family: var(--titre); font-size: 1.08rem; }
.membre span { color: var(--vert-clair); font-size: .9rem; }

/* Ankaa enrichi */
.ankaa { position: relative; overflow: hidden; }
.ankaa .conteneur { grid-template-columns: .9fr 1.1fr; align-items: center; }
.modules-grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.modules-grille > div {
  border: 1px solid #2f3430;
  border-radius: var(--rayon);
  padding: 14px 16px;
  background: #1c1f1c;
  transition: border-color .2s, background .2s;
}
.modules-grille > div:hover { border-color: var(--vert-clair); background: #1f2620; }
.modules-grille abbr { text-decoration: none; font-family: var(--titre); font-weight: 600; font-size: .78rem; color: var(--noir); background: var(--vert-clair); padding: 1px 7px; border-radius: 3px; margin-right: 8px; }
.modules-grille strong { font-family: var(--titre); color: var(--blanc); font-size: 1.02rem; }
.modules-grille span { display: block; font-size: .87rem; color: #9ea59f; margin-top: 6px; line-height: 1.4; }
.modules-grille .plus { grid-column: 1 / -1; background: transparent; border-style: dashed; }
.modules-grille .plus a { color: #cfd4d0; text-decoration: none; font-family: var(--titre); font-weight: 500; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.modules-grille .plus a span { display: inline; margin: 0; color: var(--vert-clair); font-size: .95rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq > div:first-child p { color: var(--gris-texte); }

/* Contact sur la texture du mur vert des bureaux */
.contact {
  position: relative;
  background: var(--vert-fonce) url("../images/mur-vert.jpg") center / cover;
  isolation: isolate;
}
.contact::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,40,22,.94) 0%, rgba(6,40,22,.86) 55%, rgba(6,40,22,.7) 100%);
  z-index: -1;
}

/* Apparition au défilement */
.js .revele { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .revele.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .heros .conteneur,
  .approche,
  .ankaa .conteneur,
  .contact .conteneur,
  .materiel { grid-template-columns: 1fr; gap: 40px; }
  .metiers { grid-template-columns: 1fr; gap: 48px; }
  .reperes ul { grid-template-columns: repeat(2, 1fr); }
  .reperes li:nth-child(3) { border-left: 0; padding-left: 0; }
  .reperes li:nth-child(n+3) { border-top: 1px solid var(--gris-ligne); }
  .pied .colonnes { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .conteneur { padding: 0 16px; }
  .bandeau .horaires { display: none; }
  .bandeau ul { gap: 16px; }
  .marque small { display: none; }
  .marque img { height: 48px; }
  .entete .conteneur { min-height: 72px; }
  .heros { padding: 44px 0 48px; }
  .reperes ul { grid-template-columns: 1fr; }
  .reperes li, .reperes li:nth-child(3) { border-left: 0; padding: 18px 0; }
  .reperes li + li { border-top: 1px solid var(--gris-ligne); }
  .marques { grid-template-columns: repeat(2, 1fr); }
  .coordonnees li { grid-template-columns: 1fr; gap: 2px; }
  .pied .colonnes { grid-template-columns: 1fr; }
}

@media (max-width: 1000px) {
  .services-detail, .societe, .faq { grid-template-columns: 1fr; gap: 40px; }
  .services-intro, .societe-photo { position: static; }
  .societe-photo img { aspect-ratio: 16 / 11; }
  .etapes { grid-template-columns: 1fr 1fr; }
  .etapes::before { display: none; }
  .heros::before { display: none; }
  .heros-visuel { max-width: 520px; margin-left: 22px; }
  .heros-visuel > img { aspect-ratio: 4 / 3; }
  .reperes li { padding: 22px 16px; }
  .reperes li:nth-child(3) { padding-left: 0; }
  .reperes li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.16); }
  .ankaa .conteneur { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .heros-carte { left: 12px; right: 12px; bottom: 12px; }
  .heros-visuel { margin-left: 12px; }
  .heros-visuel::before { left: -12px; bottom: -12px; }
  .reperes li, .reperes li:nth-child(3) { padding: 18px 0; border-left: 0; }
  .reperes li + li { border-top: 1px solid rgba(255,255,255,.16); }
  .etapes { grid-template-columns: 1fr; gap: 28px; }
  .modules-grille { grid-template-columns: 1fr; }
  .acc-contenu { padding: 0 4px 22px; }
  .acc-titre { font-size: 1.08rem; }
}

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

/* ==========================================================
   Univers Ankaa : couleurs du logo (orange → rouge)
   ========================================================== */
:root {
  --ankaa-orange: #f39200;
  --ankaa-rouge: #e3201b;
  --ankaa-texte: #e8312d;
  --ankaa-degrade: linear-gradient(135deg, #f39200 0%, #e8590c 55%, #e3201b 100%);
  --ankaa-fond: #17110f;
}

.ankaa { background: var(--ankaa-fond); border-top: 4px solid; border-image: var(--ankaa-degrade) 1; }
.ankaa .conteneur { position: relative; z-index: 1; }
.ankaa-phenix {
  position: absolute;
  right: -60px;
  top: 50%;
  height: 120%;
  width: auto;
  transform: translateY(-50%);
  opacity: .1;
  pointer-events: none;
}
.ankaa-marque { height: 42px; width: auto; margin-bottom: 22px; }
.ankaa .surtitre { color: var(--ankaa-orange); border-color: var(--ankaa-orange); }
.ankaa .points li::before { border-color: var(--ankaa-orange); }

.modules-grille > div { background: #211816; border-color: #3a2a25; }
.modules-grille > div:hover { border-color: var(--ankaa-orange); background: #2a1d19; }
.modules-grille abbr { background: var(--ankaa-degrade); color: var(--blanc); }
.modules-grille span { color: #b3a49f; }
.modules-grille .plus { border-color: #4a3530; }
.modules-grille .plus a span { color: var(--ankaa-orange); }

.btn--ankaa { background: var(--ankaa-degrade); border: 0; padding: calc(.8em + 2px) calc(1.4em + 2px); color: var(--blanc); }
.btn--ankaa:hover { background: var(--ankaa-degrade); color: var(--blanc); filter: brightness(1.08); }

/* Rappel discret dans le menu */
.nav-deroulant--ankaa::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ankaa-degrade);
}
.sous-menu--ankaa { border-top-color: var(--ankaa-orange); }
.sous-menu--ankaa a:hover { background: #fff3e6; color: #b2420c; }

@media (max-width: 1000px) {
  .ankaa-phenix { height: 70%; top: auto; bottom: -40px; transform: none; right: -40px; }
}

/* Ankaa sur fond clair (même style que le reste du site, accents orange/rouge) */
.ankaa { background: #fffaf5; color: var(--noir); border-top: 0; border-bottom: 1px solid #f3e3d6; }
.ankaa h2 { color: var(--noir); }
.ankaa p { color: var(--gris-texte); }
.ankaa .points li { color: var(--noir); }
.ankaa-phenix { opacity: .08; }
.modules-grille > div { background: var(--blanc); border-color: #f0e0d3; }
.modules-grille > div:hover { background: var(--blanc); border-color: var(--ankaa-orange); box-shadow: 0 10px 24px -14px rgba(227,32,27,.35); }
.modules-grille strong { color: var(--noir); }
.modules-grille span { color: var(--gris-texte); }
.modules-grille .plus { background: transparent; border-color: #e8cdb9; }
.modules-grille .plus a { color: var(--noir); }
.modules-grille .plus a span { color: #d4430f; }
.ankaa .surtitre { color: #d4430f; border-color: var(--ankaa-orange); }

/* ==========================================================
   Pages intérieures
   ========================================================== */
[id] { scroll-margin-top: 110px; }

.entete { transition: box-shadow .2s; }
.entete.defile { box-shadow: 0 6px 18px rgba(0,0,0,.07); }

/* Bouton assistance dans le bandeau */
.bandeau-droite { display: flex; align-items: center; gap: 20px; }
.assistance {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--titre);
  font-weight: 600;
  font-size: .86rem;
  color: var(--noir) !important;
  background: var(--vert-clair);
  padding: 4px 12px;
  border-radius: 100px;
  text-decoration: none;
  transition: background .15s;
}
.assistance:hover { background: var(--blanc); }
.assistance svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }

/* En-tête de page */
.page-tete {
  background: var(--vert-pale);
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-tete .conteneur { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.page-tete--simple .conteneur { grid-template-columns: 1fr; }
.page-tete h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: .4em; }
.page-tete p.intro { font-size: 1.12rem; color: var(--gris-texte); max-width: 40em; margin: 0; }
.page-tete .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.page-tete-visuel img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--rayon);
  box-shadow: 0 20px 40px -22px rgba(0,0,0,.4);
}
.fil { font-size: .88rem; color: var(--gris-texte); margin-bottom: 22px; }
.fil a { color: var(--gris-texte); text-decoration: none; }
.fil a:hover { color: var(--vert); }
.fil span { margin: 0 8px; opacity: .5; }

/* Sous-navigation par ancres */
.sous-nav { border-bottom: 1px solid var(--gris-ligne); background: var(--blanc); }
.sous-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.sous-nav ul::-webkit-scrollbar { display: none; }
.sous-nav a {
  display: block;
  white-space: nowrap;
  padding: 16px 14px;
  font-family: var(--titre);
  font-weight: 500;
  color: var(--gris-texte);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.sous-nav a:hover { color: var(--vert); border-bottom-color: var(--vert); }

/* Bloc texte + média */
.bloc { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.bloc--inverse > :first-child { order: 2; }
.bloc-texte > p { color: var(--gris-texte); }
.bloc-texte .liste-check { margin-top: 18px; }
.bloc-media img { width: 100%; border-radius: var(--rayon); }

.liste-check { list-style: none; margin: 0; padding: 0; }
.liste-check li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--gris-ligne); }
.liste-check li:last-child { border-bottom: 0; }
.liste-check li::before {
  content: "";
  position: absolute; left: 2px; top: 15px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--vert);
  border-bottom: 2px solid var(--vert);
  transform: rotate(-45deg);
}

/* Encadré mis en avant */
.cadre {
  background: var(--blanc);
  border: 1px solid var(--gris-ligne);
  border-top: 3px solid var(--vert);
  border-radius: var(--rayon);
  padding: 30px;
}
.section--gris .cadre { background: var(--blanc); }
.cadre h3 { margin-bottom: .6em; }
.cadre p { color: var(--gris-texte); }

/* Petites cartes */
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cartes--4 { grid-template-columns: repeat(4, 1fr); }
.cartes--2 { grid-template-columns: repeat(2, 1fr); }
.carte {
  background: var(--blanc);
  border: 1px solid var(--gris-ligne);
  border-radius: var(--rayon);
  padding: 26px 24px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.carte:hover { border-color: var(--vert-clair); box-shadow: 0 14px 30px -18px rgba(0,0,0,.2); transform: translateY(-2px); }
.carte .ico {
  width: 46px; height: 46px;
  border-radius: var(--rayon);
  background: var(--vert-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.carte .ico svg { width: 24px; height: 24px; fill: none; stroke: var(--vert); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.carte h3 { font-size: 1.1rem; margin-bottom: .4em; }
.carte p { color: var(--gris-texte); margin: 0; font-size: .97rem; }

.etiquettes { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.etiquettes li { padding: 6px 14px; border: 1px solid var(--gris-ligne); border-radius: 100px; font-size: .93rem; background: var(--blanc); }
.etiquettes li.fort { background: var(--vert); border-color: var(--vert); color: var(--blanc); }

.separateur-section { border: 0; border-top: 1px solid var(--gris-ligne); margin: 0; }

/* Bandeau d'appel à l'action */
.appel { background: var(--noir); color: #cfd4d0; padding: 56px 0; }
.appel .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.appel h2 { color: var(--blanc); margin: 0 0 .3em; font-size: 1.7rem; }
.appel p { margin: 0; }
.appel .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn--contour-clair { background: transparent; border-color: #5b625c; color: var(--blanc); }
.btn--contour-clair:hover { background: var(--blanc); border-color: var(--blanc); color: var(--noir); }

/* Chiffres clés */
.chiffres { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--noir); }
.chiffres li { padding: 22px 20px 0 0; }
.chiffres strong { display: block; font-family: var(--titre); font-size: 1.6rem; font-weight: 700; color: var(--vert); line-height: 1.2; }
.chiffres span { color: var(--gris-texte); font-size: .95rem; }

/* Galerie */
.galerie { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.galerie figure { margin: 0; }
.galerie img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; border-radius: var(--rayon); }

/* Contact */
.contact-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.coordonnees--clair li { border-color: var(--gris-ligne) !important; }
.coordonnees--clair .label { color: var(--vert); }
.coordonnees--clair a, .coordonnees--clair span { color: var(--noir); }
.etapes-assistance { counter-reset: e; list-style: none; padding: 0; margin: 16px 0 24px; }
.etapes-assistance li { counter-increment: e; position: relative; padding: 6px 0 6px 38px; color: var(--gris-texte); }
.etapes-assistance li::before {
  content: counter(e);
  position: absolute; left: 0; top: 5px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--vert-pale); color: var(--vert);
  font-family: var(--titre); font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}
.reseaux-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.reseaux-liste a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--gris-ligne);
  border-radius: var(--rayon);
  color: var(--noir);
  text-decoration: none;
  font-family: var(--titre); font-weight: 600;
  transition: border-color .15s, background .15s;
}
.reseaux-liste a:hover { border-color: var(--vert); background: var(--vert-pale); }
.reseaux-liste svg { width: 22px; height: 22px; fill: var(--vert); }
.reseaux-liste small { display: block; font-family: var(--texte); font-weight: 400; color: var(--gris-texte); font-size: .88rem; }

/* Mentions légales */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--gris-ligne); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal p, .legal li { color: var(--gris-texte); }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 8px 20px; margin: 0; }
.legal dt { font-weight: 600; color: var(--noir); }
.legal dd { margin: 0; color: var(--gris-texte); }

/* ==========================================================
   Page Ankaa : mêmes composants, accents orange / rouge
   ========================================================== */
.theme-ankaa .page-tete { background: #fff6ee; }
.theme-ankaa .surtitre { color: #d4430f; border-color: var(--ankaa-orange); }
.theme-ankaa .fil a:hover { color: #d4430f; }
.theme-ankaa .sous-nav a:hover { color: #d4430f; border-bottom-color: var(--ankaa-orange); }
.theme-ankaa .liste-check li::before { border-color: var(--ankaa-orange); }
.theme-ankaa .acc-num { color: #d4430f; }
.theme-ankaa .accordeon summary:hover .acc-titre { color: #d4430f; }
.theme-ankaa .accordeon details[open] .acc-plus { background: var(--ankaa-degrade); border-color: transparent; }
.theme-ankaa .cadre { border-top-color: var(--ankaa-orange); }
.theme-ankaa .puces li { background: #fff0e3; color: #a8360b; }
.theme-ankaa .carte .ico { background: #fff0e3; }
.theme-ankaa .carte .ico svg { stroke: #d4430f; }
.theme-ankaa .carte:hover { border-color: #f4b98a; }
.theme-ankaa .lien-fleche { color: #d4430f; }
.page-tete--ankaa .ankaa-phenix { opacity: .08; right: 4%; height: 130%; }
.page-tete--ankaa .ankaa-marque { height: 48px; }
.page-tete--ankaa .conteneur { position: relative; z-index: 1; }

.fenetre {
  background: var(--blanc);
  border: 1px solid #ead7c8;
  border-radius: 6px;
  box-shadow: 0 22px 44px -24px rgba(120, 40, 10, .45);
  overflow: hidden;
  max-width: 460px;
  margin-left: auto;
  transform: rotate(1.2deg);
  transition: transform .3s;
}
.fenetre:hover { transform: rotate(0); }
.fenetre-barre { display: flex; gap: 6px; padding: 9px 12px; background: #f6efe9; border-bottom: 1px solid #ead7c8; }
.fenetre-barre i { width: 9px; height: 9px; border-radius: 50%; background: #e2cfc2; }
.fenetre img { width: 100%; }

.famille { margin-bottom: 64px; }
.famille:last-child { margin-bottom: 0; }
.famille-tete { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.famille-tete h2 { margin: 0; font-size: 1.6rem; }
.famille-tete span { color: var(--gris-texte); }
.code {
  font-family: var(--titre);
  font-weight: 600;
  font-size: .78rem;
  color: var(--blanc);
  background: var(--ankaa-degrade);
  padding: 2px 8px;
  border-radius: 3px;
  min-width: 52px;
  text-align: center;
}
.accordeon ul.puces-liste { margin: 4px 0 0; padding-left: 18px; columns: 2; column-gap: 32px; }
.accordeon ul.puces-liste li { margin-bottom: 6px; break-inside: avoid; }
.theme-ankaa .accordeon ul.puces-liste li::marker { color: var(--ankaa-orange); }

@media (max-width: 1000px) {
  .page-tete .conteneur, .bloc, .contact-grille, .galerie { grid-template-columns: 1fr; gap: 36px; }
  .bloc--inverse > :first-child { order: 0; }
  .cartes, .cartes--4 { grid-template-columns: 1fr 1fr; }
  .chiffres { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .fenetre { margin: 0; transform: none; }
  .bandeau .assistance span { display: none; }
}
@media (max-width: 640px) {
  .cartes, .cartes--4, .cartes--2 { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
  .accordeon ul.puces-liste { columns: 1; }
  .bandeau ul li:nth-child(2) { display: none; }
  .page-tete { padding: 40px 0 48px; }
}
.nav-deroulant.nav-actif { color: var(--vert); box-shadow: inset 0 -2px 0 var(--vert); }
.nav-deroulant--ankaa.nav-actif { color: #d4430f; box-shadow: inset 0 -2px 0 var(--ankaa-orange); }
@media (max-width: 1000px) { .nav-deroulant.nav-actif { box-shadow: none; } }

/* ==========================================================
   Schéma avant / après (page Développement)
   ========================================================== */
.avant-apres {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 40px;
}
.aa-panneau {
  margin: 0;
  border-radius: 6px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.aa-avant { background: var(--gris-fond); border: 1px dashed #c3c9c4; }
.aa-apres { background: var(--blanc); border: 1px solid var(--gris-ligne); border-top: 3px solid var(--vert); box-shadow: 0 20px 40px -26px rgba(6,58,32,.35); }
.aa-panneau figcaption { font-family: var(--titre); font-weight: 600; font-size: 1.08rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.aa-tag { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 3px; background: #dfe3e0; color: var(--gris-texte); }
.aa-apres .aa-tag { background: var(--vert); color: var(--blanc); }

.aa-zone { position: relative; height: 270px; }

/* Éléments dispersés */
.aa-el {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: rotate(var(--r));
  font-size: .78rem;
  line-height: 1.3;
  white-space: nowrap;
  padding: 7px 10px;
  border-radius: 4px;
  background: var(--blanc);
  border: 1px solid #d7dcd8;
  box-shadow: 0 3px 8px rgba(0,0,0,.07);
  color: #59605a;
  display: flex; align-items: center; gap: 7px;
}
.aa-el i { font-style: normal; font-family: var(--titre); font-weight: 700; font-size: .62rem; padding: 2px 4px; border-radius: 2px; background: #c9d3cb; color: var(--blanc); }
.aa-fichier i { background: #6f8f78; }
.aa-mail i { background: #8a9199; }
.aa-post { background: #fbf3c4; border-color: #eadf9a; color: #6b6230; font-family: var(--texte); box-shadow: 0 4px 10px rgba(0,0,0,.08); }
.aa-papier { flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 12px; width: 120px; white-space: normal; background: #fdfdfb; }
.aa-papier b { display: block; height: 4px; width: 100%; background: #e3e6e3; border-radius: 2px; }
.aa-papier b:nth-child(2) { width: 75%; }
.aa-papier b:nth-child(3) { width: 85%; order: 3; }
.aa-alerte { background: #fdecea; border-color: #f2c4bd; color: #a3352a; font-weight: 600; }
.aa-alerte::before { content: "!"; font-family: var(--titre); font-weight: 700; width: 16px; height: 16px; border-radius: 50%; background: #d9534a; color: var(--blanc); display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; }

.js .avant-apres .aa-el { opacity: 0; transform: translate(0, -10px) rotate(calc(var(--r) * 2)); transition: opacity .45s, transform .45s; }
.js .avant-apres.visible .aa-el { opacity: 1; transform: rotate(var(--r)); }
.avant-apres.visible .aa-el:nth-child(2) { transition-delay: .08s; }
.avant-apres.visible .aa-el:nth-child(3) { transition-delay: .16s; }
.avant-apres.visible .aa-el:nth-child(4) { transition-delay: .24s; }
.avant-apres.visible .aa-el:nth-child(5) { transition-delay: .32s; }
.avant-apres.visible .aa-el:nth-child(6) { transition-delay: .4s; }
.avant-apres.visible .aa-el:nth-child(7) { transition-delay: .55s; }

/* Flèche */
.aa-fleche { display: flex; align-items: center; justify-content: center; }
.aa-fleche svg {
  width: 44px; height: 44px; padding: 10px;
  border-radius: 50%;
  background: var(--vert);
  fill: none; stroke: var(--blanc); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}

/* Application stylisée */
.aa-app { border: 1px solid var(--gris-ligne); border-radius: 5px; overflow: hidden; display: flex; flex-direction: column; background: var(--blanc); }
.aa-barre { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: var(--gris-fond); border-bottom: 1px solid var(--gris-ligne); }
.aa-barre i { width: 7px; height: 7px; border-radius: 50%; background: #d4d9d5; }
.aa-barre span { margin-left: 8px; font-size: .72rem; color: var(--gris-texte); font-family: var(--titre); font-weight: 500; }
.aa-corps { display: grid; grid-template-columns: 30% 1fr; flex: 1; min-height: 0; }
.aa-menu { list-style: none; margin: 0; padding: 10px 0; background: var(--vert-fonce); }
.aa-menu li { font-size: .72rem; color: #b7cdb9; padding: 6px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aa-menu li.actif { color: var(--blanc); background: rgba(255,255,255,.1); border-left: 2px solid var(--vert-clair); }
.aa-contenu { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.aa-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.aa-kpis div { border: 1px solid var(--gris-ligne); border-radius: 3px; padding: 6px 7px; }
.aa-kpis b { display: block; height: 9px; width: 45%; border-radius: 2px; background: var(--vert); margin-bottom: 5px; }
.aa-kpis div:nth-child(2) b { width: 30%; background: var(--vert-clair); }
.aa-kpis div:nth-child(3) b { width: 38%; background: #9aa19b; }
.aa-kpis span { font-size: .64rem; color: var(--gris-texte); white-space: nowrap; }
.aa-graph { display: flex; align-items: flex-end; gap: 6px; height: 62px; padding: 6px 8px 0; border-bottom: 1px solid var(--gris-ligne); }
.aa-graph i { flex: 1; height: var(--h); background: var(--vert-pale); border-top: 2px solid var(--vert); border-radius: 2px 2px 0 0; transform-origin: bottom; }
.js .avant-apres .aa-graph i { transform: scaleY(0); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.js .avant-apres.visible .aa-graph i { transform: scaleY(1); }
.avant-apres.visible .aa-graph i:nth-child(2) { transition-delay: .5s; }
.avant-apres.visible .aa-graph i:nth-child(3) { transition-delay: .58s; }
.avant-apres.visible .aa-graph i:nth-child(4) { transition-delay: .66s; }
.avant-apres.visible .aa-graph i:nth-child(5) { transition-delay: .74s; }
.avant-apres.visible .aa-graph i:nth-child(6) { transition-delay: .82s; }
.avant-apres.visible .aa-graph i:nth-child(1) { transition-delay: .42s; }
.aa-ligne { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 3px 0; border-bottom: 1px solid #eef0ee; }
.aa-ligne b { height: 6px; width: 55%; background: #e3e7e4; border-radius: 3px; }
.aa-ligne em { font-style: normal; font-size: .62rem; font-weight: 600; padding: 1px 7px; border-radius: 100px; }
.aa-ligne em.ok { background: var(--vert-pale); color: var(--vert); }
.aa-ligne em.plan { background: #eef1f6; color: #4f5f7a; }

/* Listes sous les panneaux */
.aa-liste { list-style: none; margin: 18px 0 0; padding: 0; font-size: .93rem; color: var(--gris-texte); }
.aa-liste li { position: relative; padding: 4px 0 4px 24px; }
.aa-liste li::before { content: "×"; position: absolute; left: 4px; top: 2px; color: #c0564c; font-weight: 700; }
.aa-liste--ok li::before { content: ""; left: 4px; top: 11px; width: 10px; height: 6px; border-left: 2px solid var(--vert); border-bottom: 2px solid var(--vert); transform: rotate(-45deg); }

@media (max-width: 1000px) {
  .avant-apres { grid-template-columns: 1fr; }
  .aa-fleche svg { transform: rotate(90deg); }
}
@media (max-width: 640px) {
  .aa-panneau { padding: 16px; }
  .aa-zone { height: 250px; }
  .aa-el { font-size: .7rem; padding: 6px 8px; }
  .aa-papier { width: 104px; }
  .aa-menu li { font-size: .66rem; padding: 5px 8px; }
  .aa-kpis span { font-size: .58rem; }
}
@media (prefers-reduced-motion: reduce) {
  .js .avant-apres .aa-el, .js .avant-apres .aa-graph i { opacity: 1; transform: rotate(var(--r, 0)); }
  .js .avant-apres .aa-graph i { transform: none; }
}
.equipe--page { grid-template-columns: repeat(auto-fill, minmax(220px, 260px)); }
.societe .equipe { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.societe .membre div { padding: 12px 14px; }
.societe .membre strong { font-size: 1rem; }
.societe .membre span { font-size: .84rem; line-height: 1.3; display: block; }

/* Cadre fenêtre : image intégrée sans ombre propre */
.fenetre img { box-shadow: none; border-radius: 0; max-height: none; }
/* Variante verte (page Développement) */
.fenetre--vert { border-color: var(--gris-ligne); box-shadow: 0 22px 44px -24px rgba(6, 58, 32, .45); max-width: 500px; }
.fenetre--vert .fenetre-barre { background: var(--gris-fond); border-bottom-color: var(--gris-ligne); }
.fenetre--vert .fenetre-barre i { background: #d4d9d5; }
/* Accueil : équipe en grille 2 × 2 */
.societe .equipe { grid-template-columns: repeat(2, 1fr); }
.societe .membre img { aspect-ratio: 1 / 1; }
.membre span { line-height: 1.35; display: block; }
