/* ==========================================================================
   Bakh Valoris Groupe : feuille de style du site (version 2)
   Charte : Charte-graphique-Bakh-Valoris-Groupe.pdf (piste A, Monogramme Tangent)
   Sommaire
     0. Polices (hébergées sur le site, aucun appel à Google)
     1. Variables
     2. Base
     3. Utilitaires et boutons
     4. En-tête et navigation
     5. Héros
     6. Composants
     7. Contact et formulaire
     8. Pied de page, WhatsApp
     9. Animations, accessibilité, impression
   ========================================================================== */

/* 0. Polices ---------------------------------------------------------------- */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/plus-jakarta-sans-500.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/plus-jakarta-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-800.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }

/* 1. Variables -------------------------------------------------------------- */
:root {
  --emeraude: #0B4F3C;
  --emeraude-fonce: #083D2E;
  --or: #B88A3E;
  --anthracite: #2A2E33;
  --marine: #13294B;
  --blanc: #FFFFFF;
  --perle: #F3F4F0;
  --gris-moyen: #7A8088;

  /* Variantes d'accessibilité (contraste WCAG AA pour les petits textes) */
  --or-texte: #8A6526;   /* sur fond clair */
  --or-clair: #D9B97A;   /* sur fond foncé */
  --gris-texte: #5F656D;
  --ligne: #DCDFD8;

  /* Couleur du pôle courant (redéfinie par .pole-xxx) */
  --pole: var(--emeraude);
  --pole-accent: var(--or);
  --pole-fond: var(--emeraude);

  --font-titre: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --font-texte: "Inter", "Segoe UI", Arial, sans-serif;

  --conteneur: 1200px;
  --gouttiere: 20px;
  --rayon: 6px;
  --entete-h: 72px;
  --ombre: 0 1px 2px rgba(42, 46, 51, .06), 0 10px 30px rgba(42, 46, 51, .08);
}
@media (min-width: 768px) { :root { --gouttiere: 32px; --entete-h: 84px; } }

