/* Hermine Nuisibles : feuille de style
   Bleu nuit, ivoire, or. Montserrat pour tout ce qui parle, JetBrains Mono
   pour ce qui se mesure (heures, prix, étiquettes de chantier).
   Signature : la lampe du technicien qui fouille l'immeuble dans le noir. */

/* Polices hébergées sur le site (plus rapide, et aucune donnée envoyée à Google). */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/montserrat-latin.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2"); }

@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  --nuit: #10223a;
  --nuit-2: #18304f;
  --abysse: #081322;
  --ivoire: #f6f3ec;
  --ivoire-2: #ede7da;
  --blanc: #fffdf9;
  --or: #b8925a;
  --or-clair: #e0c08d;
  --or-texte: #7d5f33;
  --encre: #141c28;
  --gris: #5b6474;
  --ardoise: #9aa6b8;
  --rouge: #b0402c;
  --ligne: rgba(16, 34, 58, .1);
  --ligne-sombre: rgba(246, 243, 236, .1);
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --largeur: 1240px;
  --marge: clamp(8px, 1.1vw, 16px);
  --r-xl: clamp(26px, 3vw, 40px);
  --r-l: 22px;
  --r-m: 14px;
  interpolate-size: allow-keywords;
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .28s var(--ease) both vt-sortie; }
::view-transition-new(root) { animation: .45s var(--ease) both vt-entree; }
@keyframes vt-sortie { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-entree { from { opacity: 0; transform: translateY(12px); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--encre);
  background: var(--ivoire); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0 0 1rem; font-weight: 800; color: var(--nuit); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 5.2rem); line-height: .98; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.3vw, 3.4rem); line-height: 1.02; letter-spacing: -.03em; }
h3 { font-size: 1.22rem; line-height: 1.25; letter-spacing: -.01em; }
strong, b { font-weight: 700; }
::selection { background: var(--or); color: var(--nuit); }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.container-narrow { max-width: 880px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--or); color: var(--nuit); padding: .6rem 1rem; border-radius: 999px; font-weight: 700; }
.skip:focus { left: 12px; }

/* ------------------------------------------------------------ boutons */
.btn {
  --fond: var(--nuit); --texte: var(--ivoire);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: .95rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--fond); color: var(--texte); font: 700 1rem/1.15 var(--sans); text-decoration: none;
  cursor: pointer; white-space: nowrap; transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .35s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-110%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(110%) skewX(-18deg); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn .ico-fleche { transition: transform .4s var(--ease); }
.btn:hover .ico-fleche { transform: translateX(4px); }
.btn-lg { padding: 1.1rem 1.8rem; font-size: 1.04rem; }
.btn-sm { padding: .62rem 1.05rem; font-size: .92rem; gap: .45rem; }
.btn-block { width: 100%; }
.btn-primary { box-shadow: 0 10px 30px -10px rgba(16, 34, 58, .55); }
.btn-ghost { --fond: transparent; --texte: var(--nuit); border-color: rgba(16, 34, 58, .28); }
.btn-ghost:hover { --fond: var(--nuit); --texte: var(--ivoire); border-color: var(--nuit); }
/* Sur fond sombre, l'action principale passe à l'or */
.page-hero .btn-primary, .section-dark .btn-primary, .cta-band .btn-primary, .offre .btn-primary,
.section-devis .btn-primary, .site-header .btn-primary, .main-nav .btn-primary {
  --fond: var(--or); --texte: var(--abysse); box-shadow: 0 12px 34px -12px rgba(224, 192, 141, .65);
}
.page-hero .btn-primary:hover, .section-dark .btn-primary:hover, .cta-band .btn-primary:hover, .offre .btn-primary:hover,
.section-devis .btn-primary:hover, .site-header .btn-primary:hover, .main-nav .btn-primary:hover { --fond: var(--or-clair); }
.page-hero .btn-ghost, .section-dark .btn-ghost, .cta-band .btn-ghost, .offre .btn-ghost, .main-nav .btn-ghost { --texte: var(--ivoire); border-color: rgba(246, 243, 236, .3); }
.page-hero .btn-ghost:hover, .section-dark .btn-ghost:hover, .cta-band .btn-ghost:hover, .offre .btn-ghost:hover, .main-nav .btn-ghost:hover { --fond: var(--ivoire); --texte: var(--nuit); border-color: var(--ivoire); }

/* ------------------------------------------------------------ étiquettes */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.1rem;
  font: 600 .74rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--or-texte);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.page-hero .eyebrow, .section-dark .eyebrow, .cta-band .eyebrow, .section-devis .eyebrow, .offre .eyebrow { color: var(--or-clair); }

