:root {
  --bg: #030305;
  --panel: #0e0e16;
  --line: #22223a;
  --text: #e9e9ef;
  --muted: #a9a9b8;
  --orange: #ff7a1a;
  --orange-soft: #ff8a3d;
  --blue: #4f6bff;
  --blue-soft: #9fb0ff;
  --display: 'Bebas Neue', Impact, sans-serif;
  --serif: 'Cinzel', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 'Barlow', system-ui, sans-serif; }
img { max-width: 100%; }
a { color: var(--orange-soft); }
a:hover { color: #ffb27a; }
h2 { margin: 0 0 20px; font: 400 44px/1 var(--display); color: #fff; letter-spacing: .02em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding-top: 72px; }
.section.last { padding-bottom: 80px; }
.muted { color: #8a8a9c; }
.center { text-align: center; margin-top: 36px; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(6,6,10,.88); backdrop-filter: blur(8px); border-bottom: 1px solid #1c1c28; }
.nav-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font: 800 18px var(--serif); letter-spacing: .06em; }
.brand img { border-radius: 50%; }
.nav nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.nav nav a { color: #c9c9d6; text-decoration: none; padding: 10px 0; }
.nav nav a:hover { color: #fff; }
.nav nav a.btn-mini { background: var(--orange); color: #0a0a10; padding: 10px 18px; border-radius: 6px; }

/* HERO */
.hero { position: relative; background: #000; overflow: hidden; border-bottom: 1px solid #1c1c28; }
/* Bannière à taille fixe : coupée sur les côtés en petit écran, bords fondus dans le noir en grand écran */
.hero-banner { position: relative; overflow: hidden; height: 340px; }
.hero-bg { position: absolute; top: 50%; left: 50%; width: 1400px; max-width: none; height: auto; transform: translate(-50%, -50%);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent); }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding-top: 8px; padding-bottom: 56px; }
.hero h1 { margin: 0; font: 800 clamp(30px, 5vw, 56px)/1.1 var(--serif); letter-spacing: .04em; color: #fff; text-shadow: 0 2px 18px #000; }
.accent { color: var(--orange-soft); }
.lead { margin: 0; max-width: 640px; color: #c9c9d6; font-size: 19px; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; padding: 13px 22px; border-radius: 8px; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; min-height: 48px; }
.btn-primary { background: var(--orange); color: #0a0a10; }
.btn-primary:hover { background: #ff944a; color: #0a0a10; }
.btn-ghost { border: 2px solid var(--blue); color: #fff; }
.btn-ghost:hover { background: rgba(79,107,255,.15); color: #fff; }
.btn-outline { border: 1px solid #3a3a4e; color: var(--text); text-transform: none; letter-spacing: 0; font-weight: 600; }
.btn-outline:hover { border-color: #6a6a80; color: #fff; }
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; margin: 18px 0 0; }
.stats div { display: flex; flex-direction: row-reverse; align-items: baseline; gap: 6px; }
.stats dt { color: var(--muted); font-size: 15px; }
.stats dd { margin: 0; font: 400 28px var(--display); color: #fff; }

/* LATEST */
.eyebrow { margin: 0 0 8px; color: var(--orange-soft); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 14px; }
.latest { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; min-height: 200px; }
.latest-media { flex: 3 1 480px; min-width: 0; position: relative; display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px #2a2a3a, 0 20px 60px rgba(79,107,255,.18); }
.latest-body { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.latest-body h3 { margin: 0; font: 400 54px/1 var(--display); color: #fff; }
.latest-body h3 small { display: block; margin-top: 6px; font: 800 26px/1.2 var(--serif); color: var(--orange-soft); }
.latest-body p { margin: 0; color: #b9b9c8; }
.pill { align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-soft); border: 1px solid #3a4aa8; padding: 4px 10px; border-radius: 999px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 14px; color: #c9c9d6; background: #14141e; padding: 6px 12px; border-radius: 6px; }
.chip.hot { color: #0a0a10; background: var(--orange-soft); font-weight: 700; }
.watch { align-self: flex-start; font-weight: 700; text-decoration: none; padding: 10px 0; }

/* THUMBS */
.thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(110deg, #101634 0%, #0b0b12 50%, #2a1206 100%); }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumb .fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 12px; text-align: center; font: 400 40px/1 var(--display); color: #fff; }
.dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.82); color: #fff; font-weight: 600; font-size: 13px; padding: 2px 7px; border-radius: 4px; }

/* GRID */
.row-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.row-head h2 { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: transparent; color: #c9c9d6; border: 1px solid #34344a; }
.filters button:hover { border-color: #6a6a80; color: #fff; }
.filters button[aria-pressed="true"] { background: var(--orange); color: #0a0a10; border-color: var(--orange); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 28px 24px; }
.vcard { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--text); }
.vcard .thumb { border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px #262636; transition: transform .15s, box-shadow .15s; }
.vcard:hover .thumb { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--orange), 0 10px 30px rgba(255,122,26,.2); }
.meta { display: flex; gap: 10px; align-items: center; font-size: 13px; }
.cat { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.cat-Tests, .cat-Runs { color: var(--orange-soft); }
.cat-Démos, .cat-Actus { color: var(--blue-soft); }
.date { color: #8a8a9c; }
.vtitle { font-weight: 600; font-size: 18px; line-height: 1.3; color: #fff; }
.empty { color: var(--muted); }

/* CHARGEMENT : blocs d'attente aux formes du vrai contenu, avec un reflet orange → bleu qui balaie */
.sk { display: block; border-radius: 6px; background: #14141e linear-gradient(100deg, transparent 35%, rgba(255,138,61,.10) 46%, rgba(159,176,255,.12) 54%, transparent 65%) 0 0 / 200% 100% no-repeat; animation: sk-sweep 1.6s ease-in-out infinite; }
.thumb.sk { background-color: #101019; border-radius: inherit; }
.sk-cards { display: contents; }
.sk-stat { display: inline-block; width: 56px; height: 22px; vertical-align: middle; }
.sk-pill { width: 170px; height: 28px; border-radius: 999px; }
.sk-title { width: 70%; height: 48px; }
.sk-sub { width: 50%; height: 24px; background-color: #1e140e; }
.sk-line { width: 100%; height: 14px; }
.sk-line.short { width: 65%; }
.sk-chip { width: 84px; height: 32px; }
.sk-filter { width: 76px; height: 40px; border-radius: 999px; }
.sk-meta { width: 40%; height: 12px; }
.vcard .sk-line { height: 16px; }
@keyframes sk-sweep { from { background-position: 120% 0; } to { background-position: -20% 0; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.card h3 { margin: 0 0 8px; font: 800 22px var(--serif); }
.card p { margin: 0; color: #b9b9c8; font-size: 16px; }
.orange { color: var(--orange-soft); }
.blue { color: var(--blue-soft); }

.about { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; background: #0b0b12; border: 1px solid #1f1f2e; border-radius: 16px; padding: 40px; }
.about img { flex: 0 0 180px; border-radius: 50%; }
.about > div { flex: 1 1 420px; min-width: 0; }
.about p { margin: 0 0 14px; color: #c9c9d6; }
.about p.muted { color: #8a8a9c; font-size: 15px; margin: 0; }

/* SOUTENIR : chaque carte a sa couleur (accent, halo, fond de l'icône) */
.support { --accent: var(--text); --glow: rgba(255,255,255,.12); --tint: #1a1a26;
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; text-decoration: none; padding: 28px; border-radius: 14px;
  background: var(--panel); border: 1px solid #2a2a3a; color: #c9c9d6; font-size: 15px; transition: transform .15s, box-shadow .15s; }
.support::before { content: ''; position: absolute; top: -70px; right: -70px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(var(--glow), transparent 70%); pointer-events: none; }
.support strong { font: 400 34px/1 var(--display); letter-spacing: .02em; color: #fff; }
.s-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 8px; border-radius: 12px; background: var(--tint); color: var(--accent); }
.s-go { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.support:hover { color: #c9c9d6; transform: translateY(-3px); box-shadow: 0 0 0 1px var(--accent), 0 14px 40px var(--glow); }
.s-orange { --accent: var(--orange-soft); --glow: rgba(255,122,26,.35); --tint: rgba(255,122,26,.15); background: linear-gradient(160deg, #2a1206, var(--panel) 65%); border-color: #5a2a0e; }
.s-blue { --accent: var(--blue-soft); --glow: rgba(79,107,255,.35); --tint: rgba(79,107,255,.18); background: linear-gradient(160deg, #101634, var(--panel) 65%); border-color: #2c3a8a; }
.s-insta { --accent: #ffb27a; --glow: rgba(160,110,255,.3); border: 1px solid transparent;
  background: linear-gradient(160deg, #1d1226, var(--panel) 65%) padding-box, linear-gradient(135deg, var(--orange), var(--blue)) border-box; }
.s-insta .s-icon { background: linear-gradient(135deg, var(--orange), var(--blue)); color: #fff; }
@media (prefers-reduced-motion: reduce) { .support { transition: none; } .support:hover { transform: none; } }

footer { border-top: 1px solid #1c1c28; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: #8a8a9c; }

/* PAGE PRESSE */
.page-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding-top: 64px; }
.page-head .eyebrow { margin: 0; }
.page-head h1 { margin: 0; font: 800 clamp(30px, 5vw, 56px)/1.1 var(--serif); letter-spacing: .04em; color: #fff; }
.note { margin: 20px 0 0; font-size: 15px; }
.note-top { margin: -8px 0 24px; font-size: 15px; }
.kpis { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; }
.kpi { flex: 1 1 130px; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; }
.kpi:nth-child(odd) { border-top: 2px solid var(--orange); }
.kpi:nth-child(even) { border-top: 2px solid var(--blue); }
.kpi dt { color: var(--muted); font-size: 15px; }
.kpi dd { margin: 0; font: 400 clamp(36px, 4vw, 48px)/1 var(--display); color: #fff; }
.sk-kpi { width: 96px; height: 40px; }
.grid-fit { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.contact { background: #0b0b12; border: 1px solid #1f1f2e; border-radius: 16px; padding: 40px; }
.contact p { margin: 0 0 12px; color: #c9c9d6; }
.checklist { margin: 0 0 28px; padding: 0; list-style: none; display: grid; gap: 10px; color: #c9c9d6; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before { content: ''; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }
.btn-mail { text-transform: none; letter-spacing: .02em; overflow-wrap: anywhere; }
/* Encart vers la page presse, sur l'accueil */
.pro-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 32px 40px; border-radius: 16px; border: 1px solid #2a2a3a;
  background: linear-gradient(110deg, #101634 0%, #0b0b12 50%, #2a1206 100%); }
.pro-cta > div { flex: 1 1 420px; min-width: 0; }
.pro-cta .eyebrow { margin-bottom: 6px; }
.pro-cta h2 { margin: 0 0 8px; font-size: 38px; }
.pro-cta p:last-child { margin: 0; color: #c9c9d6; }
.foot a { color: inherit; }
.foot a:hover { color: #fff; }

/* Le menu ne tient plus à côté du logo : il passe dessous, réparti sur toute la largeur */
@media (max-width: 800px) {
  .nav-inner { gap: 6px; padding-top: 8px; padding-bottom: 8px; }
  .nav nav { width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 8px; }
}

@media (max-width: 600px) {
  .brand { font-size: 16px; gap: 10px; }
  .brand img { width: 36px; height: 36px; }
  .nav nav { font-size: 13px; letter-spacing: .05em; }
  .nav nav a { padding: 8px 0; }
  .nav nav a.btn-mini { padding: 8px 12px; }
  h2 { font-size: 36px; }
  .latest-body h3 { font-size: 42px; }
  .about { padding: 24px; }
  .about img { width: 120px; height: 120px; flex-basis: 120px; }
  .contact { padding: 24px; }
  .pro-cta { padding: 24px; }
  .pro-cta h2 { font-size: 32px; }
  .pro-cta .btn { width: 100%; justify-content: center; }
  .page-head { padding-top: 40px; }
  .kpi { flex-basis: 140px; padding: 16px 18px; }
}
