/* =====================================================================
   VEYRA V3 · « Grande maison » — sombre et chaud partout, de vraies images.
   Noir chaud #0E0D0C / #151311 / #1C1A17 · texte pierre #ECE6DC · taupe #A29A8F · un accent bronze #B08D62.
   Couleurs d'état (sauge, ambre, corail) : seulement dans les pastilles et les interfaces.
   Mouvement : opacité + 12 px en 0,6 s, jamais de flou. Téléphone d'abord.
   Chargé après modules.css (incident, tableau de bord) : ses variables historiques sont redéfinies ici.
   ===================================================================== */

@font-face { font-family: 'Noto Serif Display'; font-style: normal; font-weight: 300; font-display: swap; src: url(/assets/fonts/noto-serif-display-300-normal.woff2) format('woff2'); }
@font-face { font-family: 'Noto Serif Display'; font-style: italic; font-weight: 300; font-display: swap; src: url(/assets/fonts/noto-serif-display-300-italic.woff2) format('woff2'); }
@font-face { font-family: 'Noto Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/noto-serif-display-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Noto Serif Display'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/noto-serif-display-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/geist-variable.woff2) format('woff2-variations'), url(/assets/fonts/geist-variable.woff2) format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/geist-mono-variable.woff2) format('woff2-variations'), url(/assets/fonts/geist-mono-variable.woff2) format('woff2'); }

:root {
  --noir: #0E0D0C;
  --noir-2: #151311;
  --noir-3: #1C1A17;
  --sable: #27231E;          /* les rares cartes (formulaire) */
  --pierre: #ECE6DC;
  --texte-v3: #CDC6BB;
  --taupe: #A29A8F;
  --taupe-2: #766F66;
  --bronze: #B08D62;
  --bronze-clair: #C9A97F;
  --sauge: #8EBFA2;
  --ambre: #D9A462;
  --corail: #E07A60;
  --filet-v3: rgba(236, 230, 220, .12);
  --filet-v3-fort: rgba(236, 230, 220, .28);

  --serif: 'Noto Serif Display', 'Didot', 'Bodoni 72', 'Times New Roman', serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, .61, .24, 1);

  --gouttiere: 20px;
  --largeur: 1320px;
  --entete-h: 64px;
  --section-y: 96px;
  --marge: max(var(--gouttiere), calc((100vw - var(--largeur)) / 2));

  /* noms utilisés par modules.css (incident, tableau de bord) : tout est nuit */
  --fond: var(--noir); --fond-2: var(--noir-2); --surface: var(--noir-3);
  --fort: var(--pierre); --sur-fort: var(--noir);
  --texte: var(--texte-v3); --discret: var(--taupe); --pale: var(--taupe-2);
  --accent: var(--bronze); --filet: var(--filet-v3); --filet-doux: rgba(236, 230, 220, .07); --filet-fort: var(--filet-v3-fort);
  --abysse: var(--noir); --nuit: var(--noir-2); --ivoire: var(--pierre);
  --argent-clair: var(--texte-v3); --argent: var(--taupe); --ardoise: var(--taupe-2); --filet-argent: var(--filet-v3);
  --c-nuit: var(--noir); --c-nuit-2: var(--noir-2); --c-nuit-3: var(--noir-3); --c-ivoire: var(--noir-2); --c-lin: var(--pierre);
}
@media (min-width: 768px) { :root { --gouttiere: 40px; --entete-h: 76px; --section-y: 128px; } }
@media (min-width: 1280px) { :root { --gouttiere: 64px; --entete-h: 84px; --section-y: 160px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--noir); color: var(--texte); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-padding-top: var(--entete-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; min-height: 100vh; background: var(--noir); color: var(--texte); font: 400 16px/1.62 var(--sans); overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(176, 141, 98, .4); color: var(--pierre); }
:focus-visible { outline: 1px solid var(--bronze-clair); outline-offset: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.evitement { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--pierre); color: var(--noir); font-size: 14px; }
.evitement:focus { top: 12px; }
.visuellement-cache, .m-masque { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.mono { font-family: var(--mono); font-feature-settings: "tnum" 1; }
.insec { white-space: nowrap; }
.conteneur { width: 100%; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin: 0 auto; padding: 0 var(--gouttiere); }

/* ---------- typographie ---------- */
.surtitre {
  display: flex; align-items: center; gap: 14px;
  font: 500 11px/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--taupe);
}
.surtitre::before { content: ""; width: 22px; height: 1px; background: var(--bronze); flex: none; }
.titre, .titre-section {
  font: 300 clamp(34px, 9.4vw, 44px)/1.06 var(--serif); letter-spacing: -.02em; color: var(--pierre);
  text-wrap: balance;
}
.titre em, .titre-section em { font-style: italic; font-weight: 300; }
@media (min-width: 768px) { .titre, .titre-section { font-size: clamp(42px, 4.4vw, 64px); line-height: 1.04; } }
.chapeau { font: 300 17px/1.6 var(--sans); color: var(--texte); max-width: 34em; }

/* ---------- boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 22px;
  min-height: 52px; padding: 0 24px; background: var(--pierre); color: var(--noir);
  font: 500 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .35s var(--ease);
}
.bouton__fleche { width: 22px; height: 10px; flex: none; transition: transform .35s var(--ease); }
.bouton:hover { background: #F6F1E9; }
.bouton:hover .bouton__fleche { transform: translateX(4px); }
.lien {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 500 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--pierre);
  background: linear-gradient(currentColor, currentColor) 0 calc(50% + 12px) / 100% 1px no-repeat;
  background-image: linear-gradient(rgba(236, 230, 220, .45), rgba(236, 230, 220, .45));
  transition: color .3s var(--ease);
}
.lien:hover { color: var(--bronze-clair); }

/* ---------- apparitions : opacité + 12 px, 0,6 s ---------- */
.rev-actif [data-rev] { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.rev-actif [data-rev].est-vu { opacity: 1; transform: none; }

/* ---------- en-tête ---------- */
.entete { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--entete-h); color: var(--pierre); transition: background-color .5s var(--ease), box-shadow .5s var(--ease); }
.entete.est-voile { background: rgba(14, 13, 12, .97); box-shadow: 0 1px 0 var(--filet-v3); }
.entete__barre { height: 100%; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin: 0 auto; padding: 0 var(--gouttiere); display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--pierre); }
.logo__v { width: 26px; height: 26px; }
.logo__mot { font: 500 13px/1 var(--sans); letter-spacing: .36em; margin-right: -.36em; }
.entete__outils { display: flex; align-items: center; gap: 18px; }
.langue { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 500 11px/1 var(--sans); letter-spacing: .16em; color: var(--taupe); }
.langue__code.est-actif { color: var(--pierre); }
.langue__sep { opacity: .6; }
.entete__cta { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border: 1px solid rgba(236, 230, 220, .38); font: 500 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.entete__cta:hover { background: var(--pierre); color: var(--noir); border-color: var(--pierre); }
.entete__cta-long { display: none; }
@media (min-width: 768px) {
  .entete__outils { gap: 28px; }
  .entete__cta { min-height: 42px; padding: 0 20px; }
  .entete__cta-long { display: inline; }
  .entete__cta-court { display: none; }
  .logo__mot { font-size: 14px; }
}

/* ---------- vidéos ---------- */
.video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--noir); }

