:root {
  color-scheme: light;
  --void: oklch(12% 0.025 255);
  --night: oklch(16% 0.035 255);
  --navy: oklch(22% 0.055 255);
  --navy-mid: oklch(29% 0.065 255);
  --line: oklch(34% 0.05 255);
  --amber: oklch(69% 0.105 83);
  --amber-light: oklch(82% 0.09 84);
  --amber-hot: oklch(93% 0.055 89);
  --amber-deep: oklch(44% 0.09 78);
  --amber-pale: oklch(97% 0.025 90);
  --slate: oklch(72% 0.045 260);
  --off-white: oklch(98.5% 0.006 255);
  --bg-alt: oklch(96% 0.012 255);
  --white: oklch(100% 0 0);
  --text-dark: oklch(19% 0.035 255);
  --text-body: oklch(38% 0.035 255);
  --text-muted: oklch(43% 0.04 255);
  --line-light: oklch(89% 0.015 255);
  --success: oklch(45% 0.12 150);
  --glow-gold: oklch(69% 0.105 83 / 0.22);
  --glow-gold-soft: oklch(69% 0.105 83 / 0.12);
  --glow-navy: oklch(29% 0.065 255 / 0.5);
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: var(--font-body);
  /* Échelle typographique */
  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --content-width: 1200px;
  --page-gutter: clamp(1.25rem, 5vw, 4.5rem);
  --section-space: clamp(4rem, 8vw, 7rem);
  --header-h: 76px;
  --radius: 10px;
  --ease-out: cubic-bezier(.2, 0, 0, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--off-white);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
video,
svg { max-width: 100%; }

img,
video { display: block; }

button,
input,
select,
textarea { font: inherit; }

button,
a,
input,
select,
textarea { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--amber-light);
  outline-offset: 4px;
}

::selection { background: var(--amber); color: var(--night); }

/* Lien d'accès rapide : caché jusqu'au focus clavier */
.skip-link {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 200;
  padding: .75rem 1rem;
  border-radius: 5px;
  background: var(--amber);
  color: var(--night);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-250%);
  transition: transform .2s var(--ease-out);
}
.skip-link:focus { transform: none; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb {
  background: var(--amber-deep);
  border: 2px solid var(--night);
  border-radius: 10px;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(24px); }
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(12px); }
}

/* Navigation
   - transparent au-dessus du hero (index), pleine après scroll (.scrolled)
   - .nav-solid : pleine en permanence (pages sans hero) */
nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: .5rem var(--page-gutter);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s var(--ease-out), min-height .25s var(--ease-out);
}

/* Voile de lisibilité sur la vidéo tant que le header est transparent */
nav::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, oklch(12% 0.025 255 / .78), oklch(12% 0.025 255 / 0));
  content: '';
  pointer-events: none;
  transition: opacity .25s var(--ease-out);
}

nav.scrolled,
nav.nav-solid { background: var(--void); border-color: var(--line); }

nav.scrolled::before,
nav.nav-solid::before { opacity: 0; }

nav.scrolled {
  min-height: calc(var(--header-h) - 12px);
  border-color: var(--amber-deep);
  box-shadow: 0 8px 24px oklch(10% 0.02 255 / .2);
}

.logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.logo-img { display: block; width: auto; height: 48px; object-fit: contain; transition: height .25s var(--ease-out); }
nav.scrolled .logo-img { height: 40px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: oklch(91% 0.012 255);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--amber-light); }

.nav-links a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--amber-light);
  content: '';
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after { transform: scaleX(1); }

.nav-links .nav-cta {
  justify-content: center;
  min-height: 42px;
  padding: .55rem 1.1rem;
  border-radius: 5px;
  background: var(--amber);
  color: var(--night);
  font-weight: 700;
  transition: background-color .18s ease, transform .18s ease;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta.active { background: var(--amber-light); color: var(--night); transform: translateY(-1px); }
.nav-cta::after { display: none; }

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: .5rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform .25s var(--ease-out), opacity .18s ease, background-color .18s ease;
}

.hamburger:hover { background: var(--navy); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Homepage hero */
#accueil {
  position: relative;
  display: flex;
  padding: 0;
  min-height: clamp(640px, 100svh, 860px);
  align-items: center;
  overflow: hidden;
  background: var(--night);
}

.hero-video-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.hero-pause-btn {
  position: absolute;
  right: var(--page-gutter);
  bottom: 2rem;
  z-index: 10;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid oklch(100% 0 0 / .55);
  border-radius: 50%;
  background: oklch(12% 0.025 255 / .55);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}

.hero-pause-btn:hover { background: var(--navy); border-color: var(--amber-light); }
.hero-pause-btn svg { color: var(--white); }

.hero-content {
  position: relative;
  z-index: 5;
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: calc(var(--header-h) + 4rem) var(--page-gutter) 8rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.5rem;
  color: var(--amber-light);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-eyebrow::before { width: 24px; height: 2px; background: var(--amber); content: ''; }

h1,
h2,
h3,
h4,
h5,
h6 { text-wrap: balance; }

h1 {
  max-width: 850px;
  margin: 0 0 1.25rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.05;
}

/* MODIF : ombre renforcée sur la partie dorée du titre */
h1 em {
  color: var(--amber-light);
  font-style: normal;
  text-shadow:
    0 1px 2px oklch(10% .02 255 / .9),
    0 3px 12px oklch(10% .02 255 / .7);
}

/* MODIF : texte de description en blanc pur et un peu plus épais */
.hero-desc {
  max-width: 58ch;
  margin: 0 0 2rem;
  color: var(--white);
  font-size: clamp(1rem, .96rem + .25vw, 1.125rem);
  font-weight: 500;
  line-height: 1.75;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .875rem; }

.btn-primary,
.btn-outline {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.btn-primary {
  background: var(--amber);
  color: var(--night);
  box-shadow: 0 4px 14px var(--glow-gold);
}

.btn-primary:hover {
  background: var(--amber-light);
  box-shadow: 0 6px 18px var(--glow-gold);
  transform: translateY(-2px);
}

.btn-primary svg { flex-shrink: 0; }

.btn-outline {
  border-color: oklch(100% 0 0 / .65);
  background: oklch(100% 0 0 / .06);
  backdrop-filter: blur(6px);
  color: var(--white);
}

.btn-outline:hover { border-color: var(--amber-light); color: var(--amber-light); transform: translateY(-2px); }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: var(--page-gutter);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: .75rem;
  color: oklch(92% 0.01 255);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-scroll-line { width: 36px; height: 2px; background: var(--amber); }

/* Chiffres clés */
#stats {
  padding: clamp(3.5rem, 7vw, 5rem) var(--page-gutter);
  border-bottom: 1px solid var(--line-light);
  background: var(--off-white);
}

.stats-grid {
  display: grid;
  width: min(100%, var(--content-width));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem clamp(1rem, 3vw, 2.5rem);
  margin: 0 auto;
}

.stat-item {
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--text-dark);
  text-align: left;
}
.stat-number { color: var(--text-dark); font-family: var(--font-display); font-size: clamp(1.75rem, 3.2vw, 2.75rem); font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat-label { margin-top: .5rem; color: var(--text-muted); font-size: var(--text-sm); font-weight: 600; letter-spacing: .04em; }

/* Shared sections */
section { padding: var(--section-space) var(--page-gutter); }

/* Sous-pages sans hero : on dégage le header fixe */
.epage > section { padding-top: calc(var(--header-h) + 4rem); }

section > :not(.ap-lines):not(.devis-lines):not(.cta-final-content):not(.hero-video-bg):not(.hero-overlay) { max-width: var(--content-width); margin-right: auto; margin-left: auto; }

.section-eyebrow {
  display: inline-block;
  margin-bottom: .8rem;
  color: var(--amber-deep);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 .8rem;
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -.028em;
  line-height: 1.12;
}

h3 { margin: 0 0 .5rem; color: var(--text-dark); font-size: var(--text-xl); font-weight: 700; line-height: 1.3; letter-spacing: -.012em; }

.section-intro { max-width: 62ch; color: var(--text-muted); font-size: var(--text-base); line-height: 1.75; }

/* Target audiences */
#cibles { background: var(--off-white); }
.cibles-header { margin-bottom: 2.5rem; }
.cibles-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 1.25rem; }