.pole-agro   { --pole: #2F7A4A; --pole-accent: #B88A3E; --pole-fond: #245E39; }
.pole-btp    { --pole: #A4552F; --pole-accent: #A4552F; --pole-fond: #2A2E33; }
.pole-tech   { --pole: #1F56B3; --pole-accent: #22A3C4; --pole-fond: #1A4A9C; }
.pole-negoce { --pole: #13294B; --pole-accent: #B88A3E; --pole-fond: #13294B; }

/* 2. Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--entete-h) + 16px); }
body { margin: 0; font-family: var(--font-texte); font-size: 1rem; line-height: 1.6; color: var(--anthracite); background: var(--blanc); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-titre); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-weight: 800; color: var(--emeraude); font-size: clamp(2.2rem, 5.4vw, 3.8rem); }
h2 { font-weight: 800; color: var(--anthracite); font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-weight: 700; color: var(--anthracite); font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--emeraude); text-underline-offset: 3px; }
a:hover { color: var(--anthracite); }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--emeraude); color: var(--blanc); padding: 12px 18px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--blanc); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* 3. Utilitaires ------------------------------------------------------------ */
.container { width: 100%; max-width: calc(var(--conteneur) + 2 * var(--gouttiere)); margin: 0 auto; padding: 0 var(--gouttiere); }
.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 112px 0; } }
.section--perle { background: var(--perle); }
.section--sombre { background: var(--emeraude); color: rgba(255, 255, 255, .88); position: relative; overflow: hidden; }
.section--sombre h2, .section--sombre h3 { color: var(--blanc); }

.surtitre { display: flex; align-items: center; gap: 14px; font-family: var(--font-titre); font-weight: 700; font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--or-texte); margin: 0 0 18px; }
.surtitre::before { content: ""; width: 36px; height: 2px; background: var(--or); flex: none; }
.section--sombre .surtitre, .heros .surtitre, .bandeau .surtitre { color: var(--or-clair); }
.heros-pole .surtitre { color: var(--blanc); }
.heros-pole .surtitre::before { background: var(--pole-accent); }

.entete-section { max-width: 740px; margin-bottom: 52px; }
.entete-section--centre { margin-left: auto; margin-right: auto; text-align: center; }
.entete-section--centre .surtitre { justify-content: center; }
.entete-section p { color: var(--gris-texte); font-size: 1.08rem; }
.section--sombre .entete-section p { color: rgba(255, 255, 255, .82); }
.chapo { font-size: 1.15rem; }
.texte-gris { color: var(--gris-texte); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px; font-family: var(--font-titre); font-weight: 700; font-size: .96rem; letter-spacing: .01em; text-decoration: none; border: 2px solid transparent; border-radius: var(--rayon); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primaire { background: var(--emeraude); color: var(--blanc); }
.btn--primaire:hover { background: var(--emeraude-fonce); color: var(--blanc); }
.btn--or { background: var(--or); color: #1E2124; }
.btn--or:hover { background: #A57A33; color: #1E2124; }
.btn--contour { border-color: var(--emeraude); color: var(--emeraude); background: transparent; }
.btn--contour:hover { background: var(--emeraude); color: var(--blanc); }
.btn--clair { border-color: rgba(255, 255, 255, .7); color: var(--blanc); background: transparent; }
.btn--clair:hover { background: var(--blanc); color: var(--anthracite); }
.btn--pole { background: var(--pole); color: var(--blanc); }
.btn--pole:hover { filter: brightness(.9); color: var(--blanc); }
.btn--whatsapp { background: #1F8F4E; color: var(--blanc); }
.btn--whatsapp:hover { background: #18773F; color: var(--blanc); }
.boutons { display: flex; flex-wrap: wrap; gap: 14px; }

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

.grille { display: grid; gap: 24px; }
@media (min-width: 640px) { .grille--2, .grille--3, .grille--4, .grille--6 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grille--3, .grille--6 { grid-template-columns: repeat(3, 1fr); } .grille--4 { grid-template-columns: repeat(4, 1fr); } }

.deux-colonnes { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .deux-colonnes { grid-template-columns: 1fr 1fr; gap: 80px; } .deux-colonnes--inverse > :first-child { order: 2; } }

/* 4. En-tête ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--ligne); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(42, 46, 51, .08); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px); } }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--entete-h); gap: 24px; }
.logo { display: block; flex: none; padding: 4px 0; }
.logo img { height: 40px; width: auto; }
@media (min-width: 768px) { .logo img { height: 46px; } }

.nav-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; background: none; border: 1px solid var(--ligne); border-radius: var(--rayon); font: 600 .9rem var(--font-texte); color: var(--anthracite); cursor: pointer; }
.nav-toggle__barres { position: relative; width: 20px; height: 2px; background: currentColor; }
.nav-toggle__barres::before, .nav-toggle__barres::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: transform .2s; }
.nav-toggle__barres::before { top: -6px; }
.nav-toggle__barres::after { top: 6px; }
.nav-open .nav-toggle__barres { background: transparent; }
.nav-open .nav-toggle__barres::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__barres::after { transform: translateY(-6px) rotate(-45deg); }

.nav-principale ul { list-style: none; margin: 0; padding: 0; }
.nav-principale a, .sous-menu-btn { font-family: var(--font-titre); font-weight: 700; font-size: .97rem; color: var(--anthracite); text-decoration: none; }
.nav-principale a[aria-current="page"] { color: var(--emeraude); }
.nav-principale a.btn, .nav-principale a.btn:hover { color: var(--blanc); }
.sous-menu-btn { background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 0; }
.sous-menu-btn::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.sous-menu-btn[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }
.sous-menu .puce { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 12px; background: var(--pole); }
.sous-menu .tous { border-top: 1px solid var(--ligne); margin-top: 6px; padding-top: 6px; }

@media (max-width: 1023px) {
  .nav-principale { position: fixed; inset: var(--entete-h) 0 auto 0; max-height: calc(100vh - var(--entete-h)); overflow-y: auto; background: var(--blanc); border-bottom: 3px solid var(--or); padding: 8px var(--gouttiere) 28px; display: none; box-shadow: 0 20px 40px rgba(0, 0, 0, .12); }
  .nav-open .nav-principale { display: block; }
  .nav-principale > ul > li { border-bottom: 1px solid var(--ligne); }
  .nav-principale > ul > li > a, .sous-menu-btn { display: flex; width: 100%; justify-content: space-between; padding: 16px 0; font-size: 1.05rem; }
  .sous-menu { display: none; padding: 0 0 12px 6px !important; }
  .sous-menu-btn[aria-expanded="true"] + .sous-menu { display: block; }
  .sous-menu a { display: block; padding: 11px 0; font-weight: 500; }
  .nav-principale .btn { width: 100%; margin-top: 20px; }
  .nav-principale > ul > li.nav-cta { border-bottom: 0; }
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav-principale > ul { display: flex; align-items: center; gap: 32px; }
  .nav-principale > ul > li { position: relative; }
  .nav-principale > ul > li > a:not(.btn) { padding: 8px 0; border-bottom: 2px solid transparent; }
  .nav-principale > ul > li > a:not(.btn):hover, .nav-principale a[aria-current="page"]:not(.btn) { border-bottom-color: var(--or); color: var(--emeraude); }
  .sous-menu { position: absolute; top: calc(100% + 16px); left: -24px; min-width: 300px; background: var(--blanc); border: 1px solid var(--ligne); border-top: 3px solid var(--or); border-radius: 0 0 var(--rayon) var(--rayon); box-shadow: var(--ombre); padding: 10px 0 !important; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
  .sous-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
  .has-sub:hover .sous-menu, .has-sub:focus-within .sous-menu, .sous-menu-btn[aria-expanded="true"] + .sous-menu { opacity: 1; visibility: visible; transform: none; }
  .sous-menu a { display: block; padding: 11px 24px; font-weight: 500; }
  .sous-menu a:hover { background: var(--perle); color: var(--emeraude); }
  .nav-principale .btn { min-height: 44px; padding: 10px 20px; }
}

/* 5. Héros ------------------------------------------------------------------ */
.heros { position: relative; background: var(--emeraude); color: var(--blanc); overflow: hidden; }
.heros::before { /* trame de lignes fines, rappel des lignes tangentes du monogramme */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 75%); mask-image: linear-gradient(100deg, transparent 20%, #000 75%);
}
.heros .container { position: relative; display: grid; gap: 56px; padding-top: 72px; padding-bottom: 80px; align-items: center; }
@media (min-width: 960px) { .heros .container { grid-template-columns: 1.1fr .9fr; padding-top: 120px; padding-bottom: 128px; } }
.heros h1 { color: var(--blanc); font-size: clamp(2.5rem, 6.4vw, 4.6rem); max-width: 12ch; }
.heros h1 .or { color: var(--or-clair); }
.heros .chapo { color: rgba(255, 255, 255, .88); max-width: 35rem; margin-bottom: 36px; }
.heros__preuves { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .88rem; color: rgba(255, 255, 255, .75); }
.heros__preuves span { display: inline-flex; align-items: center; gap: 8px; }
.heros__preuves span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--or); }

/* Emblème graphique (remplace la photo tant qu'il n'y en a pas) */
.embleme { position: relative; max-width: 470px; width: 100%; margin: 0 auto; aspect-ratio: 1; }
.embleme__cadre { position: absolute; inset: 0; border: 1px solid rgba(217, 185, 122, .55); border-radius: 50%; }
.embleme__cadre--2 { inset: 9%; border-color: rgba(255, 255, 255, .14); }
.embleme__cadre--3 { inset: 18%; border-style: dashed; border-color: rgba(255, 255, 255, .12); animation: tourne 80s linear infinite; }
.embleme__symbole { position: absolute; inset: 27%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .25)); }
.embleme__symbole svg { width: 100%; height: 100%; }
.embleme__point { position: absolute; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--emeraude); }
.embleme__point span { position: absolute; white-space: nowrap; font-family: var(--font-titre); font-weight: 700; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .85); top: 50%; transform: translateY(-50%); }
.embleme__point--agro { background: #4FA36E; top: 4%; left: 50%; margin-left: -7px; } .embleme__point--agro span { left: 22px; }
.embleme__point--btp { background: #C56A3E; top: 50%; right: -7px; margin-top: -7px; } .embleme__point--btp span { right: 0; top: 26px; transform: none; }
.embleme__point--tech { background: #3D7BE0; bottom: 4%; left: 50%; margin-left: -7px; } .embleme__point--tech span { left: 22px; }
.embleme__point--negoce { background: #D9B97A; top: 50%; left: -7px; margin-top: -7px; } .embleme__point--negoce span { left: 0; top: 26px; transform: none; }
@keyframes tourne { to { transform: rotate(360deg); } }
@media (max-width: 959px) { .embleme { max-width: 340px; } }

/* Héros des pages intérieures */
.heros-page { position: relative; background: var(--perle); border-bottom: 1px solid var(--ligne); overflow: hidden; }
.heros-page .container { position: relative; padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 768px) { .heros-page .container { padding-top: 96px; padding-bottom: 88px; } }
.heros-page h1 { max-width: 20ch; }
.heros-page .chapo { max-width: 46rem; color: var(--gris-texte); margin: 0; }
.filigrane { position: absolute; right: -60px; top: 50%; width: 420px; transform: translateY(-50%); opacity: .06; pointer-events: none; }
@media (max-width: 767px) { .filigrane { width: 260px; right: -80px; } }

.ariane { font-size: .875rem; color: var(--gris-texte); margin-bottom: 26px; }
.ariane ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ariane li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.ariane a { color: inherit; }
.heros-pole .ariane { color: rgba(255, 255, 255, .8); }

/* Héros de pôle */
.heros-pole { position: relative; background: var(--pole-fond); color: var(--blanc); overflow: hidden; }
.heros-pole::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--pole-accent); }
.heros-pole .container { position: relative; padding-top: 64px; padding-bottom: 80px; }
@media (min-width: 768px) { .heros-pole .container { padding-top: 88px; padding-bottom: 112px; } }
.heros-pole__logo { width: 250px; margin: 0 0 40px; }
@media (min-width: 768px) { .heros-pole__logo { width: 320px; } }
.heros-pole h1 { color: var(--blanc); max-width: 18ch; }
.heros-pole .chapo { color: rgba(255, 255, 255, .9); max-width: 42rem; margin-bottom: 32px; }
.heros-pole .filigrane { opacity: .09; width: 520px; right: -40px; }
@media (max-width: 767px) { .heros-pole .filigrane { width: 280px; right: -90px; top: 70%; } }

/* 6. Composants ------------------------------------------------------------- */
/* Chiffres et repères (uniquement des faits vérifiés) */
.reperes { display: grid; gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; margin-top: 64px; }
@media (min-width: 640px) { .reperes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .reperes { grid-template-columns: repeat(4, 1fr); } }
.repere { background: var(--blanc); padding: 28px 26px; }
.repere strong { display: block; font-family: var(--font-titre); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--emeraude); margin-bottom: 10px; }
.repere strong small { font-size: .45em; color: var(--or-texte); font-weight: 700; margin-left: 4px; }
.repere span { color: var(--gris-texte); font-size: .95rem; line-height: 1.45; display: block; }

/* Cartes de pôle */
.carte-pole { position: relative; display: flex; flex-direction: column; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.carte-pole:hover, .carte-pole:focus-within { box-shadow: var(--ombre); transform: translateY(-4px); }
.carte-pole__tete { position: relative; background: var(--pole-fond); padding: 30px 26px; min-height: 150px; display: flex; align-items: center; overflow: hidden; }
.carte-pole__tete::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--pole-accent); }
.carte-pole__tete img { width: 190px; position: relative; z-index: 1; }
.carte-pole__tete .filigrane-carte { position: absolute; right: -30px; bottom: -40px; width: 170px; opacity: .1; }
.carte-pole__corps { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.carte-pole h3 { font-size: 1.18rem; margin-bottom: .45em; }
.carte-pole p { color: var(--gris-texte); font-size: .96rem; flex: 1; }
.carte-pole .mots { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; }
.carte-pole .mots li { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--perle); color: var(--anthracite); }
.carte-pole .lien-fleche::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.carte-pole .lien-fleche:focus-visible { outline: none; }
.carte-pole:has(.lien-fleche:focus-visible) { outline: 3px solid var(--or); outline-offset: 3px; }