/* =====================================================================
   1. ACCUEIL
   ===================================================================== */
.accueil { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: var(--noir); color: var(--pierre); isolation: isolate; }
.accueil__media { position: absolute; inset: 0; z-index: -2; }
.accueil__voile {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 13, 12, .58) 0%, rgba(14, 13, 12, 0) 26%),
    linear-gradient(0deg, rgba(14, 13, 12, .94) 0%, rgba(14, 13, 12, .62) 26%, rgba(14, 13, 12, 0) 52%),
    rgba(14, 13, 12, .1);
}
.accueil__contenu { position: absolute; inset: 0; display: flex; flex-direction: column; padding: calc(var(--entete-h) + 4.5svh) var(--gouttiere) max(28px, env(safe-area-inset-bottom)); }
.accueil__surtitre { flex-direction: column; align-items: flex-start; gap: 6px; color: rgba(236, 230, 220, .82); }
.accueil__surtitre::before { display: none; }
.accueil__titre {
  margin-top: 16px;
  font: 300 clamp(46px, 13.6vw, 70px)/.98 var(--serif); letter-spacing: -.03em; color: var(--pierre);
}
.accueil__titre em { font-style: italic; font-weight: 300; }
.accueil__pied { margin-top: auto; }
.accueil__phrase { max-width: 22em; font: 300 16px/1.55 var(--sans); color: rgba(236, 230, 220, .86); }
.accueil__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 22px; }
.accueil__actions .bouton { flex: 1 1 100%; }
.accueil__prix { display: none; }
@media (min-width: 768px) {
  .accueil { min-height: 640px; }
  .accueil__voile {
    background:
      linear-gradient(180deg, rgba(14, 13, 12, .55) 0%, rgba(14, 13, 12, 0) 22%),
      linear-gradient(0deg, rgba(14, 13, 12, .9) 0%, rgba(14, 13, 12, .5) 30%, rgba(14, 13, 12, 0) 58%),
      linear-gradient(90deg, rgba(14, 13, 12, .55) 0%, rgba(14, 13, 12, 0) 55%),
      rgba(14, 13, 12, .12);
  }
  .accueil__contenu { justify-content: flex-end; padding-bottom: clamp(36px, 7vh, 72px); max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin: 0 auto; right: 0; left: 0; }
  .accueil__surtitre { flex-direction: row; gap: 0; }
  .accueil__lieux::before { content: "·"; margin: 0 .9em; color: var(--bronze); }
  .accueil__titre { margin-top: 22px; font-size: clamp(64px, 8.3vw, 136px); line-height: .96; }
  .accueil__pied { margin-top: clamp(28px, 4.5vh, 44px); display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .accueil__phrase { font-size: 17px; max-width: 25em; }
  .accueil__actions { margin-top: 0; flex-wrap: nowrap; }
  .accueil__actions .bouton { flex: none; }
  .accueil__prix { display: block; position: absolute; right: var(--gouttiere); top: calc(var(--entete-h) + 18px); font-size: 11px; letter-spacing: .08em; color: rgba(236, 230, 220, .7); }
}

/* =====================================================================
   2. LE SERVICE : la villa, là / loin
   ===================================================================== */
.service { --h: max(100svh, 700px); --r: 9 / 16; position: relative; height: var(--h); overflow: hidden; background: var(--noir); isolation: isolate; color: var(--pierre); }
/* le plan : l'image et ses pastilles partagent le même cadre (recadrage « cover » calculé), les pastilles restent posées au bon endroit */
.service__plan { position: absolute; z-index: -2; left: 50%; top: 50%; width: max(100%, calc(var(--h) * 9 / 16)); height: max(100%, calc(100vw * 16 / 9)); transform: translate(-50%, -50%); }
.service__plan picture, .service__image { position: absolute; inset: 0; width: 100%; height: 100%; }
.service__image { object-fit: cover; }
.service__nuit { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 60%, rgba(10, 9, 8, .38), rgba(10, 9, 8, .74)); opacity: 0; transition: opacity 1.1s var(--ease); }
.service.est-loin .service__nuit { opacity: 1; }
.service__voile {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 13, 12, .9) 0%, rgba(14, 13, 12, .35) 22%, rgba(14, 13, 12, 0) 38%),
    linear-gradient(0deg, rgba(14, 13, 12, .97) 0%, rgba(14, 13, 12, .78) 24%, rgba(14, 13, 12, 0) 44%);
}
.service__contenu { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--entete-h) + 22px) var(--gouttiere) max(30px, env(safe-area-inset-bottom)); pointer-events: none; }
.service__contenu > * { pointer-events: auto; }
.service__tete .titre { margin-top: 16px; }
.service__panneau { max-width: 30em; }
/* téléphone : la villa un peu plus près */
@media (max-width: 767px) { .service__plan { scale: 1.16; transform-origin: 50% 62%; } }

