/* ============================================
   TOKENS — Dark cinema theme
   ============================================ */
:root {
  --bg:           #f6f8fb;       /* warm paper white */
  --bg-elevated:  #e8edf3;       /* deeper cream for sections that need lift */
  --bg-card:      #ffffff;       /* white card surface */
  --line:         rgba(20,24,33,.10);
  --line-strong:  rgba(20,24,33,.18);
  --fg:           #15181f;       /* near-black ink */
  --fg-mute:      #5d626d;       /* medium grey for body */
  --fg-dim:       #a0a4ad;       /* light grey for hints */
  --gold:         #1c5491;       /* deep editorial blue, readable on light */
  --gold-bright:  #2a6fb5;
  --red:          #e0524c;       /* alt accent if needed */

  --display: 'Outfit', system-ui, sans-serif;
  --poster:  'Anton', 'Arial Narrow', sans-serif;
  --body:    'Inter', system-ui, sans-serif;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle paper grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: .25;
  mix-blend-mode: multiply;
  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.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.06 0 0 0 0 0.08 0 0 0 0 0.13 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; }
::selection { background: var(--gold); color: var(--bg); }

.wrap {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.wrap-narrow {
  max-width: 1100px;
}

.label {
  font-family: var(--display);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg-mute);
  font-weight: 500;
}
.label-gold { color: var(--gold); }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(251,249,244,.75);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(251,249,244,.9);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo img {
  height: 36px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: .82rem;
  letter-spacing: .04em;
  font-weight: 500;
  color: var(--fg-mute);
  position: relative;
  padding: .25rem 0;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right .35s cubic-bezier(.7,0,.3,1);
}
.nav-links a:hover::after { right: 0; }
.nav-cta {
  padding: .65rem 1.25rem;
  background: var(--gold);
  color: var(--bg);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background .2s ease, transform .2s ease;
}
.nav-cta:hover { background: var(--gold-bright); transform: translateY(-1px); }

@media (max-width: 900px) { .nav-links { display: none; } }

/* ============================================
   HERO — Cinema edition
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 8rem 0 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* Cinema spotlight glow behind hero */
.hero::before {
  content: "";
  position: absolute;
  top: 20%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw; height: 90vw;
  max-width: 1400px; max-height: 1400px;
  background: radial-gradient(circle, rgba(28,84,145,.10) 0%, rgba(28,84,145,.04) 30%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 2.5rem;
  padding: .5rem .9rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-family: var(--display);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.hero-eyebrow::before {
  content: "●";
  font-size: .55rem;
  color: var(--gold);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.hero-title {
  font-family: var(--poster);
  font-size: clamp(2.5rem, 8vw, 6.75rem);
  line-height: .9;
  letter-spacing: -.01em;
  margin: 0 0 2rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--fg);
}
.hero-title > span {
  display: block;
  white-space: nowrap;
}
.hero-title .accent {
  color: var(--gold);
  font-style: italic;
  display: block;
}

.hero-lede {
  max-width: 32rem;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--fg-mute);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: transform .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg);
}
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--fg); background: rgba(255,255,255,.04); }
.btn svg { transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }

.hero-meta {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero-meta-item .label { display: block; margin-bottom: .4rem; }
.hero-meta-item .val {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--fg);
}

/* Hero cover */
.hero-cover {
  position: relative;
  aspect-ratio: 3/4;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 60px 100px -30px rgba(0,0,0,.7),
    0 30px 60px -20px rgba(28,84,145,.15);
  transform: perspective(1000px) rotateY(-3deg);
  transition: transform .8s cubic-bezier(.25,.8,.25,1);
}
.hero-cover:hover { transform: perspective(1000px) rotateY(0deg) translateY(-8px); }
.hero-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-cover-badge {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  padding: .4rem .7rem;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  font-family: var(--display);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}