/* ------------------------------------------------------------ en-tête flottant */
.site-header {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 90; padding: 0 var(--marge);
  transition: transform .5s var(--ease);
}
.site-header.cache { transform: translateY(-140%); }
.header-pill {
  max-width: calc(var(--largeur) - 20px); margin: 0 auto; display: flex; align-items: center; gap: 1rem;
  padding: .5rem .55rem .5rem 1rem; border-radius: 999px; color: var(--ivoire);
  background: rgba(8, 19, 34, .52); border: 1px solid rgba(246, 243, 236, .1);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  transition: background .4s, box-shadow .4s;
}
.site-header.defile .header-pill { background: rgba(8, 19, 34, .82); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .5); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(246, 243, 236, .2); }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-size: 1.12rem; font-weight: 800; letter-spacing: .05em; color: var(--ivoire); }
.brand-name span { margin-top: .28rem; font-size: .55rem; font-weight: 700; letter-spacing: .5em; color: var(--or-clair); }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li:not(.nav-mobile-cta) > a, .nav-drop > button {
  display: block; padding: .6rem .9rem; border: 0; border-radius: 999px; background: none; color: rgba(246, 243, 236, .86);
  font: 600 .93rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .25s, color .25s;
}
.main-nav > ul > li:not(.nav-mobile-cta) > a:hover, .nav-drop > button:hover, .nav-drop.open > button { background: rgba(246, 243, 236, .08); color: var(--ivoire); }
.main-nav > ul > li:not(.nav-mobile-cta) > a[aria-current="page"] { color: var(--or-clair); }
.nav-drop { position: relative; }
.nav-drop > button::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: .5rem; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease);
}
.nav-drop.open > button::after { transform: translateY(0) rotate(-135deg); }
.nav-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 0; min-width: 270px; padding: .5rem;
  background: rgba(8, 19, 34, .94); border: 1px solid var(--ligne-sombre); border-radius: 20px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top center; transition: .35s var(--ease);
}
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-menu ul { list-style: none; margin: 0; padding: 0; }
.nav-menu a { display: block; padding: .62rem .9rem; border-radius: 12px; color: rgba(246, 243, 236, .85); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .2s, color .2s, padding .3s var(--ease); }
.nav-menu a:hover { background: rgba(246, 243, 236, .07); color: var(--or-clair); padding-left: 1.15rem; }
.nav-drop.open .nav-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 981px) { .nav-drop:hover .nav-menu { opacity: 1; visibility: visible; transform: none; } }
.header-actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.header-tel { display: flex; align-items: center; gap: .45rem; padding: .5rem .7rem; font-weight: 700; font-size: .93rem; color: var(--ivoire); text-decoration: none; white-space: nowrap; }
.header-tel svg { width: 17px; height: 17px; color: var(--or-clair); }
.nav-toggle { display: none; width: 46px; height: 46px; margin-left: auto; border: 0; border-radius: 50%; background: var(--or); cursor: pointer; padding: 0; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; margin: 0 auto; background: var(--abysse); position: relative; transition: .35s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
.nav-mobile-cta { display: none !important; }

@media (max-width: 1120px) { .header-tel span { display: none; } }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .header-actions { display: none; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; margin: 0; padding: 104px 24px 120px; overflow-y: auto;
    background: var(--abysse); clip-path: circle(0 at calc(100% - 44px) 40px); transition: clip-path .7s var(--ease), visibility 0s .7s; visibility: hidden;
  }
  .nav-open .main-nav { clip-path: circle(150% at calc(100% - 44px) 40px); visibility: visible; transition: clip-path .7s var(--ease); }
  /* Le flou du bandeau enferme le menu fixe dans la pastille : on le coupe quand le menu est ouvert. */
  .nav-open .header-pill { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--ligne-sombre); }
  .main-nav > ul > li:not(.nav-mobile-cta) > a, .nav-drop > button { width: 100%; text-align: left; padding: 1.1rem .2rem; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; border-radius: 0; color: var(--ivoire); }
  .main-nav > ul > li:not(.nav-mobile-cta) > a:hover, .nav-drop > button:hover, .nav-drop.open > button { background: none; }
  .nav-drop > button::after { display: none; }
  .nav-menu { position: static; translate: none; min-width: 0; opacity: 1; visibility: inherit; transform: none; background: none; border: 0; box-shadow: none; padding: 0 0 1rem; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-menu ul { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem .6rem; }
  .nav-menu a { padding: .45rem 0; font-size: 1rem; }
  .nav-mobile-cta { display: grid !important; gap: .7rem; margin-top: 1.8rem; border: 0 !important; }
  .site-header { top: 10px; }
  .header-pill { padding: .42rem .42rem .42rem .8rem; }
}

/* ------------------------------------------------------------ hero */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--ivoire);
  padding: clamp(8rem, 14vw, 10.5rem) 0 clamp(4rem, 7vw, 6.5rem);
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(24, 48, 79, .95), transparent 70%),
    radial-gradient(700px 400px at 8% 100%, rgba(184, 146, 90, .1), transparent 70%),
    var(--abysse);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.page-hero h1 { color: var(--ivoire); }
.page-hero:not(.hero-home) h1 { font-size: clamp(2.2rem, 4.3vw, 3.9rem); line-height: 1.02; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.hero-text { max-width: 680px; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.22rem); line-height: 1.65; color: rgba(246, 243, 236, .74); margin: 1.4rem 0 2rem; max-width: 600px; }
.hero-points { list-style: none; margin: -.6rem 0 2.1rem; padding: 0; display: grid; gap: .55rem; }
.hero-points li { position: relative; padding-left: 1.8rem; font-weight: 600; color: rgba(246, 243, 236, .9); }
.hero-points li::before { content: ""; position: absolute; left: 0; top: .78em; width: .95rem; height: 2px; background: var(--or); box-shadow: 0 0 12px var(--or); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.crumbs { margin-bottom: 1.6rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; font: 500 .78rem/1.2 var(--mono); color: var(--ardoise); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--or); }
.crumbs a { color: var(--ardoise); text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--or-clair); }

.hero-photo { margin: 0; position: relative; }
.hero-photo-in { position: relative; overflow: hidden; border-radius: 30px; aspect-ratio: 4 / 4.2; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.hero-photo-in::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(246, 243, 236, .14); background: linear-gradient(180deg, transparent 55%, rgba(8, 19, 34, .55)); pointer-events: none; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::before {
  content: ""; position: absolute; width: 140px; height: 140px; right: -26px; top: -26px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(224, 192, 141, .55), transparent 70%); filter: blur(10px);
}
html.js .hero-photo-in { clip-path: inset(100% 0 0 0 round 30px); transition: clip-path 1.1s var(--ease); }
html.js .hero-photo-in img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
html.js .charge .hero-photo-in { clip-path: inset(0 0 0 0 round 30px); }
html.js .charge .hero-photo-in img { transform: scale(1.02); }