/* pastilles posées sur la villa */
.pastille { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; opacity: 0; transform: translateY(6px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: 0s; }
.service.est-loin .pastille { opacity: 1; transform: none; transition-delay: calc(.35s + var(--i) * .12s); }
.pastille__point { position: absolute; left: -4.5px; top: -4.5px; width: 9px; height: 9px; border-radius: 50%; background: var(--sauge); box-shadow: 0 0 0 3px rgba(142, 191, 162, .2), 0 0 12px rgba(142, 191, 162, .55); }
.pastille__point::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(142, 191, 162, .55); animation: pouls 2.8s var(--ease) infinite; animation-delay: calc(var(--i) * .4s); }
@keyframes pouls { 0% { transform: scale(.5); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.pastille__texte { position: absolute; left: 14px; top: 0; display: inline-flex; align-items: baseline; gap: 8px; padding: 6px 10px; background: rgba(14, 13, 12, .74); box-shadow: inset 0 0 0 1px rgba(236, 230, 220, .14); white-space: nowrap; transform: translate(var(--decal, 0), var(--dy, -50%)); }
.pastille__label { font: 500 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--pierre); }
.pastille__etat { font-size: 10.5px; line-height: 1; color: var(--taupe); }
/* positions sur l'image du téléphone (villa au crépuscule, vue plongeante) ; --decal : étiquette à gauche du point */
.pastille[data-id="reseau"] { --x: 53%; --y: 53.4%; }
.pastille[data-id="climat"] { --x: 25.5%; --y: 59.6%; }
.pastille[data-id="energie"] { --x: 38.5%; --y: 65.5%; }
.pastille[data-id="eau"] { --x: 58%; --y: 69.4%; }
.pastille[data-id="piscine"] { --x: 85%; --y: 62.2%; --decal: calc(-100% - 28px); }
.pastille[data-id="arrosage"] { --x: 26%; --y: 72.6%; }
/* sur téléphone, seuls les noms restent sur l'image */
@media (max-width: 767px) { .pastille__etat { display: none; } }

/* bascule là / loin */
.bascule { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin: 0 0 14px; }
.bascule__choix { font: 500 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); transition: color .4s var(--ease); }
.bascule__choix--la, .service.est-loin .bascule__choix--loin { color: var(--pierre); }
.service.est-loin .bascule__choix--la { color: var(--taupe); }
.bascule__piste { position: relative; width: 46px; height: 24px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(236, 230, 220, .34); transition: box-shadow .4s var(--ease); }
.bascule__curseur { position: absolute; left: 4px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--pierre); transition: transform .5s var(--ease), background-color .4s var(--ease); }
.service.est-loin .bascule__piste { box-shadow: inset 0 0 0 1px rgba(176, 141, 98, .8); }
.service.est-loin .bascule__curseur { transform: translateX(22px); background: var(--bronze-clair); }
.service__textes { display: grid; }
.service__texte { grid-area: 1 / 1; font: 300 15.5px/1.55 var(--sans); color: rgba(236, 230, 220, .88); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.service__texte--loin, .service.est-loin .service__texte--la { opacity: 0; transform: translateY(6px); }
.service.est-loin .service__texte--loin { opacity: 1; transform: none; }
.service__domaines { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--filet-v3); font: 500 9.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); }
.service__domaines-l { flex: 1 0 100%; margin-bottom: 4px; color: var(--bronze-clair); }
.service__domaine:not(:last-child)::after { content: "·"; margin: 0 .55em; color: var(--taupe-2); }

