/* ═══════════════════════════════════════════
   HELEQ – Électricien Angoulême
   Design premium – bleu électrique, blanc, anthracite
   ═══════════════════════════════════════════ */

/* ── CUSTOM PROPERTIES ────────────────────── */
:root {
  --blue-dark:    #1d2b6b;
  --blue-mid:     #2547c8;
  --blue-elec:    #1a56db;
  --blue-light:   #3b82f6;
  --yellow:       #f5c518;
  --yellow-dark:  #d4a017;
  --anthracite:   #1e2329;
  --gray-900:     #111827;
  --gray-800:     #1f2937;
  --gray-700:     #374151;
  --gray-600:     #4b5563;
  --gray-400:     #9ca3af;
  --gray-200:     #e5e7eb;
  --gray-100:     #f3f4f6;
  --gray-50:      #f9fafb;
  --white:        #ffffff;

  --font-body:    'Inter', system-ui, sans-serif;
  --font-heading: 'Montserrat', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.08);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.18);
  --shadow-blue: 0 8px 32px rgba(37,71,200,.35);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);

  --header-h: 82px;
}

/* ── RESET & BASE ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background: var(--blue-dark);
  overflow-x: hidden; /* fix Android/Chrome horizontal scroll */
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
:focus-visible { outline: 3px solid var(--blue-elec); outline-offset: 3px; }

/* ── TYPOGRAPHY ───────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 800;
  color: var(--gray-900);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; }

p { line-height: 1.7; }

strong { font-weight: 700; color: var(--gray-900); }

/* ── LAYOUT ───────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section--alt {
  background: var(--gray-50);
}

/* ── SECTION HEADER ───────────────────────── */
.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-tag {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-elec);
  background: rgba(26, 86, 219, .08);
  padding: .35rem .9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: .75rem;
}

.section-title--left {
  text-align: left;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
  margin-inline: auto;
}

/* ── BUTTONS ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.15);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover::before { opacity: 1; }

.btn--sm  { padding: .55rem 1.25rem; font-size: .875rem; }
.btn--md  { padding: .75rem 1.75rem; font-size: .95rem; }
.btn--lg  { padding: .95rem 2.25rem; font-size: 1.05rem; }
.btn--full { width: 100%; }

.btn--primary {
  background: linear-gradient(135deg, var(--blue-elec), var(--blue-mid));
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,71,200,.5);
}
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--blue-dark);
  font-weight: 800;
  box-shadow: var(--shadow-lg);
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 600;
  padding: .4rem .9rem;
  border-radius: var(--radius-full);
}
.badge--light {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}

/* ── HEADER ───────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

/* Dégradé sombre en pseudo-élément :
   - Évite la bande blanche du body transparaissant derrière le header
   - S'intègre visuellement au hero (fondu naturel)
   - Disparaît via opacity lors du scroll (transition fluide impossible gradient→couleur) */
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(8,15,46,.78) 0%,
    rgba(8,15,46,.32) 65%,
    transparent 100%);
  opacity: 1;
  transition: opacity var(--transition);
  pointer-events: none;
  z-index: 0;
}

/* L'inner et ses enfants doivent passer devant le pseudo-élément */
.header__inner { position: relative; z-index: 1; }

.header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}
.header.scrolled::before { opacity: 0; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
  position: relative;
  z-index: 1; /* passe devant le pseudo-élément dégradé */
}

.header__logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
}

.header__logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.25));
  transition: transform var(--transition);
}
.header__logo:hover img { transform: scale(1.06) rotate(-3deg); }

.header__logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.45rem;
  color: var(--white);
  letter-spacing: .06em;
  transition: color var(--transition);
}
.header.scrolled .header__logo-text { color: var(--blue-dark); }

.nav__list {
  display: flex;
  gap: .5rem;
  align-items: center;
}

