/* INNOLVEX — système de design
   Palette de départ : Midnight Navy #071426 · Deep Blue #123B70 · Electric Blue #2685F5 · Ice White #F2F5FA */
:root, :root[data-theme="dark"] {
  --navy: #071426; --deep: #123B70; --accent: #2685F5; --ice: #F2F5FA;
  --bg: #071426; --bg2: #0a1c34; --surface: #0d2340; --surface2: #11294a;
  --fg: #F2F5FA; --muted: #9db0cc; --line: rgba(142, 178, 230, .16);
  --glow: rgba(38, 133, 245, .22); --shadow: 0 20px 50px -24px rgba(0, 0, 0, .8);
  --hdr: rgba(7, 20, 38, .86);
  --font-h: "Sora", ui-sans-serif, system-ui, sans-serif; --font-b: "Inter", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1); --r: 20px; color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F2F5FA; --bg2: #E7EDF6; --surface: #fff; --surface2: #F2F5FA;
  --fg: #071426; --muted: #4a5d7a; --line: rgba(7, 20, 38, .11);
  --glow: rgba(38, 133, 245, .14); --shadow: 0 18px 44px -26px rgba(18, 59, 112, .45);
  --hdr: rgba(242, 245, 250, .9); color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1rem/1.65 var(--font-b); overflow-x: hidden; transition: background .3s, color .3s; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-h); margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0 0 1em; } ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent); color: #fff; }