.cible-card {
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.cible-card:hover { border-color: var(--amber); box-shadow: 0 12px 28px oklch(19% 0.035 255 / .1); transform: translateY(-3px); }
.cible-img { position: relative; height: clamp(150px, 18vw, 210px); overflow: hidden; background: var(--navy); }
.cible-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.cible-card:hover .cible-img img { transform: scale(1.03); }
.cible-img-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, oklch(12% 0.025 255 / .78), transparent 72%); }
.cible-tag { position: absolute; bottom: 1rem; left: 1rem; padding: .35rem .7rem; border-radius: 3px; background: var(--amber-light); color: var(--night); font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cible-body { padding: 1.5rem; }
.cible-body h3 { margin: 0 0 .5rem; color: var(--text-dark); font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; line-height: 1.25; }
.cible-body p { margin: 0; color: var(--text-muted); font-size: var(--text-base); line-height: 1.7; }

/* Services */
#services { background: var(--white); }
.services-header { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.services-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line-light); border-radius: var(--radius); background: var(--line-light); }
.service-card { position: relative; overflow: hidden; background: var(--white); transition: background-color .2s ease; }
.service-card:hover { background: var(--bg-alt); }
.service-card::before { position: absolute; inset: 0 0 auto; height: 3px; background: var(--amber); content: ''; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.service-card:hover::before { transform: scaleX(1); }
.service-card-img { position: relative; height: 175px; overflow: hidden; background: var(--navy); }
.service-card-img::after { position: absolute; inset: 0; background: linear-gradient(0deg, oklch(12% 0.025 255 / .45), transparent 65%); content: ''; pointer-events: none; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.service-card:hover .service-card-img img { transform: scale(1.03); }
.service-card > .service-icon-wrap,
.service-card > h3,
.service-card > p { margin-right: 1.5rem; margin-left: 1.5rem; }
.service-card > .service-icon-wrap { margin-top: 1.5rem; }
.service-card > p { margin-bottom: 1.75rem; }
.service-icon-wrap,
.step-icon-wrap {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-light);
  border-radius: 6px;
  background: var(--white);
  transition: border-color .18s ease, background-color .18s ease;
}
.service-icon-wrap { margin-bottom: 1rem; }
.service-icon-wrap svg,
.step-icon-wrap svg { color: var(--amber-deep); }
.service-card:hover .service-icon-wrap,
.process-step:hover .step-icon-wrap { border-color: var(--amber); background: var(--amber-pale); }
.service-card h3 { margin-top: 0; margin-bottom: .55rem; color: var(--text-dark); font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; line-height: 1.25; }
.service-card p { color: var(--text-muted); font-size: var(--text-base); line-height: 1.7; }

/* About */
#a-propos,
#apropos-apercu { position: relative; overflow: hidden; background: var(--navy); }
.ap-lines { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(oklch(100% 0 0 / .04) 1px, transparent 1px), linear-gradient(90deg, oklch(100% 0 0 / .04) 1px, transparent 1px); background-size: 64px 64px; pointer-events: none; }
#a-propos .section-eyebrow,
#apropos-apercu .section-eyebrow { color: var(--amber-light); }
#a-propos h2,
#apropos-apercu h2 { color: var(--white); }
#a-propos .section-intro,
#apropos-apercu .section-intro { max-width: 62ch; color: oklch(91% 0.02 255); }
.about-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(2rem, 6vw, 5rem); }
.about-features,
.engagements { display: flex; flex-direction: column; margin: 2rem 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--night); list-style: none; }
.about-features { padding: 0; }
.about-features li,
.engagement-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.4rem; border-bottom: 1px solid var(--line); transition: background-color .18s ease; }
.about-features li:last-child,
.engagement-card:last-child { border-bottom: 0; }
.about-features li:hover,
.engagement-card:hover { background: var(--navy-mid); }
.feat-icon-wrap { display: flex; width: 38px; height: 38px; flex: 0 0 auto; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 5px; background: var(--navy); }
.feat-icon-wrap svg { color: var(--amber-light); }
.feat-text h4,
.eng-text h4 { margin: 0 0 .25rem; color: var(--white); font-size: var(--text-base); font-weight: 700; line-height: 1.4; }
.feat-text p,
.eng-text p { margin: 0; color: oklch(88% 0.025 255); font-size: var(--text-sm); line-height: 1.6; }
.about-visual { position: relative; z-index: 1; }
.engagements { margin-top: 0; }
.engagement-card { background: transparent; }
.eng-num { flex: 0 0 auto; margin-top: .1rem; color: var(--amber-light); font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; line-height: 1.2; }

/* Process */
#processus { background: var(--white); }
.processus-header { margin-bottom: 2rem; }
.processus-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-step { position: relative; padding: 1.5rem clamp(1rem, 2.5vw, 2rem); transition: transform .18s ease; }
.process-step:first-child { padding-left: 0; }
.process-step:last-child { padding-right: 0; }
.process-step::after { position: absolute; top: 1.5rem; right: 0; bottom: 1.5rem; width: 1px; background: var(--line-light); content: ''; }
.process-step:last-child::after { display: none; }
.process-step:hover { transform: translateY(-2px); }
.step-num { display: block; margin-bottom: .9rem; color: var(--amber-deep); font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; line-height: 1; }
.step-icon-wrap { margin-bottom: .9rem; }
.process-step h3 { margin: 0 0 .5rem; color: var(--text-dark); font-size: var(--text-xl); font-weight: 700; line-height: 1.3; }
.process-step p { margin: 0; color: var(--text-muted); font-size: var(--text-sm); line-height: 1.65; }

/* Quote request */
#devis { position: relative; overflow: hidden; background: var(--night); }
.devis-lines { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(oklch(100% 0 0 / .035) 1px, transparent 1px), linear-gradient(90deg, oklch(100% 0 0 / .035) 1px, transparent 1px); background-size: 64px 64px; pointer-events: none; }
#devis .section-eyebrow { color: var(--amber-light); }
#devis h2 { color: var(--white); }
#devis .section-intro { color: oklch(91% 0.02 255); }
.devis-wrapper { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(2rem, 6vw, 5rem); }
.devis-info { padding-top: .5rem; }
.devis-info h2 { margin-bottom: .8rem; }
.devis-info > p { margin: 0 0 1.75rem; color: oklch(91% 0.02 255); font-size: var(--text-base); line-height: 1.75; }
.devis-points { display: flex; flex-direction: column; margin: 0; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--navy); list-style: none; }
.devis-points li { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; border-bottom: 1px solid var(--line); color: oklch(94% 0.012 255); font-size: var(--text-sm); }
.devis-points li:last-child { border-bottom: 0; }
.devis-check { display: flex; width: 22px; height: 22px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; background: var(--amber); }
.devis-check svg { color: var(--night); }
.devis-form { padding: clamp(1.25rem, 4vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--navy); }
.form-title { margin: 0 0 .35rem; color: var(--white); font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; line-height: 1.25; }
.form-subtitle { margin: 0 0 1.5rem; color: oklch(90% 0.02 255); font-size: var(--text-sm); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-group { display: flex; min-width: 0; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label { color: oklch(95% 0.01 255); font-size: var(--text-sm); font-weight: 700; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 46px;
  padding: .7rem .8rem;
  border: 1px solid oklch(70% 0.025 255);
  border-radius: 5px;
  outline: none;
  background: var(--night);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: oklch(78% 0.025 255); }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--night); color: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--amber-light); box-shadow: 0 0 0 3px var(--glow-gold); }
