/*
Theme Name: ichamo digital
Theme URI: https://ichamodigital.com
Author: ichamo digital
Description: Thème bloc sur mesure pour ichamo digital, agence WordPress. Fond nuit, accent violet unique, boutons pilule à pointe corail. Tout le contenu est composé de blocs natifs et se modifie dans l'éditeur.
Version: 1.0.2
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ichamo
Tags: block-theme, full-site-editing, business, portfolio
*/

:root {
  --nuit: #08030E;
  --nuit-2: #110A1B;
  --aubergine: #1D1626;
  --marine-violet: #120A2E;
  --violet: #9E21FB;
  --violet-vif: #8404F9;
  --violet-profond: #5939A8;
  --lavande: #CDA1FA;
  --blanc: #FFFFFF;
  --nuage: #F8F8F8;
  --encre: #0E0A14;
  --gris: #5F5A66;
  --gris-clair: rgba(255, 255, 255, .64);
  --trait: rgba(255, 255, 255, .13);
  --pointe: linear-gradient(135deg, #FC2EB5 0%, #FF5442 100%);
  --police: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --largeur: 1200px;
  --rayon: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  position: relative;
  margin: 0;
  font-family: var(--police);
  font-size: 16px;
  line-height: 1.6;
  color: var(--encre);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* height:auto obligatoire : sinon l'attribut height des blocs image l'emporte sur le cadrage CSS */
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
figure.wp-block-image { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -.028em;
  line-height: 1.08;
  hyphens: none;
  text-wrap: balance;
}
h2 { font-size: clamp(32px, 3.6vw, 50px); }
h3 { font-size: 18px; letter-spacing: -.015em; line-height: 1.25; }

/* Gutenberg ajoute un espacement automatique entre blocs frères : coupé à la source
   dans theme.json (blockGap 0px) et, en filet de sécurité, ICI À SPÉCIFICITÉ NULLE —
   jamais en .wp-block-group > * : ça écraserait toutes les marges des composants. */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }

.enveloppe { width: min(var(--largeur), 100% - 48px); margin-inline: auto; }
.sombre { background: var(--nuit); color: var(--blanc); }
.centre { text-align: center; }

.surtitre {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--violet);
}
.sombre .surtitre, .hero .surtitre { color: var(--lavande); }

