/* =========================================================================
   Labo Immo : feuille de style commune, v2 (22/11/2026)
   Charte : bleu nuit #0A2238, doré #B38B4A (#A07A3C en texte sur blanc), fond clair #EEF1F5
   Esprit "shadcn/ui" : bordures fines, rayons réguliers, ombres douces, états soignés.
   Animations : apparition au défilement, cartes en relief, scène 3D sur l'accueil.
   ========================================================================= */

:root {
  --nuit: #0A2238;
  --nuit-2: #0f2c47;
  --nuit-3: #163a5c;
  --or: #B38B4A;
  --or-clair: #d6b479;
  --or-texte: #A07A3C;
  --clair: #EEF1F5;
  --clair-2: #f6f8fb;
  --blanc: #ffffff;
  --texte: #0f1b2a;
  --gris: #5b6876;
  --gris-clair: #c3cfdd;
  --bord: #e2e7ee;
  --bord-sombre: rgba(255, 255, 255, .12);
  --vert-wa: #1f8f4e;
  --rayon: 16px;
  --rayon-s: 10px;
  --ombre: 0 1px 2px rgba(10, 34, 56, .04), 0 6px 20px rgba(10, 34, 56, .06);
  --ombre-haute: 0 2px 4px rgba(10, 34, 56, .04), 0 24px 48px -12px rgba(10, 34, 56, .22);
  --max: 1160px;
  --titres: "Montserrat", "Segoe UI", Arial, sans-serif;
  --corps: "Inter", "Segoe UI", Arial, sans-serif;
  --courbe: cubic-bezier(.22, 1, .36, 1);
}