.form-group textarea { min-height: 110px; resize: vertical; }
.btn-submit { width: 100%; min-height: 48px; margin-top: .4rem; padding: .8rem 1rem; border: 0; border-radius: 5px; background: var(--amber); color: var(--night); cursor: pointer; font-family: var(--font-body); font-size: var(--text-base); font-weight: 700; transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.btn-submit:hover { background: var(--amber-light); box-shadow: 0 4px 14px var(--glow-gold); transform: translateY(-1px); }

/* Contact */
#contact { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(2rem, 6vw, 5rem); }
.contact-detail-list { display: flex; flex-direction: column; margin: 2rem 0 0; overflow: hidden; padding: 0; border: 1px solid var(--line-light); border-radius: var(--radius); background: var(--white); list-style: none; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; padding: 1.15rem 1.25rem; border-bottom: 1px solid var(--line-light); transition: background-color .18s ease; }
.contact-detail:hover { background: var(--bg-alt); }
.contact-detail:last-child { border-bottom: 0; }
.contact-icon-wrap { display: flex; width: 38px; height: 38px; flex: 0 0 auto; align-items: center; justify-content: center; border: 1px solid var(--line-light); border-radius: 5px; background: var(--off-white); }
.contact-icon-wrap svg { color: var(--amber-deep); }
.contact-detail-text strong { display: block; margin-bottom: .2rem; color: var(--text-dark); font-size: var(--text-sm); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-detail-text span { color: var(--text-muted); font-size: var(--text-base); overflow-wrap: anywhere; }
.contact-detail-text a { color: var(--text-body); text-decoration: underline; text-underline-offset: .15em; }
.contact-detail-text a:hover { color: var(--amber-deep); }

/* Footer */
footer { position: relative; padding: 4rem var(--page-gutter) 4.5rem; border-top: 1px solid var(--line); background: var(--void); color: oklch(88% 0.02 255); }
footer::before { position: absolute; inset: 0 0 auto; height: 2px; background: var(--amber); content: ''; }
.footer-grid { display: grid; width: min(100%, var(--content-width)); grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 3rem; margin: 0 auto; padding-bottom: 3rem; }
.footer-brand p { max-width: 38ch; margin: 1rem 0 0; color: oklch(86% 0.025 255); font-size: var(--text-sm); line-height: 1.7; }
.footer-logo-link { display: inline-flex; align-items: center; line-height: 0; text-decoration: none; }
.footer-logo-img { display: block; width: auto; height: 46px; }
.footer-col h5 { margin: 0 0 1rem; color: oklch(95% 0.01 255); font-size: var(--text-sm); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.footer-col ul li a { color: oklch(88% 0.02 255); font-size: var(--text-sm); text-decoration: none; transition: color .18s ease; }
.footer-col ul li a:hover { color: var(--amber-light); text-decoration: underline; text-underline-offset: .2em; }
.footer-divider { width: min(100%, var(--content-width)); margin: 0 auto; border: 0; border-top: 1px solid var(--line); }
.footer-bottom { display: flex; width: min(100%, var(--content-width)); flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin: 0 auto; padding: 1.25rem 0; color: oklch(84% 0.02 255); font-size: var(--text-sm); }
.footer-bottom a { color: oklch(90% 0.02 255); text-decoration: underline; text-underline-offset: .2em; }
.footer-bottom a:hover { color: var(--amber-light); }

/* Apparition au scroll : le contenu reste visible sans JavaScript (classe .js posée par la page).
   Animation (et non transition) pour ne pas entrer en conflit avec les effets de survol. */
.js .reveal:not(.visible) { opacity: 0; }
.js .reveal.visible { animation: reveal-up .8s var(--ease-out) var(--reveal-delay, 0s) backwards; }

/* FAQ */
#faq { background: var(--white); }
.faq-header h2 { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line-light); }
.faq-item { border-bottom: 1px solid var(--line-light); transition: background-color .18s ease; }
.faq-item.open { background: var(--bg-alt); }
.faq-question { display: flex; width: 100%; min-height: 56px; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border: 0; background: transparent; color: var(--text-dark); cursor: pointer; font-family: var(--font-body); font-size: var(--text-base); font-weight: 700; line-height: 1.45; text-align: left; transition: background-color .18s ease; }
.faq-question:hover { background: var(--amber-pale); }
.faq-icon { flex: 0 0 auto; color: var(--amber-deep); font-size: var(--text-xl); line-height: 1; transition: transform .18s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { max-width: 72ch; margin: 0; padding: 0 1.25rem 1.25rem; color: var(--text-muted); font-size: var(--text-base); line-height: 1.7; }

/* Final CTA */
#cta-final { position: relative; overflow: hidden; background: var(--navy); text-align: center; }
#cta-final::before { position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); content: ''; }
.cta-final-content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-final-content h2 { color: var(--white); }
.cta-final-content p { max-width: 58ch; margin: 0 auto 1.75rem; color: oklch(92% 0.02 255); font-size: var(--text-base); line-height: 1.7; }

/* Internal pages */
.epage { display: none; }
.epage.active { display: block; animation: page-in .45s var(--ease-out); }

/* Responsive */
@media (max-width: 1024px) {
  .processus-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step:nth-child(2)::after { display: none; }
  .process-step:nth-child(3)::after { display: block; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  :root { --header-h: 68px; }
  .hamburger { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100svh - 68px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    padding: .5rem var(--page-gutter) 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--void);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { padding: .75rem 0 0; border-bottom: 0; }
  .nav-links a { display: flex; width: 100%; min-height: 48px; padding: .65rem .25rem; color: var(--white); font-size: var(--text-base); }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-links a:hover,
  .nav-links a.active { color: var(--amber-light); }
  .nav-links .nav-cta { justify-content: center; padding: .75rem 1rem; }
  #accueil { min-height: clamp(620px, 100svh, 820px); }
  .hero-content { padding-top: calc(var(--header-h) + 3.5rem); padding-bottom: 7rem; }
  .about-grid,
  .devis-wrapper,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cibles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.3fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --page-gutter: 1.25rem; --section-space: 4rem; }
  .logo-img { height: 42px; }
  nav.scrolled .logo-img { height: 36px; }
  #accueil { min-height: clamp(600px, 100svh, 780px); }
  .hero-content { padding: calc(var(--header-h) + 3.5rem) var(--page-gutter) 7rem; }
  h1 { font-size: clamp(2.45rem, 10vw, 3.5rem); }
  .hero-desc { margin-bottom: 1.5rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions a { width: 100%; }
  .hero-scroll { bottom: 1.5rem; font-size: var(--text-xs); }
  .hero-pause-btn { right: var(--page-gutter); bottom: 1.25rem; width: 40px; height: 40px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-item { padding: 1.25rem 0 0; }
  .cibles-grid,
  .services-grid,
  .processus-steps { grid-template-columns: 1fr; }
  .cible-img { height: 190px; }
  .services-header { align-items: flex-start; flex-direction: column; }
  .service-card > .service-icon-wrap,
  .service-card > h3,
  .service-card > p { margin-right: 1.25rem; margin-left: 1.25rem; }
  .service-card > .service-icon-wrap { margin-top: 1.25rem; }
  .service-card > p { margin-bottom: 1.5rem; }
  .process-step,
  .process-step:first-child,
  .process-step:last-child { padding: 1.25rem 0; }
  .process-step:nth-child(n)::after { display: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .devis-form { padding: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .faq-question { padding: .9rem 1rem; font-size: var(--text-base); }
  .faq-answer p { padding-right: 1rem; padding-left: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  .js .reveal:not(.visible) { opacity: 1; }
}

/* Indicative savings calculator */
#simulateur { background: var(--bg-alt); }
.simulator-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.simulator-intro .section-intro { margin-bottom: 1.5rem; }
.simulator-panel {
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px oklch(19% 0.035 255 / .08);
}
.simulator-panel .form-group label { color: var(--text-dark); }
.simulator-input-wrap {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.simulator-input-wrap input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: .7rem .8rem;
  border: 1px solid var(--line-light);
  border-radius: 5px;
  background: var(--off-white);
  color: var(--text-dark);
  font-variant-numeric: tabular-nums;
}
.simulator-input-wrap input:focus-visible,
.simulator-range-row input:focus-visible { outline-color: var(--amber-deep); }
.simulator-input-wrap span { flex: 0 0 auto; color: var(--text-body); font-size: var(--text-sm); font-weight: 600; }
.simulator-range-row { display: flex; align-items: center; gap: 1rem; }
.simulator-range-row input { width: 100%; accent-color: var(--amber-deep); }
.simulator-range-row output { min-width: 3.25rem; color: var(--text-dark); font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.simulator-note { margin: 0 0 1.25rem; color: var(--text-body); font-size: var(--text-sm); line-height: 1.6; }
.simulator-output { padding: 1.25rem; border-radius: 6px; background: var(--night); color: var(--white); }
.simulator-output p { margin: 0; }
.simulator-output-label { color: oklch(93% 0.012 255); font-size: var(--text-sm); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.simulator-output .simulator-monthly { margin-top: .35rem; color: var(--white); font-size: var(--text-base); }
.simulator-monthly strong { color: var(--amber-light); font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.4rem); font-variant-numeric: tabular-nums; line-height: 1.2; }
.simulator-output .simulator-annual { margin-top: .45rem; color: oklch(93% 0.012 255); font-size: var(--text-sm); }
.simulator-annual strong { color: var(--white); font-variant-numeric: tabular-nums; }
.whatsapp-float {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 110;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .7rem 1rem;
  border: 1px solid oklch(40% 0.12 150);
  border-radius: 999px;
  background: oklch(48% 0.14 150);
  box-shadow: 0 6px 18px oklch(15% 0.04 150 / .22);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.whatsapp-float:hover { background: oklch(42% 0.14 150); box-shadow: 0 8px 22px oklch(15% 0.04 150 / .28); transform: translateY(-2px); }
.whatsapp-float:focus-visible { outline-color: oklch(42% 0.14 150); }

@media (max-width: 800px) {
  .simulator-wrapper { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 560px) {
  .whatsapp-float { right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); }
}

/* ==========================================================
   Accueil : aperçus des pages dédiées et gabarits de sections
   ========================================================== */
:root { --motif-arcs: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none' stroke='black'%3E%3Ccircle cx='300' cy='300' r='64' stroke-width='2'/%3E%3Ccircle cx='300' cy='300' r='128' stroke-width='2'/%3E%3Ccircle cx='300' cy='300' r='192' stroke-width='2'/%3E%3Ccircle cx='300' cy='300' r='256' stroke-width='2'/%3E%3Ccircle cx='300' cy='300' r='296' stroke-width='2'/%3E%3Cline x1='400.0' y1='300.0' x2='596.0' y2='300.0' stroke-width='1.5'/%3E%3Cline x1='396.6' y1='325.9' x2='585.9' y2='376.6' stroke-width='1.5'/%3E%3Cline x1='386.6' y1='350.0' x2='556.3' y2='448.0' stroke-width='1.5'/%3E%3Cline x1='370.7' y1='370.7' x2='509.3' y2='509.3' stroke-width='1.5'/%3E%3Cline x1='350.0' y1='386.6' x2='448.0' y2='556.3' stroke-width='1.5'/%3E%3Cline x1='325.9' y1='396.6' x2='376.6' y2='585.9' stroke-width='1.5'/%3E%3Cline x1='300.0' y1='400.0' x2='300.0' y2='596.0' stroke-width='1.5'/%3E%3Cline x1='274.1' y1='396.6' x2='223.4' y2='585.9' stroke-width='1.5'/%3E%3Cline x1='250.0' y1='386.6' x2='152.0' y2='556.3' stroke-width='1.5'/%3E%3Cline x1='229.3' y1='370.7' x2='90.7' y2='509.3' stroke-width='1.5'/%3E%3Cline x1='213.4' y1='350.0' x2='43.7' y2='448.0' stroke-width='1.5'/%3E%3Cline x1='203.4' y1='325.9' x2='14.1' y2='376.6' stroke-width='1.5'/%3E%3Cline x1='200.0' y1='300.0' x2='4.0' y2='300.0' stroke-width='1.5'/%3E%3Cline x1='203.4' y1='274.1' x2='14.1' y2='223.4' stroke-width='1.5'/%3E%3Cline x1='213.4' y1='250.0' x2='43.7' y2='152.0' stroke-width='1.5'/%3E%3Cline x1='229.3' y1='229.3' x2='90.7' y2='90.7' stroke-width='1.5'/%3E%3Cline x1='250.0' y1='213.4' x2='152.0' y2='43.7' stroke-width='1.5'/%3E%3Cline x1='274.1' y1='203.4' x2='223.4' y2='14.1' stroke-width='1.5'/%3E%3Cline x1='300.0' y1='200.0' x2='300.0' y2='4.0' stroke-width='1.5'/%3E%3Cline x1='325.9' y1='203.4' x2='376.6' y2='14.1' stroke-width='1.5'/%3E%3Cline x1='350.0' y1='213.4' x2='448.0' y2='43.7' stroke-width='1.5'/%3E%3Cline x1='370.7' y1='229.3' x2='509.3' y2='90.7' stroke-width='1.5'/%3E%3Cline x1='386.6' y1='250.0' x2='556.3' y2='152.0' stroke-width='1.5'/%3E%3Cline x1='396.6' y1='274.1' x2='585.9' y2='223.4' stroke-width='1.5'/%3E%3C/svg%3E"); }

/* Motif de marque (soleil : arcs + rayons), décoratif */
.motif-arcs { position: relative; overflow: hidden; }
.motif-arcs::after {
  position: absolute;
  z-index: 0;
  top: -16%;
  right: -7%;
  width: min(62vw, 720px);
  aspect-ratio: 1;
  background: var(--amber);
  content: '';
  opacity: .13;
  pointer-events: none;
  -webkit-mask: var(--motif-arcs) center / contain no-repeat;
  mask: var(--motif-arcs) center / contain no-repeat;
}
.motif-arcs--left::after { top: auto; right: auto; bottom: -34%; left: -12%; }
.motif-arcs > :not(.ap-lines):not(.devis-lines) { position: relative; z-index: 1; }

/* Rythme vertical : chaque section n'a pas le même souffle */
#expertises,
#approche { padding-block: calc(var(--section-space) * 1.15); }
#cibles { padding-block-end: calc(var(--section-space) * 1.2); }
#faq { padding-block: calc(var(--section-space) * .9); }
#cta-final { padding-block: calc(var(--section-space) * 1.35); }

/* Gabarit « titre fixe à gauche, contenu à droite » (expertises, FAQ) */
.split-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.split-head h2 { margin-bottom: 0; }
.split-head .link-arrow { margin-top: 1.5rem; }

.section-head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.25rem 3rem; margin-bottom: 3rem; }
.section-head-split h2 { max-width: 22ch; margin-bottom: 0; }

.link-arrow {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .6rem;
  flex: 0 0 auto;
  color: var(--text-dark);
  font-size: var(--text-base);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--amber);
  transition: color .18s ease, gap .25s var(--ease-out), border-color .18s ease;
}
.link-arrow:hover { gap: .9rem; color: var(--amber-deep); border-color: var(--amber-deep); }

/* Expertises : liste éditoriale */
#expertises { background: var(--white); }

/* Méthode : bandeau sombre, frise à 4 jalons */
#approche { background: var(--night); }
#approche .section-eyebrow { color: var(--amber-light); }
#approche h2 { color: var(--white); }
#approche .link-arrow { color: var(--white); border-color: var(--amber-light); }
#approche .link-arrow:hover { color: var(--amber-light); }
#approche .processus-steps { gap: clamp(1.5rem, 3vw, 2.5rem); }
#approche .process-step,
#approche .process-step:first-child,
#approche .process-step:last-child { padding: 2rem 0 0; border-top: 1px solid var(--line); }
#approche .process-step::before { position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); content: ''; }
#approche .process-step::after { display: none; }
#approche .step-num { color: var(--amber-light); font-size: clamp(2.5rem, 4vw, 3.5rem); }
#approche .process-step h3 { color: var(--white); font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; line-height: 1.25; }
#approche .process-step p { color: oklch(88% 0.025 255); }

/* À propos (aperçu) : engagements sans boîte */
#apropos-apercu .engagements { overflow: visible; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
#apropos-apercu .engagement-card { padding: 1.25rem 0; }
#apropos-apercu .engagement-card:hover { background: transparent; }
#apropos-apercu .engagement-card:last-child { border-bottom: 1px solid var(--line); }

/* Cibles : 1 grande carte + 2 cartes horizontales */
.cible-card:first-child { display: flex; flex-direction: column; grid-row: 1 / span 2; }
.cible-card:first-child .cible-img { height: auto; min-height: 320px; flex: 1 1 auto; }
.cible-card:first-child .cible-body h3 { font-size: var(--text-2xl); }
.cible-card:not(:first-child) { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
.cible-card:not(:first-child) .cible-img { height: auto; min-height: 200px; }

@media (max-width: 800px) {
  .split-layout { grid-template-columns: 1fr; }
  .split-head { position: static; }
  .section-head-split { align-items: flex-start; flex-direction: column; }
  .cibles-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .cible-card:first-child { grid-row: auto; }
  .cible-card:first-child .cible-img { min-height: 240px; }
}

@media (max-width: 560px) {
  .cible-card:not(:first-child) { display: block; }
  .cible-card:not(:first-child) .cible-img { height: 190px; }
}

/* ==========================================================
   Hero : signature graphique et entrée en scène
   ========================================================== */
.hero-content > * { animation: rise .9s var(--ease-out) backwards; }
.hero-content > :nth-child(2) { animation-delay: .12s; }
.hero-content > :nth-child(3) { animation-delay: .26s; }
.hero-content > :nth-child(4) { animation-delay: .4s; }

/* ==========================================================
   Services : 2 grandes cartes + 3 cartes (plus de case vide)
   ========================================================== */
.service-card:nth-child(-n+2) { grid-column: span 3; }
.service-card:nth-child(n+3) { grid-column: span 2; }
.service-card:nth-child(-n+2) .service-card-img { height: 220px; }

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:nth-child(n) { grid-column: auto; }
  .service-card:nth-child(n) .service-card-img { height: 175px; }
  .service-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card:last-child { grid-column: auto; }
}

@media (max-width: 360px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* Espacements propres à chaque bloc d'introduction (remplacent des styles inline) */
.cibles-header .section-intro,
.about-content .section-intro,
.contact-info .section-intro { margin-top: .8rem; }
#apropos-apercu .section-intro { margin-bottom: 1.5rem; }
.contact-info .contact-detail-list { margin-top: 2.5rem; }

/* Liens d'action sur les cartes */
.card-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .5rem;
  margin-top: .75rem;
  color: var(--text-dark);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: .3em;
  transition: gap .25s var(--ease-out), color .18s ease;
}
.card-link:hover { gap: .8rem; color: var(--amber-deep); }

/* Footer : colonne contact */
.footer-col ul li { font-size: var(--text-sm); overflow-wrap: anywhere; }
.footer-text { color: oklch(88% 0.02 255); }

/* Formulaire : retour visible, sans fenêtre bloquante */
.form-group :is(input, select, textarea)[aria-invalid="true"] { border-color: oklch(72% 0.16 25); }
.form-status { margin: 1rem 0 0; padding: .85rem 1rem; border-left: 3px solid var(--amber); border-radius: 0 5px 5px 0; background: oklch(100% 0 0 / .06); color: var(--white); font-size: var(--text-sm); line-height: 1.6; }
.form-status[data-kind="error"] { border-left-color: oklch(72% 0.16 25); }
.form-status a { color: var(--amber-light); font-weight: 700; text-underline-offset: .2em; }

/* ==========================================================
   VERRE ET BRILLANCE
   Couche finale : surfaces vitrées (flou + bord lumineux + reflet),
   halos de couleur derrière le verre, boutons laqués.
   Tout est piloté par les variables ci-dessous.
   ========================================================== */
:root {
  --radius: 16px;
  --blur: blur(18px) saturate(165%);
  --blur-sm: blur(10px) saturate(150%);
  --glass-light: linear-gradient(180deg, oklch(100% 0 0 / .8), oklch(100% 0 0 / .48));
  --glass-light-strong: linear-gradient(180deg, oklch(100% 0 0 / .94), oklch(100% 0 0 / .68));
  --glass-light-line: oklch(100% 0 0 / .9);
  --glass-dark: linear-gradient(180deg, oklch(100% 0 0 / .12), oklch(100% 0 0 / .04));
  --glass-dark-line: oklch(100% 0 0 / .2);
  --shine: inset 0 1px 0 oklch(100% 0 0 / .95), inset 0 -1px 0 oklch(60% .03 255 / .08);
  --shine-dark: inset 0 1px 0 oklch(100% 0 0 / .3), inset 0 -1px 0 oklch(0% 0 0 / .25);
  --glass-shadow: 0 0 0 1px oklch(40% .05 255 / .07), 0 1px 2px oklch(25% .05 255 / .06), 0 18px 40px -14px oklch(30% .07 255 / .28);
  --glass-shadow-dark: 0 24px 48px -18px oklch(4% .03 255 / .75);
  --gloss-gold: linear-gradient(180deg, oklch(90% .08 88) 0%, oklch(76% .105 84) 46%, oklch(66% .105 80) 100%);
  --gloss-gold-hover: linear-gradient(180deg, oklch(94% .06 90) 0%, oklch(82% .1 85) 46%, oklch(71% .105 81) 100%);
}

/* ---------- 1. Profondeur : halos derrière les sections claires ---------- */
:is(#stats, #expertises, #cibles, #couverture, #simulateur, #faq, #services, #processus, #contact) { position: relative; isolation: isolate; }
:is(#stats, #expertises, #cibles, #couverture, #simulateur, #faq, #services, #processus, #contact)::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(44rem 28rem at 4% 6%, oklch(88% .11 86 / .55), transparent 70%),
    radial-gradient(40rem 32rem at 98% 96%, oklch(82% .08 250 / .5), transparent 70%),
    radial-gradient(26rem 20rem at 60% 2%, oklch(93% .05 205 / .45), transparent 70%);
  content: '';
  pointer-events: none;
}
:is(#expertises, #simulateur, #processus, #services)::before {
  background:
    radial-gradient(44rem 28rem at 96% 8%, oklch(88% .11 86 / .5), transparent 70%),
    radial-gradient(40rem 32rem at 2% 94%, oklch(82% .08 250 / .5), transparent 70%),
    radial-gradient(26rem 20rem at 38% 100%, oklch(93% .05 205 / .45), transparent 70%);
}

/* ... et lueurs derrière les sections sombres */
#approche { background: radial-gradient(46rem 26rem at 8% 0%, oklch(52% .13 255 / .42), transparent 70%), radial-gradient(40rem 28rem at 96% 100%, oklch(72% .1 85 / .2), transparent 70%), var(--night); }
#a-propos,
#apropos-apercu { background: radial-gradient(46rem 28rem at 92% 0%, oklch(55% .12 250 / .4), transparent 70%), radial-gradient(38rem 26rem at 4% 100%, oklch(74% .1 85 / .2), transparent 70%), var(--navy); }
#devis { background: radial-gradient(44rem 28rem at 6% 10%, oklch(52% .13 255 / .4), transparent 70%), radial-gradient(40rem 28rem at 98% 90%, oklch(72% .1 85 / .18), transparent 70%), var(--night); }
#cta-final::before { background: radial-gradient(34rem 20rem at 14% 0%, oklch(80% .09 86 / .3), transparent 70%), radial-gradient(34rem 22rem at 90% 100%, oklch(58% .12 252 / .4), transparent 70%), linear-gradient(135deg, var(--navy), var(--navy-mid)); }
footer { background: radial-gradient(40rem 20rem at 85% 0%, oklch(50% .12 255 / .28), transparent 70%), var(--void); }
footer::before { background: linear-gradient(90deg, transparent, var(--amber), transparent); }

/* ---------- 2. Header : verre sur un calque dédié ---------- */
nav.scrolled,
nav.nav-solid { background: transparent; border-color: oklch(100% 0 0 / .1); }
nav.scrolled { border-color: oklch(82% .09 84 / .3); box-shadow: 0 12px 34px -12px oklch(4% .03 255 / .6); }
nav::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, oklch(24% .05 255 / .72), oklch(12% .025 255 / .62));
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / .14);
  content: '';
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease-out);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
nav.scrolled::after,
nav.nav-solid::after { opacity: 1; }

/* ---------- 3. Boutons laqués ---------- */
.btn-primary,
.btn-submit,
.nav-links .nav-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 10px;
  background: var(--gloss-gold);
  color: var(--night);
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / .65), inset 0 -1px 0 oklch(35% .07 80 / .35), 0 8px 22px -6px var(--glow-gold), 0 2px 4px oklch(30% .06 80 / .25);
}
.btn-primary:hover,
.btn-submit:hover,
.nav-links .nav-cta:hover {
  background: var(--gloss-gold-hover);
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / .8), inset 0 -1px 0 oklch(35% .07 80 / .35), 0 14px 30px -6px oklch(69% .105 83 / .5), 0 2px 4px oklch(30% .06 80 / .25);
  transform: translateY(-2px);
}
.btn-primary::after,
.btn-submit::after,
.nav-links .nav-cta::after {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(105deg, transparent 32%, oklch(100% 0 0 / .55) 50%, transparent 68%);
  content: '';
  pointer-events: none;
  transform: translateX(-130%);
  transition: transform .8s var(--ease-out);
}
.btn-primary:hover::after,
.btn-submit:hover::after,
.nav-links .nav-cta:hover::after { transform: translateX(130%); }

.btn-outline {
  border-radius: 10px;
  border-color: oklch(100% 0 0 / .4);
  background: linear-gradient(180deg, oklch(100% 0 0 / .18), oklch(100% 0 0 / .05));
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / .45), 0 8px 24px -10px oklch(0% 0 0 / .5);
  -webkit-backdrop-filter: var(--blur-sm);
  backdrop-filter: var(--blur-sm);
}
.btn-outline:hover { border-color: oklch(100% 0 0 / .7); background: linear-gradient(180deg, oklch(100% 0 0 / .3), oklch(100% 0 0 / .1)); }

/* ---------- 4. Hero ---------- */
.hero-eyebrow {
  padding: .5rem 1rem .5rem .85rem;
  border: 1px solid var(--amber-hot);
  border-radius: 999px;
  background: var(--amber-light);
  color: var(--night);
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / .6), 0 4px 14px oklch(12% .025 255 / .2);
}
.hero-eyebrow::before { background: var(--night); }
.hero-pause-btn { border-color: oklch(100% 0 0 / .35); box-shadow: inset 0 1px 0 oklch(100% 0 0 / .35); }

/* ---------- 5. Surfaces de verre (sections claires) ---------- */
.stat-item,
.cible-card,
.service-card,
.faq-item,
.simulator-panel,
.contact-detail-list {
  border: 1px solid var(--glass-light-line);
  background: var(--glass-light);
  box-shadow: var(--shine), var(--glass-shadow);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.stat-item { padding: 1.5rem 1.5rem 1.4rem; border-radius: var(--radius); }
.cible-card { border-radius: var(--radius); }
.cible-card:hover,
.service-card:hover { border-color: oklch(82% .09 84 / .9); background: var(--glass-light-strong); box-shadow: var(--shine), 0 26px 50px -16px oklch(30% .07 255 / .36); }

/* Services : cartes séparées (plus de cadre unique à filets) */
.services-grid { gap: 1.25rem; overflow: visible; border: 0; border-radius: 0; background: transparent; }
.service-card { border-radius: var(--radius); }

/* FAQ : une carte de verre par question */
.faq-list { display: flex; flex-direction: column; gap: .75rem; border-top: 0; }
.faq-item { overflow: hidden; border-radius: 14px; }
.faq-item.open { background: var(--glass-light-strong); box-shadow: var(--shine), 0 22px 44px -16px oklch(30% .07 255 / .34), 0 0 0 1px oklch(69% .105 83 / .35); }
.faq-question:hover { background: oklch(100% 0 0 / .45); }

/* Expertises : la ligne survolée devient une plaque de verre */

/* Simulateur, contact */
.simulator-panel { border-radius: var(--radius); }
.simulator-input-wrap input { border-radius: 10px; background: oklch(100% 0 0 / .7); box-shadow: inset 0 1px 2px oklch(30% .05 255 / .1); }
.contact-detail { border-bottom-color: oklch(55% .04 255 / .14); }
.contact-detail:hover { background: oklch(100% 0 0 / .5); }
.service-icon-wrap,
.step-icon-wrap,
.contact-icon-wrap {
  border: 1px solid var(--glass-light-line);
  border-radius: 10px;
  background: var(--glass-light-strong);
  box-shadow: var(--shine), 0 6px 14px -6px oklch(30% .07 255 / .25);
}

/* Page « Approche » (fond clair) : étapes en verre */
#processus .processus-steps { gap: 1.25rem; }
#processus .process-step,
#processus .process-step:first-child,
#processus .process-step:last-child {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--glass-light-line);
  border-radius: var(--radius);
  background: var(--glass-light);
  box-shadow: var(--shine), var(--glass-shadow);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
#processus .process-step::after { display: none; }

/* Chiffres clés : reflet métallique sur les valeurs */
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .stat-number {
    background: linear-gradient(180deg, var(--text-dark) 35%, oklch(40% .09 255));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

/* ---------- 6. Surfaces de verre (sections sombres) ---------- */
.devis-form,
.devis-points,
.about-features,
.engagements,
#apropos-apercu .engagements,
#approche .process-step,
#approche .process-step:first-child,
#approche .process-step:last-child {
  border: 1px solid var(--glass-dark-line);
  border-radius: var(--radius);
  background: var(--glass-dark);
  box-shadow: var(--shine-dark), var(--glass-shadow-dark);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
#approche .process-step,
#approche .process-step:first-child,
#approche .process-step:last-child { padding: 1.75rem 1.5rem; }
#approche .process-step::before { display: none; }
#approche .process-step:hover { border-color: oklch(82% .09 84 / .5); }

#apropos-apercu .engagements { overflow: hidden; }
.about-features li,
.engagement-card,
.devis-points li { border-bottom-color: oklch(100% 0 0 / .1); }
#apropos-apercu .engagement-card { padding: 1.25rem 1.4rem; }
#apropos-apercu .engagement-card:last-child { border-bottom: 0; }
.about-features li:hover,
.engagement-card:hover,
#apropos-apercu .engagement-card:hover { background: oklch(100% 0 0 / .07); }
.feat-icon-wrap { border-color: var(--glass-dark-line); border-radius: 10px; background: var(--glass-dark); box-shadow: var(--shine-dark); }

/* Formulaire de devis : champs vitrés */
.devis-form .form-group input,
.devis-form .form-group select,
.devis-form .form-group textarea {
  border-color: oklch(100% 0 0 / .22);
  border-radius: 10px;
  background: oklch(100% 0 0 / .07);
  box-shadow: inset 0 1px 3px oklch(0% 0 0 / .3);
}
.devis-form .form-group input:focus-visible,
.devis-form .form-group select:focus-visible,
.devis-form .form-group textarea:focus-visible { border-color: var(--amber-light); box-shadow: inset 0 1px 3px oklch(0% 0 0 / .3), 0 0 0 3px oklch(69% .105 83 / .28); }

/* Résultat du simulateur : verre sombre laqué */
.simulator-output {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-dark-line);
  background: linear-gradient(160deg, oklch(32% .075 255 / .92), oklch(15% .035 255 / .96));
  box-shadow: var(--shine-dark), var(--glass-shadow-dark);
}
.simulator-output { border-radius: 12px; }
.simulator-output::before {
  position: absolute;
  inset: 0 0 52% 0;
  background: linear-gradient(180deg, oklch(100% 0 0 / .14), transparent);
  content: '';
  pointer-events: none;
}
.simulator-output > * { position: relative; }

/* ---------- 7. Images : reflet diagonal et puces vitrées ---------- */
.cible-img-overlay { background: linear-gradient(115deg, oklch(100% 0 0 / .2) 0%, transparent 38%), linear-gradient(0deg, oklch(12% 0.025 255 / .78), transparent 72%); }
.service-card-img::after { background: linear-gradient(115deg, oklch(100% 0 0 / .2) 0%, transparent 38%), linear-gradient(0deg, oklch(12% 0.025 255 / .45), transparent 65%); }
.cible-tag {
  border: 1px solid oklch(100% 0 0 / .5);
  border-radius: 999px;
  background: oklch(84% .09 85 / .78);
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / .6), 0 4px 12px -4px oklch(0% 0 0 / .4);
  -webkit-backdrop-filter: var(--blur-sm);
  backdrop-filter: var(--blur-sm);
}

/* ---------- 8. WhatsApp laqué ---------- */
.whatsapp-float {
  background: linear-gradient(180deg, oklch(56% .15 150), oklch(40% .13 150));
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / .4), 0 10px 24px -8px oklch(15% .06 150 / .55);
}
.whatsapp-float:hover { background: linear-gradient(180deg, oklch(60% .15 150), oklch(44% .13 150)); }

/* ---------- 9. Adaptations ---------- */
@media (max-width: 800px) {
  :root { --blur: blur(12px) saturate(150%); }
  .nav-links { background: oklch(14% .03 255 / .85); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
  .services-grid { gap: 1rem; }
}

/* Sans flou possible (ancien navigateur) ou transparence réduite : surfaces quasi opaques */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root {
    --blur: none; --blur-sm: none;
    --glass-light: linear-gradient(180deg, oklch(100% 0 0 / .97), oklch(100% 0 0 / .92));
    --glass-light-strong: oklch(100% 0 0 / .99);
    --glass-dark: linear-gradient(180deg, oklch(30% .06 255 / .95), oklch(22% .055 255 / .95));
  }
  nav::after { background: oklch(12% .025 255 / .97); }
  .nav-links { background: var(--void); }
}
@media (prefers-reduced-transparency: reduce) {
  :root {
    --blur: none; --blur-sm: none;
    --glass-light: linear-gradient(180deg, oklch(100% 0 0 / .97), oklch(100% 0 0 / .92));
    --glass-light-strong: oklch(100% 0 0 / .99);
    --glass-dark: linear-gradient(180deg, oklch(30% .06 255 / .95), oklch(22% .055 255 / .95));
  }
  nav::after { background: oklch(12% .025 255 / .97); }
  .nav-links { background: var(--void); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary::after,
  .btn-submit::after,
  .nav-links .nav-cta::after { display: none; }
}

/* Cartes services : lien d'action aligné sur le texte et calé en bas de carte */
.service-card { display: flex; flex-direction: column; }
.service-card > p { margin-bottom: 0; }
.service-card > .card-link { margin: auto 1.5rem 1.25rem; padding-top: 1rem; align-self: flex-start; }
@media (max-width: 560px) {
  .service-card > .card-link { margin-right: 1.25rem; margin-left: 1.25rem; }
}

/* Champ piège anti-robots : invisible pour les visiteurs */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-submit:disabled { cursor: progress; filter: saturate(.7); opacity: .85; transform: none; }

/* Couverture : schéma en anneaux (agence, territoire national, Afrique de l'Ouest) */
.coverage-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, 260px) 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  overflow: hidden;
  border: 1px solid var(--glass-dark-line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, oklch(32% .075 255 / .92), oklch(15% .035 255 / .96));
  box-shadow: var(--shine-dark), var(--glass-shadow-dark);
}
.coverage-card::before { position: absolute; inset: 0 0 55% 0; background: linear-gradient(180deg, oklch(100% 0 0 / .14), transparent); content: ''; pointer-events: none; }
.coverage-card > * { position: relative; }
.coverage-radar { display: block; width: 100%; height: auto; margin: 0 auto; overflow: visible; }
.coverage-radar .ring { fill: none; }
.ring-3 { stroke: oklch(100% 0 0 / .4); stroke-dasharray: 3 7; stroke-linecap: round; stroke-width: 1.5; }
.ring-2 { fill: oklch(69% .105 83 / .08); stroke: var(--amber-light); stroke-width: 1.5; }
.ring-1 { fill: oklch(69% .105 83 / .24); stroke: var(--amber); stroke-width: 2; }
.coverage-radar .rays line { stroke: oklch(100% 0 0 / .1); stroke-width: 1; }
.coverage-radar .dot { fill: var(--amber-light); }

