/*
 * Site de l'entreprise Ibala Africa. Couleurs et police : charte graphique Ibala Africa
 * (Ibala_Africa_Kit/04_Charte, 26/11/2026) ; aucune autre couleur ailleurs dans ce fichier (sauf blanc et transparences).
 *   Vert profond #073E1F · Vert Afrique #03592C · Orange Ibala #EE9304 · Jaune soleil #FCB71E · Crème #FAF8F2
 *   Poppins Bold (titres) / Poppins Regular (texte), hébergée avec le site (licence OFL, polices/OFL.txt).
 * Orange et jaune : décor, boutons et petits repères seulement (trop clairs pour du petit texte sur fond clair).
 */
@font-face { font-family: "Poppins"; src: url("/polices/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/polices/poppins-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --vert-profond: #073E1F;
  --vert-afrique: #03592C;
  --orange: #EE9304;
  --jaune: #FCB71E;
  --creme: #FAF8F2;
  --blanc: #FFFFFF;
  --texte: var(--vert-profond);
  --texte-doux: var(--vert-afrique);
  --bordure: color-mix(in srgb, var(--vert-afrique) 16%, transparent);
  --ombre: 0 18px 40px -22px color-mix(in srgb, var(--vert-profond) 55%, transparent);
  --police: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --rayon: 18px;
  --largeur: 74rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--blanc); color: var(--texte); font: 16px/1.65 var(--police); }
a { color: inherit; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 700; color: var(--vert-profond); line-height: 1.15; }
.contenu { max-width: var(--largeur); margin: 0 auto; padding: 0 22px; }
.lien-evitement { position: absolute; left: -999px; }
.lien-evitement:focus { left: 16px; top: 16px; background: var(--blanc); padding: 8px 12px; z-index: 50; }

/* ---------- Boutons ---------- */
.bouton { display: inline-flex; align-items: center; gap: 8px; background: var(--vert-profond); color: var(--creme); text-decoration: none;
  font-weight: 700; padding: 14px 24px; border-radius: 999px; border: 2px solid transparent; transition: transform .2s, background .2s, box-shadow .2s; }
.bouton:hover { transform: translateY(-2px); background: var(--vert-afrique); box-shadow: var(--ombre); }
.bouton.orange { background: var(--orange); color: var(--vert-profond); }
.bouton.orange:hover { background: var(--jaune); }
.bouton.contour { background: transparent; color: var(--creme); border-color: color-mix(in srgb, var(--creme) 60%, transparent); }
.bouton.contour:hover { background: color-mix(in srgb, var(--creme) 12%, transparent); }
.bouton.contour-sombre { background: transparent; color: var(--vert-profond); border-color: var(--vert-profond); }
.bouton.contour-sombre:hover { background: var(--vert-profond); color: var(--creme); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- En-tête collant ---------- */
.entete { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--blanc) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .25s; }
.entete.defile { box-shadow: 0 6px 24px -14px color-mix(in srgb, var(--vert-profond) 60%, transparent); }
.entete .contenu { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.marque img { display: block; height: 48px; width: auto; }
.navigation { display: none; align-items: center; gap: 28px; font-size: 15px; }
.navigation a { text-decoration: none; color: var(--vert-profond); position: relative; padding: 6px 0; }
.navigation a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--orange); transition: right .25s; }
.navigation a:hover::after, .navigation a[aria-current="page"]::after { right: 0; }
.entete .langue { font-size: 13px; font-weight: 700; text-decoration: none; color: var(--vert-afrique); border: 1px solid var(--bordure); border-radius: 999px; padding: 4px 10px; }
.entete-droite { display: flex; align-items: center; gap: 14px; }
.entete .bouton { padding: 10px 18px; font-size: 14px; display: none; }
.menu-mobile summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--vert-profond); border: 2px solid var(--vert-profond);
  border-radius: 999px; padding: 6px 16px; }
.menu-mobile summary::-webkit-details-marker { display: none; }
.menu-mobile[open] { position: absolute; left: 0; right: 0; top: 76px; background: var(--blanc); padding: 8px 22px 20px; box-shadow: var(--ombre); }
.menu-mobile[open] summary { position: absolute; right: 22px; top: -58px; background: var(--blanc); }
.menu-mobile nav { display: grid; gap: 2px; }
.menu-mobile nav a { text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--bordure); color: var(--vert-profond); font-weight: 700; }
@media (min-width: 980px) {
  .navigation { display: flex; }
  .entete .bouton { display: inline-flex; }
  .menu-mobile { display: none; }
}

/* ---------- Bandeau d'accueil ---------- */
.hero { position: relative; overflow: hidden; color: var(--creme);
  background: radial-gradient(1200px 600px at 85% 20%, color-mix(in srgb, var(--vert-afrique) 90%, transparent), transparent 60%),
              linear-gradient(135deg, var(--vert-profond), var(--vert-afrique)); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: radial-gradient(color-mix(in srgb, var(--creme) 70%, transparent) 1px, transparent 1px); background-size: 26px 26px; }
.hero .contenu { position: relative; display: grid; gap: 40px; padding-top: 72px; padding-bottom: 88px; align-items: center; }
.hero .slogan { color: var(--jaune); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; margin: 0 0 18px; }
.hero h1 { color: var(--blanc); font-size: clamp(36px, 6vw, 64px); margin: 0 0 20px; letter-spacing: -.5px; }
.hero h1 span { color: var(--jaune); }
.hero p.chapeau { font-size: clamp(17px, 2vw, 19px); color: color-mix(in srgb, var(--creme) 88%, transparent); max-width: 40rem; margin: 0 0 32px; }
.reperes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; padding: 0; list-style: none; }
.reperes li { font-size: 13px; font-weight: 700; border: 1px solid color-mix(in srgb, var(--creme) 30%, transparent); border-radius: 999px; padding: 6px 14px;
  color: var(--creme); }
.visuel { position: relative; justify-self: center; width: min(360px, 78vw); aspect-ratio: 1; display: grid; place-items: center; }
.visuel .disque { position: absolute; inset: 9%; border-radius: 50%; background: var(--creme); box-shadow: 0 30px 80px -30px #000; }
.visuel img { position: relative; width: 62%; }
.visuel .orbite { position: absolute; inset: 0; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--orange); border-right-color: var(--jaune);
  animation: tourne 14s linear infinite; }
.visuel .orbite.deux { inset: -5%; border-width: 1px; border-top-color: color-mix(in srgb, var(--creme) 40%, transparent);
  border-right-color: transparent; animation-duration: 24s; animation-direction: reverse; }
@keyframes tourne { to { transform: rotate(360deg); } }
@media (min-width: 900px) { .hero .contenu { grid-template-columns: 1.25fr .9fr; padding-top: 96px; padding-bottom: 112px; } }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.creme { background: var(--creme); }
section.sombre { background: var(--vert-profond); color: var(--creme); }
section.sombre h2, section.sombre h3 { color: var(--blanc); }
.entete-section { max-width: 44rem; margin-bottom: 44px; }
.surtitre { display: inline-block; color: var(--orange); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 12px; margin-bottom: 10px; }
section.sombre .surtitre { color: var(--jaune); }
h2 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 14px; letter-spacing: -.3px; }
.entete-section p { color: var(--texte-doux); font-size: 17px; margin: 0; }
section.sombre .entete-section p { color: color-mix(in srgb, var(--creme) 85%, transparent); }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--vert-afrique); text-decoration: none; margin-top: 28px; }
.lien-fleche::after { content: "→"; transition: transform .2s; }
.lien-fleche:hover::after { transform: translateX(4px); }
section.sombre .lien-fleche { color: var(--jaune); }

