/* ==========================================================================
   JLCA — feuille de style
   Atelier blanc, encre noire, une seule marque dorée.
   ========================================================================== */

/* 1. Jetons de design
   ========================================================================== */

/* Police de secours calée sur les proportions de Geist : le texte ne « saute »
   pas quand la vraie police arrive. */
@font-face {
  font-family: "Geist Fallback";
  src: local("Arial"), local("Roboto"), local("Helvetica Neue");
  size-adjust: 102.5%;
  ascent-override: 98.5%;
  descent-override: 28.3%;
  line-gap-override: 0%;
}

:root {
  /* Couleurs : neutres chauds, encre noire et or du logo */
  --gold: #caa441;
  --gold-deep: #8a6914;   /* bronze : or lisible en texte sur fond clair */
  --gold-mid: #a8842a;
  --mint: #60ed76;
  --apricot: #ffa666;
  --ink: #080808;
  --night: #12110d;       /* noir chaud de la section sombre */
  --white: #ffffff;
  --ivory: #faf6ec;       /* fond des bandes teintées */
  --slate: #5c574e;
  --border: #dedad0;
  --smoke: #bdb8ac;
  --mist: #f4f1e8;
  --charcoal: #2b2822;
  --error: #c8321e;

  /* Accent : l'or porte l'interaction et les marques */
  --accent: var(--gold);
  --accent-hover: #b8922f;
  --accent-text: var(--gold-deep);  /* texte et contours colorés sur fond clair */
  --accent-mark: var(--gold-mid);   /* pictogrammes et puces */
  --on-accent: var(--ink);          /* texte posé sur l'accent */
  --accent-wash: rgba(202, 164, 65, 0.18);
  --accent-ring: rgba(202, 164, 65, 0.32);
  --accent-room: #f8f0d8;
  --accent-room-hot: #eedfae;
  --accent-row: #fbf7ea;
  --accent-haze: rgba(216, 180, 95, 0.26);
  --accent-glow: rgba(202, 164, 65, 0.34);

  /* Typographie */
  --font-sans: "Geist", "Geist Fallback", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Titre principal : chaque moitié de la phrase tient sur une ligne, à toute largeur */
  --text-display-xl: clamp(1.5rem, calc((100vw - 2 * var(--gutter)) / 11.6), 4.75rem);
  --text-display: clamp(2.125rem, 1.35rem + 3.3vw, 3.5rem);   /* 34 → 56 */
  --text-heading-lg: clamp(1.75rem, 1.3rem + 1.9vw, 2.5rem);  /* 28 → 40 */
  --text-heading: clamp(1.5rem, 1.25rem + 1.1vw, 2rem);       /* 24 → 32 */
  --text-heading-sm: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);/* 20 → 24 */
  --text-subheading: clamp(1.0625rem, 1rem + 0.45vw, 1.25rem);/* 17 → 20 */
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-caption: 0.8125rem;
  --text-micro: 0.6875rem;

  /* Mise en page */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --nav-h: 64px;

  /* Rayons */
  --radius-sm: 4px;
  --radius: 8px;

  /* Ombres */
  --shadow-lg: rgba(0, 0, 0, 0.01) 0 54px 22px 0, rgba(0, 0, 0, 0.04) 0 30px 18px 0, rgba(0, 0, 0, 0.08) 0 13px 13px 0, rgba(0, 0, 0, 0.09) 0 3px 7px 0;
  --shadow-xl: rgba(0, 0, 0, 0.02) 0 67px 27px 0, rgba(0, 0, 0, 0.06) 0 38px 23px 0, rgba(0, 0, 0, 0.1) 0 17px 17px 0, rgba(0, 0, 0, 0.12) 0 4px 9px 0;
  --shadow-xl-2: rgba(0, 0, 0, 0.01) 0 148px 42px 0, rgba(0, 0, 0, 0.04) 0 95px 38px 0, rgba(0, 0, 0, 0.15) 0 53px 32px 0, rgba(0, 0, 0, 0.26) 0 24px 24px 0, rgba(0, 0, 0, 0.29) 0 6px 13px 0;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 2. Base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd {
  margin: 0;
}

a {
  color: inherit;
}

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

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

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  font-size: var(--text-small);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.icon {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 3. Typographie
   ========================================================================== */

.eyebrow {
  display: block;
  font-size: var(--text-caption);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

.eyebrow__part {
  white-space: nowrap;
}

.section-head .eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--gold);
}

@media (max-width: 599px) {
  .eyebrow__sep {
    display: none;
  }

  .eyebrow__part {
    display: block;
  }
}