@media (min-width: 768px) {
  .service { --h: max(100vh, 680px); }
  @supports (height: 100svh) { .service { --h: max(100svh, 680px); } }
  .service__plan { width: max(100%, calc(var(--h) * 16 / 9)); height: max(100%, calc(100vw * 9 / 16)); }
  .service__voile {
    background:
      linear-gradient(180deg, rgba(14, 13, 12, .62) 0%, rgba(14, 13, 12, 0) 20%),
      linear-gradient(0deg, rgba(14, 13, 12, .95) 0%, rgba(14, 13, 12, .55) 30%, rgba(14, 13, 12, 0) 56%),
      linear-gradient(90deg, rgba(14, 13, 12, .78) 0%, rgba(14, 13, 12, .3) 34%, rgba(14, 13, 12, 0) 52%);
  }
  .service__contenu { justify-content: flex-end; padding-bottom: clamp(40px, 7vh, 72px); max-width: calc(var(--largeur) + 2 * var(--gouttiere)); left: 0; right: 0; margin: 0 auto; }
  .service__tete { margin-bottom: 30px; }
  .service__texte { font-size: 16.5px; }
  .service__panneau { max-width: 36em; }
  .service__domaines { font-size: 10px; flex-wrap: nowrap; white-space: nowrap; }
  .service__domaines-l { flex: none; margin: 0 14px 0 0; }
  .pastille__label { font-size: 10.5px; }
  /* positions sur l'image d'ordinateur (villa vue du ciel, piscine en haut à gauche) */
  .pastille[data-id="piscine"] { --x: 14.6%; --y: 18.4%; --decal: 0; --dy: -50%; }
  .pastille[data-id="reseau"] { --x: 36%; --y: 18%; }
  .pastille[data-id="energie"] { --x: 59%; --y: 30%; }
  .pastille[data-id="climat"] { --x: 46.5%; --y: 52%; }
  .pastille[data-id="eau"] { --x: 29%; --y: 31%; --decal: 0; }
  .pastille[data-id="arrosage"] { --x: 55%; --y: 81%; }
}

/* =====================================================================
   3. UNE NUIT D'OCTOBRE (modules.css + réglages V3)
   ===================================================================== */