/* À propos en bref */
.apropos { display: grid; gap: 40px; align-items: start; }
.apropos .texte p { font-size: 17px; margin: 0 0 16px; color: var(--texte-doux); }
.piliers { display: grid; gap: 16px; }
.pilier { background: var(--blanc); border: 1px solid var(--bordure); border-left: 5px solid var(--orange); border-radius: var(--rayon); padding: 22px 24px; }
.pilier h3 { margin: 0 0 6px; font-size: 18px; }
.pilier p { margin: 0; color: var(--texte-doux); }
@media (min-width: 900px) { .apropos { grid-template-columns: 1.1fr 1fr; gap: 64px; } }

/* Cartes de services */
.grille { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .grille { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .grille.trois { grid-template-columns: repeat(3, 1fr); } }
.service { position: relative; background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 28px; text-decoration: none;
  display: flex; flex-direction: column; gap: 10px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service:hover { transform: translateY(-6px); box-shadow: var(--ombre); border-color: color-mix(in srgb, var(--orange) 60%, transparent); }
.service .icone { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--creme); color: var(--vert-afrique); }
.service .icone svg { width: 28px; height: 28px; }
.service h3 { margin: 6px 0 0; font-size: 19px; }
.service p { margin: 0; color: var(--texte-doux); }

/* Pastilles d'état */
.etat { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; line-height: 1; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.etat-pret { background: var(--vert-afrique); color: var(--creme); }
.etat-avance { background: var(--jaune); color: var(--vert-profond); }
.etat-projet { background: var(--orange); color: var(--vert-profond); }
.etat-etude { background: var(--creme); color: var(--vert-afrique); border: 1px solid var(--vert-afrique); }

/* Innovation (fond sombre) */
.projets { display: grid; gap: 16px; }
@media (min-width: 760px) { .projets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .projets { grid-template-columns: repeat(3, 1fr); } }
.projet { background: color-mix(in srgb, var(--creme) 6%, transparent); border: 1px solid color-mix(in srgb, var(--creme) 16%, transparent);
  border-radius: var(--rayon); padding: 24px; transition: transform .25s, background .25s; }
.projet:hover { transform: translateY(-4px); background: color-mix(in srgb, var(--creme) 10%, transparent); }
.projet h3 { font-size: 18px; margin: 12px 0 8px; }
.projet p { margin: 0; color: color-mix(in srgb, var(--creme) 82%, transparent); }

/* Blog */
.article { background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--rayon); overflow: hidden; text-decoration: none;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.article:hover { transform: translateY(-6px); box-shadow: var(--ombre); }
.article .bande { height: 8px; background: linear-gradient(90deg, var(--vert-afrique), var(--orange), var(--jaune)); }
.article .corps { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article .meta { font-size: 13px; color: var(--vert-afrique); font-weight: 700; }
.article h3 { margin: 0; font-size: 19px; }
.article p { margin: 0; color: var(--texte-doux); }
.article .lire { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--vert-afrique); }

/* Newsletter */
.newsletter { position: relative; overflow: hidden; border-radius: 28px; padding: 48px 32px; color: var(--creme);
  background: linear-gradient(135deg, var(--vert-afrique), var(--vert-profond)); display: grid; gap: 24px; align-items: center; }
.newsletter::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  border: 3px solid var(--jaune); opacity: .35; }
.newsletter h2 { color: var(--blanc); margin: 0 0 8px; font-size: clamp(24px, 3vw, 32px); }
.newsletter p { margin: 0; color: color-mix(in srgb, var(--creme) 85%, transparent); }
.newsletter form { position: relative; z-index: 1; display: grid; gap: 12px; }
.newsletter .champ { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter input[type="email"] { flex: 1 1 220px; min-height: 52px; border-radius: 999px; border: 0; padding: 0 20px; font: inherit; color: var(--vert-profond); }
.newsletter label.accord { font-size: 13px; display: flex; gap: 8px; align-items: flex-start; color: color-mix(in srgb, var(--creme) 85%, transparent); }
.newsletter label.accord input { margin-top: 4px; }
.piege { position: absolute; left: -9999px; }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1.1fr; padding: 56px; } }

