/* ==========================================================================
   JS ELEC — refonte homepage
   Palette d'origine : navy #1d386a / #184185, jaune #f3c436,
   surlignage #fff2b0, crème #e6e1c5, terracotta #c65c40, gris #f5f5f5
   ========================================================================== */

:root {
  --navy: #1d386a;
  --navy-deep: #142850;
  --blue: #184185;
  --yellow: #f3c436;
  --yellow-soft: #fff2b0;
  --cream: #e6e1c5;
  --terracotta: #c65c40;
  --grey: #f5f5f5;
  --white: #fff;
  --text: #3a4763;
  /* Échelle du nombre d'or : 1 · φ · φ² · φ³ · φ⁴ (φ = 1,618) */
  --phi: 1.618;
  --header-h: 92px; /* hauteur réelle de la pilule (~91px) +1px de recouvrement anti-liseré */
  --s2: 1.618rem;
  --s3: 2.618rem;
  --s4: 4.236rem;
  --s5: 6.854rem;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(29, 56, 106, .12);
  --shadow-soft: 0 6px 24px rgba(29, 56, 106, .08);
  --transition: .35s cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 112px; }

body {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: var(--phi);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; font-weight: 700; }

h1 { font-size: clamp(var(--s3), 5.2vw, var(--s4)); letter-spacing: -.02em; }
h2 { font-size: clamp(var(--s2), 3.2vw, var(--s3)); letter-spacing: -.01em; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; }

