/* =========================================================
   LKB STUDIO : site public
   Une seule famille (Archivo) : très élargie pour les titres, normale pour le texte.
   Élément fort : la carte d'accroche sur la puce IA, ouverte par une entrée animée (circuits bleu lagon → magenta).
   ========================================================= */
:root {
  --encre: #0B0720;     /* fond de page */
  --nuit: #140D33;      /* surfaces */
  --nuit-2: #1C1345;    /* surfaces survolées, champs */
  --violet: #140350;    /* violet LKB */
  --magenta: #CE0BBC;   /* accent LKB */
  --magenta-vif: #E52BD3;
  --lagon: #3A9BE6;     /* départ du dégradé du logo */
  --texte: #F3EFFF;
  --doux: #A99FCF;
  --ligne: rgba(205, 190, 255, .14);
  --ligne-forte: rgba(205, 190, 255, .28);
  --degrade: linear-gradient(90deg, var(--lagon), #8A4FD8 50%, var(--magenta));

  --large: 125%;        /* largeur des titres (axe wdth d'Archivo) */
  --col: 1200px;
  --r: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--encre); color: var(--texte);
  font: 400 17px/1.6 "Archivo", "Segoe UI", system-ui, sans-serif;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--magenta-vif); outline-offset: 3px; border-radius: 6px; }
