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

:root {
  --bleu:  #142E68;
  --bleu2: #142E68;
  --or:    #FFD700;
  --blanc: #FFFFFF;
  --gris:  rgba(255,255,255,0.5);
  --bord:  rgba(255,255,255,0.08);
}

html { scroll-behavior: smooth; }
body { background: var(--bleu2); color: var(--blanc); font-family: 'Inter', sans-serif; overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px;
  background: rgba(20,46,104,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bord);
}
.logo { text-decoration: none; display: flex; align-items: center; }
.logo img { height: 22px; width: auto; display: block; }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  color: #FFFFFF; text-decoration: none;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--blanc); }
.nav-films::before { content: ''; display: inline-block; width: 5px; height: 5px; background: var(--or); border-radius: 50%; margin-right: 7px; vertical-align: middle; }
.nav-films:hover { color: var(--or); }
.nav-series::before { content: ''; display: inline-block; width: 5px; height: 5px; background: #FFD700; border-radius: 50%; margin-right: 7px; vertical-align: middle; }
.nav-series:hover { color: #FFD700; }
.nav-itw::before { content: ''; display: inline-block; width: 5px; height: 5px; background: #FFD700; border-radius: 50%; margin-right: 7px; vertical-align: middle; }
.nav-itw:hover { color: #FFD700; }
.nav-coeur::before { content: ''; display: inline-block; width: 5px; height: 5px; background: #FFD700; border-radius: 50%; margin-right: 7px; vertical-align: middle; }
.nav-coeur:hover { color: #FFD700; }
.nav-ecrire {
  background: transparent;
  border: 1px solid var(--or);
  color: var(--or);
  padding: 8px 20px; border-radius: 2px;
  font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; transition: background .2s, color .2s;
}
.nav-ecrire:hover { background: var(--or); color: #080f20; }
.nav-insta {
  background: var(--or); color: #080f20;
  padding: 9px 22px; border-radius: 2px;
  font-size: 10px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; transition: opacity .2s;
}
.nav-insta:hover { opacity: .85; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding-top: 68px;
  position: relative; overflow: hidden;
  text-align: center;
  background: var(--bleu);
}

/* Film strip — 3 rangées, images variées */
.hero-strip {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column; gap: 0;
  justify-content: center;
  opacity: 1;
  transform: rotate(-3deg) scale(1.12);
}
.strip-row {
  display: flex; gap: 2px;
  width: max-content;
}
.strip-row--left  { animation: scrollLeft  22s linear infinite; }
.strip-row--right { animation: scrollRight 28s linear infinite; }
.strip-row--slow  { animation: scrollLeft  34s linear infinite; }
.strip-img {
  height: 180px; width: auto;
  border-radius: 3px;
  object-fit: cover; flex-shrink: 0;
}
.strip-img--affiche {
  box-shadow: 0 0 0 2px rgba(255,215,0,1), 0 0 28px rgba(255,215,0,0.5), 0 4px 24px rgba(0,0,0,0.6);
}
@keyframes scrollLeft  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scrollRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(20,46,104,.45) 0%, rgba(20,46,104,.55) 100%);
}

.hero-content {
  padding: 80px 56px;
  position: relative; z-index: 2;
  max-width: 860px; width: 100%;
}
.hero-logo-big {
  height: clamp(20px, 2.5vw, 36px); width: auto;
  display: block; margin: 0 auto 20px;
  filter: drop-shadow(0 4px 32px rgba(255,215,0,.25));
}
.hero-question {
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.05;
  margin-bottom: 10px;
}
.hero-question em { color: var(--or); font-style: normal; }
.hero-sub {
  font-size: 13px; font-weight: 400;
  color: var(--or);
  margin-bottom: 36px;
  letter-spacing: .3px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.3); font-size: 9px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
}
.hero-scroll::after { content: '↓'; font-size: 16px; color: var(--or); }

/* ── BOUTONS ── */
.btn-or {
  background: var(--or); color: #080f20;
  padding: 14px 30px; border-radius: 2px;
  font-size: 10px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; transition: transform .2s, box-shadow .2s;
  display: inline-block;
}
.btn-or:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,215,0,.25); }
.btn-contour {
  border: 1px solid rgba(255,255,255,.2); color: var(--blanc);
  padding: 14px 30px; border-radius: 2px;
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; transition: border-color .2s, color .2s;
  display: inline-block;
}
.btn-contour:hover { border-color: var(--or); color: var(--or); }

/* ── SECTIONS ── */
section { padding: 96px 56px; }
.s-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 52px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,215,0,.15);
}
.s-eyebrow {
  font-size: 9px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase;
  color: var(--or); margin-bottom: 12px;
}
.article-hook {
  font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--or); margin-bottom: 16px; line-height: 1.6;
}
.s-titre {
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 900; letter-spacing: -1.5px; line-height: 1;
}
.s-titre em { color: var(--or); font-style: normal; }

