/* Golem Tech — maquette développeur v2 : noir encre, blanc froid, un seul accent bleu. */
@font-face { font-family: 'Geist'; src: url('geist.woff2?v=1') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('geist-mono.woff2?v=1') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --noir: #07080b;
  --noir-2: #0e1015;
  --blanc: #f2f3f5;
  --gris: #8b909a;
  --trait: rgba(255, 255, 255, .1);
  --acc: #5b7cff;
  --acc-2: #a9b8ff;
  --clair: #f3f4f6;
  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: var(--noir); color: var(--blanc); font: 400 16px/1.55 'Geist', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.mono { font-family: 'Geist Mono', ui-monospace, monospace; }
.dim { color: var(--gris); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }
.label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); margin-bottom: 18px; }
.h-big { font-size: clamp(34px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -.035em; font-weight: 500; text-wrap: balance; max-width: 15ch; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }

/* Rien de visible avant son animation */
html.attente .a, html.attente .rv, html.attente .ecrans-scene { visibility: hidden; }

/* ---------- Préchargeur ---------- */
.pre { position: fixed; inset: 0; z-index: 100; background: var(--noir); display: grid; place-items: center; overflow: hidden; --x: 50%; --y: 50%; --r: 0px; }
.pre.iris { -webkit-mask-image: radial-gradient(circle at var(--x) var(--y), transparent var(--r), #000 calc(var(--r) + 1px)); mask-image: radial-gradient(circle at var(--x) var(--y), transparent var(--r), #000 calc(var(--r) + 1px)); }
.pre.iris::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--x) var(--y), transparent var(--r), rgba(169, 184, 255, .95) calc(var(--r) + 2px), rgba(91, 124, 255, .45) calc(var(--r) + 14px), rgba(91, 124, 255, 0) calc(var(--r) + 90px)); }
.pre-fond { position: absolute; inset: 0; opacity: 0; background-image: linear-gradient(var(--trait) 1px, transparent 1px), linear-gradient(90deg, var(--trait) 1px, transparent 1px); background-size: 64px 64px; background-position: center; -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000, transparent 75%); }
.pre-halo { position: absolute; left: 50%; top: 50%; width: min(900px, 140vw); aspect-ratio: 1; margin: calc(min(900px, 140vw) / -2) 0 0 calc(min(900px, 140vw) / -2); border-radius: 50%; background: radial-gradient(circle, rgba(91, 124, 255, .32), rgba(91, 124, 255, .08) 38%, transparent 66%); opacity: 0; transform: scale(.4); pointer-events: none; }
.pre-l, .pre-n { position: absolute; top: var(--pad); margin: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); white-space: nowrap; }
.pre-l { left: var(--pad); }
.pre-n { right: var(--pad); color: var(--blanc); font-variant-numeric: tabular-nums; }
.pre-c { position: relative; display: flex; flex-direction: column; align-items: center; }
.pre-mot { display: flex; align-items: center; gap: .16em; font-size: clamp(46px, 12.5vw, 176px); font-weight: 500; letter-spacing: -.055em; line-height: 1; white-space: nowrap; }
.pre-dot { display: block; flex: none; width: .2em; height: .2em; border-radius: 50%; background: var(--acc); box-shadow: 0 0 .25em rgba(91, 124, 255, .9), 0 0 .7em rgba(91, 124, 255, .5); transform: scale(0); }
.pre-lettres { display: flex; padding: .08em .04em .1em; overflow: hidden; }
.pre-lettres.libre { overflow: visible; }
.pre-w > span { display: block; color: #262a33; transform: translateY(115%); }
.pre-w.on > span { color: var(--blanc); text-shadow: 0 0 .18em rgba(169, 184, 255, .55); transition: color .35s, text-shadow 1.2s; }
.pre-w.flash > span { text-shadow: 0 0 .3em rgba(169, 184, 255, .95), 0 0 .8em rgba(91, 124, 255, .6); transition: text-shadow .25s; }
.pre-rail { position: relative; width: min(520px, 72vw); height: 1px; margin-top: clamp(24px, 4vw, 40px); background: var(--trait); }
.pre-rail > i { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(91, 124, 255, 0), var(--acc-2)); transform-origin: left; transform: scaleX(0); }
.pre-rail > b { position: absolute; top: -3px; left: 0; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px rgba(169, 184, 255, .9), 0 0 28px 6px rgba(91, 124, 255, .55); opacity: 0; }
.pre-m { height: 1.5em; margin: 18px 0 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); white-space: nowrap; text-align: center; }
.pre.fini, html.deja .pre { display: none; }

