/* =================================================================
   Stéphane Mikobi – feuille de style
   Identité « Aurore » (version claire) : fond lumineux, halos violet / cyan / ambre,
   verre dépoli et animations douces.
   ================================================================= */

:root {
  /* Fonds et surfaces (version claire) */
  --fond: #F7F8FD;
  --fond-2: #EEF0FB;
  --surface: #FFFFFF;
  --surface-2: #F2F3FB;
  --surface-solide: #FFFFFF;
  --champ: #FFFFFF;
  --trait: rgba(24, 28, 70, .10);
  --trait-fort: rgba(24, 28, 70, .18);

  /* Texte */
  --texte: #151836;
  --texte-doux: #4A5077;
  --texte-faible: #666C93;
  --sur-degrade: #FFFFFF;

  /* Couleurs vives */
  --violet: #7C3AED;
  --violet-clair: #8B5CF6;
  --cyan: #0E7490;
  --rose: #EC4899;
  --ambre: #F59E0B;
  --ambre-texte: #B45309;
  --vert: #047857;
  --vert-wa: #1FA855;
  --rouge: #DC2626;

  --grad: linear-gradient(115deg, #7C3AED 0%, #0891B2 55%, #D97706 100%);
  --grad-bouton: linear-gradient(115deg, #7C3AED 0%, #0E7490 100%);
  --ombre: 0 24px 60px rgba(40, 30, 110, .14);

  /* Alias utilisés par certains gabarits */
  --blanc: #FFFFFF;
  --nuit: var(--texte);
  --nuit-2: var(--surface-2);
  --or: var(--ambre);
  --or-fonce: var(--ambre-texte);
  --gris: var(--texte-doux);
  --gris-clair: var(--texte-doux);
  --bleu: var(--cyan);
  --bord: var(--trait);
  --papier: var(--fond);
  --encre: var(--texte);

  --titre: "Bricolage Grotesque", "Arial Black", sans-serif;
  --texte-police: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --italique: "Instrument Serif", Georgia, serif;

  --largeur: 1200px;
  --rayon: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--texte-police);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Grain très léger sur tout le site */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200; opacity: .02;
  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='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--violet); color: var(--blanc); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--violet-clair); }
h1, h2, h3 { font-family: var(--titre); line-height: 1.05; margin: 0; color: var(--texte); letter-spacing: -.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
h1 em, h2 em {
  font-family: var(--italique); font-style: italic; font-weight: 400; letter-spacing: 0;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.conteneur { width: min(100% - 40px, var(--largeur)); margin-inline: auto; position: relative; }
.conteneur-etroit { max-width: 840px; }
.section { padding: 110px 0; position: relative; }
.section-sombre { background: var(--fond-2); overflow: hidden; }
.section-sombre::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 15% 0%, rgba(139, 92, 246, .16), transparent 70%),
              radial-gradient(500px 300px at 90% 100%, rgba(34, 211, 238, .10), transparent 70%);
}
.section-clair { background: linear-gradient(180deg, transparent, rgba(139, 92, 246, .06) 50%, transparent); }
.entete-section { display: flex; flex-direction: column; gap: 14px; max-width: 700px; margin-bottom: 52px; }
.entete-section p { color: var(--texte-doux); font-size: 1.1rem; }
.surtitre {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; color: var(--cyan);
}
.entete-section .surtitre::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.aller-contenu { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--cyan); color: var(--sur-degrade); padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.aller-contenu:focus { top: 12px; }
.petit { font-size: .94rem; color: var(--texte-doux); }
.fort { font-weight: 800; color: var(--texte); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pile { display: flex; flex-direction: column; gap: 18px; }
.pile .btn { align-self: flex-start; }

/* Barre de progression de lecture */
.progression-lecture { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 120; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--lecture, 0)); }

/* ---------- Apparition au défilement ---------- */
.js [data-revele] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delai, 0s); }
.js [data-revele].revele { opacity: 1; transform: none; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--texte-police); font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background-color .2s, border-color .2s, color .2s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-or { background: var(--grad-bouton); color: var(--sur-degrade); box-shadow: 0 10px 30px rgba(124, 58, 237, .25); }
.btn-or:hover { color: var(--sur-degrade); box-shadow: 0 14px 40px rgba(124, 58, 237, .35); }
.btn-ligne { border-color: var(--trait-fort); color: var(--texte); background: var(--surface); backdrop-filter: blur(8px); }
.btn-ligne:hover { border-color: var(--cyan); color: var(--texte); background: var(--surface-2); }
.btn-nuit { background: var(--surface-2); color: var(--texte); border-color: var(--trait-fort); backdrop-filter: blur(8px); }
.btn-nuit:hover { color: var(--texte); border-color: var(--violet-clair); background: rgba(139, 92, 246, .18); }
.btn-wa { background: var(--vert-wa); color: var(--blanc); }
.btn-wa:hover { background: #22C35F; color: var(--blanc); box-shadow: 0 12px 30px rgba(31, 168, 85, .35); }
.btn-petit { min-height: 38px; padding: 0 14px; font-size: .86rem; gap: 6px; }
.btn-large { width: 100%; }
.btn svg { flex-shrink: 0; }
.appel .btn-nuit, .contact-actions .btn { min-width: 240px; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .65); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s;
}
.entete.defile { background: rgba(255, 255, 255, .9); box-shadow: 0 6px 24px rgba(40, 30, 110, .06); border-bottom-color: var(--trait); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--texte); }
.logo-mono {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0;
  font-family: var(--titre); font-weight: 800; font-size: 1.05rem; color: var(--sur-degrade); background: var(--grad);
  background-size: 200% 200%; animation: glisse-degrade 6s ease-in-out infinite;
}
.logo-texte { display: flex; flex-direction: column; line-height: 1.1; }
.logo-nom { font-family: var(--titre); font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; color: var(--texte); }
.logo-metier { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--texte-faible); }
.menu { display: flex; align-items: center; gap: 2px; }
.menu a { position: relative; color: var(--texte-doux); text-decoration: none; font-weight: 600; font-size: .96rem; padding: 10px 13px; border-radius: 10px; transition: color .2s; }
.menu a:not(.btn):not(.menu-espace)::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.menu a:hover, .menu a[aria-current="page"] { color: var(--texte); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu .menu-espace { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--trait-fort); border-radius: 999px; padding: 8px 16px; margin-left: 6px; color: var(--texte); }
.menu .menu-espace:hover { border-color: var(--cyan); }
.menu .btn { margin-left: 8px; min-height: 44px; padding: 0 20px; color: var(--sur-degrade); }
.menu-bouton { display: none; background: none; border: 0; color: var(--texte); padding: 10px; cursor: pointer; }