@view-transition { navigation: auto; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--corps);
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nuit); }
::selection { background: var(--or-clair); color: var(--nuit); }
.conteneur { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Accessibilité */
.lien-evitement { position: absolute; left: -9999px; }
.lien-evitement:focus { left: 16px; top: 16px; background: var(--nuit); color: #fff; padding: 8px 12px; z-index: 100; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 6px; }

/* Barre de progression de lecture */
.progression { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--or), var(--or-clair)); pointer-events: none; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s; }
.entete.defile { border-bottom-color: var(--bord); box-shadow: 0 8px 30px -12px rgba(10, 34, 56, .18); background: rgba(255, 255, 255, .9); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; transition: min-height .3s var(--courbe); }
.entete.defile .conteneur { min-height: 62px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marque img { width: 46px; height: 46px; object-fit: contain; border-radius: 10px; transition: transform .5s var(--courbe); }
.marque:hover img { transform: rotate(-6deg) scale(1.06); }
.marque span { font-family: var(--titres); font-weight: 600; letter-spacing: .2em; font-size: 17px; color: var(--nuit); }
.marque span b { color: var(--or); font-weight: 600; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.nav a:not(.bouton) { position: relative; text-decoration: none; color: var(--nuit); font-weight: 500; padding: 8px 14px; border-radius: 8px; font-size: 15px; transition: background .2s, color .2s; }
.nav a:not(.bouton):hover { background: var(--clair); }
.nav a:not(.bouton)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--or); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--courbe); }
.nav a[aria-current="page"]::after, .nav a:not(.bouton):hover::after { transform: scaleX(1); }
.nav .bouton { margin-left: 8px; }
.bouton-menu { display: none; background: #fff; border: 1px solid var(--bord); border-radius: 10px; padding: 8px 14px; font: 500 15px var(--corps); color: var(--nuit); cursor: pointer; }

/* ---------- Boutons ---------- */
.bouton { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--rayon-s); font: 600 16px var(--corps); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--courbe), box-shadow .25s var(--courbe), background .2s, border-color .2s, color .2s; }
.bouton:hover { transform: translateY(-2px); }
.bouton:active { transform: translateY(0) scale(.98); }
/* reflet qui traverse le bouton au survol */
.bouton::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--courbe); }
.bouton:hover::after { transform: translateX(120%); }
.bouton-or { background: linear-gradient(180deg, #c49a58, var(--or)); color: var(--nuit); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 18px -6px rgba(179, 139, 74, .7); }
.bouton-or:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 28px -8px rgba(179, 139, 74, .85); }
.bouton-nuit { background: var(--nuit); color: #fff; box-shadow: 0 6px 18px -6px rgba(10, 34, 56, .6); }
.bouton-nuit:hover { background: var(--nuit-3); }
.bouton-contour { border-color: var(--bord); color: var(--nuit); background: #fff; box-shadow: 0 1px 2px rgba(10, 34, 56, .05); }
.bouton-contour:hover { border-color: var(--or); background: var(--clair-2); }
.bouton-wa { background: linear-gradient(180deg, #25a25b, var(--vert-wa)); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 18px -6px rgba(31, 143, 78, .7); }
.bouton-wa:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 12px 28px -8px rgba(31, 143, 78, .8); }
.nav .bouton { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.fleche { display: inline-block; transition: transform .3s var(--courbe); }
.bouton:hover .fleche { transform: translateX(4px); }

/* ---------- Sections ---------- */
section { padding: 96px 0; position: relative; }
.fond-clair { background: var(--clair-2); border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord); }
.surtitre { font-family: var(--titres); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 600; color: var(--or-texte); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--titres); color: var(--nuit); line-height: 1.15; margin: 0 0 16px; letter-spacing: -.02em; }
h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.chapeau { font-size: 19px; color: var(--gris); max-width: 700px; }
.centre { text-align: center; }
.centre .chapeau { margin-left: auto; margin-right: auto; }

/* Zones sombres (hero, bandeau MRE, appel final) : textes et boutons adaptés */
.hero, .fond-nuit, .appel-final .panneau { color: #fff; }
.hero h1, .hero h2, .hero h3, .fond-nuit h1, .fond-nuit h2, .fond-nuit h3, .appel-final .panneau h2 { color: #fff; }
.hero .chapeau, .fond-nuit .chapeau, .appel-final .panneau .chapeau { color: var(--gris-clair); }
.hero .surtitre, .fond-nuit .surtitre { color: var(--or-clair); }
.hero .bouton-contour, .fond-nuit .bouton-contour, .appel-final .panneau .bouton-contour { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); color: #fff; box-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero .bouton-contour:hover, .fond-nuit .bouton-contour:hover, .appel-final .panneau .bouton-contour:hover { background: rgba(255, 255, 255, .12); border-color: var(--or-clair); }
.fond-nuit a:not(.bouton) { color: #fff; }

/* Décor commun des zones sombres : quadrillage d'architecte + halos */
.decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.decor::before { content: ""; position: absolute; inset: -1px; background-image: linear-gradient(rgba(214, 180, 121, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(214, 180, 121, .07) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%); }
.decor::after { content: ""; position: absolute; width: 640px; height: 640px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(179, 139, 74, .32), transparent 65%); filter: blur(20px); animation: halo 14s ease-in-out infinite alternate; }
@keyframes halo { to { transform: translate(-80px, 60px) scale(1.15); } }

/* ---------- Hero ---------- */
.hero { padding: 104px 0 112px; background: radial-gradient(ellipse 60% 50% at 0% 100%, rgba(22, 58, 92, .9), transparent), linear-gradient(180deg, #071a2c 0%, var(--nuit) 100%); overflow: hidden; isolation: isolate; }
.hero > .conteneur { position: relative; z-index: 1; }
/* halo qui suit la souris */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(500px circle at var(--hx, 70%) var(--hy, 30%), rgba(214, 180, 121, .10), transparent 60%); transition: background .2s; }
.hero .grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 em, .titre-or { font-style: normal; background: linear-gradient(100deg, var(--or) 0%, #f0d49c 45%, var(--or) 60%, #e5c385 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: reflet-or 6s ease-in-out infinite; }
@keyframes reflet-or { 50% { background-position: 100% 0; } }
.hero .surtitre { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; border: 1px solid rgba(214, 180, 121, .35); background: rgba(214, 180, 121, .08); letter-spacing: .14em; }
.hero .surtitre::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--or-clair); box-shadow: 0 0 0 0 rgba(214, 180, 121, .7); animation: pouls 2s infinite; }
@keyframes pouls { 70% { box-shadow: 0 0 0 9px rgba(214, 180, 121, 0); } 100% { box-shadow: 0 0 0 0 rgba(214, 180, 121, 0); } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.reassurance { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--gris); font-size: 15px; }
.hero .reassurance { color: var(--gris-clair); }
.reassurance li { display: inline-flex; align-items: center; gap: 8px; }
.reassurance li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: rgba(214, 180, 121, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6b479' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* Entrée du hero au chargement */
.js .hero .conteneur > *, .js .hero .grille > :first-child > * { animation: entree 1s var(--courbe) both; }
.js .hero .grille > :first-child > :nth-child(2), .js .hero .conteneur > :nth-child(2) { animation-delay: .08s; }
.js .hero .grille > :first-child > :nth-child(3), .js .hero .conteneur > :nth-child(3) { animation-delay: .16s; }
.js .hero .grille > :first-child > :nth-child(4), .js .hero .conteneur > :nth-child(4) { animation-delay: .24s; }
.js .hero .grille > :first-child > :nth-child(5), .js .hero .conteneur > :nth-child(5) { animation-delay: .32s; }
.js .hero .grille > :first-child { animation: none; }
.js .hero .grille > :last-child { animation: entree-visuel 1.3s var(--courbe) .2s both; }
@keyframes entree { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } }
@keyframes entree-visuel { from { opacity: 0; transform: perspective(1000px) rotateY(-14deg) translateY(30px) scale(.96); } }

/* Carte en verre (hero MRE, rendez-vous) avec bordure dorée animée */
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.carte-hero { position: relative; border-radius: 22px; padding: 34px; color: #fff; background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); border: 1px solid var(--bord-sombre); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.carte-hero::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--angle), transparent 0 70%, var(--or-clair) 85%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: tour 6s linear infinite; pointer-events: none; }
@keyframes tour { to { --angle: 360deg; } }
.carte-hero h2 { color: #fff; font-size: 24px; }
.carte-hero p { color: var(--gris-clair); }
.carte-hero .prix { font-family: var(--titres); font-size: 52px; letter-spacing: -.03em; line-height: 1.1; margin: 8px 0; font-weight: 700; color: var(--or-clair); }

/* ---------- Scène 3D de l'accueil ---------- */
.scene-3d { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; justify-self: center; }
.scene-3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.2s ease; }
.scene-3d.avec-3d canvas { opacity: 1; }
.scene-3d::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(214, 180, 121, .18), transparent 65%); filter: blur(10px); }
.repli-3d { position: absolute; inset: 22%; width: 56%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(214, 180, 121, .4), 0 0 80px rgba(214, 180, 121, .35); animation: flotte 6s ease-in-out infinite; transition: opacity .6s; }
.scene-3d.avec-3d .repli-3d { opacity: 0; }
.badge-3d { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #fff; white-space: nowrap; background: rgba(10, 34, 56, .55); border: 1px solid rgba(214, 180, 121, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6); animation: flotte 6s ease-in-out infinite; }
.badge-3d i { font-style: normal; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 700; background: var(--or-clair); color: var(--nuit); }
.badge-3d.attention i { background: transparent; color: var(--or-clair); border: 1.5px solid var(--or-clair); }
.badge-3d:nth-of-type(1) { top: 12%; left: -2%; }
.badge-3d:nth-of-type(2) { top: 30%; right: -4%; animation-delay: -1.5s; }
.badge-3d:nth-of-type(3) { bottom: 26%; left: -6%; animation-delay: -3s; }
.badge-3d:nth-of-type(4) { bottom: 9%; right: 4%; animation-delay: -4.5s; }
@keyframes flotte { 50% { transform: translateY(-10px); } }

/* Bloc "avis gratuit" qui chevauche le bas du hero */
.avis-gratuit { padding: 0; margin-top: -64px; z-index: 3; }
.avis-gratuit .boite { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--bord); border-radius: 22px; padding: 26px 30px; box-shadow: var(--ombre-haute); }
.avis-gratuit .prix-zero { font-family: var(--titres); font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: -.03em; color: var(--nuit); text-align: center; padding: 16px 22px; border-radius: 16px; background: var(--clair-2); border: 1px solid var(--bord); }
.avis-gratuit .prix-zero small { display: block; font: 600 11px var(--titres); letter-spacing: .16em; color: var(--or-texte); margin-top: 6px; }
.avis-gratuit h2 { font-size: 22px; margin: 0 0 4px; }
.avis-gratuit p { margin: 0; color: var(--gris); }
.avis-gratuit .note { font-size: 14px; margin-top: 4px; }

/* Bande défilante */
.defilant { padding: 34px 0 30px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.defilant .piste { display: flex; width: max-content; animation: defile 40s linear infinite; }
.defilant:hover .piste { animation-play-state: paused; }
.defilant ul { display: flex; gap: 48px; margin: 0; padding: 0 24px; list-style: none; }
.defilant li { display: inline-flex; align-items: center; gap: 48px; font: 600 15px var(--titres); color: var(--nuit); white-space: nowrap; letter-spacing: .02em; }
.defilant li::after { content: "◆"; color: var(--or); font-size: 9px; }
@keyframes defile { to { transform: translateX(-50%); } }

/* Chiffres clés */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border: 1px solid var(--bord); border-radius: 20px; background: #fff; box-shadow: var(--ombre); overflow: hidden; }
.chiffres li { padding: 30px 24px; text-align: center; border-right: 1px solid var(--bord); }
.chiffres li:last-child { border-right: 0; }
.chiffres b { display: block; font: 700 clamp(36px, 4vw, 48px)/1 var(--titres); letter-spacing: -.03em; color: var(--nuit); }
.chiffres b span { color: var(--or); }
.chiffres b em { font-style: normal; font-variant-numeric: tabular-nums; }
.chiffres small { display: block; margin-top: 10px; color: var(--gris); font-size: 15px; }

/* ---------- Cartes ---------- */
.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.grille-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px; }
.grille-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.carte { position: relative; background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); padding: 28px; box-shadow: var(--ombre); transition: transform .4s var(--courbe), box-shadow .4s var(--courbe), border-color .3s; transform-style: preserve-3d; }
/* lumière qui suit la souris */
.carte::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(179, 139, 74, .12), transparent 45%); }
.carte:hover { box-shadow: var(--ombre-haute); border-color: #d9cdb8; }
.carte:hover::before { opacity: 1; }
.carte > * { position: relative; }
.carte p { margin: 0; color: var(--gris); }
.carte h3 { margin-top: 2px; }
.carte .icone { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; font-size: 24px; border-radius: 14px; background: linear-gradient(145deg, #fbf6ee, #f1e6d3); border: 1px solid #eadcc4; box-shadow: inset 0 1px 0 #fff, 0 6px 14px -6px rgba(179, 139, 74, .45); transition: transform .5s var(--courbe); }
.carte:hover .icone { transform: translateZ(30px) rotate(-6deg) scale(1.08); }
.fond-nuit .carte { background: rgba(255, 255, 255, .05); border-color: var(--bord-sombre); box-shadow: none; }
.fond-nuit .carte p { color: var(--gris-clair); }

/* ---------- Étapes (frise) ---------- */
.etapes { counter-reset: etape; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 48px; padding: 0; list-style: none; }
.etapes::before { content: ""; position: absolute; top: 49px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--or), var(--or-clair), var(--or)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--courbe) .3s; }
.etapes.visible::before, html:not(.js) .etapes::before { transform: scaleX(1); }
.etapes li { position: relative; background: #fff; border-radius: var(--rayon); padding: 26px 22px 24px; border: 1px solid var(--bord); box-shadow: var(--ombre); text-align: center; transition: transform .4s var(--courbe), box-shadow .4s; }
.etapes li:hover { transform: translateY(-6px); box-shadow: var(--ombre-haute); }
.etapes li::before { counter-increment: etape; content: counter(etape, decimal-leading-zero); display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%; background: var(--nuit); color: var(--or-clair); font: 700 15px var(--titres); box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--bord); }
.etapes p { margin: 0; color: var(--gris); }
.etapes h3 { font-size: 17px; }

/* ---------- Tarifs ---------- */
.cartes-tarifs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.carte-tarif { display: flex; flex-direction: column; }
.carte-tarif .etiquette { align-self: flex-start; font: 600 11px var(--titres); letter-spacing: .12em; text-transform: uppercase; color: var(--or-texte); background: #fbf6ee; border: 1px solid #eadcc4; padding: 5px 10px; border-radius: 999px; margin-bottom: 18px; }
.carte-tarif h3 { margin-bottom: 6px; }
.carte-tarif .desc { font-size: 15px; margin-bottom: 22px; }
.carte-tarif .montant { margin-bottom: 0; margin-top: auto !important; line-height: 1.5; padding-top: 18px; border-top: 1px dashed var(--bord); }
.carte-tarif .montant b { font: 700 36px/1 var(--titres); letter-spacing: -.03em; color: var(--nuit); }
.carte-tarif .montant b small { font-size: 15px; letter-spacing: 0; color: var(--gris); font-weight: 600; margin-left: 4px; }
.note-tarifs { text-align: center; margin-top: 26px; color: var(--gris); font-size: 15px; }

.tableau-tarifs { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 34px; background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); }
.tableau-tarifs th, .tableau-tarifs td { padding: 20px 22px; text-align: left; border-bottom: 1px solid var(--bord); vertical-align: middle; }
.tableau-tarifs tbody tr { transition: background .2s; }
.tableau-tarifs tbody tr:hover { background: var(--clair-2); }
.tableau-tarifs tr:last-child td { border-bottom: 0; }
.tableau-tarifs thead th { background: var(--nuit); color: var(--or-clair); font-family: var(--titres); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.tableau-tarifs td:last-child, .tableau-tarifs th:last-child { text-align: right; white-space: nowrap; }
.tableau-tarifs .detail { display: block; color: var(--gris); font-size: 15px; }
.barre { text-decoration: line-through; text-decoration-color: rgba(179, 139, 74, .8); color: var(--gris); font-size: 15px; margin-right: 8px; }
.prix-fort { font-family: var(--titres); font-weight: 700; font-size: 20px; color: var(--nuit); letter-spacing: -.01em; }
.gratuit { color: var(--or-texte); }
.bandeau { position: relative; overflow: hidden; margin-top: 26px; background: linear-gradient(100deg, #b38b4a, #d6b479 50%, #b38b4a); background-size: 200% 100%; color: var(--nuit); border-radius: var(--rayon); padding: 22px 26px; font-weight: 600; box-shadow: 0 14px 30px -14px rgba(179, 139, 74, .8); animation: reflet-or 8s ease-in-out infinite; }
.bandeau span { display: block; font-weight: 400; }

/* ---------- Listes ---------- */
.liste-coche { list-style: none; padding: 0; margin: 18px 0 0; }
.liste-coche li { padding-left: 34px; position: relative; margin-bottom: 12px; }
.liste-coche li::before { content: "✓"; position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 700; color: var(--or-texte); background: #fbf6ee; border: 1px solid #eadcc4; }
.liste-croix li::before { content: "✕"; color: #8a3b3b; background: #f8eeee; border-color: #ecd6d6; }

/* ---------- FAQ (accordéon) ---------- */
.faq { max-width: 820px; margin: 34px auto 0; border: 1px solid var(--bord); border-radius: var(--rayon); background: #fff; box-shadow: var(--ombre); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--bord); padding: 0 24px; overflow: hidden; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--nuit); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; transition: color .2s; }
.faq summary:hover { color: var(--or-texte); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--or-texte); border-bottom: 2px solid var(--or-texte); transform: translateY(-3px) rotate(45deg); transition: transform .35s var(--courbe); }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { margin: 0 0 20px; color: var(--gris); }

/* ---------- À propos ---------- */
.portrait-photo { border-radius: 24px; aspect-ratio: 4 / 5; width: 100%; max-width: 440px; object-fit: cover; justify-self: center; box-shadow: 0 0 0 1px rgba(214, 180, 121, .35), 0 40px 80px -24px rgba(0, 0, 0, .6); transition: transform .5s var(--courbe); }
.portrait { border-radius: 20px; background: var(--clair); aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; color: var(--gris); text-align: center; padding: 20px; border: 2px dashed var(--bord); }

/* ---------- Bandeau sombre (MRE) ---------- */
.fond-nuit { background: linear-gradient(135deg, #071a2c, var(--nuit) 50%, var(--nuit-3)); overflow: hidden; isolation: isolate; }
.fond-nuit > .conteneur { position: relative; z-index: 1; }

/* ---------- Appel final ---------- */
.appel-final { text-align: center; }
.appel-final .actions { justify-content: center; }
.appel-final .chapeau { margin-left: auto; margin-right: auto; }
.appel-final .panneau { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: 76px 32px; background: radial-gradient(ellipse 70% 80% at 50% 120%, rgba(179, 139, 74, .35), transparent 60%), linear-gradient(180deg, var(--nuit-2), var(--nuit)); box-shadow: var(--ombre-haute); }
.appel-final .panneau > *:not(.decor) { position: relative; z-index: 1; }

/* ---------- Pied de page ---------- */
.pied { position: relative; overflow: hidden; background: #071a2c; color: var(--gris-clair); padding: 64px 0 30px; font-size: 15px; }
.pied::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--or), transparent); }
.pied::after { content: "LABO IMMO"; position: absolute; left: 50%; bottom: -0.32em; transform: translateX(-50%); font: 700 clamp(80px, 16vw, 220px)/1 var(--titres); letter-spacing: .08em; color: rgba(214, 180, 121, .045); white-space: nowrap; pointer-events: none; }
.pied .conteneur { position: relative; z-index: 1; }
.pied a { color: #fff; text-decoration: none; transition: color .2s; }
.pied a:hover { color: var(--or-clair); }
.pied .grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.pied h3 { color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: 10px; }
.signature { font-family: var(--titres); letter-spacing: .16em; text-transform: uppercase; color: var(--or); font-size: 12px; margin-top: 12px; }
.mentions { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 44px; padding-top: 22px; font-size: 13px; color: #8a9bb0; }

/* ---------- Bouton WhatsApp flottant ---------- */
.wa-flottant { position: fixed; right: 20px; bottom: 20px; z-index: 60; background: linear-gradient(180deg, #25a25b, var(--vert-wa)); color: #fff; border-radius: 999px; padding: 14px 20px; font-weight: 600; text-decoration: none; box-shadow: 0 10px 30px -6px rgba(31, 143, 78, .6); display: flex; align-items: center; gap: 8px; transition: transform .3s var(--courbe); }
.wa-flottant::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25a25b; animation: onde 2.4s ease-out infinite; }
.wa-flottant:hover { transform: translateY(-3px) scale(1.03); }
@keyframes onde { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(1.35); } }

/* Encadré rendez-vous */
.rdv { border: 1px solid var(--or); box-shadow: 0 0 0 4px rgba(179, 139, 74, .12), var(--ombre); }

/* ---------- Apparition au défilement ---------- */
.js [data-apparition] { opacity: 0; transform: translateY(28px); filter: blur(4px); transition: opacity .9s var(--courbe), transform .9s var(--courbe), filter .9s var(--courbe); transition-delay: var(--delai, 0s); }
.js [data-apparition].visible { opacity: 1; transform: none; filter: none; }
.js .carte[data-apparition].visible, .js .etapes li[data-apparition].visible { transition: opacity .9s var(--courbe) var(--delai, 0s), transform .4s var(--courbe), filter .9s var(--courbe) var(--delai, 0s), box-shadow .4s var(--courbe), border-color .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .cartes-tarifs { grid-template-columns: 1fr 1fr; }
  .badge-3d:nth-of-type(2) { right: 0; }
}
@media (max-width: 960px) {
  section { padding: 76px 0; }
  .hero { padding: 72px 0 104px; }
  .hero .grille, .grille-3, .grille-2, .pied .grille { grid-template-columns: 1fr; }
  .hero .grille { gap: 32px; }
  .scene-3d { max-width: 440px; }
  .grille-4, .etapes, .chiffres { grid-template-columns: 1fr 1fr; }
  .etapes::before { display: none; }
  .chiffres li:nth-child(2) { border-right: 0; }
  .chiffres li:nth-child(-n+2) { border-bottom: 1px solid var(--bord); }
  .avis-gratuit .boite { grid-template-columns: auto 1fr; }
  .avis-gratuit .boite .actions { grid-column: 1 / -1; margin-top: 0; }
  .bouton-menu { display: inline-block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--bord); box-shadow: 0 20px 30px -20px rgba(10, 34, 56, .3); display: none; }
  .nav.ouvert { display: block; animation: entree .4s var(--courbe); }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; }
  .nav a:not(.bouton) { display: block; padding: 12px; }
  .nav a:not(.bouton)::after { display: none; }
  .nav .bouton { margin: 8px 0 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .hero { padding: 56px 0 96px; }
  .chapeau { font-size: 17px; }
  .actions .bouton { flex: 1 1 100%; }
  .grille-4, .etapes, .cartes-tarifs { grid-template-columns: 1fr; }
  .badge-3d { font-size: 12px; padding: 6px 11px 6px 8px; }
  .badge-3d i { width: 18px; height: 18px; font-size: 10px; }
  .badge-3d:nth-of-type(1) { left: 0; }
  .badge-3d:nth-of-type(3) { left: 0; }
  .avis-gratuit .boite { grid-template-columns: 1fr; text-align: center; padding: 24px 20px; gap: 16px; }
  .avis-gratuit .prix-zero { justify-self: center; }
  .chiffres li { padding: 22px 12px; }
  .carte-tarif .desc { min-height: 0; }
  .tableau-tarifs th, .tableau-tarifs td { padding: 14px 12px; }
  .tableau-tarifs td:last-child { white-space: normal; }
  .appel-final .panneau { padding: 52px 20px; border-radius: 22px; }
  .wa-flottant span { display: none; }
  .wa-flottant { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-apparition] { opacity: 1; transform: none; filter: none; }
}

/* =========================================================================
   Scan Annonce (scan-annonce.html)
   ========================================================================= */
.scan-principe { margin-top: 22px; color: var(--gris); font-size: 15px; max-width: 640px; }
.hero .scan-principe { color: #9fb0c3; }
.scan-section { padding: 56px 0 72px; }
.scan-boite { max-width: 720px; margin: 0 auto; }
.scan-boite-large { max-width: 920px; }
.scan-progression { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; color: var(--gris); font-size: 15px; white-space: nowrap; }
.scan-barre { flex: 1; height: 8px; background: var(--clair); border-radius: 99px; overflow: hidden; }
.scan-barre span { display: block; height: 100%; background: linear-gradient(90deg, var(--or), var(--or-clair)); border-radius: 99px; transition: width .45s var(--courbe); }
.scan-question { border: 0; margin: 0; padding: 0; min-width: 0; animation: entree .6s var(--courbe); }
.scan-question legend { font-family: var(--titres); font-weight: 700; color: var(--nuit); font-size: 26px; line-height: 1.25; letter-spacing: -.02em; padding: 0; margin-bottom: 8px; outline: none; }
.scan-aide { color: var(--gris); margin: 0; }
.scan-options { display: grid; gap: 12px; margin-top: 22px; }
.scan-option { display: flex; align-items: flex-start; gap: 14px; background: #fff; border: 1px solid var(--bord); border-radius: 14px; padding: 16px 18px; cursor: pointer; min-height: 56px; box-shadow: var(--ombre); transition: border-color .2s, background .2s, transform .25s var(--courbe), box-shadow .25s; }
.scan-option:hover { border-color: var(--or); transform: translateY(-2px); }
.scan-option input { accent-color: var(--nuit); width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.scan-option b { display: block; color: var(--nuit); font-weight: 600; }
.scan-option small { display: block; color: var(--gris); font-size: 14px; margin-top: 2px; }
.scan-option:has(input:checked) { border-color: var(--or); background: #fbf7f0; box-shadow: 0 0 0 3px rgba(179, 139, 74, .18); }
.scan-option:focus-within { outline: 2px solid var(--or); outline-offset: 2px; }
.scan-champ { margin-top: 20px; }
.scan-champ label { display: block; font-weight: 500; color: var(--nuit); margin-bottom: 6px; font-size: 15px; }
.scan-champ input { width: 100%; max-width: 280px; font: inherit; padding: 12px 14px; border: 1px solid var(--bord); border-radius: 10px; color: var(--texte); transition: border-color .2s, box-shadow .2s; }
.scan-champ input:focus { border-color: var(--or); outline: none; box-shadow: 0 0 0 3px rgba(179, 139, 74, .18); }
.scan-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.scan-nav-droite { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.bouton[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.bouton-lien { background: none; border: 0; color: var(--nuit); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 13px 6px; }
.scan-resultat-tete { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; animation: entree .8s var(--courbe); }
.scan-resultat-tete h2 { outline: none; margin-bottom: 12px; }
.scan-jauge { position: relative; width: 200px; height: 200px; filter: drop-shadow(0 12px 24px rgba(10, 34, 56, .12)); }
.scan-jauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.scan-jauge .piste { fill: none; stroke: var(--clair); stroke-width: 14; }
.scan-jauge .arc { fill: none; stroke-width: 14; stroke-linecap: round; }
.scan-jauge .valeur { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--titres); }
.scan-jauge .valeur b { font-size: 60px; color: var(--nuit); line-height: 1; letter-spacing: -.03em; }
.scan-jauge .valeur span { color: var(--gris); font-size: 16px; margin-top: 4px; }
.niveau-vigilance .arc { stroke: #b3412e; }
.niveau-ombre .arc { stroke: var(--or); }
.niveau-clair .arc { stroke: #2f8a57; }
.scan-confiance { display: inline-block; margin: 0; padding: 6px 14px; border-radius: 99px; font-size: 15px; background: var(--clair); color: var(--nuit); }
.confiance-faible { background: #fbeceb; color: #8a3324; }
.confiance-eleve { background: #e8f4ec; color: #22663f; }
.scan-confiance-texte { color: var(--gris); margin: 10px 0 0; font-size: 15px; }
.scan-alerte { background: #fbeceb; border: 1px solid #b3412e; color: #7a2a1f; border-radius: var(--rayon); padding: 18px 22px; margin-top: 28px; }
.scan-alerte strong { display: block; font-size: 18px; }
.scan-alerte p { margin: 6px 0 0; }
.liste-vigilance li::before { content: "!"; color: #b3412e; background: #fbeceb; border-color: #f0cfc9; }
.scan-prix, .scan-ne-voit-pas, .scan-cta { margin-top: 22px; }
.scan-prix h3, .scan-ne-voit-pas h3 { margin-bottom: 8px; }
.scan-ne-voit-pas { background: var(--clair-2); box-shadow: none; }
.scan-urgent { font-weight: 600; color: #b3412e !important; margin: 0 0 10px !important; }
.scan-offres { display: grid; gap: 12px; margin-top: 18px; }
.scan-offre { border-left: 3px solid var(--or); background: var(--clair-2); padding: 14px 18px; border-radius: 0 12px 12px 0; color: var(--texte); }
.scan-sans-commission { margin-top: 18px !important; font-size: 14px; color: var(--or-texte) !important; font-weight: 600; }
.scan-mention { font-size: 14px; color: var(--gris); text-align: center; margin-top: 22px; }
.scan-donnees { padding: 56px 0; font-size: 15px; color: var(--gris); }
.scan-donnees h2 { font-size: 22px; }
.scan-donnees .scan-mention { text-align: left; }
.scan-test { background: #fff3cd; border-bottom: 2px solid var(--or); padding: 10px 20px; font: 14px/1.4 monospace; color: var(--nuit); }
@media (max-width: 600px) {
  .scan-section { padding: 28px 0 48px; }
  .scan-question legend { font-size: 22px; }
  .scan-resultat-tete { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; }
  .scan-nav-droite .bouton { flex: 1; }
  .scan-nav .bouton { white-space: nowrap; padding-left: 18px; padding-right: 18px; flex: 0 1 auto; }
  .scan-nav-droite { flex: 1; }
}
.scan-en-cours .wa-flottant { display: none; }

/* Page mentions légales */
.texte-legal .conteneur { max-width: 820px; }
.texte-legal h2 { font-size: 22px; margin: 36px 0 12px; }
.texte-legal h2:first-child { margin-top: 0; }
.texte-legal p, .texte-legal li { color: var(--gris); }
.texte-legal ul { padding-left: 20px; }
.texte-legal li { margin-bottom: 6px; }
.texte-legal .maj { margin-top: 32px; font-size: 14px; }
.a-completer { background: #fdecea; color: #C0392B; font-weight: 600; padding: 0 4px; border-radius: 4px; }
