/* =============================================
   6VIQUE — style.css
   ============================================= */

/* --- Variables --- */

:root {
  --rouge:      #e30613;
  --rouge-dark: #b70510;
  --noir:       #000000;
  --surface:    #111111;
  --blanc:      #ffffff;
  --blanc-card: #f5f4f0;
  --muted:      rgba(255, 255, 255, 0.70);
  --muted-card: rgba(17,  17,  17,  0.72);
  --border:     rgba(255, 255, 255, 0.10);
  --ombre:      0 24px 64px rgba(0, 0, 0, 0.36);
  --col:        1100px;
  --font:       'Bricolage Grotesque', sans-serif;
  --title-hero: clamp(1.4rem, 2.19vw, 2.625rem);
  --title-section: clamp(1.4rem, 2.19vw, 2.625rem);
  --text-body:  clamp(0.875rem, 0.9vw, 1rem);
  --text-small: clamp(0.75rem, 0.8vw, 0.95rem);
  --hero-copy-width: 26vw;
}

/* --- Reset --- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font); background: var(--noir); color: var(--blanc);
        line-height: 1.6; -webkit-font-smoothing: antialiased; }
a     { color: inherit; text-decoration: none; }
img   { display: block; max-width: 100%; height: auto; }

/* --- Container --- */

.container {
  width: min(var(--col), calc(100% - 80px));
  margin-inline: auto;
}

/* --- Section base --- */

.section        { padding: 96px 0; }
.section-dark   { background: var(--surface); }

/* =============================================
   HEADER
   ============================================= */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,0,0,0.90);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}

.site-brand-logo {
  display: block;
  width: 96px;
  height: auto;
}
.site-nav { display: flex; gap: 28px; }

.site-nav a {
  font-size: 0.86rem; font-weight: 500;
  color: var(--muted); transition: color 0.2s;
}
.site-nav a:hover { color: var(--blanc); }

/* =============================================
   HERO
   ============================================= */

body::before { display: none; content: none; }

.hero-zone {
  position: relative;
  width: 100%;
}

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

.bloc1 {
  position: absolute;
  top: 430px;
  left: 0;
  right: 0;
  z-index: 2;
}

.bloc1 h1 {
  font-size: var(--title-hero);
  font-weight: 800;
  line-height: 1.19;
  text-transform: uppercase;
  color: #ffffff;
  max-width: var(--hero-copy-width);
  margin-bottom: 0.9vw;
}

.hero-divider {
  width: var(--hero-copy-width);
  max-width: 500px;
  height: 14px;
  background: #D9000C;
  margin-bottom: 1.3vw;
}

.bloc1 p {
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.45;
  color: #ffffff;
  max-width: var(--hero-copy-width);
  margin-bottom: 0.7vw;
}
.bloc1 p:last-of-type { margin-bottom: 0.9vw; }

.concept-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 96px 0;
}

/* =============================================
   BOUTONS
   ============================================= */

.btn {
  display: inline-flex; align-items: center;
  font-family: var(--font); font-weight: 800;
  text-transform: uppercase;
  cursor: pointer; border: none;
  text-decoration: none;
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0;
  font-size: clamp(0.85rem, 1.5625vw, 1.875rem);
  color: #ffffff;
  background: transparent;
  overflow: visible;
  gap: 0;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: polygon(6.85% 0%, 100% 0%, 93.15% 100%, 0% 100%);
  background: linear-gradient(135deg, #D9000C 0%, #9B030B 100%);
  z-index: 0;
}

.btn-primary:hover::before { opacity: 0.88; }

.btn-primary img {
  position: relative;
  z-index: 1;
  height: 50px;
  width: auto;
  flex-shrink: 0;
  margin-left: 8px;
  margin-right: 8px;
  transform: translate(-10px, 10px);
}

.btn-primary span {
  position: relative;
  z-index: 1;
  padding: 16px 40px 16px 8px;
  font-variation-settings: 'wdth' 75;
}

/* =============================================
   ÉLÉMENTS COMMUNS
   ============================================= */

.label {
  display: block;
  font-size: clamp(0.75rem, 0.85vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 14px;
  font-variation-settings: 'wdth' 75;
}

h2 {
  font-size: var(--title-section);
  font-weight: 800; line-height: 1.19;
  margin-bottom: 22px;
  letter-spacing: 0;
}

.section-title { margin-bottom: 48px; }

.accent-bar {
  width: 100%;
  max-width: 500px;
  height: 14px;
  background: var(--rouge); margin-top: 32px;
}

/* =============================================
   SPLIT LAYOUT
   ============================================= */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-reverse {
  grid-template-columns: 1fr 1fr;
}
.split-reverse .split-visual { order: -1; }

#concept .split-visual {
  display: flex;
  align-items: center;
  margin-left: -80px;
}

#concept .split-visual img {
  width: 115%;
  height: auto;
  filter: drop-shadow(0 16px 48px rgba(0,0,0,0.55));
}