@media (max-width: 1100px) {
  .menu-bouton { display: block; }
  .menu {
    display: none; position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255, 255, 255, .98); backdrop-filter: blur(16px); padding: 12px 20px 24px; border-bottom: 1px solid var(--trait);
  }
  .menu.ouvert { display: flex; animation: descendre .3s var(--ease); }
  .menu a { padding: 15px 4px; border-bottom: 1px solid var(--trait); border-radius: 0; }
  .menu a::after { display: none; }
  .menu .menu-espace { margin: 0; border: 0; border-bottom: 1px solid var(--trait); border-radius: 0; padding: 15px 4px; }
  .menu .btn { margin: 16px 0 0; border-radius: 999px; }
}

/* ---------- Animations communes ---------- */
@keyframes glisse-degrade { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes descendre { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes monter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes flotter { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes tourner { to { transform: rotate(360deg); } }
@keyframes derive-1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(8%, 10%) scale(1.15); } }
@keyframes derive-2 { 0%, 100% { transform: translate(0, 0) scale(1.1); } 50% { transform: translate(-10%, -6%) scale(.95); } }
@keyframes derive-3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6%, -12%); } }
@keyframes defiler { to { transform: translateX(-50%); } }
@keyframes pulsation { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 100% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } }
@keyframes clignote { 50% { opacity: 0; } }

/* ---------- Aurore (halos animés) ---------- */
.aurore { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurore span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .28; }
.aurore span:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: -18vw; background: var(--violet); animation: derive-1 18s ease-in-out infinite; }
.aurore span:nth-child(2) { width: 36vw; height: 36vw; right: -10vw; top: 5vw; background: #22D3EE; opacity: .26; animation: derive-2 22s ease-in-out infinite; }
.aurore span:nth-child(3) { width: 26vw; height: 26vw; left: 38%; bottom: -14vw; background: var(--ambre); opacity: .22; animation: derive-3 20s ease-in-out infinite; }
.aurore-douce span { opacity: .14 !important; }
.grille-fond {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--trait) 1px, transparent 1px), linear-gradient(90deg, var(--trait) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

/* ---------- Accueil : héros ---------- */
.heros { position: relative; overflow: hidden; margin-top: -78px; padding-top: 78px; }
.heros .conteneur { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 72px 0 96px; }
.heros-texte { display: flex; flex-direction: column; gap: 26px; }
.pastille {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--trait-fort); backdrop-filter: blur(10px);
  font-size: .88rem; font-weight: 600; color: var(--texte-doux); animation: monter .7s var(--ease) both;
}
.pastille i { width: 9px; height: 9px; border-radius: 50%; background: var(--vert); animation: pulsation 1.8s infinite; }
.heros h1 { animation: monter .8s .08s var(--ease) both; }
.heros-rotation { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--texte-doux); max-width: 560px; animation: monter .8s .16s var(--ease) both; }
.mots { font-weight: 800; color: var(--texte); white-space: nowrap; }
.mots::after { content: "|"; margin-left: 2px; color: var(--cyan); font-weight: 400; animation: clignote 1s steps(1) infinite; }
.heros-actions { display: flex; flex-wrap: wrap; gap: 12px; animation: monter .8s .24s var(--ease) both; }
.chiffres { align-items: start; margin: 10px 0 0; display: grid; grid-template-columns: repeat(4, auto); gap: 18px 34px; justify-content: start; animation: monter .8s .32s var(--ease) both; }
.chiffres div { display: flex; flex-direction: column-reverse; gap: 2px; }
.chiffres dd { margin: 0; font-family: var(--titre); font-weight: 800; font-size: 2.1rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chiffres dt { font-size: .82rem; color: var(--texte-faible); font-weight: 600; max-width: 130px; line-height: 1.3; }

.heros-visuel { position: relative; justify-self: center; width: min(100%, 420px); animation: monter 1s .2s var(--ease) both; }
.anneau { position: relative; border-radius: 50% 50% 40px 40px; padding: 4px; isolation: isolate; }
.anneau::before {
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background: conic-gradient(from 0deg, var(--violet), var(--cyan), var(--ambre), var(--rose), var(--violet));
  animation: tourner 8s linear infinite;
}
.anneau { overflow: hidden; box-shadow: 0 30px 80px rgba(139, 92, 246, .35); }
.anneau img { width: 100%; aspect-ratio: 434 / 560; object-fit: cover; object-position: top; border-radius: calc(50% - 4px) calc(50% - 4px) 36px 36px; background: var(--fond); }
.bulle-flottante {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); border: 1px solid var(--trait-fort);
  font-size: .9rem; font-weight: 700; color: var(--texte); box-shadow: var(--ombre); text-decoration: none; white-space: nowrap;
  animation: flotter 6s ease-in-out infinite;
}
.bulle-flottante svg { color: var(--cyan); }
.bulle-flottante.b1 { top: 18%; left: -18%; }
.bulle-flottante.b2 { top: 48%; right: -14%; animation-delay: -2s; }
.bulle-flottante.b3 { bottom: 10%; left: -10%; animation-delay: -4s; }
.bulle-flottante.b3 svg { color: var(--ambre); }
a.bulle-flottante:hover { border-color: var(--cyan); color: var(--texte); }
@media (max-width: 900px) {
  .heros .conteneur { grid-template-columns: 1fr; padding-top: 40px; }
  .heros-visuel { width: min(80%, 340px); margin-top: 20px; }
  .bulle-flottante.b1 { left: -12%; }
  .bulle-flottante.b2 { right: -10%; }
  .chiffres { grid-template-columns: repeat(2, auto); }
}