.coverage-legend { margin: 0; padding: 0; list-style: none; }
.coverage-legend li { position: relative; display: grid; gap: .2rem; padding: 1.1rem 0 1.1rem 2rem; border-bottom: 1px solid var(--line); }
.coverage-legend li:first-child { border-top: 1px solid var(--line); }
.coverage-legend li::before { position: absolute; top: 1.55rem; left: 0; width: 14px; height: 14px; border-radius: 50%; content: ''; }
.lv-1::before { background: var(--amber); box-shadow: 0 0 14px oklch(69% .105 83 / .7); }
.lv-2::before { border: 2px solid var(--amber-light); background: oklch(69% .105 83 / .2); }
.lv-3::before { border: 2px dashed oklch(100% 0 0 / .55); }
.lv-name { color: var(--white); font-size: var(--text-xl); font-weight: 700; letter-spacing: -.015em; }
.lv-text { color: oklch(88% 0.02 255); font-size: var(--text-sm); }

.contact-grid .coverage-card { grid-template-columns: 1fr; }
.contact-grid .coverage-radar { max-width: 210px; }

@media (max-width: 800px) {
  .coverage-card { grid-template-columns: 1fr; }
  .coverage-radar { max-width: 230px; }
}

/* Expertises : cartes photo (icône, titre, deux textes, lien d'action) */
.expertise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; }
.expertise-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--glass-light-line);
  border-radius: var(--radius);
  background: var(--glass-light);
  box-shadow: var(--shine), var(--glass-shadow);
  transition: transform .3s var(--ease-out), border-color .2s ease, box-shadow .3s var(--ease-out);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.expertise-card:hover { border-color: oklch(82% .09 84 / .9); box-shadow: var(--shine), 0 26px 50px -16px oklch(30% .07 255 / .36); transform: translateY(-4px); }