.inc { background: var(--noir); }
.inc-fond img { opacity: 1; filter: none; object-position: 50% 50%; }
.inc-fond::after {
  background:
    linear-gradient(90deg, rgba(14, 13, 12, .86) 0%, rgba(14, 13, 12, .55) 46%, rgba(14, 13, 12, .2) 100%),
    linear-gradient(0deg, rgba(14, 13, 12, .85) 0%, rgba(14, 13, 12, 0) 38%),
    linear-gradient(180deg, rgba(14, 13, 12, .7) 0%, rgba(14, 13, 12, 0) 24%);
}
.inc-surtitre { margin-bottom: 18px; }
@media (max-width: 760px) {
  .inc-fond img { opacity: .8; }
  .inc-fond::after { background: linear-gradient(180deg, rgba(14, 13, 12, .88) 0%, rgba(14, 13, 12, .62) 48%, rgba(14, 13, 12, .92) 100%); }
}

/* =====================================================================
   4. VOTRE VILLA EN UN REGARD : l'interface posée sur une vraie image
   ===================================================================== */
.tb { background: var(--noir-2); color: var(--texte); }
.tb-cadre { padding: var(--section-y) var(--gouttiere) 64px; }
.tb-tete { align-items: end; }
.tb-texte { color: var(--texte); }
.tb-scene { position: relative; isolation: isolate; margin-top: clamp(40px, 6vh, 72px); padding: clamp(40px, 6vw, 88px) clamp(24px, 4vw, 64px) clamp(56px, 7vw, 96px); }
.tb-photo { position: absolute; z-index: -1; inset: 0; left: 0; right: 0; top: 0; bottom: 0; width: auto; margin: 0; overflow: hidden; background: var(--noir); }
.tb-photo img { object-fit: cover; object-position: 30% 62%; filter: none; }
.tb-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 13, 12, .05) 0%, rgba(14, 13, 12, .28) 42%, rgba(14, 13, 12, .62) 100%), linear-gradient(0deg, rgba(14, 13, 12, .45) 0%, rgba(14, 13, 12, 0) 30%); }
.tb-ecran { width: min(66%, 900px); margin: 0 0 0 auto; }
.tb-tel { left: clamp(24px, 12.5%, 220px); bottom: -36px; }
.tb-tel .m-tel { --tel-l: clamp(220px, 19vw, 280px); }
.tb-ecran__dalle { box-shadow: inset 0 0 0 1px rgba(255, 250, 240, .08), 0 0 0 1.5px #8E877D, 0 0 0 2.5px rgba(0, 0, 0, .4), 0 30px 60px -20px rgba(0, 0, 0, .7), 0 80px 120px -50px rgba(0, 0, 0, .7); }
.tb-tel .m-tel { box-shadow: inset 0 0 0 1px rgba(255, 252, 245, .4), inset 0 0 0 2.5px rgba(14, 13, 12, .92), 0 0 0 1px rgba(0, 0, 0, .4), 0 2em 3.6em -1.4em rgba(0, 0, 0, .75), 0 5em 9em -4em rgba(0, 0, 0, .7); }
.tb--vivant .tb-ecran, .tb--vivant .tb-tel { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.tb--vivant .tb-ecran { transform: translateY(12px); }
.tb--vivant .tb-tel { transform: translateY(12px); }

/* les quatre temps, en une ligne */
.temps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(64px, 8vw, 104px); border-top: 1px solid var(--filet-v3); }
.temps__item { display: flex; flex-direction: column; gap: 8px; padding: 20px 14px 0 0; }
.temps__item + .temps__item { padding-left: clamp(14px, 2vw, 28px); border-left: 1px solid var(--filet-v3); }
.temps__num { font-size: 10.5px; letter-spacing: .08em; color: var(--bronze-clair); }
.temps__titre { font: 300 clamp(17px, 4.6vw, 30px)/1.1 var(--serif); color: var(--pierre); letter-spacing: -.01em; }
.temps__texte { display: none; font: 400 14px/1.55 var(--sans); color: var(--taupe); }
.tb-mention { color: var(--taupe-2); }
@media (min-width: 768px) { .temps__texte { display: block; } }
@media (max-width: 760px) {
  .tb-cadre { padding-bottom: 72px; }
  .tb-scene { display: flex; justify-content: center; margin: 36px calc(-1 * var(--gouttiere)) 0; padding: 56px 0 48px; }
  .tb-photo { left: 0; right: 0; top: 0; bottom: 0; }
  .tb-photo img { object-position: 50% 50%; }
  .tb-photo::after { background: linear-gradient(180deg, rgba(14, 13, 12, .55) 0%, rgba(14, 13, 12, .12) 40%, rgba(14, 13, 12, .6) 100%); }
  .tb-ecran { display: none; }
  .tb-tel { position: relative; left: auto; bottom: auto; margin: 0; }
  .tb-tel .m-tel { --tel-l: min(272px, 72vw); }
  .temps { margin-top: 40px; }
  .temps__item { padding: 16px 6px 0 0; gap: 6px; }
  .temps__item + .temps__item { padding-left: 10px; }
}

/* =====================================================================
   5. L'OFFRE, LES QUESTIONS, LE DIAGNOSTIC
   ===================================================================== */
.offre-zone { position: relative; background: var(--noir-2); color: var(--texte); isolation: isolate; }
/* la piscine au couchant reste derrière pendant toute la lecture (collée, sans script) */
.offre-zone__media { position: sticky; top: 0; z-index: -1; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; overflow: hidden; }
.offre-zone__media .video { opacity: .5; }
.offre-zone__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 19, 17, .9) 0%, rgba(21, 19, 17, .62) 30%, rgba(21, 19, 17, .7) 70%, rgba(21, 19, 17, .92) 100%); }
.offre-zone__voile { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, var(--noir-2) 0, rgba(21, 19, 17, 0) 220px, rgba(21, 19, 17, 0) calc(100% - 320px), var(--noir-2) 100%); }
.offre-zone__contenu { position: relative; padding-top: var(--section-y); padding-bottom: var(--section-y); }