.display-xl {
  display: block;
  font-size: var(--text-display-xl);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

/* Texte doré : dégradé bronze → or, traversé par un reflet */
.gold {
  color: var(--accent-text);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .gold {
    background-image: linear-gradient(100deg, #8a6914 0%, #a07a1d 30%, #a8842a 67%, #f0d583 75%, #a8842a 83%, #8a6914 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .is-in .gold {
    animation: sheen 2.4s var(--ease) 0.5s 1;
  }

  .hero__title .gold {
    animation: sheen-loop 7s linear 1.4s infinite;
  }
}

@keyframes sheen {
  from {
    background-position: 0 0;
  }

  to {
    background-position: -200% 0;
  }
}

@keyframes sheen-loop {
  0%,
  50% {
    background-position: 0 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@media (forced-colors: active) {
  .gold {
    background: none;
    -webkit-text-fill-color: currentColor;
  }
}

.nowrap {
  white-space: nowrap;
}

.mono {
  font-family: var(--font-mono);
  font-feature-settings: "zero";
}

/* 4. Boutons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: var(--text-small);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn--lg {
  min-height: 52px;
  padding: 16px 24px;
  font-size: var(--text-body);
}

.btn--block {
  width: 100%;
}

.btn--primary {
  position: relative;
  background: var(--accent);
  color: var(--on-accent);
  overflow: hidden;
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.5) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
  pointer-events: none;
}

.btn--primary:hover::after {
  transform: translateX(120%);
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--outline {
  border-color: var(--border);
  background: var(--white);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--ink);
}

.btn--ghost {
  padding-inline: 8px;
  background: none;
  color: var(--slate);
}

.btn--ghost:hover {
  color: var(--ink);
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.btn__arrow {
  transition: transform 0.25s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* Lien texte avec flèche */
.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-small);
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}

.link .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.link:hover {
  color: var(--accent-text);
}

.link:hover .icon {
  transform: translateX(4px);
}

/* 5. Bandeau d'annonce
   ========================================================================== */

.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: var(--text-caption);
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s;
}

.banner:hover {
  background: var(--accent-hover);
}

.banner .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.banner:hover .icon {
  transform: translateX(3px);
}

.banner__long {
  display: none;
}

@media (min-width: 560px) {
  .banner__long {
    display: inline;
  }
}

/* 6. Navigation
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  background: var(--white);
  transition: border-color 0.25s;
}

.nav.is-scrolled {
  border-bottom-color: var(--border);
}

.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
}

/* Emblème : le logo JLCA dans sa pastille, cerclé d'or */
.logo__img {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px var(--gold);
}

.logo__name {
  font-weight: 400;
  color: var(--accent-text);
}

.logo--lg {
  gap: 16px;
  font-size: 1.375rem;
}

.logo--lg .logo__img {
  width: 64px;
  height: 64px;
}

.nav__links {
  display: flex;
  gap: 4px;
}

.nav__links a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: var(--text-small);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.nav__links a:hover {
  background: var(--mist);
}

.nav__links a.is-active {
  color: var(--accent-text);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  font-size: var(--text-small);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}

.nav__phone .icon {
  width: 18px;
  height: 18px;
}

.nav__phone:hover {
  color: var(--accent-text);
}

.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav__toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav__toggle span:nth-child(1) {
  top: 17px;
}

.nav__toggle span:nth-child(2) {
  top: 25px;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  top: 21px;
  transform: rotate(-45deg);
}

@media (max-width: 1023px) {
  .nav__inner {
    grid-template-columns: 1fr auto;
  }

  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: block;
  }
}

@media (max-width: 639px) {
  :root {
    --nav-h: 56px;
  }

  .nav__phone {
    width: 44px;
    padding: 0;
    justify-content: center;
  }

  .nav__phone span {
    display: none;
  }

  .nav__actions .btn {
    display: none;
  }

  .nav .logo__img {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 359px) {
  .nav .logo__name {
    display: none;
  }
}

/* Menu mobile */
.menu {
  position: fixed;
  inset: var(--menu-top, var(--nav-h)) 0 0 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.menu.is-open {
  opacity: 1;
  visibility: visible;
}

.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.menu__links .mono {
  font-size: var(--text-caption);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--slate);
}

.menu__foot {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 32px;
}

html.menu-open {
  overflow: hidden;
}

@media (min-width: 1024px) {
  .menu {
    display: none;
  }
}

/* 7. Hero
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(48px, 6.5vw, 96px) clamp(48px, 6vw, 80px);
  overflow: hidden;
}

/* Fond animé : trois halos chauds qui dérivent lentement */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 86%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 86%);
}

.hero__glow {
  position: absolute;
  width: clamp(320px, 52vw, 780px);
  aspect-ratio: 1;
  border-radius: 50%;
  will-change: transform;
}