/* ---------- Bandeau défilant ---------- */
.defilant { border-block: 1px solid var(--trait); background: rgba(255, 255, 255, .7); overflow: hidden; padding: 20px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.defilant-piste { display: flex; width: max-content; gap: 28px; align-items: center; animation: defiler 40s linear infinite; }
.defilant:hover .defilant-piste { animation-play-state: paused; }
.defilant span { font-family: var(--titre); font-weight: 700; font-size: 1.35rem; color: var(--texte-doux); white-space: nowrap; }
.defilant span:nth-of-type(even) { font-family: var(--italique); font-style: italic; font-weight: 400; font-size: 1.5rem; color: var(--texte); }
.defilant b { color: var(--cyan); font-size: .9rem; }

/* ---------- Cartes : lumière qui suit la souris ---------- */
.lumiere { position: relative; isolation: isolate; }
.lumiere::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(139, 92, 246, .22), transparent 45%);
}
.lumiere:hover::before { opacity: 1; }
.icone {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0;
  color: var(--violet); background: linear-gradient(135deg, rgba(139, 92, 246, .14), rgba(6, 182, 212, .10));
  border: 1px solid var(--trait-fort);
}

/* ---------- Engagements ---------- */
.section-engagements { padding: 72px 0 40px; }
.piliers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pilier { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; transition: border-color .3s, transform .3s var(--ease); }
.pilier:hover { border-color: var(--trait-fort); transform: translateY(-4px); }
.pilier h3 { font-size: 1.15rem; }
.pilier p { color: var(--texte-doux); font-size: .96rem; }
@media (max-width: 960px) { .piliers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .piliers { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.grille-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-ligne {
  display: flex; flex-direction: column; gap: 14px; padding: 30px 28px; border-radius: var(--rayon);
  background: var(--surface); border: 1px solid var(--trait); text-decoration: none; color: inherit;
  transition: border-color .3s, transform .3s var(--ease);
}
.service-ligne:hover { border-color: rgba(139, 92, 246, .6); transform: translateY(-4px); color: inherit; }
.service-ligne p { color: var(--texte-doux); }
.service-ligne .prix-depart { margin-top: auto; font-weight: 700; color: var(--texte-doux); display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--trait); }
.service-ligne .prix-depart span { color: var(--texte); font-family: var(--titre); font-size: 1.2rem; }
.service-ligne .prix-depart::after { content: "→"; color: var(--cyan); transition: transform .3s var(--ease); }
.service-ligne:hover .prix-depart::after { transform: translateX(6px); }
@media (max-width: 960px) { .grille-services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grille-services { grid-template-columns: 1fr; } }

/* ---------- Simulateur de prix ---------- */
.simulateur { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.sim-choix { display: flex; flex-direction: column; gap: 26px; }
.sim-choix fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.sim-choix legend { font-family: var(--titre); font-weight: 700; font-size: 1.15rem; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 0; }
.sim-choix legend b { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: .9rem; background: var(--grad-bouton); color: var(--sur-degrade); }
.sim-services { display: flex; flex-wrap: wrap; gap: 10px; }
.sim-services button {
  font: inherit; font-weight: 700; font-size: .95rem; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  color: var(--texte-doux); background: var(--surface); border: 1.5px solid var(--trait-fort); transition: all .2s;
}
.sim-services button:hover { color: var(--texte); border-color: var(--cyan); }
.sim-services button[aria-pressed="true"] { color: var(--sur-degrade); background: var(--grad-bouton); border-color: transparent; }
.sim-formules { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.sim-formules label, .sim-options label {
  position: relative; cursor: pointer; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--trait);
  transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.sim-formules label { padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.sim-formules label:hover, .sim-options label:hover { border-color: var(--trait-fort); transform: translateY(-2px); }
.sim-formules input, .sim-options input { position: absolute; opacity: 0; pointer-events: none; }
.sim-formules label:has(input:checked), .sim-options label:has(input:checked) { border-color: var(--cyan); background: rgba(34, 211, 238, .08); }
.sim-formules label:has(input:focus-visible), .sim-options label:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 2px; }
.sim-formules strong { font-family: var(--titre); font-size: 1.05rem; }
.sim-formules small { color: var(--texte-faible); font-size: .85rem; line-height: 1.35; }
.sim-formules .sim-prix { margin-top: 8px; font-weight: 800; color: var(--cyan); }
.sim-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.sim-options label { padding: 14px 16px 14px 48px; display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: .95rem; }
.sim-options label::before { content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 6px; border: 2px solid var(--trait-fort); transition: all .2s; }
.sim-options label:has(input:checked)::before { background: var(--cyan); border-color: var(--cyan); box-shadow: inset 0 0 0 3px var(--fond-2); }
.sim-options .sim-prix { color: var(--texte-doux); white-space: nowrap; }
.sim-resultat {
  position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; padding: 30px; border-radius: 24px;
  background: linear-gradient(var(--surface-solide), var(--surface-solide)) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent; box-shadow: 0 30px 80px rgba(139, 92, 246, .25);
}
.sim-total { font-family: var(--titre); font-weight: 800; font-size: clamp(2.8rem, 5vw, 3.6rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.sim-recurrent { color: var(--ambre-texte); font-weight: 700; min-height: 1.2em; }
.sim-detail { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--trait); display: flex; flex-direction: column; gap: 8px; font-size: .93rem; color: var(--texte-doux); }
.sim-detail li { display: flex; justify-content: space-between; gap: 12px; }
.sim-detail li span:last-child { color: var(--texte); font-weight: 700; white-space: nowrap; }
.sim-acompte { font-size: .95rem; color: var(--texte-doux); padding: 12px 14px; border-radius: 12px; background: var(--surface); }
.sim-acompte strong { color: var(--texte); }
@media (max-width: 960px) { .simulateur { grid-template-columns: 1fr; } .sim-resultat { position: static; } }

/* ---------- Formules (cartes de prix) ---------- */
.formules { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; align-items: stretch; }
.formule {
  background: var(--surface); border: 1px solid var(--trait); border-radius: 24px; padding: 34px 30px;
  display: flex; flex-direction: column; gap: 16px; position: relative; color: var(--texte);
  transition: transform .4s var(--ease), border-color .3s; transform-style: preserve-3d;
}
.formule:hover { border-color: var(--trait-fort); }
.formule h3 { font-size: 1.45rem; }
.formule .sous-titre { color: var(--texte-doux); font-size: .98rem; }
.formule .montant { font-family: var(--titre); font-weight: 800; font-size: 2.7rem; line-height: 1; color: var(--texte); }
.formule .a-partir { font-size: .88rem; font-weight: 700; color: var(--texte-faible); text-transform: uppercase; letter-spacing: .08em; }
.formule ul { list-style: none; padding: 18px 0 0; margin: 0; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--trait); }
.formule li { display: flex; gap: 10px; font-size: .98rem; color: var(--texte-doux); }
.formule li::before { content: "✓"; color: var(--cyan); font-weight: 800; }
.formule .btn { margin-top: auto; }
.formule-vedette {
  background: linear-gradient(160deg, rgba(139, 92, 246, .10), #FFFFFF 55%) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent; box-shadow: 0 30px 80px rgba(139, 92, 246, .3);
}
.formule-vedette .montant { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge { position: absolute; top: -14px; left: 26px; background: var(--grad-bouton); color: var(--sur-degrade); font-size: .78rem; font-weight: 800; padding: 6px 14px; border-radius: 999px; letter-spacing: .02em; }

/* ---------- Méthode ---------- */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: etape; list-style: none; padding: 0; margin: 0; position: relative; }
.etapes::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 2px; background: linear-gradient(90deg, var(--violet), var(--cyan), var(--ambre)); opacity: .5; }
.etape { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 0 6px; }
.etape::before {
  counter-increment: etape; content: "0" counter(etape); width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  font-family: var(--titre); font-weight: 800; font-size: 1.2rem; color: var(--texte);
  background: var(--fond-2); border: 1.5px solid var(--trait-fort); box-shadow: 0 0 0 6px var(--fond);
}
.section-sombre .etape::before { box-shadow: 0 0 0 6px var(--fond-2); }
.etape:hover::before { border-color: var(--cyan); color: var(--cyan); }
.etape p { color: var(--texte-doux); }
@media (max-width: 860px) { .etapes { grid-template-columns: 1fr 1fr; } .etapes::before { display: none; } }
@media (max-width: 520px) { .etapes { grid-template-columns: 1fr; } }

/* ---------- Réalisations ---------- */
.grille-realisations { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 22px; }
.realisation { background: var(--surface); border-radius: var(--rayon); overflow: hidden; border: 1px solid var(--trait); display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s; }
.realisation:hover { transform: translateY(-4px); border-color: var(--trait-fort); }
.realisation img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform .6s var(--ease); }
.realisation:hover img { transform: scale(1.04); }
.realisation-corps { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.realisation-corps .meta { font-size: .9rem; color: var(--texte-faible); }
.realisation-corps p { color: var(--texte-doux); }
.vide {
  background: var(--surface); border: 1.5px dashed var(--trait-fort); border-radius: var(--rayon); padding: 40px;
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start; max-width: 700px;
}
.vide p { color: var(--texte-doux); }

/* ---------- Bandeau d'appel ---------- */
.appel { position: relative; overflow: hidden; background: linear-gradient(115deg, #EDE9FE, #CFFAFE 55%, #FEF3C7); }
.appel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 200px at 80% 50%, rgba(255, 255, 255, .6), transparent 70%); }
.appel .conteneur { padding: 72px 0; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.appel p { font-size: 1.12rem; color: var(--texte-doux); margin-top: 10px; }
.appel-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.appel .btn-nuit { background: var(--grad-bouton); color: var(--sur-degrade); border-color: transparent; }

/* ---------- Page intérieure : en-tête ---------- */
.page-entete { position: relative; overflow: hidden; padding: 80px 0 64px; margin-top: -78px; padding-top: 158px; border-bottom: 1px solid var(--trait); }
.page-entete::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 320px at 10% 0%, rgba(139, 92, 246, .16), transparent 70%),
              radial-gradient(600px 300px at 90% 20%, rgba(34, 211, 238, .18), transparent 70%);
}
.page-entete .conteneur { z-index: 1; }
.page-entete h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); animation: monter .7s var(--ease) both; }
.page-entete p { color: var(--texte-doux); font-size: 1.12rem; max-width: 640px; margin-top: 16px; animation: monter .7s .08s var(--ease) both; }
.page-entete-compacte { padding-bottom: 0; padding-top: 128px; }
.page-entete-compacte p { margin-top: 10px; }
.fil { font-size: .92rem; margin-bottom: 18px; color: var(--texte-faible); }
.fil a { color: var(--cyan); text-decoration: none; }