.expertise-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.expertise-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.expertise-card:hover .expertise-card-media img { transform: scale(1.04); }
.expertise-card-media::after { position: absolute; inset: 0; background: linear-gradient(115deg, oklch(100% 0 0 / .18) 0%, transparent 38%), linear-gradient(0deg, oklch(12% 0.025 255 / .25), transparent 45%); content: ''; pointer-events: none; }
.expertise-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid oklch(100% 0 0 / .5);
  border-radius: 14px;
  background: linear-gradient(180deg, oklch(58% .15 255), oklch(38% .13 255));
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / .5), 0 8px 18px -6px oklch(20% .08 255 / .6);
  color: var(--white);
}
.expertise-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem 1.5rem 1.25rem; }
.expertise-card-body h3 { margin-bottom: .6rem; }
.expertise-card-body p { margin: 0; color: var(--text-muted); font-size: var(--text-base); line-height: 1.7; }
.expertise-card-body .expertise-card-detail { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid oklch(55% .04 255 / .14); }
.expertise-card .card-link { align-self: flex-start; margin-top: auto; padding-top: 1.25rem; }

/* Page Services : les cartes d'expertise précèdent la grille des prestations */
#services .expertise-grid { margin-bottom: 1.5rem; }

/* Page Services : « Les usages du solaire » */
.usages { margin-top: clamp(3.5rem, 7vw, 6rem); }
.usages-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.25rem 3rem; margin-bottom: 2.5rem; }
.usages-head h2 { max-width: 18ch; margin-bottom: 0; }
.usages-intro { max-width: 38ch; margin: 0; color: var(--text-muted); font-size: var(--text-sm); line-height: 1.7; }
.usages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; }
.expertise-card--static .expertise-card-media { aspect-ratio: 4 / 3; }
.expertise-card--static:hover { border-color: var(--glass-light-line); box-shadow: var(--shine), var(--glass-shadow); transform: none; }
.expertise-card--static:hover .expertise-card-media img { transform: none; }
.expertise-card--static .expertise-card-body { padding-bottom: 1.5rem; }
@media (max-width: 800px) { .usages-head { align-items: flex-start; flex-direction: column; } }