/* Accueil : titre en deux temps + lampe torche */
.hero-home { min-height: 100svh; display: flex; align-items: center; }
.hero-home .hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); width: 100%; }
.hero-home .torche { margin-top: 1rem; }
.h1-kicker { display: block; margin-bottom: 1.2rem; font-size: clamp(.95rem, 1.3vw, 1.08rem); font-weight: 600; line-height: 1.45; letter-spacing: 0; color: var(--ardoise); max-width: 460px; }
.h1-punch { display: block; }
.hero-home h1 { font-size: clamp(2.4rem, 4.4vw, 4.3rem); }
.hero-home .lead { margin: 1.2rem 0 1.8rem; }
.h1-punch em, .cta-titre em, .gold {
  font-style: normal; background: linear-gradient(100deg, var(--or) 0%, var(--or-clair) 45%, var(--or) 90%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: reflet 7s ease-in-out infinite;
}
@keyframes reflet { 50% { background-position: 100% 0; } }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; list-style: none; margin: 2.4rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid var(--ligne-sombre); font: 500 .8rem/1.3 var(--mono); color: var(--ardoise); }
.hero-meta b { color: var(--ivoire); font-weight: 600; margin-right: .3rem; }

.torche { position: relative; aspect-ratio: 640 / 560; width: 100%; touch-action: pan-y; cursor: none; user-select: none; -webkit-user-select: none; }
.torche svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.torche .traits { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.maison-base .traits { stroke: rgba(246, 243, 236, .22); stroke-width: 1.4; }
.maison-lit .traits { stroke: var(--or-clair); stroke-width: 1.7; }
.torche-lit {
  position: absolute; inset: 0;
  -webkit-mask-image: radial-gradient(circle var(--r, 150px) at var(--x, 60%) var(--y, 45%), #000 0%, #000 38%, transparent 74%);
  mask-image: radial-gradient(circle var(--r, 150px) at var(--x, 60%) var(--y, 45%), #000 0%, #000 38%, transparent 74%);
}
.torche-halo {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle calc(var(--r, 150px) * 1.5) at var(--x, 60%) var(--y, 45%), rgba(224, 192, 141, .2), transparent 70%);
}
.hp-point { fill: var(--or); }
.maison-base .hp-point { fill: rgba(224, 192, 141, .55); }
.hp-anneau { fill: none; stroke: var(--or); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: pouls 2.6s var(--ease) infinite; }
.maison-base .hp-anneau { stroke: rgba(224, 192, 141, .4); }
@keyframes pouls { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2.1); opacity: 0; } }
.hp-nom { font: 600 15px var(--mono); fill: var(--ivoire); }
.hp-ou { font: 500 12px var(--mono); fill: var(--or-clair); }
@media (max-width: 600px) { .hp-nom { font-size: 25px; } .hp-ou { font-size: 19px; } .maison-lit .traits { stroke-width: 2.4; } .hp-lbl { opacity: 0; transition: opacity .4s; } .hp-lbl.proche { opacity: 1; } }
.torche-aide { position: absolute; left: 0; right: 0; bottom: -2.2rem; margin: 0; text-align: center; font: 500 .74rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ardoise); }
.aide-tactile { display: none; }
@media (hover: none) { .aide-souris { display: none; } .aide-tactile { display: inline; } .torche { cursor: auto; } }

/* ------------------------------------------------------------ sections */
.section { position: relative; padding: clamp(5rem, 10vw, 8.5rem) 0; }
.section-alt { background: var(--ivoire-2); }
.section-dark, .cta-band, .section-devis {
  margin: var(--marge); border-radius: var(--r-xl); background: var(--nuit); color: rgba(246, 243, 236, .86);
}
.section-dark h2, .section-dark h3 { color: var(--ivoire); }
.section-dark a:not(.btn):not(.pest-row):not(.ville) { color: var(--or-clair); }
.section-head { max-width: 780px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2:last-child { margin-bottom: 0; }
.section-head.split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1.5rem 4rem; align-items: end; }
.section-head.split h2 { margin: 0; }
.section-head.split .section-intro { margin: 0; }
.section-intro { font-size: 1.1rem; line-height: 1.65; color: var(--gris); max-width: 640px; }
.section-dark .section-intro { color: var(--ardoise); }
@media (max-width: 860px) { .section-head.split { grid-template-columns: minmax(0, 1fr); } }

.prose { max-width: 760px; }
.prose > h3 { margin-top: 2.2rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--or); }
.prose a, .callout a, .card a:not(.btn), .faq-a a, .table a, .steps a {
  color: var(--nuit); font-weight: 700; text-decoration: none;
  background: linear-gradient(var(--or), var(--or)) 0 100% / 100% 2px no-repeat; transition: background-size .35s var(--ease), color .2s;
}
.prose a:hover, .callout a:hover, .card a:not(.btn):hover, .faq-a a:hover, .table a:hover, .steps a:hover { background-size: 100% 100%; color: var(--abysse); }
.section-dark .prose { color: rgba(246, 243, 236, .84); }

.grid-2, .grid-3 { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prose + .grid-2, .prose + .grid-3, .prose + .steps, .prose + .table-wrap, .prose + .callout, .prose + .checklist,
.grid-2 + .prose, .grid-3 + .prose, .steps + .prose, .table-wrap + .prose, .callout + .prose,
.grid-2 + .callout, .grid-3 + .callout, .steps + .callout, .callout + .grid-2, .callout + .grid-3, .callout + .steps,
.table-wrap + .callout, .callout + .table-wrap, .grid-2 + .grid-2, .grid-3 + .grid-3, .checklist + .callout,
.section-head + .callout, .grid-2 + .steps, .steps + .grid-2, .grid-3 + .steps, .steps + .grid-3 { margin-top: 2.4rem; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } }

/* Cartes : un projecteur suit la souris */
.card {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r-l);
  padding: clamp(1.4rem, 2.4vw, 2rem); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(184, 146, 90, .16), transparent 60%);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(16, 34, 58, .35); border-color: rgba(184, 146, 90, .35); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: .55rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.section-dark .card { background: rgba(246, 243, 236, .04); border-color: var(--ligne-sombre); color: rgba(246, 243, 236, .8); }
.section-dark .card::before { background: radial-gradient(380px circle at var(--mx) var(--my), rgba(224, 192, 141, .14), transparent 60%); }

/* Étapes : une frise qui se remplit au défilement */
.steps { --p: 0; position: relative; list-style: none; counter-reset: etape; margin: 0; padding: 0; max-width: 820px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; border-radius: 2px; }
.steps::before { background: var(--ligne); }
.steps::after { background: linear-gradient(var(--or-clair), var(--or)); transform-origin: top; transform: scaleY(var(--p)); box-shadow: 0 0 14px rgba(184, 146, 90, .6); }
.steps li { counter-increment: etape; position: relative; padding: 0 0 2.6rem 4.6rem; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(etape, decimal-leading-zero); position: absolute; left: 0; top: 0; z-index: 1; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font: 600 .82rem var(--mono); color: var(--nuit); background: var(--ivoire); border: 1.5px solid var(--ligne);
  transition: background .5s var(--ease), color .5s, border-color .5s, box-shadow .5s;
}
.section-alt .steps li::before { background: var(--ivoire-2); }
.steps li.vu::before { background: var(--nuit); color: var(--or-clair); border-color: var(--nuit); box-shadow: 0 0 0 6px rgba(184, 146, 90, .16); }
.steps h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); padding-top: .55rem; margin-bottom: .5rem; }
.steps p { color: var(--gris); }
.steps p:last-child { margin-bottom: 0; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .75rem; }
.checklist li { position: relative; padding-left: 2.1rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--nuit) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.8' fill='none' stroke='%23e0c08d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 76% no-repeat;
}
.section-dark .checklist li::before { background-color: var(--or); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.8' fill='none' stroke='%23081322' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.callout {
  position: relative; max-width: 820px; padding: 1.4rem 1.6rem 1.4rem 4rem; border-radius: var(--r-l);
  background: var(--blanc); border: 1px solid rgba(184, 146, 90, .35);
}
.callout::before {
  content: "i"; position: absolute; left: 1.2rem; top: 1.3rem; width: 1.8rem; height: 1.8rem; border-radius: 50%;
  display: grid; place-items: center; font: 600 .9rem var(--mono); background: var(--or); color: var(--abysse);
}
.callout p:last-child { margin-bottom: 0; }
.callout-warn { border-color: rgba(176, 64, 44, .35); }
.callout-warn::before { content: "!"; background: var(--rouge); color: var(--blanc); }

.table-wrap { overflow-x: auto; border-radius: var(--r-l); border: 1px solid var(--ligne); background: var(--blanc); }
.table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .97rem; }
.table th, .table td { padding: 1.05rem 1.3rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ligne); }
.table th { font: 600 .74rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ardoise); background: var(--nuit); }
.table tbody tr { transition: background .25s; }
.table tbody tr:hover { background: rgba(184, 146, 90, .07); }
.table tr:last-child td { border-bottom: 0; }
.table td strong { font: 600 1.02rem var(--mono); color: var(--nuit); white-space: nowrap; }

/* ------------------------------------------------------------ liste des nuisibles */
.pest-list { border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.pest-row {
  position: relative; isolation: isolate; display: grid; align-items: center; gap: 1.5rem;
  grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.1fr) 110px 52px;
  padding: 1.5rem .6rem; text-decoration: none; color: inherit;
  border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}
.pest-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 16px; transform: scaleY(.4); opacity: 0;
  background: linear-gradient(90deg, rgba(184, 146, 90, .14), transparent 80%); transition: transform .5s var(--ease), opacity .4s;
}
.pest-row:hover::before, .pest-row:focus-visible::before { transform: none; opacity: 1; }
.pest-tag { font: 500 .72rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ardoise); }
.pest-name { font-size: clamp(1.7rem, 3.2vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; transition: transform .5s var(--ease), color .3s; }
.pest-row:hover .pest-name { transform: translateX(14px); color: var(--or-clair); }
.pest-desc { font-size: .95rem; line-height: 1.5; opacity: .7; }
.pest-price { font: 600 .9rem var(--mono); color: var(--or-clair); text-align: right; white-space: nowrap; }
.pest-go { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); transition: .45s var(--ease); }
.pest-go svg { width: 20px; height: 20px; transition: transform .45s var(--ease); }
.pest-row:hover .pest-go { background: var(--or); border-color: var(--or); color: var(--abysse); }
.pest-row:hover .pest-go svg { transform: rotate(-45deg); }
.pest-thumb { display: none; }
.section:not(.section-dark) .pest-tag { color: var(--gris); }
.section:not(.section-dark) .pest-price { color: var(--or-texte); }
.section:not(.section-dark) .pest-row:hover .pest-name { color: var(--or-texte); }
.pest-float {
  position: fixed; left: 0; top: 0; z-index: 70; width: 300px; aspect-ratio: 3 / 2; pointer-events: none;
  border-radius: 20px; overflow: hidden; opacity: 0; scale: .6; rotate: -6deg;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7); transition: opacity .35s var(--ease), scale .5s var(--ease), rotate .6s var(--ease);
}
.pest-float img { width: 100%; height: 100%; object-fit: cover; }
.pest-float.visible { opacity: 1; scale: 1; rotate: -3deg; }
@media (max-width: 900px) {
  .pest-row { grid-template-columns: 76px minmax(0, 1fr) 44px; gap: .3rem 1rem; padding: 1rem .2rem; }
  .pest-thumb { display: block; grid-row: 1 / span 4; width: 76px; height: 76px; border-radius: 16px; object-fit: cover; }
  .pest-tag { grid-column: 2; }
  .pest-name { grid-column: 2; font-size: 1.45rem; }
  .pest-desc { grid-column: 2; font-size: .88rem; }
  .pest-price { grid-column: 2; text-align: left; font-size: .8rem; }
  .pest-go { grid-column: 3; grid-row: 1 / span 4; width: 40px; height: 40px; }
  .pest-row:hover .pest-name { transform: none; }
}

