/*
Theme Name: SOLUTOX
Theme URI: https://www.solutox.com
Author: SOLUTOX
Description: Thème bloc sur mesure pour SOLUTOX, consultants informatique. Dessiné en maquette HTML puis converti en blocs natifs : tout le contenu se modifie dans l'éditeur.
Version: 1.0.7
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
License: Propriétaire
Text Domain: solutox
Tags: block-theme, full-site-editing, business
*/

/* =========================================================
   SOLUTOX — maquette (phase 2)
   Référence : Techneo (brief/fournies/4.webp)
   Palette prélevée sur la référence ; fond blanc et accent chrome à la demande du client
   ========================================================= */
:root {
  --fond: #FFFFFF;        /* fond du site (demande client) */
  --fond-2: #F4F4F7;      /* sections alternées, accroche */
  --sombre: #0F0F1A;      /* menu, surtitres, badges */
  --pilule: #2A2834;
  /* accent gris chrome (demande client : remplacer le vert fluo) */
  --metal: #B4BAC2;
  --metal-clair: #DDE0E4;
  --metal-fonce: #7C838C;
  --chrome: linear-gradient(135deg, #F7F8FA 0%, #CDD1D6 24%, #9EA4AC 48%, #E2E5E8 70%, #A9AFB6 100%);
  --chrome-bande: linear-gradient(180deg, #F3F4F6 0%, #D4D7DB 38%, #B2B7BE 52%, #DADDE1 78%, #C2C6CC 100%);
  --relief: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 0 rgba(0, 0, 0, .12);
  --gris: #6B6B76;        /* texte secondaire */
  --gris-clair: #A2A2AC;  /* partie atténuée de la déclaration */
  --trait: #E4E4EA;       /* filets */
  --blanc: #FFFFFF;
  --encre: #0A0A0F;       /* texte */
  --police: "Urbanist", system-ui, sans-serif;
  --largeur: 1240px;
  --gouttiere: 32px;
  --rayon: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--police);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; hyphens: none; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

.enveloppe { width: 100%; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin: 0 auto; padding: 0 var(--gouttiere); }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--chrome); color: var(--encre); border: 1px solid #8F959D; box-shadow: var(--relief);
  font-weight: 600; font-size: 18px; line-height: 1;
  padding: 9px 9px 9px 26px; border-radius: 999px;
  transition: translate .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.bouton:hover { translate: 0 -2px; }
.bouton-fleche {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--encre); color: var(--blanc);
  display: grid; place-items: center; flex: none;
}
.bouton-fleche svg { width: 18px; height: 18px; }
.bouton-anneau { box-shadow: var(--relief), 0 0 0 5px rgba(158, 164, 172, .16), 0 0 0 6px rgba(124, 131, 140, .4); }
.bouton-moyen { font-size: 16px; padding: 7px 7px 7px 22px; gap: 12px; }
.bouton-moyen .bouton-fleche { width: 32px; height: 32px; }
.bouton-moyen .bouton-fleche svg { width: 15px; height: 15px; }
.bouton-petit { font-size: 15px; padding: 6px 6px 6px 20px; gap: 10px; }
.bouton-petit .bouton-fleche { width: 30px; height: 30px; }
.bouton-petit .bouton-fleche svg { width: 14px; height: 14px; }

/* ---------- Surtitres et titres de section ---------- */
.surtitre {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--sombre); color: #e6e6ec;
  font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 6px;
}
.surtitre svg { width: 13px; height: 13px; color: var(--metal-clair); }
.titre-section { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -.015em; margin-top: 16px; }
.tete-section { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }

/* ---------- En-tête ---------- */
.entete { position: absolute; inset: 0 0 auto 0; z-index: 20; padding-top: 22px; }
.entete-rang { display: flex; align-items: center; gap: 32px; }
.marque { display: inline-flex; align-items: center; flex: none; }
.marque-logo { height: 150px; width: auto; }
.marque-logo-slogan { height: 120px; width: auto; }
.menu {
  margin-left: auto; display: flex; gap: 6px;
  background: var(--sombre); border: 1px solid var(--sombre);
  box-shadow: 0 10px 30px rgba(15, 15, 26, .12);
  padding: 6px; border-radius: 999px;
}
.menu a { padding: 10px 22px; border-radius: 999px; font-size: 16px; font-weight: 500; color: #e6e6ec; transition: background .2s, color .2s; }
.menu a:hover { background: rgba(255, 255, 255, .07); }
.menu a[aria-current="page"] { background: var(--chrome); color: var(--encre); box-shadow: var(--relief); }
.entete-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.entete-icone { width: 26px; height: 26px; color: var(--encre); display: grid; place-items: center; }
.entete-icone svg { width: 24px; height: 24px; }
.bascule-menu { display: none; }

/* ---------- Accroche ---------- */
.accroche {
  position: relative; overflow: hidden;
  min-height: min(100vh, 920px);
  background: var(--fond-2);
  display: flex; align-items: stretch;
}
.accroche-plis {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 32% 55% at 80% 52%, rgba(255, 255, 255, .85), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, var(--fond) 100%),
    repeating-linear-gradient(90deg, #e9e9ee 0px, #fbfbfc 26px, #e9e9ee 54px);
}
.accroche-grille {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.12fr 1fr; align-items: center;
  padding-top: 196px;
}
.accroche-texte { padding-bottom: 90px; }

.preuve { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.preuve-visages { display: flex; }
.preuve-visages span {
  width: 46px; height: 46px; border-radius: 50%; margin-left: -12px;
  background: var(--sombre); border: 2px solid var(--fond-2);
  display: grid; place-items: center; color: var(--metal-clair);
}
.preuve-visages span:first-child { margin-left: 0; }
.preuve-visages svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.preuve-texte { display: flex; flex-direction: column; line-height: 1.25; }
.preuve-haut { color: var(--encre); font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.preuve-bas { color: var(--gris); font-size: 15px; }

.titre-accroche {
  font-size: clamp(46px, 5.6vw, 84px);
  font-weight: 800; line-height: 1.04; letter-spacing: -.025em;
  text-transform: uppercase; color: var(--encre);
}
.titre-accroche .ligne { display: flex; align-items: center; gap: .22em; white-space: nowrap; }
.titre-accroche .ligne + .ligne { margin-top: .2em; }
.pastille-fleche {
  width: .9em; height: .9em; border-radius: 50%; background: var(--chrome); color: var(--encre); border: 1px solid #8F959D; box-shadow: var(--relief);
  display: inline-grid; place-items: center; flex: none;
}
.pastille-fleche svg { width: .5em; height: .5em; }
.pilule-holo {
  width: 1.8em; height: .86em; border-radius: 999px; flex: none; padding: 4px;
  background: linear-gradient(90deg, #ff7ad9, #8f7bff 45%, #3fd6ff);
  box-shadow: 0 0 24px rgba(143, 123, 255, .45);
}
.pilule-holo img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px; }
/* le chrome sert de fond au mot encadré */
.mot-cadre { position: relative; color: var(--encre); background: var(--chrome); padding: .04em .14em; border: 2px solid var(--encre); line-height: 1; }
.mot-cadre i { position: absolute; width: 11px; height: 11px; background: var(--blanc); border: 2px solid var(--encre); }
.mot-cadre i:nth-of-type(1) { left: -6px; top: -6px; }
.mot-cadre i:nth-of-type(2) { right: -6px; top: -6px; }
.mot-cadre i:nth-of-type(3) { left: -6px; bottom: -6px; }
.mot-cadre i:nth-of-type(4) { right: -6px; bottom: -6px; }
.titre-accroche + .bouton { margin-top: 46px; }

.accroche-visuel { position: relative; align-self: stretch; min-height: 640px; z-index: 3; }
.arcs { position: absolute; right: 0; bottom: 0; width: 760px; height: 100%; z-index: 1; }
.arcs path { fill: none; stroke: rgba(10, 10, 15, .45); stroke-width: 2; }
/* le portrait colle au bord droit de la fenêtre : la photo d'origine est coupée à l'épaule */
.portrait {
  position: absolute; z-index: 2; bottom: 0; right: 0;
  height: 80%; max-height: 720px; width: auto; max-width: none;
  -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 98%), linear-gradient(90deg, transparent 0, #000 22%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(180deg, #000 74%, transparent 98%), linear-gradient(90deg, transparent 0, #000 22%);
          mask-composite: intersect;
}
.carte-flottante {
  position: absolute; z-index: 3;
  background: var(--blanc); color: #14141c; border-radius: 12px;
  border: 1px solid #ececf1; box-shadow: 0 18px 40px rgba(15, 15, 26, .14);
}
.carte-courbe { top: 18%; left: 7%; width: 236px; padding: 14px 16px 12px; }
.cf-etiquette { font-size: 11.5px; color: #6c6c78; font-weight: 600; }
.cf-rang { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 2px; }
.cf-chiffre { display: block; font-size: 28px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.cf-hausse { font-size: 11px; color: #2fb36b; font-weight: 700; }
.cf-courbe { width: 100px; height: 40px; }
.carte-barres { bottom: 9%; left: -5%; width: 330px; padding: 14px; display: flex; gap: 14px; align-items: center; }
.cb-liste { flex: 1; display: grid; gap: 10px; }
.cb-item { display: grid; grid-template-columns: 1fr auto; font-size: 11.5px; font-weight: 600; row-gap: 5px; }
.cb-item em { font-style: normal; color: #6c6c78; }
.cb-item b { grid-column: 1 / -1; height: 5px; border-radius: 9px; background: #e8ebf3; position: relative; overflow: hidden; }
.cb-item b::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 9px; background: linear-gradient(90deg, #2b5cff, #22c3c6); }
.cb-image { width: 104px; height: 88px; object-fit: cover; border-radius: 8px; }

/* ---------- Bandeau défilant ---------- */
.bandeau { background: var(--chrome-bande); border-top: 1px solid #9EA4AC; border-bottom: 1px solid #9EA4AC; color: var(--encre); overflow: hidden; position: relative; z-index: 5; }
.bandeau-piste { display: flex; width: max-content; animation: defile 46s linear infinite; }
.bandeau-inverse .bandeau-piste { animation-direction: reverse; }
.bandeau-liste { display: flex; align-items: center; gap: 30px; padding: 22px 15px; }
.bandeau-liste li { font-size: clamp(26px, 2.8vw, 40px); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; white-space: nowrap; line-height: 1; }
.sym-logo { flex: none; }
.sym-logo img { height: 64px; width: auto; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Déclaration ---------- */
.declaration { position: relative; padding: 170px 0 180px; overflow: hidden; }
.declaration-centre { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.badge-tournant {
  position: relative; width: 132px; height: 132px; border-radius: 50%;
  background: var(--sombre); border: 1px solid var(--sombre);
  display: grid; place-items: center; margin-bottom: 42px;
  box-shadow: 0 0 0 10px rgba(15, 15, 26, .06);
}
.badge-texte { position: absolute; inset: 0; width: 100%; height: 100%; animation: tourne 22s linear infinite; }
.badge-texte text { fill: #e6e6ec; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; font-family: var(--police); }
.badge-fleche { width: 30px; height: 30px; color: var(--blanc); }
@keyframes tourne { to { transform: rotate(360deg); } }
.texte-declaration { max-width: 720px; font-size: clamp(26px, 2.75vw, 40px); font-weight: 700; line-height: 1.28; letter-spacing: -.015em; text-wrap: balance; }
.attenue { color: var(--gris-clair); }
.texte-declaration + .bouton { margin-top: 46px; }

.collage { position: absolute; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 40px rgba(15, 15, 26, .16); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage-1 { width: 220px; height: 250px; left: 9%; top: 15%; z-index: 1; }
.collage-2 { width: 220px; height: 205px; left: 2.5%; top: 41%; z-index: 2; }
.collage-3 { width: 255px; height: 165px; left: 13.5%; bottom: 10%; }
.collage-4 { width: 300px; height: 370px; right: 2.5%; top: 18%; z-index: 1; }
.collage-5 { width: 320px; height: 225px; right: 4%; bottom: 9%; z-index: 2; }

/* ---------- Expertises en action ---------- */
.expertises { padding: 120px 0 140px; background: var(--fond); }
.eventail { display: flex; align-items: center; justify-content: center; margin-top: 64px; }
.volet { position: relative; border-radius: 14px; overflow: hidden; flex: none; box-shadow: 0 24px 50px rgba(15, 15, 26, .22); }
.volet img { width: 100%; height: 100%; object-fit: cover; }
.volet-bord { width: 230px; height: 330px; z-index: 1; }
.volet-milieu { width: 250px; height: 390px; z-index: 2; margin: 0 -34px; }
.volet-centre { width: 390px; height: 460px; z-index: 3; border: 3px solid var(--metal); box-shadow: 0 0 0 6px rgba(158, 164, 172, .3), 0 30px 60px rgba(15, 15, 26, .3); }
.volet-bord::before, .volet-milieu::before { content: ""; position: absolute; inset: 0; background: rgba(2, 0, 14, .12); z-index: 1; }
.volet-centre img { object-position: center bottom; }
.volet-fleche {
  position: absolute; z-index: 2; top: 17%; left: 18%; transform: translate(-50%, -50%);
  width: 70px; height: 70px; border-radius: 50%; background: var(--chrome); color: var(--encre);
  display: grid; place-items: center; box-shadow: var(--relief), 0 0 0 10px rgba(255, 255, 255, .35);
}
.volet-fleche svg { width: 30px; height: 30px; }
.volet-legende {
  position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px;
  background: var(--blanc); color: #14141c; border-radius: 10px;
  padding: 16px 14px; text-align: center; display: grid; gap: 8px;
}
.volet-legende span { justify-self: center; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #f0f1f5; padding: 4px 10px; border-radius: 5px; }
.volet-legende strong { font-size: 18px; font-weight: 700; }

/* ---------- L'effet SOLUTOX ---------- */
.effet { background: var(--fond-2); padding: 130px 0; overflow: hidden; }
.effet-grille { display: grid; grid-template-columns: 330px 1fr 270px; gap: 80px; align-items: center; }
.effet-visuel { position: relative; }
.effet .titre-section { font-size: clamp(30px, 3vw, 44px); }
.effet-photo {
  position: relative; height: 470px; border-radius: 14px; overflow: hidden;
  background: var(--sombre);
}
.effet-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }
.effet-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 15, .6) 100%); }
/* la courbe déborde de la photo vers la droite, comme dans la référence */
.effet-ligne { position: absolute; left: -10px; bottom: 24px; width: calc(100% + 46px); height: auto; z-index: 2; filter: drop-shadow(0 4px 10px rgba(15, 15, 26, .25)); }
.paragraphe { color: var(--gris); font-size: 16.5px; margin-top: 18px; max-width: 460px; }
.coches { display: grid; grid-template-columns: repeat(2, max-content); gap: 14px 34px; margin: 28px 0 38px; }
.coches li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 600; color: var(--encre); }
.coches li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none;
  border: 1px solid #8F959D;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230A0A0F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat, var(--chrome);
}

.anneau-graphe { position: relative; width: 280px; height: 280px; justify-self: end; }
.anneau {
  width: 100%; height: 100%; border-radius: 50%;
  background: conic-gradient(#E4E7EA 0%, #A3A9B1 17%, #D3D6DA 35%, #2B2F35 35%, #4B5058 68%, #2B2F35 100%);
  /* deux masques : le trou central, et le balayage --tour qui dessine l'anneau */
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%), conic-gradient(#000 var(--tour), transparent 0);
  -webkit-mask-composite: source-in;
          mask: radial-gradient(circle, transparent 54%, #000 55%), conic-gradient(#000 var(--tour), transparent 0);
          mask-composite: intersect;
}
.anneau-etiquette {
  position: absolute; display: inline-flex; align-items: center; gap: 6px;
  background: var(--sombre); border: 1px solid var(--sombre); color: var(--blanc);
  padding: 7px 12px; border-radius: 8px; font-weight: 700; font-size: 16px;
}
.anneau-etiquette svg { width: 14px; height: 14px; color: var(--metal-clair); }
.anneau-etiquette small { color: #a9a9b3; font-weight: 500; font-size: 12.5px; margin-left: 2px; }
.anneau-haut { top: 4%; left: -22%; }
.anneau-bas { bottom: 18%; right: -16%; }

/* ---------- Mot du président ---------- */
.president { padding: 120px 0 140px; background: var(--fond); }
.badge-petit { width: 112px; height: 112px; margin: 0; }
.president-grille { display: grid; grid-template-columns: 460px 1fr; gap: 80px; align-items: center; margin-top: 60px; }
.orbite { position: relative; height: 340px; }
.orbite-anneau { position: absolute; left: 0; top: 0; width: 340px; height: 340px; border-radius: 50%; border: 2.5px solid var(--metal-fonce); }
.orbite-photo { position: absolute; left: 140px; top: 10px; width: 320px; height: 320px; border-radius: 50%; overflow: hidden; }
.orbite-photo img { width: 100%; height: 100%; object-fit: cover; }
.orbite-logo { background: var(--sombre); display: grid; place-items: center; box-shadow: 0 24px 50px rgba(15, 15, 26, .25); }
.orbite-logo img { width: 66%; height: auto; object-fit: contain; }
.orbite-guillemet {
  position: absolute; left: 92px; top: 124px; width: 92px; height: 92px; border-radius: 50%;
  background: var(--chrome); color: var(--encre); display: grid; place-items: center;
  border: 1px solid #8F959D; box-shadow: var(--relief), 0 10px 24px rgba(15, 15, 26, .2);
  z-index: 2;
}
.orbite-guillemet svg { width: 38%; height: auto;
}
.citations { display: grid; }
.citation { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease, visibility .45s; }
.citation.est-active { opacity: 1; visibility: visible; transform: none; }
.citation p { font-size: clamp(20px, 1.75vw, 25px); line-height: 1.5; font-weight: 500; color: var(--encre); }
.signature-rang { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; }
.signature { display: flex; align-items: center; gap: 14px; }
.signature img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 2px solid var(--metal); }
.signature strong { display: block; font-size: 18px; }
.signature span { color: var(--gris); font-size: 14.5px; }
.fleches-citation { display: flex; gap: 12px; }
.fleche-citation { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--sombre); color: var(--blanc); transition: background .2s, color .2s; }
.fleche-citation svg { width: 20px; height: 20px; }
.fleche-citation:hover, .fleche-prec { background: var(--chrome); color: var(--encre); box-shadow: var(--relief); }

/* ---------- Pied de page ---------- */
.pied { background: var(--fond-2); padding: 100px 0 36px; }
.pied-appel { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-bottom: 70px; border-bottom: 1px solid var(--trait); }
.pied-titre { font-size: clamp(34px, 4.2vw, 62px); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; max-width: 640px; }
.pied-appel-actions { display: flex; align-items: center; gap: 30px; }
.pied-tel { font-size: 26px; font-weight: 800; color: var(--encre); background: linear-gradient(transparent 60%, var(--metal-clair) 60%); padding: 0 4px; }
.pied-grille { display: grid; grid-template-columns: 1.4fr .8fr 1.1fr 1fr; gap: 48px; padding: 64px 0; }
.pied-marque p { color: var(--gris); margin-top: 20px; max-width: 330px; }
.pied-col { display: flex; flex-direction: column; gap: 10px; }
.pied-col h3 { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--encre); margin-bottom: 8px; padding-left: 10px; border-left: 4px solid var(--metal); }
.pied-col a, .pied-col span { color: #4a4a55; font-size: 15.5px; }
.pied-col a:hover { color: var(--encre); }
.pied-bas { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--trait); padding-top: 28px; color: var(--gris); font-size: 14px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .menu a { padding: 10px 14px; }
  .collage-1, .collage-2, .collage-3 { scale: .8; transform-origin: left center; }
  .collage-4, .collage-5 { scale: .8; transform-origin: right center; }
  .effet-grille { grid-template-columns: 300px 1fr; }
  .anneau-graphe { display: none; }
  .president-grille { grid-template-columns: 1fr; }
  .orbite { width: 460px; margin: 0 auto; }
}

@media (max-width: 900px) {
  :root { --gouttiere: 20px; }
  .entete { padding-top: 18px; }
  .menu {
    position: fixed; inset: 0; margin: 0; border-radius: 0; z-index: 30;
    flex-direction: column; justify-content: center; align-items: center; gap: 10px;
    background: rgba(2, 0, 14, .97); border: 0;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .menu a { font-size: 28px; font-weight: 700; }
  .menu-ouvert .menu { opacity: 1; visibility: visible; }
  .menu-ouvert .entete-icone { color: var(--blanc); }
  .entete-actions { position: relative; z-index: 40; gap: 14px; }
  .entete-actions .bouton { display: none; }
  .bascule-menu { display: grid; }
  .marque-logo { height: 84px; }
  .marque-logo-slogan { height: 100px; }

  .accroche { min-height: 0; }
  .accroche-grille { grid-template-columns: 1fr; padding-top: 118px; }
  .accroche-texte { padding-bottom: 20px; }
  .preuve { margin-bottom: 22px; }
  .titre-accroche { font-size: min(9.6vw, 64px); }
  .titre-accroche + .bouton { margin-top: 30px; }
  .accroche-visuel { min-height: 0; height: 470px; }
  .arcs { width: 520px; height: 470px; top: auto; }
  .portrait {
    height: 470px; max-height: none;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 98%), linear-gradient(90deg, transparent 0, #000 14%);
            mask-image: linear-gradient(180deg, #000 72%, transparent 98%), linear-gradient(90deg, transparent 0, #000 14%);
  }
  .carte-courbe { top: 47%; left: auto; right: 0; width: 170px; }
  .cf-courbe { width: 64px; }
  .carte-barres { left: 0; bottom: 6%; width: 240px; padding: 12px; }
  .cb-image { display: none; }

  .bandeau-liste { gap: 20px; padding: 20px 10px; }
  .sym-logo img { height: 44px; }

  .declaration { padding: 70px 0 60px; display: flex; flex-direction: column; }
  .collage { position: static; scale: 1 !important; width: auto; height: 160px; }
  .declaration { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding-left: var(--gouttiere); padding-right: var(--gouttiere); }
  .declaration-centre { grid-column: 1 / -1; grid-row: 1; padding: 0 0 40px; }
  .collage-1, .collage-2, .collage-3, .collage-4, .collage-5 { width: auto; height: 150px; }
  .collage-5 { grid-column: 1 / -1; height: 190px; }

  .tete-section { flex-direction: column; align-items: flex-start; }
  .expertises { padding: 80px 0; }
  .eventail { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin: 40px calc(-1 * var(--gouttiere)) 0; padding: 10px var(--gouttiere) 30px; gap: 14px; }
  .volet { scroll-snap-align: center; margin: 0 !important; }
  .volet-centre { order: -1; width: 300px; height: 380px; }
  .volet-bord, .volet-milieu { width: 220px; height: 320px; }

  .effet { padding: 80px 0; }
  .effet-grille { grid-template-columns: 1fr; gap: 40px; }
  .effet-photo { height: 360px; }
  .coches { grid-template-columns: 1fr; }

  .president { padding: 80px 0; }
  .badge-petit { display: none; }
  .president-grille { margin-top: 40px; gap: 40px; }
  .orbite { width: 100%; max-width: 350px; height: 260px; margin: 0; }
  .orbite-anneau { width: 250px; height: 250px; }
  .orbite-photo { left: 100px; width: 240px; height: 240px; top: 5px; }
  .orbite-guillemet { left: 66px; top: 90px; width: 70px; height: 70px; }
  .volet-centre img { object-position: center bottom; }
  .volet-legende { left: 12px; right: 12px; bottom: 12px; padding: 10px; gap: 6px; }
  .volet-legende strong { font-size: 15px; }

  .pied { padding-top: 70px; }
  .pied-appel { flex-direction: column; align-items: flex-start; }
  .pied-appel-actions { flex-wrap: wrap; gap: 18px; }
  .pied-grille { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .pied-marque { grid-column: 1 / -1; }
  .pied-bas { flex-direction: column; gap: 6px; }
}

@media (max-width: 420px) {
  .preuve-visages span:nth-child(n+4) { display: none; }
  .preuve-haut { white-space: nowrap; }
  .carte-courbe { display: none; }
  .carte-barres { bottom: 3%; }
  .bouton { font-size: 16px; padding-left: 20px; }
  .carte-barres { width: 225px; }
  .carte-courbe { width: 170px; padding: 10px 12px; }
  .cf-chiffre { font-size: 22px; }
}

/* =========================================================
   Pages intérieures (phase 3) — même système que l'accueil
   ========================================================= */
.page-entete { position: relative; overflow: hidden; background: var(--fond-2); padding: 214px 0 110px; }
.page-entete-grille { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.fil { display: flex; gap: 10px; font-size: 14px; font-weight: 600; color: var(--gris); margin-bottom: 24px; }
.fil a:hover, .fil [aria-current] { color: var(--encre); }
.titre-page { font-size: clamp(40px, 4.6vw, 70px); }
.page-intro { font-size: 18px; line-height: 1.6; color: var(--gris); max-width: 560px; margin-top: 30px; }
.page-intro + .bouton { margin-top: 38px; }
.page-entete-visuel { position: relative; }
.page-entete-photo { height: 520px; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(15, 15, 26, .18); }
.page-entete-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-entete-portrait img { object-position: center 30%; }
.carte-info { left: -48px; bottom: 44px; display: flex; align-items: center; gap: 14px; padding: 14px 22px 14px 14px; }
.carte-info-icone, .coordonnee-icone, .valeur-icone {
  border-radius: 50%; background: var(--sombre); color: var(--metal-clair);
  display: grid; place-items: center; flex: none;
}
.carte-info-icone { width: 48px; height: 48px; }
.carte-info-icone svg, .coordonnee-icone svg, .valeur-icone svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.carte-info-texte strong { display: block; font-size: 18px; line-height: 1.2; }
.carte-info-texte span { font-size: 13.5px; color: var(--gris); }
.tete-section-texte { color: var(--gris); max-width: 430px; font-size: 16.5px; }

/* services */
.services-liste { padding: 120px 0 130px; }
.services-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 60px; }
.carte-service {
  background: var(--blanc); border: 1px solid var(--trait); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 14px 34px rgba(15, 15, 26, .06);
}
.carte-service:hover { translate: 0 -6px; box-shadow: 0 24px 50px rgba(15, 15, 26, .12); }
.carte-service-photo { position: relative; height: 210px; overflow: hidden; }
.carte-service-photo img { width: 100%; height: 100%; object-fit: cover; }
.carte-service-corps { position: relative; padding: 30px 26px 30px; }
.carte-service-num {
  position: absolute; z-index: 2; top: -26px; right: 22px; width: 52px; height: 52px; border-radius: 50%;
  background: var(--chrome); border: 1px solid #8F959D; box-shadow: var(--relief), 0 8px 18px rgba(15, 15, 26, .15);
  display: grid; place-items: center; font-weight: 800; font-size: 16px;
}
.carte-service h3 { font-size: 22px; letter-spacing: -.01em; padding-right: 50px; }
.carte-service p { color: var(--gris); margin-top: 10px; font-size: 15.5px; }
.coches-petites { grid-template-columns: 1fr; gap: 9px; margin: 18px 0 0; }
.coches-petites li { font-size: 14.5px; }
.carte-service-large { grid-column: 1 / -1; flex-direction: row; }
.carte-service-large .carte-service-photo { width: 48%; height: auto; min-height: 340px; flex: none; }
.carte-service-large .carte-service-corps { flex: 1; min-width: 0; align-self: center; padding: 48px 52px; }
.carte-service-large .carte-service-num { top: 44px; right: 44px; }
.carte-service-large h3 { font-size: 30px; }
.carte-service-large .coches-petites { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.carte-service-large .bouton { margin-top: 30px; }

/* étapes */
.methode { background: var(--fond-2); padding: 120px 0; }
.etapes-cadre { position: relative; margin-top: 70px; }
.etapes-ligne { position: absolute; left: 12.5%; top: 31px; width: 75%; height: 4px; overflow: visible; }
.etapes-ligne path { fill: none; stroke: var(--metal); stroke-width: 2; }
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.etapes-3 { grid-template-columns: repeat(3, 1fr); }
.etapes-cadre:has(.etapes-3) .etapes-ligne { left: 16.6%; width: 66.8%; }
.etape { text-align: center; padding: 0 10px; }
.etape-num {
  position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 24px;
  background: var(--chrome); border: 1px solid #8F959D; box-shadow: var(--relief), 0 0 0 8px var(--fond-2);
  display: grid; place-items: center; font-weight: 800; font-size: 20px;
}
.etape h3 { font-size: 21px; }
.etape p { color: var(--gris); margin-top: 8px; font-size: 15.5px; }

/* à propos */
.mission { padding: 130px 0; overflow: hidden; }
.mission-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.mission-texte .paragraphe { max-width: 520px; }
.mission-texte .bouton { margin-top: 34px; }
.mission-visuel { position: relative; height: 560px; }
.mission-photo { position: absolute; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 50px rgba(15, 15, 26, .18); }
.mission-photo img { width: 100%; height: 100%; object-fit: cover; }
.mission-photo-1 { width: 76%; height: 400px; top: 0; right: 0; }
.mission-photo-2 { width: 54%; height: 280px; left: 0; bottom: 0; z-index: 2; border: 6px solid var(--fond); }
.mission-badge { position: absolute; z-index: 3; right: 6%; bottom: 36px; margin: 0; }

.valeurs { background: var(--fond-2); padding: 120px 0; }
.valeurs-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
.valeur { background: var(--blanc); border: 1px solid var(--trait); border-radius: 18px; padding: 34px 28px; }
.valeur-icone { width: 58px; height: 58px; margin-bottom: 26px; }
.valeur-icone svg { width: 26px; height: 26px; }
.valeur h3 { font-size: 20px; }
.valeur p { color: var(--gris); margin-top: 10px; font-size: 15.5px; }

.confiance { padding: 130px 0; overflow: hidden; }
.confiance-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.confiance-photo { height: 520px; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(15, 15, 26, .16); }
.confiance-photo img { width: 100%; height: 100%; object-fit: cover; }

/* contact */
.contact-zone { padding: 120px 0; }
.contact-grille { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.contact-coordonnees .titre-section { margin-bottom: 14px; }
.coordonnee {
  display: flex; align-items: center; gap: 18px; margin-top: 16px; padding: 20px 22px;
  background: var(--blanc); border: 1px solid var(--trait); border-radius: 16px;
  transition: border-color .2s, box-shadow .2s;
}
a.coordonnee:hover { border-color: var(--metal); box-shadow: 0 12px 30px rgba(15, 15, 26, .08); }
.coordonnee-icone { width: 50px; height: 50px; }
.coordonnee-texte small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.coordonnee-texte strong { font-size: 19px; }
.formulaire-carte { background: var(--blanc); border: 1px solid var(--trait); border-radius: 22px; padding: 44px; box-shadow: 0 30px 60px rgba(15, 15, 26, .08); }
.formulaire-titre { font-size: 26px; margin-bottom: 26px; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.champ { display: grid; gap: 7px; }
.champ-large { grid-column: 1 / -1; }
.champ > span { font-size: 14px; font-weight: 700; }
.champ input, .champ select, .champ textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--encre);
  background: var(--fond-2); border: 1px solid var(--trait); border-radius: 12px; padding: 14px 16px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.champ textarea { resize: vertical; min-height: 150px; }
.champ select {
  appearance: none; padding-right: 44px;
  background: var(--fond-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%230A0A0F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 18px no-repeat;
}
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: none; border-color: var(--metal-fonce); background-color: var(--blanc); box-shadow: 0 0 0 4px rgba(158, 164, 172, .25);
}
.formulaire .bouton { margin-top: 28px; }
.formulaire-note { color: var(--gris); font-size: 13.5px; margin-top: 16px; }
.formulaire-merci { display: none; text-align: center; padding: 40px 10px; }
.est-envoye .formulaire { display: none; }
.est-envoye .formulaire-merci { display: block; }
.merci-icone {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center;
  background: var(--chrome); border: 1px solid #8F959D; box-shadow: var(--relief);
}
.merci-icone svg { width: 32px; height: 32px; fill: none; stroke: var(--encre); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.formulaire-merci h3 { font-size: 24px; }
.formulaire-merci p { color: var(--gris); margin-top: 10px; }
.formulaire-merci a { color: var(--encre); font-weight: 700; }

@media (max-width: 1180px) {
  .services-grille { grid-template-columns: repeat(2, 1fr); }
  .valeurs-grille { grid-template-columns: repeat(2, 1fr); }
  .mission-grille, .confiance-grille { gap: 50px; }
  .carte-service-large h3 { padding-right: 60px; }
}

@media (max-width: 900px) {
  .page-entete { padding: 132px 0 70px; }
  .page-entete-grille { grid-template-columns: 1fr; gap: 50px; }
  .page-entete-photo { height: 380px; }
  .carte-info { left: 12px; bottom: -22px; }
  .tete-section-texte { max-width: none; }
  .services-liste { padding: 80px 0; }
  .services-grille { grid-template-columns: 1fr; gap: 22px; margin-top: 40px; }
  .carte-service-large { flex-direction: column; }
  .carte-service-large .carte-service-photo { width: 100%; height: 220px; min-height: 0; }
  .carte-service-large .carte-service-corps { padding: 30px 26px; }
  .carte-service-large .carte-service-num { top: -26px; right: 22px; }
  .carte-service-large h3 { font-size: 22px; }
  .methode { padding: 80px 0; }
  .etapes-cadre { margin-top: 44px; }
  .etapes, .etapes-3 { grid-template-columns: 1fr; gap: 34px; }
  .etapes-ligne { display: none; }
  .etape { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; text-align: left; padding: 0; }
  .etape-num { grid-row: span 2; margin: 0; }
  .mission, .confiance { padding: 80px 0; }
  .mission-grille, .confiance-grille { grid-template-columns: 1fr; gap: 44px; }
  .mission-visuel { height: 420px; }
  .mission-photo-1 { height: 300px; }
  .mission-photo-2 { height: 200px; }
  .mission-badge { width: 104px; height: 104px; }
  .valeurs { padding: 80px 0; }
  .valeurs-grille { grid-template-columns: 1fr; margin-top: 40px; }
  .confiance-photo { height: 340px; }
  .confiance .coches { grid-template-columns: 1fr; }
  .contact-zone { padding: 80px 0; }
  .contact-grille { grid-template-columns: 1fr; gap: 44px; }
  .formulaire-carte { padding: 28px 22px; }
  .champs { grid-template-columns: 1fr; }
  .coordonnee-texte strong { font-size: 17px; word-break: break-word; }
}

/* =========================================================
   Animations au défilement (actives seulement avec html.js-anim)
   ========================================================= */
@property --tour { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
:root { --ease: cubic-bezier(.2, .75, .2, 1); }
.delai-1 { --i: 1; } .delai-2 { --i: 2; } .delai-3 { --i: 3; } .delai-4 { --i: 4; } .delai-5 { --i: 5; } .delai-6 { --i: 6; }

html.js-anim .entete { animation: descend .9s var(--ease) both; }
@keyframes descend { from { opacity: 0; transform: translateY(-24px); } }

/* apparition générale : monte en fondu ; variantes gauche, droite, zoom */
html.js-anim .anim,
html.js-anim .cascade > * {
  opacity: 0;
  transform: translate3d(0, 44px, 0);
  transition: opacity .9s var(--ease), transform 1s var(--ease), translate .2s ease;
  transition-delay: calc(var(--i, 0) * 120ms);
}
html.js-anim .anim-gauche { transform: translate3d(-80px, 0, 0); }
html.js-anim .anim-droite { transform: translate3d(90px, 0, 0); }
html.js-anim .anim-zoom { transform: scale(.8); }
html.js-anim .anim.est-visible,
html.js-anim .cascade.est-visible > * { opacity: 1; transform: none; }

/* images : dévoilées par un balayage, avec un léger dézoom */
html.js-anim .anim-image { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
html.js-anim .anim-image-gauche { clip-path: inset(0 100% 0 0); }
html.js-anim .anim-image img { scale: 1.25; transition: scale 1.8s var(--ease); transition-delay: inherit; }
html.js-anim .anim-image.est-visible { clip-path: inset(-80px); }
html.js-anim .anim-image.est-visible img { scale: 1; }

/* lignes qui se dessinent */
html.js-anim .anim-trace path,
html.js-anim .anim-trace polyline { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease); }
html.js-anim .anim-trace path:nth-child(2) { transition-delay: .25s; }
html.js-anim .anim-trace path:nth-child(3) { transition-delay: .5s; }
html.js-anim .anim-trace.est-visible path,
html.js-anim .anim-trace.est-visible polyline { stroke-dashoffset: 0; }

/* éventail : les cartes partent du centre et s'ouvrent */
html.js-anim .anim-eventail .volet {
  opacity: 0; translate: var(--dx, 0px) 50px; scale: .86;
  transition: translate 1.2s var(--ease), scale 1.2s var(--ease), opacity .8s var(--ease);
  transition-delay: .15s;
}
html.js-anim .anim-eventail .volet-centre { transition-delay: 0s; }
html.js-anim .anim-eventail .volet img { scale: 1.2; transition: scale 1.6s var(--ease); }
.anim-eventail .volet:nth-child(1) { --dx: 380px; }
.anim-eventail .volet:nth-child(2) { --dx: 190px; }
.anim-eventail .volet:nth-child(4) { --dx: -190px; }
.anim-eventail .volet:nth-child(5) { --dx: -380px; }
html.js-anim .anim-eventail.est-visible .volet { opacity: 1; translate: 0 0; scale: 1; }
html.js-anim .anim-eventail.est-visible .volet img { scale: 1; }

/* anneau qui se remplit en tournant */
.anneau { transition: --tour 1.8s var(--ease) .2s, rotate 1.8s var(--ease) .2s; }
html.js-anim .anim-anneau:not(.est-visible) .anneau { --tour: 0%; rotate: -90deg; }

/* barres de la carte d'accroche */
html.js-anim .carte-barres .cb-item b::after { width: 0; transition: width 1.4s var(--ease) .7s; }
html.js-anim .carte-barres.est-visible .cb-item b::after { width: var(--v); }

/* cartes flottantes : légère houle une fois apparues */
html.js-anim .flottante.est-visible { animation: flotte 6s ease-in-out 1.4s infinite; }
html.js-anim .carte-barres.est-visible { animation-delay: 2.4s; }
@keyframes flotte { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* bandeaux : pilotés par app.js (défilement accéléré par la molette) */
html.js-anim .bandeau-piste { animation: none; will-change: transform; }

@media (max-width: 900px) {
  .anim-eventail .volet { --dx: 0px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .bandeau-piste, .badge-texte { animation: none; }
}


/* =========================================================
   Adaptations Gutenberg (phase 4)
   Le DOM des blocs diffère de la maquette : figure.wp-block-image, div.wp-block-group,
   div.wp-block-button > a, ul.wp-block-list… Les sélecteurs sont qualifiés, car le CSS
   des blocs est imprimé APRÈS ce fichier : à spécificité égale, c'est le bloc qui gagne.
   Les icônes et couches décoratives de la maquette (SVG, div vides) deviennent des
   pseudo-éléments : il ne reste dans le contenu que du texte et des images éditables.
   ========================================================= */
:root {
  --ico-fleche-blanche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h11M11 5l5 5-5 5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ico-diag-encre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17 17 7M9 7h8v8' fill='none' stroke='%230A0A0F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ico-diag-blanche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17 17 7M9 7h8v8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ico-etoile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.5 9.6 6.4 14.5 8 9.6 9.6 8 14.5 6.4 9.6 1.5 8 6.4 6.4z' fill='%23DDE0E4'/%3E%3C/svg%3E");
  --ico-tel-encre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h3.2l1.6 4-2 1.3a10.5 10.5 0 0 0 5 5l1.3-2 4 1.6V17a2 2 0 0 1-2 2A15 15 0 0 1 3 6a2 2 0 0 1 2-2z' fill='none' stroke='%230A0A0F' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ico-tel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h3.2l1.6 4-2 1.3a10.5 10.5 0 0 0 5 5l1.3-2 4 1.6V17a2 2 0 0 1-2 2A15 15 0 0 1 3 6a2 2 0 0 1 2-2z' fill='none' stroke='%23DDE0E4' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ico-courriel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DDE0E4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E");
  --ico-web: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DDE0E4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/svg%3E");
  --ico-zone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DDE0E4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
  --ico-bouclier: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DDE0E4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 6v5c0 4.4 3 8.3 7 9.5 4-1.2 7-5.1 7-9.5V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
  --ico-bouclier-plein: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1 2 3.5v4C2 11 4.6 14 8 15c3.4-1 6-4 6-7.5v-4z' fill='%23DDE0E4'/%3E%3C/svg%3E");
  --ico-personne: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DDE0E4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 20.5c1.4-3.6 4.2-5.5 7.5-5.5s6.1 1.9 7.5 5.5'/%3E%3C/svg%3E");
  --ico-bulle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DDE0E4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H8l-4 4z'/%3E%3Cpath d='M8 9.5h8M8 12.5h5'/%3E%3C/svg%3E");
  --ico-graphe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DDE0E4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E");
  --ico-guillemets: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Cpath d='M2 24V13.5C2 6.5 5.6 2 12.5 0.5l1.4 3.2C10 5 8.4 7.4 8.2 10.6H13V24zm17 0V13.5C19 6.5 22.6 2 29.5 0.5l1.4 3.2C27 5 25.4 7.4 25.2 10.6H30V24z' fill='%230A0A0F'/%3E%3C/svg%3E");
  --ico-chevron-g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M12.5 4.5 7 10l5.5 5.5' fill='none' stroke='%230A0A0F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ico-chevron-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.5 4.5 13 10l-5.5 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ico-burger: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M8 12h12M12 17h8' fill='none' stroke='%230A0A0F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  --deco-courbe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40'%3E%3Cpolyline points='0,30 10,26 18,31 27,22 35,25 44,12 50,20 58,16 66,4 72,22 80,14 88,19 100,10' fill='none' stroke='%232fb36b' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
  --deco-arcs: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 760 900' preserveAspectRatio='xMaxYMax meet'%3E%3Cg fill='none' stroke='%230A0A0F' stroke-opacity='.45' stroke-width='2'%3E%3Cpath d='M30 900 C 80 660, 250 540, 410 450 S 690 220, 780 170'/%3E%3Cpath d='M120 900 C 160 720, 320 600, 470 520 S 700 330, 790 280'/%3E%3Cpath d='M560 900 C 575 720, 640 560, 780 470'/%3E%3C/g%3E%3C/svg%3E");
  --deco-zigzag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 140'%3E%3Cg fill='none' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpolyline points='0,128 45,112 80,122 120,60 150,104 185,22 220,108 250,82 280,114 330,70 365,92 400,40' stroke='%230A0A0F' stroke-width='8'/%3E%3Cpolyline points='0,128 45,112 80,122 120,60 150,104 185,22 220,108 250,82 280,114 330,70 365,92 400,40' stroke='%23fff' stroke-width='3'/%3E%3C/g%3E%3C/svg%3E");
  --deco-preuve: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 182 46'%3E%3Cg stroke='%23F4F4F7' stroke-width='2' fill='%230F0F1A'%3E%3Ccircle cx='23' cy='23' r='22'/%3E%3C/g%3E%3Cg fill='none' stroke='%23DDE0E4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' transform='translate(12.5 12.5) scale(.875)'%3E%3Crect x='4' y='3.5' width='16' height='7' rx='1.5'/%3E%3Crect x='4' y='13.5' width='16' height='7' rx='1.5'/%3E%3Cpath d='M8 7h.01M8 17h.01'/%3E%3C/g%3E%3Ccircle cx='57' cy='23' r='22' fill='%230F0F1A' stroke='%23F4F4F7' stroke-width='2'/%3E%3Cg fill='none' stroke='%23DDE0E4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' transform='translate(46.5 12.5) scale(.875)'%3E%3Cpath d='M12 3 5 6v5c0 4.4 3 8.3 7 9.5 4-1.2 7-5.1 7-9.5V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/g%3E%3Ccircle cx='91' cy='23' r='22' fill='%230F0F1A' stroke='%23F4F4F7' stroke-width='2'/%3E%3Cg fill='none' stroke='%23DDE0E4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' transform='translate(80.5 12.5) scale(.875)'%3E%3Cpath d='M7 18a4.5 4.5 0 0 1-.6-8.96A6 6 0 0 1 18 8.5a4.5 4.5 0 0 1-1 9.5z'/%3E%3C/g%3E%3Ccircle cx='125' cy='23' r='22' fill='%230F0F1A' stroke='%23F4F4F7' stroke-width='2'/%3E%3Cg fill='none' stroke='%23DDE0E4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' transform='translate(114.5 12.5) scale(.875)'%3E%3Crect x='3' y='4' width='18' height='12' rx='1.5'/%3E%3Cpath d='M9 20h6M12 16v4'/%3E%3C/g%3E%3Ccircle cx='159' cy='23' r='22' fill='%230F0F1A' stroke='%23F4F4F7' stroke-width='2'/%3E%3Cg fill='none' stroke='%23DDE0E4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' transform='translate(148.5 12.5) scale(.875)'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Neutralisations Gutenberg (spécificité nulle, voir blocs-gutenberg.md) ---------- */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
.wp-site-blocks > * { margin-block: 0; }
figure.wp-block-image { margin: 0; }
img { height: auto; }
.wp-block-buttons { gap: 0; }
p { margin: 0; }

/* images cadrées : elles remplissent leur cadre (le CSS du bloc impose height:auto) */
.wp-block-image.collage img, .wp-block-image.volet img, .wp-block-image.effet-photo img, .wp-block-image.cb-image img,
.wp-block-image.page-entete-photo img, .wp-block-image.carte-service-photo img, .wp-block-image.mission-photo img,
.wp-block-image.confiance-photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.wp-block-image.page-entete-portrait img { object-position: center 30%; }

/* ---------- Boutons : la classe atterrit sur le conteneur, le style va sur le lien ---------- */
.wp-block-button.bouton { display: inline-block; background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; font-size: inherit; translate: none; }
.wp-block-button.bouton .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 14px; height: auto;
  background: var(--chrome); color: var(--encre); border: 1px solid #8F959D; box-shadow: var(--relief);
  font-family: var(--police); font-weight: 600; font-size: 18px; line-height: 1;
  padding: 9px 9px 9px 26px; border-radius: 999px; white-space: nowrap; text-decoration: none;
  transition: translate .2s ease, box-shadow .2s ease;
}
.wp-block-button.bouton .wp-block-button__link::after {
  content: ""; width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--ico-fleche-blanche) center / 18px no-repeat, var(--encre);
}
.wp-block-button.bouton .wp-block-button__link:hover { translate: 0 -2px; }
.wp-block-button.bouton-anneau .wp-block-button__link { box-shadow: var(--relief), 0 0 0 5px rgba(158, 164, 172, .16), 0 0 0 6px rgba(124, 131, 140, .4); }
.wp-block-button.bouton-moyen .wp-block-button__link { font-size: 16px; padding: 7px 7px 7px 22px; gap: 12px; }
.wp-block-button.bouton-moyen .wp-block-button__link::after { width: 32px; height: 32px; background-size: 15px; }
.wp-block-button.bouton-petit .wp-block-button__link { font-size: 15px; padding: 6px 6px 6px 20px; gap: 10px; }
.wp-block-button.bouton-petit .wp-block-button__link::after { width: 30px; height: 30px; background-size: 14px; }
.titre-accroche + .wp-block-buttons { margin-top: 46px; }
.texte-declaration + .wp-block-buttons { margin-top: 46px; }
.page-intro + .wp-block-buttons { margin-top: 38px; }
.mission-texte .wp-block-buttons { margin-top: 34px; }
.carte-service-large .wp-block-buttons { margin-top: 30px; }

/* ---------- Surtitres ---------- */
p.surtitre { display: inline-flex; }
.surtitre::before { content: ""; width: 13px; height: 13px; flex: none; background: var(--ico-etoile) center / contain no-repeat; }

/* ---------- En-tête ---------- */
.wp-block-site-logo.marque { line-height: 0; flex: none; }
.wp-block-site-logo.marque img { height: 150px; width: auto; max-width: none; }
.wp-block-navigation.menu { margin-left: auto; font-size: 16px; gap: 0; }
.wp-block-navigation.menu .wp-block-navigation__container { gap: 6px; }
.wp-block-navigation.menu .wp-block-navigation-item__content {
  display: block; padding: 10px 22px; border-radius: 999px; font-weight: 500; color: #e6e6ec; line-height: 1.55;
  transition: background .2s, color .2s;
}
.wp-block-navigation.menu .wp-block-navigation-item__content:hover { background: rgba(255, 255, 255, .07); }
.wp-block-navigation.menu .current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation.menu .est-courant > .wp-block-navigation-item__content { background: var(--chrome); color: var(--encre); box-shadow: var(--relief); }
.entete-actions .wp-block-buttons { display: block; }
p.entete-icone a { display: block; width: 26px; height: 26px; overflow: hidden; text-indent: 200%; white-space: nowrap; background: var(--ico-tel-encre) center / 24px no-repeat; }

/* ---------- Accroche ---------- */
.accroche::before, .page-entete::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 32% 55% at 80% 52%, rgba(255, 255, 255, .85), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, var(--fond) 100%),
    repeating-linear-gradient(90deg, #e9e9ee 0px, #fbfbfc 26px, #e9e9ee 54px);
}
.accroche::after { content: ""; position: absolute; z-index: 1; right: 0; bottom: 0; width: 760px; height: 100%; background: var(--deco-arcs) right bottom / contain no-repeat; pointer-events: none; }
.wp-block-image.portrait img { height: 100%; width: auto; max-width: none; }
.preuve::before { content: ""; width: 182px; height: 46px; flex: none; background: var(--deco-preuve) left center / auto 46px no-repeat; }
.preuve-texte { color: var(--gris); font-size: 15px; line-height: 1.25; }
.preuve-texte strong { color: var(--encre); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

/* titre : <strong>ligne 1</strong><br><em>mot encadré</em> — formats natifs, donc éditables */
.titre-accroche strong, .titre-accroche em { font-weight: inherit; font-style: normal; }
.titre-accroche strong { display: inline-flex; align-items: center; gap: .22em; white-space: nowrap; }
.titre-accroche strong::after {
  content: ""; width: .9em; height: .9em; flex: none; border-radius: 50%; border: 1px solid #8F959D; box-shadow: var(--relief);
  background: var(--ico-diag-encre) center / .5em no-repeat, var(--chrome);
}
.titre-accroche em {
  position: relative; display: inline-block; margin: .2em 0 0 calc(1.8em + .22em); padding: .04em .14em; line-height: 1; white-space: nowrap;
  color: var(--encre); background: var(--chrome); border: 2px solid var(--encre);
}
.titre-accroche em::before {
  content: ""; position: absolute; top: 50%; right: calc(100% + .22em + 2px); translate: 0 -50%;
  width: 1.8em; height: .86em; border-radius: 999px; border: 4px solid transparent; box-sizing: border-box;
  background: url(assets/img/portable-moderne.jpg) center / cover no-repeat padding-box,
              linear-gradient(90deg, #ff7ad9, #8f7bff 45%, #3fd6ff) border-box;
  box-shadow: 0 0 24px rgba(143, 123, 255, .45);
}
.titre-accroche em::after {
  content: ""; position: absolute; inset: -8px; pointer-events: none;
  background:
    linear-gradient(#fff, #fff) left 2px top 2px / 7px 7px no-repeat, linear-gradient(#fff, #fff) right 2px top 2px / 7px 7px no-repeat,
    linear-gradient(#fff, #fff) left 2px bottom 2px / 7px 7px no-repeat, linear-gradient(#fff, #fff) right 2px bottom 2px / 7px 7px no-repeat,
    linear-gradient(var(--encre), var(--encre)) left top / 11px 11px no-repeat, linear-gradient(var(--encre), var(--encre)) right top / 11px 11px no-repeat,
    linear-gradient(var(--encre), var(--encre)) left bottom / 11px 11px no-repeat, linear-gradient(var(--encre), var(--encre)) right bottom / 11px 11px no-repeat;
}

/* cartes flottantes */
.carte-courbe { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; }
.carte-courbe .cf-etiquette { grid-column: 1 / -1; }
.carte-courbe .cf-chiffre { grid-column: 1; margin-top: 2px; }
.carte-courbe .cf-hausse { grid-column: 1; }
.carte-courbe::after { content: ""; grid-column: 2; grid-row: 2 / 4; align-self: end; width: 100px; height: 40px; background: var(--deco-courbe) center / contain no-repeat; }
.cb-item { display: grid; grid-template-columns: 1fr auto; row-gap: 5px; }
.cb-item p { font-size: 11.5px; font-weight: 600; line-height: 1.55; }
.cb-item p + p { color: #6c6c78; }
.cb-item::before, .cb-item::after { content: ""; grid-column: 1 / -1; grid-row: 2; height: 5px; border-radius: 9px; }
.cb-item::before { background: #e8ebf3; }
.cb-item::after { width: var(--v, 0%); background: linear-gradient(90deg, #2b5cff, #22c3c6); }
.wp-block-image.cb-image { width: 104px; height: 88px; flex: none; border-radius: 8px; overflow: hidden; }

/* ---------- Bandeau : le logo devient le séparateur de chaque service ---------- */
.bandeau-liste li { display: flex; align-items: center; gap: 30px; }
.bandeau-liste li::after { content: ""; width: 112px; height: 64px; flex: none; background: url(assets/img/logo-solutox.png) center / contain no-repeat; }

/* ---------- Badge à texte tournant (lettres posées en cercle par app.js) ---------- */
p.badge-tournant { --r: 48px; }
p.badge-petit { --r: 40px; }
p.badge-tournant::after { content: ""; grid-area: 1 / 1; width: 30px; height: 30px; background: var(--ico-diag-blanche) center / contain no-repeat; pointer-events: none; }
p.badge-tournant a { grid-area: 1 / 1; position: absolute; inset: 0; border-radius: 50%; color: #e6e6ec; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.badge-lettres { position: absolute; inset: 0; animation: tourne 22s linear infinite; }
.badge-lettres span { position: absolute; left: 50%; top: 50%; line-height: 1; transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(-1 * var(--r))); }

/* ---------- Déclaration ---------- */
.texte-declaration em, .titre-section em { font-style: normal; color: var(--gris-clair); }

/* ---------- Expertises : flèche et légende de la carte centrale ---------- */
.wp-block-image.volet-centre::after {
  content: ""; position: absolute; z-index: 2; top: 17%; left: 18%; transform: translate(-50%, -50%);
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--ico-diag-encre) center / 30px no-repeat, var(--chrome);
  box-shadow: var(--relief), 0 0 0 10px rgba(255, 255, 255, .35);
}
.wp-block-image.volet-centre img { object-position: center bottom; }
.wp-block-image.volet-centre figcaption {
  position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; margin: 0;
  background: var(--blanc); color: #14141c; border-radius: 10px; padding: 16px 14px;
  display: grid; gap: 8px; text-align: center; font-size: 18px; font-weight: 700; line-height: 1.3;
}
.wp-block-image.volet-centre figcaption em {
  justify-self: center; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: #f0f1f5; padding: 4px 10px; border-radius: 5px; line-height: 1.55;
}
.wp-block-image.volet-centre figcaption strong { font-weight: 700; }

/* ---------- Effet : courbe et anneau en pseudo-éléments ---------- */
.effet-visuel::after {
  content: ""; position: absolute; z-index: 2; left: -10px; bottom: 24px; width: calc(100% + 46px); aspect-ratio: 400 / 140;
  background: var(--deco-zigzag) center / contain no-repeat; filter: drop-shadow(0 4px 10px rgba(15, 15, 26, .25)); pointer-events: none;
}
.anneau-graphe::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(#E4E7EA 0%, #A3A9B1 17%, #D3D6DA 35%, #2B2F35 35%, #4B5058 68%, #2B2F35 100%);
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%), conic-gradient(#000 var(--tour), transparent 0);
  -webkit-mask-composite: source-in;
          mask: radial-gradient(circle, transparent 54%, #000 55%), conic-gradient(#000 var(--tour), transparent 0);
          mask-composite: intersect;
  transition: --tour 1.8s var(--ease) .2s, rotate 1.8s var(--ease) .2s;
}
.anneau-etiquette { z-index: 1; }
.anneau-etiquette::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--ico-bouclier-plein) center / contain no-repeat; }
.anneau-etiquette em { font-style: normal; color: #a9a9b3; font-weight: 500; font-size: 12.5px; margin-left: 2px; }

/* ---------- Président ---------- */
.orbite::before { content: ""; position: absolute; left: 0; top: 0; width: 340px; height: 340px; border-radius: 50%; border: 2.5px solid var(--metal-fonce); box-sizing: border-box; }
.orbite::after {
  content: ""; position: absolute; z-index: 2; left: 92px; top: 124px; width: 92px; height: 92px; border-radius: 50%; box-sizing: border-box;
  background: var(--ico-guillemets) center / 38% no-repeat, var(--chrome); border: 1px solid #8F959D;
  box-shadow: var(--relief), 0 10px 24px rgba(15, 15, 26, .2);
}
.wp-block-image.orbite-logo img { width: 66%; height: auto; }
.wp-block-quote.citation { border: 0; padding: 0; }
.signature .wp-block-image { flex: none; }
.signature .wp-block-image img { width: 58px; height: 58px; }
.signature p { color: var(--gris); font-size: 14.5px; line-height: 1.45; }
.signature p strong { display: block; color: var(--encre); font-size: 18px; }
p.fleche-citation { overflow: hidden; text-indent: 200%; white-space: nowrap; cursor: pointer; background: var(--ico-chevron-d) center / 20px no-repeat, var(--sombre); }
p.fleche-prec { background: var(--ico-chevron-g) center / 20px no-repeat, var(--chrome); box-shadow: var(--relief); }
p.fleche-citation:hover { background: var(--ico-chevron-d) center / 20px no-repeat, var(--metal-fonce); }
p.fleche-prec:hover { background: var(--ico-chevron-g) center / 20px no-repeat, var(--chrome); }

/* ---------- Pied de page ---------- */
p.pied-tel { background: none; padding: 0; }
p.pied-tel a { font-size: 26px; font-weight: 800; color: var(--encre); background: linear-gradient(transparent 60%, var(--metal-clair) 60%); padding: 0 4px; }
.pied-marque .wp-block-site-logo { line-height: 0; }
.pied-marque .wp-block-site-logo img { height: 120px; width: auto; max-width: none; }
.pied-col .pied-liens { display: flex; flex-direction: column; gap: 10px; }
.pied-col .pied-liens li { color: #4a4a55; font-size: 15.5px; }
.pied-col .pied-liens a:hover { color: var(--encre); }

/* ---------- Pages intérieures ---------- */
p.fil { margin-bottom: 24px; }
.carte-info::before { content: ""; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--sombre) center / 22px no-repeat; }
.carte-info-bouclier::before { background-image: var(--ico-bouclier); }
.carte-info-personne::before { background-image: var(--ico-personne); }
.carte-info-telephone::before { background-image: var(--ico-tel); }
.carte-info-texte { font-size: 13.5px; color: var(--gris); line-height: 1.35; }
.carte-info-texte strong { display: block; font-size: 18px; color: var(--encre); line-height: 1.2; }
.carte-service .carte-service-num { margin: 0; color: var(--encre); font-size: 16px; }
.etape .etape-num { margin: 0 auto 24px; color: var(--encre); font-size: 20px; }
.etapes-cadre::before { content: ""; position: absolute; left: 12.5%; top: 31px; width: 75%; height: 2px; background: var(--metal); }
.etapes-cadre.etapes-trois::before { left: 16.6%; width: 66.8%; }
.valeur::before { content: ""; display: block; width: 58px; height: 58px; margin-bottom: 26px; border-radius: 50%; background: var(--sombre) center / 26px no-repeat; }
.valeur-personne::before { background-image: var(--ico-personne); }
.valeur-bouclier::before { background-image: var(--ico-bouclier); }
.valeur-bulle::before { background-image: var(--ico-bulle); }
.valeur-graphe::before { background-image: var(--ico-graphe); }
p.coordonnee { position: relative; margin-top: 16px; }
p.coordonnee::before { content: ""; width: 50px; height: 50px; flex: none; border-radius: 50%; background: var(--sombre) center / 22px no-repeat; }
p.coordonnee-tel::before { background-image: var(--ico-tel); }
p.coordonnee-courriel::before { background-image: var(--ico-courriel); }
p.coordonnee-web::before { background-image: var(--ico-web); }
p.coordonnee-zone::before { background-image: var(--ico-zone); }
p.coordonnee a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
p.coordonnee:has(a):hover { border-color: var(--metal); box-shadow: 0 12px 30px rgba(15, 15, 26, .08); }
.coordonnee em { display: block; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.coordonnee br { display: none; }
.coordonnee strong { font-size: 19px; line-height: 1.55; }
.page-simple { padding: 230px 0 120px; }
.page-simple .paragraphe { margin-top: 18px; }
.page-simple .wp-block-buttons { margin-top: 34px; }
.page-simple .wp-block-post-title { margin: 40px 0 10px; }

/* ---------- Formulaire Contact Form 7 (le gabarit porte les classes de la maquette) ---------- */
.formulaire-carte .wpcf7 form { margin: 0; }
.formulaire-carte .champ .wpcf7-form-control-wrap { display: block; }
.formulaire-carte .champ .wpcf7-form-control:not(.wpcf7-submit) { display: block; }
.formulaire-carte .wpcf7-submit {
  appearance: none; cursor: pointer; margin-top: 28px;
  font-family: var(--police); font-weight: 600; font-size: 18px; line-height: 1; color: var(--encre);
  padding: 18px 66px 18px 26px; border-radius: 999px; border: 1px solid #8F959D;
  background: var(--ico-fleche-blanche) right 19px center / 17px no-repeat,
              radial-gradient(circle at calc(100% - 28px) 50%, var(--encre) 19px, transparent 19.5px),
              var(--chrome);
  box-shadow: var(--relief), 0 0 0 5px rgba(158, 164, 172, .16), 0 0 0 6px rgba(124, 131, 140, .4);
  transition: translate .2s ease;
}
.formulaire-carte .wpcf7-submit:hover { translate: 0 -2px; }
.formulaire-carte .wpcf7-spinner { display: none; }
.formulaire-carte .wpcf7-not-valid-tip { color: #b4232c; font-size: 13px; margin-top: 4px; }
.formulaire-carte .wpcf7 form .wpcf7-response-output { margin: 22px 0 0; padding: 14px 16px; border: 1px solid var(--trait); border-radius: 12px; font-size: 15px; }
.formulaire-carte .wpcf7 form.sent .wpcf7-response-output { border-color: var(--metal-fonce); background: var(--fond-2); }

/* ---------- Animations : couches décoratives et barres en pseudo-éléments ---------- */
html.js-anim .anim-trace::after, html.js-anim .etapes-cadre.anim-trace::before { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s var(--ease); }
html.js-anim .anim-trace.est-visible::after, html.js-anim .etapes-cadre.anim-trace.est-visible::before { clip-path: inset(-30px); }
html.js-anim .anim-anneau:not(.est-visible)::before { --tour: 0%; rotate: -90deg; }
html.js-anim .carte-barres .cb-item::after { width: 0; transition: width 1.4s var(--ease) .7s; }
html.js-anim .carte-barres.est-visible .cb-item::after { width: var(--v); }

/* =========================================================
   Responsive des adaptations
   ========================================================= */
@media (max-width: 900px) {
  /* la maquette ouvrait son propre panneau ; ici c'est la navigation native (bouton sous 600 px) */
  .wp-block-navigation.menu { position: static; inset: auto; z-index: auto; flex-direction: row; opacity: 1; visibility: visible; background: var(--sombre); border-radius: 999px; padding: 6px; }
  .wp-block-navigation.menu .wp-block-navigation-item__content { font-size: 15px; font-weight: 500; padding: 9px 14px; }
  .entete-actions .wp-block-buttons { display: none; }
  .wp-block-site-logo.marque img { height: 84px; }
  .pied-marque .wp-block-site-logo img { height: 100px; }
  .carte-courbe::after { width: 64px; }
  .bandeau-liste li { gap: 20px; }
  .bandeau-liste li::after { width: 77px; height: 44px; }
  .wp-block-image.volet-centre figcaption { left: 12px; right: 12px; bottom: 12px; padding: 10px; gap: 6px; font-size: 15px; }
  .orbite::before { width: 250px; height: 250px; }
  .orbite::after { left: 66px; top: 90px; width: 70px; height: 70px; }
  .etapes-cadre::before { display: none; }
  .etape .etape-num { grid-row: span 2; margin: 0; }
  .page-simple { padding: 150px 0 80px; }
}
@media (max-width: 599px) {
  .wp-block-navigation.menu { background: none; padding: 0; box-shadow: none; border: 0; }
  .wp-block-navigation.menu .wp-block-navigation__responsive-container-open { width: 30px; height: 30px; color: var(--encre); }
  .wp-block-navigation.menu .wp-block-navigation__responsive-container.is-menu-open {
    background-color: rgba(2, 0, 14, .97) !important; color: #fff !important; padding: 90px 30px 40px;
  }
  .wp-block-navigation.menu .is-menu-open .wp-block-navigation__container { gap: 10px; align-items: center; }
  .wp-block-navigation.menu .is-menu-open .wp-block-navigation-item__content { font-size: 28px; font-weight: 700; color: #fff; padding: 10px 22px; }
  .wp-block-navigation.menu .wp-block-navigation__responsive-container-close { color: #fff; }
}
@media (max-width: 420px) {
  .preuve::before { width: 114px; }
  .wp-block-button.bouton .wp-block-button__link { font-size: 16px; padding-left: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .badge-lettres { animation: none; }
}

/* <strong> passé en bloc + <br> : le saut de ligne créerait une ligne vide */
p.preuve-texte { display: block; }
.preuve-texte strong { display: block; }
.preuve-texte br, .signature p br, .carte-info-texte br { display: none; }

/* porte 4 : écarts mesurés maquette -> site */
.wp-block-button.bouton { margin: 0; }                                   /* les marges de .bouton visent le lien, pas son conteneur */
.carte-courbe .cf-etiquette, .carte-courbe .cf-hausse { line-height: 24.8px; } /* dans la maquette, ces lignes portaient l'interligne du corps */
.pied-marque .wp-block-site-logo { line-height: 1.55; }                  /* le logo s'aligne sur la ligne de base, comme dans la maquette */
.pied-marque .wp-block-site-logo a { display: inline-flex; line-height: normal; }
/* carte sans lien : étiquette et valeur sont deux éléments distincts, empilés à droite de l'icône */
p.coordonnee-zone { display: grid; grid-template-columns: 50px 1fr; column-gap: 18px; row-gap: 0; align-items: center; }
p.coordonnee-zone::before { grid-row: span 2; }