/* ---------- Liste détaillée des services ---------- */
.service-bloc { display: grid; grid-template-columns: 64px 1fr auto; gap: 26px; padding: 34px; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--surface); align-items: start; margin-bottom: 16px; transition: border-color .3s; }
.service-bloc:hover { border-color: var(--trait-fort); }
.service-bloc .icone { width: 64px; height: 64px; }
.service-bloc p { color: var(--texte-doux); margin-top: 8px; max-width: 620px; }
.service-bloc ul { margin: 14px 0 0; padding-left: 20px; color: var(--texte-doux); }
.service-bloc-droite { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; text-align: right; }
.service-bloc-droite .montant { font-family: var(--titre); font-weight: 800; font-size: 1.7rem; color: var(--texte); }
@media (max-width: 760px) { .service-bloc { grid-template-columns: 1fr; padding: 26px; } .service-bloc-droite { align-items: flex-start; text-align: left; } }

/* ---------- Détail d'un service ---------- */
.detail { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.detail-texte { display: flex; flex-direction: column; gap: 20px; font-size: 1.08rem; color: var(--texte-doux); }
.detail-texte h2 { color: var(--texte); }
.detail-texte ul { padding: 0; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.detail-texte li { display: flex; gap: 12px; color: var(--texte); }
.detail-texte li::before { content: "✓"; color: var(--cyan); font-weight: 800; }
.carte-tarifs { background: var(--surface); border: 1px solid var(--trait-fort); border-radius: 24px; padding: 28px; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; backdrop-filter: blur(10px); }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .carte-tarifs { position: static; } }

/* ---------- Tableaux de tarifs ---------- */
.tableau { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: 16px; overflow: hidden; border: 1px solid var(--trait); }
.tableau th, .tableau td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--trait); vertical-align: top; }
.tableau thead th { background: rgba(139, 92, 246, .18); color: var(--texte); font-size: .88rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.tableau tbody tr { transition: background-color .2s; }
.tableau tbody tr:hover { background: var(--surface); }
.tableau tr:last-child td { border-bottom: 0; }
.tableau .col-prix { text-align: right; white-space: nowrap; font-weight: 800; color: var(--texte); }
.tableau .desc { display: block; font-size: .9rem; color: var(--texte-faible); font-weight: 500; }
.tableau .vedette { display: inline-block; margin-left: 8px; background: var(--grad-bouton); color: var(--sur-degrade); font-size: .72rem; font-weight: 800; padding: 2px 10px; border-radius: 999px; vertical-align: middle; }
.sur-devis { color: var(--ambre-texte) !important; }
.defile { overflow-x: auto; }
.bloc-tarif { display: flex; flex-direction: column; gap: 18px; padding: 44px 0; border-bottom: 1px solid var(--trait); }
.bloc-tarif-entete { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.bloc-tarif-entete > div { display: flex; gap: 16px; align-items: center; }
.note { font-size: .96rem; color: var(--texte-doux); background: var(--surface); border: 1px solid var(--trait); border-left: 3px solid var(--ambre); padding: 16px 20px; border-radius: 0 14px 14px 0; }
.note strong { color: var(--texte); }

/* ---------- À propos ---------- */
.apropos { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: center; }
.apropos > img { border-radius: 28px; width: 100%; aspect-ratio: 320 / 440; object-fit: cover; box-shadow: 0 30px 80px rgba(34, 211, 238, .15); outline: 1px solid var(--trait-fort); outline-offset: 10px; }
.apropos-texte { display: flex; flex-direction: column; gap: 18px; font-size: 1.08rem; color: var(--texte-doux); }
.apropos-texte strong, .apropos-texte h2, .apropos-texte h3 { color: var(--texte); }
.devise { font-family: var(--italique); font-style: italic; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.engagements { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.engagements > div { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--trait); }
.engagements p { color: var(--texte-doux); }
.engagements a { color: var(--texte) !important; text-decoration: none; }
.pastilles { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pastilles li { background: var(--surface); border: 1px solid var(--trait-fort); padding: 8px 18px; border-radius: 999px; font-weight: 600; color: var(--texte); }
@media (max-width: 860px) { .apropos { grid-template-columns: 1fr; gap: 40px; } .apropos > img { max-width: 340px; } }

.coches { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.coches li { display: flex; gap: 12px; font-weight: 600; color: var(--texte); }
.coches li::before { content: "✓"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: .75rem; font-weight: 800; color: var(--sur-degrade); background: var(--grad-bouton); margin-top: 2px; }
.coches-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
@media (max-width: 600px) { .coches-2col { grid-template-columns: 1fr; } }

/* ---------- Brochure ---------- */
.brochure-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.brochure-pages a { display: block; border-radius: 14px; overflow: hidden; box-shadow: var(--ombre); border: 1px solid var(--trait); transition: transform .4s var(--ease); }
.brochure-pages a:hover { transform: translateY(-6px) rotate(-.6deg); }
.brochure-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

/* ---------- Formulaires ---------- */
.devis-grille { display: grid; grid-template-columns: 1fr 350px; gap: 40px; align-items: start; }
.formulaire { background: var(--surface); border: 1px solid var(--trait); border-radius: 24px; padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; backdrop-filter: blur(10px); }
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ-large { grid-column: 1 / -1; }
.champ label { font-weight: 700; font-size: .96rem; color: var(--texte); }
.champ .facultatif, .facultatif { font-weight: 500; color: var(--texte-faible); }
.champ input, .champ select, .champ textarea {
  font: inherit; font-size: 1rem; color: var(--texte); background: var(--champ);
  border: 1.5px solid var(--trait-fort); border-radius: 12px; padding: 13px 15px; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.champ select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23A9B0D8' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.champ select option { background: var(--surface-solide); color: var(--texte); }
.champ input::placeholder, .champ textarea::placeholder { color: var(--texte-faible); }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .18); }
.champ input[type="file"] { padding: 10px; }
.champ input[type="checkbox"] { width: auto; }
.champ .aide { font-size: .88rem; color: var(--texte-faible); }
.champ .aide ul { margin: 4px 0 0; padding-left: 18px; }
.champ .erreur { color: var(--rouge); font-size: .92rem; font-weight: 600; }
.champ-invalide input, .champ-invalide select, .champ-invalide textarea { border-color: var(--rouge); }
.piege { position: absolute; left: -9999px; }
.formulaire .btn { justify-self: start; }
.encart { background: linear-gradient(160deg, rgba(139, 92, 246, .25), rgba(34, 211, 238, .08)); border: 1px solid var(--trait-fort); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; }
.encart h2 { font-size: 1.5rem; }
.encart p { color: var(--texte-doux); }
.encart a.lien-contact { color: var(--texte); }
.lien-contact { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; text-decoration: none; color: inherit; }
.lien-contact:hover { color: var(--cyan); }
.alerte { padding: 15px 20px; border-radius: 14px; margin-bottom: 24px; font-weight: 600; background: #FEF2F2; color: #B91C1C; border: 1px solid rgba(248, 113, 113, .3); }
.alerte-success { background: #ECFDF5; color: #047857; border-color: rgba(52, 211, 153, .3); }
.alerte-info { background: #ECFEFF; color: #0E7490; border-color: rgba(34, 211, 238, .28); }
.alerte-warning { background: #FFFBEB; color: #B45309; border-color: rgba(251, 191, 36, .3); }
.alerte-error { background: #FEF2F2; color: #B91C1C; }
.alerte a { color: inherit; }
@media (max-width: 900px) { .devis-grille { grid-template-columns: 1fr; } .encart { position: static; } }
@media (max-width: 600px) { .formulaire { grid-template-columns: 1fr; padding: 24px; } }

/* ---------- Pied de page ---------- */
.pied { position: relative; background: var(--fond-2); color: var(--texte-doux); padding: 80px 0 32px; border-top: 1px solid var(--trait); overflow: hidden; }
.pied::before { content: ""; position: absolute; left: 50%; top: -200px; width: 800px; height: 400px; margin-left: -400px; background: radial-gradient(closest-side, rgba(139, 92, 246, .18), transparent); pointer-events: none; }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.pied h2 { color: var(--texte); font-size: .82rem; font-family: var(--texte-police); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.pied ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pied a { color: var(--texte-doux); text-decoration: none; transition: color .2s; }
.pied a:hover { color: var(--cyan); }
.pied .logo { margin-bottom: 6px; }
.pied-bas { border-top: 1px solid var(--trait); margin-top: 56px; padding-top: 24px; font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--texte-faible); }
@media (max-width: 760px) { .pied-grille { grid-template-columns: 1fr; } }

/* ---------- Bouton WhatsApp flottant ---------- */
.wa-flottant {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: var(--vert-wa); color: var(--blanc);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(31, 168, 85, .45); transition: transform .3s var(--ease);
}
.wa-flottant::after { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: pulsation 2.4s infinite; }
.wa-flottant:hover { transform: scale(1.08); color: var(--blanc); }

/* =================================================================
   Suivi, FAQ, témoignages, espace client
   ================================================================= */
.carte { background: var(--surface); border: 1px solid var(--trait); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 18px; color: var(--texte); backdrop-filter: blur(10px); }
.carte h2 { font-size: 1.3rem; }
.carte-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.grand-chiffre { font-family: var(--titre); font-size: 2.1rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.carte-sombre { background: linear-gradient(160deg, rgba(139, 92, 246, .28), rgba(34, 211, 238, .08)); border-color: var(--trait-fort); }
.carte-sombre .btn { align-self: flex-start; }

.infos { margin: 0; display: flex; flex-direction: column; }
.infos > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--trait); }
.infos > div:last-child { border-bottom: 0; }
.infos dt { color: var(--texte-doux); }
.infos dd { margin: 0; font-weight: 700; text-align: right; }
.infos-ligne { flex-direction: row; flex-wrap: wrap; gap: 8px 28px; }
.infos-ligne > div { flex-direction: column; gap: 0; padding: 0; border: 0; }
.infos-ligne dt { font-size: .82rem; color: var(--texte-faible); }
.infos-ligne dd { text-align: left; }

.barre { height: 10px; border-radius: 999px; background: rgba(24, 28, 70, .08); overflow: hidden; }
.barre span { display: block; height: 100%; border-radius: inherit; background: var(--grad); background-size: 200% 100%; animation: glisse-degrade 4s ease-in-out infinite; transform-origin: left; }
.js .barre span { animation: remplir 1.2s var(--ease) both, glisse-degrade 4s 1.2s ease-in-out infinite; }
@keyframes remplir { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.barre-verte span { background: linear-gradient(90deg, #10B981, var(--vert)); }

.reference-carte { align-items: flex-start; }
.reference { font-family: var(--titre); font-size: clamp(2.2rem, 6vw, 3rem); letter-spacing: .02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.suivi-resultat h2 { font-size: 1.7rem; }
.texte-long { display: flex; flex-direction: column; gap: 14px; font-size: 1.05rem; color: var(--texte-doux); }
.texte-long h2 { font-size: 1.4rem; margin-top: 18px; }
.texte-long strong { color: var(--texte); }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--trait); border-radius: 18px; transition: border-color .3s, background-color .3s; }
.faq details[open] { border-color: rgba(139, 92, 246, .5); background: rgba(139, 92, 246, .07); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 60px 22px 24px; font-weight: 700; font-size: 1.06rem; position: relative; color: var(--texte); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; color: var(--cyan); border: 1px solid var(--trait-fort); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--texte-doux); max-width: 700px; animation: monter .4s var(--ease); }

.temoignages { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.temoignage { margin: 0; background: var(--surface); border: 1px solid var(--trait); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.temoignage blockquote { margin: 0; font-size: 1.08rem; color: var(--texte); }
.temoignage blockquote::before { content: "“"; display: block; font-family: var(--italique); font-size: 4rem; line-height: .6; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.temoignage figcaption { display: flex; gap: 12px; align-items: center; margin-top: auto; color: var(--texte-doux); font-size: .94rem; }
.temoignage figcaption strong { color: var(--texte); }
.temoignage img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.etoiles { color: var(--ambre); letter-spacing: 2px; font-size: 1.1rem; }
.etoiles .eteinte { color: var(--trait-fort); }

.espace-promo { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.espace-promo > div:first-child { display: flex; flex-direction: column; gap: 18px; }
.espace-promo p { color: var(--texte-doux); font-size: 1.08rem; }
.espace-apercu {
  display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: 28px; transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
  background: linear-gradient(var(--surface-solide), var(--surface-solide)) padding-box, var(--grad) border-box; border: 1.5px solid transparent;
  box-shadow: 0 40px 90px rgba(139, 92, 246, .3); transition: transform .6s var(--ease);
}
.espace-apercu:hover { transform: perspective(1000px) rotateY(0) rotateX(0); }
.apercu-ligne { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; color: var(--texte-doux); }
.apercu-ligne strong { color: var(--texte); }
.apercu-etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; font-size: .78rem; font-weight: 700; }
.apercu-etapes span { padding: 8px 4px; text-align: center; border-radius: 10px; background: var(--surface); color: var(--texte-faible); }
.apercu-etapes .fait { background: rgba(52, 211, 153, .14); color: var(--vert); }
.apercu-etapes .en-cours { background: var(--grad-bouton); color: var(--sur-degrade); }
@media (max-width: 860px) { .espace-promo { grid-template-columns: 1fr; } .espace-apercu { transform: none; } }

/* Pages de connexion / inscription */
.acces { position: relative; overflow: hidden; padding: 150px 0 80px; margin-top: -78px; min-height: 100vh; }
.acces::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 400px at 15% 20%, rgba(139, 92, 246, .16), transparent 70%),
              radial-gradient(600px 400px at 85% 80%, rgba(34, 211, 238, .2), transparent 70%);
}
.acces-grille { display: grid; grid-template-columns: 1fr 460px; gap: 64px; align-items: center; }
.acces-intro { display: flex; flex-direction: column; gap: 18px; animation: monter .7s var(--ease) both; }
.acces-intro h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.acces-intro p { color: var(--texte-doux); font-size: 1.1rem; max-width: 480px; }
.acces-carte { background: rgba(255, 255, 255, .92); border-color: var(--trait-fort); box-shadow: var(--ombre); animation: monter .7s .1s var(--ease) both; }
.acces-carte h2 { font-size: 1.6rem; }
.acces-carte form + form { margin-top: -6px; }
.coches-clair li { color: var(--texte); }
.separateur { display: flex; align-items: center; gap: 12px; color: var(--texte-faible); font-size: .92rem; }
.separateur::before, .separateur::after { content: ""; flex: 1; height: 1px; background: var(--trait); }
@media (max-width: 860px) { .acces-grille { grid-template-columns: 1fr; } .acces { padding-top: 120px; } }

/* Espace client */
.sous-menu { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 30px; }
.sous-menu a, .sous-menu button { font: inherit; font-weight: 700; font-size: .95rem; color: var(--texte-doux); text-decoration: none; padding: 12px 16px; border: 0; background: none; cursor: pointer; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.sous-menu a:hover, .sous-menu button:hover { color: var(--texte); }
.sous-menu a[aria-current="page"] { color: var(--texte); border-bottom-color: var(--cyan); }
.sous-menu form { margin-left: auto; }
.section-espace { padding: 44px 0 100px; }
.titre-bloc { font-size: 1.4rem; margin: 8px 0 18px; }
.titre-bloc:not(:first-child) { margin-top: 48px; }
.bandeau-action { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 20px 24px; margin-bottom: 36px; border-radius: 18px; background: linear-gradient(115deg, rgba(139, 92, 246, .22), rgba(34, 211, 238, .08)); border: 1px solid var(--trait-fort); }

.grille-projets { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; }
.projet-carte { text-decoration: none; transition: border-color .3s, transform .3s var(--ease); }
.projet-carte:hover { border-color: rgba(139, 92, 246, .6); transform: translateY(-4px); color: var(--texte); }
.projet-carte h3 { font-size: 1.3rem; }
.projet-carte-tete { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.etiquette { font-size: .78rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; background: #FEF3C7; color: var(--ambre-texte); white-space: nowrap; flex-shrink: 0; }
.etiquette-ok { background: #D1FAE5; color: var(--vert); }
.lien-fleche { font-weight: 800; color: var(--cyan); margin-top: auto; }

.liste-docs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.liste-docs.carte { padding: 8px 24px; gap: 0; }
.liste-docs li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--trait); }
.liste-docs li:last-child { border-bottom: 0; }
.doc-icone { width: 42px; height: 42px; border-radius: 12px; background: rgba(139, 92, 246, .12); color: var(--violet); display: grid; place-items: center; flex-shrink: 0; }
.doc-texte { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.doc-texte span { font-size: .88rem; color: var(--texte-faible); }
.doc-texte strong { overflow-wrap: anywhere; }

.projet-grille { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 24px; align-items: start; }
.projet-principal, .projet-lateral { display: flex; flex-direction: column; gap: 24px; }
.projet-description { color: var(--texte-doux); }
.projet-grille .carte > .btn { align-self: flex-start; }
@media (max-width: 960px) { .projet-grille { grid-template-columns: 1fr; } }

.frise { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.frise li { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--trait); }
.frise-num { font-family: var(--titre); font-weight: 800; font-size: 1.4rem; color: var(--texte-faible); line-height: 1.1; }
.frise-nom { font-weight: 800; color: var(--texte); font-size: .95rem; }
.frise-etat { font-size: .82rem; color: var(--texte-faible); }
.frise-fait { border-color: rgba(52, 211, 153, .35) !important; }
.frise-fait .frise-num { color: var(--vert); }
.frise-en_cours { background: rgba(34, 211, 238, .08) !important; border-color: var(--cyan) !important; box-shadow: 0 0 30px rgba(34, 211, 238, .15); }
.frise-en_cours .frise-num, .frise-en_cours .frise-etat { color: var(--cyan); font-weight: 700; }
.frise-a_venir { opacity: .6; }
@media (max-width: 640px) { .frise { grid-template-columns: 1fr 1fr; } }

.journal { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.journal li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; }
.journal time { font-size: .88rem; font-weight: 700; color: var(--cyan); padding-top: 2px; }
.journal p { color: var(--texte-doux); margin-top: 4px; }
@media (max-width: 520px) { .journal li { grid-template-columns: 1fr; gap: 4px; } }

.fil-messages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; max-height: 520px; overflow-y: auto; }
.bulle { max-width: 85%; padding: 14px 18px; border-radius: 20px; display: flex; flex-direction: column; gap: 6px; animation: monter .4s var(--ease); }
.bulle-stephane { background: linear-gradient(135deg, rgba(139, 92, 246, .35), rgba(139, 92, 246, .18)); border: 1px solid rgba(139, 92, 246, .4); border-bottom-left-radius: 6px; align-self: flex-start; }
.bulle-client { background: rgba(34, 211, 238, .12); border: 1px solid rgba(34, 211, 238, .3); border-bottom-right-radius: 6px; align-self: flex-end; }
.bulle-auteur { font-size: .8rem; font-weight: 700; color: var(--texte-doux); }
.bulle .piece { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: .92rem; color: var(--texte); }
.form-message { border-top: 1px solid var(--trait); padding-top: 18px; }

.liste-paiements { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.liste-paiements li { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.liste-paiements small { display: block; color: var(--texte-faible); }

/* ---------- Contact final (accueil) ---------- */
.contact-final .conteneur { display: flex; flex-direction: column; gap: 40px; z-index: 1; }
.contact-tete { display: flex; align-items: center; gap: 32px; }
.contact-tete img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; object-position: top; flex-shrink: 0; padding: 4px; background: var(--grad); }
.contact-tete p { color: var(--texte-doux); font-size: 1.12rem; margin-top: 12px; }
.contacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-carte { background: var(--surface); border: 1px solid var(--trait); color: var(--texte); border-radius: 20px; padding: 20px 24px; display: flex; gap: 16px; align-items: center; text-decoration: none; transition: transform .3s var(--ease), border-color .3s; }
.contact-carte:hover { transform: translateY(-3px); border-color: var(--trait-fort); color: var(--texte); }
.contact-carte small { display: block; color: var(--texte-faible); font-weight: 700; font-size: .85rem; }
.contact-carte strong { font-family: var(--titre); font-size: 1.28rem; overflow-wrap: anywhere; }
.contact-icone { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: var(--blanc); flex-shrink: 0; }
.contact-icone.vert { background: linear-gradient(135deg, #22C55E, #15803D); }
.contact-icone.rose { background: linear-gradient(135deg, #F472B6, #A855F7); }
.contact-icone.bleu { background: linear-gradient(135deg, #38BDF8, #1D4ED8); }
.contact-actions { display: flex; justify-content: center; }
.contact-devise { font-family: var(--italique); font-style: italic; font-size: clamp(2.4rem, 6vw, 4rem); text-align: center; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 700px) {
  .contacts { grid-template-columns: 1fr; }
  .contact-tete { flex-direction: column; align-items: flex-start; gap: 20px; }
  .contact-tete img { width: 110px; height: 110px; }
}
.contact-carte-large { grid-column: 1 / -1; }
.contact-icone.violet { background: linear-gradient(135deg, #A78BFA, #6D28D9); }