.wrap {
  max-width: calc(var(--col) + 48px); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: 24px; padding-right: 24px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; cursor: pointer;
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  border: 1px solid var(--ligne-forte); background: transparent;
  transition: background-color .2s, border-color .2s;
}
.btn:hover { background: rgba(255, 255, 255, .06); border-color: var(--doux); }
.btn-plein { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.btn-plein:hover { background: var(--magenta-vif); border-color: var(--magenta-vif); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn[disabled] { opacity: .55; cursor: wait; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 7, 32, .72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
  padding-top: env(safe-area-inset-top, 0px);
}
.entete.defile { border-bottom-color: var(--ligne); }
/* Accueil : l'en-tête flotte, transparent, sur l'accroche plein écran tant qu'on n'a pas défilé */
.accueil .entete:not(.defile) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.entete .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marque img { width: 38px; height: 38px; border-radius: 50%; }
.marque span { font-weight: 800; font-stretch: var(--large); font-size: 19px; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; color: var(--doux); font-weight: 500; font-size: 15.5px; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--texte); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-menu { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ligne-forte); background: transparent; cursor: pointer; place-items: center; }
.btn-menu svg { width: 20px; height: 20px; }

/* ---------- Boutons à flèche (pastille blanche + rond magenta) ---------- */
.btn-fleche {
  background: var(--texte); color: var(--encre); border-color: var(--texte);
  padding: 0 6px 0 22px; gap: 14px;
}
.btn-fleche:hover { background: #fff; border-color: #fff; }
.btn-fleche .rond {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--magenta); color: #fff; transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.btn-fleche .rond svg { width: 18px; height: 18px; }
.btn-fleche:hover .rond { transform: translateX(3px) rotate(-45deg); }
.btn-fleche.petit { min-height: 44px; padding: 0 4px 0 18px; font-size: 15px; gap: 12px; }
.btn-fleche.petit .rond { width: 34px; height: 34px; }
.btn-verre { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* ---------- Accroche : grande carte arrondie sur l'image de la puce ---------- */
.hero { margin-top: calc(-72px - env(safe-area-inset-top, 0px)); }
.carte-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100vh, 1100px); min-height: min(100svh, 1100px);
  border-radius: 0 0 48px 48px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding-block: calc(72px + env(safe-area-inset-top, 0px) + clamp(40px, 7vh, 96px)) clamp(28px, 4vh, 44px);
  padding-inline: max(24px, calc((100% - var(--col)) / 2));
  background: var(--encre);
  box-shadow: 0 40px 120px -40px rgba(206, 11, 188, .45);
}
.fond-hero, .fond-hero img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.fond-hero img { object-fit: cover; object-position: 50% 50%; }
.carte-hero::before {
  /* voile : lisibilité du texte à gauche et en bas */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 7, 32, .82) 0%, rgba(11, 7, 32, .45) 42%, transparent 62%),
    linear-gradient(0deg, rgba(11, 7, 32, .85) 0%, transparent 32%);
}
.circuits { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.piste-base { fill: none; stroke: rgba(160, 140, 255, .35); stroke-width: 1.4; }
.piste-pouls { fill: none; stroke: #F06BE4; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 70 1000; stroke-dashoffset: 70; filter: drop-shadow(0 0 6px #E52BD3); opacity: 0; }
.piste-pouls:nth-of-type(4n+2) { stroke: #6FC0FF; filter: drop-shadow(0 0 6px #3A9BE6); }
.piste-bout { fill: #F3EFFF; filter: drop-shadow(0 0 6px #E52BD3); opacity: .7; }

.hero-grille { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px 56px; align-items: center; flex: 1; }
.surtitre { margin: 0 0 18px; font-size: clamp(17px, 1.6vw, 22px); font-weight: 500; color: rgba(243, 239, 255, .86); }
.hero h1 {
  margin: 0; font-weight: 800; font-stretch: 112%;
  font-size: clamp(44px, 6.4vw, 96px); line-height: .98; letter-spacing: -.035em;
  max-width: 9.5ch;
}
.mot { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.mot > span { display: inline-block; }
.hero .actions { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 12px; }
.hero-droite {
  align-self: end; justify-self: end; max-width: 380px; padding: 22px 24px; border-radius: 20px;
  background: rgba(11, 7, 32, .55); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.accroche { margin: 0 0 14px; font-weight: 700; font-stretch: 105%; font-size: clamp(20px, 2vw, 26px); line-height: 1.2; letter-spacing: -.01em; }
.hero .chapo { margin: 0; color: rgba(243, 239, 255, .72); font-size: 16.5px; line-height: 1.6; }

.hero-services {
  list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px;
}
.hero-services a { display: grid; gap: 8px; text-decoration: none; font-size: 15.5px; font-weight: 500; color: rgba(243, 239, 255, .9); padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); transition: border-color .3s, color .3s; }
.hero-services a:hover { border-color: var(--magenta-vif); color: #fff; }
.hero-services span { font-size: 14px; color: var(--magenta-vif); font-weight: 600; }

/* Entrée : la carte s'ouvre depuis la puce, l'image se pose, les circuits s'allument, le texte monte mot à mot */
@media (prefers-reduced-motion: no-preference) {
  .carte-hero:not(.sans-entree) { clip-path: inset(18% 14% 18% 50% round 40px); }
  .carte-hero:not(.sans-entree) .fond-hero img { transform: scale(1.18); filter: brightness(.3) saturate(1.4); }
  .carte-hero:not(.sans-entree) .mot > span { transform: translateY(110%); }
  .carte-hero:not(.sans-entree) .surtitre,
  .carte-hero:not(.sans-entree) .actions,
  .carte-hero:not(.sans-entree) .hero-droite,
  .carte-hero:not(.sans-entree) .hero-services li { opacity: 0; transform: translateY(18px); }
  .carte-hero:not(.sans-entree) .piste-base { stroke-dasharray: 1000; stroke-dashoffset: 1000; }
  .carte-hero:not(.sans-entree) .piste-bout { opacity: 0; }

  .carte-hero.entree { clip-path: inset(0 0 0 0 round 0 0 48px 48px); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1); }
  .carte-hero.entree .fond-hero img { transform: none; filter: none; transition: transform 1.8s cubic-bezier(.2, .7, .2, 1), filter 1.4s ease .2s; }
  .carte-hero.entree .piste-base { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s cubic-bezier(.3, .6, .2, 1) calc(.7s + var(--i) * .07s); }
  .carte-hero.entree .piste-bout { opacity: .7; transition: opacity .4s ease calc(1.6s + var(--i) * .07s); }
  .carte-hero.entree .surtitre { opacity: 1; transform: none; transition: all .7s cubic-bezier(.2, .8, .2, 1) .75s; }
  .carte-hero.entree .mot > span { transform: none; transition: transform .9s cubic-bezier(.2, .8, .2, 1) calc(.85s + var(--i) * .08s); }
  .carte-hero.entree .actions { opacity: 1; transform: none; transition: all .7s cubic-bezier(.2, .8, .2, 1) 1.35s; }
  .carte-hero.entree .hero-droite { opacity: 1; transform: none; transition: all .8s cubic-bezier(.2, .8, .2, 1) 1.2s; }
  .carte-hero.entree .hero-services li { opacity: 1; transform: none; transition: all .6s cubic-bezier(.2, .8, .2, 1) calc(1.45s + var(--i) * .1s); }

  /* Ensuite : impulsions lumineuses qui courent sur les pistes, en boucle */
  .carte-hero.entree .piste-pouls, .carte-hero.sans-entree .piste-pouls { animation: pouls 3.6s cubic-bezier(.4, 0, .6, 1) infinite; animation-delay: calc(2s + var(--i) * .45s); }
  .fond-hero img { animation: respire 9s ease-in-out 2.5s infinite alternate; }
}
@keyframes pouls { 0% { stroke-dashoffset: 70; opacity: 0; } 8% { opacity: 1; } 70% { opacity: 1; } 100% { stroke-dashoffset: -1000; opacity: 0; } }
@keyframes respire { from { scale: 1; } to { scale: 1.04; } }

/* ---------- Bande des outils (défilement continu) ---------- */
.bande-outils { padding-block: 36px 8px; }
.bande { display: flex; align-items: center; gap: 40px; }
.bande > p { margin: 0; flex: none; font-size: 14px; line-height: 1.35; font-weight: 600; color: var(--doux); }
.defile-outils { flex: 1; min-width: 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.piste { display: flex; width: max-content; gap: 56px; animation: file 32s linear infinite; }
.piste span { font-weight: 700; font-stretch: 112%; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -.01em; color: rgba(243, 239, 255, .5); white-space: nowrap; transition: color .2s; }
.piste span:hover { color: var(--texte); }
.defile-outils:hover .piste { animation-play-state: paused; }
@keyframes file { to { transform: translateX(calc(-50% - 28px)); } }

/* ---------- Approche ---------- */
.approche-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; align-items: start; }
.surtitre-couleur { margin: 0 0 18px; font-size: clamp(17px, 1.7vw, 22px); font-weight: 600; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.approche h2.titre { font-stretch: 105%; letter-spacing: -.03em; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.04; }
.approche-texte > p { margin: 0; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.45; color: var(--texte); max-width: 30ch; text-wrap: pretty; }
.garanties { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.garanties li { display: flex; align-items: center; gap: 12px; font-size: 16.5px; font-weight: 500; }
.garanties svg { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 50%; color: #fff; background: var(--degrade); }
.approche-bas { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.approche-bas small { color: var(--doux); font-size: 14.5px; max-width: 22ch; }
.approche .ecran { margin-top: clamp(48px, 7vw, 88px); }

/* Projet à la une */
.ecran {
  position: relative; z-index: 2; display: block; text-decoration: none;
  width: 100%; padding: 10px;
  border-radius: 28px; background: rgba(20, 13, 51, .82);
  border: 1px solid var(--ligne-forte);
  box-shadow: 0 50px 120px -40px rgba(206, 11, 188, .45), 0 20px 50px -20px rgba(0, 0, 0, .8);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), border-color .3s;
}
.ecran .vue { aspect-ratio: 21 / 9; border-radius: 20px; }
.ecran .vue > img { object-position: 50% 0; }
.ecran:hover { border-color: rgba(205, 190, 255, .45); transform: translateY(-4px); }
.une {
  position: absolute; left: 26px; bottom: 26px; right: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.une > span {
  display: inline-flex; align-items: center; gap: 10px; min-width: 0;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(11, 7, 32, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--ligne-forte); font-size: 15px;
}
.une b { font-weight: 700; }
.une small { color: var(--doux); font-size: 14px; }
.une svg { width: 16px; height: 16px; color: var(--magenta-vif); flex: none; }

/* ---------- Apparition des sections au défilement ---------- */
@media (prefers-reduced-motion: no-preference) {
  .anim .revele:not(.vu) .wrap > * { opacity: 0; transform: translateY(36px); }
  .revele .wrap > * { transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
  .revele .wrap > *:nth-child(2) { transition-delay: .12s; }
  .revele .wrap > *:nth-child(3) { transition-delay: .24s; }
}

/* ---------- Présentation des images (cartes, écran, fiche) ---------- */
.vue { position: relative; overflow: hidden; background: var(--nuit); }
.vue > img { width: 100%; height: 100%; object-fit: cover; }
.vue.pixel > img { image-rendering: pixelated; }
.vue.logo, .vue.telephone {
  display: flex; align-items: center; justify-content: center; gap: 6%;
  background: radial-gradient(ellipse 70% 70% at 50% 100%, #2A0F78, var(--nuit) 75%);
}
.vue.logo > img { width: 42%; height: auto; max-height: 70%; object-fit: contain; border-radius: 50%; }
.vue.telephone .tel {
  height: 86%; aspect-ratio: 9 / 19.5; margin-top: 14%; align-self: flex-start;
  border-radius: 22px 22px 0 0; overflow: hidden; border: 6px solid #05020F; border-bottom: 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .45); background: #fff;
}
.vue.telephone .tel img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.vue.telephone .tel + .tel { margin-top: 22%; }
.vue img[data-ref] { opacity: 0; transition: opacity .4s; }
.vue img.charge { opacity: 1; }

/* ---------- Sections ---------- */
.bloc { padding-block: clamp(72px, 10vw, 128px); }
.tete-bloc { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 56px); }
.tete-bloc > div { max-width: 640px; }
h2.titre {
  margin: 0; font-weight: 800; font-stretch: var(--large);
  font-size: clamp(32px, 5vw, 64px); line-height: 1; letter-spacing: -.02em; text-wrap: balance;
}
.tete-bloc p { margin: 16px 0 0; color: var(--doux); max-width: 52ch; }

/* Filtres */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; }
.filtres button {
  min-height: 42px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--ligne); color: var(--doux);
  font-weight: 500; font-size: 15px; transition: color .2s, border-color .2s, background-color .2s;
}
.filtres button:hover { color: var(--texte); border-color: var(--ligne-forte); }
.filtres button[aria-pressed="true"] { background: var(--texte); border-color: var(--texte); color: var(--encre); }

/* Grille de projets : rangées asymétriques 7/5 puis 5/7 */
.projets { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(36px, 5vw, 56px) 24px; }
.carte { grid-column: span 6; display: flex; flex-direction: column; gap: 18px; text-decoration: none; min-width: 0; }
.carte.l { grid-column: span 7; }
.carte.s { grid-column: span 5; }
.carte.seule { grid-column: 1 / -1; }
.carte .vue { height: clamp(260px, 32vw, 440px); border-radius: var(--r); border: 1px solid var(--ligne); transition: border-color .25s; }
.carte:hover .vue { border-color: var(--ligne-forte); }
.carte:hover .vue > img, .carte:hover .vue .tel { filter: brightness(1.06); }
.carte .infos { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: start; }
.carte h3 { margin: 0; font-weight: 700; font-stretch: 112%; font-size: clamp(20px, 2vw, 24px); line-height: 1.2; letter-spacing: -.01em; }
.carte p { margin: 0; grid-column: 1 / -1; color: var(--doux); font-size: 16px; max-width: 56ch; }
.carte .meta { grid-column: 1 / -1; color: var(--doux); font-size: 14px; opacity: .8; }
.statut {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--ligne-forte); color: var(--texte);
}
.statut::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--doux); }
.statut.demo::before, .statut.en-ligne::before { background: #3BE39A; box-shadow: 0 0 10px #3BE39A; }
.statut.bientot::before { background: #FFC94D; }
.statut.concept::before { background: var(--lagon); }
.vide { grid-column: 1 / -1; padding: 48px; border: 1px dashed var(--ligne-forte); border-radius: var(--r); text-align: center; color: var(--doux); }

/* Services : liste éditoriale, pas de cartes */
.services { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--ligne); }
.service {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) minmax(140px, 2fr); gap: 16px 40px;
  padding: 32px 0; border-top: 1px solid var(--ligne); align-items: baseline;
}
.service h3 { margin: 0; font-weight: 700; font-stretch: var(--large); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -.015em; }
.service p { margin: 0; color: var(--doux); }
.service h3 .num { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--magenta-vif); }
.service { transition: background-color .3s; }
.service:hover { background: linear-gradient(90deg, rgba(206, 11, 188, .07), transparent 70%); }
.service .tags { margin-top: 14px; }
.service .prix { text-align: right; font-weight: 600; font-size: 17px; white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: 13px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--ligne); color: var(--texte); }

/* Méthode : vraie suite d'étapes, d'où la numérotation */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: e; position: relative; }
.etapes::before { content: ""; position: absolute; left: 7px; right: 0; top: 7px; height: 2px; background: var(--degrade); opacity: .7; }
.etapes li { position: relative; padding-top: 44px; counter-increment: e; }
.etapes li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%;
  background: var(--encre); border: 2px solid var(--magenta); box-shadow: 0 0 14px rgba(206, 11, 188, .7);
}
.etapes li:first-child::before { border-color: var(--lagon); box-shadow: 0 0 14px rgba(58, 155, 230, .7); }
.etapes h3 { margin: 0 0 10px; font-weight: 700; font-stretch: 112%; font-size: 21px; line-height: 1.2; }
.etapes h3::before { content: counter(e) ". "; color: var(--doux); font-weight: 500; }
.etapes p { margin: 0; color: var(--doux); font-size: 16px; }

/* Studio */
.studio { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px 80px; align-items: start; }
.studio .texte p { margin: 24px 0 0; color: var(--doux); font-size: 18px; max-width: 52ch; white-space: pre-line; }
.chiffres { margin: 0; border-top: 1px solid var(--ligne); }
.chiffres div { display: flex; align-items: baseline; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--ligne); }
.chiffres dd { margin: 0; order: -1; min-width: 3.4ch; font-weight: 800; font-stretch: var(--large); font-size: clamp(36px, 4.4vw, 56px); line-height: 1; letter-spacing: -.03em; }
.chiffres dt { color: var(--doux); font-size: 17px; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px 80px; align-items: start; }
.contact .texte p { margin: 20px 0 0; color: var(--doux); font-size: 18px; max-width: 44ch; }
.liens-contact { margin-top: 36px; display: grid; gap: 10px; max-width: 420px; }
.lien-contact {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; border-radius: var(--r); border: 1px solid var(--ligne);
  text-decoration: none; transition: border-color .2s, background-color .2s;
}
.lien-contact:hover { border-color: var(--ligne-forte); background: rgba(255, 255, 255, .03); }
.lien-contact small { display: block; color: var(--doux); font-size: 13px; }
.lien-contact span { font-weight: 600; overflow-wrap: anywhere; }
.lien-contact svg { width: 18px; height: 18px; color: var(--magenta-vif); flex: none; }

