/* Scaler AI — landing page. Direction artistique : docs/design/direction-artistique.md
   Fond noir, textes en Light, rouge #DD0000 seulement pour le point rond et les boutons d'action. */

@font-face { font-family: "Inter Tight"; font-weight: 300; font-display: swap; src: url("fonts/inter-tight-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 400; font-display: swap; src: url("fonts/inter-tight-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 700; font-display: swap; src: url("fonts/inter-tight-latin-700-normal.woff2") format("woff2"); }

:root { --red: #DD0000; --line: rgba(255,255,255,0.14); --grey: #8C8C8C; }
* { box-sizing: border-box; }
html { background: #000; }
body { margin: 0; background: #000; color: #fff; font-family: "Helvetica Neue", Helvetica, "Inter Tight", Arial, sans-serif; font-weight: 300; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: #fff; text-decoration: none; }
a:focus-visible, button:focus-visible, .pick:focus-within { outline: 1px solid #fff; outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lbl { font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 11px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }

/* Point rond (règle de Yann : jamais le « . » de la police) */
.logo { color: #fff; font-weight: 700; font-size: 28px; letter-spacing: -0.06em; line-height: 1; }
.logo.small { font-size: 22px; }
.dot { display: inline-block; width: 0.19em; height: 0.19em; margin-left: 0.08em; border-radius: 50%; background: var(--red); vertical-align: baseline; }
.dot.title { width: 0.13em; height: 0.13em; margin-left: 0.06em; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 22px; border-radius: 999px; font-size: 14px; font-weight: 400; border: 0; font-family: inherit; cursor: pointer; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #B80000; }
.btn-grey { background: var(--grey); color: #000; font-size: 16px; padding: 0 24px; }
.btn-grey:hover { background: #A6A6A6; }
.btn-white { background: #fff; color: #000; }
.btn-big { min-height: 48px; padding: 0 28px; font-size: 15px; }

/* En-tête */
.top { position: relative; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 40px; }
.top nav { display: flex; align-items: center; gap: 10px; }

/* Ouverture */
.hero { position: relative; padding: 40px 40px 0; }
.hero-in { position: relative; max-width: 1360px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-text { position: relative; z-index: 2; flex: 1 1 480px; display: flex; flex-direction: column; gap: 40px; padding-bottom: 80px; }
h1 { margin: 0; font-size: 49px; line-height: 1; font-weight: 300; letter-spacing: -0.045em; }
.lead { margin: 0; max-width: 500px; font-size: 18px; line-height: 1.5; color: #A6A6A6; }
.drop { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 32px; border: 1px dashed rgba(255,255,255,0.35); border-radius: 24px; background: rgba(0,0,0,0.6); transition: border-color .15s; }
.drop.over { border-color: #fff; }
.drop p { margin: 0; }
.drop .t { font-size: 22px; letter-spacing: -0.02em; }
.drop .s { font-size: 13px; color: var(--grey); }
.files { align-self: stretch; display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.files[hidden] { display: none; }
.files ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.files li { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.files li span + span { color: var(--grey); }
.files .next { margin: 6px 0 0; font-size: 14px; color: #C8C8C8; }
.files .next a { border-bottom: 1px solid #fff; }
.mosaic { flex: 1 1 520px; height: 640px; overflow: hidden; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mosaic .col { display: flex; flex-direction: column; gap: 16px; }
.mosaic .col.down { margin-top: -120px; }
.fade { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 300px; background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 55%, #000 100%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%); mask-image: linear-gradient(to bottom, transparent, #000 45%); pointer-events: none; }

/* Vignettes de shorts (fond granuleux et sous-titres d'exemple, à remplacer par de vrais extraits) */
.thumb { position: relative; flex: 0 0 auto; container-type: inline-size; border-radius: 18px; overflow: hidden; }
.thumb.wide { aspect-ratio: 16 / 10; }
.thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.4; }
.thumb .cap { position: absolute; left: 48%; top: 34%; display: flex; flex-direction: column; line-height: 0.9; letter-spacing: -0.06em; font-weight: 700; }
.thumb .cap span:first-child { font-size: 4.6cqw; }
.thumb .cap span:last-child { font-size: 9cqw; color: var(--red); }
.reel .thumb { height: 300px; }
.reel .thumb.h { aspect-ratio: 16 / 9; }
.reel .thumb.h .cap span:first-child { font-size: 4cqw; }
.reel .thumb.h .cap span:last-child { font-size: 9cqw; }
.reel .thumb.v { aspect-ratio: 9 / 16; }
.reel .thumb.v .cap { left: 12%; top: 58%; }
.reel .thumb.v .cap span:first-child { font-size: 9cqw; }
.reel .thumb.v .cap span:last-child { font-size: 20cqw; }
.bg0 { background: radial-gradient(34% 64% at 30% 66%, #575757 0%, #222 45%, #080808 100%); }
.bg1 { background: radial-gradient(40% 70% at 70% 60%, #4A4A4A 0%, #1C1C1C 45%, #070707 100%); }
.bg2 { background: radial-gradient(30% 60% at 40% 70%, #626262 0%, #262626 50%, #0A0A0A 100%); }
.bg3 { background: radial-gradient(45% 80% at 25% 55%, #3E3E3E 0%, #181818 50%, #050505 100%); }

/* Confiance et avis */
.trust { display: flex; flex-direction: column; align-items: center; gap: 36px; padding: 72px 0 0; }
.trust h2 { margin: 0; font-size: 22px; font-weight: 300; letter-spacing: -0.02em; color: #C8C8C8; }
.band { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; gap: 24px; width: max-content; }
.logo-box { display: grid; place-items: center; width: 180px; height: 84px; border: 1px solid var(--line); border-radius: 16px; }
.reviews { max-width: 1200px; margin: 0 auto; padding: 72px 40px 120px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.reviews figure { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 220px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; }
.reviews blockquote { margin: 0; font-size: 19px; line-height: 1.45; letter-spacing: -0.01em; }
.reviews figcaption { font-size: 13px; color: var(--grey); }

/* Bloc « Pilotez » */
.pilot { padding: 0 24px; }
.pilot-in { max-width: 1392px; margin: 0 auto; padding: 80px 48px 64px; border: 1px solid var(--line); border-radius: 40px; background: #0A0A0A; display: flex; flex-direction: column; gap: 72px; overflow: hidden; }
.pilot-head { display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center; }
.pilot h2 { margin: 0; max-width: 720px; font-size: 40px; line-height: 1.05; font-weight: 300; letter-spacing: -0.04em; }
.reel-wrap { display: flex; flex-direction: column; gap: 20px; }
.reel { overflow: hidden; margin: 0 -48px; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.reel .track { align-items: center; gap: 16px; }

/* Pied de page */
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 72px 40px 40px; }
.foot p { margin: 0; font-size: 13px; color: var(--grey); }
.foot a.legal { font-size: 13px; color: #A6A6A6; }

/* Mouvement */
@keyframes up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@keyframes left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.col.up { animation: up 60s linear infinite; }
.col.down { animation: down 60s linear infinite; }
.band .track { animation: left 50s linear infinite; }
.reel .track { animation: left 70s linear infinite; }
@media (prefers-reduced-motion: reduce) { .col.up, .col.down, .band .track, .reel .track { animation: none; } }

/* Téléphone */
@media (max-width: 720px) {
  .top, .hero { padding-left: 20px; padding-right: 20px; }
  h1 { font-size: 36px; }
  .hero-text { padding-bottom: 24px; }
  .mosaic { height: 420px; }
  .pilot-in { padding: 56px 24px 40px; border-radius: 28px; }
  .reel { margin: 0 -24px; }
  .pilot h2 { font-size: 30px; }
  .reel .thumb { height: 220px; }
  .reviews { padding: 56px 20px 80px; }
  .foot { padding: 56px 20px 32px; }
}

/* Mentions légales */
.legal-page { max-width: 760px; margin: 0 auto; padding: 48px 20px 96px; }
.legal-page h1 { font-size: 44px; margin-bottom: 40px; }
.legal-page h2 { font-size: 22px; font-weight: 400; margin: 40px 0 12px; letter-spacing: -0.02em; }
.legal-page p { margin: 0 0 10px; color: #C8C8C8; line-height: 1.6; }
.thumb img, .thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