/* ---------- Icônes : masques CSS (aucun SVG dans le contenu) ---------- */
.ic-code     { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='4' width='19' height='13' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4M7 9l-2 2 2 2M17 9l2 2-2 2M13.5 8l-3 6'/%3E%3C/svg%3E"); }
.ic-palette  { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18c1.1 0 1.7-.8 1.7-1.7 0-.5-.2-.9-.5-1.2-.3-.3-.5-.7-.5-1.2 0-.9.8-1.7 1.7-1.7h2A4.6 4.6 0 0 0 21 10.6C21 6.4 17 3 12 3Z'/%3E%3Ccircle cx='7.5' cy='11' r='1.2'/%3E%3Ccircle cx='10' cy='7' r='1.2'/%3E%3Ccircle cx='15' cy='7.5' r='1.2'/%3E%3C/svg%3E"); }
.ic-seo      { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m20 20-4.8-4.8M7.5 12l2-2 1.5 1.5 3-3'/%3E%3C/svg%3E"); }
.ic-bouclier { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4.5 6v5.5c0 4.5 3.2 8.3 7.5 9.5 4.3-1.2 7.5-5 7.5-9.5V6L12 3Z'/%3E%3Cpath d='m8.5 12 2.5 2.5 4.5-5'/%3E%3C/svg%3E"); }
.ic-crayon   { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l3.8-1 10.7-10.7a2.1 2.1 0 0 0-3-3L4.8 16 4 20Z'/%3E%3Cpath d='m13.8 6.8 3 3'/%3E%3C/svg%3E"); }
.ic-eclair   { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2.5 4.5 13.5h6.5l-1 8 8.5-11h-6.5l1-8Z'/%3E%3C/svg%3E"); }
.ic-reglages { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h9M17 6h3M4 12h3M11 12h9M4 18h11M19 18h1'/%3E%3Ccircle cx='15' cy='6' r='2'/%3E%3Ccircle cx='9' cy='12' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E"); }
.ic-bulle    { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 12a8.5 8.5 0 0 1-12.3 7.6L3.5 20.5l1-4.5A8.5 8.5 0 1 1 20.5 12Z'/%3E%3Cpath d='M8.5 10.5h7M8.5 14h4.5'/%3E%3C/svg%3E"); }
.ic-vitrine  { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18M6.5 6.5h.01M9 6.5h.01M7 13h6M7 16h4'/%3E%3C/svg%3E"); }
.ic-panier   { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.5l2.2 11h10.6l2.2-8H6.6'/%3E%3Ccircle cx='9.5' cy='19' r='1.5'/%3E%3Ccircle cx='17' cy='19' r='1.5'/%3E%3C/svg%3E"); }
.ic-cible    { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='4.5'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E"); }
.ic-refonte  { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.5 10.5A8 8 0 0 0 5.6 6.3L4 8M4 4v4h4M4.5 13.5a8 8 0 0 0 13.9 4.2L20 16M20 20v-4h-4'/%3E%3C/svg%3E"); }
.ic-mail     { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.5 6.5 8.5 6.5 8.5-6.5'/%3E%3C/svg%3E"); }
.ic-tel      { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h3.5l2 5-2.5 1.5a11 11 0 0 0 5.5 5.5l1.5-2.5 5 2V19a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E"); }

/* ---------- Boutons (core/button : la classe est sur le conteneur, le style sur le lien) ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 36px; }
.wp-block-button.bouton, .wp-block-button.lien-fleche, .wp-block-button.rond-fleche {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.wp-block-button.bouton .wp-block-button__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 14px 34px 14px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--violet);
  color: var(--blanc);
  font-family: var(--police);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
  box-shadow: 0 10px 28px -10px rgba(158, 33, 251, .85);
  transition: transform .25s ease, box-shadow .25s ease;
}
.wp-block-button.bouton .wp-block-button__link::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--pointe);
  transform: translateY(-50%);
  box-shadow: 0 0 14px rgba(252, 46, 181, .75);
  transition: transform .25s ease;
}
.wp-block-button.bouton .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(158, 33, 251, 1); }
.wp-block-button.bouton .wp-block-button__link:hover::after { transform: translateY(-50%) scale(1.15); }
.wp-block-button.bouton-petit .wp-block-button__link { padding: 10px 28px 10px 20px; font-size: 13px; }
.wp-block-button.bouton-petit .wp-block-button__link::after { width: 16px; height: 16px; right: -5px; }

.wp-block-button.lien-fleche .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
}
.wp-block-button.lien-fleche .wp-block-button__link::after { content: "→"; transition: transform .25s ease; }
.wp-block-button.lien-fleche .wp-block-button__link:hover::after { transform: translateX(4px); }
.wp-block-buttons.centre { justify-content: center; }
.wp-block-buttons.avec-trait::before {
  content: "";
  flex: 0 0 100%;
  height: 2px;
  margin: 64px 0 34px;
  background: linear-gradient(90deg, rgba(158, 33, 251, 0) 0%, var(--violet) 30%, var(--violet) 70%, rgba(158, 33, 251, 0) 100%);
  box-shadow: 0 0 18px rgba(158, 33, 251, .8);
}

/* ---------- Logo (paragraphe : le sigle est un pseudo-élément) ---------- */
.logo a {
  display: inline-grid;
  grid-template-columns: 38px auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  color: var(--blanc);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
}
.logo a::before {
  content: "i";
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--rayon);
  background: linear-gradient(145deg, var(--violet) 0%, var(--violet-profond) 100%);
  font-size: 22px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.logo em {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--lavande);
}

/* ---------- En-tête ---------- */
.entete {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  color: var(--blanc);
}
.barre-info {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, .7);
}
.barre-info-contact a + a { margin-left: 24px; }
.barre-info a:hover { color: var(--blanc); }
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 10px 14px 10px 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(8, 3, 14, .78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.wp-block-navigation.nav-menu { flex: 1; gap: 30px; font-size: 14px; font-weight: 500; }
.wp-block-navigation.nav-menu .wp-block-navigation__container { gap: 30px; }
.wp-block-navigation.nav-menu .wp-block-navigation-item__content {
  padding: 0;
  color: rgba(255, 255, 255, .78);
  transition: color .2s;
}
.wp-block-navigation.nav-menu .wp-block-navigation-item__content:hover { color: var(--blanc); }
.wp-block-navigation.nav-menu .current-menu-item > .wp-block-navigation-item__content {
  padding-bottom: 4px;
  color: var(--blanc);
  box-shadow: 0 2px 0 var(--violet);
}
.nav-cta { margin-left: auto; margin-right: 6px; }
/* Le panneau mobile de core/navigation s'ouvre blanc sur blanc sans ceci
   (le CSS du bloc est imprimé APRÈS cette feuille) : seul !important justifié du thème. */
.wp-block-navigation.nav-menu .wp-block-navigation__responsive-container.is-menu-open {
  padding: 28px 24px;
  background-color: var(--nuit) !important;
  color: var(--blanc) !important;
}
.wp-block-navigation.nav-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 22px; }
.wp-block-navigation.nav-menu .is-menu-open .wp-block-navigation-item__content { font-size: 24px; font-weight: 700; color: var(--blanc); }
.wp-block-navigation.nav-menu .wp-block-navigation__responsive-container-open,
.wp-block-navigation.nav-menu .wp-block-navigation__responsive-container-close { color: var(--blanc); }
.wp-block-navigation.nav-menu .wp-block-navigation__responsive-container-open {
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: var(--rayon);
  background: rgba(255, 255, 255, .08);
  align-items: center;
  justify-content: center;
}

/* ---------- Héros ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 800px;
  padding: 170px 0 120px;
  overflow: hidden;
  background: var(--nuit);
  color: var(--blanc);
}
.hero-photo { position: absolute; inset: 0; }
figure.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 3, 14, .92) 0%, rgba(8, 3, 14, .62) 38%, rgba(8, 3, 14, 0) 68%),
    linear-gradient(0deg, rgba(8, 3, 14, .75) 0%, rgba(8, 3, 14, 0) 32%);
}
.hero-contenu { position: relative; z-index: 2; }
.hero h1 {
  max-width: 900px;
  font-size: clamp(40px, 4.7vw, 68px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.02;
}
.hero-texte { max-width: 500px; margin: 26px 0 40px; font-size: 17px; color: rgba(255, 255, 255, .78); }
/* dernier enfant quand il n'y a pas de boutons : WordPress remet sa marge basse à zéro en (0,2,0) */
.hero .hero-contenu .hero-texte { margin: 26px 0 40px; }
.hero-onglet {
  position: absolute;
  right: max(24px, (100% - var(--largeur)) / 2);
  bottom: 0;
  z-index: 2;
  display: flex;
  gap: 0;
  margin: 0;
  padding: 16px 10px 14px;
  border-radius: var(--rayon) var(--rayon) 0 0;
  background: linear-gradient(90deg, var(--violet-profond) 0%, #7A45DD 50%, #A575F5 100%);
  color: var(--blanc);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 -12px 40px -14px rgba(158, 33, 251, .75), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.hero-onglet > li { padding: 0 16px; }
.hero-onglet > li + li { border-left: 1px solid rgba(255, 255, 255, .25); }
.hero-onglet a { color: rgba(255, 255, 255, .85); transition: color .2s; }
.hero-onglet a:hover { color: var(--blanc); }

/* ---------- Offre ---------- */
.offre { padding: 120px 0 110px; }
.offre-tete {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 60px;
}
.offre-tete > p { max-width: 400px; justify-self: end; color: var(--gris-clair); }
.grille-offre { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.carte-offre {
  position: relative;
  padding: 34px 28px 36px;
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0));
  transition: border-color .3s, transform .3s, background .3s;
}
.carte-offre:hover { border-color: rgba(158, 33, 251, .7); transform: translateY(-4px); background: linear-gradient(180deg, rgba(158, 33, 251, .12), rgba(158, 33, 251, 0)); }
.carte-offre::before {
  content: "";
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  border-radius: var(--rayon);
  background: rgba(158, 33, 251, .14);
}
.carte-offre::after {
  content: "";
  position: absolute;
  top: 47px;
  left: 41px;
  width: 26px;
  height: 26px;
  background: var(--lavande);
  -webkit-mask: var(--ic) center / contain no-repeat;
  mask: var(--ic) center / contain no-repeat;
}
.carte-offre h3 { margin: 0 0 12px; }
.carte-offre p { font-size: 14.5px; color: var(--gris-clair); }

/* ---------- Chiffres ---------- */
.chiffres {
  position: relative;
  padding: 0 0 130px;
  background:
    radial-gradient(ellipse 45% 70% at 85% 40%, rgba(122, 43, 214, .55) 0%, rgba(122, 43, 214, 0) 100%),
    radial-gradient(ellipse 35% 45% at 30% 100%, rgba(90, 30, 150, .4) 0%, rgba(90, 30, 150, 0) 100%),
    var(--nuit);
  overflow: hidden;
}
.chiffres::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  background: url("assets/img/lignes.svg") center / cover no-repeat;
  opacity: .85;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
}
.chiffres-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 47%;
  height: 560px;
}
figure.chiffres-photo img { width: 100%; height: 100%; object-fit: cover; }
.chiffres-carte {
  position: relative;
  z-index: 1;
  width: min(640px, 52%);
  margin: 220px 0 0 max(38%, (100% - var(--largeur)) / 2 + 420px);
  padding: 56px 56px 60px;
  border-radius: var(--rayon);
  background: var(--nuage);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .85), 0 0 70px -20px rgba(158, 33, 251, .55);
}
.chiffres-carte h2 { font-size: clamp(28px, 2.8vw, 40px); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 44px; }
.stat h3 { font-size: 16px; margin-bottom: 8px; }
.stat p { font-size: 14px; color: var(--gris); }
.stat .stat-valeur {
  margin-bottom: 18px;
  font-size: clamp(44px, 4.6vw, 64px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--violet-vif);
}
.stat-mot .stat-valeur { font-size: clamp(38px, 3.8vw, 54px); }

/* ---------- L'agence ---------- */
.apropos { position: relative; padding: 130px 0 0; overflow: hidden; }
.apropos-tete { text-align: center; margin-bottom: 70px; }
.apropos-tete h2 { font-size: clamp(40px, 5vw, 68px); font-weight: 800; }
.apropos-corps {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 70px;
  padding-bottom: 110px;
}
/* sélecteur renforcé : figure.wp-block-image { margin: 0 } (0,1,1) écraserait le débordement à gauche */
.apropos-corps .apropos-photo {
  position: relative;
  margin-left: calc(-1 * max(24px, (100vw - var(--largeur)) / 2));
  height: 520px;
}
figure.apropos-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.apropos-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 3, 14, .1) 0%, rgba(8, 3, 14, 0) 60%, rgba(8, 3, 14, .55) 100%);
}
.apropos-texte .grand { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; margin-bottom: 16px; }
.apropos-texte > p:not(.grand) { color: var(--gris-clair); }
.coches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  margin: 34px 0 42px;
  padding-top: 30px;
  border-top: 1px solid var(--trait);
  font-size: 14.5px;
  font-weight: 500;
}
.coches li { display: flex; align-items: flex-start; gap: 12px; }
.coches li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.bande {
  position: relative;
  background: linear-gradient(90deg, var(--violet-profond) 0%, #7A45DD 45%, #A575F5 100%);
  color: var(--blanc);
}
.bande::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
.bande-etapes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  counter-reset: etape;
}
.bande-etapes li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 34px 24px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  counter-increment: etape;
}
.bande-etapes li::before {
  content: counter(etape, decimal-leading-zero);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .6);
}
.bande-etapes li + li { border-left: 1px solid rgba(255, 255, 255, .22); }
.bande-etapes li:first-child { padding-left: 0; }

/* ---------- Design & stratégie ---------- */
.methode {
  position: relative;
  padding: 130px 0 120px;
  background:
    radial-gradient(ellipse 60% 55% at 85% 100%, rgba(122, 43, 214, .55) 0%, rgba(122, 43, 214, 0) 100%),
    radial-gradient(ellipse 50% 40% at 10% 0%, rgba(58, 30, 90, .6) 0%, rgba(58, 30, 90, 0) 100%),
    linear-gradient(180deg, var(--aubergine) 0%, var(--nuit) 100%);
}
.methode-tete { max-width: 760px; margin: 0 auto 80px; text-align: center; }
.surtitre-neon { position: relative; padding-right: 140px; }
.surtitre-neon::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 124px;
  height: 1px;
  background: linear-gradient(90deg, rgba(205, 161, 250, .2), var(--violet));
}
.surtitre-neon::before {
  content: "";
  position: absolute;
  right: -4px;
  top: calc(50% - 4px);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pointe);
  box-shadow: 0 0 12px #FC2EB5;
}
.schema {
  display: grid;
  grid-template-columns: 290px 1fr 290px;
  grid-template-rows: auto auto;
  gap: 40px 64px;
  margin-bottom: 70px;
}
.schema-cadre {
  grid-column: 2;
  grid-row: 1 / 3;
  padding: 26px;
  border: 1px solid rgba(158, 33, 251, .45);
  border-radius: var(--rayon);
  background: rgba(8, 3, 14, .35);
  box-shadow: 0 0 60px -20px rgba(158, 33, 251, .6);
}
.schema-cadre figure.wp-block-image { height: 100%; min-height: 420px; }
.schema-cadre figure img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.schema-carte {
  position: relative;
  align-self: start;
  padding: 30px 28px 32px;
  border-radius: var(--rayon);
  background: var(--marine-violet);
  box-shadow: inset 0 0 0 1px rgba(205, 161, 250, .1);
}
.schema .schema-carte.schema-1 { grid-column: 1; grid-row: 1; margin-top: 20px; }
.schema-2 { grid-column: 1; grid-row: 2; }
.schema-3 { grid-column: 3; grid-row: 2; margin-top: -60px; align-self: center; }
.schema-carte h3 { margin-bottom: 12px; font-size: 19px; }
.schema-carte p { font-size: 14px; color: var(--gris-clair); }
.schema-carte .num {
  position: absolute;
  top: -34px;
  left: 4px;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(205, 161, 250, .35);
}
/* liaisons entre cartes et cadre */
.schema-carte::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 65px;
  height: 1px;
  background: linear-gradient(90deg, var(--violet), rgba(158, 33, 251, .3));
}
.schema-1::after, .schema-2::after { left: 100%; }
.schema-3::after { right: 100%; background: linear-gradient(90deg, rgba(158, 33, 251, .3), var(--violet)); }
.schema-carte::before {
  content: "";
  position: absolute;
  top: calc(50% - 4px);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 10px var(--violet);
}
.schema-1::before, .schema-2::before { left: calc(100% + 60px); }
.schema-3::before { right: calc(100% + 60px); }

/* ---------- Réalisations ---------- */
.realisations {
  position: relative;
  padding: 130px 0 120px;
  background:
    radial-gradient(ellipse 40% 50% at 0% 70%, rgba(205, 161, 250, .35) 0%, rgba(205, 161, 250, 0) 100%),
    var(--blanc);
  overflow: hidden;
}
.realisations h2 { max-width: 820px; font-size: clamp(32px, 3.8vw, 54px); font-weight: 800; }
.collage {
  position: relative;
  display: flex;
  width: 92%;
  margin: 70px 0 56px;
}
/* la barre violette décorative : un pseudo-élément, jamais un bloc vide */
.collage::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -2%;
  top: -90px;
  width: 64px;
  height: 330px;
  background: linear-gradient(180deg, rgba(164, 40, 255, 0) 0%, rgba(164, 40, 255, .55) 45%, #A428FF 100%);
}
.tri {
  position: relative;
  z-index: 1;
  flex: none;
  width: 50%;
  aspect-ratio: 1 / .866;
}
.tri + .tri { margin-left: calc(-25% + 10px); }
figure.tri img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
figure.tri:hover img { transform: scale(1.05); }
.tri-haut { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.tri-bas { clip-path: polygon(0 0, 100% 0, 50% 100%); }
.realisations-bas {
  display: grid;
  grid-template-columns: minmax(0, 620px) auto;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}
.realisations-bas h3 { font-size: 22px; margin-bottom: 12px; }
.realisations-bas p { color: var(--gris); }

/* ---------- Accompagnement ---------- */
.accompagnement {
  position: relative;
  padding: 0 0 130px;
  background:
    radial-gradient(ellipse 45% 60% at 100% 30%, rgba(90, 30, 150, .45) 0%, rgba(90, 30, 150, 0) 100%),
    var(--nuit);
}
.accompagnement::before, .appel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/img/lignes.svg") center / cover no-repeat;
  opacity: .9;
  pointer-events: none;
}
.acc-grille {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: start;
}
/* premier enfant du groupe : WordPress remet sa marge haute à zéro en (0,2,0), d'où le sélecteur renforcé */
.accompagnement .acc-grille > .acc-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: -90px;
}
.acc-photos figure { height: 360px; overflow: hidden; border-radius: var(--rayon); }
.acc-photos figure:nth-child(2) { margin-top: 70px; }
.acc-photos figure img { width: 100%; height: 100%; object-fit: cover; }
.acc-texte { padding-top: 110px; }
.acc-texte h2 { margin-bottom: 40px; }
.acc-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--trait);
}
.acc-item:last-child { border-bottom: 1px solid var(--trait); }
.acc-item h3 { font-size: 16px; }
.acc-item p { font-size: 14.5px; color: var(--gris-clair); }
.acc-grille .rond { position: absolute; right: 0; bottom: -70px; }
.wp-block-button.rond-fleche .wp-block-button__link {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  padding: 0;
  border: 1.5px solid var(--violet);
  border-radius: 50%;
  background: transparent;
  color: transparent;
  font-size: 0;
  box-shadow: 0 0 30px -6px rgba(158, 33, 251, .8), inset 0 0 20px -8px rgba(158, 33, 251, .9);
  transition: background .3s;
}
.wp-block-button.rond-fleche .wp-block-button__link::before {
  content: "";
  width: 24px;
  height: 24px;
  background: var(--lavande);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%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 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wp-block-button.rond-fleche .wp-block-button__link:hover { background: rgba(158, 33, 251, .2); }

/* ---------- FAQ (core/details) ---------- */
.faq { padding: 130px 0; background: var(--blanc); }
.faq-tete {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 54px;
}
.faq .faq-tete h2 { max-width: 560px; margin-bottom: 30px; font-size: clamp(34px, 4vw, 56px); font-weight: 800; }
.faq-tete > p { max-width: 380px; justify-self: end; font-size: 15px; color: var(--gris); }
.faq-tete > p a { color: var(--violet); font-weight: 600; }
.faq-liste { display: grid; gap: 10px; }
.faq-item {
  border-radius: var(--rayon);
  background: var(--nuage);
  overflow: hidden;
  transition: background .3s;
}
.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 20px 90px 20px 30px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #D9D6DE;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform .3s;
}
.faq-item[open] {
  background:
    radial-gradient(ellipse 34% 120% at 0% 100%, rgba(246, 211, 239, .95) 0%, rgba(214, 140, 240, .55) 45%, rgba(214, 140, 240, 0) 100%),
    linear-gradient(100deg, #9A34DA 0%, #8A22D2 45%, #7A16D9 100%);
  color: var(--blanc);
}
.faq-item[open] summary::after { content: "–"; border-color: rgba(255, 255, 255, .5); }
.faq-reponse {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 90px 28px 30px;
}
.faq-reponse figure { flex: none; width: 150px; height: 96px; border-radius: 6px; overflow: hidden; }
.faq-reponse figure img { width: 100%; height: 100%; object-fit: cover; }
.faq-reponse p { max-width: 720px; font-size: 15px; }
.faq-item[open] summary, .faq-item[open] .faq-reponse p { color: var(--blanc); }

/* ---------- Pied de page ---------- */
.pied {
  position: relative;
  padding-top: 110px;
  overflow: hidden;
  border-top: 1px solid var(--trait);
  background:
    radial-gradient(ellipse 40% 50% at 15% 100%, rgba(158, 33, 251, .35) 0%, rgba(158, 33, 251, 0) 100%),
    radial-gradient(ellipse 35% 45% at 90% 85%, rgba(255, 84, 66, .16) 0%, rgba(255, 84, 66, 0) 100%),
    var(--nuit);
}
.pied-grille {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 80px;
}
.pied-marque > p:not(.logo) { max-width: 330px; margin: 22px 0 32px; font-size: 14.5px; color: var(--gris-clair); }
.pied-col h3 { margin-bottom: 20px; font-size: 14px; letter-spacing: .02em; color: var(--lavande); }
.pied-col ul { display: grid; gap: 10px; font-size: 14.5px; color: var(--gris-clair); }
.pied-col a:hover { color: var(--blanc); }
.defilant {
  border-top: 1px solid var(--trait);
  border-bottom: 1px solid var(--trait);
  overflow: hidden;
  white-space: nowrap;
}
.defilant-piste {
  display: inline-flex;
  animation: defiler 36s linear infinite;
}
.defilant-piste > p {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding: 26px 40px 34px 0;
  font-size: clamp(64px, 10vw, 150px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1;
}
.defilant-piste > p::before {
  content: "";
  width: .32em;
  height: .62em;
  background: var(--violet);
  box-shadow: 0 0 30px rgba(158, 33, 251, .8);
}
@keyframes defiler { to { transform: translateX(-50%); } }
.pied-bas {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 30px;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

/* ==========================================================
   Pages internes — mêmes jetons, mêmes composants
   ========================================================== */

.hero-page { min-height: 640px; padding: 200px 0 140px; }
.hero-page h1 { max-width: 860px; font-size: clamp(40px, 4.5vw, 66px); }
.hero-page .hero-texte { max-width: 560px; }

.intro { padding: 130px 0; background: var(--blanc); }
.intro-grille {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: start;
}
.intro h2 { font-size: clamp(32px, 3.6vw, 52px); font-weight: 800; }
.intro-texte { display: grid; gap: 20px; padding-top: 8px; font-size: 17px; color: var(--gris); }
.intro .stats {
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 80px;
  padding-top: 56px;
  border-top: 1px solid #E8E6EC;
}

.grille-etapes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 100px 0 70px;
}
.grille-etapes .schema-carte { align-self: stretch; }
.grille-etapes .schema-carte::before { display: none; }
.grille-etapes .schema-carte::after { left: 100%; width: 28px; }
.grille-etapes .schema-carte:last-child::after { display: none; }

.appel {
  position: relative;
  padding: 150px 0;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse 55% 70% at 50% 115%, rgba(122, 43, 214, .65) 0%, rgba(122, 43, 214, 0) 100%),
    var(--nuit);
}
.appel::before { opacity: .55; }
.appel .enveloppe { position: relative; }
.appel h2 { max-width: 860px; margin: 0 auto 24px; font-size: clamp(36px, 4.6vw, 66px); font-weight: 800; }
.appel p:not(.surtitre) { max-width: 560px; margin: 0 auto 44px; font-size: 17px; color: var(--gris-clair); }

/* Projets */
.galerie { padding: 130px 0; background: var(--blanc); }
.galerie-tete {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px 40px;
  margin-bottom: 56px;
}
.galerie-tete h2 { max-width: 560px; font-size: clamp(32px, 3.6vw, 52px); font-weight: 800; }
.filtres { display: flex; flex-wrap: wrap; gap: 8px; }
.filtre {
  padding: 11px 20px;
  border: 1px solid #E1DEE6;
  border-radius: 999px;
  background: var(--blanc);
  color: var(--encre);
  font: 600 13px/1.2 var(--police);
  cursor: pointer;
  user-select: none;
  transition: border-color .2s, color .2s, background .2s, box-shadow .2s;
}
.filtre:hover { border-color: var(--violet); color: var(--violet); }
.filtre.est-actif {
  border-color: var(--violet);
  background: var(--violet);
  color: var(--blanc);
  box-shadow: 0 8px 20px -10px rgba(158, 33, 251, .9);
}
.grille-projets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }
.carte-projet.est-masque { display: none; }
.carte-projet figure.wp-block-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--rayon);
  background: var(--nuit);
}
.carte-projet figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.carte-projet:hover figure img { transform: scale(1.05); }
.carte-projet figure figcaption {
  position: absolute;
  left: 14px;
  top: 14px;
  margin: 0;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(8, 3, 14, .78);
  color: var(--blanc);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.carte-projet h3 { margin: 22px 0 8px; font-size: 20px; }
.carte-projet p { font-size: 14.5px; color: var(--gris); }

/* Contact */
.contact { position: relative; z-index: 3; padding: 0 0 130px; background: var(--blanc); }
.contact-grille {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.contact-infos { padding-top: 110px; }
.contact-infos h2 { margin-bottom: 20px; font-size: clamp(32px, 3.4vw, 48px); font-weight: 800; }
.contact-infos > p { margin-bottom: 40px; color: var(--gris); }
.coordonnees { display: grid; gap: 14px; }
.coordonnee {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 18px;
  padding: 20px 22px;
  border-radius: var(--rayon);
  background: var(--nuage);
  transition: background .25s, transform .25s;
}
.coordonnee:hover { background: #F2E7FE; transform: translateX(4px); }
.coordonnee::before {
  content: "";
  grid-row: 1 / 3;
  width: 52px;
  height: 52px;
  border-radius: var(--rayon);
  background: rgba(158, 33, 251, .1);
}
.coordonnee::after {
  content: "";
  position: absolute;
  left: 35px;
  top: calc(50% - 13px);
  width: 26px;
  height: 26px;
  background: var(--violet);
  -webkit-mask: var(--ic) center / contain no-repeat;
  mask: var(--ic) center / contain no-repeat;
}
.coordonnee-label { align-self: end; font-size: 13px; color: var(--gris); }
.coordonnee-valeur { align-self: start; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
/* toute la carte est cliquable : le lien s'étend à la carte */
.coordonnee-valeur a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.formulaire {
  position: relative;
  margin-top: -200px;
  padding: 50px 48px 48px;
  overflow: hidden;
  border: 1px solid rgba(158, 33, 251, .35);
  border-radius: var(--rayon);
  background:
    radial-gradient(ellipse 60% 45% at 100% 0%, rgba(122, 43, 214, .45) 0%, rgba(122, 43, 214, 0) 100%),
    var(--nuit-2);
  color: var(--blanc);
  box-shadow: 0 50px 90px -40px rgba(8, 3, 14, .7);
}
.formulaire h3 { font-size: 26px; }
.formulaire > p { margin-top: 8px; font-size: 14.5px; color: var(--gris-clair); }

/* Contact Form 7 : les classes de la maquette sont posées dans le gabarit du formulaire */
.formulaire .wpcf7 { margin-top: 32px; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.champ { display: grid; gap: 8px; align-content: start; }
.champ-large { grid-column: 1 / -1; }
.champ label { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .78); }
.champ .wpcf7-form-control-wrap { display: block; }
.champ input, .champ select, .champ textarea {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--trait);
  border-radius: 6px;
  background: rgba(255, 255, 255, .04);
  color: var(--blanc);
  font: 400 15px/1.4 var(--police);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.champ select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CDA1FA' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.champ select option { color: var(--encre); }
.champ textarea { min-height: 150px; resize: vertical; }
.champ input::placeholder, .champ textarea::placeholder { color: rgba(255, 255, 255, .35); }
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: none;
  border-color: var(--violet);
  background: rgba(158, 33, 251, .08);
  box-shadow: 0 0 0 3px rgba(158, 33, 251, .25);
}
.consentement { margin-bottom: 30px; font-size: 13px; color: var(--gris-clair); }
.consentement .wpcf7-form-control-wrap, .consentement .wpcf7-form-control, .consentement .wpcf7-list-item { display: block; margin: 0; }
.consentement label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.consentement input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--violet); }
.envoi { position: relative; display: inline-block; }
.envoi::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--pointe);
  transform: translateY(-50%);
  box-shadow: 0 0 14px rgba(252, 46, 181, .75);
  pointer-events: none;
}
.formulaire .wpcf7-submit {
  padding: 14px 34px 14px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--violet);
  color: var(--blanc);
  font: 600 14px/1.2 var(--police);
  cursor: pointer;
  box-shadow: 0 10px 28px -10px rgba(158, 33, 251, .85);
  transition: transform .25s ease, box-shadow .25s ease;
}
.formulaire .wpcf7-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(158, 33, 251, 1); }
.envoi .wpcf7-spinner { position: absolute; left: 100%; top: 50%; margin: -12px 0 0 24px; }
.formulaire .wpcf7-not-valid-tip { margin-top: 6px; font-size: 12.5px; color: #FF9EB6; }
.formulaire .wpcf7 form .wpcf7-response-output {
  margin: 22px 0 0;
  padding: 12px 16px;
  border: 1px solid var(--lavande);
  border-radius: 6px;
  font-size: 14px;
  color: var(--blanc);
}

/* ---------- Gabarits sans héros (articles, archives, 404) ---------- */
.bandeau { padding: 200px 0 90px; }
.bandeau h1 { max-width: 860px; font-size: clamp(38px, 4.2vw, 60px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.bandeau .hero-texte { margin-bottom: 0; }
.contenu { padding: 90px 0 120px; }
.contenu .wp-block-post-content > * + * { margin-top: 1.2em; }
.contenu h2 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 1.6em; }
.contenu a { color: var(--violet); text-decoration: underline; }
.liste-articles .wp-block-post-template { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.liste-articles .wp-block-post-title { margin: 16px 0 8px; font-size: 20px; }
.liste-articles .wp-block-post-excerpt { font-size: 14.5px; color: var(--gris); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .defilant-piste { animation: none; }
  * { transition: none !important; }
}

/* ---------- Tablette ---------- */
@media (max-width: 1080px) {
  .wp-block-navigation.nav-menu, .wp-block-navigation.nav-menu .wp-block-navigation__container { gap: 20px; }
  .grille-offre { grid-template-columns: 1fr 1fr; }
  .schema { grid-template-columns: 1fr 1fr; gap: 50px 24px; }
  .schema-cadre { grid-column: 1 / -1; grid-row: 1; }
  .schema-cadre figure.wp-block-image { min-height: 340px; }
  .schema .schema-carte.schema-1, .schema-2, .schema-3 { grid-column: auto; grid-row: auto; margin-top: 30px; align-self: stretch; }
  .schema-carte::before, .schema-carte::after { display: none; }
  .chiffres-carte { width: auto; margin: 300px 24px 0 18%; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .grille-etapes { grid-template-columns: 1fr 1fr; row-gap: 70px; }
  .grille-etapes .schema-carte::after { display: none; }
  .grille-projets { grid-template-columns: 1fr 1fr; }
  .liste-articles .wp-block-post-template { grid-template-columns: 1fr 1fr; }
  .contact-grille { gap: 40px; }
  .formulaire { padding: 40px 32px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .barre-info { display: none; }
  .entete { top: 12px; }
  .nav { gap: 16px; }
  /* WordPress pose « body .is-layout-flex { display:flex } » (0,1,1) : masquer le conteneur avec un sélecteur plus fort */
  .nav .wp-block-buttons.nav-cta { display: none; }
  .wp-block-navigation.nav-menu, .wp-block-navigation.nav-menu .wp-block-navigation__container { gap: 16px; font-size: 13px; }

  .hero { min-height: 0; padding: 150px 0 130px; }
  .hero::before { background: linear-gradient(0deg, rgba(8, 3, 14, .95) 0%, rgba(8, 3, 14, .55) 60%, rgba(8, 3, 14, .35) 100%); }
  .hero-onglet { left: 24px; right: 24px; flex-wrap: wrap; justify-content: center; row-gap: 6px; padding: 12px 6px; font-size: 12px; }
  .hero-onglet > li { padding: 0 10px; }
  .hero-onglet > li:nth-child(3) { border-left: 0; }

  .offre, .apropos, .methode, .realisations, .faq { padding-top: 90px; }
  .offre { padding-bottom: 80px; }
  .offre-tete, .faq-tete { grid-template-columns: 1fr; gap: 18px; }
  .offre-tete > p, .faq-tete > p { justify-self: start; }
  .grille-offre { grid-template-columns: 1fr; }

  .chiffres { padding-bottom: 80px; }
  .chiffres-photo { position: relative; width: 100%; height: 300px; }
  .chiffres-carte { width: auto; margin: -80px 16px 0; padding: 36px 26px 40px; }
  .stats { grid-template-columns: 1fr; gap: 30px; }

  .apropos-corps { grid-template-columns: 1fr; gap: 40px; padding-bottom: 80px; }
  .apropos-corps .apropos-photo { height: 320px; margin-right: -24px; }
  .coches { grid-template-columns: 1fr; }
  .bande-etapes { grid-template-columns: 1fr 1fr; }
  .bande-etapes li { padding: 22px 14px; font-size: 14px; }
  .bande-etapes li:nth-child(3) { border-left: 0; padding-left: 0; }
  .bande-etapes li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .22); }

  .schema { grid-template-columns: 1fr; }
  .schema-cadre { padding: 14px; }
  .schema-cadre figure.wp-block-image { min-height: 260px; }
  .surtitre-neon { padding-right: 0; }
  .surtitre-neon::before, .surtitre-neon::after { display: none; }

  .collage { width: 100%; margin: 50px 0 40px; }
  .collage::after { top: -50px; height: 200px; width: 40px; }
  .realisations-bas { grid-template-columns: 1fr; }

  .acc-grille { grid-template-columns: 1fr; gap: 20px; }
  .accompagnement .acc-grille > .acc-photos { margin-top: -60px; }
  .acc-photos figure { height: 220px; }
  .acc-photos figure:nth-child(2) { margin-top: 40px; }
  .acc-texte { padding-top: 40px; }
  .acc-item { grid-template-columns: 1fr; gap: 6px; }
  .acc-grille .rond { position: relative; right: auto; bottom: auto; margin-top: 30px; }
  .accompagnement { padding-bottom: 90px; }

  .faq { padding-bottom: 90px; }
  .faq-item summary { padding: 18px 70px 18px 20px; font-size: 16px; }
  .faq-item summary::after { right: 16px; }
  .faq-reponse { flex-direction: column; align-items: flex-start; padding: 0 20px 24px; }
  .faq-reponse figure { width: 100%; height: 150px; }

  .pied { padding-top: 80px; }
  .pied-grille { grid-template-columns: 1fr; gap: 40px; padding-bottom: 60px; }
  .pied-bas { flex-direction: column; gap: 6px; }

  .hero-page { padding: 160px 0 130px; }
  .intro { padding: 90px 0; }
  .intro-grille { grid-template-columns: 1fr; gap: 28px; }
  .intro .stats { grid-template-columns: 1fr; gap: 36px; margin-top: 50px; padding-top: 40px; }
  .grille-etapes { grid-template-columns: 1fr; margin: 80px 0 50px; }
  .appel { padding: 100px 0; }
  .galerie { padding: 90px 0; }
  .grille-projets, .liste-articles .wp-block-post-template { grid-template-columns: 1fr; gap: 40px; }
  .contact { padding-bottom: 90px; }
  .contact-grille { grid-template-columns: 1fr; gap: 0; }
  .contact-infos { order: 2; padding-top: 70px; }
  .formulaire { margin: -90px -8px 0; padding: 34px 22px; }
  .champs { grid-template-columns: 1fr; }
  .bandeau { padding: 160px 0 70px; }
}