@media (max-width: 980px) {
  .hero { padding-top: 7rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-cover { max-width: 320px; transform: none; }
}

/* ============================================
   ISSUES — Liste des numéros
   ============================================ */
.section {
  padding: 7rem 0;
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 4rem;
}
.section-head h2 {
  font-family: var(--poster);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: .9;
  letter-spacing: -.01em;
  margin: 0;
  font-weight: 400;
  text-transform: uppercase;
}
.section-head h2 .accent {
  color: var(--gold);
  font-style: italic;
}
.section-head .label { margin-bottom: 1.25rem; }
.section-head-right {
  max-width: 22rem;
  color: var(--fg-mute);
  font-size: .95rem;
  line-height: 1.55;
}

.issues {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.issue {
  display: block;
  position: relative;
  transition: transform .4s cubic-bezier(.25,.8,.25,1);
}
.issue:hover { transform: translateY(-8px); }

.issue-cover {
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,.5);
  transition: box-shadow .4s ease;
}
.issue:hover .issue-cover {
  box-shadow:
    0 30px 60px -10px rgba(0,0,0,.7),
    0 0 0 1px var(--gold);
}
.issue-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.issue-cover.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px dashed var(--line-strong);
}
.issue-cover.placeholder::before {
  content: "À paraître";
  font-family: var(--display);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.issue-cover.placeholder-old::before { content: "Couverture\Aà charger"; white-space: pre; text-align: center; }

/* Overlay on hover - "play" feel */
.issue-cover::after {
  content: "Lire ↗";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.85) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.25rem;
  font-family: var(--display);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--gold);
  opacity: 0;
  transition: opacity .3s ease;
}
.issue-cover:not(.placeholder):hover::after { opacity: 1; }

.issue-meta {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.issue-num {
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.issue-date {
  font-family: var(--display);
  font-size: .78rem;
  color: var(--fg-mute);
  letter-spacing: .04em;
}
.issue-title {
  margin-top: .4rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--fg);
}

@media (max-width: 1100px) { .issues { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .issues { grid-template-columns: repeat(2, 1fr); } }

/* ============================================
   ADVERTISERS — Devenir annonceur
   ============================================ */
.advertisers {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.advertisers::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28,84,145,.08) 0%, transparent 60%);
  pointer-events: none;
}

.advertisers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.advertisers-left h2 {
  font-family: var(--poster);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: .9;
  letter-spacing: -.01em;
  margin: 0 0 1.5rem;
  font-weight: 400;
  text-transform: uppercase;
}
.advertisers-left h2 .accent {
  color: var(--gold);
  font-style: italic;
}
.advertisers-left p {
  font-size: 1.08rem;
  color: var(--fg-mute);
  line-height: 1.65;
  max-width: 32rem;
  margin: 0 0 1.5rem;
}
.advertisers-press {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.advertisers-press .label { color: var(--fg-mute); margin-right: 1rem; align-self: center; }
.press-tag {
  font-family: var(--display);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--fg);
  padding: .4rem .8rem;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}

.advertisers-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.ad-stat {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color .25s ease, transform .25s ease;
}
.ad-stat:hover { border-color: var(--gold); transform: translateY(-3px); }
.ad-stat-num {
  font-family: var(--poster);
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: -.02em;
  margin-bottom: .5rem;
}
.ad-stat-num small {
  font-size: .4em;
  color: var(--fg-mute);
  font-style: italic;
}
.ad-stat-label {
  font-family: var(--display);
  font-size: .85rem;
  color: var(--fg-mute);
  letter-spacing: .04em;
  line-height: 1.4;
}

.advertisers-cta {
  margin-top: 2.5rem;
}

@media (max-width: 980px) {
  .advertisers-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ============================================
   SUBSCRIBE — Abonnement gratuit
   ============================================ */
.subscribe {
  padding: 6rem 0;
}
.subscribe-inner {
  background: linear-gradient(135deg, rgba(28,84,145,.10) 0%, rgba(28,84,145,.03) 100%);
  border: 1.5px solid rgba(28,84,145,.30);
  border-radius: 16px;
  padding: clamp(2.5rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.subscribe-inner::before {
  content: "";
  position: absolute;
  top: -150px; left: -150px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28,84,145,.12) 0%, transparent 60%);
}
.subscribe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.subscribe-grid h2 {
  font-family: var(--poster);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: .95;
  letter-spacing: -.01em;
  margin: 0 0 1.25rem;
  font-weight: 400;
  text-transform: uppercase;
}
.subscribe-grid h2 .accent { color: var(--gold); font-style: italic; }
.subscribe-grid p {
  color: var(--fg-mute);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}
.subscribe-grid p strong { color: var(--fg); font-weight: 500; }

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.subscribe-form .form-row {
  display: flex;
  gap: .5rem;
}
.subscribe-form input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 1rem 1.5rem;
  font-size: .95rem;
  color: var(--fg);
  transition: border-color .2s ease;
}
.subscribe-form input::placeholder { color: var(--fg-dim); }
.subscribe-form input:focus { outline: none; border-color: var(--gold); }
.subscribe-form button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold);
  color: var(--bg);
  border-radius: 999px;
  padding: 1rem 1.75rem;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: background .2s ease;
}
.subscribe-form button:hover { background: var(--gold-bright); }
.subscribe-form small {
  font-size: .78rem;
  color: var(--fg-dim);
  margin-top: .25rem;
}