.offre-grille { display: grid; gap: 36px; }
.offre-tete .titre { margin-top: 16px; }
.carte-offre { background: rgba(28, 26, 23, .86); box-shadow: inset 0 0 0 1px var(--filet-v3); padding: 28px 22px; }
.carte-offre__tete { padding-bottom: 24px; border-bottom: 1px solid var(--filet-v3); }
.carte-offre__nom { font: 500 11px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-clair); }
.prix { display: flex; align-items: baseline; gap: 14px; margin-top: 14px; }
.prix__chiffres { display: inline-flex; align-items: baseline; gap: 6px; font: 300 64px/1 var(--serif); letter-spacing: -.03em; color: var(--pierre); }
.prix__devise { font-size: .5em; letter-spacing: 0; color: var(--texte); }
.prix__periode { font: 400 14px/1 var(--sans); color: var(--taupe); }
.carte-offre__listes { display: grid; gap: 26px; padding: 24px 0; }
.carte-offre__titre-liste { margin-bottom: 12px; font: 500 10.5px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.liste li { display: flex; gap: 12px; padding: 7px 0; font: 400 14.5px/1.45 var(--sans); color: var(--texte); }
.liste svg { width: 14px; height: 14px; margin-top: 3px; flex: none; color: var(--sauge); }
.liste--non li { color: var(--taupe); }
.liste--non svg { color: var(--taupe-2); }
.carte-offre__pied { padding: 18px 0; border-top: 1px solid var(--filet-v3); font: 400 13.5px/1.55 var(--sans); color: var(--taupe); }
.carte-offre__pied p + p { margin-top: 4px; }
.carte-offre__confiance { padding-top: 16px; border-top: 1px solid var(--filet-v3); }
.carte-offre__confiance li { position: relative; padding: 4px 0 4px 22px; font: 400 13.5px/1.5 var(--sans); color: var(--pierre); }
.carte-offre__confiance li::before { content: ""; position: absolute; left: 0; top: 14px; width: 12px; height: 1px; background: var(--bronze); }
@media (min-width: 768px) {
  .carte-offre { padding: 40px 44px; }
  .carte-offre__tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
  .prix { margin-top: 0; }
  .prix__chiffres { font-size: 76px; }
  .carte-offre__listes { grid-template-columns: 1fr 1fr; gap: 40px; padding: 28px 0; }
  .carte-offre__pied { display: flex; gap: 40px; }
  .carte-offre__pied p { flex: 1; }
  .carte-offre__pied p + p { margin-top: 0; }
  .carte-offre__confiance { display: flex; gap: 40px; }
  .carte-offre__confiance li { flex: 1; }
}
@media (min-width: 1100px) {
  .offre-grille { grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: clamp(48px, 6vw, 112px); align-items: start; }
  .offre-tete { position: sticky; top: calc(var(--entete-h) + 48px); }
}

/* questions */
.faq { display: grid; gap: 28px; margin-top: calc(var(--section-y) * .9); }
.faq__titre { font: 300 clamp(30px, 8vw, 40px)/1.08 var(--serif); letter-spacing: -.02em; color: var(--pierre); }
.faq__titre em { font-style: italic; }
.faq__liste { border-bottom: 1px solid var(--filet-v3); }
.question { border-top: 1px solid var(--filet-v3); }
.question__bouton { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 18px 0; text-align: left; font: 400 16.5px/1.4 var(--sans); color: var(--pierre); }
.question__bouton:hover .question__texte { color: #fff8ee; }
.signe { position: relative; width: 14px; height: 14px; flex: none; }
.signe::before, .signe::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1px; background: var(--bronze-clair); transition: transform .45s var(--ease); }
.signe::after { transform: rotate(90deg); }
.question.est-ouvert .signe::after { transform: rotate(0deg); }
.repliable { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.repliable__interieur { overflow: hidden; }
.repliable__interieur p { padding: 0 40px 22px 0; font: 400 15px/1.65 var(--sans); color: var(--texte); max-width: 46em; }
.question.est-ouvert .repliable { grid-template-rows: 1fr; }
.sans-js .repliable { grid-template-rows: 1fr; }
@media (min-width: 1100px) {
  .faq { grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: clamp(48px, 6vw, 112px); }
  .faq__titre { font-size: 44px; }
  .question__bouton { font-size: 17.5px; min-height: 72px; }
}

/* diagnostic */
.diag { display: grid; gap: 32px; margin-top: calc(var(--section-y) * .9); }
.diag__intro .titre { margin-top: 16px; }
.diag__chapeau { margin-top: 20px; font: 300 16.5px/1.6 var(--sans); color: var(--texte); max-width: 26em; }
.diag__discretion { display: flex; gap: 10px; margin-top: 20px; font: 400 13.5px/1.55 var(--sans); color: var(--taupe); max-width: 28em; }
.diag__discretion svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--bronze-clair); }
.diag__carte { background: var(--sable); box-shadow: inset 0 0 0 1px rgba(236, 230, 220, .1), 0 40px 80px -40px rgba(0, 0, 0, .6); padding: 28px 22px; }
@media (min-width: 768px) { .diag__carte { padding: 44px 48px; } }
@media (min-width: 1100px) {
  .diag { grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: clamp(48px, 6vw, 112px); align-items: start; }
  .diag__intro { position: sticky; top: calc(var(--entete-h) + 48px); }
}