.nav__link {
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  padding: .625rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav__link:hover {
  color: var(--white);
  background: rgba(255,255,255,.14);
}
.header.scrolled .nav__link { color: var(--gray-700); }
.header.scrolled .nav__link:hover { color: var(--blue-elec); background: var(--gray-100); }

.header__cta { flex-shrink: 0; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  transition: background var(--transition);
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.header.scrolled .burger { background: var(--gray-100); }
.header.scrolled .burger span { background: var(--gray-700); }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; width: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.nav-mobile {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  /* translateY(-100%) remonte de sa propre hauteur → bord bas à y=82px (sous le header)
     on soustrait en plus var(--header-h) pour le ramener à y=0, hors viewport */
  transform: translateY(calc(-100% - var(--header-h)));
  transition: transform var(--transition-slow);
  z-index: 99;
  padding: 1.5rem 1.5rem 2rem;
}
.nav-mobile.open { transform: translateY(0); }

.nav-mobile ul { display: flex; flex-direction: column; gap: .5rem; }
.nav-mobile__link {
  display: block;
  padding: .75rem 1rem;
  font-weight: 600;
  color: var(--gray-800);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: all var(--transition);
}
.nav-mobile__link:hover {
  background: var(--gray-100);
  color: var(--blue-elec);
}

/* ── HERO ─────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* background-color en fallback : couvre tout rendu sub-pixel avant le gradient */
  background-color: var(--blue-dark);
  background-image: linear-gradient(135deg, var(--blue-dark) 0%, #0f1a4a 40%, #162060 70%, var(--blue-mid) 100%);
  overflow: hidden;
  padding-top: var(--header-h);
  /* Assure l'absence de gap avec le haut du viewport */
  margin-top: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__bg::before {
  content: '';
  position: absolute;
  width: clamp(280px, 50vw, 600px);
  height: clamp(280px, 50vw, 600px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,24,.08) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  animation: pulse-glow 6s ease-in-out infinite;
}

.hero__bg::after {
  content: '';
  position: absolute;
  width: clamp(200px, 40vw, 400px);
  height: clamp(200px, 40vw, 400px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,86,219,.2) 0%, transparent 70%);
  bottom: -100px;
  left: -80px;
  animation: pulse-glow 8s ease-in-out infinite reverse;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: .7; }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 5rem 4rem;
  position: relative;
  z-index: 1;
}

.hero__badge { margin-bottom: 1.25rem; }

.hero__title {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.hero__title-accent {
  display: block;
  color: var(--yellow);
  font-size: .75em;
  margin-top: .3rem;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 2rem;
  max-width: 520px;
}
/* Les <strong> du hero héritent du blanc plutôt que du gris global */
.hero__subtitle strong,
.hero__content strong {
  color: var(--yellow);
  font-weight: 700;
}

.hero__reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.5rem;
  margin-bottom: 2.5rem;
}

.hero__reassurance li {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}

.hero__reassurance li svg {
  color: var(--yellow);
  flex-shrink: 0;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero visual */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__card-stack {
  position: relative;
  width: min(360px, 90vw);
  height: 340px;
}

.hero__stat-card {
  position: absolute;
  background: rgba(255,255,255,.11);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  box-shadow: 0 10px 36px rgba(0,0,0,.22);
  min-width: 210px;
  animation: float 5s ease-in-out infinite;
}

/* Carte 1 – coin supérieur gauche */
.hero__stat-card--1 {
  top: 0;
  left: 0;
  animation-delay: 0s;
}
/* Carte 2 – milieu droit, décalée pour éviter chevauchement avec la 1 */
.hero__stat-card--2 {
  top: 42%;
  right: 0;
  animation-delay: 1.6s;
}
/* Carte 3 – bas gauche, séparée de la 1 par une marge verticale nette */
.hero__stat-card--3 {
  bottom: 0;
  left: 28px;
  animation-delay: 3.2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__stat-card .stat-icon { color: var(--yellow); flex-shrink: 0; }

.hero__stat-card strong {
  display: block;
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
}
.hero__stat-card span {
  display: block;
  color: rgba(255,255,255,.7);
  font-size: .8rem;
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-arrow {
  width: 30px;
  height: 30px;
  border-right: 2px solid rgba(255,255,255,.4);
  border-bottom: 2px solid rgba(255,255,255,.4);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(8px); }
}

/* ── URGENCE ──────────────────────────────── */
.urgence {
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-dark));
  padding-block: 3.5rem;
}

.urgence__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.urgence__title {
  color: var(--white);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: .75rem;
}

.urgence__text {
  color: rgba(255,255,255,.85);
  max-width: 560px;
  font-size: 1rem;
}
.urgence__text strong,
.urgence__title strong {
  color: var(--yellow);
  font-weight: 700;
}

.urgence__cta {
  text-align: center;
  flex-shrink: 0;
}

.urgence__mention {
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  margin-top: .75rem;
}

.pulse-animation {
  animation: pulse-btn 2.5s ease-in-out infinite;
}
@keyframes pulse-btn {
  0%, 100% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(245,197,24,.4); }
  50% { box-shadow: var(--shadow-lg), 0 0 0 12px rgba(245,197,24,0); }
}

/* ── SERVICES ─────────────────────────────── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-elec), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card--accent {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  border-color: transparent;
  color: var(--white);
}

.service-card--accent h3,
.service-card--accent p,
.service-card--accent .service-card__icon { color: var(--white); }

.service-card--accent .service-card__link { color: var(--yellow); }
.service-card--accent::before { display: none; }

.service-card__icon {
  color: var(--blue-elec);
  margin-bottom: 1.25rem;
  transition: transform var(--transition);
}
.service-card:hover .service-card__icon { transform: scale(1.1); }

.service-card__title {
  margin-bottom: .75rem;
  font-size: 1.15rem;
}

.service-card__desc {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.service-card--accent .service-card__desc { color: rgba(255,255,255,.8); }

.service-card__link {
  font-weight: 700;
  font-size: .9rem;
  color: var(--blue-elec);
  transition: gap var(--transition);
  display: inline-flex;
  align-items: center;
}
.service-card__link:hover { text-decoration: underline; }

.services__cta {
  text-align: center;
  padding: 2.5rem;
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  border: 1px dashed var(--gray-200);
}
.services__cta p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: var(--gray-700);
}

/* ── PORTRAIT À PROPOS (photo réelle) ────── */
.apropos__portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: var(--radius-xl);
  transition: transform var(--transition-slow);
}
.apropos__img-wrap:hover .apropos__portrait-img {
  transform: scale(1.02);
}

/* ── INGÉNIERIE ÉLECTRIQUE ───────────────── */
.ingenierie {
  background: linear-gradient(155deg, #08102e 0%, #0f1a4a 35%, var(--blue-dark) 65%, #162060 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Grille technique en filigrane */
.ingenierie::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

/* Tag et titres sur fond sombre */
.ing-tag {
  background: rgba(245,197,24,.12);
  color: var(--yellow);
  border: 1px solid rgba(245,197,24,.28);
}

.ing-title { color: var(--white); }
.ing-subtitle { color: rgba(255,255,255,.68); }

/* Intro */
.ingenierie__intro {
  max-width: 760px;
  margin: 0 auto 3.5rem;
  text-align: center;
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  line-height: 1.8;
  position: relative;
}
.ingenierie__intro p + p { margin-top: .9rem; }
.ingenierie__intro strong { color: var(--yellow); font-weight: 700; }

/* ── Grille des 14 services ── */
.ing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 3rem;
  position: relative;
}

.ing-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.75rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  position: relative;
}
.ing-card:hover {
  background: rgba(255,255,255,.095);
  border-color: rgba(245,197,24,.35);
  transform: translateY(-3px);
}

.ing-card__icon {
  color: var(--yellow);
  margin-bottom: .9rem;
  display: block;
  opacity: .9;
}

.ing-card__title {
  font-size: .93rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .45rem;
  line-height: 1.35;
}

.ing-card__desc {
  font-size: .82rem;
  color: rgba(255,255,255,.58);
  line-height: 1.65;
}
.ing-card__desc strong { color: rgba(255,255,255,.82); font-weight: 600; }