/* ── À LA UNE ── */
.alaune-section { background: var(--bleu); border-top: 1px solid var(--bord); }
.cfeat {
  display: grid; grid-template-columns: 1fr 1.4fr;
  min-height: 520px;
  border-radius: 4px; overflow: hidden;
  text-decoration: none; color: inherit;
  border: 1px solid var(--bord);
  transition: border-color .35s;
  position: relative;
}
.cfeat:hover { border-color: rgba(255,215,0,.35); }
.cfeat:hover .cfeat-img { transform: scale(1.04); }
.cfeat-text {
  padding: 52px 48px;
  display: flex; flex-direction: column; justify-content: center;
  border-right: 2px solid var(--or);
  background: rgba(20,46,104,.6);
}
.cfeat-label {
  font-size: 9px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase;
  color: var(--or); margin-bottom: 20px;
}
.cfeat-titre {
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -1.5px; margin-bottom: 20px;
}
.cfeat-extrait {
  font-size: 15px; color: var(--gris); line-height: 1.75;
  margin-bottom: 36px; flex: 1;
}
.cfeat-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; border-top: 1px solid var(--bord);
}
.cfeat-meta { font-size: 11px; color: rgba(255,255,255,.3); }
.cfeat-lire { font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--or); }
.cfeat-img-wrap { overflow: hidden; position: relative; }
.cfeat-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform .6s ease;
  display: block;
}

/* ── VOTE DE LA SEMAINE ── */
.vote-section { background: var(--bleu); border-top: 1px solid var(--bord); }
.vote-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.vote-film {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900; letter-spacing: -1px;
  margin-bottom: 10px;
}
.vote-question {
  font-size: 16px; color: rgba(255,255,255,.6);
  margin-bottom: 44px; line-height: 1.6;
}
.vote-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.vote-btn {
  padding: 16px 36px; border-radius: 2px;
  font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; border: none; transition: transform .15s, opacity .2s;
}
.vote-btn:hover { transform: translateY(-2px); }
.vote-btn--oui { background: var(--or); color: #080f20; }
.vote-btn--non { background: transparent; border: 1px solid rgba(255,255,255,.3); color: var(--blanc); }
.vote-btn--non:hover { border-color: var(--or); color: var(--or); }
.vote-result { display: none; }
.vote-result.visible { display: block; }
.vote-bars { display: flex; gap: 12px; align-items: flex-end; justify-content: center; margin-bottom: 16px; }
.vote-bar-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 140px; }
.vote-bar-bg { width: 100%; background: rgba(255,255,255,.08); border-radius: 2px; height: 80px; position: relative; overflow: hidden; }
.vote-bar-fill { position: absolute; bottom: 0; left: 0; right: 0; border-radius: 2px; transition: height .8s ease; }
.vote-bar-fill--oui { background: var(--or); }
.vote-bar-fill--non { background: rgba(255,255,255,.35); }
.vote-bar-label { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.5); }
.vote-bar-pct { font-size: 22px; font-weight: 900; }
.vote-total { font-size: 11px; color: rgba(255,255,255,.3); letter-spacing: 1px; }

/* ── POP-UP SONDAGE ── */
.popup-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4,8,16,.85);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .4s ease;
}
.popup-overlay.visible { opacity: 1; pointer-events: all; }
.popup-box {
  background: var(--bleu);
  border: 1px solid rgba(255,215,0,.25);
  border-top: 3px solid var(--or);
  border-radius: 4px;
  padding: 32px 28px;
  max-width: 380px; width: 90%;
  text-align: center;
  position: relative;
  transform: translateY(20px);
  transition: transform .4s ease;
}
.popup-overlay.visible .popup-box { transform: translateY(0); }
.popup-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.3); font-size: 20px;
  transition: color .2s; line-height: 1;
}
.popup-close:hover { color: var(--or); }

/* ── SÉPARATION CINÉMA / SÉRIES ── */
.critiques-section { background: var(--bleu); }