/* ------------------------------------------------------------ histoires */
.story-tabs { display: inline-flex; flex-wrap: wrap; gap: .35rem; padding: .35rem; margin-bottom: 3rem; border-radius: 999px; background: var(--ivoire-2); border: 1px solid var(--ligne); }
.story-tabs button {
  padding: .75rem 1.2rem; border: 0; border-radius: 999px; background: none; color: var(--gris);
  font: 600 .93rem/1.2 var(--sans); cursor: pointer; transition: background .4s var(--ease), color .3s, box-shadow .4s;
}
.story-tabs button:hover { color: var(--nuit); }
.story-tabs button[aria-selected="true"] { background: var(--nuit); color: var(--ivoire); box-shadow: 0 10px 24px -12px rgba(16, 34, 58, .7); }
.story { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.story-panel {
  position: sticky; top: 110px; padding: 2rem; border-radius: 30px; overflow: hidden; isolation: isolate;
  background: var(--abysse); color: var(--ivoire); box-shadow: 0 40px 80px -40px rgba(8, 19, 34, .8);
}
.story-panel::before {
  content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -140px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 146, 90, .4), transparent 65%);
}
.story-lieu { margin: 0 0 2.2rem; font: 500 .74rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ardoise); }
.story-jour { margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--or-clair); }
.story-heure {
  margin: 0 0 2rem; font: 600 clamp(3.6rem, 7vw, 5.6rem)/1 var(--mono); letter-spacing: -.06em; color: var(--ivoire);
  font-variant-numeric: tabular-nums; transition: opacity .25s, transform .4s var(--ease), filter .3s;
}
.story-heure.tourne { opacity: 0; transform: translateY(-14px); filter: blur(4px); }
.story-phases { display: flex; justify-content: space-between; gap: .6rem; list-style: none; margin: 0 0 1rem; padding: 0; font: 500 .68rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(246, 243, 236, .35); }
.story-phases li { transition: color .4s; }
.story-phases li.on { color: var(--or-clair); }
.story-barre { height: 3px; border-radius: 3px; background: rgba(246, 243, 236, .1); overflow: hidden; }
.story-barre span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--or), var(--or-clair)); box-shadow: 0 0 12px var(--or); transition: width .8s var(--ease); }
.story-steps { list-style: none; margin: 0; padding: 0; }
.story-steps li {
  position: relative; min-height: 46vh; padding: 0 0 0 2.4rem; display: flex; flex-direction: column; justify-content: center;
  border-left: 2px solid var(--ligne); transition: border-color .6s, transform .6s var(--ease);
}
.story-steps li::before { content: attr(data-jour) " · " attr(data-heure); display: block; margin-bottom: .7rem; font: 600 .8rem var(--mono); color: var(--or-texte); letter-spacing: .06em; }
.story-steps li.actif { border-left-color: var(--or); transform: translateX(6px); }
.story-steps li:not(.actif) h3 { color: #7f8796; }
.story-steps li h3 { transition: color .6s; }
.story-steps h3 { font-size: clamp(1.5rem, 2.8vw, 2.3rem); letter-spacing: -.025em; line-height: 1.08; margin-bottom: .8rem; }
.story-steps p { font-size: 1.08rem; color: var(--gris); max-width: 520px; margin: 0; }
.story-steps.entre { animation: entre .7s var(--ease) both; }
@keyframes entre { from { opacity: 0; transform: translateY(30px); } }
.story-note { margin: 2.5rem 0 0; font: 500 .76rem/1.5 var(--mono); color: var(--gris); }
@media (max-width: 900px) {
  .story { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .story-panel { top: 76px; z-index: 5; padding: 1rem 1.2rem; border-radius: 20px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .2rem 1rem; }
  .story-lieu { grid-column: 1 / -1; margin: 0 0 .3rem; font-size: .66rem; }
  .story-jour { grid-column: 1; font-size: .9rem; }
  .story-heure { grid-column: 2; grid-row: 2 / span 1; justify-self: end; font-size: 2.2rem; margin: 0; }
  .story-phases { display: none; }
  .story-barre { grid-column: 1 / -1; margin-top: .6rem; }
  .story-steps li { min-height: 52vh; padding-left: 1.4rem; }
  .story-tabs { display: flex; border-radius: 22px; }
  .story-tabs button { flex: 1 1 auto; }
}

/* ------------------------------------------------------------ bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.bento .card { display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; }
.bento-xl { grid-column: span 2; grid-row: span 2; background: var(--nuit) !important; color: rgba(246, 243, 236, .8); border-color: transparent !important; }
.bento-xl h3 { color: var(--ivoire); font-size: 1.6rem; }
.bento-xl::after { content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(184, 146, 90, .45), transparent 65%); z-index: -1; }
.bento-xl::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(224, 192, 141, .16), transparent 60%); }
.bento-chiffre { margin: 0 0 auto; font: 600 clamp(6rem, 13vw, 10rem)/.9 var(--mono); letter-spacing: -.08em; color: var(--or-clair); }
.bento-l { grid-column: span 2; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bento { grid-template-columns: minmax(0, 1fr); } .bento-xl, .bento-l { grid-column: auto; grid-row: auto; } .bento .card { min-height: 0; } }

/* ------------------------------------------------------------ offre */
.offre { position: relative; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 1.5px; border-radius: 32px; isolation: isolate; overflow: hidden; }
.offre::before {
  content: ""; position: absolute; inset: -50%; z-index: -1;
  background: conic-gradient(from var(--angle), transparent 0 62%, var(--or) 75%, var(--or-clair) 80%, transparent 90%);
  animation: tour 6s linear infinite;
}
@keyframes tour { to { --angle: 360deg; } }
.offre-in {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: center;
  padding: clamp(1.8rem, 4vw, 3rem); border-radius: 31px; color: rgba(246, 243, 236, .82);
  background: radial-gradient(600px 300px at 0% 0%, rgba(184, 146, 90, .18), transparent 70%), var(--abysse);
}
.offre-sur { margin: 0 0 .8rem; font: 600 .74rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--or-clair); }
.offre-titre { margin: 0; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; line-height: .95; letter-spacing: -.03em; text-transform: uppercase; color: var(--ivoire); }
.offre-titre sup { color: var(--or); font-size: .5em; vertical-align: super; }
.offre-cond { margin: .9rem 0 0; font: 500 .82rem var(--mono); color: var(--ardoise); }
.offre-texte p { margin-bottom: 1.4rem; }
.offre-texte strong { color: var(--or-clair); }
.offre-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.offre-seule { padding: 0 0 clamp(1rem, 3vw, 2rem); }
.offre-seule .offre { margin-top: 0; }
@media (max-width: 800px) { .offre-in { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------ villes */
.villes { display: flex; gap: 1rem; }
.ville {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden; flex: 1 1 0; min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.8rem; border-radius: 26px; text-decoration: none; color: var(--ivoire);
  background: rgba(246, 243, 236, .04); border: 1px solid var(--ligne-sombre); transition: flex-grow .8s var(--ease), border-color .4s, background .4s;
}
.ville::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(400px circle at var(--mx) var(--my), rgba(184, 146, 90, .25), transparent 60%); }
.ville:hover { flex-grow: 1.6; border-color: rgba(224, 192, 141, .4); }
.ville:hover::before { opacity: 1; }
.ville-geo { position: absolute; top: 1.6rem; left: 1.8rem; font: 500 .72rem var(--mono); letter-spacing: .08em; color: var(--ardoise); }
.ville-geo::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: .6rem; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 5px rgba(184, 146, 90, .18); animation: balise 2.4s ease-in-out infinite; }
@keyframes balise { 50% { box-shadow: 0 0 0 9px rgba(184, 146, 90, 0); } }
.ville-nom { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin-bottom: .8rem; }
.ville-texte { font-size: .95rem; line-height: 1.5; color: var(--ardoise); max-width: 320px; }
.ville-go { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.4rem; font: 600 .78rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--or-clair); }
.ville-go svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.ville:hover .ville-go svg { transform: translateX(5px); }
.section:not(.section-dark) .ville { background: var(--nuit); }
@media (max-width: 800px) { .villes { flex-direction: column; } .ville { min-height: 0; } .ville:hover { flex-grow: 1; } }