/* ── Bloc raccordement ── */
.ing-raccordement {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(26,86,219,.35);
  border-left: 4px solid var(--blue-elec);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.ing-raccordement__inner {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.ing-raccordement__icon {
  color: var(--blue-elec);
  flex-shrink: 0;
  margin-top: .15rem;
  opacity: .85;
}

.ing-raccordement__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.ing-raccordement__content p {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: .75rem;
}
.ing-raccordement__content strong { color: var(--white); font-weight: 700; }

.ing-raccordement__list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .55rem .75rem;
}
.ing-raccordement__list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.78);
  font-size: .875rem;
}
.ing-raccordement__list li svg { color: #4ade80; flex-shrink: 0; }

.ing-raccordement__note {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  background: rgba(26,86,219,.18);
  border-radius: var(--radius-md);
  padding: .85rem 1rem;
  font-size: .81rem;
  color: rgba(255,255,255,.58);
  font-style: italic;
  margin-top: 1rem;
  margin-bottom: 0 !important;
  line-height: 1.6;
}
.ing-raccordement__note svg { color: var(--blue-elec); flex-shrink: 0; margin-top: .18rem; }

/* ── Bloc crédibilité ── */
.ing-credibilite {
  background: rgba(245,197,24,.07);
  border: 1px solid rgba(245,197,24,.18);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.ing-credibilite__inner {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}

.ing-credibilite__icon {
  color: var(--yellow);
  flex-shrink: 0;
  margin-top: .1rem;
  opacity: .9;
}

.ing-credibilite__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .85rem;
}

.ing-credibilite__inner p {
  color: rgba(255,255,255,.72);
  font-size: .95rem;
  line-height: 1.75;
}
.ing-credibilite__inner p + p { margin-top: .65rem; }
.ing-credibilite__inner strong { color: var(--yellow); font-weight: 700; }

/* ── Documents techniques ── */
.ing-docs {
  margin-bottom: 3rem;
  position: relative;
}

.ing-docs__header {
  text-align: center;
  margin-bottom: 2rem;
}

.ing-docs__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .5rem;
}

.ing-docs__subtitle {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  font-style: italic;
}

.ing-docs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ing-doc-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.ing-doc-card:hover {
  border-color: rgba(245,197,24,.5);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.ing-doc-card:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

/* Aperçu image */
.ing-doc-card__preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #fff;
}
.ing-doc-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  transition: transform .4s ease;
}
.ing-doc-card:hover .ing-doc-card__preview img {
  transform: scale(1.04);
}

/* Overlay loupe */
.ing-doc-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,15,46,.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  opacity: 0;
  transition: opacity var(--transition);
  backdrop-filter: blur(2px);
}
.ing-doc-card:hover .ing-doc-card__overlay,
.ing-doc-card:focus-visible .ing-doc-card__overlay {
  opacity: 1;
}

/* Label bas de carte */
.ing-doc-card__label {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1rem;
  font-size: .85rem;
  font-weight: 700;
  color: rgba(255,255,255,.82);
  border-top: 1px solid rgba(255,255,255,.08);
}
.ing-doc-card__label svg {
  color: var(--yellow);
  flex-shrink: 0;
}

/* Modale élargie pour documents techniques */
.dip-modal__inner--wide {
  max-width: min(92vw, 1000px);
}
.dip-modal__inner--wide .dip-modal__body img {
  max-height: 78vh;
  object-fit: contain;
  background: #f8f8f8;
}

/* Responsive galerie docs */
@media (max-width: 1023px) {
  .ing-docs__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .ing-docs__grid { grid-template-columns: 1fr; }
  .ing-doc-card__preview { aspect-ratio: 16 / 10; }
}

/* ── CTA ingénierie ── */
.ingenierie__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* Bouton jaune */
.btn--yellow {
  background: var(--yellow);
  color: #080f2e;
  font-weight: 800;
  border: 2px solid var(--yellow);
}
.btn--yellow:hover {
  background: #e0b300;
  border-color: #e0b300;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,197,24,.4);
}

/* Responsive ingénierie */
@media (max-width: 1023px) {
  .ing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 639px) {
  .ing-grid { grid-template-columns: 1fr; gap: .85rem; }
  .ing-raccordement { padding: 1.75rem; }
  .ing-raccordement__inner { flex-direction: column; gap: 1rem; }
  .ing-raccordement__icon { display: none; }
  .ing-raccordement__list { grid-template-columns: 1fr; }
  .ing-credibilite { padding: 1.75rem; }
  .ing-credibilite__inner { flex-direction: column; gap: 1rem; }
  .ingenierie__cta { flex-direction: column; align-items: center; }
}

/* ── À PROPOS ─────────────────────────────── */
.apropos__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}

.apropos__visual {
  position: relative;
}

.apropos__img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.apropos__img-placeholder {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--white);
  text-align: center;
  padding: 2rem;
}

.apropos__img-icon {
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.apropos__img-icon svg { color: rgba(255,255,255,.6); }

.apropos__img-placeholder p {
  font-weight: 700;
  font-size: 1.1rem;
}
.apropos__img-placeholder small {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}

.apropos__badge-wrap {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
}

.apropos__badge {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.apropos__badge svg { color: var(--blue-elec); }
.apropos__badge strong {
  display: block;
  font-size: .9rem;
  color: var(--gray-900);
}
.apropos__badge span {
  font-size: .78rem;
  color: var(--gray-500);
}

.apropos__content .section-title {
  margin-bottom: 1.5rem;
}

.apropos__text {
  color: var(--gray-700);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.apropos__values {
  margin-block: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.apropos__values li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-weight: 600;
  color: var(--gray-800);
  font-size: .95rem;
}

.apropos__values li svg { color: var(--blue-elec); flex-shrink: 0; }

.apropos__siren {
  font-size: .85rem;
  color: var(--gray-400);
  margin-bottom: 1.75rem;
  padding: .75rem 1rem;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gray-200);
}

/* ── AVANTAGES ────────────────────────────── */
.avantages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.avantage-item {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  text-align: center;
}

.avantage-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(26,86,219,.2);
}

.avantage-item__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(26,86,219,.1), rgba(59,130,246,.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--blue-elec);
  transition: all var(--transition);
}
.avantage-item:hover .avantage-item__icon {
  background: linear-gradient(135deg, var(--blue-elec), var(--blue-light));
  color: var(--white);
  transform: scale(1.1);
}

.avantage-item h3 {
  margin-bottom: .6rem;
  font-size: 1rem;
  color: var(--gray-900);
}

.avantage-item p {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ── ZONE ─────────────────────────────────── */
.zone__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.zone__subtitle {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--blue-elec);
  display: inline-block;
}