/* Secteurs (6 activités) */
.secteur { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 26px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); }
.secteur__icone, .domaine__icone { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--pole) 10%, white); color: var(--pole); }
.secteur__icone svg, .domaine__icone svg { width: 26px; height: 26px; }
.secteur h3 { font-size: 1.06rem; margin-bottom: .3em; }
.secteur p { color: var(--gris-texte); font-size: .94rem; margin: 0 0 8px; }
.secteur a { font-size: .88rem; font-weight: 600; color: var(--pole); }

/* Valeurs numérotées */
.valeur { padding-top: 24px; border-top: 2px solid var(--ligne); position: relative; }
.valeur::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--or); }
.valeur__num { font-family: var(--font-titre); font-weight: 800; font-size: .9rem; color: var(--or-texte); letter-spacing: .12em; margin-bottom: 14px; display: block; }
.valeur p { color: var(--gris-texte); margin-bottom: 0; }
.section--sombre .valeur { border-top-color: rgba(255, 255, 255, .2); }
.section--sombre .valeur__num { color: var(--or-clair); }
.section--sombre .valeur p { color: rgba(255, 255, 255, .82); }

/* Étapes */
.etapes { counter-reset: etape; list-style: none; padding: 0; margin: 0; display: grid; gap: 32px; }
@media (min-width: 768px) { .etapes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .etapes { grid-template-columns: repeat(4, 1fr); } }
.etapes li { counter-increment: etape; position: relative; padding-top: 60px; }
.etapes li::before { content: counter(etape, decimal-leading-zero); position: absolute; top: 0; left: 0; font-family: var(--font-titre); font-weight: 800; font-size: 2.1rem; color: var(--pole); line-height: 1; }
.etapes li::after { content: ""; position: absolute; top: 46px; left: 0; width: 44px; height: 2px; background: var(--pole-accent); }
.section--sombre .etapes li::before { color: var(--or-clair); }
.etapes h3 { font-size: 1.08rem; }
.etapes p { color: var(--gris-texte); margin: 0; font-size: .97rem; }
.section--sombre .etapes p { color: rgba(255, 255, 255, .8); }