.hero__glow--1 {
  top: -22%;
  left: -10%;
  background: radial-gradient(closest-side, rgba(233, 201, 106, 0.5), rgba(233, 201, 106, 0));
  animation: drift-1 22s ease-in-out infinite alternate;
}

.hero__glow--2 {
  top: -30%;
  right: -12%;
  background: radial-gradient(closest-side, rgba(255, 190, 140, 0.34), rgba(255, 190, 140, 0));
  animation: drift-2 27s ease-in-out infinite alternate;
}

.hero__glow--3 {
  top: 6%;
  left: 30%;
  width: clamp(280px, 40vw, 600px);
  background: radial-gradient(closest-side, rgba(250, 236, 190, 0.7), rgba(250, 236, 190, 0));
  animation: drift-3 31s ease-in-out infinite alternate;
}

@keyframes drift-1 {
  to {
    transform: translate3d(12%, 14%, 0) scale(1.15);
  }
}

@keyframes drift-2 {
  to {
    transform: translate3d(-14%, 12%, 0) scale(1.1);
  }
}

@keyframes drift-3 {
  to {
    transform: translate3d(8%, -12%, 0) scale(1.22);
  }
}

/* Trame de table à dessin, très discrète */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(8, 8, 8, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(8, 8, 8, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: calc(50% + 36px) -1px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 0%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 0%, #000 10%, transparent 75%);
}

/* Éclats : les étoiles du logo, qui scintillent doucement */
.hero__sparkles {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--s, 16px);
  height: var(--s, 16px);
  fill: var(--gold);
  opacity: 0;
  animation: twinkle var(--t, 5s) ease-in-out var(--w, 0s) infinite;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.4) rotate(-14deg);
  }

  50% {
    opacity: 0.95;
    transform: scale(1) rotate(0deg);
  }
}

@media (max-width: 1023px) {
  .sparkle--wide {
    display: none;
  }
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title .eyebrow {
  margin-bottom: clamp(18px, 2.4vw, 28px);
}

.hero__lead {
  max-width: 40rem;
  text-wrap: balance;
  margin-top: clamp(18px, 2.4vw, 28px);
  font-size: var(--text-subheading);
  line-height: 1.5;
  color: var(--slate);
}

/* L'offre en trois réponses : où, comment, dans quel secteur */
.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  max-width: 57.5rem;
  margin-top: clamp(28px, 3.4vw, 40px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 18px 32px -22px rgba(138, 105, 20, 0.45);
  overflow: hidden;
  text-align: left;
}

.fact {
  padding: 18px 22px 20px;
  background: var(--white);
}

.fact dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.fact dt::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--gold);
}

.fact dd {
  margin-top: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(28px, 3.4vw, 40px);
}

.hero__cta .btn {
  font-variant-numeric: tabular-nums;
}

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

  .fact {
    display: grid;
    grid-template-columns: 7.75rem minmax(0, 1fr);
    align-items: baseline;
    gap: 12px;
    padding: 13px 16px 14px;
  }

  .fact dd {
    margin-top: 0;
  }
}

@media (max-width: 479px) {
  .hero__cta {
    width: 100%;
    flex-direction: column;
  }
}

/* Lignes du titre : apparition par masque */
.reveal-line {
  display: block;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
  overflow: hidden;
}

.reveal-line > span {
  display: block;
}

/* 8. Choix du lieu (départ du parcours devis)
   ========================================================================== */

.chooser {
  display: flex;
  flex-direction: column;
  margin-top: clamp(48px, 5.5vw, 80px);
}

.chooser__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 16px;
}

.chooser__label {
  font-size: var(--text-body);
  font-weight: 500;
}

.chooser__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.choice {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 208px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  transition: border-color 0.3s, box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.choice__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: auto;
  padding-bottom: 24px;
}

.choice__num {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  color: var(--accent-text);
}

.choice__thumb {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--mist);
  transition: background-color 0.3s, color 0.3s;
}

.choice__thumb svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.choice__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.3;
}

.choice__title .icon {
  width: 16px;
  height: 16px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s, transform 0.25s var(--ease);
}

.choice__desc {
  margin-top: 6px;
  font-size: var(--text-small);
  line-height: 1.5;
  color: var(--slate);
}