/* formulaire */
.champ-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire__grille { display: grid; gap: 22px 28px; }
@media (min-width: 768px) { .formulaire__grille { grid-template-columns: 1fr 1fr; } .champ--large { grid-column: 1 / -1; } }
.champ { position: relative; min-width: 0; border: 0; margin: 0; padding: 0; }
.champ__label { display: block; margin-bottom: 4px; padding: 0; font: 500 10.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); }
.champ__requis { color: var(--bronze-clair); margin-left: 3px; }
.champ__saisie { display: block; width: 100%; padding: 10px 0 11px; border: 0; border-radius: 0; background: transparent; box-shadow: inset 0 -1px 0 rgba(236, 230, 220, .26); font: 400 16px/1.4 var(--sans); color: var(--pierre); transition: box-shadow .3s var(--ease); -webkit-appearance: none; appearance: none; }
.champ__saisie::placeholder { color: var(--taupe-2); }
.champ__saisie:focus { outline: none; box-shadow: inset 0 -1px 0 var(--bronze-clair); }
.champ__saisie--texte { resize: vertical; min-height: 84px; }
.champ__choix { position: relative; display: block; }
.champ__choix::after { content: ""; position: absolute; right: 2px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 1px solid var(--taupe); border-bottom: 1px solid var(--taupe); transform: rotate(45deg); pointer-events: none; }
.champ__choix select { padding-right: 24px; cursor: pointer; }
select.champ__saisie option { background: var(--noir-3); color: var(--pierre); }
.champ__aide { margin-top: 6px; font: 400 12.5px/1.45 var(--sans); color: var(--taupe-2); }
.champ__erreur { margin-top: 6px; font: 400 12.5px/1.45 var(--sans); color: var(--corail); }
.champ__erreur:empty { display: none; }
.champ--erreur .champ__saisie, .champ__saisie[aria-invalid="true"] { box-shadow: inset 0 -1px 0 var(--corail); }
.segments { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.segment { position: relative; }
.segment input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segment span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; box-shadow: inset 0 0 0 1px rgba(236, 230, 220, .22); font: 400 14px/1.2 var(--sans); color: var(--texte); transition: box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.segment:hover span { box-shadow: inset 0 0 0 1px rgba(236, 230, 220, .45); }
.segment input:checked + span { box-shadow: inset 0 0 0 1px var(--bronze-clair); background: rgba(176, 141, 98, .14); color: var(--pierre); }
.segment input:focus-visible + span { outline: 1px solid var(--bronze-clair); outline-offset: 3px; }
.champ--erreur .segment span { box-shadow: inset 0 0 0 1px rgba(224, 122, 96, .6); }
.accord { position: relative; display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.accord input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; }
.puce__case { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: none; margin-top: 1px; box-shadow: inset 0 0 0 1px rgba(236, 230, 220, .4); color: var(--noir); transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.puce__case svg { width: 12px; height: 12px; opacity: 0; transition: opacity .2s var(--ease); }
.accord input:checked + .puce__case { background: var(--bronze-clair); box-shadow: none; }
.accord input:checked + .puce__case svg { opacity: 1; }
.accord input:focus-visible + .puce__case { outline: 1px solid var(--bronze-clair); outline-offset: 3px; }
.champ--erreur .puce__case { box-shadow: inset 0 0 0 1px var(--corail); }
.accord__texte { font: 400 14px/1.55 var(--sans); color: var(--texte); }
.formulaire__verification:empty { display: none; }
.formulaire__verification { margin-top: 22px; }
.formulaire__etat { margin-top: 16px; font: 400 14px/1.5 var(--sans); color: var(--texte); }
.formulaire__etat:empty { display: none; }
.formulaire__etat.est-erreur { color: var(--corail); }
.formulaire__envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.formulaire__bouton { flex: 1 1 100%; }
@media (min-width: 768px) { .formulaire__bouton { flex: none; } }
.formulaire__bouton.est-envoi, .formulaire.est-envoi .formulaire__bouton { opacity: .6; pointer-events: none; }
.formulaire__obligatoire { font: 400 12.5px/1.4 var(--sans); color: var(--taupe-2); }
.formulaire__information { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--filet-v3); font: 400 12px/1.6 var(--sans); color: var(--taupe-2); }
.formulaire__information a { color: var(--taupe); text-decoration: underline; text-decoration-color: rgba(236, 230, 220, .25); text-underline-offset: 3px; }
.merci { padding: 12px 0; text-align: left; }
.merci__sceau { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--sauge); color: var(--sauge); }
.merci__sceau svg { width: 18px; height: 18px; }
.merci__titre { margin: 22px 0 12px; font: 300 32px/1.1 var(--serif); color: var(--pierre); }
.merci__titre em { font-style: italic; }
.merci p { color: var(--texte); max-width: 30em; }
.merci .lien { margin-top: 18px; }
.diag-erreur { color: var(--corail); }
.diag-bandeau { background: rgba(224, 122, 96, .08); box-shadow: inset 0 0 0 1px rgba(224, 122, 96, .35); color: var(--pierre); }
.diag-bandeau a, .diag-bandeau button.diag-mailto { color: var(--pierre); }
.diag-merci__marque { color: var(--sauge); }