/* ===== Éléments communs aux nouvelles sections ===== */
.eyebrow-line { display: inline-flex; align-items: center; gap: .75rem; }
.eyebrow-line::before { width: 28px; height: 2px; background: var(--amber); content: ''; }
.pg-title { max-width: 20ch; margin: 0 0 1.5rem; color: var(--text-dark); font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.card-soft { border: 1px solid var(--line-light); border-radius: var(--radius); background: oklch(100% 0 0 / .72); box-shadow: 0 14px 36px oklch(30% .05 255 / .10); }
.btn-ghost-dark { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 1.6rem; border: 1px solid var(--amber-deep); border-radius: var(--radius); color: var(--text-dark); font-weight: 700; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.btn-ghost-dark:hover { background: var(--amber-pale); transform: translateY(-2px); }
.epage > section + section { padding-top: var(--section-space); }

/* ===== Accueil : « Votre projet commence ici » ===== */
.expertises-head { margin-bottom: 3rem; }
.expertises-head h2 { max-width: none; margin-bottom: 1.25rem; }
.expertise-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .expertise-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .expertise-grid--3 { grid-template-columns: 1fr; } }

/* ===== Accueil : « Notre méthode » (cartes claires) ===== */
#methode { background: var(--bg-alt); }
.method-head { margin-bottom: 2.5rem; }
.method-head h2 { max-width: 22ch; margin-bottom: 1.25rem; }
.method-head .section-intro { max-width: 62ch; }
.method-link { margin-top: 1.5rem; }
.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.method-card { position: relative; padding: 1.5rem; }
.method-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1rem; border-radius: 12px; background: var(--amber-pale); color: var(--amber-deep); }
.method-num { position: absolute; top: 1.4rem; right: 1.5rem; color: var(--amber); font-family: var(--font-display); font-size: 2rem; font-weight: 800; opacity: .55; }
.method-card h3 { margin: 0 0 .6rem; color: var(--text-dark); font-size: var(--text-xl); font-weight: 700; }
.method-card p { margin: 0; color: var(--text-muted); font-size: var(--text-sm); line-height: 1.7; }
@media (max-width: 1024px) { .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .method-grid { grid-template-columns: 1fr; } }