#ligne-editoriale .split-visual {
  display: flex;
  align-items: center;
  margin-right: -80px;
}

#ligne-editoriale .split-visual img {
  width: 115%;
  height: auto;
  filter: drop-shadow(0 16px 48px rgba(0,0,0,0.55));
}

.split-text h2 {
  font-size: var(--title-section);
  font-weight: 800;
  line-height: 1.19;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.9vw;
}

.split-text p {
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.45;
  color: #ffffff;
  margin-bottom: 0.6vw;
}
.split-text p + p { margin-top: 0; }

.split-visual img {
  width: 100%;
  filter: drop-shadow(0 16px 48px rgba(0,0,0,0.55));
}

/* =============================================
   CONCEPT
   ============================================= */

.bullet-list {
  list-style: none; padding: 0; margin-bottom: 0.8vw;
}
.bullet-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: 0.5vw;
}

.bullet-list li::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 15px;
  height: 11px;
  background: #D9000C;
  clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%);
}

p.note {
  font-style: italic; color: var(--muted);
  font-size: var(--text-small);
}

/* =============================================
   LIGNE ÉDITORIALE
   ============================================= */

.editorial-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.editorial-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.editorial-kw {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-body);
  font-weight: 800;
  color: var(--rouge);
  text-transform: uppercase;
  letter-spacing: 0;
}

.editorial-kw::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 15px;
  height: 11px;
  background: #ffffff;
  clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%);
}

.editorial-desc {
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.45;
  color: #ffffff;
  padding-left: 27px;
}

/* =============================================
   NUMÉRO 1
   ============================================= */

.numero1-section {
  padding-top: 0;
  padding-bottom: 0;
}

.numero1-section > .container {
  padding-top: 96px;
  padding-bottom: 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 14px solid #D9000C;
  padding-bottom: 96px;
}

.numero1-visual {
  position: relative;
  margin-left: -80px;
}

.numero1-visual > img {
  width: 115%;
  height: auto;
  clip-path: polygon(6.85% 0%, 100% 0%, 93.15% 100%, 0% 100%);
  filter: drop-shadow(0 16px 48px rgba(0,0,0,0.55));
  display: block;
}

.numero1-btn {
  position: absolute;
  bottom: -25px;
  right: 0;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.numero1-btn::before {
  position: absolute;
  inset: 0;
  content: '';
  clip-path: polygon(6.85% 0%, 100% 0%, 93.15% 100%, 0% 100%);
  background: linear-gradient(135deg, #D9000C 0%, #9B030B 100%);
  z-index: 0;
}

.numero1-btn img {
  position: relative;
  z-index: 1;
  height: 50px;
  width: auto;
  flex-shrink: 0;
  margin-left: 8px;
  margin-right: 8px;
  transform: translate(-9px, -12px);
}

.numero1-btn span {
  position: relative;
  z-index: 1;
  padding: 16px 40px 16px 8px;
  font-variation-settings: 'wdth' 75;
}

.kicker {
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  font-weight: 600;
  color: var(--blanc); margin-bottom: 16px;
}

.program-card {
  background: var(--blanc-card); color: #111;
  padding: 26px 28px; margin: 26px 0;
}
.program-card h3 {
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rouge); margin-bottom: 10px;
}
.program-card p {
  color: var(--muted-card);
  font-size: clamp(0.875rem, 0.9vw, 1rem);
  line-height: 1.6;
}

/* =============================================
   PROCHAINS NUMÉROS
   ============================================= */

#prochains-numeros {
  padding-top: 72px;
  padding-bottom: 88px;
}

#prochains-numeros .accent-bar {
  margin-bottom: 44px !important;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 48px;
  row-gap: 46px;
  align-items: stretch;
}