p strong { color: var(--navy); font-weight: 600; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.ico {
  width: 1.1em; height: 1.1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* --- Surlignage jaune animé (reprend le #fff2b0 du site actuel) --- */
.hl {
  background: linear-gradient(120deg, var(--yellow-soft), var(--yellow-soft)) no-repeat 0 72%;
  background-size: 100% .45em;
  color: inherit;
  padding: 0 .08em;
}
.reveal .hl { background-size: 0 .45em; transition: background-size .8s .5s cubic-bezier(.22,.61,.36,1); }
.reveal.is-visible .hl { background-size: 100% .45em; }
.hl--dark {
  background-image: linear-gradient(120deg, rgba(243,196,54,.35), rgba(243,196,54,.35));
}

/* --- Boutons --- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .8em 1.6em; border-radius: 999px;
  font-family: inherit; font-weight: 600; font-size: .95rem;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}
.btn .ico { transition: transform var(--transition); }
.btn:hover .ico { transform: translateX(4px); }
.btn--yellow {
  background: var(--yellow); color: var(--navy);
  box-shadow: 0 8px 24px rgba(243, 196, 54, .35);
}
.btn--yellow:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(243, 196, 54, .5); }
.btn--navy { background: var(--navy); color: var(--white); box-shadow: var(--shadow-soft); }
.btn--navy:hover { background: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); transform: translateY(-2px); }
.btn--lg { padding: .9em 1.8em; font-size: 1rem; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

/* --- Topbar --- */
.topbar {
  background: var(--navy-deep); color: rgba(255,255,255,.85);
  font-size: .78rem; padding: .3rem 0;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.topbar__zone { display: flex; align-items: center; gap: .5em; }
.topbar__zone .ico { color: var(--yellow); }
.topbar__contact { display: flex; gap: 1.5rem; }
.topbar__contact a {
  color: inherit; text-decoration: none; display: flex; align-items: center; gap: .45em;
  transition: color var(--transition);
}
.topbar__contact a:hover { color: var(--yellow); }
.topbar__tel { font-weight: 600; color: var(--yellow-soft) !important; }

/* --- Header : pilule flottante --- */
.header {
  position: sticky; top: .65rem; z-index: 100;
  margin-top: .65rem;
  padding-inline: 16px;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding-block: .45rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(29,56,106,.08);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition);
}
.header.is-scrolled .header__inner { box-shadow: var(--shadow); }
.header__logo img { width: 50px; height: auto; transition: width var(--transition); }
/* le logo d'origine est blanc : pastille navy, marges au ratio doré (10px / 16px ≈ 1:φ) */
.header__logo {
  background: var(--navy); border-radius: 999px; padding: 10px 16px;
  display: inline-flex; transition: transform var(--transition);
}
.header__logo:hover { transform: scale(1.04); }
.header.is-scrolled .header__logo img { width: 44px; }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav__list { display: flex; list-style: none; gap: .25rem; align-items: center; }
.nav__item { position: relative; }
.nav__item > a {
  display: block; padding: .6rem .85rem; color: var(--navy);
  text-decoration: none; font-weight: 500; font-size: .92rem; border-radius: 10px;
  transition: background var(--transition), color var(--transition);
}
.nav__item > a:hover { background: var(--grey); color: var(--blue); }

.nav__sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow);
  list-style: none; padding: .5rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.nav__item.has-sub:hover .nav__sub,
.nav__item.has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a {
  display: block; padding: .55rem .9rem; border-radius: 9px;
  color: var(--text); text-decoration: none; font-size: .88rem;
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
}
.nav__sub a:hover { background: var(--yellow-soft); color: var(--navy); padding-left: 1.15rem; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.burger span {
  display: block; width: 26px; height: 3px; border-radius: 3px;
  background: var(--navy); margin: 5px 0; transition: transform var(--transition), opacity var(--transition);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- Héro --- */
.hero {
  position: relative; overflow: hidden;
  /* le header pilule flotte au-dessus : le héro remonte derrière lui.
     Hauteur = écran moins la place des cartes services, qui doivent
     rester visibles dans le premier écran */
  margin-top: calc(-1 * var(--header-h) - .65rem);
  min-height: max(540px, calc(100vh - 250px));
  min-height: max(540px, calc(100svh - 250px));
  display: flex; align-items: center;
  /* padding bas ≥ chevauchement des cartes (-6.5rem) pour ne rien recouvrir */
  padding: calc(var(--header-h) + 1.5rem) 0 7.5rem;
  background: var(--navy-deep);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
  width: 100%; height: 115%; object-fit: cover; object-position: center 30%;
  will-change: transform;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(20, 40, 80, .88) 0%, rgba(20, 40, 80, .62) 45%, rgba(20, 40, 80, .25) 100%),
    linear-gradient(to top, rgba(20, 40, 80, .55), transparent 40%);
}
.hero__spark { position: absolute; inset: 0; pointer-events: none; }
.hero__spark svg { width: 100%; height: 100%; }

.spark-line {
  fill: none; stroke: var(--yellow); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 12 220; stroke-dashoffset: 0;
  opacity: .8;
  filter: drop-shadow(0 0 6px rgba(243, 196, 54, .9));
  animation: spark 7s linear infinite;
}
.spark-line--2 { animation-duration: 9.5s; animation-delay: -3s; opacity: .45; stroke-width: 1.8; }
@keyframes spark { to { stroke-dashoffset: -1856; } }

.hero__content { position: relative; z-index: 2; max-width: 780px; }
.hero__content h1 {
  color: var(--white); margin: .9rem 0 1rem; text-shadow: 0 2px 20px rgba(0,0,0,.25);
  /* borné aussi par la hauteur d'écran pour tenir dans le cadre */
  font-size: clamp(2rem, min(4.6vw, 7.2vh), var(--s4));
}
.hero__content h1 .hl { color: var(--yellow); background-image: linear-gradient(120deg, rgba(243,196,54,.28), rgba(243,196,54,.28)); }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5em;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--white); font-size: .85rem; font-weight: 500;
  padding: .45em 1.1em; border-radius: 999px;
}
.hero__badge .ico { color: var(--yellow); }
.hero__sub { color: rgba(255,255,255,.88); font-size: 1.05rem; max-width: 560px; margin-bottom: 1.5rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.hero__phone {
  display: flex; align-items: baseline; gap: .6em; flex-wrap: wrap;
  color: rgba(255,255,255,.78); font-size: .92rem; margin-bottom: 1.5rem;
}
.hero__phone a {
  display: inline-flex; align-items: center; gap: .45em;
  color: var(--white); font-weight: 700; font-size: 1.15rem; text-decoration: none;
  border-bottom: 2px solid var(--yellow); padding-bottom: 1px;
  transition: color var(--transition);
}
.hero__phone a:hover { color: var(--yellow); }
.hero__phone .ico { color: var(--yellow); }
.hero__trust { list-style: none; display: flex; gap: 1.3rem; flex-wrap: wrap; }
.hero__trust li {
  display: flex; align-items: center; gap: .5em;
  color: rgba(255,255,255,.92); font-size: .88rem; font-weight: 500;
}
.hero__trust .ico { color: var(--yellow); background: rgba(243,196,54,.15); border-radius: 50%; padding: 3px; width: 1.4em; height: 1.4em; }

/* --- Cartes services (chevauchent le héro) --- */
.services { position: relative; z-index: 3; margin-top: -6.5rem; padding-bottom: 4rem; }
.services__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.service-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.9rem 1.6rem 1.5rem; text-decoration: none;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .65rem;
  position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
/* voile navy qui remplit la carte au survol */
.service-card::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
  opacity: 0; transition: opacity var(--transition);
}
.service-card::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px; z-index: 2;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-soft));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 26px 55px rgba(20,40,80,.3); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }
.service-card__num {
  position: absolute; top: 1rem; right: 1.2rem;
  font-size: 2.5rem; font-weight: 800; line-height: 1; letter-spacing: -.03em;
  color: rgba(29,56,106,.08);
  transition: color var(--transition);
}
.service-card:hover .service-card__num { color: rgba(243,196,54,.3); }
.service-card__icon {
  width: 58px; height: 58px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(24,65,133,.08), rgba(243,196,54,.16));
  display: grid; place-items: center; color: var(--blue);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.service-card__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .service-card__icon { background: var(--yellow); color: var(--navy); transform: rotate(-4deg) scale(1.06); }