/* ---------- En-tête ---------- */
.top { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--pad); pointer-events: none; }
.top > * { pointer-events: auto; }
.top::before { content: ''; position: absolute; inset: 0; z-index: -2; background: rgba(7, 8, 11, .78); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid rgba(255, 255, 255, .07); opacity: 0; transition: opacity .3s; pointer-events: none; }
.top.plein::before { opacity: 1; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.logo-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 14px var(--acc); }
.nav { display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 99px; background: rgba(14, 16, 21, .55); border: 1px solid var(--trait); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav a { padding: 9px 16px; border-radius: 99px; font-size: 14px; color: #cfd2d8; transition: color .2s, background .2s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav .nav-cta { background: var(--blanc); color: var(--noir); font-weight: 500; }
.nav .nav-cta:hover { background: #fff; color: var(--noir); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--trait); background: rgba(14, 16, 21, .6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); position: relative; }
.menu-btn span:not(.sr) { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--blanc); transition: transform .35s var(--ease); }
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 26px; }
html.menu-ouvert .menu-btn span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
html.menu-ouvert .menu-btn span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Pilules ---------- */
.pilule { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 99px; font-size: 15px; font-weight: 500; transition: transform .3s var(--ease), background .2s; white-space: nowrap; }
.pilule:hover { transform: translateY(-2px); }
.pilule.claire { background: var(--blanc); color: var(--noir); }
.pilule.contour { border: 1px solid rgba(255, 255, 255, .28); color: #fff; }
.pilule.contour:hover { background: rgba(255, 255, 255, .08); }

/* ---------- 1. Accueil : cylindre d'écrans ---------- */
.accueil { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; display: grid; place-items: center; background: var(--noir); }
.scene { position: absolute; inset: -4% 0; perspective: var(--p, 1500px); perspective-origin: 50% 50%; }
.cyl { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.anneau { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; }
.tour { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; animation: tourne 120s linear infinite; }
.anneau.inv .tour { animation-direction: reverse; }
.scene.pause .tour { animation-play-state: paused; }
@keyframes tourne { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
.carte { position: absolute; left: calc(var(--w) / -2); top: calc(var(--h) / -2); width: var(--w); height: var(--h); -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: var(--rad, 12px); overflow: hidden; background: #111; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.carte img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.voile { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(ellipse 60% 52% at 50% 52%, rgba(7, 8, 11, .92) 0%, rgba(7, 8, 11, .78) 45%, rgba(7, 8, 11, .28) 100%),
  linear-gradient(180deg, rgba(7, 8, 11, .85) 0%, rgba(7, 8, 11, 0) 22%, rgba(7, 8, 11, 0) 82%, rgba(7, 8, 11, .7) 100%); }
.accueil-texte { position: relative; z-index: 2; text-align: center; padding: 0 var(--pad); display: flex; flex-direction: column; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: #d5d8de; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--trait); background: rgba(14, 16, 21, .5); margin-bottom: 26px; }
.badge-pt { width: 7px; height: 7px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 10px #3ee08f; }
.titre-accueil { font-size: clamp(46px, 9.4vw, 148px); line-height: .94; letter-spacing: -.05em; font-weight: 500; }
.titre-accueil .ligne { display: block; overflow: hidden; padding-bottom: .06em; }
.titre-accueil .mot { display: inline-block; }
.frappe { margin-top: 26px; font-size: clamp(14px, 1.5vw, 18px); color: #e4e6ea; min-height: 1.6em; }
.frappe .prompt { color: var(--acc-2); }
.curseur { display: inline-block; width: .55em; height: 1.1em; margin-left: 2px; vertical-align: -.18em; background: var(--acc); animation: clic 1s steps(2) infinite; }
@keyframes clic { 50% { opacity: 0; } }
.accueil-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.accueil-pied { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: 24px; display: flex; justify-content: space-between; font-size: 12px; color: var(--gris); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Téléphone entier (dessiné en CSS, rien ne recouvre l'écran) ---------- */
.tel { --w: 300px; position: relative; width: var(--w); aspect-ratio: 9 / 19.4; border-radius: calc(var(--w) * .17); padding: calc(var(--w) * .034);
  background: linear-gradient(150deg, #4a4e57 0%, #1b1d22 30%, #0d0e11 60%, #33363d 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 0 0 calc(var(--w) * .012) #0b0c0f, 0 calc(var(--w) * .2) calc(var(--w) * .3) calc(var(--w) * -.08) rgba(0, 0, 0, .75); }
.tel::before, .tel::after { content: ''; position: absolute; width: calc(var(--w) * .012); border-radius: 2px; background: #2a2d33; }
.tel::before { left: calc(var(--w) * -.01); top: 22%; height: 9%; box-shadow: 0 calc(var(--w) * .2) 0 #2a2d33; }
.tel::after { right: calc(var(--w) * -.01); top: 27%; height: 14%; }
.tel-ecran { position: relative; height: 100%; border-radius: calc(var(--w) * .136); overflow: hidden; background: #000; display: flex; flex-direction: column; }
.tel-barre { position: relative; flex: none; height: calc(var(--w) * .125); display: flex; align-items: center; justify-content: space-between; padding: calc(var(--w) * .02) calc(var(--w) * .085) 0; font: 600 calc(var(--w) * .046) / 1 'Geist', sans-serif; color: #fff; background: #000; }
.tel-ilot { position: absolute; left: 50%; top: calc(var(--w) * .03); width: calc(var(--w) * .3); height: calc(var(--w) * .088); margin-left: calc(var(--w) * -.15); border-radius: 99px; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.tel-icos { display: flex; gap: calc(var(--w) * .014); align-items: flex-end; }
.tel-icos b { display: block; width: calc(var(--w) * .014); background: #fff; border-radius: 1px; }
.tel-icos b:nth-child(1) { height: calc(var(--w) * .02); }
.tel-icos b:nth-child(2) { height: calc(var(--w) * .03); }
.tel-icos b:nth-child(3) { height: calc(var(--w) * .04); width: calc(var(--w) * .06); border-radius: 3px; margin-left: calc(var(--w) * .012); }
.tel-vue { position: relative; flex: 1; overflow: hidden; background: #000; }
.tel-vue img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .6s var(--ease); }
.tel-vue img.on { opacity: 1; }
#tel-vue video { opacity: 0; transition: opacity .6s var(--ease); background: #000; }
#tel-vue video.on { opacity: 1; }

/* ---------- 2. L'objet : titre géant + téléphone ---------- */
.objet { position: relative; height: 520vh; background: var(--noir); }
.objet-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.objet-lueur { position: absolute; left: 50%; top: 58%; width: 90vmin; height: 90vmin; margin: -45vmin 0 0 -45vmin; border-radius: 50%; background: radial-gradient(circle, rgba(91, 124, 255, .35) 0%, rgba(91, 124, 255, .08) 40%, transparent 70%); pointer-events: none; }
.objet-tete { position: absolute; left: var(--pad); right: var(--pad); top: max(86px, calc(11vh - 24px)); text-align: center; }
.objet-sur { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--gris); margin-bottom: 18px; }
.objet-titre { font-size: clamp(34px, 4.6vw, 72px); line-height: 1; letter-spacing: -.045em; font-weight: 500; }
.objet-titre span { display: block; }
.objet-titre span + span { color: var(--gris); }
.tel-pos { position: absolute; left: 50%; top: 0; transform: translateX(-50%); perspective: 1600px; z-index: 3; }
.tel.grand { --w: min(330px, 34vh); transform-style: preserve-3d; }
.fiches { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
/* Sans cadre : le texte seul, relié au téléphone par un trait */
.fiche { position: absolute; top: 50%; width: min(330px, 30vw); opacity: 0; text-shadow: 0 2px 18px rgba(7, 8, 11, .9); }
.fiche.droite { right: 7vw; }
.fiche.gauche { left: 7vw; }
.fiche::before { content: ''; position: absolute; top: 50%; width: var(--l, 9vw); border-top: 1px dashed rgba(255, 255, 255, .45); }
.fiche.droite::before { right: 100%; }
.fiche.gauche::before { left: 100%; }
.fiche h2 { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.05; letter-spacing: -.03em; font-weight: 500; margin: 18px 0 8px; }
.fiche p { color: #b8bcc5; font-size: 15px; }
.ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); }
.ico svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 3. Manifeste ---------- */
.verre { background: rgba(20, 23, 30, .5); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: 18px; }

/* ---------- 4. Projets ---------- */
.projets { padding: clamp(100px, 14vw, 180px) 0 40px; }
.chap { margin-top: clamp(70px, 9vw, 130px); }
.chap-tete { display: flex; align-items: baseline; gap: 18px; padding-bottom: 22px; margin-bottom: 34px; border-bottom: 1px solid var(--trait); }
.chap-n { font-size: 14px; color: var(--acc-2); font-family: 'Geist Mono', monospace; }
.chap-tete h2, .chap-tete h3 { font-size: clamp(26px, 3vw, 44px); letter-spacing: -.03em; font-weight: 500; line-height: 1.1; }
/* Une rangée par projet : texte + mini-film | vraie vidéo du site, sans cadre */
.pj { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "tete vis" "bas vis"; grid-template-rows: auto 1fr; column-gap: clamp(36px, 6vw, 110px); row-gap: 26px; align-items: start; padding: clamp(46px, 6vw, 96px) 0; }
.pj + .pj { border-top: 1px solid rgba(255, 255, 255, .05); }
.pj.inv { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "vis tete" "vis bas"; }
.pj-tete { grid-area: tete; align-self: end; }
.pj-bas { grid-area: bas; }
.pj-vis { grid-area: vis; align-self: center; }
.pj-nom { font-size: clamp(34px, 4.2vw, 64px); line-height: 1; letter-spacing: -.045em; font-weight: 500; }
.pj-phrase { margin-top: 16px; color: #b8bcc5; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; max-width: 30em; }
.pj-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 26px; }
.pj-tags { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }

/* Visuel : écran et téléphone côte à côte, même hauteur (h écran = .625 l ; h tél = 2,1556 l → tél = 29 % de l'écran) */
.pj-vis { position: relative; container-type: inline-size; --g: 28px; }
.pj-vis::before { content: ''; position: absolute; inset: 10% 8% -4%; background: radial-gradient(ellipse at 50% 60%, rgba(91, 124, 255, .3), transparent 65%); filter: blur(30px); pointer-events: none; }
.pj-ecr { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: #0d0f14; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .9); }
.pj-ecr video, .tel-vue video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pj-vis.duo { display: flex; align-items: flex-end; justify-content: center; gap: var(--g); }
.pj-vis.duo .pj-ecr { flex: none; width: calc((100cqw - var(--g)) * .7752); }
.pj-vis.duo .tel.mini { flex: none; --w: calc((100cqw - var(--g)) * .2248); }
.pj-vis.solo { display: flex; justify-content: center; }
.pj-vis.solo .tel.mini { --w: min(320px, 56cqw); }
/* Rangée large : nom | phrase + lien, puis le visuel sur toute la largeur */
.pj.large { display: block; }
.pj.large .pj-tete { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(36px, 6vw, 110px); align-items: end; margin-bottom: clamp(34px, 4.5vw, 64px); }
.pj.large .pj-phrase { margin-top: 0; }
.pj.large .pj-pied { margin-top: 20px; }

/* ---------- Mini-films : le concept de chaque appli en quelques secondes (js/films.js) ---------- */
.film { position: relative; aspect-ratio: 16 / 10.5; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, #161a23, #0c0e13); border: 1px solid rgba(255, 255, 255, .08); font-size: 13px; line-height: 1.35; color: var(--blanc); max-width: 520px; }
.fm-tete { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 12px; color: #c9ccd3; }
.fm-tete .fm-logo { width: 18px; height: 18px; border-radius: 6px; background: var(--acc); flex: none; }
.fm-tete b { font-weight: 600; color: var(--blanc); }
.fm-tete span:last-child { margin-left: auto; color: var(--gris); font-family: 'Geist Mono', monospace; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
.fm-corps { position: absolute; inset: 40px 0 0; padding: 16px; }
.fm-cur { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 9; pointer-events: none; opacity: 0; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); }
.fm-carte { border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); padding: 10px 12px; }
.fm-btn { display: inline-flex; align-items: center; gap: 6px; border-radius: 99px; padding: 7px 13px; background: var(--acc); color: #fff; font-weight: 600; font-size: 12px; }
.fm-chip { display: inline-block; border-radius: 99px; padding: 2px 8px; font-size: 10.5px; font-weight: 600; background: rgba(91, 124, 255, .18); color: var(--acc-2); }
.fm-chip.ok { background: rgba(52, 199, 123, .16); color: #6fe0a5; }
.fm-chip.att { background: rgba(255, 184, 76, .16); color: #ffc874; }
.fm-lib { color: var(--gris); font-size: 11px; }
.fm-pile { display: grid; }
.fm-pile > * { grid-area: 1 / 1; }
.fm-pile .fant { visibility: hidden; }

/* ---------- 5. Chiffre dans un cercle ---------- */
.stat { position: relative; height: 100vh; height: 100svh; min-height: 560px; display: grid; place-items: center; overflow: hidden; margin-top: 80px; }
.stat-fond { position: absolute; inset: 0; }
.stat-fond img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.stat-fond::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(7, 8, 11, .2), var(--noir) 72%); }
.stat-cercle { position: absolute; width: min(82vmin, 760px); height: min(82vmin, 760px); left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: .4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.stat-in { position: relative; text-align: center; }
.stat-l { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #c9ccd3; }
.stat-n { font-size: clamp(150px, 26vw, 380px); line-height: .85; font-weight: 600; letter-spacing: -.07em; font-variant-numeric: tabular-nums; margin: 14px 0; }
.stat-s { font-size: clamp(18px, 2vw, 26px); color: #d3d6dc; }

/* ---------- 6. À propos ---------- */
.moi { padding: clamp(110px, 14vw, 200px) 0 clamp(60px, 8vw, 110px); }
.moi-grille { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 60px; align-items: end; }
.moi-txt p { font-size: clamp(17px, 1.5vw, 20px); color: #c9ccd3; max-width: 30em; }
.moi-txt strong { color: #fff; font-weight: 500; }
.faits { margin-top: 30px; border-top: 1px solid var(--trait); font-size: 13px; }
.faits li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--trait); }
.faits span { color: var(--gris); }
.faits b { font-weight: 400; color: #fff; text-align: right; }
.etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(70px, 9vw, 120px); }
.etapes li { font-size: clamp(17px, 1.6vw, 22px); letter-spacing: -.02em; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .25); }
.etapes span { display: block; font-size: 12px; color: var(--acc-2); margin-bottom: 10px; }
.prix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 60px; }
.prix > div { padding: 28px; border-radius: 20px; background: var(--noir-2); border: 1px solid rgba(255, 255, 255, .06); }
.prix .mono { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }
.prix-n { font-size: clamp(40px, 4.4vw, 64px); letter-spacing: -.045em; font-weight: 500; line-height: 1; margin: 22px 0 10px; }
.prix-n small { font-size: .38em; letter-spacing: 0; color: var(--gris); font-weight: 400; margin-left: 4px; }
.prix-s { color: #b8bcc5; font-size: 15px; }
.prix-note { margin-top: 18px; font-size: 13px; color: var(--gris); }

/* ---------- 7. Actu ---------- */
.actu { padding: clamp(60px, 8vw, 110px) 0 clamp(100px, 12vw, 160px); }
.actu-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 44px; }
.lien-fl { font-size: 15px; padding-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .3); white-space: nowrap; }
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ncard .shot { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: #111; }
.ncard img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ncard:hover img { transform: scale(1.04); }
.ncard .kind { font-size: 12px; color: var(--acc-2); margin: 16px 0 6px; letter-spacing: .1em; }
.ncard h3 { font-size: 18px; line-height: 1.3; font-weight: 500; letter-spacing: -.01em; }

/* ---------- 8. Contact ---------- */
.contact { position: relative; padding: clamp(80px, 12vw, 160px) var(--pad); overflow: hidden; }
.contact-fond { position: absolute; inset: 0; }
.contact-fond img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.contact-fond::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--noir), rgba(7, 8, 11, .3) 30%, rgba(7, 8, 11, .3) 70%, var(--noir)); }
.ccard { position: relative; max-width: 680px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 10px; border-radius: 26px; background: var(--clair); color: #0b0c10; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8); }
.ccard-form { padding: clamp(22px, 3vw, 40px); }
.ccard-form h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; line-height: 1.05; font-weight: 500; }
.sub { color: #5a5f69; margin: 10px 0 24px; }
.types { border: 0; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.types legend { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #6b707a; margin-bottom: 10px; padding: 0; }
.types label { position: relative; }
.types input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.types span { display: inline-block; padding: 9px 15px; border-radius: 99px; border: 1px solid #d6d8dd; font-size: 14px; }
.types input:checked + span { background: #0b0c10; color: #fff; border-color: #0b0c10; }
.types input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.f2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.fld { display: block; margin-bottom: 12px; }
.fld span { display: block; font-size: 13px; color: #5a5f69; margin-bottom: 6px; }
.fld input, .fld textarea { width: 100%; font: inherit; font-size: 16px; color: #0b0c10; background: #fff; border: 1px solid #d6d8dd; border-radius: 12px; padding: 12px 14px; resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(91, 124, 255, .2); }
[aria-invalid="true"] { border-color: #d33 !important; }
.ok-box { display: flex; gap: 10px; font-size: 13px; color: #5a5f69; margin: 6px 0 18px; align-items: flex-start; }
.ok-box input { margin-top: 3px; accent-color: #0b0c10; }
.ok-box a { text-decoration: underline; }
.btn-send { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 56px; padding: 0 8px 0 24px; border-radius: 99px; background: #0b0c10; color: #fff; font-weight: 500; }
.btn-send i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--acc); font-style: normal; }
.btn-send:disabled { opacity: .6; }
.form-msg { min-height: 1.4em; margin-top: 12px; font-size: 14px; }
.form-msg.ok { color: #13804a; }
.form-msg.err { color: #c62828; }
.direct { font-size: 14px; color: #5a5f69; }
.direct a { color: #0b0c10; text-decoration: underline; }

/* ---------- Pied ---------- */
.pied { padding: 60px 0 36px; border-top: 1px solid var(--trait); }
.pied .wrap { container-type: inline-size; }
.pied-titre { font-size: 15.5vw; font-size: 17cqi; line-height: .8; font-weight: 600; letter-spacing: -.06em; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .22); }
.pied-l { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; margin-top: 40px; font-size: 13px; color: var(--gris); }
.pied-l a:hover { color: #fff; }

/* ---------- Tablette ---------- */
@media (max-width: 1000px) {
  .moi-grille { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .fiche { width: min(300px, 40vw); }
  .fiche::before { width: 5vw; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 720px) {
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 6px; border-radius: 0; background: rgba(7, 8, 11, .97); border: 0; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav a { font-size: 26px; padding: 12px 24px; }
  html.menu-ouvert .nav { opacity: 1; visibility: visible; }
  .menu-btn { display: block; }
  .top { padding: 16px var(--pad); }

  .titre-accueil { font-size: clamp(44px, 14.5vw, 64px); }
  .frappe { font-size: 14px; }
  .accueil-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .pilule { justify-content: center; }
  .accueil-pied { bottom: 18px; }

  .objet { height: 480vh; }
  .objet-tete { top: max(72px, 9vh); }
  .objet-sur { margin-bottom: 12px; }
  .objet-titre { font-size: clamp(30px, 8.6vw, 40px); }
  /* Téléphone (12/11, retour de Jihan) : titres sur les côtés comme avant. Le téléphone passe d'un bord à l'autre
     en tournant, toujours à la même hauteur (il ne monte ni ne descend) ; le titre prend l'autre côté. */
  .objet-stick { --tw: min(176px, 23vh); }
  .tel.grand { --w: var(--tw); transform-style: flat; } /* flat : Safari iPhone efface parfois la vidéo d'un bloc 3D qui tourne */
  .fiche { top: 50%; width: auto; }
  .fiche.droite { left: calc(var(--pad) + var(--tw) + 22px); right: var(--pad); }
  .fiche.gauche { left: var(--pad); right: calc(var(--pad) + var(--tw) + 22px); text-align: right; }
  .fiche .ico { width: 36px; height: 36px; }
  .fiche .ico svg { width: 17px; height: 17px; }
  .fiche h2 { margin: 12px 0 10px; font-size: clamp(19px, 5.4vw, 22px); text-wrap: balance; }
  .fiche p { font-size: 13.5px; line-height: 1.45; text-wrap: balance; }
  .fiche::before { display: none; }
  /* Le trait : sous le titre, il part du bord du téléphone et s'estompe vers l'extérieur */
  .fiche h2::after { content: ''; display: block; height: 1px; margin-top: 12px; }
  .fiche.droite h2::after { margin-left: -22px; background: linear-gradient(90deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .25) 55%, transparent); }
  .fiche.gauche h2::after { margin-right: -22px; background: linear-gradient(270deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .25) 55%, transparent); }
  .fiche.gauche .ico { margin-left: auto; }


  .pj, .pj.inv { grid-template-columns: minmax(0, 1fr); grid-template-areas: "tete" "vis" "bas"; grid-template-rows: auto; row-gap: 30px; text-align: center; }
  .pj.large .pj-tete { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .pj-phrase { margin-left: auto; margin-right: auto; }
  .pj-vis { --g: 10px; }
  .pj-vis.solo .tel.mini { --w: min(250px, 66cqw); }
  /* Démo : le téléphone puis l'écran, l'un sous l'autre, collés */
  .pj-vis.duo.dm { flex-direction: column; align-items: center; gap: 18px; }
  .pj-vis.duo.dm .tel.mini { --w: min(230px, 62cqw); }
  .pj-vis.duo.dm .pj-ecr { width: 100cqw; }
  .pj-pied { justify-content: center; flex-direction: column; }

  .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .prix { grid-template-columns: minmax(0, 1fr); }
  .actu-tete { flex-direction: column; align-items: flex-start; }
  .news { grid-template-columns: minmax(0, 1fr); }
  .ccard { grid-template-columns: minmax(0, 1fr); }
  .f2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pied-l { flex-direction: column; text-align: center; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .tour { animation: none; }
  .curseur { animation: none; }
  .objet { height: auto; }
  .objet-stick { position: relative; height: auto; min-height: 100vh; padding-bottom: 40px; }
  .fiches { position: relative; inset: auto; display: grid; gap: 14px; padding: 60vh var(--pad) 0; }
  .fiche { position: relative; opacity: 1; left: auto !important; right: auto !important; top: auto; bottom: auto; width: auto; transform: none; margin: 0; }
  .fiche::before { display: none; }
}

/* ---------- Vraie pub OPUS dans le téléphone, avec bouton son ---------- */
.pj-vis.solo .tel.mini.pub { --w: min(340px, 62cqw); }
/* Écran exactement en 9:16 comme la vidéo : largeur écran = w − 2 × 0,034w, hauteur = largeur × 16/9, + les deux bords */
.tel.pub { aspect-ratio: 1 / 1.7249; }
.tel.pub .tel-vue video { object-fit: cover; object-position: center; }
.film-son { position: absolute; left: 50%; bottom: calc(var(--w) * .06); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 99px; background: rgba(0, 0, 0, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 500 13px/1 'Geist', sans-serif; white-space: nowrap; cursor: pointer; transition: background .2s, opacity .3s; }
.film-son:hover { background: rgba(0, 0, 0, .8); }
.film-son:focus-visible { outline: 2px solid var(--bleu, #3b82ff); outline-offset: 3px; }
.film-ico { width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z'/%3E%3Cpath d='M17 9l4 6M21 9l-4 6' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z'/%3E%3Cpath d='M17 9l4 6M21 9l-4 6' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E") center / contain no-repeat; }
.film-son[aria-pressed="true"] .film-ico { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z'/%3E%3Cpath d='M16 8.5a5 5 0 0 1 0 7M18.5 6a8.5 8.5 0 0 1 0 12' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z'/%3E%3Cpath d='M16 8.5a5 5 0 0 1 0 7M18.5 6a8.5 8.5 0 0 1 0 12' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E"); }
@media (max-width: 720px) { .pj-vis.solo .tel.mini.pub { --w: min(270px, 70cqw); } .film-son { height: 30px; padding: 0 11px; font-size: 11.5px; gap: 6px; bottom: calc(var(--w) * .035); } .film-ico { width: 13px; height: 13px; } }

/* Pubs 9:16 : bouton son SOUS le téléphone (il cachait les sous-titres) et coins d'écran moins ronds (ils rognaient le texte) */
.pj-vis.solo.pub-vis { flex-direction: column; align-items: center; gap: 14px; }
.pj-vis.pub-vis > * { flex: none; }
.pj-vis.pub-vis .film-son { position: static; transform: none; }
.tel.pub .tel-ecran { border-radius: calc(var(--w) * .075); }
.tel.pub { border-radius: calc(var(--w) * .11); }
@media (max-width: 720px) { .pj-vis.solo.pub-vis { gap: 10px; } }

/* Fiche de chaque appli : accroche « La plus … », description, technologies en puces, puce IA */
.pj-sup { margin-bottom: 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8ea2ff; }
.pj-stack { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; max-width: 34em; }
.pj-stack li { padding: 6px 11px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 99px; font: 500 12px/1 'Geist', sans-serif; color: #c9ccd3; white-space: nowrap; }
.pj-stack li.ia { border-color: rgba(91, 124, 255, .55); background: rgba(91, 124, 255, .16); color: #dfe5ff; }
.pj-stack li.ia span { color: #8ea2ff; }
.pj.large .pj-stack { margin-top: 16px; }
@media (max-width: 720px) { .pj-sup { margin-bottom: 10px; font-size: 11px; } .pj-stack { justify-content: center; margin-left: auto; margin-right: auto; gap: 6px; } .pj-stack li { font-size: 11px; padding: 5px 9px; } }
@media (min-width: 721px) {
  .pj.large .pj-tete { grid-template-rows: 1fr auto; }
  .pj.large .pj-tete > .pj-sup { grid-column: 1; grid-row: 1; align-self: end; }
  .pj.large .pj-tete > .pj-nom { grid-column: 1; grid-row: 2; }
  .pj.large .pj-tete > div { grid-column: 2; grid-row: 1 / span 2; }
}

/* =================== v3 : sections ajoutées (golemtech.ovh) =================== */
[hidden] { display: none !important; }
.titre-accueil { font-size: clamp(42px, 7.4vw, 118px); }
.accroche { margin-top: 26px; max-width: 34em; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; color: #d3d6dc; }
.accueil-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.frappe-pied { color: #e4e6ea; text-transform: none; letter-spacing: 0; }
.frappe-pied .prompt { color: var(--acc-2); }
.intro { margin-top: 22px; max-width: 34em; font-size: clamp(16px, 1.3vw, 19px); color: #b8bcc5; }

/* Confiance */
.stat { margin-top: 0; }
.confiance { padding: 0 0 clamp(4px, 1vw, 14px); }
.conf-chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 28px; }
@media (max-width: 1100px) { .conf-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
.conf-chiffres .cpt { font-variant-numeric: tabular-nums; }
.conf-chiffres li { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .25); }
.conf-chiffres b { display: block; font-size: clamp(34px, 4vw, 58px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.conf-chiffres li > span { display: block; margin-top: 10px; color: #b8bcc5; }

/* Badges Client / Mon produit + mini étude de cas */
.bdg { display: inline-block; margin-right: 12px; padding: 4px 10px; border-radius: 99px; font-size: 10.5px; letter-spacing: .12em; color: #d5d8de; border: 1px solid rgba(255, 255, 255, .22); vertical-align: 1px; }
.bdg.cl { color: var(--noir); background: var(--acc-2); border-color: var(--acc-2); }
.suite { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(30px, 4vw, 60px); }

/* Méthode */
.methode { padding: clamp(90px, 12vw, 170px) 0 0; }
.meth { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 6vw, 80px); counter-reset: none; }
.meth li { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .25); }
.meth span { display: block; font-size: 12px; color: var(--acc-2); margin-bottom: 10px; }
.meth h3 { font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -.02em; font-weight: 500; }
.meth p { margin-top: 8px; color: #b8bcc5; font-size: 15px; }

/* À propos avec portrait */
.moi-grille { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; }
.moi-photo { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--noir-2); border: 1px solid rgba(255, 255, 255, .08); }
.moi-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }  /* la place est tenue par le cadre (aspect-ratio), pas par l image : rien ne bouge quand elle arrive */
.moi-txt .h-big { margin-bottom: 24px; }
.moi-txt .lien-fl { display: inline-block; margin-top: 26px; color: #fff; }

/* Prix */
.tarifs { padding: 0 0 clamp(60px, 8vw, 110px); }
.tarifs .prix { margin-top: 0; }
.aussi { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 22px; padding: 18px 24px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .08); font-size: 15px; color: #d3d6dc; }
.aussi .mono { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.aussi a { border-bottom: 1px solid transparent; transition: border-color .2s; }
.aussi a:hover { border-color: rgba(255, 255, 255, .5); }
.aussi b { font-weight: 500; color: #fff; white-space: nowrap; }

/* FAQ */
.faq { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 140px); }
.faq-grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; }
.faq-liste { border-top: 1px solid var(--trait); }
.faq-liste details { border-bottom: 1px solid var(--trait); }
.faq-liste summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -.01em; }
.faq-liste summary::-webkit-details-marker { display: none; }
.faq-liste summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--acc-2); transition: transform .3s var(--ease); }
.faq-liste details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-liste details p { padding: 0 0 22px; color: #b8bcc5; max-width: 36em; }

/* Formulaire en étapes */
.etape-n { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #6b707a; margin: 18px 0 8px; }
.prog { height: 3px; border-radius: 3px; background: #dfe1e6; margin-bottom: 20px; overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--acc); transform-origin: left; transform: scaleX(.3333); transition: transform .4s var(--ease); }
.ccard-form:not(.pas-a-pas) .etape-n, .ccard-form:not(.pas-a-pas) .prog, .ccard-form:not(.pas-a-pas) .btn-ret { display: none; }
.form-nav { display: flex; gap: 10px; align-items: center; }
.form-nav .btn-send { flex: 1; }
.btn-ret { height: 56px; padding: 0 20px; border-radius: 99px; border: 1px solid #d6d8dd; color: #0b0c10; font-size: 15px; }
.fld em { font-style: normal; color: #8b909a; }
.types label span { cursor: pointer; }

/* Bouton flottant (téléphone) */
.flot { display: none; }
@media (max-width: 720px) {
  .flot { display: flex; align-items: center; justify-content: center; position: fixed; z-index: 40; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); height: 50px; padding: 0 24px; border-radius: 99px; background: var(--blanc); color: var(--noir); font-weight: 500; font-size: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transform: translate(-50%, 140%); opacity: 0; transition: transform .45s var(--ease), opacity .3s; white-space: nowrap; }
  .flot.vu { transform: translate(-50%, 0); opacity: 1; }
  .accroche { font-size: 16px; }
  .accueil-pied { flex-direction: column; align-items: center; gap: 6px; text-align: center; }
  .conf-chiffres { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .suite { justify-content: center; flex-direction: column; align-items: center; }
  .meth { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .moi-grille, .faq-grille { grid-template-columns: minmax(0, 1fr); gap: 30px; text-align: center; }
  .moi-photo { margin: 0 auto; max-width: 260px; }
  .moi-txt .h-big, .faq .h-big, .methode .h-big, .projets .h-big { margin-left: auto; margin-right: auto; }
  .methode .label, .projets > .wrap > .label, .tarifs .label, .faq .label, .moi .label { text-align: center; }
  .methode .wrap > .h-big, .projets > .wrap { text-align: center; }
  .intro { margin-left: auto; margin-right: auto; }
  .faits { text-align: left; }
  .aussi { flex-direction: column; text-align: center; }
  .prix > div { text-align: center; }
  .prix-note { text-align: center; }
  .faq-liste { text-align: left; }
  .ccard-form { text-align: left; }
}
@media (max-width: 1000px) and (min-width: 721px) {
  .meth { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .faq-grille { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}

/* Page Réalisations */
.rea { padding-top: clamp(130px, 16vw, 200px); }
.rea .h-big { max-width: 18ch; }
.puces { position: sticky; top: 84px; z-index: 30; display: flex; justify-content: center; gap: 6px; width: max-content; max-width: calc(100% - 2 * var(--pad)); margin: 40px auto 0; padding: 5px; border-radius: 99px; background: rgba(14, 16, 21, .7); border: 1px solid var(--trait); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); overflow-x: auto; }
.puces a { padding: 9px 16px; border-radius: 99px; font-size: 14px; color: #d5d8de; white-space: nowrap; transition: background .2s, color .2s; }
.puces a:hover { color: #fff; }
.puces a.on { background: var(--blanc); color: var(--noir); }
.rea-fin { padding: clamp(80px, 10vw, 140px) 0; text-align: center; }
.rea-fin .h-big, .rea-fin .intro { margin-left: auto; margin-right: auto; }
.rea-fin .suite { justify-content: center; }
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
@media (max-width: 720px) {
  .rea-tete { text-align: center; }
  .rea .h-big, .rea .intro { margin-left: auto; margin-right: auto; }
  .puces { top: 76px; }
  .puces a { padding: 8px 12px; font-size: 13px; }
}
.btn-suiv { flex: 1; height: 56px; padding: 0 24px; border-radius: 99px; background: #0b0c10; color: #fff; font-weight: 500; font-size: 15px; }

/* Chiffre « 30 applications en production » dans l'accueil (remonté de l'ancienne section .stat) */

/* ---------- Sur tous vos écrans : PC qui s'ouvre, tablette, téléphone (même appli ATCOM) ----------
   Tout est dimensionné en cqi (largeur de la scène) : la scène garde ses proportions à toutes les tailles. */
.ecrans { position: relative; padding: clamp(90px, 12vw, 150px) 0 clamp(70px, 9vw, 120px); overflow-x: clip; }
.ecrans-tete { text-align: center; display: flex; flex-direction: column; align-items: center; }
.ecrans-tete .h-big { max-width: none; }
.ecrans-tete .intro { margin-left: auto; margin-right: auto; }
.ecrans-scene {
  --pcw: 58cqi; --tabw: 19cqi; --telw: 10.6cqi;
  position: relative; container-type: inline-size; margin: clamp(36px, 5vw, 64px) auto 0;
  width: min(1100px, calc(100% - 2 * var(--pad))); aspect-ratio: 100 / 54;
  perspective: 2200px; perspective-origin: 50% -30%;
}
.ecrans-scene figure { position: absolute; margin: 0; }
.ecrans-scene figcaption { position: absolute; left: 0; right: 0; text-align: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); white-space: nowrap; }
.vitre { position: relative; width: 100%; height: 100%; overflow: hidden; background: #fff; }
.vitre img { display: block; width: 100%; height: auto; will-change: transform; }

/* Ordinateur portable : écran (couvercle) articulé sur le bas, socle plat dessous */
.app-pc { width: var(--pcw); left: calc(50% - var(--pcw) / 2); bottom: 8cqi; perspective: 1600px; perspective-origin: 50% 100%; }
.pc-ecran { position: relative; aspect-ratio: 1440 / 900; padding: .55cqi; border-radius: 1.3cqi 1.3cqi .4cqi .4cqi; background: #0c0e13; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 3cqi 6cqi rgba(0, 0, 0, .55); transform-origin: 50% 100%; transform-style: preserve-3d; }
.pc-ecran .vitre { border-radius: .8cqi .8cqi 0 0; backface-visibility: hidden; }
.pc-dos { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, #3a3e47, #23262d); transform: rotateX(180deg) translateZ(1px); backface-visibility: hidden; }
.pc-base { position: absolute; left: -7cqi; right: -7cqi; top: 100%; height: 1.5cqi; border-radius: 0 0 1.6cqi 1.6cqi; background: linear-gradient(180deg, #4a4e57 0%, #2c2f36 55%, #17191e 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 2cqi 4cqi rgba(0, 0, 0, .6); }
.pc-base::before { content: ''; position: absolute; left: 50%; top: 0; width: 12cqi; height: .55cqi; margin-left: -6cqi; border-radius: 0 0 .8cqi .8cqi; background: rgba(0, 0, 0, .35); }
.app-pc figcaption { top: calc(100% + 3.6cqi); }

/* Tablette (portrait) et téléphone : cadres fins, au premier plan */
.app-tab { width: var(--tabw); left: 5cqi; bottom: 3cqi; aspect-ratio: 820 / 1180; padding: .7cqi; border-radius: 2cqi; background: #0c0e13; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 3cqi 6cqi rgba(0, 0, 0, .6); }
.app-tab .vitre { border-radius: 1.3cqi; }
.app-tel { width: var(--telw); right: 7cqi; bottom: 3cqi; aspect-ratio: 390 / 844; padding: .45cqi; border-radius: 1.9cqi; background: #0c0e13; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 3cqi 6cqi rgba(0, 0, 0, .6); }
.app-tel .vitre { border-radius: 1.45cqi; }
.app-tel .vitre::before { content: ''; position: absolute; z-index: 1; top: .7cqi; left: 50%; width: 3.2cqi; height: .95cqi; margin-left: -1.6cqi; border-radius: 1cqi; background: #0c0e13; }
.app-tab figcaption, .app-tel figcaption { top: calc(100% + 1.6cqi); }
.ecrans-legende { display: none; }

/* Grand écran : section épinglée, la scène tient dans la hauteur de la fenêtre */
@media (min-width: 980px) {
  .ecrans { padding: 0; }
  .ecrans-stick { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 40px; }
  .ecrans-scene { width: min(1100px, calc(100% - 2 * var(--pad)), calc((100svh - 340px) * 1.85)); margin-top: 34px; }
  .ecrans-tete .h-big { font-size: clamp(34px, 4.2vw, 64px); }
}
/* Téléphone et petite tablette : PC plus grand, tablette et téléphone devant, une seule légende dessous */
@media (max-width: 979px) {
  .ecrans-scene { --pcw: 80cqi; --tabw: 31cqi; --telw: 18cqi; aspect-ratio: 100 / 78; width: calc(100% - 2 * var(--pad)); }
  .app-pc { bottom: 26cqi; }
  .pc-base { left: -6cqi; right: -6cqi; height: 2.2cqi; }
  .app-tab { left: 2cqi; bottom: 0; padding: 1cqi; border-radius: 3cqi; }
  .app-tab .vitre { border-radius: 2cqi; }
  .app-tel { right: 4cqi; bottom: 0; padding: .8cqi; border-radius: 3.2cqi; }
  .app-tel .vitre { border-radius: 2.5cqi; }
  .app-tel .vitre::before { top: 1.1cqi; width: 5.4cqi; height: 1.6cqi; margin-left: -2.7cqi; }
  .ecrans-scene figcaption { display: none; }
  .ecrans-legende { display: block; text-align: center; margin-top: 26px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
}
@media (min-width: 980px) and (prefers-reduced-motion: no-preference) {
  .ecrans { height: 300vh; }
  .ecrans-stick { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; overflow: hidden; }
}
/* Texte tapé sous le titre (remis à la demande de Jihan, 12/11) : l'accroche se rapproche pour garder la 1re slide dans l'écran */
.frappe { margin-top: 22px; font-size: clamp(15px, 1.6vw, 20px); }
.frappe + .accroche { margin-top: 16px; }
@media (min-width: 721px) and (max-height: 760px) {
  .frappe { margin-top: 16px; }
}
/* Titre borné aussi par la hauteur : sur un PC de 768 px de haut, le badge ne remonte plus sous le menu */
.titre-accueil { font-size: clamp(46px, min(9.4vw, 13vh), 148px); }
@media (min-width: 721px) and (max-height: 800px) {
  .badge { margin-bottom: 18px; }
  .accroche { font-size: 16px; }
}
/* PC : le texte de la 1re slide se centre dans la place laissée entre le menu (≈ 80 px) et la ligne du bas */
@media (min-width: 721px) { .accueil-texte { padding-top: 80px; padding-bottom: 48px; } }

/* ---------- Page Tarifs ---------- */
.tf-tete { padding: clamp(130px, 16vw, 210px) 0 clamp(40px, 5vw, 70px); }
.tf-tete .h-big { max-width: 16ch; }
.tf-offres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tf-offre { padding: 30px 28px; border-radius: 20px; background: var(--noir-2); border: 1px solid rgba(255, 255, 255, .06); }
.tf-offre .mono { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }
.tf-offre .prix-n { margin: 20px 0 8px; }
.tf-offre .prix-s { margin-bottom: 22px; }
.tf-offre h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); font-weight: 500; margin: 24px 0 10px; }
.tf-offre ul li { text-wrap: balance; position: relative; padding: 9px 0 9px 22px; border-top: 1px solid var(--trait); font-size: 15px; color: #d3d6dc; }
.tf-offre ul li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--acc-2); }
.tf-offre ul.non li::before { background: transparent; border: 1px solid var(--gris); }
.tf-aussi { margin-top: 16px; }
.tf-note { margin-top: 18px; font-size: 13px; color: var(--gris); }
.p-tarifs .faq { padding-top: clamp(80px, 10vw, 140px); }
@media (max-width: 1000px) { .tf-offres { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; } }
@media (max-width: 720px) {
  .tf-tete { text-align: center; }
  .tf-tete .h-big, .tf-tete .intro { margin-left: auto; margin-right: auto; }
  .tf-offre { text-align: left; }
  .tf-offre > .mono, .tf-offre > .prix-n, .tf-offre > .prix-s, .tf-note { text-align: center; }
  .tf-offre { padding: 26px 22px; }
}
.tarifs-suite { margin-top: 26px; }
@media (max-width: 720px) { .tarifs-suite { display: flex; justify-content: center; } }

/* ---------- 9 bis. Manifeste (clavier), en bas de page ---------- */
.manif { position: relative; height: 400vh; background: var(--noir); }
.manif-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.manif-stick video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.manif-voile { position: absolute; inset: 0; background: linear-gradient(180deg, var(--noir) 0%, rgba(7, 8, 11, .45) 18%, rgba(7, 8, 11, .45) 82%, var(--noir) 100%); }
.manif-centre { position: relative; width: 100%; padding: 0 var(--pad); }
.manif-phrases { display: grid; }
.mp { grid-area: 1 / 1; text-align: center; margin: 0 auto; max-width: 17em; font-size: clamp(28px, 4.2vw, 60px); line-height: 1.08; letter-spacing: -.035em; font-weight: 500; text-wrap: balance; text-shadow: 0 2px 24px rgba(7, 8, 11, .6); }
.mp .w { display: inline-block; }
/* La petite phrase, discrète, sous la grande */
.manif-sous { display: grid; margin-top: clamp(18px, 2.4vw, 30px); }
.mc { grid-area: 1 / 1; text-align: center; margin: 0 auto; max-width: 30em; font-size: clamp(14px, 1.15vw, 16px); color: #c9ccd3; opacity: 0; text-wrap: balance; }
.manif-n { position: absolute; left: 0; right: 0; bottom: 12vh; text-align: center; font-size: 12px; color: var(--gris); letter-spacing: .1em; }
@media (max-width: 720px) { .manif-n { bottom: auto; top: 14vh; } }
@media (prefers-reduced-motion: reduce) { .manif { height: auto; } .manif-stick { position: relative; } .mc:first-child { opacity: 1; } }

/* ---------- 2 bis. Phrase d'accroche, déplacée de la 1re slide vers les chiffres (12/11) ---------- */
.conf-accroche { max-width: 24em; margin: 0 0 clamp(40px, 5vw, 72px); font-size: clamp(22px, 2.6vw, 38px); line-height: 1.22; letter-spacing: -.025em; font-weight: 500; text-wrap: balance; }
@media (max-width: 720px) { .conf-accroche { margin-left: auto; margin-right: auto; text-align: center; font-size: clamp(21px, 6vw, 26px); } }

/* ---------- 4 bis. Réalisations en carrousel horizontal : 1 projet = 1 écran entier ---------- */
.carrousel { position: relative; height: 100vh; height: 100svh; padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.carrousel .pjs-tete { flex: none; padding-top: clamp(84px, 11vh, 110px); display: flex; align-items: baseline; gap: 18px; }
.carrousel .pjs-tete .label { margin: 0; }
.pjs-titre { font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; letter-spacing: -.02em; color: #d3d6dc; }
.pjs-piste { flex: 1; min-height: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; touch-action: pan-x pinch-zoom; outline: none; }
.pjs-piste::-webkit-scrollbar { display: none; }
.carrousel .pj { flex: 0 0 100%; width: 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "tete vis"; grid-template-rows: minmax(0, 1fr); column-gap: clamp(36px, 5vw, 90px); align-items: center; padding: 0 var(--pad); max-width: none; margin: 0; }
.carrousel .pj + .pj { border-top: 0; }
.carrousel .pj-tete { align-self: center; max-width: 34em; }
.carrousel .pj-nom { font-size: clamp(34px, 4vw, 60px); }
.carrousel .pj-phrase { margin-top: 16px; }
.carrousel .pj-vis { align-self: center; justify-self: center; width: 100%; }
/* Le visuel tient dans la hauteur de l'écran : sa largeur est bornée par la place verticale */
.carrousel .pj-vis.duo { width: min(100%, calc((100svh - 260px) * 2)); }
.carrousel .pj-vis.solo .tel.mini.pub { --w: min(320px, 62cqw, calc((100svh - 330px) * .46)); }
.carrousel .pj-fin { grid-template-columns: minmax(0, 1fr); grid-template-areas: "tete"; justify-items: center; text-align: center; }
.carrousel .pj-fin .pj-nom { font-size: clamp(40px, 5.4vw, 80px); }
.carrousel .pj-fin .pj-phrase { margin-left: auto; margin-right: auto; }
.carrousel .pj-fin .pj-pied { justify-content: center; }
/* Navigation : flèches + points. La flèche de droite clignote tant qu'on n'a pas tourné. */
.pjs-nav { flex: none; display: flex; align-items: center; justify-content: center; gap: 22px; padding: 14px var(--pad) max(22px, env(safe-area-inset-bottom)); }
.pjs-fl { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; transition: opacity .3s, background .2s, border-color .2s; }
.pjs-fl svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pjs-fl:hover { background: rgba(255, 255, 255, .1); }
.pjs-fl:disabled { opacity: .25; cursor: default; }
.pjs-fl:focus-visible { outline: 2px solid #8ea2ff; outline-offset: 3px; }
.pjs-fl.appel { border-color: #8ea2ff; animation: pjs-appel 1.3s ease-in-out infinite; }
.pjs-fl.appel svg { animation: pjs-pousse 1.3s ease-in-out infinite; }
@keyframes pjs-appel { 0%, 100% { box-shadow: 0 0 0 0 rgba(142, 162, 255, .55); background: rgba(142, 162, 255, .08); } 50% { box-shadow: 0 0 0 10px rgba(142, 162, 255, 0); background: rgba(142, 162, 255, .28); } }
@keyframes pjs-pousse { 0%, 100% { transform: translateX(0); opacity: 1; } 50% { transform: translateX(4px); opacity: .45; } }
.pjs-pts { display: flex; gap: 10px; }
.pjs-pts i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .25); transition: background .3s, transform .3s; }
.pjs-pts i.on { background: #fff; transform: scale(1.3); }
@media (max-width: 720px) {
  .carrousel .pjs-tete { padding-top: 70px; justify-content: center; gap: 12px; }
  .pjs-titre { font-size: 15px; }
  .carrousel .pj { grid-template-columns: minmax(0, 1fr); grid-template-areas: "tete" "vis"; grid-template-rows: auto auto; row-gap: 26px; align-content: center; text-align: center; }
  .carrousel .pj-tete { justify-self: center; }
  .carrousel .pj-nom { font-size: clamp(30px, 8.6vw, 38px); }
  .carrousel .pj-phrase { margin-top: 10px; font-size: 15px; line-height: 1.45; }
  .carrousel .pj-stack { margin-top: 12px; }
  .carrousel .pj-pied { margin-top: 14px; flex-direction: row; justify-content: center; }
  .carrousel .pj-pied .pilule { height: 44px; padding: 0 20px; font-size: 14px; }
  .carrousel .pj-vis.duo { width: min(100%, calc((100svh - 540px) * 2.2)); }
  .carrousel .pj-vis.solo .tel.mini.pub { --w: min(250px, 66cqw, calc((100svh - 580px) * .46)); }
  .carrousel .pj-fin { grid-template-rows: auto; }
  .carrousel .pj-fin .pj-pied { flex-direction: column; }
  .carrousel .pj-fin .pj-pied .pilule { height: 52px; }
  .pjs-nav { padding-top: 10px; padding-bottom: calc(78px + env(safe-area-inset-bottom)); } /* au-dessus du bouton flottant « Parlons de votre projet » */
  .pjs-fl { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) { .pjs-fl.appel, .pjs-fl.appel svg { animation: none; } }

/* Mobile : aucun bloc en 3D autour d'une vidéo ou d'une capture (Safari iPhone les efface au retour) */
@media (max-width: 720px) { .tel-pos { perspective: none; } }
.ecrans-scene.a-plat, .ecrans-scene.a-plat .app-pc { perspective: none; }
.ecrans-scene.a-plat .pc-ecran { transform-style: flat; }
.ecrans-scene.a-plat .pc-dos { display: none; }
.ecrans-scene.a-plat .pc-ecran .vitre { backface-visibility: visible; }

/* ---------- Réalisations : le titre de section ne passe plus sous la barre GolemTech (barre = 96 px PC, 78 px mobile) ---------- */
.carrousel .pjs-tete { padding-top: 128px; }
.carrousel .pj-vis.duo { width: min(100%, calc((100svh - 290px) * 2)); }

/* ---------- OPUS : la pub en grand au centre, le texte à gauche, technologies et boutons à droite ---------- */
.carrousel .pj-opus { --wt: min(420px, calc((100svh - 320px) / 1.7249)); grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "tete vis cote"; column-gap: clamp(32px, 4vw, 72px); }
.carrousel .pj-opus .pj-tete { justify-self: start; max-width: 26em; }
.carrousel .pj-opus .pj-vis { width: var(--wt); }
.carrousel .pj-opus .pj-vis.solo .tel.mini.pub { --w: var(--wt); }
.pj-cote { grid-area: cote; align-self: center; justify-self: end; max-width: 22em; }
.pj-cote .pj-stack { margin-top: 0; }
.pj-cote .pj-pied { margin-top: 26px; }
.pj-cote .film-son { position: static; transform: none; height: 52px; padding: 0 22px; font-size: 15px; gap: 9px; }
.pj-cote .film-ico { width: 17px; height: 17px; }
@media (min-width: 721px) and (max-width: 1099px) {
  .carrousel .pj-opus { --wt: min(46vw, 400px, calc((100svh - 320px) / 1.7249)); grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "vis tete" "vis cote"; grid-template-rows: 1fr 1fr; row-gap: 24px; }
  .carrousel .pj-opus .pj-tete { align-self: end; }
  .carrousel .pj-opus .pj-cote { align-self: start; justify-self: start; }
}
@media (max-width: 720px) {
  .carrousel .pjs-tete { padding-top: 100px; }
  .carrousel .pj-vis.duo { width: min(100%, calc((100svh - 560px) * 2.2)); }
  /* Mobile : le téléphone prend toute la hauteur libre entre le texte et les boutons */
  .carrousel .pj-opus { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding-top: 18px; padding-bottom: 6px; }
  .carrousel .pj-opus .pj-tete { justify-self: auto; max-width: 30em; }
  .carrousel .pj-opus .pj-vis { flex: 1 1 0; min-height: 0; width: 100%; container-type: size; }
  .carrousel .pj-opus .pj-vis.solo .tel.mini.pub { --w: min(80cqw, calc(100cqh / 1.7249)); }
  .pj-cote { flex: none; justify-self: auto; max-width: none; }
  .pj-cote .pj-stack { display: none; } /* place gagnée pour la vidéo ; les technologies restent sur PC */
  .pj-cote .pj-pied { margin-top: 0; flex-direction: row; justify-content: center; gap: 10px; }
  .pj-cote .film-son, .carrousel .pj-cote .pj-pied .pilule { height: 44px; padding: 0 18px; font-size: 14px; }
}
/* Ombre du téléphone OPUS raccourcie : la grande ombre était coupée net en bas du carrousel */
.carrousel .pj-opus .tel.pub { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 0 0 calc(var(--w) * .012) #0b0c0f, 0 20px 40px -16px rgba(0, 0, 0, .75); }

/* ---------- 12/11 nuit : titre « Ce que je construis » sous la barre (barre 96 px PC, 78 px mobile) ---------- */
.objet-tete { top: 124px; }
@media (max-width: 720px) { .objet-tete { top: 98px; } }

/* ---------- Bouton flottant retiré : la place revient aux projets ---------- */
@media (max-width: 720px) { .pjs-nav { padding-bottom: max(20px, env(safe-area-inset-bottom)); } }

/* ---------- Réalisations : visuel plus large, le téléphone passe par-dessus le coin de l'écran ---------- */
@media (min-width: 721px) { .carrousel .pj:not(.pj-opus):not(.pj-fin) { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.carrousel .pj-vis.duo { display: block; position: relative; aspect-ratio: 100 / 61.75; width: min(100%, calc((100svh - 280px) * 1.62)); }
.carrousel .pj-vis.duo .pj-ecr { position: absolute; left: 0; top: 0; width: 86cqw; }
.carrousel .pj-vis.duo .tel.mini { position: absolute; right: 0; bottom: 0; --w: 22cqw; z-index: 2; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 0 0 calc(var(--w) * .012) #0b0c0f, -18px 24px 50px -10px rgba(0, 0, 0, .85); }
@media (max-width: 720px) {
  .carrousel .pj-vis.duo { width: min(100%, calc((100svh - 470px) * 1.62)); }
}

/* ---------- Accueil, À propos : le tarif horaire au-dessus du SIRET ---------- */
.faits .fait-prix a { border-bottom: 1px solid rgba(255, 255, 255, .35); transition: border-color .2s; }
.faits .fait-prix a:hover { border-color: #fff; }

/* ---------- Page Tarifs : 35 € de l'heure, puis les durées moyennes ---------- */
.tf-heure { padding: clamp(34px, 4vw, 56px); border-radius: 24px; background: var(--noir-2); border: 1px solid rgba(255, 255, 255, .06); text-align: center; }
.tf-heure .mono { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8ea2ff; }
.tf-heure-n { margin: 18px 0 14px; font-size: clamp(72px, 11vw, 168px); line-height: .9; letter-spacing: -.055em; font-weight: 500; }
.tf-heure-n small { display: block; margin-top: 12px; font-size: clamp(16px, 1.6vw, 22px); letter-spacing: 0; color: var(--gris); font-weight: 400; }
.tf-heure-s { max-width: 34em; margin: 0 auto; color: #b8bcc5; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5; text-wrap: balance; }
.tf-listes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; align-items: start; }
.tf-liste { padding: 28px; border-radius: 20px; background: var(--noir-2); border: 1px solid rgba(255, 255, 255, .06); }
.tf-liste h2 { margin-bottom: 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); font-weight: 500; }
.tf-liste ul { margin: 0; padding: 0; list-style: none; }
.tf-liste li { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 12px 0; border-top: 1px solid var(--trait); font-size: 15px; color: #d3d6dc; }
.tf-liste li span { text-wrap: balance; }
.tf-liste li b { flex: none; font-weight: 500; color: #fff; white-space: nowrap; }
@media (max-width: 720px) {
  .tf-listes { grid-template-columns: minmax(0, 1fr); }
  .tf-liste { padding: 22px 20px; }
  .tf-liste h2 { text-align: center; }
  .tf-liste li { font-size: 14px; }
}

/* ---------- Page Réalisations : 1 projet = 1 écran entier (13/11) ----------
   Chaque fiche fait exactement la hauteur de l'écran sous l'en-tête et les puces (--bandeau, mesuré par main.js) ;
   le visuel est un conteneur de taille qui prend toute la place libre, téléphone et écran s'y calent sans déborder. */
.p-rea .pj, .p-rea .pj.inv { height: calc(100vh - var(--bandeau, 140px)); height: calc(100svh - var(--bandeau, 140px)); padding: clamp(18px, 3vh, 34px) 0; grid-template-rows: minmax(0, 1fr) auto; align-items: stretch; }
.p-rea .pj-tete { align-self: end; }
.p-rea .pj-bas { align-self: start; }
.p-rea .pj-vis { align-self: stretch; min-height: 0; height: 100%; container-type: size; }
.p-rea .pj-vis::before { inset: 14% 12% 6%; }
/* Téléphone seul : 9 × 19,4 ; pub : 1 × 1,7249 (+ bouton son dessous) ; boutons glissés dans le visuel (La440, PilePoil) */
.p-rea .pj-vis.solo { flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.p-rea .pj-vis.solo > * { flex: none; }
.p-rea .pj-vis.solo .tel.mini { --w: min(320px, 78cqw, calc(100cqh / 2.156)); }
.p-rea .pj-vis.solo .tel.mini.pub { --w: min(360px, 78cqw, calc((100cqh - 52px) / 1.7249)); }
.p-rea .pj-vis.solo:has(.pj-bas) .tel.mini { --w: min(320px, 78cqw, calc((100cqh - 76px) / 2.156)); }
.p-rea .pj-vis .pj-bas .pj-pied { margin-top: 0; justify-content: center; }
/* Écran + téléphone : boîte 100 × 61,75 centrée, le téléphone passe par-dessus le coin de l'écran */
.p-rea .pj-vis.duo { display: block; --b: min(100cqw, calc(100cqh * 1.619)); --mx: calc((100cqw - var(--b)) / 2); --my: calc((100cqh - var(--b) * .6175) / 2); }
.p-rea .pj-vis.duo .pj-ecr { position: absolute; left: var(--mx); top: var(--my); width: calc(var(--b) * .86); }
.p-rea .pj-vis.duo .tel.mini { position: absolute; right: var(--mx); bottom: var(--my); --w: calc(var(--b) * .22); z-index: 2; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 0 0 calc(var(--w) * .012) #0b0c0f, -18px 24px 50px -10px rgba(0, 0, 0, .85); }
/* Fiches larges (clients, santé, produits) : titre et texte en haut, visuel dans tout le reste */
.p-rea .pj.large { display: flex; flex-direction: column; }
.p-rea .pj.large .pj-tete { flex: none; align-self: stretch; margin-bottom: clamp(14px, 2.6vh, 34px); }
.p-rea .pj.large .pj-vis { flex: 1 1 0; height: auto; }
@media (max-width: 720px) {
  .p-rea .pj, .p-rea .pj.inv, .p-rea .pj.large { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 0 16px; text-align: center; }
  .p-rea .pj-tete, .p-rea .pj-bas, .p-rea .pj.large .pj-tete { flex: none; align-self: auto; margin: 0; }
  .p-rea .pj-vis { flex: 1 1 0; height: auto; --g: 10px; }
  .p-rea .pj-sup { margin-bottom: 6px; }
  .p-rea .pj-nom, .p-rea .pj.large .pj-nom { font-size: clamp(28px, 8vw, 34px); }
  .p-rea .pj-phrase { margin-top: 8px; font-size: 14.5px; line-height: 1.42; }
  .p-rea .pj-stack { margin-top: 10px; }
  .p-rea .pj-pied { margin-top: 12px; flex-direction: row; justify-content: center; gap: 10px; }
  .p-rea .pj-pied .pilule { height: 44px; padding: 0 18px; font-size: 14px; }
  .p-rea .pj.large .pj-tete { row-gap: 0; }
  .p-rea .pj-vis.duo.dm { flex-direction: row; }
  .p-rea .pj-vis.solo .tel.mini { --w: min(260px, 70cqw, calc(100cqh / 2.156)); }
  .p-rea .pj-vis.solo .tel.mini.pub { --w: min(280px, 72cqw, calc((100cqh - 40px) / 1.7249)); }
  .p-rea .pj-vis.solo:has(.pj-bas) .tel.mini { --w: min(260px, 70cqw, calc((100cqh - 62px) / 2.156)); }
}
/* Petits téléphones (iPhone SE) : les technologies cèdent leur place au visuel */
@media (max-width: 720px) and (max-height: 700px) { .p-rea .pj-stack { display: none; } .p-rea .pj-phrase { font-size: 14px; } }
/* Téléphone (écran étroit) : l'écran en haut, le téléphone plus grand qui descend sous son coin droit (boîte 100 × 113) */
@media (max-width: 720px) {
  .p-rea .pj-vis.duo { --b: min(100cqw, calc(100cqh / 1.133)); --my: calc((100cqh - var(--b) * 1.133) / 2); }
  .p-rea .pj-vis.duo .pj-ecr { width: calc(var(--b) * .9); }
  .p-rea .pj-vis.duo .tel.mini { --w: calc(var(--b) * .34); }
}

/* ---------- Réalisations : icône d'appli devant le nom de chaque projet (13/11) ---------- */
.p-rea .pj-nom { display: flex; align-items: center; gap: .32em; }
.pj-ico { flex: none; width: 1.1em; height: 1.1em; border-radius: 22.5%; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 10px 24px -8px rgba(0, 0, 0, .7); }
@media (max-width: 720px) { .p-rea .pj-nom { justify-content: center; gap: 12px; } .pj-ico { width: 44px; height: 44px; } }

/* ---------- Pubs vidéo : bouton « Voir la pub » dans les fiches + fenêtre unique avec le son (13/11) ---------- */
.pub-btn { cursor: pointer; border: 0; font-family: inherit; }
.pub-lire { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.pub-duree { opacity: .55; font-size: .9em; }
.pub-fen { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; height: 100dvh; margin: 0; inset: 0; overflow: hidden; }
.pub-fen[open] { display: flex; align-items: center; justify-content: center; }
.pub-fen::backdrop { background: rgba(5, 6, 9, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pub-cadre { width: min(94vw, calc((100dvh - 120px) * var(--ratio, 1.7778))); aspect-ratio: var(--ratio, 1.7778); border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .9); }
.pub-video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.pub-fermer { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .55); color: #fff; font: 300 30px/1 'Geist', sans-serif; cursor: pointer; }
.pub-fermer:focus-visible, .pub-btn:focus-visible { outline: 2px solid var(--bleu, #3b82ff); outline-offset: 3px; }
@media (max-width: 720px) {
  .pj-pied:has(.pub-btn) { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .pj-pied:has(.pub-btn) .pilule { height: 44px; padding: 0 18px; font-size: 14px; }
  .pub-cadre { width: min(100vw, calc((100dvh - 140px) * var(--ratio, 1.7778))); border-radius: 0; }
}

/* 14/11 (Jihan) : « > intelligence artificielle sur mesure » passait sur 2 lignes sur iPhone et faisait sauter
   tout ce qui est dessous. Le texte tapé tient TOUJOURS sur une ligne : taille calée sur la phrase la plus longue
   (≈ 40 caractères mono = 24 em) et sur la largeur de l'écran ; hauteur réservée fixe. */
@media (max-width: 720px) {
  .frappe { white-space: nowrap; font-size: min(15px, calc((100vw - 40px) / 24.5)); height: 1.6em; min-height: 0; line-height: 1.6; }
}
/* Phrase du bas de la 1re slide : 2 lignes équilibrées plutôt que « … LA MISE / EN LIGNE » */
.accueil-pied span { text-wrap: balance; }