/* ===== Page À propos ===== */
.ap2-head p.section-intro { max-width: 62ch; }
.ap2-alt { background: var(--bg-alt); }
.ap2-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ap2-split h2 { max-width: 20ch; margin-bottom: 1.25rem; }
.ap2-split p { color: var(--text-body); line-height: 1.75; }
.ap2-photo { margin: 0; }
.ap2-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 18px 44px oklch(30% .05 255 / .18); }
.ap2-photo figcaption { margin-top: .75rem; color: var(--text-muted); font-size: var(--text-sm); }
.ap2-split .btn-primary { margin-top: 1rem; }
.ap2-join { margin-top: 1.75rem; padding: 1.5rem 1.75rem; }
.ap2-join h3 { margin: 0 0 .5rem; color: var(--text-dark); font-size: var(--text-xl); font-weight: 700; }
.ap2-join p { margin: 0 0 1rem; font-size: var(--text-sm); }
@media (max-width: 900px) { .ap2-split { grid-template-columns: 1fr; } .ap2-split .ap2-photo { order: -1; } }

/* ===== Page Simulateur ===== */
.sim-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.sim-panel2 { padding: clamp(1.5rem, 3vw, 2.5rem); }
.sim-panel2 h2 { margin: 0 0 .75rem; font-size: var(--text-3xl, 2rem); }
.sim-lead { margin: 0 0 1.5rem; color: var(--text-body); line-height: 1.7; }
.sim-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.sim-field { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.sim-field label { margin-bottom: .5rem; color: var(--text-dark); font-size: var(--text-sm); font-weight: 700; }
.sim-field input, .sim-field select { width: 100%; padding: .9rem 1.1rem; border: 1px solid var(--line-light); border-radius: 12px; background: oklch(100% 0 0 / .85); color: var(--text-dark); font: inherit; }
.sim-field input:focus-visible, .sim-field select:focus-visible { outline: 2px solid var(--amber-deep); outline-offset: 2px; }
.sim-field small { margin-top: .45rem; color: var(--text-muted); font-size: var(--text-xs, .8rem); line-height: 1.55; }
.sim-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.sim-hint { margin: 1rem 0 0; color: var(--text-body); font-size: var(--text-sm); }
.sim-hint[data-kind="error"] { color: oklch(48% .17 27); font-weight: 600; }
.sim-result { margin-top: 1.75rem; padding: 1.5rem; border-radius: var(--radius); background: var(--night); color: var(--white); }
.sim-result[hidden] { display: none; }
.sim-result h3 { margin: 0 0 1rem; color: var(--amber-light); font-size: var(--text-sm); letter-spacing: .08em; text-transform: uppercase; }
.sim-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.sim-metrics strong { display: block; color: var(--white); font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.9rem); font-variant-numeric: tabular-nums; }
.sim-metrics span { color: oklch(88% .02 255); font-size: var(--text-sm); }
.sim-note { margin: 0 0 1.25rem; color: oklch(90% .02 255); font-size: var(--text-sm); line-height: 1.6; }
.sim-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.sim-cta .btn-ghost-dark { border-color: oklch(100% 0 0 / .5); color: var(--white); }
.sim-cta .btn-ghost-dark:hover { background: oklch(100% 0 0 / .12); }
.sim-reassure { margin: 1rem 0 0; color: oklch(85% .02 255); font-size: var(--text-sm); }
.sim-side h2 { margin-bottom: 1.25rem; }
.sim-points { display: flex; flex-direction: column; gap: 1rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.sim-points li { display: flex; gap: .85rem; color: var(--text-body); line-height: 1.65; }
.sim-points svg { flex: 0 0 auto; margin-top: .2rem; color: var(--amber-deep); }
.sim-warning { padding: 1.25rem 1.5rem; }
.sim-warning h3 { margin: 0 0 .5rem; color: var(--text-dark); font-size: var(--text-base); font-weight: 700; }
.sim-warning p { margin: 0; color: var(--text-body); font-size: var(--text-sm); line-height: 1.65; }
@media (max-width: 900px) { .sim-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .sim-row, .sim-metrics { grid-template-columns: 1fr; } }

#sim-outil { padding-top: 0; }
#sim-intro, #apropos-intro { padding-bottom: 2.5rem; }
#apropos-methode .method-grid { margin-top: 0; }

/* ==========================================================
   Retouches : vidéo plus claire, transition douce entre sections, logos agrandis
   ========================================================== */
.hero-overlay {
}

/* MODIF : lisibilité du texte du hero (ombres en 3 couches, aucun voile sur la vidéo) */
.hero-content h1,
.hero-content .hero-desc {
  text-shadow:
    0 1px 2px oklch(10% .02 255 / .85),
    0 2px 8px oklch(10% .02 255 / .7),
    0 6px 28px oklch(10% .02 255 / .6);
}
nav::before { background: linear-gradient(180deg, oklch(12% 0.025 255 / .6), oklch(12% 0.025 255 / 0)); }

/* 2. « Qui sommes-nous » → « Étude gratuite » : fond continu, sections toujours distinctes */
#apropos-apercu {
  background:
    radial-gradient(46rem 28rem at 92% 0%, oklch(55% .12 250 / .4), transparent 70%),
    radial-gradient(38rem 22rem at 4% 60%, oklch(74% .1 85 / .16), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy) 50%, var(--night) 100%);
}
#devis {
  background:
    radial-gradient(44rem 26rem at 6% 40%, oklch(52% .13 255 / .34), transparent 70%),
    radial-gradient(40rem 28rem at 98% 90%, oklch(72% .1 85 / .18), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--night) 28%),
    var(--night);
}

/* 3. Logo (version large : emblème + « ÉNERGIES et Systèmes », texte blanc pour fonds sombres) */
.logo-img { width: auto; height: 54px; margin-block: 0; filter: drop-shadow(0 2px 8px oklch(10% .02 255 / .45)); }
nav.scrolled .logo-img { height: 48px; margin-block: 0; }
.footer-logo-img { width: auto; height: 52px; margin-block: 0; }
@media (max-width: 768px) {
  .logo-img { height: 38px; margin-block: 0; }
  nav.scrolled .logo-img { height: 34px; margin-block: 0; }
  .footer-logo-img { height: 42px; margin-block: 0; }
}