.service-card h3 { transition: color var(--transition); }
.service-card p { font-size: .86rem; color: var(--text); transition: color var(--transition); }
.service-card:hover h3 { color: var(--white); }
.service-card:hover p { color: rgba(255,255,255,.82); }
.service-card__link {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  padding-top: .9rem; border-top: 1px solid rgba(29,56,106,.1);
  color: var(--blue); font-weight: 600; font-size: .86rem;
  transition: color var(--transition), border-color var(--transition);
}
.service-card__link .ico {
  width: 1.8em; height: 1.8em; padding: 5px; border-radius: 50%;
  background: var(--yellow-soft); color: var(--navy);
  transition: transform var(--transition), background var(--transition);
}
.service-card:hover .service-card__link { color: var(--yellow-soft); border-color: rgba(255,255,255,.25); }
.service-card:hover .service-card__link .ico { transform: translateX(4px); background: var(--yellow); }

/* --- Sections alternées (colonnes au nombre d'or : 38,2 % / 61,8 %) --- */
.split { padding: var(--s5) 0; }
.split__inner {
  display: grid; grid-template-columns: 1fr 1.618fr; gap: var(--s4); align-items: center;
}
.split__inner--reverse { grid-template-columns: 1.618fr 1fr; }
.split__text p { margin-bottom: 1.6rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  color: var(--blue); font-weight: 600; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: .9rem;
}
.eyebrow .ico { color: var(--yellow); width: 1.35em; height: 1.35em; }
.eyebrow--light { color: var(--yellow-soft); }

.split__media { position: relative; }
.split__media--duo { display: grid; grid-template-columns: 1.618fr 1fr; gap: 1.2rem; align-items: start; }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 1 / 1.272; /* portrait en racine de φ */
  transition: transform .8s cubic-bezier(.22,.61,.36,1);
}
.photo:hover img { transform: scale(1.05); }
.photo--offset { margin-top: var(--s3); }