.number-card {
  grid-column: span 2;
  height: 310px;
  background: var(--blanc-card);
  padding: 26px 34px 30px;
  box-shadow: var(--ombre);
  clip-path: polygon(6.85% 0%, 100% 0%, 93.15% 100%, 0% 100%);
  transition: transform 0.25s ease;
  cursor: default;
  display: flex;
  flex-direction: column;
}

.number-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.number-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.number-card:hover {
  transform: scale(1.02);
}

.nc-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 18px;
}

.nc-index {
  font-size: clamp(2rem, 2.7vw, 3.2rem);
  font-weight: 800;
  color: var(--rouge);
  line-height: 0.9;
}

.nc-theme {
  font-size: clamp(0.82rem, 1vw, 1rem);
  font-weight: 600;
  color: #111;
  line-height: 1.1;
}

.nc-sep {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.18);
  width: 100%;
  margin: 18px 0 0;
}

.nc-title {
  margin-top: auto;
  font-size: clamp(2rem, 2.6vw, 3.1rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  color: #111;
  letter-spacing: -0.01em;
  display: flex;
  align-items: flex-end;
}

#prochains-numeros .section-title {
  text-transform: uppercase;
}

.tilt-left  { transform: none; }
.tilt-right { transform: none; }

/* =============================================
   PARTICIPER
   ============================================= */

#participer {
  padding-top: 112px;
  padding-bottom: 120px;
}

.participer-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: center;
}

.participer-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  max-width: 480px;
}

.participer-copy .label {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.participer-copy h2 {
  max-width: 540px;
  font-size: clamp(3rem, 1.2vw, 5rem);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.participer-copy h2::after {
  content: '';
  display: block;
  width: 260px;
  max-width: 100%;
  height: 10px;
  margin: 28px 0 34px;
  background: var(--rouge);
}

.participer-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
  max-width: 520px;
  margin-bottom: 26px;
}

.participer-copy p:last-child {
  margin-bottom: 0;
}

.participer-media {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding-bottom: 26px;
}

.participer-image-wrap {
  width: min(100%, 560px);
  aspect-ratio: 1.02 / 1;
  overflow: hidden;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.34);
}

.participer-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.participer-btn {
  position: absolute;
  left: -32px;
  bottom: -26px;
  z-index: 3;
  font-size: 1.65rem;
}

.participer-btn img {
  height: 44px;
}

.participer-btn span {
  padding: 20px 40px 18px 34px;
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 18px;
}

.footer-line { flex: 1; height: 2px; background: var(--rouge); }

.footer-logo { width: 190px; height: auto; }

.footer-bottom {
  display: flex; justify-content: center; gap: 28px;
  font-size: 0.86rem; color: var(--muted);
}
.footer-bottom a { color: var(--muted); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--blanc); }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 860px) {
  .container { width: calc(100% - 48px); }

  .split,
  .split-reverse { grid-template-columns: 1fr; gap: 40px; }

  .split-reverse .split-visual { order: 0; }

  .numbers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 28px;
  }

  .number-card,
  .number-card:nth-child(4),
  .number-card:nth-child(5) {
    grid-column: auto;
  }

  .site-nav { display: none; }
}

@media (max-width: 540px) {
  .section { padding: 60px 0; }
  h2 { font-size: 1.8rem; }
  .numbers-grid { grid-template-columns: 1fr; }
  .number-card,
  .number-card:nth-child(4),
  .number-card:nth-child(5) { grid-column: auto; }
  .number-card h3 { font-size: 1.7rem; }
}

/* =============================================
   MOBILE — V1 propre selon maquette
   À placer tout en bas du fichier
   ============================================= */

