/* ==========================================================================
   Pyrolune — feuille de style
   Direction « Nuit festive » issue de la maquette Claude Design (Site v2).
   ========================================================================== */

:root {
  --night: #0F0D1A;
  --cream: #F1EEE8;
  --rose: #FFB2AF;
  --coral: #FF818D;
  --gold: #E2C48A;
  --spark: #FFF4D2;
  --plum: #B03D87;
  --ink: #15121F;
  --ink-soft: #4D475C;
  --ink-mute: #6A6378;
  --panel: #121016;

  --serif: Newsreader, serif;
  --sans: Geologica, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --gutter: clamp(20px, 5vw, 64px);
  --oui: linear-gradient(180deg, #FFE2DA 10%, #FFB2AF 38%, #FF818D 66%, #E2C48A 96%);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* --- Base ----------------------------------------------------------------- */

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  hyphens: manual;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--rose); text-decoration: none; }
a:hover { color: var(--cream); }
:focus-visible { outline: 1px solid var(--rose); outline-offset: 4px; }
::selection { background: var(--coral); color: var(--night); }

[hidden] { display: none !important; }
figure { margin: 0; }
sup { font-size: .68em; line-height: 0; }

.site { position: relative; overflow-x: clip; }

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

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  padding: 11px 18px; background: var(--cream); color: var(--night);
  font-size: 14px; font-weight: 400;
}
.skip-link:focus { top: 12px; color: var(--night); }