@media (max-width: 820px) {
  .subscribe-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 7rem 0;
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
}
.contact-left h2 {
  font-family: var(--poster);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: .9;
  margin: 0 0 1.5rem;
  font-weight: 400;
  text-transform: uppercase;
}
.contact-left h2 .accent { color: var(--gold); font-style: italic; }
.contact-left p {
  color: var(--fg-mute);
  margin: 0 0 2.5rem;
  max-width: 26rem;
}
.contact-info {
  display: grid;
  gap: 1.5rem;
}
.contact-info-item .label {
  display: block;
  margin-bottom: .35rem;
}
.contact-info-item a, .contact-info-item span {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--fg);
  transition: color .2s ease;
}
.contact-info-item a:hover { color: var(--gold); }

.contact-form {
  display: grid;
  gap: 1.25rem;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label {
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.field input, .field textarea, .field select {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: .85rem 1rem;
  font-size: .95rem;
  color: var(--fg);
  transition: border-color .2s ease;
  font-family: var(--body);
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-dim); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { min-height: 120px; resize: none; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%235d626d' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.contact-form button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold);
  color: var(--bg);
  border-radius: 999px;
  padding: 1rem 1.75rem;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  width: fit-content;
  margin-top: .5rem;
  transition: background .2s ease;
}
.contact-form button:hover { background: var(--gold-bright); }

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 600px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-elevated);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-brand p {
  color: var(--fg-mute);
  font-size: .9rem;
  max-width: 22rem;
}
.footer-col h4 {
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.25rem;
}
.footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: .65rem;
}
.footer-col a {
  color: var(--fg-mute);
  font-size: .9rem;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
  color: var(--fg-dim);
}
.footer-bottom a { color: var(--fg-mute); }
.footer-bottom a:hover { color: var(--gold); }

@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================
   REVEAL ON SCROLL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.25,.8,.25,1), transform .9s cubic-bezier(.25,.8,.25,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.25,.8,.25,1), transform .7s cubic-bezier(.25,.8,.25,1);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 70ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 140ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 210ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 280ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 350ms; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 420ms; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 490ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ============================================
   SUBPAGE HERO (used on annonceur, annonceurs,
   mentions-legales)
   ============================================ */
.subhero {
  position: relative;
  padding: 12rem 0 5rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.subhero::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 90vw; height: 600px;
  background: radial-gradient(ellipse at top, rgba(28,84,145,.08) 0%, transparent 60%);
  pointer-events: none;
}
.subhero .wrap { position: relative; z-index: 2; }
.subhero .label { display: block; margin-bottom: 1.25rem; }
.subhero h1 {
  font-family: var(--poster);
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: .9;
  letter-spacing: -.01em;
  margin: 0;
  font-weight: 400;
  text-transform: uppercase;
}
.subhero h1 .accent { color: var(--gold); font-style: italic; }
.subhero p {
  margin-top: 2rem;
  max-width: 38rem;
  font-size: 1.1rem;
  color: var(--fg-mute);
  line-height: 1.6;
}

/* ============================================
   FORMATS GRID (annonceur page)
   ============================================ */
.formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.format-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2rem;
  transition: border-color .25s ease, transform .25s ease;
}
.format-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.format-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(28,84,145,.12);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  color: var(--gold);
}
.format-card h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 .65rem;
  color: var(--fg);
  letter-spacing: -.01em;
}
.format-card p {
  font-size: .92rem;
  color: var(--fg-mute);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) { .formats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .formats { grid-template-columns: 1fr; } }