/* --- Section bornes (fond navy) --- */
.charge {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 55%, #24468a 100%);
  padding: var(--s5) 0;
}
.charge__glow {
  position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243,196,54,.18), transparent 65%);
  top: -180px; right: -140px; pointer-events: none;
}
.charge h2, .charge p { color: var(--white); }
.charge p strong { color: var(--yellow-soft); }
.charge h2 .hl { color: var(--yellow); }
.charge .photo { box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.charge .photo img { aspect-ratio: var(--phi) / 1; } /* paysage doré */
.photo--glow { outline: 1px solid rgba(255,255,255,.15); }

.charge__chip {
  position: absolute; bottom: -1.4rem; left: -1rem;
  background: var(--yellow); color: var(--navy);
  border-radius: 16px; padding: .9rem 1.3rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
  display: flex; align-items: center; gap: .8rem; max-width: 300px;
}
.charge__chip-value { font-size: 2rem; font-weight: 800; line-height: 1; }
.charge__chip-label { font-size: .8rem; font-weight: 600; line-height: 1.3; }

.checklist { list-style: none; margin-bottom: 2rem; }
.checklist li {
  display: flex; align-items: center; gap: .7em;
  color: rgba(255,255,255,.92); padding: .4rem 0; font-size: 1rem;
}
.checklist strong { color: var(--yellow-soft); }
.checklist .ico {
  color: var(--navy); background: var(--yellow); border-radius: 50%;
  padding: 4px; width: 1.5em; height: 1.5em;
}

/* --- Sur mesure --- */
.custom { background: var(--grey); padding: var(--s5) 0; }
.custom__head { max-width: 820px; margin: 0 auto var(--s3); text-align: center; }
.custom__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.pillar {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem 1.4rem; text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar__icon {
  width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--yellow-soft); color: var(--navy);
  display: grid; place-items: center;
  transition: background var(--transition), color var(--transition);
}
.pillar__icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar:hover .pillar__icon { background: var(--navy); color: var(--yellow); }
.pillar h3 { font-size: 1rem; font-weight: 600; }

/* --- Témoignages --- */
.reviews { padding: var(--s5) 0; }
.reviews__head { max-width: 760px; margin: 0 auto var(--s3); text-align: center; }
.stars { color: var(--yellow); letter-spacing: .18em; font-size: 1.05rem; }
.reviews__note { color: var(--text); }
.reviews__note .stars { display: block; margin-bottom: .4rem; font-size: 1.3rem; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review {
  position: relative; margin: 0;
  background: var(--grey); border-radius: var(--radius);
  padding: 2rem 1.7rem 1.7rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.review:hover { transform: translateY(-6px); background: var(--white); box-shadow: var(--shadow); }
.review::before {
  content: "\201C"; position: absolute; top: .4rem; right: 1.2rem;
  font-size: 4.5rem; line-height: 1; font-weight: 800;
  color: rgba(243, 196, 54, .45); font-family: Georgia, serif;
}
.review blockquote { margin: .8rem 0 1.1rem; color: var(--navy); font-weight: 500; font-size: .95rem; }
.review figcaption { font-size: .82rem; color: var(--text); }
.review figcaption em { font-style: normal; font-weight: 600; color: var(--blue); }

/* --- Expertise locale --- */
.local { background: linear-gradient(to bottom, var(--white), #faf8ef); padding: var(--s5) 0; }
/* pictogramme d'origine blanc : pastille navy comme le logo du header */
.local__coeur { width: 74px; margin-bottom: 1.2rem; background: var(--navy); border-radius: 18px; padding: 14px; }
.local__dialecte {
  font-weight: 700; color: var(--navy); font-size: 1.15rem;
  border-left: 4px solid var(--yellow); padding-left: 1rem;
}
.local__dialecte span { display: block; font-weight: 400; color: var(--text); font-size: .9rem; }

/* --- Blog --- */
.blog { padding: var(--s5) 0; }
.blog__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; margin-bottom: var(--s3);
}
.blog__head p { max-width: 620px; }
.blog__head .btn { flex: none; }
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); text-decoration: none;
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.post:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.post__img { aspect-ratio: var(--phi) / 1; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,.61,.36,1); }
.post:hover .post__img img { transform: scale(1.07); }
.post__body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.post__tag {
  align-self: flex-start; background: var(--yellow-soft); color: var(--navy);
  font-size: .74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  padding: .3em .9em; border-radius: 999px;
}
.post h3 { font-size: 1.02rem; font-weight: 600; line-height: 1.45; }
.post__link {
  margin-top: auto; display: inline-flex; align-items: center; gap: .35em;
  color: var(--blue); font-weight: 600; font-size: .88rem;
}
.post__link .ico { transition: transform var(--transition); }
.post:hover .post__link .ico { transform: translateX(4px); }

/* --- FAQ --- */
.faq { padding: var(--s5) 0; background: var(--grey); }
.faq__inner { display: grid; grid-template-columns: 1fr 1.618fr; gap: var(--s4); align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__head p a { color: var(--blue); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--yellow); }
.faq__list details {
  background: var(--white); border-radius: 14px;
  border: 1px solid transparent; box-shadow: var(--shadow-soft);
  padding: 1.05rem 1.4rem; margin-bottom: .8rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq__list details[open] { border-color: rgba(243,196,54,.6); box-shadow: var(--shadow); }
.faq__list summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-weight: 600; color: var(--navy); font-size: .98rem;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__chevron {
  flex: none; width: 9px; height: 9px; margin-top: -4px;
  border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue);
  transform: rotate(45deg); transition: transform var(--transition);
}
details[open] .faq__chevron { transform: rotate(225deg); margin-top: 4px; }
.faq__list details p { margin-top: .8rem; font-size: .92rem; }

/* --- Devis --- */
.cta { padding: 2rem 0 6rem; background: var(--grey); }
.cta__card {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--navy-deep), var(--navy) 60%, #24468a);
  border-radius: 28px; padding: 3.5rem;
  box-shadow: 0 30px 70px rgba(29,56,106,.35);
}
.cta__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s4); align-items: center;
}
.cta__text .checklist { margin-bottom: 1.4rem; }
.cta__text .checklist li { font-size: .95rem; padding: .3rem 0; }
.cta__or { font-size: .9rem !important; color: rgba(255,255,255,.75) !important; margin-bottom: .7rem !important; }