.zone__grid {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.zone__item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .85rem 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.zone__item:hover {
  border-color: var(--blue-elec);
  box-shadow: var(--shadow-sm);
}
.zone__item svg { color: var(--blue-elec); flex-shrink: 0; margin-top: 3px; }
.zone__item strong { display: block; font-size: .95rem; color: var(--gray-900); }
.zone__item span { display: block; font-size: .8rem; color: var(--gray-500); margin-top: .1rem; }

.zone__note {
  font-size: .85rem;
  color: var(--gray-500);
  margin-top: 1.25rem;
}
.zone__note a { color: var(--blue-elec); font-weight: 600; }

.zone__seo p {
  color: var(--gray-700);
  margin-bottom: 1rem;
  font-size: .95rem;
}

.zone__seo .btn { margin-top: .5rem; }

/* ── TÉMOIGNAGES ──────────────────────────── */
.temoignages__stars-global {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  margin-top: 1rem;
}

.stars { display: flex; gap: .15rem; }
.stars svg { color: var(--yellow); }
.stars--lg svg { width: 28px; height: 28px; }

.temoignages__stars-global span {
  font-size: .9rem;
  color: var(--gray-600);
}

.temoignages__single {
  margin-bottom: 2rem;
}

.temoignage-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2.25rem 3rem;
  box-shadow: var(--shadow-md);
  box-sizing: border-box;
  /* Garantit le retour à la ligne du texte quelle que soit la source */
  overflow-wrap: break-word;
  word-break: normal;
  white-space: normal;
}

.temoignage-card--featured {
  border-color: var(--blue-elec);
  background: linear-gradient(145deg, #f0f5ff, #ffffff);
  box-shadow: 0 8px 32px rgba(26,86,219,.12);
}

.temoignage-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.temoignage-card__verified {
  font-size: .75rem;
  font-weight: 700;
  color: #16a34a;
  background: #dcfce7;
  padding: .3rem .75rem;
  border-radius: var(--radius-full);
}

.temoignage-card__quote {
  font-style: normal;
  margin-bottom: 1.75rem;
}
.temoignage-card__quote p {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.8;
  position: relative;
  padding-left: 1.75rem;
  /* Longueur de ligne confortable : 60–75 caractères environ */
  max-width: 72ch;
  /* Garantit le retour à la ligne automatique */
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
.temoignage-card__quote p::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -.25rem;
  font-size: 3rem;
  color: var(--blue-elec);
  line-height: 1;
  font-family: Georgia, serif;
  opacity: .25;
}

.temoignage-card__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.temoignage-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-elec), var(--blue-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  flex-shrink: 0;
}

.temoignage-card__author strong {
  display: block;
  font-size: .95rem;
}
.temoignage-card__author span {
  display: block;
  font-size: .82rem;
  color: var(--gray-500);
}

.temoignages__cta { text-align: center; }

/* ── FAQ ──────────────────────────────────── */
.faq__list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq__item:has(.faq__question[aria-expanded="true"]) {
  box-shadow: var(--shadow-md);
  border-color: rgba(26,86,219,.2);
}

.faq__question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
  font-size: .98rem;
  color: var(--gray-900);
  transition: background var(--transition);
  background: transparent;
}
.faq__question:hover { background: var(--gray-50); }
.faq__question[aria-expanded="true"] { color: var(--blue-elec); }

.faq__icon {
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform var(--transition);
}
.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
  color: var(--blue-elec);
}

.faq__answer {
  padding: 0 1.5rem 1.25rem;
  animation: fadeIn .2s ease;
}
.faq__answer p {
  font-size: .95rem;
  color: var(--gray-700);
  line-height: 1.7;
}
.faq__answer a {
  color: var(--blue-elec);
  font-weight: 600;
  text-decoration: underline;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── CONTACT ──────────────────────────────── */
.contact__layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: start;
}

.contact__infos {
  background: linear-gradient(145deg, var(--blue-dark), #162060);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: var(--white);
}

.contact__infos-title {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact__info-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__info-item strong {
  display: block;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .2rem;
  font-weight: 600;
}
.contact__info-item span,
.contact__info-item a {
  font-size: 1rem;
  color: var(--white);
  font-weight: 600;
  line-height: 1.4;
}
.contact__link:hover { text-decoration: underline; }

.contact__call-btn { margin-top: 2rem; }

/* Form */
.contact__form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--gray-800);
}
.form-label span { color: var(--blue-elec); }

.form-input {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: .95rem;
  color: var(--gray-900);
  background: var(--gray-50);
  transition: all var(--transition);
  appearance: none;
}
.form-input:focus {
  outline: none;
  border-color: var(--blue-elec);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,86,219,.12);
}
.form-input::placeholder { color: var(--gray-400); }

.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%236b7280'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; padding-right: 2.5rem; cursor: pointer; }

.form-textarea { resize: vertical; min-height: 110px; }

.form-required-note {
  font-size: .78rem;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
}

.form-submit {
  width: 100%;
}

/* ── Overlay formulaire (chargement + succès) ── */
.contact__form-wrap { position: relative; }

.contact__form {
  transition: opacity .35s ease, filter .35s ease;
}
.contact__form.form--sending {
  opacity: .15;
  filter: blur(3px);
  pointer-events: none;
  user-select: none;
}

.form-overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
  padding: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  z-index: 10;
}
.form-overlay.form-overlay--visible {
  opacity: 1;
  pointer-events: auto;
}

.form-overlay__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blue-dark);
}
.form-overlay__sub {
  font-size: .9rem;
  color: var(--gray-500);
  max-width: 28ch;
  line-height: 1.6;
}

/* Spinner */
@keyframes heleq-spin { to { transform: rotate(360deg); } }
.form-overlay__spinner {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 5px solid rgba(26,86,219,.12);
  border-top-color: var(--blue-elec);
  animation: heleq-spin .75s linear infinite;
  flex-shrink: 0;
}

/* Pastille succès */
@keyframes heleq-pop {
  0%   { transform: scale(0);    opacity: 0; }
  65%  { transform: scale(1.18); opacity: 1; }
  100% { transform: scale(1);    opacity: 1; }
}
.form-overlay__check {
  width: 68px; height: 68px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #16a34a;
  flex-shrink: 0;
  animation: heleq-pop .45s cubic-bezier(.18,1.25,.4,1) both;
}