/* Pages intérieures */
.page-tete { background: var(--creme); padding: 64px 0 56px; border-bottom: 4px solid var(--jaune); }
.page-tete h1 { font-size: clamp(32px, 5vw, 52px); margin: 0 0 14px; }
.page-tete p { font-size: 18px; color: var(--texte-doux); max-width: 46rem; margin: 0; }
.page-tete .actions { margin-top: 26px; }
section.bloc { padding: 56px 0; }
section.bloc p { max-width: 70ch; }
.carte { background: var(--blanc); border: 1px solid var(--bordure); border-top: 4px solid var(--orange); border-radius: var(--rayon); padding: 24px; }
.carte h3 { margin: 0 0 10px; font-size: 19px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.carte p { margin: 0; color: var(--texte-doux); }
.carte ul { margin: 12px 0 0; padding-left: 18px; color: var(--texte-doux); }
.carte .lien-fleche { margin-top: 14px; }
.points { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.points li { padding-left: 24px; position: relative; max-width: 72ch; }
.points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.etapes { counter-reset: etape; list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.etapes li { counter-increment: etape; padding-left: 56px; position: relative; max-width: 72ch; }
.etapes li::before { content: counter(etape); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--jaune); color: var(--vert-profond); display: grid; place-items: center; font-weight: 700; }
.coordonnees { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.coordonnees strong { display: block; }
.lecture { max-width: 46rem; }
.lecture p { font-size: 17px; margin: 0 0 18px; }
.lecture h2 { font-size: 26px; margin: 36px 0 12px; }

/* ---------- Pied de page ---------- */
.pied { background: var(--vert-profond); color: color-mix(in srgb, var(--creme) 85%, transparent); padding: 72px 0 28px; font-size: 15px; }
.pied a { color: var(--creme); text-decoration: none; }
.pied a:hover { color: var(--jaune); }
.pied .colonnes { display: grid; gap: 36px; grid-template-columns: 1fr; }
.pied h3 { color: var(--blanc); font-size: 15px; margin: 0 0 14px; letter-spacing: .5px; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied .logo-pied { display: block; height: 52px; width: auto; margin-bottom: 14px; }
.pied .bas { margin-top: 48px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--creme) 16%, transparent);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
@media (min-width: 760px) { .pied .colonnes { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Apparition au défilement (seulement si JavaScript actif et animations permises) ---------- */
.js .apparait { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .apparait.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .apparait { opacity: 1; transform: none; transition: none; }
  .visuel .orbite { animation: none; }
  .service:hover, .article:hover, .projet:hover, .bouton:hover { transform: none; }
}

/* =====================================================================================================
 * Mise en page « pro » (26/11/2026, d'après les exemples d'Elvis, sans rien copier) : capsule de navigation,
 * accueil à grande photo et cartes flottantes, panneaux arrondis, chiffres, cartes illustrées, appel final.
 * ===================================================================================================== */

/* Navigation en capsule */
.capsule { display: none; align-items: center; gap: 4px; background: var(--creme); border: 1px solid var(--bordure); border-radius: 999px; padding: 5px; }
.capsule a { text-decoration: none; color: var(--vert-profond); font-size: 14px; font-weight: 700; padding: 9px 16px; border-radius: 999px; transition: background .2s, color .2s; }
.capsule a:hover { background: var(--blanc); }
.capsule a[aria-current="page"] { background: var(--vert-profond); color: var(--creme); }
@media (min-width: 980px) { .capsule { display: flex; } }

/* Accueil */
.accueil { background: linear-gradient(180deg, var(--creme), var(--blanc)); }
.accueil .contenu { display: grid; gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 72px; }
.pastille-slogan { display: inline-flex; align-items: center; gap: 8px; background: var(--blanc); border: 1px solid var(--bordure); border-radius: 999px;
  padding: 6px 14px 6px 8px; font-size: 13px; font-weight: 700; color: var(--vert-afrique); margin-bottom: 22px; }
.pastille-slogan i { width: 22px; height: 22px; border-radius: 50%; background: var(--jaune); display: inline-block; }
.accueil h1 { font-size: clamp(36px, 5.6vw, 62px); margin: 0 0 20px; letter-spacing: -1px; }
.accueil h1 em { font-style: normal; color: var(--vert-afrique); background: linear-gradient(transparent 62%, color-mix(in srgb, var(--jaune) 55%, transparent) 62%); }
.accueil .chapeau { font-size: clamp(16px, 1.8vw, 18px); color: var(--texte-doux); max-width: 34rem; margin: 0 0 30px; }
.photo-accueil { position: relative; border-radius: 32px; overflow: visible; }
.photo-accueil img.fond { display: block; width: 100%; height: clamp(320px, 52vw, 560px); object-fit: cover; border-radius: 32px; box-shadow: var(--ombre); }
.photo-accueil::after { content: ""; position: absolute; inset: 0; border-radius: 32px;
  background: linear-gradient(200deg, transparent 40%, color-mix(in srgb, var(--vert-profond) 55%, transparent)); pointer-events: none; }
.verre { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: var(--blanc); background: color-mix(in srgb, var(--vert-profond) 55%, transparent); border: 1px solid color-mix(in srgb, var(--blanc) 35%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: flotte 6s ease-in-out infinite; }
.verre b { width: 8px; height: 8px; border-radius: 50%; background: var(--jaune); }
.verre.v1 { top: 8%; left: -4%; } .verre.v2 { top: 30%; right: -3%; animation-delay: -2s; } .verre.v3 { bottom: 26%; left: -2%; animation-delay: -4s; }
.carte-verre { position: absolute; z-index: 2; right: 5%; bottom: -26px; background: var(--blanc); border-radius: 22px; padding: 18px 22px; box-shadow: var(--ombre);
  display: flex; align-items: center; gap: 14px; }
.carte-verre img { width: 52px; height: 52px; }
.carte-verre strong { display: block; font-size: 26px; line-height: 1; color: var(--vert-profond); }
.carte-verre span { font-size: 13px; color: var(--texte-doux); }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 640px) { .verre.v1, .verre.v3 { left: 4%; } .verre.v2 { right: 4%; } }
@media (min-width: 940px) { .accueil .contenu { grid-template-columns: 1fr 1.05fr; gap: 56px; padding-top: 64px; padding-bottom: 96px; } }

/* Panneau de chiffres */
.chiffres { background: var(--vert-profond); border-radius: 28px; padding: 36px 28px; display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr);
  color: var(--creme); position: relative; overflow: hidden; }
.chiffres::before { content: ""; position: absolute; left: -60px; bottom: -90px; width: 220px; height: 220px; border-radius: 50%; border: 3px solid var(--orange); opacity: .4; }
.chiffre strong { display: block; font-size: clamp(34px, 4vw, 46px); line-height: 1; color: var(--jaune); }
.chiffre span { font-size: 14px; color: color-mix(in srgb, var(--creme) 85%, transparent); }
@media (min-width: 820px) { .chiffres { grid-template-columns: repeat(4, 1fr); padding: 44px 48px; } }
section.serre { padding: 0 0 24px; }

/* À propos en panneau */
.panneau { background: linear-gradient(135deg, var(--vert-afrique), var(--vert-profond)); border-radius: 32px; padding: 20px; display: grid; gap: 28px; color: var(--creme); }
.panneau img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; border-radius: 24px; }
.panneau .texte { padding: 8px 12px 20px; }
.panneau h2 { color: var(--blanc); }
.panneau p { color: color-mix(in srgb, var(--creme) 88%, transparent); font-size: 16px; }
.panneau .surtitre { color: var(--jaune); }
.duo { display: grid; gap: 14px; margin: 22px 0 8px; }
.duo div { background: color-mix(in srgb, var(--creme) 8%, transparent); border: 1px solid color-mix(in srgb, var(--creme) 18%, transparent); border-radius: 18px; padding: 16px 18px; }
.duo h3 { color: var(--jaune); font-size: 15px; margin: 0 0 4px; }
.duo p { margin: 0; font-size: 15px; }
.panneau .lien-fleche { color: var(--jaune); }
@media (min-width: 900px) { .panneau { grid-template-columns: 1fr 1.15fr; padding: 24px; } .panneau .texte { padding: 28px 28px 28px 8px; } .duo { grid-template-columns: 1fr 1fr; } }

/* En-tête de section sur deux colonnes */
.entete-ligne { display: grid; gap: 16px; margin-bottom: 40px; align-items: end; }
.entete-ligne h2 { margin: 0; max-width: 18ch; }
.entete-ligne p { margin: 0; color: var(--texte-doux); max-width: 34rem; }
@media (min-width: 900px) { .entete-ligne { grid-template-columns: 1fr 1fr; } }

/* Atouts (icônes) */
.atouts { display: grid; gap: 18px; }
.atout { display: flex; gap: 16px; align-items: flex-start; }
.atout .icone { flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--vert-profond); color: var(--jaune); display: grid; place-items: center; }
.atout .icone svg { width: 26px; height: 26px; }
.atout h3 { margin: 2px 0 6px; font-size: 18px; }
.atout p { margin: 0; color: var(--texte-doux); }
@media (min-width: 900px) { .atouts { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* Innovation : photo + projets */
.innovation-grille { display: grid; gap: 24px; }
.innovation-grille > img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; border-radius: 24px; }
@media (min-width: 1000px) { .innovation-grille { grid-template-columns: .85fr 1.4fr; } .innovation-grille .projets { grid-template-columns: repeat(2, 1fr); } }

/* Cartes d'articles illustrées */
.article .image { aspect-ratio: 16 / 10; overflow: hidden; }
.article .image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.article:hover .image img { transform: scale(1.05); }

/* Appel final sur photo */
.appel { position: relative; border-radius: 32px; overflow: hidden; color: var(--creme); padding: 56px 28px; }
.appel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.appel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--vert-profond) 30%, color-mix(in srgb, var(--vert-profond) 45%, transparent)); }
.appel .interieur { position: relative; max-width: 34rem; }
.appel h2 { color: var(--blanc); }
.appel p { color: color-mix(in srgb, var(--creme) 88%, transparent); margin: 0 0 26px; }
@media (min-width: 900px) { .appel { padding: 80px 64px; } }

/* Crédits photos */
.credits { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.credits li { border-bottom: 1px solid var(--bordure); padding-bottom: 12px; color: var(--texte-doux); }

@media (prefers-reduced-motion: reduce) { .verre { animation: none; } .article:hover .image img { transform: none; } }

/* Ajustements après relecture des captures (cadrage des photos, lisibilité sur fond sombre) */
.photo-accueil img.fond { object-position: center bottom; }
.panneau img { object-position: 12% center; }
section.sombre .entete-ligne p { color: color-mix(in srgb, var(--creme) 85%, transparent); }
.appel::before { background: linear-gradient(100deg, var(--vert-profond) 40%, color-mix(in srgb, var(--vert-profond) 70%, transparent) 70%, color-mix(in srgb, var(--vert-profond) 35%, transparent)); }

/* =====================================================================================================
 * Pages intérieures harmonisées avec l'accueil (26/11/2026) : bandeau photo arrondi, panneaux, cartes à icônes,
 * mise en avant d'Ibala Market (liens vers market.ibala.site), formulaire de contact, blog.
 * ===================================================================================================== */

/* Lien Ibala Market dans l'en-tête */
.lien-market { display: none; align-items: center; gap: 6px; text-decoration: none; font-size: 14px; font-weight: 700; color: var(--vert-profond);
  padding: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--jaune) 22%, transparent); border: 1px solid color-mix(in srgb, var(--orange) 45%, transparent);
  transition: background .2s; white-space: nowrap; }