@media (hover: hover) {
  .choice:hover {
    border-color: var(--smoke);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
  }

  .choice:hover .choice__thumb {
    background: var(--accent);
    color: var(--on-accent);
  }

  .choice:hover .choice__title .icon {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1099px) {
  .chooser__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .choice {
    min-height: 0;
  }
}

@media (max-width: 599px) {
  .chooser__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .chooser__head {
    display: contents;
  }

  .chooser__label {
    margin-bottom: 16px;
  }

  .chooser__head .link {
    order: 1;
    align-self: flex-start;
    margin-top: 20px;
  }

  .choice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
    padding: 12px 16px 12px 12px;
  }

  .choice__top {
    grid-row: 1 / span 2;
    margin: 0;
    padding: 0;
  }

  .choice__num {
    display: none;
  }

  .choice__thumb {
    width: 48px;
    height: 48px;
  }

  .choice__thumb svg {
    width: 30px;
    height: 30px;
  }

  .choice__title {
    grid-column: 2;
    justify-content: space-between;
  }

  .choice__title .icon {
    opacity: 1;
    transform: none;
    color: var(--slate);
  }

  .choice__desc {
    grid-column: 2;
    margin-top: 2px;
    font-size: var(--text-caption);
  }
}

/* 9. Garanties (bande de réassurance)
   ========================================================================== */

.proof {
  padding-bottom: clamp(24px, 4vw, 48px);
}

.proof__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
  overflow: hidden;
}

.proof__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px;
  background: var(--white);
}

.proof__item .icon {
  margin-top: 2px;
  color: var(--accent-mark);
}

.proof__item strong {
  display: block;
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.35;
}

.proof__item span {
  display: block;
  margin-top: 2px;
  font-size: var(--text-caption);
  line-height: 1.4;
  color: var(--slate);
}

@media (max-width: 1099px) {
  .proof__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479px) {
  .proof__item {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }
}

/* 10. Sections
   ========================================================================== */

.section {
  padding-block: var(--section);
}

.section--tint {
  background: var(--ivory);
}

/* Deux sections blanches qui se suivent : une seule respiration entre elles */
.section--flush {
  padding-bottom: 0;
}

.section-head {
  max-width: 46rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head .eyebrow {
  margin-bottom: 16px;
}

.section-head__title {
  font-size: var(--text-display);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.section-head__lead {
  max-width: 36rem;
  margin-top: 20px;
  font-size: var(--text-subheading);
  line-height: 1.5;
  color: var(--slate);
}

.section-head--center .section-head__lead {
  margin-inline: auto;
}

.section-head__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 32px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.split__aside {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}

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

  .split__aside {
    position: static;
  }
}

/* 11. Prestations (liste numérotée)
   ========================================================================== */

.svc {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
  transition: opacity 0.3s;
}

.svc-list li:last-child .svc {
  border-bottom: 1px solid var(--border);
}

.svc__num {
  padding-top: 0.5em;
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  color: var(--accent-text);
}

.svc__title {
  font-size: var(--text-heading-sm);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  transition: transform 0.4s var(--ease);
}

.svc__desc {
  max-width: 34rem;
  margin-top: 8px;
  color: var(--slate);
}

.svc__arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--slate);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}

.svc__arrow .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

@media (hover: hover) {
  .svc-list:hover .svc:not(:hover) {
    opacity: 0.4;
  }

  .svc:hover .svc__title {
    transform: translateX(6px);
  }

  .svc:hover .svc__arrow {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--on-accent);
  }

  .svc:hover .svc__arrow .icon {
    transform: translateX(2px);
  }
}

@media (max-width: 599px) {
  .svc {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 22px 0;
  }

  .svc__arrow {
    width: 32px;
    height: 32px;
  }
}

/* 12. Conviction (grand texte)
   ========================================================================== */

.statement {
  padding-block: clamp(40px, 6vw, 96px) var(--section);
}

.statement__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px 24px;
}

.statement__label {
  grid-column: 1 / span 3;
  padding-top: 1.1em;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
}

.statement__label::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 2px;
  background: var(--accent);
}

.statement__text {
  grid-column: 4 / -1;
  font-size: clamp(1.875rem, 0.9rem + 4.1vw, 4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.statement__line {
  display: block;
}

.statement__text .word {
  transition: opacity 0.25s linear;
}

@media (max-width: 899px) {
  .statement__label,
  .statement__text {
    grid-column: 1 / -1;
  }

  .statement__label {
    padding-top: 0;
  }
}

/* 13. Méthode : plan d'intervention
   ========================================================================== */

.plan-wrap {
  position: relative;
  max-width: 1040px;
  margin: clamp(40px, 5vw, 72px) auto 0;
}

/* Lavis bleu derrière la maquette */
.plan-wrap::before {
  content: "";
  position: absolute;
  /* ne dépasse jamais la marge de page : pas de défilement horizontal */
  inset: -8% calc(-1 * min(6%, var(--gutter))) -4%;
  z-index: 0;
  background: radial-gradient(60% 55% at 50% 45%, var(--accent-haze), transparent 70%);
  pointer-events: none;
}

.plan {
  position: relative;
  z-index: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.plan__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--mist);
  font-size: var(--text-caption);
  line-height: 1.3;
}

.plan__bar .icon {
  width: 16px;
  height: 16px;
  color: var(--slate);
}

.plan__name {
  font-weight: 600;
}

.plan__meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--slate);
}