.quote-form {
  background: var(--white); border-radius: 20px;
  padding: 1.7rem 1.6rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  display: flex; flex-direction: column; gap: .85rem;
}
.quote-form h3 { font-size: 1.12rem; }
.quote-form label {
  display: block; font-size: .78rem; font-weight: 600; color: var(--navy);
  margin-bottom: .3rem;
}
.quote-form label span { color: var(--terracotta); }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; font-family: inherit; font-size: .92rem; color: var(--navy);
  padding: .62rem .85rem;
  background: var(--grey); border: 1.5px solid rgba(29,56,106,.15); border-radius: 10px;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.quote-form input::placeholder, .quote-form textarea::placeholder { color: #9aa5bd; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none; border-color: var(--blue); background: var(--white);
  box-shadow: 0 0 0 3px rgba(24, 65, 133, .12);
}
.quote-form textarea { resize: vertical; }
.quote-form__row--split { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.quote-form__submit { justify-content: center; width: 100%; margin-top: .2rem; }
.quote-form__hint { font-size: .74rem; color: var(--text); text-align: center; }
.quote-form__error { font-size: .82rem; font-weight: 600; color: var(--terracotta); text-align: center; }
.cta__card::before {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243,196,54,.22), transparent 65%);
  top: -220px; left: 50%; transform: translateX(-50%);
}
.cta__spark { position: absolute; inset: 0; pointer-events: none; }
.cta__spark svg { width: 100%; height: 100%; }
.cta__icon {
  position: relative; width: 64px; height: 64px; margin: 0 0 1.3rem; border-radius: 50%;
  background: var(--yellow); color: var(--navy);
  display: grid; place-items: center;
  box-shadow: 0 0 0 12px rgba(243,196,54,.18), 0 0 0 24px rgba(243,196,54,.07);
  animation: pulse 3s ease-in-out infinite;
}
.cta__icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 12px rgba(243,196,54,.18), 0 0 0 24px rgba(243,196,54,.07); }
  50% { box-shadow: 0 0 0 18px rgba(243,196,54,.22), 0 0 0 36px rgba(243,196,54,.08); }
}
.cta__card h2, .cta__card p { position: relative; color: var(--white); }
.cta__card h2 .hl { color: var(--yellow); }
.cta__card p { margin: 0 0 1.4rem; }