.formulaire {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding: clamp(20px, 3vw, 32px); border-radius: 20px;
  background: var(--nuit); border: 1px solid var(--ligne);
}
.champ { display: grid; gap: 8px; min-width: 0; }
.champ.plein { grid-column: 1 / -1; }
.champ label { font-size: 14px; font-weight: 600; }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px;
  background: var(--encre); border: 1px solid var(--ligne-forte); font-size: 16px;
  transition: border-color .2s;
}
.champ textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--magenta-vif); box-shadow: 0 0 0 3px rgba(206, 11, 188, .25); }
.pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire .bas { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 4px; }
.formulaire .bas small { color: var(--doux); font-size: 14px; max-width: 36ch; }
.envoye { grid-column: 1 / -1; padding: 28px 8px; text-align: center; }
.envoye h3 { margin: 0 0 8px; font-weight: 700; font-stretch: 112%; font-size: 24px; }
.envoye p { margin: 0 0 20px; color: var(--doux); }
.erreur-form { grid-column: 1 / -1; margin: 0; color: #FF8FA3; font-size: 15px; }

/* ---------- Pied de page ---------- */
.pied { position: relative; overflow: hidden; padding-top: 40px; border-top: 1px solid var(--ligne); }
.pied::before {
  content: ""; position: absolute; left: 50%; bottom: -220px; width: min(1200px, 120vw); height: 360px; transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(206, 11, 188, .28), rgba(58, 155, 230, .08) 60%, transparent 75%);
  pointer-events: none;
}
.pied .wrap { position: relative; }
.pied-liens { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; color: var(--doux); font-size: 15px; }
.pied-liens nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pied-liens a { text-decoration: none; }
.pied-liens a:hover { color: var(--texte); }
.logotype {
  margin: clamp(24px, 4vw, 48px) 0 0; font-weight: 900; font-stretch: var(--large);
  font-size: min(176px, calc((100vw - 48px) / 6.8)); line-height: .78; letter-spacing: -.045em; white-space: nowrap;
  background: linear-gradient(180deg, var(--texte) 30%, rgba(243, 239, 255, .08) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; transform: translateY(.1em);
}

/* ---------- Fiche projet ---------- */
.fiche { padding-block: clamp(32px, 5vw, 56px) clamp(72px, 10vw, 120px); }
.retour { display: inline-flex; align-items: center; gap: 8px; color: var(--doux); text-decoration: none; font-weight: 500; min-height: 44px; }
.retour:hover { color: var(--texte); }
.retour svg { width: 18px; height: 18px; }
.fiche-tete { margin-top: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.fiche-tete .meta { color: var(--doux); font-size: 16px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-bottom: 16px; }
.fiche h1 { margin: 0; font-weight: 800; font-stretch: var(--large); font-size: clamp(36px, 6.4vw, 84px); line-height: 1; letter-spacing: -.025em; text-wrap: balance; }
.fiche-tete .resume { margin: 20px 0 0; color: var(--doux); font-size: clamp(17px, 1.7vw, 21px); max-width: 52ch; }
.fiche-tete .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.couv { margin: clamp(32px, 5vw, 56px) 0 0; position: relative; }
.couv::before {
  content: ""; position: absolute; inset: 20% 10% -6%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 60%, rgba(206, 11, 188, .28), rgba(58, 155, 230, .12) 50%, transparent 72%);
  filter: blur(30px);
}
.couv .vue { aspect-ratio: 16 / 9; border-radius: 20px; border: 1px solid var(--ligne-forte); }
.fiche-corps { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px 80px; align-items: start; }
.fiche-corps .texte p { margin: 0 0 1.1em; font-size: 18px; line-height: 1.7; max-width: 64ch; }
.fiche-infos { margin: 0; border-top: 1px solid var(--ligne); }
.fiche-infos div { padding: 16px 0; border-bottom: 1px solid var(--ligne); }
.fiche-infos dt { color: var(--doux); font-size: 14px; margin-bottom: 6px; }
.fiche-infos dd { margin: 0; font-weight: 600; }
.video { margin-top: clamp(40px, 6vw, 72px); aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; border: 1px solid var(--ligne-forte); background: #000; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.galerie { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.galerie button { padding: 0; border: 1px solid var(--ligne); border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--nuit); aspect-ratio: 4 / 3; }
.galerie button img { width: 100%; height: 100%; object-fit: contain; }
.galerie button:hover { border-color: var(--ligne-forte); }
.suivant {
  margin-top: clamp(64px, 9vw, 112px); padding-top: 32px; border-top: 1px solid var(--ligne);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; text-decoration: none;
}
.suivant small { display: block; color: var(--doux); font-size: 15px; margin-bottom: 6px; }
.suivant b { font-weight: 800; font-stretch: var(--large); font-size: clamp(26px, 4vw, 48px); line-height: 1.05; letter-spacing: -.02em; }
.suivant .rond { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--ligne-forte); display: grid; place-items: center; transition: background-color .2s, border-color .2s; flex: none; }
.suivant .rond svg { width: 24px; height: 24px; }
.suivant:hover .rond { background: var(--magenta); border-color: var(--magenta); }

/* Visionneuse d'images */
.visionneuse { position: fixed; inset: 0; z-index: 50; background: rgba(5, 3, 15, .92); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.visionneuse img { max-width: 100%; max-height: 100%; border-radius: 10px; }
.visionneuse button { position: absolute; top: max(16px, env(safe-area-inset-top)); right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ligne-forte); background: var(--nuit); cursor: pointer; display: grid; place-items: center; }
.visionneuse button svg { width: 22px; height: 22px; }

.introuvable { padding-block: 120px; text-align: center; }
.introuvable h1 { font-weight: 800; font-stretch: var(--large); font-size: clamp(32px, 5vw, 56px); margin: 0 0 16px; }
.introuvable p { color: var(--doux); margin: 0 0 28px; }

/* Message temporaire */
.toast {
  position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 60;
  transform: translate(-50%, 140%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: 12px;
  background: var(--texte); color: var(--encre); font-weight: 600; font-size: 15px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}
.toast { visibility: hidden; }
.toast.visible { transform: translate(-50%, 0); visibility: visible; }

/* Chargement */
.chargement { min-height: 70vh; display: grid; place-items: center; }
.chargement span { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ligne); border-top-color: var(--magenta); animation: tourne 0.9s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }

/* ---------- Adaptations ---------- */
@media (max-width: 1000px) {
  .hero-grille, .approche-grille { grid-template-columns: 1fr; }
  .hero-droite { justify-self: start; }
  .hero-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .service .prix { grid-column: 2; text-align: left; }
  .etapes { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .etapes::before { display: none; }
  .studio, .contact { grid-template-columns: 1fr; }
  .fiche-corps { grid-template-columns: 1fr; }
  .fiche-tete { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .carte-hero { border-radius: 0 0 32px 32px; padding-inline: max(16px, env(safe-area-inset-left, 0px)); justify-content: flex-end; gap: 28px; }
  .carte-hero.entree { clip-path: inset(0 0 0 0 round 0 0 32px 32px); }
  .fond-hero img { object-position: 82% 50%; opacity: .75; }
  .carte-hero::before { background: linear-gradient(180deg, rgba(11, 7, 32, .55), rgba(11, 7, 32, .82) 70%); }
  .circuits { display: none; }
  .hero-grille { gap: 28px; }
  .bande { flex-direction: column; align-items: stretch; gap: 16px; }
  .bande > p br { display: none; }
  .ecran .vue { aspect-ratio: 4 / 3; }
  .nav { display: none; }
  .btn-menu { display: grid; }
  .nav.ouvert {
    display: flex; position: absolute; top: calc(100% + 1px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--encre); border-bottom: 1px solid var(--ligne); padding: 8px 16px 16px; box-shadow: 0 24px 40px rgba(0, 0, 0, .5);
  }
  .nav.ouvert a:not(.btn) { display: block; padding: 14px 4px; font-size: 18px; color: var(--texte); border-bottom: 1px solid var(--ligne); }
  .nav.ouvert .btn { margin-top: 14px; min-height: 48px; }
  .projets { grid-template-columns: 1fr; }
  .carte, .carte.l, .carte.s { grid-column: auto; }
  .carte .vue { height: auto; aspect-ratio: 4 / 3; }
  .service { grid-template-columns: 1fr; padding: 26px 0; gap: 12px; }
  .service .prix { grid-column: auto; }
  .etapes { grid-template-columns: 1fr; row-gap: 0; }
  .etapes li { padding: 0 0 32px 36px; }
  .etapes li::after { content: ""; position: absolute; left: 7px; top: 18px; bottom: 0; width: 2px; background: var(--degrade); opacity: .5; }
  .etapes li:last-child { padding-bottom: 0; }
  .etapes li:last-child::after { display: none; }
  .formulaire { grid-template-columns: 1fr; }
  .ecran { padding: 6px; border-radius: 16px; }
  .ecran .vue { aspect-ratio: 4 / 3; border-radius: 11px; }
  .une { left: 14px; right: 14px; bottom: 14px; }
  .une > span { padding: 8px 12px; font-size: 14px; }
  .une small { display: none; }
  .couv .vue { aspect-ratio: 4 / 3; border-radius: 14px; }
}
@media (max-width: 719px) { .logotype { font-size: calc((100vw - 32px) / 6.8); } }
@media (max-width: 420px) {
  .marque span { font-size: 17px; }
  .nav .btn { padding: 0 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