.tag {
  display: inline-block;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-weight: 500;
  white-space: nowrap;
}

.plan__status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--apricot);
  box-shadow: 0 0 0 3px rgba(255, 166, 102, 0.25);
  transition: background-color 0.4s, box-shadow 0.4s;
}

.plan.is-complete .plan__status::before {
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(96, 237, 118, 0.25);
}

.plan__body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

.plan__map {
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 32px);
  border-right: 1px solid var(--border);
  background-image: radial-gradient(circle, rgba(8, 8, 8, 0.13) 1px, transparent 1.2px);
  background-size: 16px 16px;
  background-position: 8px 8px;
}

.plan__svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.room {
  fill: #fff;
  cursor: pointer;
  transition: fill 0.5s var(--ease);
}

.room.is-done {
  fill: var(--accent-room);
}

.room.is-hot {
  fill: var(--accent-room-hot);
}

.plan__walls {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: square;
  pointer-events: none;
}

.plan__doors,
.plan__furniture {
  fill: none;
  stroke: var(--smoke);
  stroke-width: 1;
  pointer-events: none;
}

.plan__labels text,
.plan__dims text {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  fill: var(--slate);
  pointer-events: none;
}

.plan__dims path {
  fill: none;
  stroke: var(--smoke);
  stroke-width: 1;
}

.plan__badge {
  opacity: 0;
  transform: scale(0.4);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.3s, transform 0.5s cubic-bezier(0.3, 1.5, 0.5, 1);
  pointer-events: none;
}

.plan__badge.is-done {
  opacity: 1;
  transform: none;
}

.plan__badge circle {
  fill: var(--accent);
}

.plan__badge path {
  fill: none;
  stroke: var(--on-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plan__side {
  display: flex;
  flex-direction: column;
}

.plan__sidehead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 12px;
  font-size: var(--text-caption);
  color: var(--slate);
}

.plan__sidehead strong {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--ink);
}

.task {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  border-top: 1px solid var(--mist);
  font-size: var(--text-small);
  line-height: 1.35;
  cursor: default;
  transition: background-color 0.25s;
}

.task.is-hot {
  background: var(--accent-row);
}

.task__box {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--smoke);
  border-radius: var(--radius-sm);
  transition: background-color 0.3s, border-color 0.3s;
}

.task__box svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: var(--on-accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
  transition: stroke-dashoffset 0.35s 0.1s var(--ease);
}

.task.is-done .task__box {
  border-color: var(--accent);
  background: var(--accent);
}

.task.is-done .task__box svg {
  stroke-dashoffset: 0;
}

.task__name {
  font-weight: 500;
}

.task__detail {
  display: block;
  font-size: var(--text-caption);
  font-weight: 400;
  color: var(--slate);
}

.task__freq {
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  color: var(--slate);
  white-space: nowrap;
}

.plan__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  margin-top: auto;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  color: var(--slate);
}

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

  .plan__map {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 479px) {
  .plan__bar {
    gap: 8px;
    padding-inline: 12px;
  }

  .plan__bar > .icon,
  .plan__meta,
  .plan__status-long {
    display: none;
  }

  .plan__status [data-plan-status] {
    display: inline-block;
  }

  .plan__status [data-plan-status]::first-letter {
    text-transform: uppercase;
  }

  .task {
    padding-inline: 16px;
  }

  .plan__sidehead,
  .plan__foot {
    padding-inline: 16px;
  }

  .task__detail {
    display: none;
  }
}

/* Étapes */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 24px;
  margin-top: clamp(56px, 7vw, 96px);
}

.step {
  position: relative;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Le trait doré se trace à l'apparition de l'étape */
.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform-origin: left;
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0ms) + 250ms);
}

.js .step:not(.is-in)::before {
  transform: scaleX(0);
}

.step__num {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  color: var(--accent-text);
}