/* Domaines d'un pôle */
.domaine { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 28px 26px; transition: border-color .2s; }
.domaine:hover { border-color: var(--pole); }
.domaine__icone { margin-bottom: 18px; }
.domaine h3 { margin-bottom: .4em; }
.domaine p { color: var(--gris-texte); margin: 0; font-size: .97rem; }

.liste-or { list-style: none; padding: 0; margin: 0 0 1.4em; }
.liste-or li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.liste-or li::before { content: ""; position: absolute; left: 0; top: .78em; width: 14px; height: 2px; background: var(--or); }
.section--sombre .liste-or li { color: rgba(255, 255, 255, .88); }

/* Panneau graphique (remplace une photo) */
.panneau { position: relative; aspect-ratio: 4 / 3; border-radius: var(--rayon); overflow: hidden; background: var(--pole-fond); display: grid; place-items: center; }
.panneau::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 40px 40px; }
.panneau::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(217, 185, 122, .5); border-radius: 3px; }
.panneau img, .panneau svg { position: relative; width: 38%; z-index: 1; }
.panneau--photo { background: var(--perle); }
.panneau--photo::before, .panneau--photo::after { display: none; }
.panneau--photo img { width: 100%; height: 100%; object-fit: cover; }

/* Sens du nom */
.carte-nom { padding: 34px 28px; border-top: 3px solid var(--or); background: var(--blanc); border-radius: 0 0 var(--rayon) var(--rayon); box-shadow: 0 1px 2px rgba(42, 46, 51, .05); }
.carte-nom h3 { font-size: 1.7rem; font-weight: 800; color: var(--emeraude); margin-bottom: .2em; }
.carte-nom .sens { font-family: var(--font-titre); font-weight: 700; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--or-texte); margin-bottom: 14px; }
.carte-nom p:last-child { margin-bottom: 0; color: var(--gris-texte); }

/* Architecture de marque */
.architecture { text-align: center; }
.architecture__mere { width: 260px; margin: 0 auto 10px; }
.architecture__tige { width: 2px; height: 40px; background: var(--or); margin: 0 auto; }
.architecture__poles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 2px solid var(--or); padding-top: 30px; }
.architecture__poles a { display: block; padding: 20px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); transition: box-shadow .2s; }
.architecture__poles a:hover { box-shadow: var(--ombre); }
.architecture__poles img { width: 170px; margin: 0 auto; }

/* Fiche d'identité (légal) */
.fiche { background: var(--blanc); border: 1px solid var(--ligne); border-left: 4px solid var(--or); border-radius: var(--rayon); padding: 28px 30px; }
.fiche dl { display: grid; grid-template-columns: minmax(120px, 170px) 1fr; gap: 12px 20px; margin: 0; }
.fiche dt { font-weight: 600; color: var(--gris-texte); font-size: .92rem; }
.fiche dd { margin: 0; font-weight: 600; }
@media (max-width: 520px) { .fiche dl { grid-template-columns: 1fr; gap: 2px; } .fiche dd { margin-bottom: 12px; } }