.ctype-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(255,215,0,.25);
}
.ctype-label {
  font-size: 10px; font-weight: 800; letter-spacing: 4px; text-transform: uppercase;
  color: var(--or);
  display: flex; align-items: center; gap: 10px;
}
.ctype-header--serie {
  margin-top: 64px;
  border-bottom-color: rgba(255,215,0,.25);
}
.ctype-label--serie { color: #FFD700; }
.ctype-label--serie::before { background: #FFD700; }

/* Grille séries — cartes portrait */
.cgrille-series {
  display: flex; flex-wrap: wrap; gap: 2px;
  margin-top: 2px;
}
.ccard--serie {
  width: calc(15% - 2px);
  max-width: 180px;
}
.ccard.ccard--serie {
  aspect-ratio: 2/3;
}
.ccard-label.ccard-label--serie { color: #FFD700; }
.ccard-label.ccard-label--serie::before { background: #FFD700; }
.ccard-lire.ccard-lire--serie { color: #FFD700; }

@media (max-width: 600px) {
  .ccard--serie { width: calc(50% - 2px); }
}

/* ── CRITIQUES GRILLE ── */
.cgrille {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2px; margin-top: 2px;
}
.ccard {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
  text-decoration: none; color: inherit;
  display: block;
  transition: opacity .3s;
}
.ccard.hidden { display: none; }
.ccard:hover .ccard-img { transform: scale(1.05); }
.ccard:hover .ccard-overlay { opacity: 1; }
.ccard-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block; transition: transform .6s ease;
}
.ccard-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,46,104,.88) 0%, rgba(20,46,104,.05) 35%, rgba(20,46,104,0) 100%);
  opacity: 1; transition: opacity .3s;
}
.ccard-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px;
}
.ccard-label {
  font-size: 8px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase;
  color: var(--or); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.ccard-titre { font-size: clamp(18px, 1.8vw, 24px); font-weight: 900; line-height: 1.1; letter-spacing: -.5px; margin-bottom: 8px; }
.ccard-extrait { font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.6; margin-bottom: 14px; }
.ccard-lire { font-size: 9px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--or); }
@media (max-width: 600px) { .cgrille { grid-template-columns: 1fr; } }
.ccard--soon { cursor: default; }
.ccard--soon .ccard-img { filter: saturate(0.4) brightness(0.8); }
.ccard--soon:hover .ccard-img { transform: none; filter: saturate(0.4) brightness(0.8); }
.ccard-badge {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  background: var(--or); color: #080f20;
  font-size: 13px; font-weight: 900; letter-spacing: 2px;
  padding: 7px 14px; border-radius: 2px;
}

/* ── ÉCRIRE POUR MANÉCI ── */
.ecrire-section {
  background: var(--bleu);
  border-top: 3px solid var(--or);
}
.ecrire-inner {
  max-width: 820px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.ecrire-titre {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900; letter-spacing: -2px; line-height: .95;
  margin-bottom: 20px;
}
.ecrire-titre em { color: var(--or); font-style: normal; }
.ecrire-texte {
  font-size: 15px; font-weight: 300; line-height: 1.85;
  color: rgba(255,255,255,.6); margin-bottom: 32px;
}
.ecrire-regles { list-style: none; margin-bottom: 36px; }
.ecrire-regles li {
  font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7;
  padding: 10px 0; border-bottom: 1px solid var(--bord);
  display: flex; align-items: center; gap: 12px;
}
.ecrire-regles li::before { content: '→'; color: var(--or); font-weight: 700; flex-shrink: 0; }

/* ── À PROPOS ── */
.apropos-section {
  background: var(--bleu2);
  border-top: 1px solid var(--bord);
}
.apropos-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.apropos-titre {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900; letter-spacing: -2.5px; line-height: .95;
  margin-bottom: 28px;
}
.apropos-titre em { color: var(--or); font-style: normal; }
.apropos-texte {
  font-size: 16px; font-weight: 300; line-height: 1.85;
  color: var(--gris); margin-bottom: 44px;
}

/* ── FOOTER ── */
footer {
  background: var(--bleu);
  border-top: 1px solid var(--bord);
  padding: 40px 56px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo img { height: 28px; width: auto; display: block; }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a {
  color: rgba(255,255,255,.3); text-decoration: none;
  font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  transition: color .2s;
}
.footer-links a:hover { color: var(--blanc); }
.footer-copy { font-size: 10px; color: rgba(255,255,255,.15); letter-spacing: 1px; }

/* ── HAMBURGER ── */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; z-index: 101;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,.7); border-radius: 2px; transition: all .3s;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 0 24px; }
  .nav-burger { display: flex; }
  .nav-ecrire, .nav-insta { display: none; }
  .nav-links {
    display: none; position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(20,46,104,.98); flex-direction: column;
    padding: 28px 32px; gap: 24px;
    border-bottom: 1px solid var(--bord); z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 14px; letter-spacing: 1.5px; }
  section { padding: 72px 24px !important; }
  .cfeat { grid-template-columns: 1fr; min-height: auto; }
  .cfeat-text { border-right: none; border-bottom: 2px solid var(--or); }
  .cfeat-img-wrap { aspect-ratio: 16/9; }
  .ecrire-inner { grid-template-columns: 1fr; gap: 40px; }
  footer { padding: 32px 24px; }
  .itw-grid { grid-template-columns: 1fr !important; max-width: 420px; }
}
@media (max-width: 600px) {
  .hero-question { letter-spacing: 0px; font-size: 20px; }
  .cgrille { grid-template-columns: 1fr; }
}