/* --- SEO local : pages zones + section home --- */
.page-hero {
  background: linear-gradient(150deg, var(--navy-deep), var(--navy) 70%, #24468a);
  margin-top: calc(-1 * var(--header-h) - .65rem);
  padding: calc(var(--header-h) + 3.5rem) 0 4rem;
}
.page-hero h1 { color: var(--white); margin: .9rem 0 1rem; font-size: clamp(2rem, 4vw, 3.4rem); }
.page-hero h1 .hl { color: var(--yellow); background-image: linear-gradient(120deg, rgba(243,196,54,.28), rgba(243,196,54,.28)); }
.page-hero__sub { color: rgba(255,255,255,.88); max-width: 760px; margin-bottom: 1.8rem; }
.page-hero .hero__actions { margin-bottom: 0; }

.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.65); margin-bottom: 1.2rem; }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; transition: color var(--transition); }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb span { color: var(--yellow-soft); }

.custom__grid--three { grid-template-columns: repeat(3, 1fr); }

.zones { padding: var(--s5) 0; background: var(--grey); }
.zones__chips { text-align: center; max-width: 860px; margin: 0 auto; }
.zone-chip {
  display: inline-block; margin: .28rem .2rem; padding: .5em 1.15em;
  background: var(--white); color: var(--navy);
  border: 1.5px solid rgba(29,56,106,.15); border-radius: 999px;
  font-weight: 600; font-size: .9rem; text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.zone-chip:hover { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-2px); }
.zone-chip--all { background: var(--yellow); border-color: var(--yellow); }
.zone-chip--all:hover { background: var(--navy); border-color: var(--navy); }

.zone-voisins { padding: 1rem 0 var(--s5); text-align: center; }
.zone-voisins h2 { font-size: 1.35rem; margin-bottom: 1rem; }
.zone-voisins__chips { max-width: 720px; margin: 0 auto; }

.zone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.zone-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; text-decoration: none;
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.zone-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.zone-card h3 { font-size: 1.05rem; }
.zone-card p { font-size: .87rem; margin: .6rem 0 1rem; color: var(--text); }
.zone-card .service-card__link { border-top: 0; padding-top: 0; }

/* étapes des pages services */
.steps { max-width: 760px; margin: var(--s4) auto 0; }
.steps h2 { text-align: center; }
.steps__list { list-style: none; counter-reset: etape; padding: 0; margin-top: 1.4rem; }
.steps__list li {
  counter-increment: etape; position: relative;
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow-soft);
  padding: 1.1rem 1.4rem 1.1rem 4rem; margin-bottom: .8rem; font-size: .95rem;
}
.steps__list li::before {
  content: counter(etape); position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%);
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--yellow); color: var(--navy);
  display: grid; place-items: center; font-weight: 700;
}
.steps__list b { color: var(--navy); }

.footer__zones { padding-top: 1.6rem; padding-bottom: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; line-height: 2; }
.footer__zones h4 { color: var(--white); font-size: .9rem; margin-bottom: .3rem; }
.footer__zones a { color: rgba(255,255,255,.72); }
.footer__zones a:hover { color: var(--yellow); }

/* --- Barre d'action mobile --- */
.mobile-bar { display: none; }

