/* SPEEDWEB : feuille de style du site (version 4, blanc et violet) */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --violet: #6B2CF5;        /* couleur de marque : globe, boutons, icônes, liens */
  --violet-fonce: #5216D8;  /* survol */
  --violet-pale: #F1ECFE;   /* fond des icônes et des étiquettes */
  --violet-voile: #E3D9FD;  /* traînée du globe, halo de focus */
  --violet-texte: #4A2BA8;  /* texte sur fond violet pâle */
  --lavande: #F7F5FC;       /* sections alternées */
  --encre: #16122A;         /* titres, pied de page */
  --texte: #3E3A52;         /* texte courant */
  --gris: #6F6A82;          /* texte secondaire */
  --filet: #E7E4F0;         /* bordures */
  --blanc: #FFFFFF;

  --largeur: 1240px;
  --marge: clamp(20px, 4vw, 40px);
  --espace: clamp(64px, 8vw, 112px);
  --rayon: 20px;
  --entete: 80px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 24px); }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--texte);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

h1, h2, h3, h4 { color: var(--encre); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.3vw, 3.75rem); line-height: 1.06; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 2.7vw, 2.5rem); line-height: 1.12; letter-spacing: -0.022em; }
h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 650; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
strong { color: var(--encre); font-weight: 650; }
.chapo { font-size: clamp(1.08rem, 1.3vw, 1.22rem); line-height: 1.6; }

:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--violet-voile); color: var(--encre); }

.visuellement-cache {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.evitement {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--violet); color: var(--blanc); font-weight: 600; text-decoration: none;
}
.evitement:focus { top: 12px; }

.conteneur { width: 100%; max-width: var(--largeur); margin-inline: auto; padding-inline: var(--marge); }
.section { padding-block: var(--espace); }
.section--lavande { background: var(--lavande); }
.section--suite { padding-top: 0; }  /* section blanche qui suit une section blanche */
section[id], article[id] { scroll-margin-top: calc(var(--entete) + 16px); }

.titre-section {
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap;
  gap: 16px 48px; margin-bottom: clamp(28px, 4vw, 48px);
}
.titre-section > div { max-width: 660px; }
.titre-section p { margin-top: 12px; font-size: 1.1rem; color: var(--gris); }

/* ---------- Boutons, liens ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-size: 16px; font-weight: 600; line-height: 1.1; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.bouton--violet { background: var(--violet); color: var(--blanc); }
.bouton--violet:hover { background: var(--violet-fonce); }
.bouton--contour { background: var(--blanc); border-color: #CFC9E0; color: var(--encre); }
.bouton--contour:hover { border-color: var(--violet); color: var(--violet); }
.bouton--blanc { background: var(--blanc); color: var(--violet); }
.bouton--blanc:hover { background: var(--violet-pale); }

.lien {
  color: var(--violet); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px;
  text-decoration-color: color-mix(in srgb, var(--violet) 35%, transparent);
  transition: color .15s, text-decoration-color .15s;
}
.lien:hover { color: var(--violet-fonce); text-decoration-color: currentColor; }

/* Lien qui rend toute la carte cliquable */
.lien-etendu::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }

/* ---------- Icônes, étiquettes, coches ---------- */
svg.i { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icone {
  flex: none; display: inline-grid; place-items: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--violet-pale); color: var(--violet);
}
.icone svg { width: 26px; height: 26px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  padding: 5px 12px; border-radius: 999px;
  background: var(--violet-pale); color: var(--violet-texte);
  font-size: 14px; font-weight: 550; line-height: 1.4;
}
.tags--liens li { padding: 0; background: none; }
.tags--liens a {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--violet-pale); color: var(--violet-texte);
  font-size: 14px; font-weight: 550; line-height: 1.4; text-decoration: none;
  transition: background-color .15s, color .15s;
}
.tags--liens a:hover { background: var(--violet); color: var(--blanc); }