/* =====================================================================
   PIED DE PAGE
   ===================================================================== */
.pied { background: var(--noir); color: var(--taupe); padding: 56px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--filet-v3); }
.pied__haut { display: flex; flex-direction: column; gap: 18px; padding-bottom: 28px; border-bottom: 1px solid var(--filet-v3); }
.pied__territoires { font: 500 10.5px/1.7 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); }
.pied__bas { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; }
.pied__liens { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.pied__liens a { display: inline-flex; min-height: 36px; align-items: center; font: 400 13.5px/1.3 var(--sans); color: var(--texte); transition: color .3s var(--ease); }
.pied__liens a:hover { color: var(--pierre); }
.pied__mentions { display: flex; flex-wrap: wrap; gap: 4px 18px; font: 400 12.5px/1.5 var(--sans); color: var(--taupe); }
.pied__responsabilite { margin-top: 18px; font: 400 12px/1.6 var(--sans); color: var(--taupe-2); max-width: 46em; }
@media (min-width: 768px) {
  .pied { padding-top: 72px; }
  .pied__haut { flex-direction: row; align-items: center; justify-content: space-between; }
  .pied__bas { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* =====================================================================
   MOUVEMENT RÉDUIT
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
}

/* tableau de bord : la colonne de date tient « Yesterday · 17:40 » */
.tb-evts li { grid-template-columns: 9.6em 6em minmax(0, 1fr); gap: .9em; }