/* ===== Page Services — rendu « Nos solutions » (mise en page, couleurs d'origine) ===== */
:is(#sec-services, #sec-contact) > section { position: relative; isolation: isolate; }
:is(#sec-services, #sec-contact) > section::before {
  position: absolute; inset: 0; z-index: -1; content: ''; pointer-events: none;
  background:
    radial-gradient(44rem 28rem at 96% 8%, oklch(88% .11 86 / .5), transparent 70%),
    radial-gradient(40rem 32rem at 2% 94%, oklch(82% .08 250 / .5), transparent 70%),
    radial-gradient(26rem 20rem at 38% 100%, oklch(93% .05 205 / .45), transparent 70%);
}
:is(#sec-services, #sec-contact) > section { padding-bottom: clamp(3rem, 6vw, 5rem); }
:is(#sec-services, #sec-contact) > section + section { padding-top: clamp(2rem, 4vw, 3rem); }

.sv-title { max-width: none; margin: 0 0 1.5rem; color: var(--text-dark); font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.sv-title span { display: inline; }
@media (min-width: 900px) { .sv-title span { display: block; } }
.sv-lead { max-width: 58ch; margin: 0 0 2rem; color: var(--text-body); font-size: var(--text-lg); line-height: 1.75; }
.sv-h2 { max-width: 20ch; margin: 0; }
.sv-head { margin-bottom: 2.5rem; }
.sv-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.25rem 3rem; }
.sv-note { max-width: 38ch; margin: 0; color: var(--text-muted); font-size: var(--text-sm); line-height: 1.7; }
.sv-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Grille 3 × 2 */
.sv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.sv-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--glass-light-line); border-radius: var(--radius); background: var(--glass-light); box-shadow: var(--shine), var(--glass-shadow); transition: transform .3s var(--ease-out), border-color .2s ease, box-shadow .3s var(--ease-out); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.sv-card:hover { border-color: oklch(82% .09 84 / .9); box-shadow: var(--shine), 0 26px 50px -16px oklch(30% .07 255 / .36); transform: translateY(-4px); }
.sv-card-media { position: relative; aspect-ratio: 8 / 5; overflow: hidden; background: var(--navy); }
.sv-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.sv-card:hover .sv-card-media img { transform: scale(1.04); }
.sv-card-media::after { position: absolute; inset: 0; background: linear-gradient(115deg, oklch(100% 0 0 / .18) 0%, transparent 38%), linear-gradient(0deg, oklch(12% 0.025 255 / .25), transparent 45%); content: ''; pointer-events: none; }
.sv-badge { position: absolute; top: 1rem; right: 1rem; z-index: 1; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid oklch(100% 0 0 / .5); border-radius: 14px; background: linear-gradient(180deg, oklch(58% .15 255), oklch(38% .13 255)); box-shadow: inset 0 1px 0 oklch(100% 0 0 / .5), 0 8px 18px -6px oklch(20% .08 255 / .6); color: var(--white); }
.sv-badge svg { width: 24px; height: 24px; }
.sv-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem 1.5rem 1.25rem; }
.sv-card-body h3 { margin-bottom: .6rem; }
.sv-card-body p { margin: 0; color: var(--text-muted); font-size: var(--text-base); line-height: 1.7; }
.sv-card-body .sv-card-detail { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid oklch(55% .04 255 / .14); }
.sv-link { align-self: flex-start; margin-top: auto; padding-top: 1.25rem; }

/* Usages */
.sv-usages-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; }
.sv-usage { overflow: hidden; border: 1px solid var(--glass-light-line); border-radius: var(--radius); background: var(--glass-light); box-shadow: var(--shine), var(--glass-shadow); }
.sv-usage-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.sv-usage-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sv-usage-body { padding: 1.5rem; }
.sv-usage-body h3 { margin-bottom: .6rem; }
.sv-usage-body p { margin: 0; color: var(--text-muted); line-height: 1.7; }

@media (max-width: 1024px) { .sv-grid, .sv-usages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .sv-grid, .sv-usages-grid { grid-template-columns: 1fr; }
  .sv-head--split { align-items: flex-start; flex-direction: column; }
}

/* MODIF : lisibilité du texte « Scroll » en bas du hero */
.hero-scroll {
  text-shadow: 0 1px 3px oklch(10% .02 255 / .9), 0 2px 12px oklch(10% .02 255 / .7);
}

/* ===== Formulaires (devis accueil + contact) : consentement et note ===== */
.form-consent { display: flex; align-items: center; gap: .7rem; margin: .25rem 0 .5rem; color: oklch(95% .01 255); font-size: var(--text-sm); line-height: 1.5; cursor: pointer; }
.form-consent input { display: grid; width: 20px; height: 20px; flex: 0 0 auto; margin: 0; place-content: center; border: 1px solid oklch(100% 0 0 / .4); border-radius: 6px; background: oklch(100% 0 0 / .08); appearance: none; -webkit-appearance: none; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.form-consent input:checked { border-color: var(--amber); background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161d2b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat; }
.form-consent input:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--glow-gold); }
.form-consent input[aria-invalid="true"] { border-color: oklch(72% .16 25); }
.form-note { margin: 0 0 1rem; color: oklch(86% .02 255); font-size: var(--text-xs); line-height: 1.6; }

/* ===== Page Contact — mise en page (couleurs d'origine) ===== */
.ct-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(2rem, 5vw, 4.5rem); }
.ct-info h2 { max-width: 14ch; margin: 0 0 1.75rem; }
.ct-list { display: flex; flex-direction: column; gap: 1.4rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.ct-item { display: flex; align-items: flex-start; gap: 1rem; }
.ct-item .contact-icon-wrap { width: 46px; height: 46px; border-radius: 14px; }
.ct-item .contact-icon-wrap svg { width: 19px; height: 19px; }
.ct-item-text { display: flex; min-width: 0; flex-direction: column; gap: .2rem; }
.ct-item-text strong { color: var(--text-dark); font-size: var(--text-base); font-weight: 700; }
.ct-item-text span { color: var(--text-muted); font-size: var(--text-sm); line-height: 1.6; overflow-wrap: anywhere; }
.ct-item-text .ct-small { font-size: var(--text-xs); }
.ct-item-text a { color: var(--text-body); text-decoration: none; }
.ct-item-text a:hover { color: var(--amber-deep); }
.ct-item-text .ct-phone { color: var(--amber-deep); font-weight: 700; }
.ct-wa { display: flex; width: 100%; min-height: 50px; align-items: center; justify-content: center; gap: .6rem; padding: 0 1.25rem; text-decoration: none; }
.ct-tip { margin: 1.5rem 0 0; color: var(--text-muted); font-size: var(--text-sm); line-height: 1.8; }

/* Carte du formulaire (fond clair) */
.ct-form { padding: clamp(1.5rem, 3.5vw, 2.5rem); border: 1px solid var(--glass-light-line); border-radius: 22px; background: var(--glass-light-strong); box-shadow: var(--shine), var(--glass-shadow); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.ct-form .form-title { color: var(--text-dark); }
.ct-form .form-subtitle { color: var(--text-muted); }
.ct-form .form-group label { color: var(--text-dark); font-size: var(--text-xs); letter-spacing: .02em; }
.ct-form .form-group input,
.ct-form .form-group select,
.ct-form .form-group textarea { border-color: var(--line-light); border-radius: 12px; background: var(--white); box-shadow: none; color: var(--text-dark); font-size: var(--text-sm); }
.ct-form .form-group input::placeholder,
.ct-form .form-group textarea::placeholder { color: var(--text-muted); opacity: .8; }
.ct-form .form-group select option { background: var(--white); color: var(--text-dark); }
.ct-form .form-group input:focus,
.ct-form .form-group select:focus,
.ct-form .form-group textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px var(--glow-gold); }
.ct-form .form-group textarea { min-height: 150px; }
.ct-form .form-consent { color: var(--text-dark); }
.ct-form .form-consent input { border-color: oklch(70% .03 255); background: var(--white); }
.ct-form .form-note { color: var(--text-muted); }
.ct-form .form-status { border-left-color: var(--amber); background: var(--amber-pale); color: var(--text-dark); }
.ct-form .form-status[data-kind="error"] { border-left-color: oklch(72% .16 25); }
.ct-form .form-status a { color: var(--amber-deep); }

@media (max-width: 1024px) { .ct-grid { grid-template-columns: 1fr; } .ct-info h2 { max-width: none; } }

/* Pages légales */
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.legal { width: min(100%, 46rem); margin: 0 auto; padding: calc(var(--header-h) + 3.5rem) var(--page-gutter) var(--section-space); color: var(--text-body); }
.legal h1 { margin: 0 0 .5rem; color: var(--text-dark); font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.15; }
.legal-date { margin: 0 0 2rem; color: var(--text-muted); font-size: var(--text-sm); }
.legal h2 { margin: 2.5rem 0 .75rem; padding-top: 1.25rem; border-top: 1px solid var(--line-light); color: var(--text-dark); font-size: var(--text-xl); font-weight: 700; line-height: 1.3; }
.legal p, .legal li, .legal dd { max-width: 68ch; font-size: var(--text-base); line-height: 1.75; }
.legal p { margin: 0 0 1rem; }
.legal ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.legal li { margin-bottom: .4rem; }
.legal a { color: var(--amber-deep); text-decoration: underline; text-underline-offset: .2em; }
.legal a:hover { color: var(--text-dark); }
.legal .legal-lead { color: var(--text-dark); font-size: var(--text-lg); }
.legal .legal-note { padding: .85rem 1rem; border-left: 3px solid var(--amber); background: var(--amber-pale); color: var(--text-dark); font-size: var(--text-sm); }
.legal-id { display: grid; grid-template-columns: minmax(10rem, 14rem) 1fr; gap: .6rem 1.5rem; margin: 0 0 1rem; }
.legal-id dt { color: var(--text-dark); font-weight: 700; }
.legal-id dd { margin: 0; }
.todo { padding: 0 .3em; border-radius: 3px; background: var(--amber-hot); color: var(--amber-deep); font-weight: 600; }
@media (max-width: 600px) { .legal-id { grid-template-columns: 1fr; gap: .15rem; } .legal-id dd { margin-bottom: .6rem; } }