.step__title {
  margin-top: 28px;
  font-size: var(--text-subheading);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.step__text {
  margin-top: 8px;
  font-size: 0.9375rem;
  color: var(--slate);
}

@media (max-width: 899px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step__title {
    margin-top: 16px;
  }
}

@media (max-width: 479px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* 14. Engagements (grille bento)
   ========================================================================== */

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
}

.bento__card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.bento__card--wide {
  grid-column: span 6;
}

.bento__visual {
  display: grid;
  place-items: center;
  min-height: 232px;
  padding: 24px;
  border-radius: 6px;
  background: var(--mist);
  overflow: hidden;
}

.bento__body {
  padding: 20px 16px 16px;
}

.bento__title {
  font-size: var(--text-subheading);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.bento__text {
  margin-top: 6px;
  font-size: 0.9375rem;
  color: var(--slate);
}

@media (max-width: 1023px) {
  .bento__card,
  .bento__card--wide {
    grid-column: span 6;
  }
}

@media (max-width: 679px) {
  .bento__card,
  .bento__card--wide {
    grid-column: 1 / -1;
  }

  .bento__visual {
    min-height: 200px;
    padding: 16px;
  }
}

/* Mini-interfaces des cartes */
.mini {
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 16px -8px rgba(0, 0, 0, 0.1);
  font-size: var(--text-caption);
  line-height: 1.4;
}

.mini__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--mist);
  font-weight: 600;
}

.mini__head .mono {
  font-size: var(--text-micro);
  font-weight: 400;
  color: var(--slate);
}

.mini__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border-top: 1px solid var(--mist);
}

.mini__row:first-child,
.mini__head + .mini__row {
  border-top: 0;
}

.mini__row > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mini__row .icon {
  width: 16px;
  height: 16px;
  color: var(--slate);
}

.mini__val {
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  color: var(--slate);
  white-space: nowrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: var(--text-micro);
  font-weight: 500;
  white-space: nowrap;
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.pill--ok {
  background: rgba(96, 237, 118, 0.22);
  color: #14702a;
}

.pill--warn {
  background: rgba(255, 166, 102, 0.26);
  color: #92430d;
}

.pill--accent {
  background: var(--accent-wash);
  color: var(--accent-text);
}

/* Semaine type */
.week {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 12px;
}

.week__day {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 10px 4px;
  border: 1px solid var(--mist);
  border-radius: 6px;
}

.week__label {
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  color: var(--slate);
  text-transform: uppercase;
}

.week__check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
}

.week__check .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
  color: inherit;
}

.week__time {
  font-family: var(--font-mono);
  font-size: var(--text-micro);
}

/* Conversation */
.chat {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 400px;
}

.chat__msg {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: var(--text-caption);
  line-height: 1.4;
}

.chat__msg--in {
  justify-self: start;
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  background: var(--white);
}

.chat__msg--out {
  justify-self: end;
  border-bottom-right-radius: 4px;
  background: var(--accent);
  color: var(--on-accent);
}

.chat__meta {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  color: var(--slate);
}

/* Lignes de prix masquées */
.bar {
  display: inline-block;
  width: 44px;
  height: 8px;
  border-radius: 2px;
  background: var(--mist);
}

.bar--ink {
  width: 56px;
  background: var(--ink);
}

/* 14 bis. Zone d'intervention : carte de l'Île-de-France
   ========================================================================== */

.zone {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.idf {
  position: relative;
  isolation: isolate;
  margin: 0;
}

/* Trame de points, comme sur le plan d'intervention */
.idf::before {
  content: "";
  position: absolute;
  inset: -5% -3%;
  z-index: -1;
  background-image: radial-gradient(circle, rgba(8, 8, 8, 0.15) 1px, transparent 1.2px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 62% 62% at 50% 48%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 62% at 50% 48%, #000 30%, transparent 100%);
}

.idf__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.idf__region {
  filter: drop-shadow(0 22px 26px rgba(138, 105, 20, 0.18));
}

.idf__dept {
  stroke: var(--white);
  stroke-width: 3;
  stroke-linejoin: round;
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
  transition: fill 0.3s, opacity 0.7s var(--ease), transform 0.9s var(--ease);
  transition-delay: 0s, calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms);
}

.idf__dept--outer {
  fill: #f4ead0;
}

.idf__dept--inner {
  fill: #e7d08c;
}

.idf__dept--paris {
  fill: var(--gold);
}

.idf__dept--outer:hover,
.idf__dept--outer.is-active {
  fill: #ecdcae;
}

.idf__dept--inner:hover,
.idf__dept--inner.is-active {
  fill: #dcc06e;
}

.idf__dept--paris:hover,
.idf__dept--paris.is-active {
  fill: #b8922f;
}

.js .idf:not(.is-in) .idf__dept {
  opacity: 0;
  transform: scale(0.92);
}

/* Ondes qui partent de Paris */
.idf__pulse {
  pointer-events: none;
}

.idf__pulse circle {
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 4.6s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}

.idf__pulse circle + circle {
  animation-delay: 2.3s;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
    transform: scale(0.08);
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.idf__labels {
  pointer-events: none;
  transition: opacity 0.6s 0.8s;
}

.js .idf:not(.is-in) .idf__labels {
  opacity: 0;
}

.idf__num {
  font-family: var(--font-sans);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.04em;
  fill: var(--ink);
  text-anchor: middle;
}

.idf__num--sm {
  font-size: 23px;
  letter-spacing: -0.02em;
}

.idf__name {
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 500;
  fill: var(--slate);
  text-anchor: middle;
}

/* Étiquette du département survolé */
.idf__chip {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: 0 10px 18px -12px rgba(0, 0, 0, 0.25);
  font-size: var(--text-caption);
  font-weight: 500;
  line-height: 1.3;
}

.idf__chip b {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--accent-text);
}

.idf__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 24px;
  font-size: var(--text-caption);
  color: var(--slate);
}