/* ── FOOTER ───────────────────────────────── */
.footer__top {
  background: var(--anthracite);
  padding-block: 3rem;
}

.footer__top-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  align-items: start;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.footer__brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.footer__brand-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: .05em;
}

.footer__brand-sub {
  display: block;
  font-size: .8rem;
  color: var(--gray-400);
}

.footer__desc p {
  color: var(--gray-400);
  font-size: .9rem;
  line-height: 1.7;
  max-width: 400px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  text-align: right;
}

.footer__tel {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--yellow);
  transition: opacity var(--transition);
}
.footer__tel:hover { opacity: .8; }

.footer__email {
  font-size: .9rem;
  color: var(--gray-400);
  transition: color var(--transition);
}
.footer__email:hover { color: var(--white); }

.footer__bottom {
  background: var(--gray-900);
  padding-block: 1.25rem;
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__legal {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}

.footer__nav {
  display: flex;
  gap: 1.5rem;
}

.footer__nav a {
  font-size: .85rem;
  color: rgba(255,255,255,.72);
  font-weight: 500;
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--white); }

.footer__seo {
  width: 100%;
  font-size: .7rem;
  color: rgba(255,255,255,.38);
}

/* ── FLOATING CTA ─────────────────────────── */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  background: linear-gradient(135deg, var(--blue-elec), var(--blue-dark));
  color: var(--white);
  border-radius: var(--radius-full);
  padding: .9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .9rem;
  box-shadow: var(--shadow-blue);
  transition: all var(--transition);
  text-decoration: none;
}

.floating-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 48px rgba(37,71,200,.55);
}

.floating-cta__pulse {
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid var(--blue-elec);
  animation: pulse-ring 2.5s ease-out infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* ── ANIMATIONS ───────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

[data-animate="fade-left"] { transform: translateX(24px); }
[data-animate="fade-right"] { transform: translateX(-24px); }

[data-animate].visible {
  opacity: 1;
  transform: translate(0);
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero__content { text-align: center; }
  .hero__reassurance { justify-content: center; }
  .hero__ctas { justify-content: center; }
  .hero__badge { text-align: center; }

  .apropos__inner { grid-template-columns: 1fr; gap: 3rem; }
  .apropos__visual { max-width: 360px; margin-inline: auto; }

  .zone__layout { grid-template-columns: 1fr; gap: 2.5rem; }

  .contact__layout { grid-template-columns: 1fr; }
  .contact__infos { order: 2; }
  .contact__form-wrap { order: 1; }

  .footer__top-inner { grid-template-columns: 1fr 1fr; }
  .footer__desc { grid-column: span 2; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }

  .nav, .header__cta { display: none; }
  .burger { display: flex; }

  .hero__inner { padding-block: 3.5rem 3rem; }
  .hero__title { font-size: clamp(1.75rem, 6vw, 2.4rem); }

  .urgence__inner { flex-direction: column; text-align: center; }
  .urgence__text { margin-inline: auto; }

  .services__grid { grid-template-columns: 1fr; }

  .avantages__grid { grid-template-columns: 1fr 1fr; }

  .temoignage-card { padding: 1.5rem 1.25rem; }

  .form-row { grid-template-columns: 1fr; }

  .contact__layout { gap: 2rem; }
  .contact__infos { padding: 2rem; }
  .contact__form-wrap { padding: 1.75rem; }

  .footer__top-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__contact { text-align: left; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }

  .floating-cta__text { display: none; }
  .floating-cta { padding: 1rem; border-radius: 50%; width: 58px; height: 58px; justify-content: center; }
  .floating-cta svg { width: 28px; height: 28px; }
}

@media (max-width: 480px) {
  .avantages__grid { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; width: 100%; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .section { padding-block: 3rem; }
  .temoignage-card { padding: 1.25rem; }
  .apropos__badge-wrap { position: static; margin-top: 1.5rem; }
}

/* ── CRÉDIBILITÉ & PARCOURS ───────────────── */
.credibilite {
  background: var(--white);
}

/* Layout portrait + bio */
.cred__layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 5rem;
}

/* Portrait */
.cred__portrait {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.cred__photo-wrap {
  position: relative;
  margin-bottom: 1.5rem;
}

.cred__photo-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--blue-dark) 0%, #162060 60%, var(--blue-mid) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative;
}

.cred__photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 30%, rgba(245,197,24,.12) 0%, transparent 60%);
}

.cred__photo-icon {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 3px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.cred__photo-icon svg { color: rgba(255,255,255,.55); }

.cred__photo-badge {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: var(--yellow);
  color: var(--blue-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .8rem;
  padding: .45rem .85rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: .35rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

.cred__identity {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}

.cred__name {
  font-size: 1.35rem;
  color: var(--gray-900);
  margin-bottom: .25rem;
}

.cred__role {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.cred__role span { color: var(--blue-elec); font-weight: 600; }

.cred__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  border-top: 1px solid var(--gray-200);
  padding-top: 1.25rem;
}

.cred__stat strong {
  display: block;
  font-size: .85rem;
  color: var(--blue-dark);
  font-weight: 800;
}
.cred__stat span {
  display: block;
  font-size: .72rem;
  color: var(--gray-500);
  margin-top: .15rem;
  line-height: 1.3;
}

/* Bio */
.cred__bio p {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

.cred__cta { margin-top: 2rem; }

/* Timeline */
.cred__timeline {
  margin-bottom: 4rem;
}

.cred__timeline-title {
  font-size: 1.2rem;
  color: var(--gray-900);
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
}
.cred__timeline-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-elec), var(--blue-light));
  border-radius: var(--radius-full);
  margin: .75rem auto 0;
}

.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1.1rem;
  top: .5rem;
  bottom: .5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--blue-elec) 0%, var(--blue-light) 60%, var(--gray-200) 100%);
}