.lien-market:hover { background: color-mix(in srgb, var(--jaune) 40%, transparent); }
.lien-market svg { width: 17px; height: 17px; }
.fleche-externe { font-size: 12px; }
@media (min-width: 1180px) { .lien-market { display: inline-flex; } }

/* Bandeau d'ouverture des pages intérieures */
.tete-page { padding: 28px 0 24px; background: linear-gradient(180deg, var(--creme), var(--blanc)); }
.banniere { position: relative; border-radius: 32px; overflow: hidden; color: var(--creme); min-height: 420px; display: flex; align-items: flex-end; box-shadow: var(--ombre); }
.banniere > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banniere::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, var(--vert-profond) 25%, color-mix(in srgb, var(--vert-profond) 75%, transparent) 60%, color-mix(in srgb, var(--vert-profond) 30%, transparent)); }
.banniere::after { content: ""; position: absolute; z-index: 1; right: -90px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%;
  border: 3px solid var(--jaune); opacity: .35; }
.banniere .interieur { position: relative; z-index: 2; padding: 40px 26px; max-width: 46rem; }
.banniere h1 { color: var(--blanc); font-size: clamp(32px, 5vw, 56px); margin: 0 0 16px; letter-spacing: -.8px; }
.banniere p { color: color-mix(in srgb, var(--creme) 90%, transparent); font-size: clamp(16px, 1.8vw, 18px); margin: 0 0 26px; max-width: 40rem; }
.banniere p:last-child { margin-bottom: 0; }
.pastille-slogan.sombre { background: color-mix(in srgb, var(--blanc) 12%, transparent); border-color: color-mix(in srgb, var(--blanc) 30%, transparent); color: var(--creme);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.fil { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; margin-bottom: 18px; color: color-mix(in srgb, var(--creme) 75%, transparent); }
.fil a { color: var(--creme); text-decoration: none; }
.fil a:hover { color: var(--jaune); }
@media (min-width: 900px) { .banniere { min-height: 460px; } .banniere .interieur { padding: 64px 60px; } }
section.fin { padding-top: 24px; padding-bottom: 88px; }

/* Puces de technologies */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; }
.chip { font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px; background: color-mix(in srgb, var(--creme) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--jaune) 45%, transparent); color: var(--creme); }

/* Cartes à icône (valeurs, partenaires) */
.valeur { background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 28px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s, box-shadow .25s, border-color .25s; }
.valeur:hover { transform: translateY(-6px); box-shadow: var(--ombre); border-color: color-mix(in srgb, var(--orange) 60%, transparent); }
.valeur .icone, .pole .icone, .solution .icone, .bandeau-lien .icone { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--vert-profond); color: var(--jaune); flex: none; }
.valeur .icone svg, .pole .icone svg, .solution .icone svg, .bandeau-lien .icone svg { width: 26px; height: 26px; }
.valeur h3 { margin: 6px 0 0; font-size: 19px; }
.valeur p { margin: 0; color: var(--texte-doux); }
.valeur .lien-fleche { margin-top: 6px; }

/* Expertises détaillées */
.raccourcis { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; background: var(--blanc); border: 1px solid var(--bordure);
  border-radius: 999px; padding: 8px; box-shadow: var(--ombre); }
.raccourcis a { text-decoration: none; font-size: 14px; font-weight: 700; color: var(--vert-profond); padding: 8px 14px; border-radius: 999px; transition: background .2s; }
.raccourcis a:hover { background: var(--creme); }
@media (max-width: 700px) { .raccourcis { border-radius: 24px; } }
.poles { display: grid; gap: 22px; }
@media (min-width: 860px) { .poles { grid-template-columns: repeat(2, 1fr); } }
.pole, .solution { scroll-margin-top: 100px; background: var(--blanc); border: 1px solid var(--bordure); border-radius: 24px; padding: 30px;
  display: flex; flex-direction: column; gap: 12px; transition: transform .25s, box-shadow .25s; }
.pole:hover, .solution:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.pole-haut { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pole h3, .solution h3 { margin: 6px 0 0; font-size: 22px; }
.pole .phrase, .solution p { margin: 0; color: var(--texte-doux); }
.pole .bouton, .pole .lien-fleche { align-self: flex-start; margin-top: auto; }
.pole .bouton { margin-top: 8px; }
.pole-market { background: linear-gradient(135deg, var(--vert-afrique), var(--vert-profond)); color: var(--creme); border-color: transparent; }
.pole-market h3 { color: var(--blanc); }
.pole-market .phrase, .pole-market .coches { color: color-mix(in srgb, var(--creme) 88%, transparent); }
.pole-market .icone { background: var(--orange); color: var(--vert-profond); }
.coches { list-style: none; padding: 0; margin: 6px 0 14px; display: grid; gap: 8px; color: var(--texte-doux); }
@media (min-width: 560px) { .pole .coches { grid-template-columns: 1fr 1fr; column-gap: 18px; } }
.coches li { position: relative; padding-left: 26px; }
.coches li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%;
  background: color-mix(in srgb, var(--jaune) 45%, transparent); }
.coches li::after { content: ""; position: absolute; left: 5px; top: calc(.35em + 4px); width: 5px; height: 8px; border: solid var(--vert-profond);
  border-width: 0 2px 2px 0; transform: rotate(45deg); }
.coches.clair { color: color-mix(in srgb, var(--creme) 90%, transparent); }
@media (min-width: 560px) { .coches.clair { grid-template-columns: 1fr 1fr; column-gap: 18px; } }

/* Carte Ibala Market sur l'accueil */
.service-market { background: linear-gradient(135deg, var(--vert-afrique), var(--vert-profond)); border-color: transparent; }
.service-market h3 { color: var(--blanc); }
.service-market p { color: color-mix(in srgb, var(--creme) 88%, transparent); }
.service-market .icone { background: var(--orange); color: var(--vert-profond); }
.service .visite { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; color: var(--jaune); }

/* Mise en avant d'Ibala Market */
.vedette-market { position: relative; overflow: hidden; border-radius: 32px; padding: 36px 26px; display: grid; gap: 34px; align-items: center; color: var(--creme);
  background: radial-gradient(600px 300px at 90% 10%, color-mix(in srgb, var(--orange) 35%, transparent), transparent 70%), linear-gradient(135deg, var(--vert-afrique), var(--vert-profond)); }
.vedette-market::before { content: ""; position: absolute; left: -70px; bottom: -110px; width: 260px; height: 260px; border-radius: 50%; border: 3px solid var(--jaune); opacity: .3; }
.vedette-market .texte { position: relative; }
.vedette-market h2 { color: var(--blanc); }
.vedette-market .surtitre { color: var(--jaune); }
.vedette-market p { color: color-mix(in srgb, var(--creme) 88%, transparent); margin: 0 0 26px; max-width: 34rem; }
.fenetre { position: relative; display: block; text-decoration: none; background: var(--blanc); border-radius: 22px; overflow: hidden; color: var(--vert-profond);
  box-shadow: 0 30px 60px -30px #000; transform: rotate(1.5deg); transition: transform .35s; }
.fenetre:hover { transform: rotate(0) translateY(-4px); }
.fenetre .barre { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--creme); border-bottom: 1px solid var(--bordure); }
.fenetre .barre i { width: 10px; height: 10px; border-radius: 50%; background: var(--bordure); }
.fenetre .barre i:first-child { background: var(--orange); } .fenetre .barre i:nth-child(2) { background: var(--jaune); }
.fenetre .barre span { margin-left: 10px; flex: 1; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; background: var(--blanc);
  border: 1px solid var(--bordure); border-radius: 999px; padding: 5px 12px; color: var(--vert-afrique); }