/* --- Footer --- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.78); }
.footer a { color: inherit; text-decoration: none; transition: color var(--transition); }
.footer a:hover { color: var(--yellow); }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
  gap: 2.5rem; padding: 4.5rem 24px 3rem;
}
.footer__brand img { width: 96px; margin-bottom: 1.2rem; }
.footer__tagline { font-weight: 600; color: var(--white); margin-bottom: 1.2rem; font-size: .95rem; }
.footer__contact { display: block; font-weight: 600; color: var(--yellow-soft) !important; margin-bottom: .3rem; }
.footer__contact:hover { color: var(--yellow) !important; }
.footer address { font-style: normal; font-size: .85rem; margin-top: .8rem; line-height: 1.7; }
.footer__col { display: flex; flex-direction: column; gap: .55rem; font-size: .88rem; }
.footer__col h4 { color: var(--white); font-size: .95rem; margin-bottom: .4rem; }
.footer__col a { position: relative; width: fit-content; }
.footer__col a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--yellow); transition: width var(--transition);
}
.footer__col a:hover::after { width: 100%; }
.footer__social { display: flex; gap: .8rem; margin-bottom: 1.5rem; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  display: grid; place-items: center;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}
.footer__social a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer__label { width: 110px; background: var(--white); border-radius: 10px; padding: 8px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.2rem 0; font-size: .8rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__bottom a { margin-right: 1.5rem; }

/* --- Animations d'apparition --- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }
.delay-4 { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal .hl { background-size: 100% .45em; transition: none; }
  .spark-line, .cta__icon { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .custom__grid { grid-template-columns: repeat(2, 1fr); }
  .blog__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .reviews__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .split__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .split__inner--reverse .split__media { order: 2; }
  .faq__inner { grid-template-columns: 1fr; gap: 2rem; }
  .faq__head { position: static; }
  .zone-grid { grid-template-columns: repeat(2, 1fr); }
  .custom__grid--three { grid-template-columns: repeat(2, 1fr); }
  .cta__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta__card { padding: 2.5rem 2rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .topbar__zone { display: none; }
  .topbar__inner { justify-content: center; }

  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; top: 0; z-index: 99;
    background: var(--white);
    flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
    opacity: 0; visibility: hidden; transition: opacity var(--transition), visibility var(--transition);
    padding: 2rem;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: .4rem; text-align: center; }
  .nav__item > a { font-size: 1.2rem; font-weight: 600; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; }
  .header { z-index: 100; }
  .header__inner { position: relative; z-index: 100; }

  .header { padding-inline: 10px; top: .5rem; }
  .hero { padding: calc(var(--header-h) + 1rem) 0 7.5rem; }
  .hero__trust { flex-direction: column; gap: .7rem; }
  .services { margin-top: -5rem; }
  .services__grid { grid-template-columns: 1fr; }
  .split { padding: 3.5rem 0; }
  .charge { padding: 4rem 0; }
  .charge__chip { left: 0; }
  .blog__head { flex-direction: column; align-items: flex-start; }
  .custom__grid, .custom__grid--three, .zone-grid { grid-template-columns: 1fr; }
  .cta__card { padding: 2.2rem 1.3rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; padding-block: 3rem 2rem; }
  .footer__bottom-inner { justify-content: center; text-align: center; }

  /* barre d'appel fixe : le geste de conversion reste sous le pouce */
  .mobile-bar {
    display: flex; position: fixed; left: .8rem; right: .8rem; bottom: .8rem; z-index: 95;
    border-radius: 999px; overflow: hidden;
    box-shadow: 0 14px 34px rgba(20, 40, 80, .4);
  }
  .mobile-bar a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: .5em;
    padding: .95rem 1rem; font-weight: 700; font-size: .95rem; text-decoration: none;
  }
  .mobile-bar__call { background: var(--navy); color: var(--white); }
  .mobile-bar__quote { background: var(--yellow); color: var(--navy); }
  body { padding-bottom: 4.6rem; }
  .footer__bottom { padding-bottom: 1.6rem; }
}