/* Ciel étoilé des ouvertures de page */
.stars {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.4px 1.4px at 8% 22%, #FFF4D2, transparent 70%),
    radial-gradient(1px 1px at 19% 64%, rgba(241,238,232,.8), transparent 70%),
    radial-gradient(1.2px 1.2px at 27% 14%, #fff, transparent 70%),
    radial-gradient(1px 1px at 36% 48%, #FFB2AF, transparent 70%),
    radial-gradient(1.5px 1.5px at 44% 9%, #fff, transparent 70%),
    radial-gradient(1px 1px at 61% 41%, rgba(241,238,232,.7), transparent 70%),
    radial-gradient(1.3px 1.3px at 69% 16%, #E2C48A, transparent 70%),
    radial-gradient(1px 1px at 78% 38%, #fff, transparent 70%),
    radial-gradient(1.5px 1.5px at 88% 12%, #fff, transparent 70%),
    radial-gradient(1px 1px at 94% 44%, #FFB2AF, transparent 70%),
    radial-gradient(1.1px 1.1px at 4% 52%, #fff, transparent 70%),
    radial-gradient(1px 1px at 54% 28%, rgba(241,238,232,.6), transparent 70%);
}

/* --- Bouquets (motif récurrent) ------------------------------------------- */

.burst {
  position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(from var(--from, 0deg), var(--ray) 0deg var(--w), transparent var(--w) var(--step));
  -webkit-mask-image: radial-gradient(circle closest-side, transparent var(--m1), #000 var(--m2), #000 var(--m3), transparent var(--m4));
          mask-image: radial-gradient(circle closest-side, transparent var(--m1), #000 var(--m2), #000 var(--m3), transparent var(--m4));
}
.burst--rose  { --ray: rgba(255,178,175,.95); --w: .8deg; --step: 7.5deg; --m1: 26%; --m2: 34%; --m3: 72%; --m4: 98%; }
.burst--ring  { --from: 3.75deg; --ray: rgba(226,196,138,.95); --w: 1.3deg; --step: 15deg; --m1: 84%; --m2: 87%; --m3: 93%; --m4: 96%; }
.burst--plum  { --ray: rgba(176,61,135,.75); --w: .8deg; --step: 7.5deg; --m1: 30%; --m2: 40%; --m3: 72%; --m4: 98%; }
.burst--cream { --ray: rgba(241,238,232,.85); --w: .6deg; --step: 5deg; --m1: 34%; --m2: 44%; --m3: 70%; --m4: 96%; }
.burst--gold  { --ray: rgba(226,196,138,.95); --w: 1deg; --step: 10deg; --m1: 30%; --m2: 40%; --m3: 74%; --m4: 98%; }
.burst--fuse  { --ray: rgba(255,178,175,.95); --w: 1.2deg; --step: 12deg; --m1: 28%; --m2: 38%; --m3: 74%; --m4: 98%; }

/* --p (0 → 1) est piloté par le défilement ; vaut 1 sans JavaScript. */
.bloom {
  position: absolute; pointer-events: none;
  opacity: calc(var(--p, 1) * var(--k, 1));
  transform: scale(calc(.5 + var(--p, 1) * .5)) rotate(calc(var(--p, 1) * var(--turn, 0deg)));
}
.bloom--offer    { right: -110px; top: 38%; width: 220px; height: 220px; --k: .55; --turn: 14deg; }
.bloom--portrait { right: -70px; top: -70px; width: 200px; height: 200px; --k: .8; --turn: 12deg; }
.bloom--c1       { right: 30%; top: 3%; width: 170px; height: 170px; --k: .7; --turn: 14deg; }
.bloom--c1 .burst--rose { --m1: 30%; --m2: 40%; }
.bloom--c2       { right: 4%; top: 6%; width: 300px; height: 300px; --k: .55; --turn: -10deg; }
.bloom--c3       { left: 6%; top: 44%; width: 130px; height: 130px; --k: .75; }
.bloom--band     { right: -60px; top: -80px; width: 240px; height: 240px; --k: .45; --turn: 16deg; }

/* --- Mèche ---------------------------------------------------------------- */

.fuse {
  position: fixed; left: clamp(10px, 1.6vw, 26px); top: 104px; bottom: 60px;
  width: 9px; z-index: 30; pointer-events: none;
}
.fuse__burnt {
  position: absolute; left: 4px; top: 0; width: 1px;
  height: calc(var(--g, 0) * 100%); background: rgba(241,238,232,.08);
}
.fuse__line {
  position: absolute; left: 4px; top: calc(var(--g, 0) * 100%); bottom: 0; width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(241,238,232,.3) 22%, rgba(241,238,232,.2));
}
.fuse__spark {
  position: absolute; left: 0; top: calc(var(--g, 0) * 100%);
  width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--spark);
  box-shadow: 0 0 0 3px rgba(255,129,141,.22), 0 0 18px 5px rgba(255,170,120,.75);
}
.fuse__label {
  display: none; position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  white-space: nowrap; font-family: var(--mono); font-size: 11px; line-height: 1;
  color: rgba(241,238,232,.72);
}
.fuse__cue { margin-left: 8px; color: var(--rose); }
.fuse__end {
  position: absolute; left: -26px; bottom: -30px; width: 60px; height: 60px;
  opacity: var(--p, 0); transform: scale(calc(.4 + var(--p, 0) * .6));
}
/* L’étiquette n’apparaît que si la marge latérale est assez large. */
@media (min-width: 1541px) { .fuse__label { display: block; } }

/* --- En-tête -------------------------------------------------------------- */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: rgba(15,13,26,.84);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(241,238,232,.08);
}
.site-nav {
  max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand, .brand:hover { display: flex; align-items: center; gap: 10px; color: var(--cream); }
.brand__mark {
  width: 18px; height: 18px; border-radius: 50%;
  background: repeating-conic-gradient(var(--rose) 0deg 4deg, transparent 4deg 30deg);
  -webkit-mask-image: radial-gradient(circle closest-side, transparent 24%, #000 32%, #000 80%, transparent 100%);
          mask-image: radial-gradient(circle closest-side, transparent 24%, #000 32%, #000 80%, transparent 100%);
  transition: transform .8s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(30deg) scale(1.12); }
.brand__name { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1; letter-spacing: -.01em; }

.nav-links { display: none; gap: clamp(18px, 2.2vw, 30px); font-size: 14px; }
.nav-links a {
  position: relative; display: flex; gap: 7px; align-items: baseline;
  color: rgba(241,238,232,.82); transition: color .3s;
}
/* Trait qui se dessine au survol et signale la section en cours. */
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: var(--rose);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.nav-links a:hover { color: var(--rose); }
.nav-links a:hover::after, .nav-links a.is-current::after, .nav-links a[aria-current="page"]::after { transform: none; }
.nav-links a.is-current, .nav-links a[aria-current="page"] { color: var(--cream); }
.nav-links__num { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--rose); }
@media (min-width: 1080px) { .nav-links { display: flex; } }

/* --- Boutons et liens ----------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 11px 18px; border: 0;
  background: var(--cream); color: var(--night); font: inherit; font-size: 14px; font-weight: 400;
  cursor: pointer;
  transition: gap .3s, background-color .3s, color .3s, box-shadow .3s, translate .5s var(--ease);
}
.btn:hover { gap: 18px; background: #FFFFFF; color: var(--night); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn--lg { gap: 16px; padding: 18px 26px; font-size: 16px; }
.btn--lg:hover { gap: 24px; }
.btn--ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px rgba(241,238,232,.32); }
.btn--ghost:hover { background: rgba(241,238,232,.06); color: var(--cream); box-shadow: inset 0 0 0 1px rgba(255,178,175,.6); }

/* Les soulignés se tracent de gauche à droite au survol. */
.link-line, .link-arrow, .link-inline {
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px border-box;
}
.link-line {
  font-size: 15px; color: var(--cream); padding-bottom: 3px;
  border-bottom: 1px solid rgba(255,178,175,.55);
  transition: color .3s, background-size .5s var(--ease);
}
.link-line:hover { color: var(--rose); background-size: 100% 1px; }
button.link-line { padding: 0 0 3px; border-width: 0 0 1px; background-color: transparent; font: inherit; font-size: 15px; cursor: pointer; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--cream);
  padding-bottom: 3px; border-bottom: 1px solid rgba(255,178,175,.55);
  transition: gap .3s, color .3s, background-size .5s var(--ease);
}
.link-arrow:hover { gap: 16px; color: var(--rose); background-size: 100% 1px; }
.link-arrow--insta { margin-top: 14px; }
.link-arrow--gold { align-self: flex-start; gap: 12px; border-bottom-color: rgba(226,196,138,.6); }
.link-arrow--gold:hover { gap: 18px; color: var(--gold); }

.link-inline { color: var(--rose); border-bottom: 1px solid rgba(255,178,175,.5); transition: background-size .5s var(--ease); }
.link-inline:hover { color: var(--rose); background-size: 100% 1px; }

/* --- Sections ------------------------------------------------------------- */

.section { position: relative; padding: var(--pt, 96px) var(--gutter) var(--pb, 96px); }
.wrap { max-width: 1240px; margin: 0 auto; }

#prestations { --pt: clamp(96px, 11vw, 150px); --pb: clamp(80px, 9vw, 120px); }
#carnet      { --pt: clamp(60px, 8vw, 110px);  --pb: clamp(80px, 9vw, 120px); }
#artificier  { --pt: clamp(96px, 11vw, 150px); --pb: clamp(96px, 11vw, 150px); }
#zone        { --pt: clamp(96px, 11vw, 150px); --pb: clamp(60px, 7vw, 90px); }
#questions   { --pt: clamp(60px, 8vw, 110px);  --pb: clamp(80px, 9vw, 120px); }
#contact     { --pt: clamp(96px, 11vw, 150px); --pb: 0px; }

.section--light { overflow: hidden; background: var(--cream); color: var(--ink); }

.tableau {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: 6px 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(241,238,232,.16);
}
.tableau__name { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--rose); }
.tableau__tc { font-family: var(--mono); font-size: 12px; color: rgba(241,238,232,.55); }
.section--light .tableau { border-bottom-color: rgba(21,18,31,.2); }
.section--light .tableau__name { color: var(--plum); }
.section--light .tableau__tc { color: var(--ink-mute); }

.intro {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px 64px; margin-top: 40px;
}
.h2 {
  margin: 0; font-family: var(--serif); font-weight: 300;
  font-size: clamp(44px, 6vw, 92px); line-height: .98; letter-spacing: -.04em;
}
.h2--grow { flex: 1 1 560px; text-wrap: balance; }
.h2--11 { max-width: 11em; }
.h2--12 { max-width: 12em; }
.intro > .intro__text, .intro__aside { flex: 0 1 360px; }
.intro__text { margin: 0; font-size: 16px; line-height: 1.7; color: rgba(241,238,232,.72); text-wrap: pretty; }
.intro__coords { margin: 14px 0 0; font-family: var(--mono); font-size: 12px; color: rgba(241,238,232,.55); }

.cap { padding-top: 10px; font-family: var(--mono); font-size: 12px; color: rgba(241,238,232,.55); }

/* --- Ouverture ------------------------------------------------------------ */

.hero {
  position: relative; min-height: max(720px, 100vh); display: flex; flex-direction: column;
  box-sizing: border-box; padding: 96px var(--gutter) 40px; overflow: hidden;
  background:
    radial-gradient(50% 55% at 84% 18%, rgba(255,129,141,.18), transparent 70%),
    radial-gradient(46% 56% at 6% 0%, rgba(120,74,160,.4), transparent 70%),
    linear-gradient(180deg, #130F24, var(--night));
}
.hero__trails {
  position: absolute; left: 0; top: 6%; width: 100%; height: 70%;
  pointer-events: none; overflow: visible;
  filter: drop-shadow(0 0 5px rgba(255,200,190,.6));
}
.hero__inner {
  position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column;
  max-width: 1240px; width: 100%; margin: 0 auto;
}
.hero__meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 20px;
  font-family: var(--mono); font-size: 12px; color: rgba(241,238,232,.6);
}
.hero__title {
  margin: auto 0 0; padding: clamp(40px, 7vh, 80px) 0 clamp(30px, 5vh, 52px);
  font-family: var(--serif); font-weight: 300; font-size: clamp(64px, 15vw, 228px);
  line-height: .86; letter-spacing: -.05em; color: var(--cream);
}
.hero__line { display: block; }
.hero__line--2 { white-space: nowrap; margin-left: clamp(36px, 21vw, 360px); }
.hero__o {
  display: inline-block; width: .62em; height: .62em; margin: 0 .02em; vertical-align: -.09em;
  border-radius: 50%;
  background: repeating-conic-gradient(from 2deg, var(--rose) 0deg 2.4deg, transparent 2.4deg 12deg);
  -webkit-mask-image: radial-gradient(circle closest-side, transparent 22%, #000 30%, #000 80%, transparent 100%);
          mask-image: radial-gradient(circle closest-side, transparent 22%, #000 30%, #000 80%, transparent 100%);
  filter: drop-shadow(0 0 14px rgba(255,170,150,.6));
}
.hero__oui {
  font-style: italic; padding-right: .08em;
  background: var(--oui); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__foot {
  display: flex; flex-wrap: wrap; gap: 36px clamp(32px, 5vw, 80px);
  padding-top: 28px; border-top: 1px solid rgba(241,238,232,.16);
}
.hero__intro { flex: 1.25 1 420px; min-width: 0; }
.hero__lead {
  margin: 0; max-width: 34em; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.7;
  color: rgba(241,238,232,.82); text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }
.hero__creds {
  margin: 26px 0 0; font-family: var(--mono); font-size: 12px; line-height: 1.7;
  color: rgba(241,238,232,.6);
}

.programme { flex: 1 1 340px; min-width: 0; }
.programme__title { margin: 0 0 8px; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--rose); }
.programme a {
  display: grid; grid-template-columns: 78px 40px minmax(0, 1fr); align-items: baseline;
  padding: 9px 0; border-top: 1px solid rgba(241,238,232,.1);
  font-size: 14px; color: rgba(241,238,232,.86); transition: color .3s;
}
.programme a:last-child { border-bottom: 1px solid rgba(241,238,232,.1); }
.programme a > span { transition: color .3s, transform .45s var(--ease); }
.programme a:hover { color: var(--rose); }
.programme a:hover > span:last-child { transform: translateX(6px); }
.programme__tc { font-family: var(--mono); font-size: 12px; color: rgba(241,238,232,.5); }
.programme a:hover .programme__tc { color: rgba(255,178,175,.75); }
.programme__num { font-family: var(--serif); font-style: italic; font-size: 15px; }

/* --- Tableau I : prestations ---------------------------------------------- */

.offers { margin-top: 56px; display: flex; flex-wrap: wrap; box-shadow: 0 0 0 1px rgba(241,238,232,.12); }
.offer {
  position: relative; overflow: hidden; flex: 1 1 460px; min-width: 0;
  display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 48px);
}
.offer--night {
  background:
    radial-gradient(60% 50% at 92% 0%, rgba(120,74,160,.36), transparent 70%),
    linear-gradient(180deg, #17122B, #100E1C);
}
.offer--day {
  color: var(--ink);
  background:
    radial-gradient(50% 40% at 86% 12%, rgba(255,178,175,.42), transparent 70%),
    radial-gradient(50% 45% at 10% 94%, rgba(166,204,240,.45), transparent 70%),
    var(--cream);
}
.offer__head {
  position: relative; display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 12px; color: rgba(241,238,232,.5);
}
.offer__kind { color: var(--rose); }
.offer--day .offer__head { color: var(--ink-mute); }
.offer--day .offer__kind { color: var(--plum); }
.salle .offer__kind { color: var(--gold); }
.offer__title {
  position: relative; margin: 18px 0 0; font-family: var(--serif); font-weight: 300;
  font-size: clamp(36px, 3.6vw, 54px); line-height: 1; letter-spacing: -.03em;
}

.occasions { position: relative; list-style: none; margin: 28px 0 0; padding: 0; }
.occasions li {
  position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 0 12px;
  padding: 16px 0; border-top: 1px solid rgba(241,238,232,.12);
}
.occasions li:last-child { border-bottom: 1px solid rgba(241,238,232,.12); }
.occasions__n { padding-top: 5px; font-family: var(--mono); font-size: 12px; color: rgba(241,238,232,.45); transition: color .3s; }
.occasions__name { margin: 0; font-size: 18px; font-weight: 400; }
.occasions__desc { margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: rgba(241,238,232,.64); }
.offer--day .occasions li { border-color: rgba(21,18,31,.16); }
.offer--day .occasions__n { color: var(--ink-mute); }
.offer--day .occasions__desc { color: var(--ink-soft); }

/* Chaque occasion mène au formulaire de devis, déjà prérempli. */
.occasions__name a, .occasions__name a:hover { color: inherit; }
.occasions__name a::after { content: ""; position: absolute; inset: 0; }
.occasions__name a:focus-visible { outline: none; }
.occasions li:has(a:focus-visible) { outline: 1px solid var(--rose); outline-offset: 4px; }
.occasions__go {
  align-self: center; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; color: rgba(241,238,232,.42); transition: color .3s;
}
.occasions__go span { opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .45s var(--ease); }
.occasions__go svg { transition: transform .45s var(--ease); }
.occasions li:hover .occasions__go, .occasions li:hover .occasions__n { color: var(--rose); }
.occasions li:hover .occasions__go span { opacity: 1; transform: none; }
.occasions li:hover .occasions__go svg { transform: translateX(3px); }
.offer--day .occasions__go { color: var(--ink-mute); }
.offer--day .occasions li:hover .occasions__go, .offer--day .occasions li:hover .occasions__n { color: var(--plum); }
@media (hover: none) { .occasions__go span { display: none; } }

.offer__fig { position: relative; margin: 28px 0 0; }
.offer--day .offer__fig { flex: 1; display: flex; flex-direction: column; min-height: 300px; }
.offer--day .cap { color: var(--ink-mute); }

.salle { position: relative; display: flex; flex-wrap: wrap; background: var(--panel); box-shadow: 0 0 0 1px rgba(241,238,232,.12); }
.salle__body {
  flex: 1 1 400px; min-width: 0; padding: clamp(28px, 3.4vw, 48px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
}
.salle__text {
  margin: 18px 0 0; max-width: 30em; font-size: 16px; line-height: 1.7;
  color: rgba(241,238,232,.72); text-wrap: pretty;
}
.salle__fig {
  flex: 1.2 1 420px; min-width: 0; padding: clamp(16px, 2vw, 24px);
  display: flex; flex-direction: column;
}
.salle__fig .photo { min-height: 260px; }

/* --- Cadres photo ----------------------------------------------------------
   Chaque cadre accueille une <img> qui le remplit (object-fit: cover).
   Tant qu’aucune photo n’est fournie, une illustration (.ph) occupe le cadre.
   --drift (-1 → 1) fait glisser l’image dans son cadre au fil du défilement. */

.photo { position: relative; overflow: hidden; }
.photo > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.photo > .ph, .photo > img { transform: translate3d(0, calc(var(--drift, 0) * -3%), 0); }
.photo--fill     { flex: 1; }
.photo--banner   { height: clamp(220px, 22vw, 300px); }
.photo--lg       { height: clamp(300px, 36vw, 520px); }
.photo--sm       { height: clamp(220px, 20vw, 290px); }
.photo--portrait { aspect-ratio: 4 / 5; background: #E7E2DA; }
.photo--edge     { box-shadow: inset 0 0 0 1px rgba(241,238,232,.1); }
.photo--edge-ink { box-shadow: inset 0 0 0 1px rgba(21,18,31,.08); }

.photo--dusk   { background: linear-gradient(180deg, #2A1D4A, #5B3466 70%, #8A4E6E); }
.photo--blush  { background: linear-gradient(180deg, #F6E7E4, #F1D2DA 55%, #DCE6F2); }
.photo--ember  { background: linear-gradient(180deg, #1C1630, #3A2A48 60%, #6B4A52); }
.photo--rose   { background: linear-gradient(180deg, #F6E7E4, #F1D2DA 60%, #E9C3CF); }
.photo--plum   { background: linear-gradient(180deg, #221A3C, #4A2E5E 65%, #7A4566); }
.photo--sky    { background: linear-gradient(180deg, #E6EEF6, #CFE0F2 60%, #BCD3EC); }
.photo--lilac  { background: linear-gradient(180deg, #EDE3EE, #DCCBE6 60%, #C9B6DD); }
.photo--violet { background: linear-gradient(180deg, #1A1630, #3A2556 65%, #6A3E62); }

/* Illustrations d’attente : bouquets, gerbes et fumées. */
.ph { position: absolute; inset: 0; pointer-events: none; }
.ph--stars {
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #FFF4D2, transparent 70%),
    radial-gradient(1px 1px at 28% 62%, rgba(241,238,232,.7), transparent 70%),
    radial-gradient(1px 1px at 46% 10%, #fff, transparent 70%),
    radial-gradient(1.3px 1.3px at 66% 74%, #E2C48A, transparent 70%),
    radial-gradient(1px 1px at 86% 12%, #fff, transparent 70%),
    radial-gradient(1px 1px at 93% 82%, #FFB2AF, transparent 70%),
    radial-gradient(1px 1px at 6% 78%, #fff, transparent 70%),
    radial-gradient(1.1px 1.1px at 36% 88%, rgba(241,238,232,.6), transparent 70%);
}
.ph-burst {
  position: absolute; left: var(--x); top: var(--y); height: var(--s); aspect-ratio: 1;
  translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow, rgba(255,214,190,.2)), transparent);
}
.ph-burst::before, .ph-burst::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.ph-burst::before {
  background: repeating-conic-gradient(from var(--a, 0deg), var(--c, rgba(255,178,175,.9)) 0deg .8deg, transparent .8deg 7.5deg);
  -webkit-mask-image: radial-gradient(circle closest-side, transparent 24%, #000 34%, #000 70%, transparent 98%);
          mask-image: radial-gradient(circle closest-side, transparent 24%, #000 34%, #000 70%, transparent 98%);
}
.ph-burst::after {
  background: repeating-conic-gradient(from calc(var(--a, 0deg) + 3.75deg), var(--c2, rgba(226,196,138,.9)) 0deg 1.3deg, transparent 1.3deg 15deg);
  -webkit-mask-image: radial-gradient(circle closest-side, transparent 84%, #000 87%, #000 93%, transparent 96%);
          mask-image: radial-gradient(circle closest-side, transparent 84%, #000 87%, #000 93%, transparent 96%);
}
.ph-trail {
  position: absolute; left: var(--x); top: var(--y); bottom: 0; width: 1px;
  background: linear-gradient(180deg, rgba(255,244,210,.5), rgba(255,244,210,0) 85%);
}
.ph-gerbe {
  position: absolute; left: var(--x); bottom: 0; height: 170%; aspect-ratio: 1;
  translate: -50% 50%; scale: .55 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,214,170,.3), transparent 70%);
}
.ph-gerbe::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(from var(--a, 0deg), rgba(255,236,200,.85) 0deg 1deg, transparent 1deg 7.5deg);
  -webkit-mask-image: radial-gradient(circle closest-side, rgba(0,0,0,.5) 4%, #000 14%, rgba(0,0,0,.8) 40%, transparent 96%);
          mask-image: radial-gradient(circle closest-side, rgba(0,0,0,.5) 4%, #000 14%, rgba(0,0,0,.8) 40%, transparent 96%);
  clip-path: polygon(50% 50%, -10% 0, 110% 0);
}
.ph-smoke {
  position: absolute; left: var(--x); top: var(--y); height: var(--s); aspect-ratio: var(--r, 1.15);
  translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--c), transparent);
  filter: blur(var(--b, 12px));
}

/* --- Tableau II : carnet de tirs ------------------------------------------ */

.gallery { margin-top: 52px; display: flex; flex-wrap: wrap; gap: 36px 20px; }
.shot { min-width: 0; }
.shot--xl { flex: 1.7 1 520px; }
.shot--md { flex: 1 1 300px; }
.shot--sm { flex: 1 1 230px; }
.shot__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; }
.shot__title { font-family: var(--serif); font-style: italic; font-size: 20px; }
.shot__tag { font-size: 13px; color: rgba(241,238,232,.58); }

/* --- Tableau III : l’artificier ------------------------------------------- */

.about {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  gap: 48px clamp(40px, 6vw, 96px); margin-top: 48px;
}
.about__fig { position: relative; flex: 0 1 400px; min-width: min(100%, 280px); }
.about__fig .cap { color: var(--ink-mute); }
.about__text { flex: 1 1 480px; min-width: 0; }
.about__quote {
  margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; text-indent: -.42em;
}
.about__cols {
  columns: 2 250px; column-gap: 40px; margin-top: 40px;
  font-size: 16px; line-height: 1.75; color: var(--ink-soft);
}
.about__cols p { margin: 0; text-wrap: pretty; }
.about__cols p + p { margin-top: 16px; }
.dropcap::first-letter {
  float: left; padding: 7px 10px 0 0;
  font-family: var(--serif); font-weight: 300; font-size: 78px; line-height: .8; color: var(--plum);
}

.specs { margin-top: clamp(64px, 8vw, 104px); }
.specs__label { margin: 0 0 14px; font-family: var(--mono); font-size: 12px; color: var(--ink-mute); }
.specs__list { margin: 0; }
.spec {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 32px;
  padding: 22px 0; border-top: 1px solid rgba(21,18,31,.2);
}
.spec:last-child { border-bottom: 1px solid rgba(21,18,31,.2); }
.spec dt { flex: 0 0 150px; font-family: var(--mono); font-size: 12px; color: var(--ink-mute); }
.spec__value { flex: 0 0 260px; margin: 0; font-family: var(--serif); font-size: 30px; line-height: 1.1; letter-spacing: -.015em; }
.spec__desc { flex: 1 1 300px; margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

/* --- Tableau IV : zone d’intervention ------------------------------------- */

.zone { margin-top: 52px; display: flex; flex-wrap: wrap; box-shadow: 0 0 0 1px rgba(241,238,232,.12); }
.zone__map { position: relative; flex: 2 1 560px; min-width: 0; height: clamp(420px, 46vw, 600px); background: var(--ink); }
.zone__map iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.zone__chips {
  position: absolute; left: 14px; top: 14px; display: flex; flex-wrap: wrap; gap: 8px;
  pointer-events: none; font-family: var(--mono); font-size: 11px;
}
.chip { padding: 7px 10px; background: rgba(15,13,26,.86); color: var(--cream); box-shadow: inset 0 0 0 1px rgba(241,238,232,.16); }
.chip--rose { color: var(--rose); box-shadow: inset 0 0 0 1px rgba(255,178,175,.26); }
.zone__aside {
  position: relative; flex: 1 1 300px; min-width: 0; padding: clamp(26px, 3vw, 40px); background: var(--panel);
  display: flex; flex-direction: column; gap: 28px;
}
.zone__title { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 300; letter-spacing: -.015em; }
.depts {
  list-style: none; margin: 12px 0 0; padding: 0; display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; font-size: 14px;
}
.depts li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(241,238,232,.1); }
.depts__code { min-width: 22px; font-family: var(--mono); font-size: 12px; color: rgba(241,238,232,.5); }
.depts__code--home { color: var(--rose); }
.zone__more { margin: auto 0 0; font-size: 14px; line-height: 1.6; color: rgba(241,238,232,.7); }

/* --- Tableau V : questions ------------------------------------------------ */

.faq { margin-top: 48px; columns: 2 380px; column-gap: 64px; }
.faq__item { break-inside: avoid; padding: 24px 0 30px; border-top: 1px solid rgba(241,238,232,.14); }
.faq__n { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--rose); }
.faq__q {
  margin: 10px 0 0; font-family: var(--serif); font-weight: 400; font-size: 24px;
  line-height: 1.25; letter-spacing: -.01em; text-wrap: balance;
}
.faq__a { margin: 12px 0 0; font-size: 15px; line-height: 1.7; color: rgba(241,238,232,.72); text-wrap: pretty; }

/* --- Bouquet final : contact ---------------------------------------------- */

.contact {
  overflow: hidden;
  background:
    radial-gradient(46% 38% at 72% 50%, rgba(255,129,141,.15), transparent 70%),
    radial-gradient(40% 36% at 14% 56%, rgba(120,74,160,.3), transparent 70%);
}
.contact__trails {
  position: absolute; left: 0; top: 8%; width: 100%; height: 56%; pointer-events: none;
  filter: drop-shadow(0 0 5px rgba(255,200,190,.6));
}
.contact__blooms { position: absolute; inset: 0; pointer-events: none; }
.contact__inner { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; }
.contact__row {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 56px clamp(40px, 6vw, 96px); margin-top: 48px;
}
.contact__pitch { flex: 1.2 1 480px; min-width: 0; }
.contact__title {
  margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(60px, 9vw, 146px);
  line-height: .9; letter-spacing: -.045em; color: var(--cream);
}
.contact__title span {
  display: block; font-style: italic; padding-right: .06em;
  background: var(--oui); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.contact__pitch p {
  margin: 32px 0 0; max-width: 30em; font-size: 17px; line-height: 1.7;
  color: rgba(241,238,232,.78); text-wrap: pretty;
}
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

.card {
  flex: 1 1 380px; min-width: 0; max-width: 480px; padding: 12px;
  background: var(--cream); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0,0,0,.85);
}
.card__inner {
  border: 1px solid rgba(21,18,31,.34); outline: 1px solid rgba(21,18,31,.16); outline-offset: -7px;
  padding: clamp(26px, 3vw, 40px);
}
.card__mark {
  display: block; width: 38px; height: 38px; margin: 0 auto; border-radius: 50%;
  background: repeating-conic-gradient(var(--plum) 0deg 3deg, transparent 3deg 20deg);
  -webkit-mask-image: radial-gradient(circle closest-side, transparent 26%, #000 34%, #000 80%, transparent 100%);
          mask-image: radial-gradient(circle closest-side, transparent 26%, #000 34%, #000 80%, transparent 100%);
}
.card__kicker { margin: 14px 0 22px; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--ink-mute); }
.card__row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px;
  padding: 18px 0; border-top: 1px solid rgba(21,18,31,.16); color: var(--ink); transition: color .3s;
}
.card__row:last-of-type { border-bottom: 1px solid rgba(21,18,31,.16); }
.card__row:hover { color: var(--plum); }
.card__label { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); }
.card__value { font-family: var(--serif); font-size: 26px; letter-spacing: -.01em; }
.card__value--tel { font-variant-numeric: lining-nums; }
.card__value--mail { font-size: 23px; }
.card__sign { margin: 20px 0 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink-soft); }

/* Lignes de la carte avec bouton « Copier » (page Contact) */
.card__line { display: flex; align-items: center; gap: 14px; border-top: 1px solid rgba(21,18,31,.16); }
.card__line:last-of-type { border-bottom: 1px solid rgba(21,18,31,.16); }
.card__line .card__row { flex: 1; min-width: 0; border: 0; }
.copy {
  flex: none; padding: 5px 9px; border: 1px solid rgba(21,18,31,.22); background: transparent;
  color: var(--ink-mute); font-family: var(--mono); font-size: 11px; line-height: 1.4; cursor: pointer;
  transition: color .25s, border-color .25s, background-color .25s;
}
.copy:hover { color: var(--plum); border-color: rgba(176,61,135,.5); }
.copy.is-done { color: #FFFFFF; background: var(--plum); border-color: var(--plum); }

.site-footer {
  position: relative; z-index: 2; max-width: 1240px; margin: clamp(96px, 11vw, 150px) auto 0;
  padding: 48px 0 32px; border-top: 1px solid rgba(241,238,232,.14);
}
.site-footer__kicker { margin: 0; text-align: center; font-family: var(--mono); font-size: 12px; color: rgba(241,238,232,.5); }
.credits {
  margin: 26px auto 0; max-width: 620px; display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 28px;
}
.credits dt { text-align: right; padding-top: 5px; font-family: var(--mono); font-size: 12px; color: rgba(241,238,232,.5); }
.credits dd { margin: 0; font-family: var(--serif); font-size: 19px; }
.site-footer__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 56px;
  font-family: var(--mono); font-size: 12px; color: rgba(241,238,232,.5);
}
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer__links a { color: rgba(241,238,232,.7); transition: color .3s; }
.site-footer__links a:hover { color: var(--rose); }

/* --- Pages intérieures (Contact, Devis) ----------------------------------- */

.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(128px, 15vw, 184px) var(--gutter) clamp(56px, 7vw, 96px);
  background:
    radial-gradient(48% 70% at 86% 8%, rgba(255,129,141,.16), transparent 70%),
    radial-gradient(46% 80% at 6% 0%, rgba(120,74,160,.36), transparent 70%),
    linear-gradient(180deg, #130F24, var(--night));
}
.page-hero__trails {
  position: absolute; left: 0; top: 4%; width: 100%; height: 84%;
  pointer-events: none; overflow: visible; filter: drop-shadow(0 0 5px rgba(255,200,190,.6));
}
.page-hero__inner { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; }
.page-hero__title {
  margin: clamp(36px, 5vw, 56px) 0 0; font-family: var(--serif); font-weight: 300;
  font-size: clamp(56px, 10vw, 150px); line-height: .9; letter-spacing: -.045em;
}
.page-hero__title em {
  font-style: italic; padding-right: .06em;
  background: var(--oui); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero__lead {
  margin: 32px 0 0; max-width: 36em; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.7;
  color: rgba(241,238,232,.78); text-wrap: pretty;
}

.page-footer { padding: 0 var(--gutter); }
.page-footer .site-footer { margin-top: 0; }

.panel { position: relative; padding: clamp(28px, 3.4vw, 48px); background: var(--panel); box-shadow: 0 0 0 1px rgba(241,238,232,.12); }
.panel__title { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3.2vw, 46px); line-height: 1; letter-spacing: -.03em; }
.panel__lead { margin: 14px 0 0; font-size: 15px; line-height: 1.7; color: rgba(241,238,232,.66); }

.facts { margin: 16px 0 0; }
.facts div {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 32px;
  padding: 12px 0; border-top: 1px solid rgba(241,238,232,.1);
}
.facts div:last-child { border-bottom: 1px solid rgba(241,238,232,.1); }
.facts dt { flex: 0 0 210px; font-family: var(--mono); font-size: 12px; color: rgba(241,238,232,.55); }
.facts dd { flex: 1 1 300px; margin: 0; font-size: 16px; line-height: 1.6; }
.facts--compact div { gap: 4px 20px; }
.facts--compact dt { flex-basis: 80px; }
.facts--compact dd { flex-basis: 220px; font-size: 15px; }

.contact-page { --pt: clamp(24px, 3vw, 40px); --pb: clamp(80px, 9vw, 120px); }
.contact-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px clamp(40px, 6vw, 96px); }
.contact-side { flex: 1 1 380px; max-width: 480px; min-width: 0; }
.contact-side .facts { margin-top: 40px; }
.contact-main { flex: 1.3 1 480px; min-width: 0; }
.contact-main .form { margin-top: 8px; }

/* Bandeau vers la page Devis */
.cta-band {
  position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 12px 32px; margin-top: clamp(64px, 8vw, 104px);
  padding: clamp(28px, 4vw, 52px);
  background: radial-gradient(60% 140% at 100% 0%, rgba(120,74,160,.32), transparent 70%), var(--panel);
  box-shadow: 0 0 0 1px rgba(241,238,232,.12); color: var(--cream);
}
.cta-band:hover { color: var(--cream); }
.cta-band__kicker { position: relative; flex-basis: 100%; font-family: var(--mono); font-size: 12px; color: var(--rose); }
.cta-band__title {
  position: relative; font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1; letter-spacing: -.035em; transition: transform .6s var(--ease);
}
.cta-band__go {
  position: relative; display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(241,238,232,.32);
  transition: background-color .4s, color .4s, box-shadow .4s, transform .6s var(--ease);
}
.cta-band:hover .cta-band__title { transform: translateX(10px); }
.cta-band:hover .cta-band__go { background: var(--cream); color: var(--night); box-shadow: none; transform: translateX(-4px); }

/* --- Formulaires ---------------------------------------------------------- */

.form__part { margin: 0; padding: 0; border: 0; min-width: 0; }
.form__part + .form__part { margin-top: clamp(48px, 6vw, 72px); }
.form__legend {
  display: block; width: 100%; padding: 0 0 14px; border-bottom: 1px solid rgba(241,238,232,.16);
  font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -.025em;
}
.form__num { margin-right: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: var(--rose); }

.fields {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 28px 32px; margin-top: 28px;
}
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label, .choices__legend { padding: 0; font-family: var(--mono); font-size: 12px; color: rgba(241,238,232,.62); transition: color .3s; }
.field__opt { margin-left: 6px; color: rgba(241,238,232,.36); }
.field__box { position: relative; margin-top: 6px; }
/* Le trait rose se dessine sous le champ actif. */
.field__box::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rose);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); pointer-events: none;
}
.field__box:focus-within::after { transform: none; }
.field:focus-within .field__label { color: var(--rose); }
.field__control {
  display: block; width: 100%; box-sizing: border-box; margin: 0; padding: 10px 0 12px;
  background: transparent; border: 0; border-bottom: 1px solid rgba(241,238,232,.24); border-radius: 0;
  color: var(--cream); font: 300 17px/1.45 var(--sans); color-scheme: dark; outline: none;
  transition: border-color .3s;
}
.field__control:hover { border-bottom-color: rgba(241,238,232,.42); }
.field__control::placeholder, .field__control.is-empty:not(:focus) { color: rgba(241,238,232,.32); }
.field__control--area { min-height: 132px; resize: vertical; }
.field__control[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.field__control[type="number"]::-webkit-inner-spin-button,
.field__control[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.field__control:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--night) inset; -webkit-text-fill-color: var(--cream); caret-color: var(--cream);
}
.field__box--select .field__control { -webkit-appearance: none; appearance: none; padding-right: 28px; cursor: pointer; }
.field__box--select::before {
  content: ""; position: absolute; right: 4px; top: 50%; width: 7px; height: 7px; margin-top: -6px;
  border-right: 1px solid rgba(241,238,232,.6); border-bottom: 1px solid rgba(241,238,232,.6);
  transform: rotate(45deg); pointer-events: none;
}
.field__control option { background: var(--ink); color: var(--cream); }
.field__hint { margin: 8px 0 0; font-size: 13px; line-height: 1.55; color: rgba(241,238,232,.5); }
.field__hint.is-warn { color: var(--gold); }
.field__hint.is-ok { color: rgba(241,238,232,.72); }
.countdown { font-family: var(--mono); font-size: 12px; color: var(--rose); }
.field__error { margin: 8px 0 0; font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--coral); }
.field__error:empty { display: none; }
.is-invalid .field__control { border-bottom-color: var(--coral); }
.is-invalid .field__label, .is-invalid .choices__legend { color: var(--coral); }

/* Choix en « pastilles » : la pastille s’allume comme une étincelle. */
.choices { margin: 28px 0 0; padding: 0; border: 0; min-width: 0; }
.choices__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.choices .field__hint { margin-top: 12px; }
.chip-option { position: relative; display: inline-flex; }
.chip-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip-option > span {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px;
  box-shadow: inset 0 0 0 1px rgba(241,238,232,.18); color: rgba(241,238,232,.84);
  font-size: 15px; line-height: 1.3; transition: box-shadow .3s, background-color .3s, color .3s;
}
.chip-option > span::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(241,238,232,.4); transition: background-color .3s, box-shadow .3s;
}
.chip-option small { font-size: 12px; color: rgba(241,238,232,.5); }
.chip-option:hover > span { box-shadow: inset 0 0 0 1px rgba(255,178,175,.5); color: var(--cream); }
.chip-option input:checked + span { box-shadow: inset 0 0 0 1px var(--rose); background: rgba(255,178,175,.08); color: var(--cream); }
.chip-option input:checked + span::before {
  background: var(--spark); box-shadow: 0 0 0 3px rgba(255,129,141,.22), 0 0 10px 2px rgba(255,170,120,.6);
  animation: ignite .5s ease-out both;
}
.chip-option input:focus-visible + span { outline: 1px solid var(--rose); outline-offset: 3px; }
.is-invalid .chip-option > span { box-shadow: inset 0 0 0 1px rgba(255,129,141,.45); }

.form__submit {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px;
  margin-top: clamp(40px, 5vw, 56px); padding-top: 28px; border-top: 1px solid rgba(241,238,232,.16);
}
.form__legal { flex: 1 1 240px; margin: 0; font-size: 13px; line-height: 1.6; color: rgba(241,238,232,.55); }
.form__status { flex-basis: 100%; margin: 0; font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--coral); }
.form__status:empty { display: none; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Confirmation après l’envoi */
.form-done { min-width: 0; scroll-margin-top: 96px; }
.form-done:focus { outline: none; }
.form-done__burst { position: relative; width: 112px; height: 112px; margin: 0 0 28px -16px; }
.form-done__title {
  margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 5vw, 72px);
  line-height: .98; letter-spacing: -.04em; text-wrap: balance;
}
.form-done__text { margin: 20px 0 0; max-width: 34em; font-size: 16px; line-height: 1.7; color: rgba(241,238,232,.75); text-wrap: pretty; }
.form-done__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.form-done[data-mode="sent"] [data-when="mail"],
.form-done[data-mode="mail"] [data-when="sent"] { display: none; }

/* --- Page Devis ----------------------------------------------------------- */

.quote { --pt: clamp(24px, 3vw, 40px); --pb: clamp(80px, 9vw, 120px); }
.quote-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 64px clamp(40px, 6vw, 96px); }
.quote-form, .quote-grid > .form-done { flex: 2 1 560px; min-width: 0; }
.quote-aside {
  position: sticky; top: 96px; flex: 1 1 300px; min-width: 0; padding: clamp(26px, 3vw, 40px);
  background: var(--panel); box-shadow: 0 0 0 1px rgba(241,238,232,.12);
}
.quote-aside__title { margin: 0; font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; }
.steps { list-style: none; margin: 20px 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0 12px; padding: 14px 0; border-top: 1px solid rgba(241,238,232,.1); }
.steps__n { padding-top: 4px; font-family: var(--mono); font-size: 12px; color: var(--rose); }
.steps__name { margin: 0; font-size: 16px; font-weight: 400; }
.steps__text { margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: rgba(241,238,232,.64); }
.quote-aside__note { margin-top: 8px; padding-top: 16px; border-top: 1px solid rgba(241,238,232,.1); }
.quote-aside__label { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--gold); }
.quote-aside__note p + p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: rgba(241,238,232,.72); }
.quote-aside__call {
  position: relative; display: flex; flex-direction: column; gap: 4px; margin-top: 24px; padding: 18px 20px;
  background: rgba(241,238,232,.04); box-shadow: inset 0 0 0 1px rgba(241,238,232,.12); color: var(--cream);
  transition: box-shadow .3s, background-color .3s;
}
.quote-aside__call:hover { color: var(--cream); background: rgba(255,178,175,.07); box-shadow: inset 0 0 0 1px rgba(255,178,175,.45); }
.quote-aside__call span:first-child { font-family: var(--mono); font-size: 12px; color: rgba(241,238,232,.6); }
.quote-aside__tel { font-family: var(--serif); font-size: 28px; letter-spacing: -.01em; font-variant-numeric: lining-nums; }
@media (max-width: 960px) { .quote-aside { position: relative; top: auto; } }

/* --- Page « Mentions légales » -------------------------------------------- */

.legal { padding: clamp(120px, 14vw, 180px) var(--gutter) clamp(80px, 9vw, 120px); }
.legal__wrap { max-width: 860px; margin: 0 auto; }
.legal__title { margin-top: 40px; max-width: 12em; text-wrap: balance; }
.legal__updated { margin: 24px 0 0; font-family: var(--mono); font-size: 12px; color: rgba(241,238,232,.55); }
.legal__part { margin-top: clamp(64px, 8vw, 96px); scroll-margin-top: 96px; }
.legal__part > h2 {
  margin: 0; padding-bottom: 14px; border-bottom: 1px solid rgba(241,238,232,.16);
  font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 3.6vw, 54px); line-height: 1; letter-spacing: -.03em;
}
.legal h3 { margin: 36px 0 0; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.25; letter-spacing: -.01em; }
.legal p { margin: 12px 0 0; font-size: 16px; line-height: 1.7; color: rgba(241,238,232,.72); text-wrap: pretty; }
.todo {
  padding: 1px 6px; background: rgba(255,178,175,.14); color: var(--rose);
  box-shadow: inset 0 0 0 1px rgba(255,178,175,.4); font-family: var(--mono); font-size: .8em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.legal .site-footer { margin-top: clamp(80px, 9vw, 120px); padding-bottom: 0; }

/* --- Apparitions au défilement ---------------------------------------------
   La classe .anim n’est posée que si le JavaScript tourne et que l’appareil
   accepte les animations : sinon, tout reste visible et immobile. */

.anim [data-reveal] {
  opacity: 0; transform: translate3d(0, 24px, 0);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.anim [data-reveal].is-in { opacity: 1; transform: none; }

/* La ligne des « Tableaux » se trace comme une mèche, étincelle en tête. */
.anim .tableau[data-reveal] { border-bottom-color: transparent; }
.anim .tableau[data-reveal]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: rgba(241,238,232,.16);
  transform: scaleX(0); transform-origin: left; transition: transform 1.3s cubic-bezier(.6, .1, .2, 1) .15s;
}
.anim .section--light .tableau[data-reveal]::after { background: rgba(21,18,31,.2); }
.anim .tableau[data-reveal].is-in::after { transform: none; }
.anim .tableau[data-reveal]::before {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 5px; height: 5px; margin-left: -2px;
  border-radius: 50%; background: var(--spark); opacity: 0;
  box-shadow: 0 0 0 2px rgba(255,129,141,.22), 0 0 12px 3px rgba(255,170,120,.7);
}
.anim .tableau[data-reveal].is-in:not(.is-instant)::before { animation: fuse-run 1.3s cubic-bezier(.6, .1, .2, 1) .15s both; }

/* Les photos apparaissent en fondu une fois chargées. */
.anim .photo > img { opacity: 0; transition: opacity .9s ease; }
.anim .photo > img.is-loaded { opacity: 1; }
.anim .photo[data-drift] > img { scale: 1.07; }

/* Halo qui suit le curseur sur les panneaux sombres. */
[data-glow]::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255,190,170,.15), transparent 70%);
  mix-blend-mode: screen; opacity: 0; transition: opacity .6s ease;
}
[data-glow].is-lit::after { opacity: 1; }

.anim .form-done__burst { animation: bloom-in 1.6s var(--ease) both; }

@keyframes fuse-run {
  0% { left: 0; opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@keyframes ignite {
  0% { transform: scale(.3); }
  60% { transform: scale(1.4); }
  100% { transform: none; }
}
@keyframes bloom-in {
  from { opacity: 0; transform: scale(.35) rotate(-24deg); }
  to { opacity: 1; transform: none; }
}

/* --- Transitions entre les pages (navigateurs compatibles) ---------------- */

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .4s; }

/* À l’impression, tout s’affiche, même ce qui n’a pas encore défilé. */
@media print {
  .anim [data-reveal], .anim .photo > img { opacity: 1 !important; transform: none !important; }
  .anim .tableau[data-reveal] { border-bottom-color: rgba(241,238,232,.16); }
}

/* --- Préférence « animations réduites » ----------------------------------- */

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