.fenetre .barre svg { width: 14px; height: 14px; }
.fenetre .ecran { padding: 22px; }
.fenetre .haut { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.fenetre .haut strong { display: block; font-size: 18px; margin-bottom: 4px; }
.fenetre ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fenetre li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--creme); font-size: 15px; font-weight: 700; }
.fenetre li .icone { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--vert-profond); color: var(--jaune); }
.fenetre li svg { width: 20px; height: 20px; }
@media (min-width: 940px) { .vedette-market { grid-template-columns: 1fr 1fr; padding: 60px 56px; gap: 56px; } }

/* Méthode en 5 étapes */
.chronologie { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: none; }
@media (min-width: 700px) { .chronologie { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .chronologie { grid-template-columns: repeat(5, 1fr); } }
.etape { position: relative; background: var(--blanc); border: 1px solid var(--bordure); border-radius: 22px; padding: 26px 22px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s, box-shadow .25s; }
.etape:hover { transform: translateY(-6px); box-shadow: var(--ombre); }
.etape .numero { position: absolute; top: 18px; right: 20px; font-size: 30px; font-weight: 700; line-height: 1; color: color-mix(in srgb, var(--orange) 55%, transparent); }
.etape .icone { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--vert-profond); color: var(--jaune); }
.etape .icone svg { width: 24px; height: 24px; }
.etape h3 { margin: 6px 0 0; font-size: 19px; }
.etape p { margin: 0; color: var(--texte-doux); font-size: 15px; }

/* Innovation */
.projets.trois { grid-template-columns: 1fr; }
@media (min-width: 760px) { .projets.trois { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .projets.trois { grid-template-columns: repeat(3, 1fr); } }
.projet { position: relative; }
.projet .numero { position: absolute; top: 20px; right: 22px; font-size: 28px; font-weight: 700; line-height: 1; color: color-mix(in srgb, var(--jaune) 45%, transparent); }
.bandeau-lien { display: grid; gap: 20px; align-items: center; background: var(--creme); border: 1px solid var(--bordure); border-radius: 28px; padding: 32px; }
.bandeau-lien h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 6px; }
.bandeau-lien p { margin: 0; color: var(--texte-doux); }
@media (min-width: 900px) { .bandeau-lien { grid-template-columns: auto 1fr auto; padding: 36px 44px; gap: 28px; } }

/* Réalisations */
.realisations { display: grid; gap: 22px; }
@media (min-width: 900px) { .realisations { grid-template-columns: repeat(2, 1fr); } }
.realisation { background: var(--blanc); border: 1px solid var(--bordure); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s; }
.realisation:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.realisation .image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.realisation .image img { width: 100%; height: 100%; object-fit: cover; }
.realisation .image.motif { display: grid; place-items: center; background: radial-gradient(400px 200px at 80% 0%, color-mix(in srgb, var(--orange) 35%, transparent), transparent 70%),
  linear-gradient(135deg, var(--vert-afrique), var(--vert-profond)); color: var(--jaune); }
.icone.grande svg { width: 96px; height: 96px; stroke-width: 1.2; }
.etiquette { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--blanc);
  padding: 7px 12px; border-radius: 999px; background: color-mix(in srgb, var(--vert-profond) 60%, transparent); border: 1px solid color-mix(in srgb, var(--blanc) 30%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.etiquette svg { width: 15px; height: 15px; }
.realisation .corps { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.realisation h3 { margin: 0; font-size: 21px; }
.realisation p { margin: 0; color: var(--texte-doux); }
.realisation .lien-fleche { margin-top: auto; padding-top: 8px; }

/* Contact */
.contact-grille { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .contact-grille { grid-template-columns: .9fr 1.2fr; gap: 40px; } }
.contact-grille h2 { font-size: clamp(24px, 3vw, 32px); }
.coord-cartes { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.coord-cartes li { display: flex; gap: 14px; align-items: center; background: var(--blanc); border: 1px solid var(--bordure); border-radius: 18px; padding: 16px 18px; }
.coord-cartes .icone { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--vert-profond); color: var(--jaune); }
.coord-cartes svg { width: 22px; height: 22px; }
.coord-cartes strong { display: block; font-size: 14px; }
.coord-cartes a { color: var(--vert-afrique); font-weight: 700; text-decoration: none; }
.encart-indiquer { background: linear-gradient(135deg, var(--vert-afrique), var(--vert-profond)); color: var(--creme); border-radius: 22px; padding: 24px 26px; }
.encart-indiquer h3 { color: var(--blanc); margin: 0 0 12px; font-size: 17px; }
.encart-indiquer .coches { color: color-mix(in srgb, var(--creme) 90%, transparent); margin: 0; }
.formulaire { background: var(--blanc); border: 1px solid var(--bordure); border-radius: 28px; padding: 30px 26px; box-shadow: var(--ombre); display: grid; gap: 16px; }
.formulaire h2 { margin: 0 0 4px; }
.formulaire label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--vert-profond); }
.formulaire input:not([type="checkbox"]), .formulaire select, .formulaire textarea { font: inherit; font-weight: 400; color: var(--vert-profond); background: var(--creme);
  border: 1px solid var(--bordure); border-radius: 14px; padding: 13px 16px; min-height: 50px; transition: border-color .2s, box-shadow .2s; }
.formulaire textarea { resize: vertical; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: none; border-color: var(--vert-afrique);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--jaune) 35%, transparent); }
.formulaire label.accord { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; color: var(--texte-doux); }
.formulaire label.accord input { margin-top: 3px; }
.formulaire .bouton { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.formulaire .note { margin: 0; font-size: 13px; color: var(--texte-doux); }
.formulaire .note a { color: var(--vert-afrique); font-weight: 700; }
.rangee { display: grid; gap: 16px; }
@media (min-width: 640px) { .rangee { grid-template-columns: 1fr 1fr; } .formulaire { padding: 40px; } }

/* Blog : article à la une, article, encart */
.article.une { margin-bottom: 22px; }
@media (min-width: 900px) { .article.une { flex-direction: row; } .article.une .image { flex: 1.2; aspect-ratio: auto; min-height: 340px; }
  .article.une .corps { flex: 1; padding: 40px; justify-content: center; } .article.une h3 { font-size: 28px; } }
.article-grille { display: grid; gap: 36px; align-items: start; }
@media (min-width: 1000px) { .article-grille { grid-template-columns: 1fr 320px; gap: 56px; } .encart { position: sticky; top: 100px; } }
.lecture h2 { color: var(--vert-profond); }
.lecture h2::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--orange); margin-bottom: 14px; }
.lecture > p:first-child { font-size: 19px; }
.credit-photo { font-size: 13px !important; color: var(--texte-doux); border-top: 1px solid var(--bordure); padding-top: 14px; margin-top: 30px !important; }
.encart { background: linear-gradient(135deg, var(--vert-afrique), var(--vert-profond)); color: var(--creme); border-radius: 26px; padding: 28px; display: grid; gap: 12px; justify-items: start; }
.encart h3 { color: var(--blanc); margin: 4px 0 0; font-size: 22px; }
.encart p { margin: 0; color: color-mix(in srgb, var(--creme) 88%, transparent); }
.encart .lien-fleche { color: var(--jaune); margin-top: 4px; }