.idf__legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.idf__legend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.idf__legend b {
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--ink);
}

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

@media (max-width: 599px) {
  .idf__num {
    font-size: 54px;
  }

  .idf__num--sm {
    font-size: 28px;
  }

  .idf__name {
    font-size: 30px;
  }

  .idf__chip {
    position: static;
    margin-bottom: 12px;
  }
}

/* 15. Questions fréquentes
   ========================================================================== */

.faq {
  border-top: 1px solid var(--border);
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: var(--text-subheading);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}

.faq__icon .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease);
}

.faq__q:hover .faq__icon {
  border-color: var(--ink);
}

.faq__item[open] .faq__icon {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.faq__item[open] .faq__icon .icon {
  transform: rotate(45deg);
}

.faq__a {
  max-width: 38rem;
  padding: 0 0 24px;
  color: var(--slate);
}

@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }

  .faq__item::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete;
  }

  .faq__item[open]::details-content {
    block-size: auto;
  }
}

/* 16. Devis (section sombre)
   ========================================================================== */

.quote-section {
  position: relative;
  isolation: isolate;
  padding-block: var(--section);
  background: var(--night);
  color: var(--white);
  overflow: hidden;
}

.quote-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: calc(50% + 36px) -1px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 20% 0%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 90% at 20% 0%, #000, transparent 70%);
}

.quote-section::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -12%;
  z-index: -1;
  width: min(820px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-glow), transparent);
  pointer-events: none;
  animation: breathe 12s ease-in-out infinite alternate;
}

@keyframes breathe {
  from {
    opacity: 0.7;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1.12);
  }
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .quote-section .gold {
    background-image: linear-gradient(100deg, #caa441 0%, #dcbd62 30%, #e2c670 67%, #fff6d0 75%, #e2c670 83%, #caa441 100%);
  }
}

.quote-section .gold {
  color: var(--gold);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.quote-section .eyebrow {
  color: var(--smoke);
}

.quote-section .section-head__lead {
  color: var(--smoke);
}

.contact {
  display: grid;
  gap: 0;
  margin-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--charcoal);
}

.contact__row {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--charcoal);
}

.contact__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--smoke);
}

.contact__value {
  font-size: var(--text-body);
  overflow-wrap: anywhere;
}

.contact__value a {
  text-decoration: none;
}

.contact__sub {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--smoke);
}

.contact__value a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact__value--xl {
  font-size: var(--text-heading);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 959px) {
  .quote-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 479px) {
  .contact__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Formulaire */
.quote {
  padding: clamp(20px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-xl-2);
}

.quote__top {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
}

.quote__progress {
  display: none;
  height: 3px;
  margin-bottom: 28px;
  border-radius: 2px;
  background: var(--mist);
  overflow: hidden;
}

.quote__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(var(--p, 0.5));
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.js .quote__top {
  display: flex;
}

.js .quote__progress {
  display: block;
}

.quote__step + .quote__step {
  margin-top: 32px;
}

.quote__title {
  margin-bottom: 20px;
  padding: 0;
  font-size: var(--text-heading-sm);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.field {
  margin-bottom: 20px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
}

@media (max-width: 479px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.field__label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--text-caption);
  font-weight: 500;
  line-height: 1.4;
}

.field__label small {
  font-size: inherit;
  font-weight: 400;
  color: var(--slate);
}

.field__error {
  margin-top: 6px;
  font-size: var(--text-caption);
  color: var(--error);
}

.input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input::placeholder {
  color: #9a9a9a;
}

.input:hover {
  border-color: var(--smoke);
}

.input:focus {
  outline: none;
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px var(--accent-ring);
}

textarea.input {
  min-height: 88px;
  resize: vertical;
}

.field.has-error .input {
  border-color: var(--error);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
}

.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: var(--text-small);
  font-weight: 500;
  line-height: 1.2;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.chip:hover span {
  border-color: var(--ink);
}

.chip input:checked + span {
  border-color: var(--accent-text);
  background: var(--accent-wash);
  box-shadow: inset 0 0 0 1px var(--accent-text);
  color: var(--accent-text);
}

.chip input:focus-visible + span {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
}

.quote__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.quote__actions .btn--primary {
  flex: 1;
}

.quote__actions [data-prev],
.quote__actions [data-next] {
  display: none;
}

.js .quote__actions [data-prev],
.js .quote__actions [data-next] {
  display: inline-flex;
}

.quote__legal {
  margin-top: 16px;
  font-size: var(--text-caption);
  line-height: 1.5;
  color: var(--slate);
}

.quote__legal a:hover {
  color: var(--ink);
}

.quote__alert {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--error);
  border-radius: var(--radius-sm);
  font-size: var(--text-small);
  color: var(--error);
}