.citation { position: relative; margin: 0; padding: 36px 32px; background: var(--emeraude); color: var(--blanc); border-radius: var(--rayon); }
.citation p { font-family: var(--font-titre); font-size: 1.25rem; font-weight: 500; line-height: 1.5; }
.citation footer { color: var(--or-clair); font-weight: 600; font-size: .95rem; }

/* Bandeau d'appel */
.bandeau { position: relative; background: var(--emeraude); color: var(--blanc); overflow: hidden; }
.bandeau .container { position: relative; display: grid; gap: 32px; padding-top: 80px; padding-bottom: 80px; align-items: center; }
@media (min-width: 960px) { .bandeau .container { grid-template-columns: 1.3fr 1fr; } .bandeau .boutons { justify-content: flex-end; } }
.bandeau h2 { color: var(--blanc); margin-bottom: .3em; }
.bandeau p { color: rgba(255, 255, 255, .86); margin: 0; }
.bandeau--pole { background: var(--pole-fond); }
.bandeau .filigrane { opacity: .07; left: -80px; right: auto; }

/* Questions fréquentes */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-family: var(--font-titre); font-weight: 700; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--or-texte); font-weight: 500; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--gris-texte); padding-bottom: 12px; }

/* 7. Contact ---------------------------------------------------------------- */
.contact-grille { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact-grille { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; } }
.coordonnees { list-style: none; padding: 0; margin: 0 0 28px; }
.coordonnees li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--ligne); align-items: center; }
.coordonnees .icone { width: 46px; height: 46px; border-radius: 50%; background: var(--perle); display: grid; place-items: center; color: var(--emeraude); }
.coordonnees .icone svg { width: 20px; height: 20px; }
.coordonnees .libelle { display: block; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris-texte); font-weight: 600; margin-bottom: 2px; }
.coordonnees a, .coordonnees .valeur-coord { font-family: var(--font-titre); font-weight: 700; font-size: 1.04rem; color: var(--anthracite); word-break: break-word; }

.carte-maps { position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: 360px; border-radius: var(--rayon); overflow: hidden; background: var(--perle); border: 1px solid var(--ligne); }
.carte-maps iframe { width: 100%; height: 100%; border: 0; }
.carte-maps__invite { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; background-image: linear-gradient(rgba(11, 79, 60, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 79, 60, .05) 1px, transparent 1px); background-size: 28px 28px; }
.carte-maps__invite p { color: var(--gris-texte); font-size: .9rem; max-width: 30ch; margin: 12px auto 16px; }
.carte-maps__pin { display: block; width: 44px; height: 44px; margin: 0 auto; color: var(--emeraude); }
.carte-maps__pin svg { width: 100%; height: 100%; }