/* ------------------------------------------------------------ pros */
.pro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.pro-card { padding: clamp(1.8rem, 3vw, 2.4rem); }
.pro-card .checklist { margin-bottom: 1.6rem; }
@media (max-width: 860px) { .pro-grid { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------ bandeau d'appel */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(4.5rem, 9vw, 7.5rem) 0; background: var(--abysse); color: var(--ivoire); text-align: center; }
.cta-faisceau {
  position: absolute; z-index: -1; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; left: 50%; top: 50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 192, 141, .22), transparent 62%); transform: translate(-50%, -50%);
  animation: balayage 11s ease-in-out infinite alternate;
}
@keyframes balayage { 0% { transform: translate(-110%, -55%); } 100% { transform: translate(10%, -45%); } }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-titre { margin: 0 0 2.4rem; font-size: clamp(2.2rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: -.035em; color: var(--ivoire); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }

/* ------------------------------------------------------------ FAQ */
.faq-list { display: grid; gap: .6rem; }
.faq-item { border-radius: 20px; background: var(--blanc); border: 1px solid var(--ligne); transition: border-color .4s, box-shadow .4s; }
.faq-item[open] { border-color: rgba(184, 146, 90, .45); box-shadow: 0 24px 50px -30px rgba(16, 34, 58, .35); }
.faq-item summary {
  position: relative; list-style: none; cursor: pointer; padding: 1.3rem 4.2rem 1.3rem 1.5rem;
  font-weight: 700; font-size: 1.06rem; line-height: 1.4; color: var(--nuit);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after {
  content: ""; position: absolute; right: 1.6rem; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: var(--or-texte); transition: transform .45s var(--ease);
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0); }
.faq-item[open] summary::before { transform: rotate(180deg); }
.faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
.faq-a { padding: 0 1.5rem 1.4rem; color: var(--gris); }
.faq-a p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ devis */
.section-devis { position: relative; overflow: hidden; isolation: isolate; padding: clamp(4.5rem, 9vw, 7rem) 0; background: var(--abysse); color: var(--ivoire); }
.devis-lueur { position: absolute; z-index: -1; width: 700px; height: 700px; left: -200px; bottom: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(184, 146, 90, .28), transparent 65%); animation: flotte 14s ease-in-out infinite alternate; }
@keyframes flotte { to { transform: translate(180px, -120px); } }
.devis-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.devis-intro h2 { color: var(--ivoire); }
.devis-intro > p { color: var(--ardoise); }
.devis-points { list-style: none; margin: 2.2rem 0 .6rem; padding: 0; border-top: 1px solid var(--ligne-sombre); }
.devis-points li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--ligne-sombre); }
.devis-points b { font: 600 1.35rem var(--mono); letter-spacing: -.04em; color: var(--or-clair); }
.devis-points span { color: rgba(246, 243, 236, .78); }
.devis-cond { font: 500 .76rem var(--mono); color: var(--ardoise); }
.devis-ou { margin: 2rem 0 .3rem; font-weight: 600; color: var(--ardoise); }
.devis-tel { display: inline-flex; align-items: center; gap: .7rem; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; color: var(--ivoire); text-decoration: none; transition: color .3s; }
.devis-tel:hover { color: var(--or-clair); }
.devis-tel svg { width: 28px; height: 28px; color: var(--or); }
.devis-card { padding: clamp(1.5rem, 3.5vw, 2.6rem); border-radius: 30px; background: var(--ivoire); color: var(--encre); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8); }
.devis-card-titre { margin: 0 0 1.4rem; font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; color: var(--nuit); }
.devis-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font: 600 .72rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1rem; border-radius: var(--r-m); border: 1.5px solid #d8cfbd; background: var(--blanc);
  font: 500 1rem/1.4 var(--sans); color: var(--encre); transition: border-color .25s, box-shadow .3s, background .25s;
}
.field select { appearance: none; padding-right: 2.6rem; background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%2310223a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right .9rem center / 18px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c4b89f; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--nuit); box-shadow: 0 0 0 4px rgba(184, 146, 90, .3); }
.field-error input, .field-error select { border-color: var(--rouge); }
.field-msg { margin: 0; font-size: .84rem; font-weight: 600; color: var(--rouge); }
.field-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.section-devis .devis-form .btn { grid-column: 1 / -1; margin-top: .4rem; --fond: var(--nuit); --texte: var(--ivoire); box-shadow: 0 14px 30px -14px rgba(16, 34, 58, .8); }
.section-devis .devis-form .btn:hover { --fond: var(--nuit-2); }
.devis-form .btn[disabled] { opacity: .7; cursor: wait; }
.form-status { grid-column: 1 / -1; margin: 0; font-weight: 600; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--rouge); }
.form-status.is-info { color: var(--gris); }
.form-status a { color: var(--nuit); }
.form-note { grid-column: 1 / -1; margin: 0; font-size: .84rem; color: var(--gris); line-height: 1.5; }
.devis-success { text-align: center; padding: 1.5rem .5rem; animation: entre .7s var(--ease) both; }
.devis-success-ico { width: 72px; height: 72px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--nuit); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(184, 146, 90, .18); }
.devis-success-ico svg { width: 32px; height: 32px; color: var(--or-clair); }
.devis-success h3 { font-size: 1.45rem; }
.devis-success p { color: var(--gris); }
@media (max-width: 920px) { .devis-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 540px) { .devis-form { grid-template-columns: minmax(0, 1fr); } .devis-form .btn { white-space: normal; } .devis-points li { grid-template-columns: 6rem 1fr; } }