.timeline__item {
  position: relative;
  padding: 0 0 2.5rem 2rem;
  display: flex;
  gap: 1.25rem;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
  position: absolute;
  left: -2.75rem;
  top: .25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.timeline__item--highlight .timeline__dot {
  background: linear-gradient(135deg, var(--blue-elec), var(--blue-dark));
  border-color: var(--blue-elec);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.timeline__item--current .timeline__dot {
  background: linear-gradient(135deg, var(--yellow-dark), var(--yellow));
  border-color: var(--yellow);
  color: var(--blue-dark);
  box-shadow: 0 4px 16px rgba(245,197,24,.4);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 4px 16px rgba(245,197,24,.4), 0 0 0 0 rgba(245,197,24,.3); }
  50%       { box-shadow: 0 4px 16px rgba(245,197,24,.4), 0 0 0 8px rgba(245,197,24,0); }
}

.timeline__content {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.timeline__item--highlight .timeline__content {
  border-color: rgba(26,86,219,.2);
  background: linear-gradient(145deg, #f0f5ff, var(--white));
  box-shadow: 0 4px 20px rgba(26,86,219,.08);
}

.timeline__item--current .timeline__content {
  border-color: rgba(245,197,24,.3);
  background: linear-gradient(145deg, #fffbeb, var(--white));
  box-shadow: 0 4px 20px rgba(245,197,24,.1);
}

.timeline__content:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.timeline__date {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-elec);
  margin-bottom: .4rem;
}
.timeline__item--current .timeline__date { color: var(--yellow-dark); }

.timeline__title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: .5rem;
}

.timeline__desc {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: .75rem;
}

.timeline__company {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray-500);
  background: var(--gray-100);
  padding: .25rem .7rem;
  border-radius: var(--radius-full);
}

.timeline__badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue-dark);
  background: rgba(26,86,219,.1);
  padding: .25rem .7rem;
  border-radius: var(--radius-full);
  margin-left: .5rem;
}

.timeline__badge--green {
  color: #166534;
  background: #dcfce7;
}

/* Trust block */
.cred__trust {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #0f1a4a 60%, var(--blue-mid) 100%);
  border-radius: var(--radius-xl);
  padding: 3rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.cred__trust::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,24,.06) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.cred__trust-title {
  color: var(--white);
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.cred__trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .85rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.cred__trust-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: .85rem 1.1rem;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}

.cred__trust-item:hover {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-2px);
}

.cred__trust-item svg { color: var(--yellow); flex-shrink: 0; }

.cred__trust-item--star svg {
  color: var(--yellow);
  filter: drop-shadow(0 2px 6px rgba(245,197,24,.5));
}

.cred__trust-item span {
  color: rgba(255,255,255,.9);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.3;
}

.cred__trust-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  position: relative;
}

.btn--outline-dark {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.35);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: .95rem 2.25rem;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all var(--transition);
  cursor: pointer;
}
.btn--outline-dark:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-2px);
}

/* ── STORY LAYOUT Hier → Aujourd'hui ─────── */
.cred__story {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
}

.cred__story-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  min-width: 0;
}

.cred__story-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.18);
}
.cred__story-label--now {
  background: rgba(245,197,24,.2);
  color: var(--yellow);
  border-color: rgba(245,197,24,.35);
}

.cred__story-img-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255,255,255,.1);
  transition: all var(--transition);
  aspect-ratio: 3/4;
}
.cred__story-card:hover .cred__story-img-wrap {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(255,255,255,.25);
}
.cred__story-card--now .cred__story-img-wrap {
  border-color: rgba(245,197,24,.4);
  box-shadow: 0 12px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(245,197,24,.2);
}
.cred__story-card--now:hover .cred__story-img-wrap {
  box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 0 2px rgba(245,197,24,.4);
}

.cred__story-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform var(--transition-slow);
  filter: brightness(.92) contrast(1.05);
}
.cred__story-card--then .cred__story-img-wrap img {
  filter: brightness(.85) contrast(1.08) saturate(.85);
}
.cred__story-card:hover .cred__story-img-wrap img {
  transform: scale(1.04);
}

.cred__story-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10,15,40,.85) 0%, transparent 100%);
  padding: 1.25rem .85rem .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--white);
}
.cred__story-img-overlay svg { color: var(--yellow); flex-shrink: 0; }
.cred__story-img-overlay span {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.cred__story-img-overlay--now {
  background: linear-gradient(to top, rgba(29,43,107,.85) 0%, transparent 100%);
}
.cred__story-img-overlay--now img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  filter: none;
}

.cred__story-caption {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  text-align: center;
  line-height: 1.4;
}
.cred__story-card--now .cred__story-caption {
  color: rgba(245,197,24,.8);
}

/* Flèche narrative */
.cred__story-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.35);
  flex-shrink: 0;
  width: 28px;
  padding-top: 3rem;
}
.cred__story-arrow svg {
  color: var(--yellow);
  opacity: .7;
  animation: arrowPulse 2s ease-in-out infinite;
}
@keyframes arrowPulse {
  0%, 100% { opacity: .5; transform: translateX(0); }
  50%       { opacity: 1;  transform: translateX(3px); }
}
.cred__story-arrow-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.25));
}
.cred__story-arrow span {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: var(--yellow);
  opacity: .6;
}

/* Responsive story */
@media (max-width: 480px) {
  .cred__story { gap: .5rem; }
  .cred__story-label { font-size: .62rem; padding: .25rem .55rem; white-space: normal; }
  .cred__story-arrow-line { height: 24px; }
  .cred__story-arrow span { display: none; }
}

/* ── NOTRE MÉTHODE ────────────────────────── */
.methode__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
  position: relative;
}

.methode__step {
  display: grid;
  grid-template-columns: 48px 32px 1fr;
  gap: 0 1.25rem;
  align-items: start;
  position: relative;
}

.methode__step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-elec), var(--blue-dark));
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-blue);
  position: relative;
  z-index: 1;
  transition: transform var(--transition);
}
.methode__step:hover .methode__step-num {
  transform: scale(1.1);
}

.methode__step-num--last {
  background: linear-gradient(135deg, var(--yellow-dark), var(--yellow));
  color: var(--blue-dark);
  box-shadow: 0 4px 16px rgba(212,160,23,.35);
}