/* Champ piège anti-robots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.quote__done {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding-block: clamp(16px, 4vw, 48px);
}

.quote__done-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--on-accent);
}

.quote__done-icon .icon {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.quote__done h3 {
  font-size: var(--text-heading);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.quote__done p {
  max-width: 28rem;
  color: var(--slate);
}

.quote__done .btn {
  margin-top: 12px;
}

/* 17. Pied de page
   ========================================================================== */

.footer {
  padding-top: clamp(56px, 7vw, 96px);
  overflow: hidden;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr));
  gap: 40px 24px;
}

.footer__pitch {
  max-width: 20rem;
  margin-top: 16px;
  font-size: 0.9375rem;
  color: var(--slate);
}

.footer__title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
}

.footer__links li {
  padding: 4px 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.footer__links a {
  text-decoration: none;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--accent-text);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-block: 20px;
  border-top: 1px solid var(--border);
  font-size: var(--text-caption);
  color: var(--slate);
}

.footer__bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer__bottom a {
  text-decoration: none;
}

.footer__bottom a:hover {
  color: var(--ink);
}

@media (max-width: 899px) {
  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* 18. Barre d'appel mobile
   ========================================================================== */

.callbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  display: none;
  grid-template-columns: 1fr 1.5fr;
  gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: var(--white);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}

.callbar.is-visible {
  transform: none;
}

@media (max-width: 767px) {
  .callbar {
    display: grid;
  }
}

/* 19. Pages simples (mentions légales, 404)
   ========================================================================== */

.page {
  padding-block: clamp(48px, 7vw, 96px) var(--section);
}

.page__title {
  font-size: var(--text-display);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.page__intro {
  max-width: 38rem;
  margin-top: 20px;
  font-size: var(--text-subheading);
  line-height: 1.5;
  color: var(--slate);
}

.prose {
  max-width: 44rem;
  margin-top: clamp(40px, 5vw, 64px);
}

.prose h2 {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: var(--text-heading-sm);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose ul {
  margin-top: 16px;
  color: var(--slate);
}

.prose ul {
  padding-left: 1.25rem;
  list-style: square;
}

.prose li {
  margin-top: 6px;
}

.prose li::marker {
  color: var(--accent-mark);
}

.prose strong {
  font-weight: 500;
  color: var(--ink);
}

.prose a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--accent-text);
}

.notfound {
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--nav-h));
  padding-block: 64px;
  text-align: center;
}

.notfound__code {
  font-size: clamp(7rem, 30vw, 18rem);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.07em;
}

.notfound__text {
  margin-top: 24px;
  font-size: var(--text-subheading);
  color: var(--slate);
}

.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* 20. Apparitions au défilement
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.js .reveal-line > span {
  transform: translateY(112%);
  transition: transform 1.1s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js .is-in .reveal-line > span {
  transform: none;
}

/* Les animations en boucle s'arrêtent quand leur bloc n'est plus à l'écran */
.js [data-animate]:not(.is-playing)::after,
.js [data-animate]:not(.is-playing) * {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__glow,
  .sparkle,
  .gold,
  .idf__pulse circle,
  .quote-section::after {
    animation: none !important;
  }

  .sparkle {
    opacity: 0.45;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    animation-duration: 0.01ms !important;
  }

  .js [data-reveal],
  .js .reveal-line > span {
    opacity: 1;
    transform: none;
  }
}

/* 21. Mode brouillon : ajouter ?brouillon à l'adresse pour repérer
       les informations provisoires à remplacer.
   ========================================================================== */

.is-draft [data-todo] {
  border-radius: 2px;
  background: rgba(255, 166, 102, 0.3);
  outline: 1.5px dashed var(--apricot);
  outline-offset: 2px;
}