/* ------------------------------------------------------------ pied de page */
.site-footer { position: relative; overflow: hidden; margin-top: var(--marge); padding: clamp(4rem, 8vw, 6rem) 0 0; background: var(--abysse); color: var(--ardoise); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.footer-accroche { margin: 0 0 1.6rem; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; color: var(--ivoire); }
.footer-tel { font: 600 1.25rem var(--mono); color: var(--or-clair); text-decoration: none; }
.footer-mini { margin-top: .4rem; font-size: .88rem; }
.footer-titre { margin: 0 0 1rem; font: 600 .72rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ivoire); }
.footer-titre-2 { margin-top: 2rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer ul a { text-decoration: none; transition: color .2s, padding .3s var(--ease); }
.site-footer ul a:hover { color: var(--or-clair); padding-left: 4px; }
.footer-mot {
  margin: clamp(3rem, 6vw, 5rem) 0 -.12em; text-align: center; font-size: clamp(4rem, 18.5vw, 19rem); font-weight: 800; line-height: .8; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(246, 243, 236, .14); user-select: none; white-space: nowrap;
  background: linear-gradient(180deg, rgba(184, 146, 90, .22), transparent 70%); -webkit-background-clip: text; background-clip: text;
}
.footer-bottom { position: relative; border-top: 1px solid var(--ligne-sombre); padding: 1.3rem 0; font: 500 .76rem var(--mono); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------ barre mobile + WhatsApp */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 80; display: grid; grid-template-columns: 1fr 1.35fr; gap: .4rem;
    padding: .4rem; border-radius: 999px; background: rgba(8, 19, 34, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border: 1px solid var(--ligne-sombre); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .6); transition: transform .5s var(--ease);
  }
  .mobile-bar.cache { transform: translateY(150%); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .85rem .6rem; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; }
  .mobile-bar svg { width: 17px; height: 17px; }
  .mobile-bar-call { color: var(--ivoire); }
  .mobile-bar-devis { background: var(--or); color: var(--abysse); }
  body { padding-bottom: 84px; }
}
.wa-bubble {
  position: fixed; right: 18px; bottom: 18px; z-index: 75; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .45); transition: transform .4s var(--ease);
}
.wa-bubble:hover { transform: scale(1.08) rotate(-6deg); }
.wa-bubble svg { width: 30px; height: 30px; }
@media (max-width: 760px) { .wa-bubble { bottom: calc(84px + env(safe-area-inset-bottom)); right: 14px; width: 52px; height: 52px; } }