@media (max-width: 640px) {
  :root {
    --title-hero: clamp(2rem, 10vw, 2.75rem);
    --title-section: clamp(1.75rem, 8vw, 2.35rem);
    --text-body: 0.82rem;
    --text-small: 0.76rem;
    --hero-copy-width: 100%;
  }

  html,
  body {
    overflow-x: hidden;
  }

  body {
    background: #000;
  }

  .container {
    width: calc(100% - 32px);
  }

  /* HEADER */
  .site-header {
    display: none;
  }

  /* SECTIONS */
  .section {
    padding: 42px 0;
  }

  .section-dark {
    background: #000;
  }

  h2,
  .split-text h2 {
    font-size: var(--title-section);
    line-height: 0.98;
    margin-bottom: 18px;
  }

  .label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
  }

  .accent-bar {
    height: 6px;
    width: 100%;
    max-width: none;
    margin-top: 20px;
  }

  /* BOUTONS */
  .btn-primary {
    font-size: 0.66rem;
  }

  .btn-primary img {
    height: 24px;
    margin-left: 4px;
    margin-right: 4px;
    transform: translate(-6px, 5px);
  }

  .btn-primary span {
    padding: 8px 16px 8px 2px;
  }

  /* HERO MOBILE */
  .hero-zone {
    position: relative;
    width: 100%;
    background: #000;
  }

  .hero-img {
    width: 100%;
    height: auto;
  }

  .bloc1 {
    position: static;
    padding: 18px 0 0;
    background: #000;
  }

  .bloc1 h1 {
    max-width: 100%;
    font-size: var(--title-hero);
    line-height: 0.95;
    margin-bottom: 18px;
  }

  .bloc1 p {
    max-width: 100%;
    font-size: 0.78rem;
    line-height: 1.22;
    margin-bottom: 12px;
  }

  .hero-divider {
    width: 100%;
    height: 6px;
    margin: 18px 0 12px;
  }

  /* CONCEPT MOBILE */
  .concept-overlay {
    position: static;
    padding: 30px 0 42px;
    background: #000;
  }

  #concept .split {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  /*
    Permet de garder l'ordre mobile :
    titre / texte / liste / image / note / barre rouge
  */
  #concept .split-text {
    display: contents;
  }

  #concept .label {
    order: 1;
  }

  #concept h2 {
    order: 2;
    font-size: clamp(1.35rem, 7vw, 1.8rem);
    line-height: 1.05;
    margin-bottom: 0;
  }

  #concept .split-text > p:not(.note) {
    order: 3;
    font-size: 0.78rem;
    line-height: 1.25;
    margin-bottom: 0;
  }

  #concept .bullet-list {
    order: 4;
    margin: 0;
  }

  #concept .bullet-list li {
    font-size: 0.76rem;
    line-height: 1.15;
    margin-bottom: 4px;
    gap: 8px;
  }

  #concept .bullet-list li::before {
    width: 8px;
    height: 6px;
  }

  #concept .split-visual {
    order: 5;
    margin-left: 0;
    display: block;
  }

  #concept .split-visual img {
    width: 108%;
    max-width: none;
    margin-left: -4%;
  }

  #concept .note {
    order: 6;
    font-size: 0.76rem;
    line-height: 1.25;
    margin-top: 4px;
  }

  #concept .accent-bar {
    order: 7;
  }

  /* LIGNE ÉDITORIALE MOBILE */
  .split,
  .split-reverse {
    display: flex;
    flex-direction: column;
    gap: 26px;
  }

  #ligne-editoriale {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  #ligne-editoriale .split-visual {
    margin-right: 0;
  }

  #ligne-editoriale .split-visual img {
    width: 88%;
    margin-inline: auto;
  }

  .editorial-list {
    gap: 14px;
  }

  .editorial-kw {
    font-size: 0.78rem;
    gap: 8px;
  }

  .editorial-kw::before {
    width: 8px;
    height: 6px;
  }

  .editorial-desc {
    font-size: 0.76rem;
    line-height: 1.22;
    padding-left: 16px;
  }

  /* NUMÉRO 1 MOBILE */
  .numero1-section > .container {
    padding-top: 42px;
    padding-bottom: 42px;
    border-top: none;
    border-bottom-width: 6px;
  }

  #numero-1 .split {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .numero1-visual {
    display: contents;
    margin-left: 0;
  }

  .numero1-visual > img {
    order: 1;
    width: 82%;
    margin-inline: auto;
    clip-path: polygon(7% 0%, 100% 0%, 93% 100%, 0% 100%);
  }

  #numero-1 .split-text {
    order: 2;
  }

  .numero1-btn {
    order: 3;
    position: relative;
    right: auto;
    bottom: auto;
    align-self: flex-start;
    margin-top: 0;
  }

  .kicker {
    font-size: 0.82rem;
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .program-card {
    padding: 16px 18px;
    margin: 18px 0 16px;
  }

  .program-card h3 {
    font-size: 0.74rem;
    margin-bottom: 8px;
  }

  .program-card p {
    font-size: 0.76rem;
    line-height: 1.3;
  }

  /* PROCHAINS NUMÉROS MOBILE */
  #prochains-numeros {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  #prochains-numeros .section-title {
    font-size: clamp(1.65rem, 8vw, 2.1rem);
    line-height: 0.98;
    margin-bottom: 18px;
  }

  #prochains-numeros .accent-bar {
    height: 6px;
    margin-bottom: 28px !important;
  }

  .numbers-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .number-card,
  .number-card:nth-child(4),
  .number-card:nth-child(5) {
    width: min(78%, 230px);
    height: 132px;
    padding: 12px 18px 14px;
    grid-column: auto;
    clip-path: polygon(7% 0%, 100% 0%, 93% 100%, 0% 100%);
  }

  .number-card:hover {
    transform: none;
  }

  .nc-top {
    gap: 2px;
    margin-bottom: 6px;
  }

  .nc-index {
    font-size: 1.1rem;
  }

  .nc-theme {
    font-size: 0.5rem;
    line-height: 1.05;
  }

  .nc-sep {
    margin: 4px 0 0;
  }

  .nc-title {
    font-size: clamp(1rem, 6vw, 1.45rem);
    line-height: 0.9;
  }

  /* PARTICIPER MOBILE */
  #participer {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  #participer::before {
    content: '';
    display: block;
    width: calc(100% - 32px);
    height: 6px;
    margin: 0 auto 34px;
    background: var(--rouge);
  }

  .participer-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .participer-media {
    display: contents;
  }

  .participer-image-wrap {
    order: 1;
    width: 72%;
    aspect-ratio: 1 / 0.72;
    margin-inline: auto;
    clip-path: polygon(7% 0%, 100% 0%, 93% 100%, 0% 100%);
  }

  .participer-image-wrap img {
    object-position: center;
  }

  .participer-copy {
    order: 2;
    max-width: none;
    display: block;
  }

  .participer-copy .label {
    display: none;
  }

  .participer-copy h2 {
    max-width: 100%;
    font-size: clamp(1.45rem, 7vw, 1.95rem);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: uppercase;
  }

  .participer-copy h2::after {
    width: 100%;
    height: 6px;
    margin: 16px 0 22px;
  }

  .participer-copy p {
    max-width: 100%;
    font-size: 0.78rem;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  .participer-btn {
    order: 3;
    position: relative;
    left: auto;
    bottom: auto;
    align-self: flex-start;
    margin-top: 2px;
    font-size: 0.66rem;
  }

  .participer-btn img {
    height: 24px;
  }

  .participer-btn span {
    padding: 8px 16px 8px 2px;
  }

  /* FOOTER MOBILE */
  .site-footer {
    display: none;
  }
}

