/*
Theme Name: DNA Holding
Author: DNA Holding
Description: Thème bloc sur mesure de DNA Holding — maquette convertie en blocs Gutenberg natifs, 100 % éditable.
Version: 1.0.2
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dna-holding
Tags: block-theme, full-site-editing, business
*/

/* =========================================================
   DNA Holding SA — maquette
   Registre relevé sur la référence (Novarc, LAIN) :
   une sans-serif, un seul accent (ici le bleu DNA), blanc froid,
   photos bord à bord, angles droits + boutons pilule,
   peu de grands éléments, petit texte de corps.
   ========================================================= */

:root {
  --bleu: #173f86;          /* accent unique : bleu DNA (boutons, étiquettes) */
  --bleu-logo: #1f5aa8;
  --vert-logo: #14935c;     /* uniquement dans le logo */
  --blanc: #ffffff;
  --encre: #121212;
  --gris: #8b8b8b;
  --gris-clair: #b9b9b9;
  --ligne: #e7e7e7;
  --nuit: #151515;

  --police: "Inter Tight", system-ui, sans-serif;

  --max: 1320px;
  --gut: clamp(20px, 3.6vw, 52px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--police);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wp-site-blocks > header, .wp-site-blocks > footer { margin: 0; }
.entry-content > * { margin-top: 0; margin-bottom: 0; }
h1, h2, h3, h4, p, figure, ul { margin: 0; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.025em; line-height: 1.05; }
.wp-block-image { margin: 0; }
.wp-block-buttons { margin: 0; }

/* ---------- Étiquette « / Section » ---------- */
.etiquette { font-size: 11px; color: var(--gris); letter-spacing: .02em; margin-bottom: 18px; }
.titre { font-size: clamp(34px, 3.6vw, 52px); }

/* ---------- Boutons pilule ---------- */
.btn .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bleu); color: var(--blanc);
  border-radius: 999px;
  padding: 12px 20px;
  font-family: var(--police); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
  transition: background .25s, transform .25s var(--ease);
}
.btn .wp-block-button__link::after {
  content: ""; width: 9px; height: 9px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 8 8 2M3 2h5v5' fill='none' stroke='black' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 8 8 2M3 2h5v5' fill='none' stroke='black' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s var(--ease);
}
.btn .wp-block-button__link:hover { background: #0f2c63; }
.btn .wp-block-button__link:hover::after { transform: translate(2px, -2px); }
.btn--sm .wp-block-button__link { padding: 10px 17px; font-size: 11.5px; }
.btn--clair .wp-block-button__link { background: var(--bleu); }

/* =========================================================
   NAVIGATION (posée sur la photo d'ouverture)
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 0 var(--gut);
  transition: background .35s, box-shadow .35s;
}
.nav__bar {
  max-width: calc(var(--max) - 2 * var(--gut)); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 88px;
  color: var(--blanc);
  transition: height .35s, color .35s;
}
.nav.is-scrolled { background: rgba(255,255,255,.94); box-shadow: 0 1px 0 var(--ligne); backdrop-filter: blur(10px); }
.nav.is-scrolled .nav__bar { height: 68px; color: var(--encre); }

.logo { font-size: 13px; font-weight: 800; line-height: .95; letter-spacing: .06em; }
.logo a { text-decoration: none; display: inline-block; }
.logo strong { font-size: 22px; letter-spacing: -.02em; font-weight: 800; }
.nav.is-scrolled .logo strong { color: var(--bleu-logo); }
.nav.is-scrolled .logo a { color: var(--vert-logo); }

.nav__links { font-size: 13px; }
.wp-block-navigation.nav__links .wp-block-navigation__container { display: flex; gap: 44px; list-style: none; margin: 0; padding: 0; }
.nav__links .wp-block-navigation-item__content { color: inherit; text-decoration: none; opacity: .88; transition: opacity .2s; }
.nav__links .wp-block-navigation-item__content:hover,
.nav__links .current-menu-item > .wp-block-navigation-item__content { opacity: 1; }
.nav__links .current-menu-item > .wp-block-navigation-item__content::after {
  content: ""; display: block; height: 1px; margin-top: 3px; background: currentColor;
}
.wp-block-navigation.nav__links .wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--blanc) !important; color: var(--encre) !important;
  padding: 96px var(--gut) 40px;
}
.wp-block-navigation.nav__links .is-menu-open .wp-block-navigation__container { flex-direction: column; gap: 6px; }
.wp-block-navigation.nav__links .is-menu-open .wp-block-navigation-item__content { font-size: 30px; letter-spacing: -.02em; padding: 8px 0; opacity: 1; }
.nav:has(.is-menu-open) { backdrop-filter: none; }
.nav__bar > .wp-block-buttons { justify-self: end; }
.nav__cta .wp-block-button__link { border-color: rgba(255,255,255,.35); }

/* =========================================================
   HÉRO
   ========================================================= */
.hero {
  position: relative;
  min-height: max(680px, min(100svh, 940px));
  color: var(--blanc);
  overflow: hidden;
  display: flex;
}
.hero__photo { position: absolute; inset: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,30,.45) 0%, rgba(10,20,30,.08) 38%, rgba(10,20,30,.12) 60%, rgba(10,20,30,.62) 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 170px var(--gut) 56px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 60px;
}
.hero__title { font-size: clamp(56px, 8.2vw, 128px); line-height: .98; letter-spacing: -.035em; }
.hero__bas { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.hero__intro { max-width: 340px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero__intro p { font-size: 13.5px; opacity: .92; }
.hero__cartes { display: flex; gap: 14px; align-items: stretch; }
.hcarte {
  display: flex; gap: 14px; width: 380px;
  padding: 12px; background: rgba(255,255,255,.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.18);
}
.hcarte__img { flex: 0 0 120px; }
.hcarte__img img { width: 120px; height: 100%; min-height: 100px; object-fit: cover; }
.hcarte__t { font-size: 14px; font-weight: 500; line-height: 1.25; margin-bottom: 8px; }
.hcarte__s { font-size: 12px; opacity: .85; line-height: 1.5; }
.hstat {
  width: 190px; padding: 16px 18px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.18);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hstat__n { font-size: 30px; letter-spacing: -.03em; line-height: 1; margin-bottom: 10px; }
.hstat__s { font-size: 12px; opacity: .85; line-height: 1.45; }

/* =========================================================
   À PROPOS — énoncé centré entre deux filets verticaux
   ========================================================= */
.apropos { position: relative; padding: 0 var(--gut); }
.apropos__inner {
  position: relative; z-index: 1;
  max-width: 820px; margin: 0 auto; padding: 150px 0 160px;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.apropos__titre { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.25; letter-spacing: -.02em; margin-bottom: 44px; }
.apropos__titre em { font-style: normal; color: var(--gris-clair); }

/* =========================================================
   MISSION — titre à gauche, texte à droite, trois colonnes
   ========================================================= */
.mission { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) 150px; }
.mission__tete {
  display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid var(--ligne);
}
.mission__d { justify-self: end; max-width: 420px; font-size: 13.5px; color: #444; }
.mission__grille { display: grid; grid-template-columns: repeat(3, 1fr); }
.engagement { padding: 40px 40px 0 0; border-right: 1px solid var(--ligne); }
.engagement + .engagement { padding-left: 40px; }
.engagement:last-child { border-right: 0; }
.engagement__n { font-size: 11px; color: var(--bleu); margin-bottom: 70px; }
.engagement__t { font-size: 22px; margin-bottom: 14px; }
.engagement__p { font-size: 13px; color: #555; max-width: 340px; }

/* =========================================================
   CHIFFRES — grille à filets, chiffres grands et légers
   ========================================================= */
.chiffres { background: #fafafa; border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); padding: 130px var(--gut); }
.chiffres__titre { text-align: center; font-size: clamp(22px, 2vw, 28px); line-height: 1.25; margin-bottom: 80px; }
.chiffres__grille { max-width: 1080px; margin: 0 auto; border-top: 1px solid var(--ligne); }
.chiffre { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; border-bottom: 1px solid var(--ligne); }
.chiffre > * { padding: 34px 30px; }
.chiffre > * + * { border-left: 1px solid var(--ligne); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.chiffre__l { font-size: 10.5px; color: var(--gris); margin-bottom: 8px; }
.chiffre__n { font-size: clamp(54px, 5.6vw, 80px); letter-spacing: -.045em; line-height: 1; font-weight: 300; }
.chiffre__p { font-size: 12.5px; color: #555; }
.chiffre__p { max-width: none; }
/* pictogramme au trait (le texte du paragraphe est masqué) */
.chiffre__ico { position: relative; min-height: 140px; font-size: 0; color: transparent; }
.chiffre__ico::before, .chiffre__ico::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px;
  border: 1px solid #c9c9c9; border-radius: 50%;
}
.chiffre--a .chiffre__ico::before { transform: translateX(-12px); }
.chiffre--a .chiffre__ico::after { transform: translateX(12px); }
.chiffre--b .chiffre__ico::before { border-style: dashed; }
.chiffre--b .chiffre__ico::after { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
.chiffre--c .chiffre__ico::after { width: 1px; border-radius: 0; border-width: 0 0 0 1px; margin-left: 0; }

/* =========================================================
   PÔLES — cartes photo + tableau de métadonnées
   ========================================================= */
.poles { max-width: var(--max); margin: 0 auto; padding: 140px var(--gut) 150px; }
.poles__tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 56px; }
.poles__grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: 70px 28px; }
.pole { position: relative; }
.pole__t { font-size: 20px; letter-spacing: -.015em; margin: 0 0 16px; order: -1; }
.pole__t a { text-decoration: none; }
.pole__t a::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.pole { display: flex; flex-direction: column; }
.pole__img { overflow: hidden; margin-bottom: 18px; }
.pole__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease); }
.pole:hover .pole__img img { transform: scale(1.035); }
.pole__meta { display: grid; grid-template-columns: 1fr auto; font-size: 11.5px; }
.pole__meta p { padding: 9px 0; border-bottom: 1px solid var(--ligne); }
.meta__l { color: var(--gris); }
.meta__v { text-align: right; }

/* =========================================================
   APPEL FINAL (pied de page) — photo pleine largeur
   ========================================================= */
.final { position: relative; min-height: 620px; display: grid; place-items: center; color: var(--blanc); overflow: hidden; }
.final__photo { position: absolute; inset: 0; }
.final__photo img { width: 100%; height: 100%; object-fit: cover; }
.final__photo::after { content: ""; position: absolute; inset: 0; background: rgba(10, 16, 24, .38); }
.final__inner { position: relative; z-index: 1; text-align: center; max-width: 560px; padding: 120px var(--gut); display: flex; flex-direction: column; align-items: center; }
.final__title { font-size: clamp(36px, 4vw, 58px); margin-bottom: 20px; }
.final__txt { font-size: 13.5px; opacity: .9; margin-bottom: 30px; max-width: 440px; }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.foot { background: var(--nuit); color: #d6d6d6; padding: 70px var(--gut) 34px; }
.foot__top, .foot__bottom { max-width: calc(var(--max) - 2 * var(--gut)); margin: 0 auto; }
.foot__top { display: flex; justify-content: space-between; gap: 50px; padding-bottom: 90px; }
.foot__adr { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.foot__nom { color: var(--blanc); font-size: 13px; margin-bottom: 6px; }
.foot__c a { text-decoration: none; }
.foot__c a:hover { color: var(--blanc); }
.foot__cols { display: flex; gap: 80px; }
.foot__col { display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.foot__h { color: #7c7c7c; font-size: 11px; margin-bottom: 10px; }
.foot__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.foot__list a { text-decoration: none; }
.foot__list a:hover { color: var(--blanc); }
.foot__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; border-top: 1px solid #2a2a2a; padding-top: 30px; }
.foot__logo { font-size: clamp(54px, 9vw, 132px); font-weight: 800; letter-spacing: -.04em; line-height: .85; color: var(--blanc); }
.foot__logo strong { font-weight: 800; }
.foot__copy { font-size: 11px; color: #7c7c7c; }

/* =========================================================
   PAGES INTÉRIEURES
   ========================================================= */
.phero { position: relative; min-height: 560px; height: min(72svh, 680px); color: var(--blanc); display: flex; overflow: hidden; }
.phero__photo { position: absolute; inset: 0; }
.phero__photo img { width: 100%; height: 100%; object-fit: cover; }
.phero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,30,.5), rgba(10,20,30,.12) 45%, rgba(10,20,30,.55)); }
.phero__inner { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 150px var(--gut) 56px; display: flex; flex-direction: column; justify-content: flex-end; }
.phero .etiquette { color: rgba(255,255,255,.75); }
.phero__title { font-size: clamp(48px, 6.6vw, 100px); line-height: .98; letter-spacing: -.035em; max-width: 900px; }
.phero__bas { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 34px; }
.phero__txt { max-width: 420px; font-size: 13.5px; opacity: .92; }

/* Texte en deux colonnes : titre à gauche, corps à droite */
.bloc { max-width: var(--max); margin: 0 auto; padding: 130px var(--gut); display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; }
.bloc + .bloc { padding-top: 0; }
.bloc__g .titre { position: sticky; top: 110px; }
.bloc__d { display: flex; flex-direction: column; gap: 20px; font-size: 15px; color: #333; line-height: 1.7; max-width: 640px; }
.bloc__d .lead { font-size: clamp(20px, 1.8vw, 25px); color: var(--encre); line-height: 1.4; letter-spacing: -.015em; }
.bloc__d .lead em { font-style: normal; color: var(--gris-clair); }
.bloc--filet { border-top: 1px solid var(--ligne); padding-top: 110px !important; }

/* Photo pleine largeur entre deux blocs */
.bande { padding: 0 var(--gut); }
.bande__img { max-width: calc(var(--max) - 2 * var(--gut)); margin: 0 auto; }
.bande__img img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: center 45%; }

/* Liste d'éléments numérotés (valeurs, gouvernance) */
.liste { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) 140px; }
.liste__tete { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--ligne); }
.liste__tete .mission__d { justify-self: end; }
.ligne { display: grid; grid-template-columns: 90px 1fr 1.3fr; gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--ligne); align-items: baseline; }
.ligne__n { font-size: 11px; color: var(--bleu); }
.ligne__t { font-size: clamp(22px, 2vw, 28px); }
.ligne__p { font-size: 13.5px; color: #555; max-width: 520px; }

/* Pôles détaillés */
.detail { max-width: var(--max); margin: 0 auto; padding: 120px var(--gut) 0; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; scroll-margin-top: 40px; }
.detail:last-of-type { padding-bottom: 140px; }
.detail--inverse .detail__img { order: 2; }
.detail__img img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.detail__txt { display: flex; flex-direction: column; gap: 18px; }
.detail__n { font-size: 11px; color: var(--bleu); }
.detail__t { font-size: clamp(34px, 3.4vw, 50px); }
.detail__p { font-size: 14.5px; color: #444; line-height: 1.7; max-width: 520px; }
.detail .pole__meta { max-width: 520px; margin-top: 10px; }

.apropos__txt { font-size: 14px; color: #555; max-width: 560px; margin-top: -14px; }
.phero--court { height: min(58svh, 540px); min-height: 460px; }

/* Contact */
.contact { max-width: var(--max); margin: 0 auto; padding: 130px var(--gut) 150px; display: grid; grid-template-columns: 1fr 1.35fr; gap: 80px; }
.contact__g { display: flex; flex-direction: column; gap: 14px; }
.contact__g .titre { margin-bottom: 6px; }
.contact__intro { font-size: 14px; color: #555; max-width: 440px; margin-bottom: 26px; }
.voies { display: flex; flex-direction: column; }
.voie { padding: 18px 0; border-bottom: 1px solid var(--ligne); display: grid; grid-template-columns: 110px 1fr; gap: 20px; font-size: 14px; }
.voies { border-top: 1px solid var(--ligne); }
.voie__l { font-size: 11px; color: var(--gris); padding-top: 3px; }
.voie__v a { text-decoration: none; }
.voie__v a:hover { color: var(--bleu); }

/* Formulaire (maquette ; Contact Form 7 sur WordPress, même balisage) */
.form { display: flex; flex-direction: column; gap: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__l { font-size: 11px; color: var(--gris); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--encre);
  border: 0; border-bottom: 1px solid #cfcfcf; border-radius: 0;
  padding: 8px 0 10px; background: transparent; outline: none;
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--bleu); }
.field.is-error input, .field.is-error textarea { border-color: #c0392b; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: 8px 14px; border: 1px solid var(--ligne); border-radius: 999px; font-size: 12px; transition: all .2s; }
.choice input:checked + span { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); }
.form__group { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.form__group legend { font-size: 11px; color: var(--gris); padding: 0; margin-bottom: 12px; }
.form__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form__submit {
  font-family: var(--police); font-size: 11.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  background: var(--bleu); color: var(--blanc); border: 0; border-radius: 999px; padding: 13px 22px; cursor: pointer;
}
.form__submit:hover { background: #0f2c63; }
.form__note { font-size: 11.5px; color: var(--gris); max-width: 300px; }
.form__ok { display: none; font-size: 14px; color: var(--bleu); }
#contact-form.is-sent .form__ok { display: block; }
#contact-form.is-sent .form__foot { display: none; }

/* =========================================================
   APPARITIONS
   ========================================================= */
.js .hero__title, .js .phero__title { animation: monte 1.1s var(--ease) both; }
.js .hero__bas, .js .phero__bas { animation: monte 1.1s .25s var(--ease) both; }
@keyframes monte { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .hero__bas { flex-direction: column; align-items: flex-start; }
  .wp-block-navigation.nav__links .wp-block-navigation__container { gap: 26px; }
}
@media (max-width: 860px) {
  .nav__bar { grid-template-columns: 1fr auto auto; gap: 14px; }
  .mission__tete, .liste__tete, .bloc, .detail, .contact { grid-template-columns: 1fr; }
  .mission__d, .liste__tete .mission__d { justify-self: start; }
  .mission__grille { grid-template-columns: 1fr; }
  .engagement, .engagement + .engagement { padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--ligne); }
  .engagement__n { margin-bottom: 26px; }
  .poles__grille { grid-template-columns: 1fr; gap: 56px; }
  .detail--inverse .detail__img { order: 0; }
  .detail { gap: 34px; padding-top: 90px; }
  .ligne { grid-template-columns: 50px 1fr; }
  .ligne__p { grid-column: 2; }
  .foot__top { flex-direction: column; }
  .foot__cols { gap: 40px; flex-wrap: wrap; }
  .foot__bottom { flex-direction: column; align-items: flex-start; }
  .bloc__g .titre { position: static; }
}
@media (max-width: 599px) {
  .nav__bar > .wp-block-buttons { display: none; }
  .hero__inner { padding-top: 130px; }
  .hcarte { width: 100%; }
  .hero__cartes { flex-direction: column; width: 100%; }
  .hstat { width: 100%; }
  .apropos__inner { padding: 100px 0; }
  .mission { padding-bottom: 100px; }
  .chiffres { padding: 90px var(--gut); }
  .chiffre { grid-template-columns: 1fr; }
  .chiffre > * + * { border-left: 0; }
  .chiffre__ico { display: none !important; }
  .chiffre > * { padding: 22px 0; }
  .chiffre__fig { order: -1; }
  .poles { padding: 100px var(--gut); }
  .poles__tete { flex-direction: column; align-items: flex-start; }
  .form__row { grid-template-columns: 1fr; }
  .phero__bas { flex-direction: column; align-items: flex-start; }
  .bloc { padding: 90px var(--gut); gap: 30px; }
  .voie { grid-template-columns: 1fr; gap: 4px; }
}

/* Bouton du menu replié (core/navigation, sous 600 px) */
.nav__links .wp-block-navigation__responsive-container-open { color: inherit; width: 42px; height: 42px; place-items: center; border: 1px solid currentColor; border-radius: 50%; opacity: .9; }
.nav__links .wp-block-navigation__responsive-container-open svg { fill: currentColor; width: 20px; height: 20px; }

/* Maquette locale uniquement : imite le menu replié de core/navigation sous 600 px */
@media (max-width: 599px) { .nav__links .wp-block-navigation__responsive-container-open { display: grid; place-items: center; } }
@media (max-width: 599px) {
  .wp-block-navigation.nav__links > .wp-block-navigation__container { display: none; }
  .nav__links:not(:has(.wp-block-navigation__responsive-container))::after {
    content: ""; display: block; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%;
    background: linear-gradient(currentColor, currentColor) center calc(50% - 3px) / 16px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center calc(50% + 3px) / 16px 1.5px no-repeat;
  }
  .nav__bar { grid-template-columns: 1fr auto; }
}

/* =========================================================
   SIGNATURE ADÉMA — éléments communs à tous les sites de l'agence
   (couleur de la marque du client : --sig ; second ton : --sig-2)
   1. barre de progression de lecture sous l'en-tête
   2. titres révélés mot à mot
   3. mots-clés des énoncés dans la couleur de la marque
   4. bouton pilule + pastille ronde à flèche qui pivote
   5. (supprimé)
   6. une section pleine couleur de marque
   7. logo géant en pied de page + crédit « Site conçu par Adéma »
   ========================================================= */
:root { --sig: #173f86; --sig-fonce: #0c2552; --sig-2: #14935c; }

/* 1 · progression de lecture */
.nav::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px;
  width: calc(var(--defil, 0) * 100%);
  background: linear-gradient(90deg, var(--sig), var(--sig-2));
}

/* 2 · révélation mot à mot */
.js .mots .m { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js .mots .m > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js .mots.is-in .m > span { transform: none; }
.js .hero__title, .js .phero__title { animation: none; }

/* 3 · mots-clés colorés */
.apropos__titre em, .bloc__d .lead em { color: var(--sig); }
.apropos__titre em { background: linear-gradient(transparent 88%, rgba(20,147,92,.35) 0) ; }

/* 4 · bouton signature */
.btn .wp-block-button__link { padding: 7px 7px 7px 20px; gap: 14px; }
.btn .wp-block-button__link::after {
  width: 30px; height: 30px; border-radius: 50%;
  background: #fff;
  -webkit-mask: none; mask: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.5 7.5 7.5 2.5M3.5 2.5h4v4' fill='none' stroke='%23173f86' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat;
  transition: transform .4s var(--ease);
}
.btn .wp-block-button__link:hover::after { transform: rotate(45deg); }
.btn .wp-block-button__link:hover { background: var(--sig-fonce); }

/* 6 · section pleine couleur : les chiffres */
.chiffres { background: radial-gradient(120% 90% at 85% 0%, #1f5aa8 0%, var(--sig) 45%, var(--sig-fonce) 100%); color: #fff; border: 0; }
.chiffres__grille, .chiffre { border-color: rgba(255,255,255,.16); }
.chiffre > * + * { border-left-color: rgba(255,255,255,.16); }
.chiffre__l { color: rgba(255,255,255,.6); }
.chiffre__p { color: rgba(255,255,255,.8); }
.chiffre__ico::before, .chiffre__ico::after { border-color: rgba(255,255,255,.45); }
.chiffre--b .chiffre__ico::after { background: var(--sig-2); border-color: var(--sig-2); }

/* engagements : gros numéros, survol en couleur de marque */
.engagement { position: relative; transition: background .45s var(--ease), color .45s; }
.engagement__n { font-size: clamp(48px, 4.4vw, 64px); font-weight: 300; letter-spacing: -.04em; line-height: 1; margin-bottom: 46px; }
.engagement::before { content: ""; position: absolute; left: 0; top: 0; width: 34px; height: 2px; background: var(--sig-2); }
.engagement + .engagement::before { left: 40px; }
.engagement:hover { background: #f3f6fb; }
.ligne__n { font-size: 26px; font-weight: 300; }
.ligne { transition: padding .4s var(--ease); }
.ligne:hover { padding-left: 14px; }
.ligne:hover .ligne__t { color: var(--sig); }
.detail__n { color: var(--sig-2); }
.etiquette { color: var(--sig); }
.phero .etiquette { color: rgba(255,255,255,.8); }

/* 7 · crédit agence */
.foot__droite { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.signature { font-size: 11px; }
.signature a { color: #9a9a9a; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.signature a::before { content: ""; width: 7px; height: 7px; background: var(--sig-2); transform: rotate(45deg); }
.signature a:hover { color: #fff; }
@media (max-width: 860px) { .foot__droite { align-items: flex-start; } .engagement + .engagement::before { left: 0; } }
@media (prefers-reduced-motion: reduce) { .js .mots .m > span { transform: none; transition: none; } }