.methode__step-connector {
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-elec), rgba(26,86,219,.15));
  grid-column: 1;
  align-self: stretch;
  margin: 0 auto;
  height: 100%;
  min-height: 2.5rem;
  position: relative;
  top: 48px;
  margin-top: -48px;
  margin-bottom: 0;
}
.methode__step--last .methode__step-connector { display: none; }

.methode__step-icon {
  width: 32px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-elec);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.methode__step:hover .methode__step-icon { transform: scale(1.15); }
.methode__step-icon--last { color: var(--yellow-dark); }

.methode__step-body {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.methode__step:hover .methode__step-body {
  box-shadow: var(--shadow-md);
  border-color: rgba(26,86,219,.2);
  transform: translateX(4px);
}
.methode__step--last .methode__step-body {
  border-color: rgba(212,160,23,.3);
  background: linear-gradient(145deg, #fffbeb, var(--white));
}
.methode__step--last:hover .methode__step-body {
  border-color: var(--yellow-dark);
  box-shadow: 0 4px 20px rgba(212,160,23,.15);
}

.methode__step-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: .45rem;
}
.methode__step--last .methode__step-title { color: var(--yellow-dark); }

.methode__step-desc {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.65;
}

.methode__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* btn--outline-dark on light bg */
.methode__cta .btn--outline-dark {
  color: var(--blue-dark);
  border-color: rgba(29,43,107,.3);
}
.methode__cta .btn--outline-dark:hover {
  background: var(--blue-dark);
  color: var(--white);
  border-color: var(--blue-dark);
}

@media (max-width: 640px) {
  .methode__step { grid-template-columns: 40px 28px 1fr; gap: 0 .85rem; }
  .methode__step-num { width: 40px; height: 40px; font-size: .95rem; }
  .methode__step-body { padding: 1rem 1.1rem; }
  .methode__cta { flex-direction: column; align-items: center; }
  .methode__cta .btn { width: 100%; max-width: 340px; justify-content: center; }
}

/* ── DIPLÔMES & QUALIFICATIONS ────────────── */
.dip__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Qualifications texte */
.dip__quals-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1.25rem;
  padding-bottom: .65rem;
  border-bottom: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.dip__quals-title--mt { margin-top: 2rem; }

.dip__qual-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  position: relative;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.dip__qual-card:hover {
  border-color: rgba(26,86,219,.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.dip__qual-card--featured {
  border-color: rgba(26,86,219,.3);
  background: linear-gradient(145deg, #f0f5ff, var(--white));
  box-shadow: 0 4px 20px rgba(26,86,219,.1);
}

.dip__qual-badge-major {
  position: absolute;
  top: -12px;
  right: 1.25rem;
  background: linear-gradient(135deg, var(--yellow-dark), var(--yellow));
  color: var(--blue-dark);
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 800;
  padding: .3rem .85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 10px rgba(212,160,23,.4);
  white-space: nowrap;
}

.dip__qual-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--blue-elec), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: var(--shadow-blue);
}
.dip__qual-card--bts .dip__qual-icon {
  background: linear-gradient(135deg, var(--yellow-dark), var(--yellow));
  color: var(--blue-dark);
  box-shadow: 0 4px 16px rgba(212,160,23,.35);
}

.dip__qual-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-elec);
}
.dip__qual-card--bts .dip__qual-label { color: var(--yellow-dark); }

.dip__qual-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.3;
}

.dip__qual-sub {
  font-size: .85rem;
  color: var(--gray-600);
  font-style: italic;
}

.dip__qual-meta {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  border-top: 1px solid var(--gray-100);
  padding-top: .75rem;
}
.dip__qual-meta li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--gray-600);
}
.dip__qual-meta li svg { color: var(--gray-400); flex-shrink: 0; }

.dip__qual-view {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue-elec);
  background: rgba(26,86,219,.07);
  border: 1px solid rgba(26,86,219,.15);
  border-radius: var(--radius-full);
  padding: .4rem 1rem;
  transition: all var(--transition);
  cursor: pointer;
  margin-top: .25rem;
}
.dip__qual-view:hover {
  background: var(--blue-elec);
  color: var(--white);
  border-color: var(--blue-elec);
}

/* Expériences */
.dip__exp-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.dip__exp-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .85rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.dip__exp-item:hover {
  border-color: rgba(26,86,219,.2);
  box-shadow: var(--shadow-sm);
}

.dip__exp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  margin-top: 5px;
  flex-shrink: 0;
}
.dip__exp-item--current .dip__exp-dot {
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,197,24,.2);
}

.dip__exp-item strong {
  display: block;
  font-size: .93rem;
  color: var(--gray-900);
}
.dip__exp-item span {
  display: block;
  font-size: .78rem;
  color: var(--gray-500);
  margin-top: .1rem;
}

.dip__verified-note {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: .85rem 1.1rem;
  margin-top: 1.25rem;
}
.dip__verified-note svg { color: #16a34a; flex-shrink: 0; margin-top: 2px; }
.dip__verified-note p { font-size: .85rem; color: #166534; line-height: 1.5; }

/* Gallery / aperçus */
.dip__gallery {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.dip__doc-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid var(--gray-200);
  background: var(--white);
}
.dip__doc-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px) scale(1.01);
  border-color: var(--blue-elec);
}
.dip__doc-card:focus-visible {
  outline: 3px solid var(--blue-elec);
  outline-offset: 3px;
}
.dip__doc-card--bts:hover { border-color: var(--yellow-dark); }

.dip__doc-frame {
  position: relative;
  overflow: hidden;
  max-height: 340px;
}
.dip__doc-frame img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform var(--transition-slow);
  filter: contrast(1.02) brightness(1.02);
}
.dip__doc-card:hover .dip__doc-frame img { transform: scale(1.03); }

.dip__doc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(29,43,107,.55);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  opacity: 0;
  transition: opacity var(--transition);
  color: var(--white);
}
.dip__doc-card:hover .dip__doc-overlay,
.dip__doc-card:focus-visible .dip__doc-overlay { opacity: 1; }
.dip__doc-overlay span { font-size: .9rem; font-weight: 700; letter-spacing: .06em; }