/* Crédits photos */
.credits { gap: 16px; }
.credits li { display: flex; gap: 18px; align-items: center; background: var(--blanc); border: 1px solid var(--bordure); border-radius: 20px; padding: 14px; }
.credits img { width: 120px; height: 84px; object-fit: cover; border-radius: 14px; flex: none; }
.credits li div { display: grid; gap: 2px; font-size: 14px; }
.credits li strong { color: var(--vert-profond); font-size: 15px; }
.credits a { color: var(--vert-afrique); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .valeur:hover, .pole:hover, .solution:hover, .etape:hover, .realisation:hover, .fenetre, .fenetre:hover { transform: none; }
}

/* Corrections après captures : en-tête sur une ligne, voile du bloc final toujours au-dessus de la photo */
.capsule a, .entete .bouton, .entete .langue { white-space: nowrap; }
.appel img { z-index: 0; }
.appel::before { z-index: 1; }
.appel .interieur { z-index: 2; }

/* Contact sans formulaire (tant que l'API ne reçoit pas les demandes) */
.formulaire.ecrire { justify-items: start; align-content: start; }
.formulaire.ecrire .icone { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--vert-profond); color: var(--jaune); }
.formulaire.ecrire .icone svg { width: 28px; height: 28px; }
.formulaire.ecrire p { margin: 0; color: var(--texte-doux); }

/* =====================================================================================================
 * Pages des pôles, scènes animées par thème, rideau de transition entre pages, newsletter branchée (26/11/2026)
 * ===================================================================================================== */

/* Rideau de transition : trois bandes aux couleurs de la charte et l'emblème. Au clic sur un lien du site, le rideau
   monte ; sur la page suivante, il se retire. Rien sans JavaScript ni quand l'utilisateur réduit les animations. */