/* ------------------------------------------------------------ pages simples */
.legal { padding-top: clamp(8rem, 13vw, 10rem); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2.2rem; }
.center { text-align: center; }
.note { font-size: .88rem; color: var(--gris); }

/* ------------------------------------------------------------ apparitions */
html.js .rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
html.js .rv.in { opacity: 1; transform: none; }
.mot { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.mot > span { display: inline-block; }
html.js .decoupe .mot > span { transform: translateY(108%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 34ms + var(--d, 0s)); }
html.js .decoupe.in .mot > span { transform: none; }

@media (max-width: 900px) {
  .hero-grid, .hero-home .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-home { min-height: 0; }
  .hero-home .torche { max-width: 560px; margin: .5rem auto 2.5rem; }
  .hero-photo { max-width: 560px; }
  .hero-photo-in { aspect-ratio: 3 / 2; }
}
@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; }
  html.js .rv, html.js .decoupe .mot > span { opacity: 1; transform: none; }
  html.js .hero-photo-in { clip-path: none; }
  html.js .hero-photo-in img { transform: none; }
}

/* ------------------------------------------------------------ popup devis (19/10/2026)
   Tous les boutons « devis » ouvrent cette popup ; elle accueille la carte du
   formulaire de la page (déplacée, pas copiée). */
.devis-modal {
  width: min(680px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0;
  border: 0; border-radius: 30px; background: var(--abysse); color: var(--ivoire); overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .8);
}
.devis-modal::backdrop { background: rgba(8, 19, 34, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.devis-modal[open] { animation: modal-entree .5s var(--ease) both; }
.devis-modal[open]::backdrop { animation: fondu .4s ease both; }
@keyframes modal-entree { from { opacity: 0; transform: translateY(40px) scale(.96); } }
@keyframes fondu { from { opacity: 0; } }
.modal-in { position: relative; padding: clamp(1.4rem, 4vw, 2.2rem); }
.modal-in::before { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 146, 90, .35), transparent 65%); pointer-events: none; }
.modal-titre { position: relative; margin: 0 3rem 1.4rem 0; font-size: clamp(1.4rem, 3.4vw, 1.9rem); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; }
.devis-modal .eyebrow { color: var(--or-clair); }
.devis-modal .devis-card { position: relative; box-shadow: none; padding: clamp(1.1rem, 3vw, 1.8rem); }
.devis-modal .devis-card-titre { display: none; }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ligne-sombre);
  background: rgba(246, 243, 236, .06); cursor: pointer; transition: background .3s, transform .4s var(--ease);
}
.modal-close:hover { background: var(--or); transform: rotate(90deg); }
.modal-close span, .modal-close span::before { position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin: -1px 0 0 -9px; background: var(--ivoire); transform: rotate(45deg); }
.modal-close span::before { content: ""; left: 0; top: 0; margin: 0; transform: rotate(90deg); }
.modal-close:hover span, .modal-close:hover span::before { background: var(--abysse); }
@media (max-width: 600px) {
  .devis-modal { width: 100vw; max-width: 100vw; max-height: 94dvh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  .devis-modal[open] { animation: modal-mobile .5s var(--ease) both; }
  @keyframes modal-mobile { from { transform: translateY(100%); } }
}

/* ------------------------------------------------------------ bulle WhatsApp en évidence (19/10/2026) */
.wa-bubble { width: 64px; height: 64px; right: 22px; bottom: 22px; overflow: visible; }
.wa-bubble svg { width: 34px; height: 34px; position: relative; z-index: 1; }
.wa-bubble::before, .wa-bubble::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: 0;
  animation: pulsar 2.4s cubic-bezier(.2, .6, .35, 1) infinite;
}
.wa-bubble::after { animation-delay: 1.2s; }
@keyframes pulsar { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(2.1); opacity: 0; } }
.wa-label {
  position: absolute; right: calc(100% + 14px); top: 50%; translate: 0 -50%; white-space: nowrap; z-index: 1;
  padding: .6rem 1rem; border-radius: 999px; background: var(--blanc); color: var(--encre); font: 600 .9rem/1 var(--sans);
  box-shadow: 0 14px 30px -10px rgba(8, 19, 34, .45); opacity: 0; transform: translateX(10px); pointer-events: none;
  animation: etiquette 9s var(--ease) 2.5s infinite;
}
.wa-label b { color: #128c4b; }
.wa-label::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: var(--blanc); transform: rotate(45deg); border-radius: 2px; }
.wa-bubble:hover .wa-label { animation: none; opacity: 1; transform: none; }
@keyframes etiquette { 0%, 100% { opacity: 0; transform: translateX(10px); } 6%, 55% { opacity: 1; transform: none; } 62% { opacity: 0; transform: translateX(10px); } }
@media (max-width: 760px) {
  .wa-bubble { width: 58px; height: 58px; right: 14px; bottom: calc(86px + env(safe-area-inset-bottom)); }
  .wa-label { font-size: .82rem; padding: .5rem .8rem; }
}
@media (prefers-reduced-motion: reduce) { .wa-bubble::before, .wa-bubble::after { animation: none; opacity: 0; } .wa-label { animation: none; } }
.devis-form .btn { grid-column: 1 / -1; }
.devis-modal .devis-form .btn { box-shadow: 0 14px 30px -14px rgba(16, 34, 58, .8); }
@media (max-width: 760px) { .wa-label { display: none; } }