/* ============================================
   ADVERTISERS LIST PAGE
   ============================================ */
.adv-category {
  margin-bottom: 4rem;
}
.adv-category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.adv-category-head h2 {
  font-family: var(--poster);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -.01em;
  margin: 0;
  text-transform: uppercase;
  color: var(--fg);
}
.adv-category-head .count {
  font-family: var(--display);
  font-size: .85rem;
  color: var(--gold);
  letter-spacing: .04em;
  font-weight: 500;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.adv-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.75rem;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
  display: block;
}
.adv-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  background: var(--bg-elevated);
}
.adv-card-logo {
  width: 100%;
  aspect-ratio: 5/2;
  background: rgba(255,255,255,.04);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-family: var(--display);
  font-size: .9rem;
  font-weight: 600;
  color: var(--fg-mute);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.adv-card h3 {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 .25rem;
  color: var(--fg);
  letter-spacing: -.005em;
}
.adv-card .meta {
  font-family: var(--display);
  font-size: .78rem;
  color: var(--fg-mute);
}

@media (max-width: 1000px) { .adv-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .adv-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================
   PROSE PAGE (mentions légales)
   ============================================ */
.prose {
  padding: 5rem 0 7rem;
}
.prose-inner {
  max-width: 760px;
  margin-inline: auto;
}
.prose h2 {
  font-family: var(--poster);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -.01em;
  margin: 3rem 0 1rem;
  color: var(--fg);
  text-transform: uppercase;
}
.prose h2:first-of-type { margin-top: 0; }
.prose h2 .accent { color: var(--gold); font-style: italic; }
.prose p, .prose li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fg-mute);
  margin: 0 0 1.25rem;
}
.prose strong { color: var(--fg); font-weight: 600; }
.prose a { color: var(--gold); border-bottom: 1px solid rgba(28,84,145,.3); transition: border-color .2s ease; }
.prose a:hover { border-color: var(--gold); }
.prose ul { padding-left: 1.5rem; margin: 0 0 1.25rem; }
.prose ul li { margin-bottom: .5rem; }


/* ============================================
   HERO COVER PLACEHOLDER (upcoming N°8)
   ============================================ */
.hero-cover-placeholder {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(28,84,145,.18) 0%, transparent 60%),
    linear-gradient(160deg, #1a1c25 0%, #0e1018 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 2rem;
  color: #f5f5f7;
  text-align: center;
  overflow: hidden;
}
/* Film grain on placeholder */
.hero-cover-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  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.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
  opacity: .6;
  pointer-events: none;
}
.hcp-logo {
  display: inline-flex;
  align-items: baseline;
  gap: .35em;
  padding: .55rem .9rem;
  border: 1.5px solid #f5f5f7;
  border-radius: 2px;
  font-family: var(--logo, var(--display));
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}
.hcp-num-i {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2em;
  line-height: 0;
}
.hcp-issue {
  font-family: var(--poster);
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--gold-bright);
  position: relative;
  z-index: 2;
  margin-top: 1rem;
}
.hcp-issue span {
  font-size: 1.6em;
  margin-left: .05em;
}
.hcp-theme {
  font-family: var(--display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  position: relative;
  z-index: 2;
  margin-top: -.5rem;
}
.hcp-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.15);
  width: 70%;
  position: relative;
  z-index: 2;
}
.hcp-date-label {
  font-family: var(--display);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.hcp-date-val {
  font-family: var(--poster);
  font-size: 1.6rem;
  letter-spacing: -.01em;
  color: var(--gold-bright);
  text-transform: uppercase;
}

/* ============================================
   FORM NOTICE (after submission redirect)
   ============================================ */
.form-notice {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(-150%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1.4rem;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--display);
  font-size: .9rem;
  font-weight: 500;
  box-shadow: 0 14px 40px -10px rgba(20,24,33,.35);
  transition: transform .5s cubic-bezier(.25,.8,.25,1);
  max-width: 90vw;
}
.form-notice.in { transform: translateX(-50%) translateY(0); }
.form-notice.error { background: #b03d3a; color: #fff; }
.form-notice .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  flex-shrink: 0;
}
.form-notice.error .dot { background: #ffb1ad; }