/* =============================================
   MOBILE/TABLET — Ajustements finaux cartes + boutons
   ============================================= */

@media (max-width: 860px) {

  /* Centrer les boutons CTA sur mobile */
  .btn-primary,
  .numero1-btn,
  .participer-btn {
    margin-left: auto;
    margin-right: auto;
  }

  .numero1-btn,
  .participer-btn {
    align-self: center;
  }

  /* Section prochains numéros : cartes plus compactes */
  .numbers-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .number-card,
  .number-card:nth-child(4),
  .number-card:nth-child(5) {
    width: min(82vw, 260px);
    height: 150px;
    padding: 12px 18px 14px;
    grid-column: auto;
    overflow: hidden;
  }

  .nc-index {
    font-size: 1.25rem;
    line-height: 0.9;
  }

  .nc-theme {
    font-size: 0.58rem;
    line-height: 1.05;
  }

  .nc-top {
    gap: 2px;
    margin-bottom: 6px;
  }

  .nc-sep {
    margin: 6px 0 0;
  }

  .nc-title {
    font-size: clamp(1.05rem, 5.5vw, 1.55rem);
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin-top: auto;
  }

  /* Cas spécifiques : titres longs */
  .number-card:nth-child(4) .nc-title,
  .number-card:nth-child(5) .nc-title {
    font-size: clamp(0.95rem, 5vw, 1.35rem);
    line-height: 0.88;
  }
}