.formulaire { background: var(--blanc); border: 1px solid var(--ligne); border-top: 4px solid var(--emeraude); border-radius: var(--rayon); padding: 28px 22px; box-shadow: var(--ombre); }
@media (min-width: 768px) { .formulaire { padding: 44px; } }
.champs { display: grid; gap: 20px; }
@media (min-width: 640px) { .champs { grid-template-columns: 1fr 1fr; } .champ--large { grid-column: 1 / -1; } }
.champ label, .champ legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; padding: 0; }
.champ fieldset { border: 0; margin: 0; padding: 0; }
.obligatoire { color: #A3341F; }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: 400 1rem var(--font-texte); color: var(--anthracite); background: var(--blanc); border: 1px solid #A9AEA6; border-radius: var(--rayon); }
.champ textarea { min-height: 160px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 3px solid rgba(184, 138, 62, .4); border-color: var(--emeraude); outline-offset: 0; }
.champ input[aria-invalid="true"], .champ textarea[aria-invalid="true"] { border-color: #A3341F; }
.puces-choix { display: flex; flex-wrap: wrap; gap: 8px; }
.puces-choix label { position: relative; margin: 0; font-weight: 500; }
.puces-choix input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.puces-choix span { display: inline-block; padding: 9px 16px; border: 1px solid #A9AEA6; border-radius: 99px; cursor: pointer; font-size: .92rem; transition: background .15s, border-color .15s, color .15s; }
.puces-choix input:checked + span { background: var(--emeraude); border-color: var(--emeraude); color: var(--blanc); }
.puces-choix input:focus-visible + span { outline: 3px solid var(--or); outline-offset: 2px; }
.consentement { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .9rem; color: var(--gris-texte); margin: 22px 0; }
.consentement input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--emeraude); }
.pot-de-miel { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-statut { margin: 18px 0 0; padding: 0; font-weight: 600; }
.form-statut:empty { display: none; }
.form-statut.ok { padding: 18px 20px; border-radius: var(--rayon); background: #E8F3EC; color: #145A33; border: 1px solid #B9DCC6; }
.form-statut.erreur { padding: 18px 20px; border-radius: var(--rayon); background: #FBECEA; color: #8A2A1C; border: 1px solid #EBC3BC; }
.btn[disabled] { opacity: .7; cursor: wait; }

/* 8. Pied de page ------------------------------------------------------------ */
.site-footer { background: #1F2327; color: rgba(255, 255, 255, .78); font-size: .95rem; }
.site-footer .container { padding-top: 76px; }
.footer-grille { display: grid; gap: 40px; padding-bottom: 52px; }
@media (min-width: 768px) { .footer-grille { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer-grille { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer-logo img { width: 210px; margin-bottom: 22px; }
.site-footer h2 { font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; color: var(--or-clair); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--blanc); text-decoration: none; }
.site-footer a:hover { color: var(--or-clair); text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-bas { border-top: 1px solid rgba(255, 255, 255, .14); padding: 22px 0 30px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: .84rem; color: rgba(255, 255, 255, .66); }
.footer-bas p { margin: 0; }

.whatsapp-flottant { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #1F8F4E; color: var(--blanc); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .2s; }
.whatsapp-flottant:hover { transform: scale(1.06); color: var(--blanc); }
.whatsapp-flottant svg { width: 30px; height: 30px; }

/* Pages simples (404, merci, mentions) */
.page-centree { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.page-centree .boutons { justify-content: center; }
.page-centree .grand { font-family: var(--font-titre); font-weight: 800; font-size: clamp(5rem, 18vw, 9rem); line-height: 1; color: var(--emeraude); }
.page-centree .grand span { color: var(--or); }
.page-centree .symbole-merci { width: 96px; margin: 0 auto 28px; }
.texte-long { max-width: 800px; }
.texte-long h2 { font-size: 1.4rem; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--ligne); }
.texte-long h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.texte-long dl { display: grid; grid-template-columns: minmax(140px, 230px) 1fr; gap: 10px 20px; margin: 0; }
.texte-long dt { font-weight: 600; }
.texte-long dd { margin: 0; }
@media (max-width: 560px) { .texte-long dl { grid-template-columns: 1fr; } .texte-long dd { margin-bottom: 8px; } }

/* 9. Animations et préférences ---------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .bandeau, .carte-maps, .formulaire, .whatsapp-flottant { display: none !important; }
  body { color: #000; }
}
@media (max-width: 959px) {
  .embleme { max-width: 290px; }
  .deux-colonnes > .reveal:has(> .panneau) { display: none; }
}

/* ==========================================================================
   10. Motion : animations du site (version 3)
   Toutes les animations s'arrêtent si le visiteur a demandé « réduire les
   animations », et ne tournent que lorsque l'élément est visible (.en-vue).
   ========================================================================== */

/* Barre de progression de lecture (or) */
.progression { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--or); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Fondu d'arrivée de page */
@keyframes arrivee { from { opacity: 0; } to { opacity: 1; } }
.js main { animation: arrivee .5s ease-out both; }

/* --- Héros d'accueil ---------------------------------------------------- */
.js .mot { display: inline-block; opacity: 0; transform: translateY(.45em); animation: mot-monte .8s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(.15s + var(--i) * .09s); }
@keyframes mot-monte { to { opacity: 1; transform: none; } }
.js .heros .chapo, .js .heros .boutons, .js .heros__preuves { opacity: 0; animation: mot-monte .8s ease-out forwards; transform: translateY(14px); }
.js .heros .chapo { animation-delay: .65s; }
.js .heros .boutons { animation-delay: .8s; }
.js .heros__preuves { animation-delay: .95s; }

/* Monogramme qui se dessine puis se remplit */
.dessin path { stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .dessin path { stroke-dashoffset: 1; fill-opacity: 0; animation: trace 1.6s .3s cubic-bezier(.6, 0, .2, 1) forwards, remplit .8s 1.6s ease forwards; }
.js .dessin path + path { animation-delay: .7s, 1.9s; }
.js .dessin path { animation-play-state: paused; }
.js .dessin.en-vue path { animation-play-state: running; }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes remplit { to { fill-opacity: 1; } }

/* Satellite or qui tourne autour de l'emblème + respiration des anneaux */
.embleme__orbite { position: absolute; inset: 0; animation: tourne 14s linear infinite; }
.embleme__orbite::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--or-clair); box-shadow: 0 0 0 6px rgba(217, 185, 122, .18), 0 0 24px 4px rgba(217, 185, 122, .55); }
.embleme__orbite--2 { inset: 9%; animation-duration: 22s; animation-direction: reverse; }
.embleme__orbite--2::before { width: 7px; height: 7px; margin-left: -3.5px; top: -3.5px; background: #fff; box-shadow: 0 0 16px 3px rgba(255, 255, 255, .5); }
.embleme__cadre { animation: respire 6s ease-in-out infinite; }
@keyframes respire { 50% { transform: scale(1.03); opacity: .7; } }
.embleme__point { animation: pulse 2.8s ease-in-out infinite; }
.embleme__point--btp { animation-delay: .7s; } .embleme__point--tech { animation-delay: 1.4s; } .embleme__point--negoce { animation-delay: 2.1s; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 255, 255, .12); } }

/* Lueur qui traverse le héros */
.heros::after { content: ""; position: absolute; width: 60vmax; height: 60vmax; right: -20vmax; top: -30vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(217, 185, 122, .16), transparent); animation: derive 18s ease-in-out infinite alternate; pointer-events: none; }
@keyframes derive { to { transform: translate(-18vmax, 22vmax); } }

/* --- Bandeau défilant des secteurs ------------------------------------- */
.defile { background: var(--emeraude-fonce); color: rgba(255, 255, 255, .85); overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .08); }
.defile__piste { display: flex; width: max-content; animation: defile 38s linear infinite; }
.defile:hover .defile__piste { animation-play-state: paused; }
.defile ul { display: flex; list-style: none; margin: 0; padding: 18px 0; }
.defile li { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-titre); font-weight: 700; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.defile li::after { content: ""; width: 8px; height: 8px; background: var(--or); transform: rotate(45deg); }
@keyframes defile { to { transform: translateX(-50%); } }

/* --- Apparitions au défilement (décalées) ------------------------------ */
.js .reveal { transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal--gauche { transform: translateX(-28px); }
.js .reveal--droite { transform: translateX(28px); }
.js .reveal--zoom { transform: scale(.94); }
.js .reveal.is-visible { transform: none; }

/* Cartes : survol vivant */
.carte-pole__tete img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.carte-pole:hover .carte-pole__tete img { transform: translateX(6px) scale(1.03); }
.carte-pole__tete::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .18) 45%, transparent 60%); transform: translateX(-100%); transition: transform .9s ease; z-index: 1; pointer-events: none; }
.carte-pole:hover .carte-pole__tete::before { transform: translateX(100%); }
.carte-pole__tete .illus { position: absolute; right: -24px; bottom: -18px; width: 62%; opacity: .28; transition: opacity .4s; }
.carte-pole:hover .carte-pole__tete .illus { opacity: .5; }
.secteur, .domaine { transition: transform .3s, box-shadow .3s, border-color .3s; }
.secteur:hover, .domaine:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.secteur__icone, .domaine__icone { transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.secteur:hover .secteur__icone, .domaine:hover .domaine__icone { transform: rotate(-8deg) scale(1.1); }
.btn--or, .btn--primaire { position: relative; overflow: hidden; }
.btn--or::after, .btn--primaire::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s; }
.btn--or:hover::after, .btn--primaire:hover::after { transform: translateX(120%); }

/* Étapes : le trait or se dessine */
.etapes li::after { transform-origin: 0 50%; transform: scaleX(0); transition: transform .8s cubic-bezier(.6, 0, .2, 1); transition-delay: calc(.3s + var(--i, 0) * .15s); }
.etapes.is-visible li::after, html:not(.js) .etapes li::after { transform: scaleX(1); }

/* --- Panneaux et héros de pôle avec illustration ------------------------ */
.panneau .illus { width: 86%; z-index: 1; }
.heros-pole__grille { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .heros-pole__grille { grid-template-columns: 1.1fr .9fr; } }
.heros-pole__illus { position: relative; }
.heros-pole__illus .illus { width: 100%; max-width: 480px; margin-left: auto; }
@media (max-width: 959px) { .heros-pole__illus { max-width: 380px; } }

/* --- Illustrations : animations ------------------------------------------ */
.js .illus * { animation-play-state: paused; }
.js .en-vue .illus *, .js .illus.en-vue * { animation-play-state: running; }
.ill-trace { stroke-dasharray: 1; animation: trace-boucle 2.4s var(--d, 0s) ease-out both; }
@keyframes trace-boucle { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
/* Agro */
.ill-pousse { animation: pousse 7s var(--d, 0s) cubic-bezier(.3, 1.3, .5, 1) infinite; }
@keyframes pousse { 0% { transform: scaleY(0); opacity: 0; } 18% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(1) rotate(2deg); } 70% { transform: scaleY(1) rotate(-2deg); } 92% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 1; } }
.ill-rayons { transform-origin: 318px 70px; animation: tourne 16s linear infinite; }
.ill-soleil { animation: flotte 5s ease-in-out infinite; }
@keyframes flotte { 50% { transform: translateY(-8px); } }
.ill-oiseau { animation: vole 12s linear infinite; }
@keyframes vole { from { transform: translate(-80px, 20px); } to { transform: translate(420px, -30px); } }
/* BTP */
.ill-chariot { animation: chariot 8s ease-in-out infinite; }
@keyframes chariot { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-120px); } }
.ill-crochet { transform-origin: 291px 66px; animation: balance 3s ease-in-out infinite; }
@keyframes balance { 0%, 100% { transform: rotate(4deg); } 50% { transform: rotate(-4deg); } }
.ill-etage { animation: etage 9s var(--d, 0s) cubic-bezier(.3, 1.4, .5, 1) infinite; }
@keyframes etage { 0% { transform: translateY(-60px); opacity: 0; } 12% { transform: none; opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; } }
/* Tech */
.ill-impulsion { stroke-dasharray: 14 100; stroke-dashoffset: 114; animation: impulsion 3.6s var(--d, 0s) linear infinite; }
@keyframes impulsion { to { stroke-dashoffset: 0; } }
.ill-noeud { animation: clignote 3.6s var(--d, 0s) ease-in-out infinite; }
@keyframes clignote { 0%, 100% { fill: #fff; } 8% { fill: #D9B97A; transform-box: fill-box; transform-origin: center; transform: scale(1.6); } 20% { transform: none; } }
.ill-puce { transform-box: fill-box; transform-origin: center; animation: battement 2.4s ease-in-out infinite; }
@keyframes battement { 50% { transform: scale(1.04); } }
/* Négoce */
.ill-globe { transform-box: fill-box; transform-origin: center; animation: flotte 7s ease-in-out infinite; }
.ill-route { stroke-dasharray: 100; stroke-dashoffset: 100; animation: route 4.8s var(--d, 0s) ease-in-out infinite; }
@keyframes route { 0% { stroke-dashoffset: 100; } 45%, 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
.ill-onde { transform-box: fill-box; transform-origin: center; animation: onde 2.4s var(--d, 0s) ease-out infinite; }
@keyframes onde { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }
.ill-navire { animation: navire 14s linear infinite; }
@keyframes navire { 0% { transform: translate(-90px, 0); } 25% { transform: translate(60px, -3px); } 50% { transform: translate(210px, 0); } 75% { transform: translate(360px, -3px); } 100% { transform: translate(480px, 0); } }
.ill-vagues { animation: vagues 3s linear infinite; }
@keyframes vagues { to { transform: translateX(40px); } }

/* --- Mouvement réduit : tout s'arrête, état final visible --------------- */
@media (prefers-reduced-motion: reduce) {
  .js .mot, .js .heros .chapo, .js .heros .boutons, .js .heros__preuves { opacity: 1; transform: none; }
  .js .dessin path { stroke-dashoffset: 0; fill-opacity: 1; }
  .defile__piste { flex-wrap: wrap; width: auto; }
  .defile__piste ul + ul { display: none; }
  .etapes li::after { transform: scaleX(1); }
  .ill-trace, .ill-route { stroke-dashoffset: 0; }
  .ill-impulsion { stroke-dasharray: none; stroke-dashoffset: 0; opacity: .5; }
  .heros::after, .embleme__orbite { display: none; }
}

/* --- Valoris Studio (pôle Tech) ------------------------------------------ */
.studio-lien { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: .9rem; font-weight: 600; text-decoration: none; transition: background .3s; }
.studio-lien:hover { background: rgba(255, 255, 255, .18); }
.studio-lien span { padding: 3px 10px; border-radius: 999px; background: var(--or-clair); color: #0E2A5C; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.studio { background: linear-gradient(135deg, #0E2A5C 0%, var(--pole-fond, #1A4A9C) 60%, #0E2A5C 100%); color: rgba(255, 255, 255, .86); position: relative; overflow: hidden; }
.studio::before { content: ""; position: absolute; width: 50vmax; height: 50vmax; left: -15vmax; bottom: -25vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(34, 163, 196, .28), transparent); pointer-events: none; }
.studio .container { position: relative; }
.studio h2, .studio h3 { color: #fff; }
.studio .surtitre { color: var(--or-clair); }
.studio__grille { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .studio__grille { grid-template-columns: 1.25fr .75fr; } }
.studio__marque { display: inline-flex; align-items: baseline; gap: 6px; margin: 0 0 20px; font-family: var(--font-titre); color: #fff; }
.studio__marque span { font-weight: 800; font-size: 1.5rem; letter-spacing: .12em; }
.studio__marque i { width: 9px; height: 9px; background: var(--or-clair); align-self: center; transform: rotate(45deg); }
.studio__marque em { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 1.5rem; color: var(--or-clair); }
.studio__accroche { font-family: var(--font-titre); font-size: clamp(1.2rem, 2.4vw, 1.55rem); font-weight: 700; color: var(--or-clair); margin: 0 0 14px; }
.studio__etapes { list-style: none; counter-reset: st; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.studio__etapes li { counter-increment: st; position: relative; padding-left: 46px; }
.studio__etapes li::before { content: counter(st); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--or-clair); color: var(--or-clair); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.studio__etapes strong { color: #fff; }
.studio__devis { font-size: .9rem; opacity: .75; margin-top: 14px; }
.studio__visuel { display: flex; justify-content: center; }
.studio__ecran { width: 100%; max-width: 250px; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.studio__services { margin-top: 56px; }
@media (min-width: 640px) { .grille--5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grille--5 { grid-template-columns: repeat(5, 1fr); } }
.studio__service { padding: 24px 20px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: transform .3s, background .3s, border-color .3s; }
.studio__service:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .1); border-color: rgba(217, 185, 122, .5); }
.studio__service h3 { font-size: 1.02rem; margin: 10px 0 8px; }
.studio__service p { font-size: .92rem; margin: 0; }
.studio__num { font-family: var(--font-titre); font-weight: 800; color: var(--or-clair); font-size: .85rem; letter-spacing: .1em; }
/* Story animée */
.st-barre:not([fill]) { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); animation: st-barre 9.6s var(--d, 0s) linear infinite; }
@keyframes st-barre { 0% { transform: scaleX(0); } 25%, 100% { transform: scaleX(1); } }
.st-cercle { transform-box: fill-box; transform-origin: center; animation: st-cercle 2.4s ease-out infinite; }
@keyframes st-cercle { from { transform: scale(.85); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
.st-produit { transform-box: fill-box; transform-origin: center; animation: st-produit 4.8s cubic-bezier(.3, 1.4, .5, 1) infinite; }
@keyframes st-produit { 0% { transform: translateY(30px) scale(.8); opacity: 0; } 15%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.st-badge { transform-box: fill-box; transform-origin: center; animation: st-badge 4.8s ease-in-out infinite; }
@keyframes st-badge { 0%, 20% { transform: scale(0) rotate(-30deg); } 30% { transform: scale(1.2) rotate(8deg); } 36%, 85% { transform: scale(1) rotate(0); } 100% { transform: scale(0); } }
.st-ligne { transform-box: fill-box; transform-origin: 50% 50%; animation: st-ligne 4.8s ease-out infinite; }
.st-ligne--2 { animation-delay: .15s; }
@keyframes st-ligne { 0%, 25% { transform: scaleX(0); } 40%, 88% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.st-bouton { transform-box: fill-box; transform-origin: center; animation: st-bouton 1.6s ease-in-out infinite; }
@keyframes st-bouton { 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .studio__ecran * { animation: none !important; transform: none !important; opacity: 1 !important; } }