.coches li { position: relative; padding-left: 34px; color: var(--texte); }
.coches li + li { margin-top: 12px; }
.coches li::before {
  content: ""; position: absolute; left: 0; top: .18em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--violet-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B2CF5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-8.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.coches--grandes li { font-size: 1.08rem; color: var(--encre); padding-block: 16px; border-top: 1px solid var(--filet); }
.coches--grandes li + li { margin-top: 0; }
.coches--grandes li:first-child { border-top: 0; padding-top: 0; }
.coches--grandes li:last-child { padding-bottom: 0; }
.coches--grandes li::before { top: calc(16px + .2em); }
.coches--grandes li:first-child::before { top: .2em; }

.note { font-size: 14.5px; color: var(--gris); }

/* ---------- Cartes ---------- */
.carte {
  background: var(--blanc);
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  padding: clamp(24px, 2.6vw, 34px);
}
.cartes-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cartes-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cartes-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.carte-expertise, .carte-simple, .carte-pole, .carte-profil, .carte-article {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.carte-expertise h3, .carte-simple h3, .carte-pole h3 { margin-top: 6px; }
.carte-expertise, .carte-article { position: relative; transition: border-color .15s; }
.carte-expertise:hover, .carte-article:hover { border-color: #CDBDFB; }
.carte-expertise .lien { margin-top: auto; padding-top: 6px; }

.carte-pole p { color: var(--gris); font-size: 16px; }
.liste-liens { align-self: stretch; margin-top: auto; }
.liste-liens li { border-top: 1px solid var(--filet); }
.liste-liens a {
  display: block; padding: 10px 0;
  color: var(--violet); font-weight: 600; text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: transparent; transition: text-decoration-color .15s;
}
.liste-liens a:hover { text-decoration-color: currentColor; }

.carte-mode { gap: 20px; }
.carte-tete { display: flex; align-items: center; gap: 16px; }
.carte-tete h3 { font-size: 1.4rem; }
.carte-mode .coches { align-self: stretch; padding-top: 20px; border-top: 1px solid var(--filet); }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: var(--blanc);  /* pas de backdrop-filter : il piégerait le menu mobile (position fixed) */
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.entete.defile { border-bottom-color: var(--filet); }
.entete > .conteneur { display: flex; align-items: center; justify-content: space-between; height: var(--entete); }

.marque { display: inline-flex; align-items: center; gap: 12px; color: var(--encre); text-decoration: none; }
.marque svg { width: 34px; height: 34px; color: var(--violet); }
.marque span { font-size: 23px; font-weight: 720; font-stretch: 104%; letter-spacing: .015em; line-height: 1; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav-lien {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border: 0; border-radius: 10px; background: none; cursor: pointer;
  color: var(--encre); font-size: 15.5px; font-weight: 550; line-height: 1.2; text-decoration: none;
  transition: color .15s, background-color .15s;
}
.nav-lien:hover { color: var(--violet); background: var(--violet-pale); }
.nav-lien[aria-current="page"], .nav-declencheur.actif { color: var(--violet); }
.nav-declencheur svg { width: 16px; height: 16px; transition: transform .2s; }
.nav-groupe.ouvert .nav-declencheur svg { transform: rotate(180deg); }
.nav-contact { margin-left: 12px; min-height: 46px; padding: 0 22px; }
.nav-contact[aria-current="page"] { text-decoration: none; }

/* Grand menu des expertises (ordinateur) */
.nav-groupe { display: flex; }
.mega {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--blanc); border-block: 1px solid var(--filet);
  box-shadow: 0 28px 48px -28px rgba(22, 18, 42, .22);
}
.nav-groupe.ouvert .mega { display: block; }
.mega-grille { display: grid; grid-template-columns: 1.15fr repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 36px 40px; }
.mega-titre { margin-bottom: 8px; color: var(--encre); font-size: 1.35rem; font-weight: 700; }
.mega-intro p:not(.mega-titre) { margin-bottom: 16px; color: var(--gris); font-size: 15.5px; }
.mega-pole-nom { margin-bottom: 10px; color: var(--gris); font-size: 14.5px; font-weight: 600; }
.mega-pole-nom a { color: inherit; text-decoration: none; }
.mega-pole-nom a:hover { color: var(--violet); }
.mega-pole ul { display: grid; gap: 2px; }
.mega-pole li a {
  display: flex; align-items: center; gap: 10px; margin-inline: -10px; padding: 8px 10px; border-radius: 10px;
  color: var(--encre); font-size: 15.5px; font-weight: 550; line-height: 1.3; text-decoration: none;
  transition: background-color .15s, color .15s;
}
.mega-pole li a:hover { background: var(--violet-pale); color: var(--violet); }
.mega-pole li a svg { flex: none; width: 20px; height: 20px; color: var(--violet); }

.burger { display: none; }

/* Bouton Contact fixe (mobile uniquement) */
.contact-fixe { display: none; }

/* ---------- Héros (accueil) ---------- */
.heros { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); overflow: hidden; }
.heros .conteneur {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center; gap: clamp(32px, 5vw, 80px);
}
.heros h1 { margin-bottom: 24px; }
.heros .chapo { max-width: 33em; margin-bottom: 36px; }
.heros-visuel svg { width: 100%; height: auto; }

/* Arrivée du globe : la traînée se dessine de gauche à droite (seule animation du site) */
.trainee { animation: arrivee 1s cubic-bezier(.2, .7, .2, 1) both; }
.trainee.t1 { animation-delay: .08s; }
.trainee.t2 { animation-delay: .16s; }
@keyframes arrivee { from { opacity: 0; transform: translateX(-56px); } }

/* ---------- Atouts ---------- */
.section--atouts { padding-block: clamp(44px, 5.5vw, 72px); }
.atouts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.atouts li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.atouts .icone { margin-bottom: 6px; }
.atouts h3 { font-size: 1.1rem; }
.atouts p { font-size: 15.5px; line-height: 1.55; color: var(--gris); }

/* ---------- Secteurs (accueil) ---------- */
.secteurs-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.secteurs-mini a {
  display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px;
  background: var(--blanc); border: 1px solid var(--filet); border-radius: 16px;
  color: var(--encre); font-weight: 600; line-height: 1.3; text-decoration: none;
  transition: border-color .15s, color .15s;
}
.secteurs-mini a:hover { border-color: var(--violet); color: var(--violet); }
.secteurs-mini .icone { width: 44px; height: 44px; border-radius: 12px; }
.secteurs-mini .icone svg { width: 22px; height: 22px; }

/* ---------- Étapes (vraie séquence : numérotée) ---------- */
.etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: etape; }
.etapes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.etapes li { position: relative; padding-top: 72px; }
.etapes li::before {
  counter-increment: etape; content: counter(etape);
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: var(--violet); color: var(--blanc); font-weight: 700; font-size: 19px;
}
.etapes li::after {
  content: ""; position: absolute; top: 24px; left: 66px; right: -16px;
  height: 2px; background: var(--violet-voile);
}
.etapes li:last-child::after { display: none; }
.etapes h3 { font-size: 1.15rem; margin-bottom: 8px; }
.etapes p { color: var(--gris); font-size: 16px; }

/* Frise verticale (page Notre méthode) */
.frise { counter-reset: frise; }
.frise li { position: relative; padding: 0 0 34px 74px; }
.frise li::before {
  counter-increment: frise; content: counter(frise);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: var(--violet); color: var(--blanc); font-weight: 700; font-size: 19px;
}
.frise li::after { content: ""; position: absolute; left: 24px; top: 58px; bottom: 8px; width: 2px; background: var(--violet-voile); }
.frise li:last-child { padding-bottom: 0; }
.frise li:last-child::after { display: none; }
.frise h3 { padding-top: 11px; margin-bottom: 6px; font-size: 1.2rem; }
.frise p { color: var(--gris); }

/* ---------- Appels à l'action ---------- */
.appels { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; }
.appel {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  border-radius: 28px; padding: clamp(30px, 4vw, 56px);
}
.appel .actions { margin-top: 14px; }
.appel--violet { background: var(--violet); color: #EDE6FF; }
.appel--violet h2 { color: var(--blanc); }
.appel--lavande { background: var(--lavande); border: 1px solid var(--filet); }
.appel--ligne { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.appel--ligne > div:first-child { max-width: 660px; display: grid; gap: 12px; }
.appel--ligne .actions { margin-top: 0; }

/* ---------- En-tête des pages intérieures ---------- */
.page-entete { background: var(--lavande); border-bottom: 1px solid var(--filet); padding-block: clamp(36px, 5vw, 64px); overflow: hidden; }
.page-entete .conteneur { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; }
.page-entete h1 { margin-bottom: 14px; }
.page-entete h1:last-child { margin-bottom: 0; }
.page-entete .chapo { max-width: 40em; }
.page-entete .actions { margin-top: 30px; }
.page-entete-visuel { width: clamp(150px, 17vw, 230px); height: auto; }

.ariane { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 16px; font-size: 14.5px; color: var(--gris); }
.ariane li + li::before { content: "/"; margin-right: 8px; color: #B5AFC7; }
.ariane a { color: var(--violet); text-decoration: none; }
.ariane a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Expertises ---------- */
.pole-tete { display: flex; align-items: flex-start; gap: 18px; margin-bottom: clamp(26px, 3vw, 40px); }
.pole-tete p { max-width: 640px; margin-top: 8px; color: var(--gris); font-size: 1.08rem; }

.volets { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; }
.volet { background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon); }
.volet--large { grid-column: 1 / -1; }
.volet summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: clamp(24px, 2.6vw, 32px) clamp(24px, 2.6vw, 34px) 0; list-style: none; cursor: default;
}
.volet summary::-webkit-details-marker { display: none; }
.volet summary h2 { font-size: 1.3rem; letter-spacing: -0.01em; }
.volet summary svg { display: none; flex: none; width: 22px; height: 22px; color: var(--violet); transition: transform .2s; }
.volet-contenu { padding: 20px clamp(24px, 2.6vw, 34px) clamp(24px, 2.6vw, 32px); }
.volet-contenu .note { margin-top: 18px; }
.profils { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.profils li { padding-block: 16px; border-top: 1px solid var(--filet); }
.profils h3 { margin-bottom: 4px; font-size: 1.08rem; }
.profils p { color: var(--gris); font-size: 16px; }

.section--modes-court { padding-block: clamp(40px, 5vw, 64px); }
.modes-court { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px 48px; }
.modes-court > div { max-width: 760px; }
.modes-court h2 { margin-bottom: 10px; font-size: 1.5rem; }

/* ---------- Secteurs ---------- */
.carte-secteur { display: flex; flex-direction: column; gap: 14px; }
.carte-secteur h2 { font-size: 1.35rem; letter-spacing: -0.01em; }
.carte-secteur-titre { margin-top: auto; padding-top: 6px; color: var(--gris); font-size: 14.5px; font-weight: 600; }

/* ---------- Entreprise, carrières ---------- */
.zones { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.zones-titre p { margin-top: 14px; color: var(--gris); }
.fiche { display: grid; grid-template-columns: minmax(150px, max-content) minmax(0, 1fr); }
.fiche dt, .fiche dd { padding-block: 15px; border-top: 1px solid var(--filet); }
.fiche dt { padding-right: 32px; color: var(--gris); font-size: 15.5px; }
.fiche dd { color: var(--encre); font-weight: 500; }
.fiche dt:first-of-type, .fiche dd:first-of-type { border-top: 0; padding-top: 0; }
.fiche dt:last-of-type, .fiche dd:last-of-type { padding-bottom: 0; }

.groupe-pole + .groupe-pole { margin-top: clamp(36px, 4vw, 52px); }
.groupe-pole > h3 { margin-bottom: 16px; font-size: 1.15rem; }
.carte-profil h4 { margin-top: 4px; font-size: 1.15rem; font-weight: 650; }
.liste-roles { align-self: stretch; }
.liste-roles li { padding-block: 7px; border-top: 1px solid var(--filet); font-size: 15.5px; }
.liste-roles li:first-child { border-top: 0; padding-top: 0; }
.carte-profil .lien { margin-top: auto; padding-top: 4px; }

/* ---------- Actualités ---------- */
.article-pole { color: var(--violet); font-size: 14.5px; font-weight: 600; }
.carte-article h2, .carte-article h3 { font-size: 1.3rem; line-height: 1.3; letter-spacing: -0.01em; }
.carte-article h2 a, .carte-article h3 a { color: var(--encre); text-decoration: none; }
.carte-article:hover h2 a, .carte-article:hover h3 a { color: var(--violet); }
.article-date { margin-top: auto; padding-top: 4px; color: var(--gris); font-size: 14.5px; }

.article-meta { display: flex; flex-wrap: wrap; row-gap: 6px; margin-top: 20px; color: var(--gris); font-size: 15px; }
.article-meta span + span { margin-left: 14px; padding-left: 14px; border-left: 1px solid #CFC9E0; }
.article-mise { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.article { max-width: 720px; font-size: 18px; line-height: 1.75; }
.article > p:first-child { color: var(--encre); font-size: 1.12em; }
.article h2 { margin: 44px 0 12px; font-size: 1.5rem; letter-spacing: -0.015em; }
.article p + p { margin-top: 16px; }
.article ul { margin-top: 14px; }
.article ul + p { margin-top: 16px; }
.article li { position: relative; padding-left: 26px; }
.article li + li { margin-top: 10px; }
.article li::before { content: ""; position: absolute; left: 6px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.article-cote { position: sticky; top: calc(var(--entete) + 24px); display: grid; gap: 16px; }
.article-cote h2 { margin-bottom: 14px; font-size: 1.15rem; letter-spacing: -0.01em; }
.liens-icones a {
  display: flex; align-items: center; gap: 10px; padding: 8px 0;
  color: var(--encre); font-weight: 600; line-height: 1.3; text-decoration: none; transition: color .15s;
}
.liens-icones a:hover { color: var(--violet); }
.liens-icones svg { flex: none; width: 20px; height: 20px; color: var(--violet); }
.carte--violette { background: var(--violet); border-color: var(--violet); color: #EDE6FF; }
.carte--violette h2 { color: var(--blanc); }
.carte--violette .bouton { margin-top: 18px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; }
.contact h2 { margin-bottom: 22px; font-size: 1.5rem; }
.coordonnees li { display: flex; align-items: flex-start; gap: 16px; padding-block: 18px; border-top: 1px solid var(--filet); color: var(--encre); }
.coordonnees li:first-child { border-top: 0; padding-top: 0; }
.coordonnees li:last-child { padding-bottom: 0; }
.coordonnees .icone { width: 44px; height: 44px; border-radius: 12px; }
.coordonnees .icone svg { width: 22px; height: 22px; }
.coordonnees strong { display: block; color: var(--gris); font-size: 14.5px; font-weight: 500; }

.formulaire { display: grid; gap: 20px; }
.formulaire h2 { margin-bottom: 2px; }
.deux-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.champ label, .choix legend { display: block; margin-bottom: 8px; padding: 0; color: var(--encre); font-size: 15px; font-weight: 600; }
.champ input, .champ textarea, .champ select {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid #D6D1E4; border-radius: 12px;
  background-color: var(--blanc); color: var(--encre); font-size: 16px;
  transition: border-color .15s, box-shadow .15s;
}
.champ select {
  appearance: none; padding-right: 46px; cursor: pointer;
  background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B2CF5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 15px center / 18px no-repeat;
}
.champ textarea { min-height: 160px; resize: vertical; }
.champ input:focus, .champ textarea:focus, .champ select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-voile); }
.champ ::placeholder { color: #9A95AC; }

.choix { min-width: 0; padding: 0; border: 0; }
.choix-options { display: flex; flex-wrap: wrap; gap: 10px; }
.choix-options label { position: relative; cursor: pointer; }
.choix-options input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.choix-options span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1.5px solid #D6D1E4; border-radius: 999px;
  color: var(--encre); font-size: 15.5px; font-weight: 550;
  transition: border-color .15s, background-color .15s, color .15s;
}
.choix-options label:hover span { border-color: var(--violet); }
.choix-options input:checked + span { background: var(--violet-pale); border-color: var(--violet); color: var(--violet); }
.choix-options input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }

/* ---------- Pages de texte (mentions, confidentialité) ---------- */
.texte { max-width: 800px; }
.texte h2 { margin: 44px 0 12px; font-size: 1.4rem; }
.texte h2:first-child { margin-top: 0; }
.texte p + p { margin-top: 12px; }

/* ---------- Pied de page ---------- */
.pied { background: var(--encre); color: #B9B4CB; padding-block: clamp(56px, 6vw, 80px) 28px; font-size: 15.5px; }
.pied .marque { color: var(--blanc); }
.pied .marque svg { color: #A88BFF; }
.pied-haut {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 2fr) minmax(0, 3fr);
  gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.pied-haut p { margin-top: 18px; max-width: 34ch; }
.pied h3 { margin-bottom: 16px; color: var(--blanc); font-size: 15px; font-weight: 600; letter-spacing: 0; }
.pied li + li { margin-top: 10px; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--blanc); text-decoration: underline; text-underline-offset: 4px; }
.pied-bas { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 24px; color: #8F89A6; font-size: 14px; }
.pied-liens { display: flex; gap: 20px; }

/* ================================================================
   Menu repliable : en dessous de 1180px, le menu passe dans le burger
   ================================================================ */
@media (max-width: 1180px) {
  .burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 0 12px;
    border: 1.5px solid var(--filet); border-radius: 12px; background: var(--blanc); cursor: pointer;
  }
  .burger span { display: block; height: 2px; border-radius: 2px; background: var(--encre); transition: transform .2s, opacity .2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; inset: var(--entete) 0 0 0; z-index: 49;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--marge) 40px; background: var(--blanc); overflow-y: auto; overscroll-behavior: contain;
  }
  .nav.ouvert { display: flex; }
  .nav-groupe { display: block; }
  .nav-lien {
    width: 100%; justify-content: space-between; padding: 17px 4px;
    border-bottom: 1px solid var(--filet); border-radius: 0;
    font-size: 20px; font-weight: 600; text-align: left;
  }
  .nav-lien:hover { background: none; }
  .nav-declencheur svg { width: 22px; height: 22px; color: var(--violet); }
  .mega { position: static; border: 0; box-shadow: none; }
  .mega .conteneur { padding-inline: 0; }
  .mega-grille { display: block; padding: 4px 0 12px; border-bottom: 1px solid var(--filet); }
  .mega-titre, .mega-intro p:not(.mega-titre) { display: none; }
  .mega-intro .lien { display: inline-block; margin: 12px 0 6px; }
  .mega-pole { padding-top: 14px; }
  .mega-pole li a { margin-inline: 0; padding: 10px 8px; font-size: 16.5px; }
  .nav-contact { margin: 28px 0 0; min-height: 56px; font-size: 17px; }
}

/* ---------- Tablette ---------- */
@media (max-width: 1100px) {
  .cartes-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atouts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
  .secteurs-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .etapes li:nth-child(2n)::after { display: none; }
  .etapes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .etapes--3 li:nth-child(2n)::after { display: block; }
  .etapes--3 li:last-child::after { display: none; }
  .article-mise { grid-template-columns: minmax(0, 1fr); }
  .article-cote { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
  .pied-haut { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  :root { --entete: 68px; --espace: 56px; }
  .marque svg { width: 30px; height: 30px; }
  .marque span { font-size: 21px; }

  /* Haut de page compact */
  .heros { padding-block: 28px 36px; }
  .heros .conteneur { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .heros h1 { margin-bottom: 16px; font-size: clamp(2rem, 8.6vw, 2.6rem); }
  .heros .chapo { margin-bottom: 24px; font-size: 1.03rem; }
  .heros .actions { flex-wrap: nowrap; gap: 10px; }
  .heros .actions .bouton { flex: 1 1 0; min-width: 0; min-height: 50px; padding: 0 14px; }
  .heros-visuel { justify-self: end; width: min(62%, 250px); }

  .section--atouts { padding-block: 36px; }
  .atouts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .atouts .icone { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 2px; }
  .atouts .icone svg { width: 22px; height: 22px; }
  .atouts h3 { font-size: 1rem; }
  .atouts p { font-size: 14.5px; }

  .page-entete { padding-block: 28px 32px; }
  .page-entete .conteneur { grid-template-columns: minmax(0, 1fr); }
  .page-entete-visuel { display: none; }

  .cartes-3, .cartes-2, .appels, .contact, .zones, .volets { grid-template-columns: minmax(0, 1fr); }
  .etapes--3 { grid-template-columns: minmax(0, 1fr); }
  .etapes--3 li::after { display: none !important; }
  .modes-court { align-items: flex-start; }

  /* Cartes à faire glisser */
  .defilant {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%;
    gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--marge)); padding: 2px var(--marge) 10px; scroll-padding-inline: var(--marge);
    scrollbar-width: none;
  }
  .defilant::-webkit-scrollbar { display: none; }
  .defilant > * { scroll-snap-align: start; }

  /* Détails repliables (pages d'expertise) */
  .volets { gap: 12px; }
  .volet summary { padding: 20px 22px; cursor: pointer; }
  .volet summary h2 { font-size: 1.15rem; }
  .volet summary svg { display: block; }
  .volet[open] summary svg { transform: rotate(180deg); }
  .volet-contenu { padding: 0 22px 22px; }
  .profils { grid-template-columns: minmax(0, 1fr); }

  /* Bouton Contact toujours visible */
  .contact-fixe {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40;
    min-height: 54px; box-shadow: 0 14px 30px -12px rgba(107, 44, 245, .6);
    transform: translateY(160%); transition: transform .25s ease;
  }
  .contact-fixe.visible { transform: none; }
  body.menu-ouvert .contact-fixe { transform: translateY(160%); }
  .pied { padding-bottom: 104px; }
}

@media (max-width: 560px) {
  .cartes-4:not(.defilant), .etapes, .deux-champs, .pied-haut, .secteurs-mini { grid-template-columns: minmax(0, 1fr); }
  .etapes li::after { display: none; }
  .etapes li { padding-top: 0; padding-left: 66px; min-height: 50px; }
  .frise li { padding-left: 66px; }
  .page-entete .actions .bouton, .appel .bouton, .carte--violette .bouton { width: 100%; }
  .appel { border-radius: 22px; }
  .article { font-size: 17px; }
  .article-cote { grid-template-columns: minmax(0, 1fr); }
  .fiche { grid-template-columns: minmax(0, 1fr); }
  .fiche dt { padding-bottom: 2px; }
  .fiche dd { border-top: 0; padding-top: 0; }
  .choix-options label { flex: 1 1 auto; }
  .choix-options span { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