.rideau { position: fixed; inset: 0; z-index: 100; pointer-events: none; display: grid; place-items: center; visibility: hidden; }
.rideau .bande { position: absolute; left: 0; right: 0; height: 100%; transform: translateY(100%); }
.rideau .b1 { background: var(--orange); } .rideau .b2 { background: var(--vert-afrique); } .rideau .b3 { background: var(--vert-profond); }
.rideau img { position: relative; width: 96px; height: 96px; opacity: 0; transform: scale(.6) rotate(-12deg); }
.depart .rideau, .arrivee .rideau { visibility: visible; }
.depart .rideau .bande { animation: rideau-monte .42s cubic-bezier(.7,0,.3,1) forwards; }
.depart .rideau .b2 { animation-delay: .06s; } .depart .rideau .b3 { animation-delay: .12s; }
.depart .rideau img { animation: embleme-entre .3s .3s ease-out forwards; }
.arrivee .rideau .bande { transform: none; animation: rideau-part .6s cubic-bezier(.7,0,.3,1) .12s forwards; }
.arrivee .rideau .b2 { animation-delay: .2s; } .arrivee .rideau .b1 { animation-delay: .28s; }
.arrivee .rideau img { opacity: 1; transform: none; animation: embleme-sort .3s ease-in forwards; }
.arrivee main, .arrivee .entete { animation: page-entre .7s .25s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rideau-monte { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes rideau-part { from { transform: translateY(0); } to { transform: translateY(-100%); } }
@keyframes embleme-entre { to { opacity: 1; transform: none; } }
@keyframes embleme-sort { to { opacity: 0; transform: scale(1.3); } }
@keyframes page-entre { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Bandeau d'un pôle */
.tete-pole { position: relative; overflow: hidden; color: var(--creme); padding: 40px 0 56px;
  background: radial-gradient(700px 380px at 85% 30%, color-mix(in srgb, var(--vert-afrique) 85%, transparent), transparent 70%),
              linear-gradient(135deg, var(--vert-profond), var(--vert-profond) 40%, var(--vert-afrique)); }
.tete-pole-grille { display: grid; gap: 28px; align-items: center; }
.tete-pole h1 { color: var(--blanc); font-size: clamp(32px, 5vw, 56px); margin: 0 0 16px; letter-spacing: -.8px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.icone-titre { width: 58px; height: 58px; border-radius: 18px; display: inline-grid; place-items: center; background: var(--orange); color: var(--vert-profond); flex: none; }
.icone-titre svg { width: 30px; height: 30px; }
.tete-pole p { color: color-mix(in srgb, var(--creme) 90%, transparent); font-size: clamp(16px, 1.8vw, 18px); margin: 0 0 18px; max-width: 38rem; }
.etat-ligne { margin-bottom: 24px; }
.scene-cadre { position: relative; border-radius: 28px; background: color-mix(in srgb, var(--blanc) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--creme) 16%, transparent); overflow: hidden; }
.scene { display: block; width: 100%; height: auto; }
@media (min-width: 940px) { .tete-pole { padding: 56px 0 72px; } .tete-pole-grille { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* Éléments communs des scènes */
/* Origine des transformations : le centre (ou le bas) de l'élément animé lui-même. */
.scene .noeud, .scene .ligne, .scene .barre, .scene .aiguille, .scene .coeur, .scene .plante, .scene .soleil, .scene .niveau, .scene .eclair,
.scene .epingle, .scene .colis, .scene .sac, .scene .colonne { transform-box: fill-box; }
.scene .pt { fill: color-mix(in srgb, var(--creme) 22%, transparent); }
.scene text { fill: color-mix(in srgb, var(--jaune) 40%, transparent); font: 700 14px var(--police); }

/* Digital : colonnes de chiffres qui défilent, réseau de nœuds traversé par des données, code qui s'écrit */
.scene-digital .colonne { animation: defile-bas 9s linear infinite; opacity: .45; }
.scene-digital .c1, .scene-digital .c4, .scene-digital .c6 { animation-duration: 12s; animation-delay: -4s; }
.scene-digital .c2, .scene-digital .c5 { animation-duration: 7s; animation-delay: -2s; }
@keyframes defile-bas { from { transform: translateY(-50%); } to { transform: translateY(10%); } }
.scene-digital .flux { fill: none; stroke: var(--jaune); stroke-width: 2.5; stroke-dasharray: 3 5; animation: flux 3s linear infinite; }
.scene-digital .noeud { fill: var(--orange); stroke: var(--creme); stroke-width: 3; transform-origin: center; animation: pulse 2.4s ease-in-out infinite; }
.scene-digital .n1 { animation-delay: -.4s; } .scene-digital .n2 { animation-delay: -.8s; } .scene-digital .n3 { animation-delay: -1.2s; }
.scene-digital .n4 { animation-delay: -1.6s; } .scene-digital .n5 { fill: var(--jaune); animation-delay: -2s; }
.scene-digital .fenetre-code > rect:first-child { fill: var(--blanc); }
.scene-digital .fenetre-code circle { fill: var(--orange); }
.scene-digital .ligne { fill: var(--vert-afrique); transform-origin: left center; animation: ecrit 4s ease-in-out infinite; }
.scene-digital .l1 { fill: var(--orange); animation-delay: .3s; } .scene-digital .l2 { animation-delay: .6s; } .scene-digital .l3 { fill: var(--jaune); animation-delay: .9s; }
.scene-digital .l4 { animation-delay: 1.2s; }
@keyframes ecrit { 0% { transform: scaleX(0); } 30%, 80% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes flux { to { stroke-dashoffset: -16; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }

/* Consulting & Études : plan quadrillé, barres qui montent, courbe qui se trace, compas qui tourne */
.scene-conseil .quadrillage { fill: none; stroke: color-mix(in srgb, var(--creme) 12%, transparent); stroke-width: 1; }
.scene-conseil .barre { fill: color-mix(in srgb, var(--creme) 22%, transparent); transform-origin: bottom; animation: monte 5s ease-out infinite; }
.scene-conseil .r4 { fill: var(--jaune); } .scene-conseil .r5 { fill: var(--orange); }
.scene-conseil .r1 { animation-delay: .1s; } .scene-conseil .r2 { animation-delay: .2s; } .scene-conseil .r3 { animation-delay: .3s; }
.scene-conseil .r4 { animation-delay: .4s; } .scene-conseil .r5 { animation-delay: .5s; }
@keyframes monte { 0% { transform: scaleY(0); } 25%, 85% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
.scene-conseil .courbe { fill: none; stroke: var(--blanc); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; animation: trace 5s ease-out infinite; }
@keyframes trace { 0% { stroke-dashoffset: 100; } 35%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 100; } }
.scene-conseil .cercle { fill: none; stroke: var(--jaune); stroke-width: 2.5; stroke-dasharray: 6 8; }
.scene-conseil .cercle.fin { stroke: color-mix(in srgb, var(--creme) 40%, transparent); stroke-dasharray: 2 6; }
.scene-conseil .compas { animation: none; }
.scene-conseil .compas .aiguille { fill: var(--orange); transform-origin: center; animation: tourne 8s ease-in-out infinite alternate; }
.scene-conseil .verre-loupe { fill: color-mix(in srgb, var(--blanc) 10%, transparent); stroke: var(--creme); stroke-width: 5; }
.scene-conseil .manche { stroke: var(--creme); stroke-width: 9; stroke-linecap: round; }
.scene-conseil .loupe-anim { animation: balaye 6s ease-in-out infinite; }
@keyframes balaye { 0%, 100% { transform: translate(470px, 300px); } 50% { transform: translate(360px, 270px); } }

/* Market : route de livraison parcourue, épingles qui pulsent, colis qui flottent */
.scene-market .route { fill: none; stroke: color-mix(in srgb, var(--creme) 25%, transparent); stroke-width: 10; stroke-linecap: round; }
.scene-market .route-flux { fill: none; stroke: var(--jaune); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 8 92; animation: livre 4s linear infinite; }
@keyframes livre { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.scene-market .epingle path { fill: var(--orange); } .scene-market .epingle .trou { fill: var(--vert-profond); }
.scene-market .epingle { transform-origin: bottom center; animation: saute 2s ease-in-out infinite; }
.scene-market .e1 { animation-delay: -.5s; } .scene-market .e2 { animation-delay: -1s; } .scene-market .e3 { animation-delay: -1.5s; }
@keyframes saute { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.scene-market .colis rect { fill: var(--creme); } .scene-market .colis path { fill: none; stroke: var(--orange); stroke-width: 3; }
.scene-market .colis { animation: flotte-colis 5s ease-in-out infinite; } .scene-market .k1 { animation-delay: -1.6s; } .scene-market .k2 { animation-delay: -3.2s; }
@keyframes flotte-colis { 0%, 100% { translate: 0 0; rotate: -4deg; } 50% { translate: 0 -14px; rotate: 4deg; } }
.scene-market .sac path:first-child { fill: var(--jaune); } .scene-market .sac .anse { fill: none; stroke: var(--creme); stroke-width: 5; }
.scene-market .sac { animation: flotte-colis 6s ease-in-out infinite; }

/* Engineering & IoT : pistes de circuit qui se tracent, signaux qui circulent, LED qui clignotent, ondes radio */
.scene-iot .piste { fill: none; stroke: color-mix(in srgb, var(--creme) 28%, transparent); stroke-width: 4; stroke-linejoin: round; stroke-dasharray: 100;
  animation: trace-une 2.2s ease-out both; }
.scene-iot .signal { fill: none; stroke: var(--jaune); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 6 94; animation: signal 2.6s linear infinite; }
.scene-iot .s1 { animation-delay: -.4s; } .scene-iot .s2 { animation-delay: -.9s; stroke: var(--orange); } .scene-iot .s3 { animation-delay: -1.3s; }
.scene-iot .s4 { animation-delay: -1.8s; stroke: var(--orange); } .scene-iot .s5 { animation-delay: -2.2s; }
@keyframes trace-une { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes signal { from { stroke-dashoffset: 6; } to { stroke-dashoffset: -94; } }
.scene-iot .puce > rect:first-child { fill: var(--vert-profond); stroke: var(--jaune); stroke-width: 3; }
.scene-iot .puce .coeur { fill: var(--orange); animation: pulse-doux 1.6s ease-in-out infinite; transform-origin: center; }
.scene-iot .patte { stroke: var(--jaune); stroke-width: 4; }
@keyframes pulse-doux { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.scene-iot .led { fill: var(--jaune); animation: clignote 1.4s steps(2, jump-none) infinite; }
.scene-iot .d1 { animation-delay: -.3s; } .scene-iot .d2 { animation-delay: -.6s; fill: var(--orange); } .scene-iot .d3 { animation-delay: -.9s; }
.scene-iot .d4 { animation-delay: -1.1s; fill: var(--orange); } .scene-iot .d5 { animation-delay: -1.3s; }
@keyframes clignote { 0% { opacity: 1; } 100% { opacity: .25; } }
.scene-iot .ondes path { fill: none; stroke: var(--creme); stroke-width: 3; stroke-linecap: round; opacity: 0; animation: onde 2s ease-out infinite; }
.scene-iot .ondes path:nth-child(2) { animation-delay: .3s; } .scene-iot .ondes path:nth-child(3) { animation-delay: .6s; }
@keyframes onde { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }

/* Agritech : soleil qui tourne, gouttes qui tombent du tuyau, plantes qui poussent */
.scene .soleil .disque { fill: var(--jaune); } .scene .soleil .rayon { stroke: var(--jaune); stroke-width: 5; stroke-linecap: round; }
.scene .soleil { animation: tourne 24s linear infinite; transform-origin: center; }
.scene-agri .tuyau { stroke: color-mix(in srgb, var(--creme) 45%, transparent); stroke-width: 6; stroke-linecap: round; }
.scene-agri .goutte-anim { fill: var(--creme); animation: tombe 1.8s ease-in infinite; }
.scene-agri .g1 { animation-delay: -.3s; } .scene-agri .g2 { animation-delay: -.9s; } .scene-agri .g3 { animation-delay: -.5s; }
.scene-agri .g4 { animation-delay: -1.2s; } .scene-agri .g5 { animation-delay: -.7s; } .scene-agri .g6 { animation-delay: -1.5s; }
@keyframes tombe { 0% { translate: 0 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { translate: 0 90px; opacity: 0; } }
.scene-agri .sol { fill: color-mix(in srgb, var(--orange) 55%, var(--vert-profond)); }
.scene-agri .tige { stroke: var(--jaune); stroke-width: 4; stroke-linecap: round; }
.scene-agri .feuille { fill: color-mix(in srgb, var(--jaune) 55%, var(--vert-afrique)); }
.scene-agri .plante { transform-origin: bottom center; animation: pousse 6s ease-out infinite; }
.scene-agri .pl1 { animation-delay: .2s; } .scene-agri .pl2 { animation-delay: .4s; } .scene-agri .pl3 { animation-delay: .6s; }
.scene-agri .pl4 { animation-delay: .8s; } .scene-agri .pl5 { animation-delay: 1s; } .scene-agri .pl6 { animation-delay: 1.2s; }
@keyframes pousse { 0% { transform: scale(.1); } 40%, 90% { transform: scale(1); } 100% { transform: scale(.1); } }

/* Energy : soleil, panneau, courant qui circule dans le câble, batterie qui se remplit, éclair */
.scene-energie .panneau-solaire rect { fill: color-mix(in srgb, var(--vert-afrique) 60%, var(--blanc)); stroke: var(--creme); stroke-width: 3; }
.scene-energie .panneau-solaire path { stroke: var(--vert-profond); stroke-width: 2; }
.scene-energie .cable { fill: none; stroke: color-mix(in srgb, var(--creme) 35%, transparent); stroke-width: 8; stroke-linecap: round; }
.scene-energie .courant { fill: none; stroke: var(--jaune); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 10 15; animation: courant 1.2s linear infinite; }
@keyframes courant { to { stroke-dashoffset: -25; } }
.scene-energie .batterie .corps { fill: none; stroke: var(--creme); stroke-width: 5; } .scene-energie .batterie .borne { fill: var(--creme); }
.scene-energie .batterie .niveau { fill: var(--jaune); transform-origin: bottom; animation: charge 4s ease-in-out infinite; }
@keyframes charge { 0% { transform: scaleY(.1); fill: var(--orange); } 80%, 100% { transform: scaleY(1); fill: var(--jaune); } }
.scene-energie .eclair { fill: var(--jaune); animation: eclair 3s ease-in-out infinite; transform-origin: center; }
@keyframes eclair { 0%, 70%, 100% { opacity: .2; transform: scale(.9); } 75%, 85% { opacity: 1; transform: scale(1.1); } }
@keyframes tourne { to { rotate: 360deg; } }

/* Cartes des pôles (page Expertises) */
.pole-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.pole-actions .lien-fleche, .pole-actions .bouton { margin-top: 0; }
.pole-market .pole-actions .lien-fleche { color: var(--jaune); }

/* Projets types (sur fond sombre), superposés en escalier sur grand écran */
.projets-types { display: grid; gap: 20px; }
@media (min-width: 760px) { .projets-types { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .projets-types { grid-template-columns: repeat(3, 1fr); } .projets-types .projet-type:nth-child(3n+2) { transform: translateY(28px); }
  .js .projets-types .projet-type.apparait:nth-child(3n+2):not(.vu) { transform: translateY(54px); } }
.projet-type { background: var(--blanc); color: var(--vert-profond); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 24px 50px -30px #000; transition: box-shadow .3s; }
.projet-type:hover { box-shadow: 0 30px 60px -24px #000; }
.projet-haut { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.projet-type .numero { font-size: 30px; font-weight: 700; line-height: 1; color: color-mix(in srgb, var(--orange) 70%, transparent); }
.projet-type h3 { margin: 0; font-size: 20px; color: var(--vert-profond); }
.projet-type dl { margin: 0; display: grid; gap: 6px; }
.projet-type dt { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange); }
.projet-type dd { margin: 0 0 6px; color: var(--texte-doux); font-size: 15px; }
.mots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.mots span { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--creme); color: var(--vert-afrique); }
.etat-exemple { background: transparent; color: var(--vert-afrique); border: 1.5px dashed var(--vert-afrique); }

/* Outils et autres pôles */
.outils-bande { padding-top: 56px; }
.outils { background: var(--creme); border: 1px solid var(--bordure); border-radius: 28px; padding: 30px; display: grid; gap: 16px; }
.outils h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 0; }
.outils .chip { color: var(--vert-profond); background: var(--blanc); border-color: color-mix(in srgb, var(--orange) 45%, transparent); }
@media (min-width: 900px) { .outils { grid-template-columns: .8fr 2fr; align-items: center; padding: 36px 44px; } }
.autres-poles { display: grid; gap: 12px; }
@media (min-width: 700px) { .autres-poles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .autres-poles { grid-template-columns: repeat(5, 1fr); } }
.autre-pole { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; background: var(--blanc); border: 1px solid var(--bordure);
  border-radius: 18px; padding: 14px 16px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.autre-pole:hover { transform: translateY(-4px); box-shadow: var(--ombre); border-color: color-mix(in srgb, var(--orange) 60%, transparent); }
.autre-pole .icone { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--vert-profond); color: var(--jaune); }
.autre-pole svg { width: 22px; height: 22px; }
.autre-pole span:nth-child(2) { flex: 1; font-size: 14px; }
.autre-pole b { color: var(--orange); }

/* Rayons d'Ibala Market */
.rayons { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .rayons { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1020px) { .rayons { grid-template-columns: repeat(4, 1fr); } }
.rayon { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; text-decoration: none; box-shadow: var(--ombre); }
.rayon img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.rayon::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--vert-profond) 85%, transparent)); }
.rayon span { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; color: var(--blanc); font-weight: 700; font-size: 15px; line-height: 1.25; }
.rayon:hover img { transform: scale(1.07); }
.chronologie.quatre { }
@media (min-width: 1080px) { .chronologie.quatre { grid-template-columns: repeat(4, 1fr); } }

/* Newsletter : message sous le formulaire */
.message-newsletter { margin: 0; min-height: 1.4em; font-size: 14px; font-weight: 700; color: var(--jaune); }
.message-newsletter.erreur { color: var(--blanc); background: color-mix(in srgb, var(--orange) 35%, transparent); border-radius: 10px; padding: 8px 12px; }
.newsletter .bouton[disabled] { opacity: .6; cursor: wait; }

@media (prefers-reduced-motion: reduce) {
  .rideau { display: none; }
  .arrivee main, .arrivee .entete { animation: none; }
  .scene *, .scene { animation: none !important; }
  .scene-iot .piste { stroke-dashoffset: 0; }
  .rayon:hover img, .autre-pole:hover { transform: none; }
}

/* Titre des projets types : lisible sur la carte blanche, même dans une section sombre */
section.sombre .projet-type h3 { color: var(--vert-profond); }

/* Bulle WhatsApp flottante (toutes les pages) : rond vert de la charte, anneau qui respire, étiquette au survol
   (et brièvement à l'arrivée sur grand écran). Au-dessus du contenu, sous le rideau de transition. */
.bulle-whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.rond-whatsapp { position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: var(--blanc);
  background: linear-gradient(135deg, var(--vert-afrique), var(--vert-profond)); box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--vert-profond) 80%, transparent);
  border: 3px solid var(--jaune); transition: transform .25s; }
.rond-whatsapp svg { width: 30px; height: 30px; }
.rond-whatsapp::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--jaune); animation: respire 2.4s ease-out infinite; }
.bulle-whatsapp:hover .rond-whatsapp, .bulle-whatsapp:focus-visible .rond-whatsapp { transform: scale(1.08); }
.etiquette-whatsapp { background: var(--blanc); color: var(--vert-profond); font-weight: 700; font-size: 14px; padding: 10px 14px; border-radius: 14px;
  box-shadow: var(--ombre); white-space: nowrap; opacity: 0; transform: translateX(10px); pointer-events: none; transition: opacity .25s, transform .25s; }
.bulle-whatsapp:hover .etiquette-whatsapp, .bulle-whatsapp:focus-visible .etiquette-whatsapp { opacity: 1; transform: none; }
@media (min-width: 900px) { .js .etiquette-whatsapp { animation: etiquette-arrivee 5s 1.5s ease both; } }
@keyframes respire { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes etiquette-arrivee { 0% { opacity: 0; transform: translateX(10px); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(10px); } }
@media (max-width: 600px) { .bulle-whatsapp { right: 14px; bottom: 14px; } .rond-whatsapp { width: 56px; height: 56px; } }
@media (prefers-reduced-motion: reduce) { .rond-whatsapp::before, .js .etiquette-whatsapp { animation: none; } .bulle-whatsapp:hover .rond-whatsapp { transform: none; } }
@media print { .bulle-whatsapp { display: none; } }