.dip__doc-caption {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1.1rem;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}
.dip__doc-caption--bts { background: #fffbeb; border-top-color: rgba(212,160,23,.2); }

.dip__doc-caption-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue-elec), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.dip__doc-card--bts .dip__doc-caption-icon {
  background: linear-gradient(135deg, var(--yellow-dark), var(--yellow));
  color: var(--blue-dark);
}

.dip__doc-caption strong {
  display: block;
  font-size: .88rem;
  color: var(--gray-900);
}
.dip__doc-caption span {
  display: block;
  font-size: .75rem;
  color: var(--gray-500);
  margin-top: .1rem;
}
.dip__doc-zoom {
  margin-left: auto;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: color var(--transition);
}
.dip__doc-card:hover .dip__doc-zoom { color: var(--blue-elec); }
.dip__doc-card--bts:hover .dip__doc-zoom { color: var(--yellow-dark); }

/* ── MODALES ──────────────────────────────── */
.dip-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: modalIn .25s ease;
}
.dip-modal[hidden] { display: none; }

@keyframes modalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.dip-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,15,40,.88);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.dip-modal__inner {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 680px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  animation: modalSlideIn .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
  from { transform: scale(.92) translateY(16px); opacity: 0; }
  to   { transform: scale(1) translateY(0);      opacity: 1; }
}

.dip-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
  flex-shrink: 0;
}
.dip-modal__header strong {
  display: block;
  font-size: .95rem;
  color: var(--gray-900);
  margin-bottom: .2rem;
}
.dip-modal__header span {
  font-size: .8rem;
  color: var(--gray-500);
}

.dip-modal__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  flex-shrink: 0;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.dip-modal__close:hover { background: var(--gray-900); color: var(--white); }

.dip-modal__body {
  overflow-y: auto;
  flex: 1;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: var(--gray-100);
}
.dip-modal__body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-300);
}

.dip-modal__footer {
  padding: .85rem 1.5rem;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  font-size: .78rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}
.dip-modal__footer svg { color: var(--blue-elec); flex-shrink: 0; }

/* ── Responsive diplômes ──────────────────── */
@media (max-width: 1024px) {
  .dip__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .dip__gallery {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .dip__doc-card { flex: 1 1 280px; }
}

@media (max-width: 640px) {
  .dip__gallery { flex-direction: column; }
  .dip__doc-card { flex: none; }
  .dip-modal__inner { max-height: 96vh; border-radius: var(--radius-lg); }
  .dip-modal__body { padding: .75rem; }
}

/* ── Responsive crédibilité ────────────────── */
@media (max-width: 1024px) {
  .cred__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .cred__portrait {
    position: static;
    max-width: 400px;
    width: 100%;
    margin-inline: auto;
  }
  .timeline { padding-left: 2.5rem; }
  .cred__trust { padding: 2.5rem 2rem; }
}

@media (max-width: 768px) {
  .cred__layout {
    grid-template-columns: 1fr;
    width: 100%;
    overflow: hidden;
  }
  .cred__portrait {
    position: static;
    max-width: 320px;
    width: 100%;
    margin-inline: auto;
  }
  .cred__bio {
    width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .cred__bio p {
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
  }
  .cred__stats { grid-template-columns: repeat(3, 1fr); }
  .timeline { padding-left: 2rem; }
  .timeline__item { gap: .75rem; }
  .timeline__dot { left: -2.35rem; width: 34px; height: 34px; }
  .timeline::before { left: .85rem; }
  .timeline__content { padding: 1rem 1.25rem; }
  .cred__trust { padding: 2rem 1.5rem; border-radius: var(--radius-lg); }
  .cred__trust-grid { grid-template-columns: 1fr 1fr; }
  .cred__trust-cta { flex-direction: column; }
  .cred__trust-cta .btn { width: 100%; justify-content: center; }
  /* Labels story : permettre le retour à la ligne */
  .cred__story-label { white-space: normal; font-size: .65rem; padding: .25rem .5rem; }
  .cred__story { gap: .4rem; }
}

@media (max-width: 480px) {
  .cred__trust-grid { grid-template-columns: 1fr; }
  .cred__stats { grid-template-columns: repeat(3, 1fr); gap: .4rem; }
  .cred__stat strong { font-size: .78rem; }
  .cred__stat span { font-size: .65rem; }
  .cred__portrait { max-width: 260px; }
}

/* ── SÉCURITÉ RESPONSIVE ─────────────────── */
/* Empêche tout élément de provoquer un scroll horizontal */
@media (max-width: 768px) {
  .section,
  .hero,
  .ingenierie,
  .credibilite,
  .diplomes,
  .services,
  .apropos,
  .avantages,
  .zone,
  .methode,
  .temoignages,
  .faq,
  .contact,
  .footer {
    max-width: 100vw;
    overflow-x: hidden;
  }
}

/* ── CENTRAGE BOUTONS MOBILE ──────────────── */
/* S'assure que tous les boutons et groupes de boutons sont centrés sur mobile */
@media (max-width: 768px) {

  /* Groupes flex de boutons → centrer en colonne */
  .hero__ctas,
  .cred__trust-cta,
  .methode__cta,
  .ingenierie__cta,
  .ing-raccordement__ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  /* Boutons dans ces groupes → pleine largeur, max lisible */
  .hero__ctas .btn,
  .cred__trust-cta .btn,
  .methode__cta .btn,
  .ingenierie__cta .btn,
  .ing-raccordement__ctas .btn {
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }

  /* Boutons isolés (inline-flex) dans un bloc de texte → centrer via le parent */
  .cred__bio,
  .zone__seo,
  .temoignages__cta,
  .services__cta,
  .urgence__cta {
    text-align: center;
  }

  /* Bouton de la bio fondateur */
  .cred__cta {
    display: block;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
    text-align: center;
  }

  /* Bouton zone SEO */
  .zone__seo .btn {
    display: block;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
    text-align: center;
  }

  /* Sécurité : tout btn isolé (non full-width) → centré */
  .services__cta .btn,
  .temoignages__cta .btn {
    display: inline-flex;
    max-width: 90vw;
  }
}

/* ── PRINT ────────────────────────────────── */
@media print {
  .floating-cta, .nav-mobile, .burger, .header__cta { display: none !important; }
  .hero { min-height: auto; background: var(--blue-dark) !important; }
}