.wrap { width: min(100% - 2rem, 1200px); margin-inline: auto; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); } .small { font-size: .9rem; } .big { font-size: 1.15rem; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 300; background: var(--accent); color: #fff; padding: .7rem 1rem; border-radius: 10px; }
.skip:focus { top: 1rem; }
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 200; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #7FB8FF); transform: scaleX(0); transform-origin: left; }

/* En-tête */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; padding: .8rem 0; transition: background .3s, padding .3s, box-shadow .3s; }
.hdr.scrolled { background: var(--hdr); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding: .5rem 0; }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .65rem; font-family: var(--font-h); font-weight: 800; letter-spacing: .02em; line-height: 1; }
.brand span { display: grid; } .brand small { font-size: .56rem; letter-spacing: .32em; font-weight: 600; color: var(--muted); margin-top: .25rem; }
.nav { display: none; gap: .1rem; }
.nav a { padding: .5rem .8rem; border-radius: 99px; font-size: .88rem; font-weight: 500; color: var(--muted); transition: .2s; }
.nav a:hover { color: var(--fg); background: var(--surface); }
.hdr__act { display: flex; align-items: center; gap: .5rem; }
.lang { font-size: .85rem; font-weight: 600; padding: .5rem .85rem; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); transition: .2s; }
.lang:hover { border-color: var(--accent); }
.ibtn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .2s; }
.ibtn:hover { transform: translateY(-2px); border-color: var(--accent); }
.ibtn svg { width: 19px; height: 19px; }
:root[data-theme="dark"] .i-sun, :root[data-theme="light"] .i-moon { display: none; }
.burger { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: .3s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: 6rem 1.5rem 2rem; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .3s var(--ease); overflow-y: auto; }
.mnav.open { opacity: 1; visibility: visible; transform: none; }
.mnav a { font: 700 1.45rem var(--font-h); padding: .8rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 1080px) { .nav { display: flex; } .burger, .mnav { display: none; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .9rem 1.5rem; border-radius: 99px; font-weight: 600; border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s, border-color .2s; }
.btn .arrow { width: 18px; height: 18px; transition: transform .25s var(--ease); } .btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: linear-gradient(120deg, var(--accent), #1a5fc4); color: #fff; box-shadow: 0 10px 28px -12px var(--accent); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -14px var(--accent); }
.btn--ghost { border-color: var(--line); background: var(--surface); } .btn--ghost:hover { transform: translateY(-3px); border-color: var(--accent); }
.btn--light { background: #fff; color: #071426; } .btn--light:hover { transform: translateY(-3px); }
.btn--sm { padding: .6rem 1.1rem; font-size: .9rem; }

/* Héros */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 7rem 0 4rem; overflow: hidden; isolation: isolate; background: var(--navy); color: var(--ice); --muted: #9db0cc; --surface: #0d2340; --line: rgba(142,178,230,.2); }
:root[data-theme="light"] .hero { background: linear-gradient(160deg, #0a1f3d, #123B70); }
.hero__bg i { position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1; animation: drift 16s ease-in-out infinite; }
.hero__bg i:nth-child(1) { width: 480px; height: 480px; background: var(--accent); opacity: .35; top: -140px; right: -80px; }
.hero__bg i:nth-child(2) { width: 380px; height: 380px; background: #123B70; opacity: .7; bottom: -120px; left: -100px; animation-delay: -7s; }
@keyframes drift { 50% { transform: translate3d(-40px, 30px, 0) scale(1.1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%); opacity: .5; }
.hero__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); } }
.kicker { display: inline-block; font: 600 .75rem var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); background: var(--glow); border: 1px solid var(--line); padding: .4rem .85rem; border-radius: 99px; margin-bottom: 1rem; }
.hero .kicker { color: #7FB8FF; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 5.2rem); font-weight: 800; letter-spacing: -.03em; margin: .6rem 0; }
.grad { background: linear-gradient(110deg, #fff, #7FB8FF 55%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sig { font: 600 clamp(1.1rem, 2.6vw, 1.5rem) var(--font-h); color: #7FB8FF; margin-bottom: 1rem; }
.lead { color: #c6d4ea; font-size: clamp(1rem, 2vw, 1.15rem); max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero .btn--ghost { color: var(--ice); }

/* Carrousel */
.car { background: rgba(13, 35, 64, .7); border: 1px solid var(--line); border-radius: 28px; padding: 1.2rem; backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.car__view { position: relative; aspect-ratio: 4 / 5; max-height: 540px; margin-inline: auto; overflow: hidden; border-radius: 20px; background: radial-gradient(circle at 50% 35%, #123B70, #0a1c34 70%); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(1.04); transition: opacity .8s var(--ease), transform .8s var(--ease), visibility .8s; display: grid; grid-template-rows: 1fr auto; }
.slide.is-on { opacity: 1; visibility: visible; transform: none; }
.slide__art { padding: 1.2rem 1.2rem 0; min-height: 0; } .slide__art svg { width: 100%; height: 100%; }
.slide__txt { padding: 1rem 1.4rem 1.4rem; background: linear-gradient(transparent, rgba(7, 20, 38, .92) 40%); }
.slide__txt .tag { font: 600 .72rem var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: #7FB8FF; }
.slide__txt h3 { font-size: 1.3rem; margin: .3rem 0; color: #fff; } .slide__txt p { margin: 0; color: #c6d4ea; font-size: .95rem; }
.a-line { stroke: rgba(127, 184, 255, .35); stroke-width: 1.2; } .a-dot { fill: #7FB8FF; } .a-core { fill: var(--accent); }
.spin { transform-origin: 200px 200px; animation: spin 50s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
.pulse { animation: pulse 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; } @keyframes pulse { 50% { transform: scale(1.5); opacity: .6; } }
.a-card { fill: rgba(38, 133, 245, .16); stroke: rgba(127, 184, 255, .5); } .c0 { fill: rgba(38, 133, 245, .4); }
.a-tile { fill: rgba(38, 133, 245, .14); stroke: rgba(127, 184, 255, .4); animation: tile 4s ease-in-out infinite; } .a-tile.hot { fill: var(--accent); }
@keyframes tile { 50% { fill: rgba(38, 133, 245, .35); } }
.car__ctl { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-top: 1rem; }
.dots { display: flex; gap: .5rem; } .dot { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; background: rgba(157, 176, 204, .4); transition: width .3s var(--ease), background .3s; }
.dot.is-on { width: 28px; background: var(--accent); }
.car.paused .i-pause, .car:not(.paused) .i-play { display: none; }

/* Sections */
.sec { padding: clamp(4rem, 9vw, 7rem) 0; } .sec.alt { background: var(--bg2); }
.head { max-width: 720px; margin-bottom: 2.5rem; } .head h2, .sec h2 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); }
.grid2 { display: grid; gap: 1.2rem; } .grid4 { display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .grid2 { grid-template-columns: 1fr 1fr; } .grid4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1140px) { .grid4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.7rem; box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-5px); border-color: var(--accent); } .card h3 { font-size: 1.25rem; } .card p { color: var(--muted); }
.prod { display: flex; flex-direction: column; gap: .5rem; border-top: 3px solid var(--c); }
.prod__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.mono { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font: 800 1.5rem var(--font-h); color: #fff; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 50%, #000)); }
.status { font-size: .72rem; font-weight: 600; padding: .25rem .7rem; border-radius: 99px; background: var(--surface2); border: 1px solid var(--line); display: inline-flex; align-items: center; gap: .4rem; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; } .s-available::before { background: #22c55e; } .s-soon::before { background: #f59e0b; } .s-dev::before { background: #38bdf8; }
.sector { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.prod h3 { margin: 0; } .prod p { flex: 1; margin: .4rem 0 .6rem; } .prod__foot { margin-top: auto; }
.doms { display: grid; gap: .8rem; } .dom { display: grid; gap: .3rem .9rem; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: .3s var(--ease); }
.dom:hover { border-color: var(--accent); transform: translateX(4px); } .dom__n { font: 700 1.1rem var(--font-h); } .dom__d { color: var(--muted); }
.pill { font-size: .72rem; font-weight: 600; padding: .2rem .7rem; border-radius: 99px; border: 1px dashed var(--line); color: var(--muted); justify-self: start; } .pill.on { border: 1px solid var(--accent); color: var(--accent); background: var(--glow); }
@media (min-width: 800px) { .dom { grid-template-columns: 240px 1fr auto; align-items: center; } }
.band { border-radius: 32px; padding: clamp(2rem, 6vw, 4.5rem); color: #fff; text-align: center; background: linear-gradient(135deg, #123B70, #2685F5); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(255, 255, 255, .1); right: -90px; top: -110px; }
.band > * { position: relative; } .band .kicker { color: #fff; background: rgba(255, 255, 255, .16); } .band p { max-width: 620px; margin-inline: auto; } .band .small { opacity: .85; }
.empty { border: 2px dashed var(--line); border-radius: var(--r); padding: 2.5rem; text-align: center; color: var(--muted); }
.contact { display: grid; gap: 1.5rem; align-items: center; } .contact__act { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (min-width: 860px) { .contact { grid-template-columns: 1.3fr 1fr; padding: 2.5rem; } .contact__act { justify-content: flex-end; } }

/* Pied de page */
.ftr { background: var(--bg2); border-top: 1px solid var(--line); padding: 4rem 0 2rem; }
.ftr__grid { display: grid; gap: 2.2rem; } @media (min-width: 860px) { .ftr__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.ftr h4 { font: 600 .8rem var(--font-b); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.ftr li { margin-bottom: .5rem; } .ftr a:hover { color: var(--accent); }
.ftr__bot { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; color: var(--muted); font-size: .88rem; }

/* Animations d'apparition */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* En-tête transparent au-dessus du héros sombre : toujours des couleurs claires */
.hdr:not(.scrolled) { --fg: #F2F5FA; --muted: #9db0cc; --surface: #0d2340; --line: rgba(142, 178, 230, .2); color: var(--fg); }

/* Pages intérieures */
.phero { position: relative; padding: 9rem 0 4rem; background: var(--navy); color: var(--ice); overflow: hidden; isolation: isolate; --muted: #9db0cc; --line: rgba(142,178,230,.2); }
:root[data-theme="light"] .phero { background: linear-gradient(160deg, #0a1f3d, #123B70); }
.phero .hero__bg i:nth-child(1) { top: -200px; } .phero h1 { font-size: clamp(2rem, 5.4vw, 3.6rem); margin: .5rem 0 1rem; max-width: 860px; }
.phero .kicker { color: #7FB8FF; } .phero .lead { color: #c6d4ea; }
.hero__bg i { position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1; }
.more { font-weight: 600; font-size: .9rem; color: var(--accent); margin-left: .4rem; } .more:hover { text-decoration: underline; }
.prod__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.bul { list-style: disc; padding-left: 1.1rem; color: var(--muted); } .bul li { margin-bottom: .35rem; }
.detail { display: grid; gap: 1.5rem; } @media (min-width: 900px) { .detail { grid-template-columns: 1.6fr 1fr; align-items: start; } .detail aside { position: sticky; top: 6rem; } }
.dl { margin: 0 0 1.2rem; } .dl dt { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 1rem; } .dl dd { margin: .2rem 0 0; }
.contact-grid { display: grid; gap: 1.5rem; } @media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.4fr; align-items: start; } }
.clist li { margin-top: 1rem; display: grid; } .clist a:hover { color: var(--accent); }
.lxform { display: grid; gap: 0; } .field { display: grid; gap: .35rem; margin-bottom: 1rem; } .field label { font-weight: 600; font-size: .9rem; }
.lxform input, .lxform select, .lxform textarea { width: 100%; font: inherit; color: inherit; padding: .8rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--surface2); }
.lxform textarea { min-height: 130px; resize: vertical; } .lxform input:focus, .lxform select:focus, .lxform textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--glow); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.lxform .btn { justify-self: start; } .lxform .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.form-status { margin: 1rem 0 0; font-weight: 500; min-height: 1.2em; } .form-status.ok { color: #22c55e; } .form-status.err { color: #f87171; }
.form-fallback { margin-top: 1rem; border: 1px dashed var(--line); border-radius: 12px; padding: .8rem 1rem; }
.tbc { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: #fff4d6; color: #7a5600; border: 1px dashed #f0d48a; padding: .1rem .5rem; border-radius: 6px; margin-left: .4rem; vertical-align: middle; }
.notice { background: #fff4d6; color: #7a5600; border: 1px dashed #f0d48a; border-radius: 12px; padding: .9rem 1rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; } .prose p { color: var(--muted); }
.hdr .nav a[aria-current="page"] { color: var(--fg); background: var(--surface); }
.ftr__legal a:hover { color: var(--accent); }
@media (min-width: 1080px) and (max-width: 1240px) { .nav a { padding: .5rem .55rem; font-size: .82rem; } }

/* Contenu dynamique */
.filters { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 1rem; }
.flt { display: grid; gap: .3rem; font-size: .8rem; font-weight: 600; color: var(--muted); }
.flt select { font: inherit; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .6rem .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 .8rem; }
.chip { font-size: .75rem; font-weight: 600; padding: .25rem .7rem; border-radius: 99px; background: var(--surface2); border: 1px solid var(--line); color: var(--muted); }
.news__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin-bottom: .8rem; }
.news .more { margin-left: 0; margin-top: auto; }
.news-grid, .course-grid { margin-top: 1rem; }
.csec { margin-top: 2rem; } .csec h2 { font-size: 1.4rem; }
#lx-course h1, #lx-article h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }

[hidden] { display: none !important; }

.mono--img { object-fit: contain; background: var(--surface2); padding: 6px; border-radius: 16px; }

/* Espace apprenant (LMS) */
.learn-auth { max-width: 460px; margin-inline: auto; }
.learn-auth .tabs { display: flex; gap: .5rem; margin: 1rem 0; }
.learn-auth .tab, .tabs .tab { padding: .55rem 1rem; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: .9rem; color: var(--fg); }
.tab[aria-selected="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.learn-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
#lx-learn h2 { font-size: 1.5rem; margin: 1.8rem 0 1rem; }
.pbar { height: 8px; border-radius: 99px; background: var(--surface2); overflow: hidden; margin: .8rem 0 .4rem; } .pbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #7FB8FF); }
.learn-layout { display: grid; gap: 1.2rem; margin-top: 1rem; } @media (min-width: 900px) { .learn-layout { grid-template-columns: 300px 1fr; align-items: start; } .learn-side { position: sticky; top: 5.5rem; } }
.learn-side h3 { font-size: 1.1rem; } .learn-mod { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 1.2rem 0 .4rem; }
.learn-side ul { list-style: none; padding: 0; margin: 0; } .learn-side a { display: block; padding: .45rem .6rem; border-radius: 10px; font-size: .92rem; } .learn-side a:hover, .learn-side a.is-on { background: var(--glow); color: var(--accent); }
.learn-video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; margin: 1rem 0; }
.learn-quiz fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 1rem; margin: 0 0 1rem; } .learn-quiz legend { font-weight: 700; padding: 0 .4rem; }
.learn-quiz .opt { display: block; padding: .4rem .6rem; border-radius: 8px; margin: .2rem 0; cursor: pointer; } .learn-quiz .opt.ok { background: rgba(34, 197, 94, .18); } .learn-quiz .opt.bad { background: rgba(248, 113, 113, .18); }

/* Certificats */
.certbox { margin-top: .8rem; border-top: 1px dashed var(--line); padding-top: .8rem; } .certform { display: grid; gap: .4rem; } .certform input { font: inherit; color: inherit; padding: .6rem .8rem; border-radius: 10px; border: 1px solid var(--line); background: var(--surface2); }
.cert-status { padding: .9rem 1.2rem; border-radius: 12px; font-weight: 600; margin-bottom: 1.2rem; } .cert-status.ok { background: rgba(34, 197, 94, .16); color: #16a34a; } .cert-status.bad { background: rgba(248, 113, 113, .16); color: #dc2626; }
.cert { max-width: 980px; margin: 0 auto; aspect-ratio: 1.414 / 1; background: #fff; color: #071426; border: 12px double #123B70; border-radius: 6px; padding: clamp(1rem, 4vw, 3rem); display: grid; align-content: center; justify-items: center; text-align: center; gap: .5rem; box-shadow: var(--shadow); position: relative; }
.cert .logo { width: 64px; height: 64px; } .cert h2 { font-family: var(--font-h); letter-spacing: .12em; text-transform: uppercase; font-size: clamp(1rem, 3vw, 1.8rem); margin: .4rem 0 0; color: #123B70; }
.cert .sub { font-size: clamp(.7rem, 1.6vw, 1rem); color: #4a5d7a; margin: 0; } .cert .name { font-family: var(--font-h); font-size: clamp(1.4rem, 5vw, 3rem); font-weight: 800; border-bottom: 2px solid #2685F5; padding: 0 1.5rem .2rem; margin: .4rem 0; }
.cert .course { font-family: var(--font-h); font-size: clamp(1rem, 3vw, 1.8rem); font-weight: 700; margin: .2rem 0; }
.cert .foot { display: flex; justify-content: space-between; align-items: flex-end; width: 100%; gap: 1rem; margin-top: 1rem; font-size: clamp(.6rem, 1.4vw, .85rem); color: #4a5d7a; text-align: left; } .cert .foot > div { max-width: 45%; } .cert .sig { text-align: center; } .cert .sig img { max-height: 54px; margin-inline: auto; } .cert .sig b { display: block; color: #071426; border-top: 1px solid #071426; padding-top: .2rem; margin-top: .2rem; }
.cert .code { font-family: ui-monospace, Consolas, monospace; font-weight: 700; color: #071426; }
@media print {
  @page { size: A4 landscape; margin: 8mm; }
  body { background: #fff !important; } .hdr, .mnav, .ftr, .progress, .noprint, .to-top, .skip { display: none !important; }
  .sec { padding: 0 !important; } .cert { box-shadow: none; border-radius: 0; max-width: none; width: 100%; height: 190mm; aspect-ratio: auto; }
}

@media (max-width: 759px) { .cert { aspect-ratio: auto; padding: 1.4rem 1rem; } .cert .foot { flex-direction: column; align-items: center; text-align: center; } .cert .foot > div { max-width: 100%; } }

/* Logos des produits et galerie */
.mono--img { background: #fff !important; padding: 5px; object-fit: contain; border: 1px solid var(--line); }
.plogo { display: inline-block; background: #fff; border-radius: 18px; padding: .8rem 1.3rem; margin-bottom: 1.2rem; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .5); } .plogo img { height: 72px; width: auto; max-width: 100%; display: block; }
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.gallery a { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease); } .gallery a:hover { transform: translateY(-4px); }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }

.chips-row { display: flex; flex-wrap: wrap; gap: .7rem; } .chip--lg { font-size: .95rem; padding: .55rem 1.1rem; }

.photo { margin: 0; } .photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); } @media (min-width: 900px) { .photo img { max-height: 560px; } }

/* Diapositives avec photo */
.slide--photo { display: block; }
.slide--photo .slide__art { position: absolute; inset: 0; padding: 0; }
.slide--photo .slide__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide--photo .slide__txt { position: absolute; left: 0; right: 0; bottom: 0; padding-top: 4rem; background: linear-gradient(transparent, rgba(7, 20, 38, .94) 62%); }

/* Affiches : aperçu recadré en haut dans les listes, image entière sur les pages de détail */
.news__img { object-position: top center; }
.news__img--full { aspect-ratio: auto; height: auto; max-width: 640px; margin-inline: auto; display: block; object-fit: contain; }

/* Vidéos de présentation */
.vids { gap: 1.2rem; }
.vid { margin: 0; }
.vid video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #071426; border-radius: 14px; display: block; }
.vid figcaption { margin-top: .6rem; font-weight: 600; }
.vids { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
