:root {
  --ink: #0c1524;
  --ink-soft: #1a2a40;
  --paper: #eef3f8;
  --paper-warm: #f7f4ef;
  --red: #e11d2e;
  --red-deep: #b01422;
  --blue: #1a4fd8;
  --blue-glow: #3b82f6;
  --cyan: #5ec8ff;
  --tan: #c9a27a;
  --muted: #5a6b7d;
  --line: rgba(12, 21, 36, 0.1);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 10% 0%, rgba(94, 200, 255, 0.18), transparent 50%),
    radial-gradient(90% 60% at 100% 20%, rgba(225, 29, 46, 0.08), transparent 45%),
    linear-gradient(180deg, #dce7f4 0%, var(--paper) 28%, var(--paper-warm) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ——— Topbar ——— */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(238, 243, 248, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.topbar.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(238, 243, 248, 0.92);
}

.logo {
  display: inline-flex;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.logo-noz {
  background: var(--red);
  color: #fff;
  padding: 0.35em 0.4em 0.28em;
}

.logo-infos {
  background: var(--ink);
  color: #fff;
  padding: 0.35em 0.45em 0.28em;
}

.nav {
  display: none;
  gap: 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  position: relative;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2em;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.topbar-social {
  display: flex;
  gap: 0.5rem;
}

.social-chip {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.4rem;
  background: var(--ink);
  color: #fff;
  transition: transform 0.25s var(--ease), background 0.2s;
}

.social-chip:hover {
  transform: translateY(-2px);
  background: var(--red);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.05);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.05) translate(0, 0); }
  to { transform: scale(1.1) translate(-1.5%, -1%); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 14, 28, 0.15) 0%, rgba(8, 14, 28, 0.35) 40%, rgba(8, 14, 28, 0.88) 100%),
    linear-gradient(90deg, rgba(8, 14, 28, 0.55) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(5.5rem, 12vh, 7rem) clamp(1.25rem, 5vw, 3.5rem) clamp(4rem, 10vh, 5.5rem);
  max-width: 42rem;
  color: #fff;
  animation: rise-in 0.9s var(--ease) both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-mark {
  display: flex;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 12vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}

.brand-noz {
  background: var(--red);
  padding: 0.08em 0.14em 0.05em;
}

.brand-infos {
  background: var(--ink);
  padding: 0.08em 0.16em 0.05em;
}

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  margin-bottom: 0.55rem;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 28rem;
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.35rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-tiktok {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.btn-tiktok:hover {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.btn-insta {
  background: transparent;
  color: #fff;
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: -2px;
}

.btn-insta:hover {
  background: rgba(255, 255, 255, 0.12);
}

.scroll-hint {
  position: absolute;
  right: clamp(1rem, 4vw, 2.5rem);
  bottom: 2rem;
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent);
  animation: scroll-pulse 1.8s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.45); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (min-width: 900px) {
  .scroll-hint {
    display: flex;
  }
}

/* ——— Ticker ——— */
.ticker {
  overflow: hidden;
  background: var(--red);
  color: #fff;
  padding: 0.7rem 0;
  border-block: 3px solid var(--ink);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-track span {
  padding-right: 2rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ——— Sections ——— */
.section-head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.1rem;
}

.flash,
.equipe,
.reseaux {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 3.5rem);
}

/* ——— Flash ——— */
.flash-grid {
  display: grid;
  gap: 1.5rem 2.5rem;
}

@media (min-width: 800px) {
  .flash-grid {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: auto auto;
  }

  .flash-item--lead {
    grid-row: 1 / 3;
    padding-right: 2rem;
    border-right: 1px solid var(--line);
  }
}

.flash-item {
  padding-block: 0.5rem;
}

.flash-cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.55rem;
}

.flash-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.2;
  margin-bottom: 0.55rem;
}

.flash-item--lead h3 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

.flash-item p:last-child {
  color: var(--muted);
  max-width: 36ch;
}

/* ——— Équipe ——— */
.equipe {
  background:
    linear-gradient(180deg, transparent, rgba(26, 79, 216, 0.06) 30%, rgba(26, 79, 216, 0.04));
}

.cast {
  display: grid;
  gap: 2.5rem 1.5rem;
  justify-items: center;
}

@media (min-width: 720px) {
  .cast {
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
  }
}

.cast-member {
  text-align: center;
  width: min(100%, 280px);
}

.cast-frame {
  position: relative;
  margin-bottom: 1.1rem;
}

.cast-frame::before {
  content: "";
  position: absolute;
  inset: 12% 8% auto;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(94, 200, 255, 0.35), transparent 70%);
  z-index: 0;
  filter: blur(8px);
}

.cast-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-inline: auto;
  filter: drop-shadow(0 18px 28px rgba(12, 21, 36, 0.18));
  transition: transform 0.45s var(--ease);
  animation: float-soft 5s ease-in-out infinite;
}

.cast-member:nth-child(2) .cast-frame img {
  animation-delay: -1.6s;
}

.cast-member:nth-child(3) .cast-frame img {
  animation-delay: -3.2s;
}

.cast-member:hover .cast-frame img {
  transform: translateY(-8px) scale(1.03);
  animation-play-state: paused;
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.cast-member h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  margin-bottom: 0.2rem;
}

.cast-member figcaption p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ——— Réseaux ——— */
.reseaux {
  padding-top: 2rem;
}

.reseaux-inner {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.reseaux-inner h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}

.reseaux-inner > p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 2.25rem;
  max-width: 36rem;
  margin-inline: auto;
}

.reseaux-links {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .reseaux-links {
    grid-template-columns: 1fr 1fr;
  }
}

.network {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1.5rem 1.6rem;
  text-align: left;
  border-radius: 0.5rem;
  color: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.network:hover {
  transform: translateY(-4px);
}

.network-tiktok {
  background: linear-gradient(135deg, var(--ink) 0%, #1a2538 100%);
  box-shadow: 0 12px 32px rgba(12, 21, 36, 0.2);
}

.network-insta {
  background: linear-gradient(135deg, var(--red) 0%, #f05a2a 55%, #e8a018 100%);
  box-shadow: 0 12px 32px rgba(225, 29, 46, 0.22);
}

.network-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
}

.network-handle {
  opacity: 0.85;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.network-cta {
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ——— Footer ——— */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem 1.25rem 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer p {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-social a {
  color: var(--ink-soft);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--red);
}

/* ——— Reveal on scroll ——— */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-img {
    transform: none;
  }
}
