:root {
  --ink: #081626; --ink2: #0B1E33; --navy: #142F4E; --teal: #1F7A8C; --cy: #53B3C4; --cy2: #7FE3F0;
  --paper: #F5F8FA; --line: #DCE5EB; --text: #3E4A55; --mute: #6B7782; --white: #fff;
  --dline: rgba(127,227,240,.14); --dtext: #C3D4DF;
  --r: 18px; --max: 1200px;
  --f-d: "Space Grotesk", Manrope, system-ui, sans-serif;
  --f-b: Manrope, system-ui, -apple-system, Segoe UI, sans-serif;
  --f-m: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--f-b); color: var(--text); background: var(--paper); font-size: 16.5px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--f-d); color: var(--ink); line-height: 1.08; margin: 0; letter-spacing: -.025em; }
h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 700; max-width: 18ch; margin-bottom: 28px; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 14px; }
a { color: var(--teal); }
.mono { font-family: var(--f-m); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 60; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cy2); outline-offset: 3px; border-radius: 6px; }
.grad { background: linear-gradient(100deg, var(--cy2) 0%, var(--cy) 45%, #3E95A8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Progress + header */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 40; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--cy), var(--cy2)); transform: scaleX(0); transform-origin: 0 50%; }
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; color: var(--white); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(8, 22, 38, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--dline); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.mark { width: 36px; height: 36px; flex: none; }
.brand b { display: block; font-family: var(--f-d); font-size: 17px; font-weight: 700; letter-spacing: .06em; }
.brand small { display: block; font-family: var(--f-m); font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: #8FB3C4; margin-top: 2px; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; }
.nav a { color: #C9DAE4; text-decoration: none; font-weight: 600; font-size: 14.5px; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--white); }
.nav-btn { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; }
.nav-btn span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white); transition: transform .25s; }
.nav-btn span:nth-child(1) { top: 17px; } .nav-btn span:nth-child(2) { top: 25px; }
.nav-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--cy2); color: var(--ink) !important; font-weight: 700; font-size: 15px; padding: 15px 24px; border-radius: 999px; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; box-shadow: 0 0 0 0 rgba(127,227,240,.0); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -8px rgba(127,227,240,.55); }
.btn span { transition: transform .2s; }
.btn:hover span { transform: translateX(3px); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--white) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.btn-wa { background: #25D366; color: #052e18 !important; }
.btn-wa:hover { box-shadow: 0 12px 32px -8px rgba(37,211,102,.6); }
.btn-wa svg { width: 18px; height: 18px; fill: currentColor; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

/* Hero */
.hero { --mx: 70%; --my: 30%; position: relative; overflow: hidden; background: var(--ink); color: var(--dtext); min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; }
.hero-grid { position: absolute; inset: -2px; background-image: linear-gradient(var(--dline) 1px, transparent 1px), linear-gradient(90deg, var(--dline) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 85%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 85%); }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(520px circle at var(--mx) var(--my), rgba(83,179,196,.20), transparent 60%), radial-gradient(900px 600px at 85% 10%, rgba(31,122,140,.35), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(20,47,78,.9), transparent 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; width: 100%; }
.tag { display: inline-flex; align-items: center; gap: 10px; color: var(--cy2); border: 1px solid var(--dline); background: rgba(127,227,240,.05); border-radius: 999px; padding: 7px 14px; margin: 0 0 28px; font-size: 11px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 0 rgba(61,220,151,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(61,220,151,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); } }
.hero h1 { color: var(--white); font-size: clamp(44px, 7vw, 92px); font-weight: 700; letter-spacing: -.045em; line-height: .98; }
.hero h1 .ln { display: block; animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 .ln + .ln { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.lead { font-size: clamp(17px, 1.5vw, 19.5px); max-width: 56ch; margin-top: 26px; color: #A9C0CE; animation: rise .9s .24s cubic-bezier(.2,.7,.2,1) both; }
.hero .cta { animation: rise .9s .34s cubic-bezier(.2,.7,.2,1) both; }
.seal { display: flex; align-items: center; gap: 10px; margin: 40px 0 0; font-size: 13.5px; font-weight: 600; color: #8FB3C4; animation: rise .9s .44s cubic-bezier(.2,.7,.2,1) both; }
.seal svg { width: 22px; height: 22px; fill: var(--cy2); flex: none; }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 520px; justify-self: end; width: 100%; }
.iso { width: 100%; height: 100%; animation: float 8s ease-in-out infinite; filter: drop-shadow(0 0 22px rgba(83,179,196,.25)); }
@keyframes float { 50% { transform: translateY(-10px); } }
.iso .dr { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.6s cubic-bezier(.4,0,.2,1) forwards; }
.iso .dr:nth-child(2) { animation-delay: .25s } .iso .dr:nth-child(3) { animation-delay: .5s } .iso .dr:nth-child(4) { animation-delay: .8s } .iso .dr:nth-child(5) { animation-delay: 1.05s } .iso .dr:nth-child(6) { animation-delay: 1.3s }
@keyframes draw { to { stroke-dashoffset: 0; } }
.nodes circle { opacity: 0; animation: pop .4s 2.2s forwards; }
@keyframes pop { to { opacity: 1; } }
.dims { opacity: 0; animation: pop .6s 2.6s forwards; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px; background: rgba(11,30,51,.55); border: 1px solid rgba(127,227,240,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--white); font-family: var(--f-d); font-weight: 600; font-size: 15px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); opacity: 0; animation: chip .7s cubic-bezier(.2,.7,.2,1) forwards, float 7s ease-in-out infinite; }
.chip .mono { color: var(--cy2); font-size: 11px; }
.c1 { top: 12%; left: -4%; animation-delay: 1.6s, 2.3s; }
.c2 { top: 48%; right: -6%; animation-delay: 1.9s, 2.6s; }
.c3 { bottom: 8%; left: 6%; animation-delay: 2.2s, 2.9s; }
@keyframes chip { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.scroll-hint { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); color: #7F9FB0; text-decoration: none; font-size: 11px; }
.scroll-hint span { display: inline-block; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* Marquee */
.marquee { background: var(--ink2); border-block: 1px solid var(--dline); overflow: hidden; padding: 18px 0; }
.track { display: flex; gap: 28px; width: max-content; animation: slide 38s linear infinite; font-family: var(--f-d); font-size: 22px; font-weight: 600; color: #E3EEF4; white-space: nowrap; }
.track i { font-style: normal; color: var(--cy); font-size: 12px; align-self: center; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
.sec { padding: 128px 0; position: relative; }
.idx { display: flex; align-items: center; gap: 12px; color: var(--teal); margin: 0 0 22px; }
.idx span { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 8px; border-radius: 6px; background: rgba(31,122,140,.1); color: var(--teal); }
.idx::after { content: ""; flex: 0 1 80px; height: 1px; background: currentColor; opacity: .35; }
.idx.light, .dark .idx { color: var(--cy2); }
.idx.light span, .dark .idx span { background: rgba(127,227,240,.1); color: var(--cy2); }

.two { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: start; }
blockquote { margin: 30px 0 0; padding: 22px 26px; border-radius: 16px; background: linear-gradient(135deg, rgba(31,122,140,.08), rgba(127,227,240,.04)); border: 1px solid rgba(31,122,140,.18); color: var(--ink); font-family: var(--f-d); font-weight: 600; font-size: 19px; line-height: 1.45; position: relative; }
blockquote::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: linear-gradient(var(--cy2), var(--teal)); }
.spec { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 0; box-shadow: 0 30px 60px -30px rgba(8,22,38,.25); position: sticky; top: 100px; }
.spec-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 26px; border-bottom: 1px dashed var(--line); }
.spec-head h3 { font-family: var(--f-m); font-size: 12px; color: var(--teal); letter-spacing: .1em; }
.spec-head span { color: var(--mute); font-size: 10.5px; }
.spec dl { margin: 0; padding: 8px 26px 18px; display: grid; grid-template-columns: 112px 1fr; }
.spec dt, .spec dd { padding: 12px 0; border-bottom: 1px solid #EEF2F5; font-size: 14.5px; }
.spec dt:nth-last-of-type(1), .spec dd:last-child { border-bottom: 0; }
.spec dt { font-weight: 700; color: var(--mute); }
.spec dd { margin: 0; color: var(--ink); font-weight: 600; }

/* Dark band: prestations */
.dark { background: var(--ink); color: var(--dtext); overflow: hidden; }
.dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 500px at 100% 0%, rgba(31,122,140,.28), transparent 60%); pointer-events: none; }
.dark h2, .dark h3 { color: var(--white); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.cell { --x: 50%; --y: 50%; position: relative; grid-column: span 1; padding: 30px 28px; border-radius: var(--r); background: rgba(255,255,255,.03); border: 1px solid var(--dline); overflow: hidden; transition: transform .3s, border-color .3s; isolation: isolate; }
.cell.wide { grid-column: span 2; }
.cell::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--x) var(--y), rgba(127,227,240,.14), transparent 60%); opacity: 0; transition: opacity .3s; z-index: -1; }
.cell:hover { transform: translateY(-4px); border-color: rgba(127,227,240,.35); }
.cell:hover::before { opacity: 1; }
.cell.accent { background: linear-gradient(135deg, rgba(83,179,196,.18), rgba(31,122,140,.08)); border-color: rgba(127,227,240,.3); }
.cell .n { position: absolute; top: 22px; right: 24px; color: #6E8FA0; font-size: 11px; }
.cell svg { width: 50px; height: 50px; fill: none; stroke: var(--cy2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; padding: 10px; border-radius: 14px; background: rgba(127,227,240,.07); border: 1px solid var(--dline); margin-bottom: 26px; }
.cell h3 { margin-bottom: 10px; }
.cell p { margin: 0; font-size: 15px; color: #A9C0CE; max-width: 46ch; }

.missions { margin-top: 64px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; padding-top: 48px; border-top: 1px solid var(--dline); position: relative; }
.missions h3 { font-size: 28px; margin-bottom: 10px; }
.missions p { color: #A9C0CE; }
.missions ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
.missions li { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--dline); background: rgba(255,255,255,.03); color: #E3EEF4; font-weight: 600; font-size: 14.5px; transition: border-color .2s, background .2s; }
.missions li:hover { border-color: rgba(127,227,240,.45); background: rgba(127,227,240,.07); }

/* Method */
.steps { --p: 0; list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; top: 28px; left: 28px; right: 28px; height: 2px; border-radius: 2px; }
.steps::before { background: var(--line); }
.steps::after { background: linear-gradient(90deg, var(--teal), var(--cy)); transform: scaleX(var(--p)); transform-origin: 0 50%; transition: transform .15s linear; }
.steps li { position: relative; padding-top: 82px; z-index: 1; }
.steps .n { position: absolute; top: 0; left: 0; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--cy2); font-size: 15px; box-shadow: 0 0 0 8px var(--paper), 0 16px 30px -12px rgba(8,22,38,.5); }
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: 15px; }

/* Statement */
.statement { background: linear-gradient(180deg, var(--ink2), var(--ink)); color: var(--dtext); overflow: hidden; }
.statement::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--dline) 1px, transparent 1px), linear-gradient(90deg, var(--dline) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); opacity: .5; }
.statement .wrap { position: relative; }
.big { font-family: var(--f-d); font-size: clamp(32px, 4.8vw, 64px); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; color: var(--white); max-width: 20ch; margin: 0 0 64px; }
.vals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.val { padding: 26px 24px; border-radius: var(--r); border: 1px solid var(--dline); background: rgba(255,255,255,.03); }
.val .mono { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(127,227,240,.1); color: var(--cy2); margin-bottom: 18px; }
.val h3 { color: var(--white); margin-bottom: 8px; }
.val p { font-size: 15px; margin: 0; color: #A9C0CE; }
.note { margin: 34px 0 0; color: #7F9FB0; font-size: 11px; }

/* Contact */
.contact { background: var(--ink); padding: 40px 0 120px; }
.panel { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 56px; border-radius: 28px; background: radial-gradient(700px 400px at 0% 0%, rgba(83,179,196,.22), transparent 60%), linear-gradient(160deg, #0F2A45, var(--ink2)); color: var(--dtext); isolation: isolate; }
.panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(127,227,240,.6), rgba(127,227,240,.05) 40%, rgba(127,227,240,.35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; z-index: -1; }
.panel h2 { color: var(--white); }
.panel .lead { animation: none; }
.coords { margin: 0; display: grid; grid-template-columns: 104px 1fr; font-size: 15px; background: rgba(8,22,38,.45); border: 1px solid var(--dline); border-radius: 20px; padding: 10px 26px; }
.coords dt, .coords dd { padding: 13px 0; border-bottom: 1px solid var(--dline); }
.coords dt:last-of-type, .coords dd:last-child { border-bottom: 0; }
.coords dt { color: #7F9FB0; font-size: 10.5px; padding-top: 16px; }
.coords dd { margin: 0; color: var(--white); font-weight: 600; overflow-wrap: anywhere; }
.coords a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(127,227,240,.5); text-underline-offset: 4px; }
.coords a:hover { color: var(--cy2); }

.foot { background: #050F1B; color: #7F9FB0; font-size: 13.5px; border-top: 1px solid var(--dline); }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 28px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: #C9DAE4; }
.foot-brand .mark { width: 22px; height: 22px; }
.foot .mono { font-size: 10.5px; }

/* Reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
.bento .rv:nth-child(2), .steps .rv:nth-child(2), .vals .rv:nth-child(2) { transition-delay: .08s; }
.bento .rv:nth-child(3), .steps .rv:nth-child(3), .vals .rv:nth-child(3) { transition-delay: .16s; }
.bento .rv:nth-child(4), .steps .rv:nth-child(4), .vals .rv:nth-child(4) { transition-delay: .24s; }
.bento .rv:nth-child(5) { transition-delay: .1s; } .bento .rv:nth-child(6) { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .chip, .nodes circle, .dims { opacity: 1; transform: none; }
  .iso .dr { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1040px) {
  .hero-in, .two, .panel, .missions { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 420px; margin-top: 10px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell.wide { grid-column: span 2; }
  .vals, .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
  .spec { position: static; }
  .panel { padding: 40px; gap: 36px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-btn { display: block; }
  .nav ul { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(8,22,38,.97); backdrop-filter: blur(14px); padding: 8px 16px 20px; display: none; border-bottom: 1px solid var(--dline); }
  .nav ul.open { display: flex; }
  .nav li a { display: block; padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--dline); }
  .nav li:last-child a { border: 0; margin-top: 14px; }
  .top { background: rgba(8,22,38,.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .hero { min-height: auto; padding: 112px 0 64px; }
  .tag { font-size: 10px; }
  .hero-visual { max-width: 320px; }
  .chip { font-size: 13px; padding: 8px 12px; }
  .c2 { right: -2%; }
  .scroll-hint { display: none; }
  .track { font-size: 18px; }
  .sec { padding: 84px 0; }
  .bento, .vals, .steps { grid-template-columns: 1fr; }
  .cell.wide { grid-column: span 1; }
  .spec dl, .coords { grid-template-columns: 1fr; }
  .spec dt, .coords dt { border-bottom: 0; padding-bottom: 0; }
  .contact { padding: 16px 0 72px; }
  .panel { padding: 28px 20px; border-radius: 22px; }
  .cta .btn { width: 100%; }
  .big { margin-bottom: 40px; }
}
.lang { display: flex; gap: 2px; border: 1px solid var(--dline); border-radius: 999px; padding: 3px; }
.lang a { font-family: var(--f-m); font-size: 11.5px !important; letter-spacing: .08em; padding: 4px 9px; border-radius: 999px; color: #8FB3C4 !important; }
.lang a[aria-current="true"] { background: rgba(127,227,240,.14); color: var(--white) !important; }
@media (max-width: 760px) { .nav li.lang { display: flex; align-self: flex-start; margin: 12px 0 4px; } .nav li.lang a { display: inline-block; padding: 6px 14px; border: 0; font-size: 13px !important; } }

/* Images (visuels d'illustration) */
.frame { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid rgba(127,227,240,.28); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 60px -10px rgba(83,179,196,.25); transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); transition: transform .6s cubic-bezier(.2,.7,.2,1); animation: frameIn 1.1s .3s cubic-bezier(.2,.7,.2,1) both; }
.hero-visual:hover .frame { transform: perspective(1200px) rotateY(0) rotateX(0); }
@keyframes frameIn { from { opacity: 0; transform: perspective(1200px) rotateY(-14deg) translateY(30px); filter: blur(8px); } }
.frame img { display: block; width: 100%; height: auto; aspect-ratio: 1376/768; object-fit: cover; }
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,22,38,.75)); pointer-events: none; }
.scan { position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(127,227,240,.18) 70%, rgba(127,227,240,.55) 100%); mix-blend-mode: screen; animation: scan 4.5s cubic-bezier(.45,0,.55,1) infinite 1.5s; pointer-events: none; }
@keyframes scan { 0% { top: -30%; } 60%, 100% { top: 100%; } }
.cn { position: absolute; width: 18px; height: 18px; border: 2px solid var(--cy2); z-index: 2; pointer-events: none; }
.cn.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; } .cn.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.cn.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; } .cn.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.hud { position: absolute; left: 22px; bottom: 18px; z-index: 2; display: flex; align-items: center; gap: 8px; color: var(--white); font-size: 10.5px; }
.hud b, .shot figcaption b { width: 7px; height: 7px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 10px #3DDC97; animation: pulse 2.2s infinite; }
.hero-visual { aspect-ratio: auto; max-width: 600px; padding: 40px 0; }
.c1 { top: 4%; left: -6%; } .c2 { top: 46%; right: -5%; } .c3 { bottom: 2%; left: 8%; }

.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; position: relative; }
.shot { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--dline); }
.shot img { display: block; width: 100%; height: 100%; aspect-ratio: 16/9; object-fit: cover; transform: scale(1.02); transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s; filter: saturate(.9); }
.shot:hover img { transform: scale(1.08); filter: saturate(1.15); }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8,22,38,.85)); pointer-events: none; }
.shot figcaption { position: absolute; left: 20px; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 8px; color: var(--white); font-size: 11px; }
.shots-note { color: #5E7F90; font-size: 10px; margin: 10px 0 0; text-align: right; }
@media (max-width: 1040px) { .frame { transform: none; } .hero-visual { max-width: 560px; } }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } .hero-visual { padding: 24px 0 8px; } .c1 { left: -2%; top: 0; } .c2 { right: -2%; } .c3 { bottom: -2%; } }
@media (prefers-reduced-motion: reduce) { .frame { transform: none; } .scan { display: none; } }

/* Héros : image à l'échelle du titre */
@media (min-width: 1041px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; }
  .hero-visual { max-width: none; width: 100%; justify-self: stretch; padding: 30px 0; }
  .frame img { aspect-ratio: 5 / 4; }
  .c1 { top: 2%; left: -4%; } .c2 { top: 50%; right: -3%; } .c3 { bottom: 0; left: 6%; }
}
@media (min-width: 1400px) { .wrap.hero-in { max-width: 1320px; } }
