/* =========================================================
   TALENT D'OR FC — Home V2 « éditoriale » (inspiration psg.fr)
   Même charte que la V1 (marine / or, Anton + Barlow),
   mêmes images. Feuille autonome : n'écrase pas style.css.
   ========================================================= */

:root {
  --navy:        #0e1c3d;
  --navy-dark:   #081226;
  --navy-light:  #1b3568;
  --midnight:    #060e20;
  --gold:        #f5c518;
  --gold-dark:   #cf9a16;
  --gold-soft:   #ffe487;
  --ink:         #14203a;
  --muted:       #5c6884;
  --line:        #e6e1d4;
  --paper:       #f6f3ec;
  --bg-soft:     #efe9db;
  --white:       #ffffff;
  --container:   1280px;
  --font:    'Barlow', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --display: 'Anton', 'Barlow Condensed', Impact, sans-serif;
  --cond:    'Barlow Condensed', 'Barlow', sans-serif;
  --stripes: repeating-linear-gradient(90deg,
             var(--navy) 0 7px, var(--gold) 7px 14px);
  --ease: cubic-bezier(.2,.7,.3,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.02; }
section[id] { scroll-margin-top: 84px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--cond); font-weight: 700; font-size: 1.02rem;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 14px 26px; border: 2px solid transparent; border-radius: 2px;
  cursor: pointer; transition: transform .18s var(--ease), background .18s, color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold  { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--navy  { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-light); }

/* En-tête : désormais l'en-tête clair « V1 » (css/site-header.css),
   partagé par toutes les pages. */

/* =========================================================
   HERO — grande image plein écran, titre en bas à gauche
   ========================================================= */
.v2hero { position: relative; background: var(--midnight); overflow: hidden; }
.v2hero__slides { position: absolute; inset: 0; z-index: 0; }
.v2hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1s var(--ease), transform 7s linear;
}
.v2hero__slide.is-active { opacity: 1; transform: scale(1); }
.v2hero__slides::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(6,14,32,.94) 0%, rgba(6,14,32,.55) 42%, rgba(6,14,32,.18) 75%),
    linear-gradient(to right, rgba(6,14,32,.7) 0%, rgba(6,14,32,0) 60%);
}
.v2hero__in {
  position: relative; z-index: 2;
  min-height: clamp(560px, 88vh, 860px);
  display: flex; align-items: flex-end;
  padding-bottom: 64px;
}
.v2hero__grid {
  width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 32px;
}
.v2tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--cond); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--navy); background: var(--gold);
  padding: 7px 14px; border-radius: 2px; margin-bottom: 20px;
}
.v2hero h1 {
  color: #fff; font-size: clamp(2.7rem, 7vw, 5.6rem);
  text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 18px;
  text-shadow: 0 6px 40px rgba(0,0,0,.45);
}
.v2hero h1 em { font-style: normal; color: var(--gold); display: block; }
.v2hero p {
  color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.5vw, 1.16rem);
  max-width: 560px; margin-bottom: 30px;
}
.v2hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* vignettes de navigation du slider (colonne droite) */
.v2hero__thumbs { display: flex; gap: 10px; }
.v2hero__thumb {
  width: 88px; height: 60px; border: 2px solid rgba(255,255,255,.3);
  border-radius: 2px; overflow: hidden; cursor: pointer; padding: 0;
  background: none; opacity: .55; transition: .22s var(--ease);
}
.v2hero__thumb img { width: 100%; height: 100%; object-fit: cover; }
.v2hero__thumb:hover { opacity: .9; }
.v2hero__thumb.is-active { opacity: 1; border-color: var(--gold); transform: translateY(-4px); }

/* =========================================================
   MATCH CENTER — bandeau marine sous le hero
   ========================================================= */
.v2match { background: var(--navy); border-top: 3px solid var(--gold); overflow: hidden; }
/* Bandeau défilant : deux pistes identiques qui se suivent en boucle */
.v2band { display: flex; width: max-content; }
.v2band:hover .v2band__track { animation-play-state: paused; }
.v2band__track {
  display: flex; flex: none;
  animation: v2bandScroll 75s linear infinite;
}
@keyframes v2bandScroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
/* Contenu qui tient dans la largeur : pas de défilement, une seule piste
   alignée à gauche (la capsule « Le fil du club » sert de libellé). */
.v2band.is-static { width: 100%; justify-content: flex-start; }
.v2band.is-static .v2band__track { animation: none; }
.v2band.is-static .v2band__track[aria-hidden="true"] { display: none; }
.v2band.is-static .v2mcell--end { display: none; }
.v2mcell {
  padding: 22px 30px; color: #fff; flex: none; min-width: 260px;
  border-right: 1px solid rgba(255,255,255,.12);
  display: flex; flex-direction: column; gap: 7px; justify-content: center;
}
/* Repère de début : capsule dorée, marque le point de départ (et de fin) du fil */
.v2mcell--cap {
  min-width: auto; flex-direction: row; align-items: center; gap: 10px;
  background: var(--gold); color: var(--navy);
  font-family: var(--cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; font-size: .82rem;
}
.v2mcell--cap .ico { width: 18px; height: 18px; }
/* Repère de fin : petit bloc discret avant que le fil ne reboucle */
.v2mcell--end {
  min-width: auto; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); border-right: 2px solid var(--gold);
}
.v2mcell--end .v2mcell__vs { color: rgba(255,255,255,.5); }
@media (prefers-reduced-motion: reduce) {
  .v2band__track { animation: none; }
  .v2band { overflow-x: auto; }
}
.v2mcell__tag {
  font-family: var(--cond); font-size: .74rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.v2mcell__main {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  font-family: var(--display); font-size: 1.5rem; text-transform: uppercase;
}
.v2mcell__main .sc {
  background: var(--gold); color: var(--navy); padding: 2px 12px;
  border-radius: 2px; font-size: 1.5rem;
}
.v2mcell__meta { font-size: .86rem; color: rgba(255,255,255,.65); }
.v2mcell__vs {
  font-family: var(--cond); font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; color: var(--gold); text-transform: uppercase;
}

/* =========================================================
   Titres de section
   ========================================================= */
.v2sec { padding: clamp(58px, 8vw, 96px) 0; }
.v2sec--soft { background: var(--bg-soft); }
.v2sec--dark { background: var(--midnight); color: #fff; }
.v2shead {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 38px; flex-wrap: wrap;
}
.v2eyebrow {
  font-family: var(--cond); font-weight: 700; font-size: .8rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark);
  display: flex; align-items: center; gap: 10px;
}
.v2eyebrow::before { content: ''; width: 28px; height: 3px; background: var(--gold); }
.v2sec--dark .v2eyebrow { color: var(--gold); }
.v2shead h2 {
  font-size: clamp(2rem, 4vw, 3.1rem); text-transform: uppercase; margin-top: 10px;
}
.v2sec--dark .v2shead h2 { color: #fff; }
.v2link {
  font-family: var(--cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--navy); border-bottom: 2px solid var(--gold);
  padding-bottom: 3px; transition: gap .18s; display: inline-flex; gap: 8px;
}
.v2sec--dark .v2link { color: #fff; }
.v2link:hover { gap: 14px; }

/* =========================================================
   À LA UNE — mosaïque éditoriale asymétrique
   ========================================================= */
.v2une {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
}
.v2card {
  position: relative; overflow: hidden; border-radius: 3px;
  background: var(--navy); display: block; isolation: isolate;
}
.v2card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .7s var(--ease);
}
.v2card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,14,32,.92) 8%, rgba(6,14,32,.35) 55%, rgba(6,14,32,.05) 100%);
  transition: background .3s;
}
.v2card:hover img { transform: scale(1.07); }
.v2card:hover::after { background: linear-gradient(to top, rgba(6,14,32,.95) 12%, rgba(14,28,61,.6) 60%, rgba(6,14,32,.2) 100%); }
.v2card__body {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; color: #fff;
}
.v2card__cat {
  align-self: flex-start;
  font-family: var(--cond); font-weight: 700; font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase;
  background: var(--gold); color: var(--navy);
  padding: 5px 11px; border-radius: 2px; margin-bottom: 12px;
}
.v2card__cat--ghost { background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(4px); }
.v2card h3 { font-size: 1.28rem; text-transform: uppercase; line-height: 1.08; }
.v2card p {
  font-size: .92rem; color: rgba(255,255,255,.78); margin-top: 8px;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .35s var(--ease), opacity .3s, margin-top .3s;
}
.v2card:hover p { max-height: 90px; opacity: 1; }
.v2card__date {
  font-family: var(--cond); font-size: .8rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold-soft); margin-top: 10px;
}

.v2une__lead { grid-column: span 2; grid-row: span 2; }
.v2une__lead h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.v2une__lead p { max-height: 90px; opacity: 1; margin-top: 12px; font-size: 1rem; }
.v2une__wide { grid-column: span 2; }

/* =========================================================
   CATÉGORIES — cartes image plein cadre
   ========================================================= */
.v2cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.v2cat {
  position: relative; overflow: hidden; border-radius: 3px;
  min-height: 380px; display: flex; align-items: flex-end;
  background: var(--navy);
}
.v2cat img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .5; transition: transform .7s var(--ease), opacity .4s;
}
.v2cat::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,14,32,.95) 10%, rgba(6,14,32,.3) 70%);
}
.v2cat:hover img { transform: scale(1.08); opacity: .72; }
.v2cat__body { position: relative; z-index: 2; padding: 26px; color: #fff; width: 100%; }
.v2cat__num {
  font-family: var(--display); font-size: 3.4rem; color: var(--gold);
  line-height: 1; margin-bottom: 6px;
}
.v2cat h3 { font-size: 1.3rem; text-transform: uppercase; }
.v2cat p { font-size: .9rem; color: rgba(255,255,255,.75); margin-top: 8px; }
.v2cat__bar { height: 3px; background: var(--stripes); margin-top: 18px; width: 54px; }
/* Toute la carte catégorie est cliquable → fiche détaillée */
.v2cat__link { position: absolute; inset: 0; z-index: 3; }
.v2cat { cursor: pointer; }

/* =========================================================
   CHIFFRES — bandeau sombre
   ========================================================= */
.v2nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.v2num strong {
  display: block; font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--gold); line-height: 1;
}
.v2num span {
  font-family: var(--cond); font-size: .88rem; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: 8px; display: block;
}

/* =========================================================
   NEWSLETTER — bande photo sombre
   ========================================================= */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.v2news { position: relative; background: var(--midnight); overflow: hidden; }
.v2news > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .3;
}
.v2news::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,14,32,.94) 30%, rgba(14,28,61,.6));
}
.v2news__in {
  position: relative; z-index: 2;
  padding: clamp(48px, 6vw, 78px) 24px;
  display: grid; grid-template-columns: 1.1fr 1fr;
  align-items: center; gap: clamp(30px, 5vw, 60px);
}
.v2news__txt h2 {
  color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  text-transform: uppercase; margin: 12px 0 12px;
}
.v2news__txt h2 em { font-style: normal; color: var(--gold); }
.v2news__txt p { color: rgba(255,255,255,.78); max-width: 480px; }

.v2news__form { display: flex; flex-wrap: wrap; gap: 12px; }
.v2news__form input {
  flex: 1 1 240px; min-width: 0;
  padding: 15px 16px; border: 1px solid rgba(255,255,255,.24);
  border-radius: 2px; background: rgba(255,255,255,.08); color: #fff;
  font-family: var(--font); font-size: 1rem;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.v2news__form input::placeholder { color: rgba(255,255,255,.5); }
.v2news__form input:focus {
  outline: none; border-color: var(--gold); background: rgba(255,255,255,.14);
  box-shadow: 0 0 0 3px rgba(245,197,24,.22);
}
.v2news__form .btn { flex: 0 0 auto; }
.v2news__note {
  flex: 1 0 100%; font-size: .78rem; color: rgba(255,255,255,.5); margin-top: 2px;
}
.v2news__msg {
  flex: 1 0 100%; margin: 4px 0 0; font-size: .88rem; font-weight: 600;
  padding: 8px 12px; border-radius: 8px;
}
.v2news__msg.is-ok { background: rgba(120,220,150,.18); color: #b9f0c9; }
.v2news__msg.is-ko { background: rgba(240,120,120,.18); color: #ffc9c9; }

/* =========================================================
   EN-TÊTE DE PAGE INTÉRIEURE (contact…)
   ========================================================= */
.v2phead { position: relative; background: var(--midnight); overflow: hidden; }
.v2phead img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .38;
}
.v2phead::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,14,32,.95), rgba(6,14,32,.45));
}
.v2phead__in {
  position: relative; z-index: 2;
  padding: clamp(56px, 8vw, 96px) 24px clamp(44px, 6vw, 68px);
  color: #fff;
}
.v2phead h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem); text-transform: uppercase;
  color: #fff; margin-bottom: 12px;
}
.v2phead p { color: rgba(255,255,255,.8); max-width: 560px; }

/* =========================================================
   CARTES DE COORDONNÉES
   ========================================================= */
.v2cinfo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.v2ci {
  background: var(--white); border: 1px solid var(--line); border-radius: 3px;
  border-top: 3px solid var(--gold); padding: 24px;
  display: flex; flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s;
}
.v2ci:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(8,18,38,.1); }
.v2ci__ic { font-size: 1.6rem; margin-bottom: 12px; }
.v2ci b {
  font-family: var(--cond); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 6px;
}
.v2ci p { font-size: 1rem; color: var(--ink); margin-bottom: 14px; }
.v2ci__link {
  margin-top: auto; align-self: flex-start;
  font-family: var(--cond); font-weight: 700; font-size: .84rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--navy);
  border-bottom: 2px solid var(--gold); padding-bottom: 2px;
}
.v2ci__link:hover { color: var(--gold-dark); }

/* =========================================================
   CARTE — plan d'accès
   ========================================================= */
.v2map { position: relative; background: var(--navy); }
.v2map__frame { height: clamp(320px, 42vh, 440px); }
.v2map__frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.9); }
.v2map__card {
  position: absolute; top: 50%; transform: translateY(-50%);
  left: max(24px, calc((100% - var(--container)) / 2 + 24px));
  width: min(370px, calc(100% - 48px));
  background: var(--white); border-left: 4px solid var(--gold);
  border-radius: 3px; padding: 26px; box-shadow: 0 18px 44px rgba(8,18,38,.24);
}
.v2map__card h3 { font-size: 1.35rem; text-transform: uppercase; margin: 10px 0 8px; }
.v2map__card p { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }

/* Section resserrée (coordonnées de la page contact) */
.v2sec--tight { padding: clamp(38px, 5vw, 56px) 0; }

/* La bande « Nos partenaires » vit dans css/partenaires.css,
   partagée par toutes les pages. */

/* =========================================================
   GALERIE — bande mosaïque
   ========================================================= */
.v2gal { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; grid-auto-rows: 150px; }
.v2gal a { position: relative; overflow: hidden; border-radius: 3px; }
.v2gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.v2gal a::after {
  content: ''; position: absolute; inset: 0; background: rgba(6,14,32,.28);
  transition: background .3s;
}
.v2gal a:hover img { transform: scale(1.08); }
.v2gal a:hover::after { background: rgba(6,14,32,0); }
.v2gal .big { grid-column: span 2; grid-row: span 2; }

/* =========================================================
   INSCRIPTION — split image / formulaire
   ========================================================= */
.v2join { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.v2join__media { position: relative; background: var(--navy); overflow: hidden; }
.v2join__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.v2join__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(6,14,32,.85), rgba(14,28,61,.35));
}
.v2join__over {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(32px, 5vw, 68px); color: #fff;
}
.v2join__over h2 { font-size: clamp(2rem, 3.6vw, 3rem); text-transform: uppercase; margin: 12px 0 16px; }
.v2join__over h2 em { font-style: normal; color: var(--gold); }
.v2join__over p { color: rgba(255,255,255,.8); max-width: 420px; }
.v2join__info { margin-top: 28px; display: grid; gap: 14px; }
.v2join__info div { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.v2join__info b { font-family: var(--cond); letter-spacing: .06em; text-transform: uppercase; display: block; color: var(--gold); font-size: .82rem; }

.v2form { background: var(--white); padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.v2form h3 { font-size: 1.7rem; text-transform: uppercase; margin-bottom: 6px; }
.v2form > p { color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.v2row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.v2field { margin-bottom: 16px; }
.v2field label {
  display: block; font-family: var(--cond); font-weight: 600; font-size: .82rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px;
}
.v2field input, .v2field select, .v2field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 2px; font-family: var(--font); font-size: .96rem;
  background: var(--paper); color: var(--ink); transition: border-color .18s, box-shadow .18s;
}
.v2field textarea { min-height: 110px; resize: vertical; }
.v2field input:focus, .v2field select:focus, .v2field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,197,24,.22);
}
.v2note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* =========================================================
   FOOTER
   ========================================================= */
.v2foot { background: var(--midnight); color: rgba(255,255,255,.72); padding: 60px 0 0; }
.v2foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.v2foot__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.v2foot__brand img { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; }
.v2foot__brand b { font-family: var(--display); color: #fff; font-size: 1.2rem; }
.v2foot p { font-size: .92rem; max-width: 340px; }
.v2foot h4 {
  color: #fff; font-size: 1rem; text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 14px;
}
.v2foot li { margin-bottom: 9px; font-size: .92rem; }
.v2foot li a:hover { color: var(--gold); }
.v2foot__soc { display: flex; gap: 10px; margin-top: 18px; }
.v2foot__soc a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.22); border-radius: 2px;
  color: #fff; transition: .2s;
}
.v2foot__soc a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.v2foot__bottom {
  margin-top: 46px; border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 24px; text-align: center; font-size: .84rem;
}
.v2foot__bottom b { color: var(--gold); font-weight: 600; }
.v2foot__by { display: block; margin-top: 6px; opacity: .75; font-size: .8rem; }
.v2foot__by a { color: var(--gold); font-weight: 600; text-decoration: none; }
.v2foot__by a:hover { text-decoration: underline; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.v2lb {
  position: fixed; inset: 0; z-index: 90; background: rgba(4,9,20,.96);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.v2lb.open { display: flex; }
.v2lb img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: 3px; }
.v2lb__x, .v2lb__nav {
  position: absolute; background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.2); cursor: pointer; border-radius: 2px;
  font-size: 1.6rem; line-height: 1; transition: .2s;
}
.v2lb__x { top: 20px; right: 20px; width: 44px; height: 44px; }
.v2lb__nav { top: 50%; transform: translateY(-50%); width: 48px; height: 66px; }
.v2lb__prev { left: 18px; } .v2lb__next { right: 18px; }
.v2lb__x:hover, .v2lb__nav:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.v2lb__count {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  font-family: var(--cond); letter-spacing: .12em; color: rgba(255,255,255,.75); font-size: .9rem;
}

/* =========================================================
   Apparition au scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .v2hero__slide { transition: opacity .4s; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .v2une { grid-template-columns: repeat(2, 1fr); }
  .v2une__lead { grid-column: span 2; }
  .v2une__wide { grid-column: span 2; }
  .v2cats { grid-template-columns: repeat(2, 1fr); }
  .v2gal { grid-template-columns: repeat(4, 1fr); }
  .v2cinfo { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  /* (menu mobile de l'ancien en-tête sombre supprimé) */

  .v2hero__grid { grid-template-columns: 1fr; }
  .v2hero__thumbs { display: none; }
  .v2match__in { grid-template-columns: 1fr; }
  .v2mcell { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .v2mcell:last-child { border-bottom: 0; }
  .v2join { grid-template-columns: 1fr; }
  .v2join__media { min-height: 420px; }
  .v2news__in { grid-template-columns: 1fr; }
  /* Carte : l'encart passe sous le plan plutôt que par-dessus */
  .v2map__card {
    position: static; transform: none; width: 100%; left: auto;
    border-left: 0; border-top: 4px solid var(--gold); border-radius: 0;
    box-shadow: none;
  }
  .v2card p { max-height: 90px; opacity: 1; margin-top: 8px; }
}

@media (max-width: 620px) {
  /* Hauteur souple : les textes complets sont visibles (pas de survol sur mobile) */
  .v2une { grid-template-columns: 1fr; grid-auto-rows: minmax(250px, auto); }
  .v2une__lead, .v2une__wide { grid-column: span 1; }
  .v2une__lead { grid-row: span 1; }
  .v2une__lead h3 { font-size: 1.5rem; }
  .v2une__lead p { max-height: none; font-size: .92rem; }
  .v2card p { max-height: none; }
  .v2card__body { padding: 20px 18px; }
  .v2cats { grid-template-columns: 1fr; }
  .v2cat { min-height: 300px; }
  .v2gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .v2gal .big { grid-column: span 2; grid-row: span 2; }
  .v2nums { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .v2cinfo { grid-template-columns: 1fr; }
  .v2foot__grid { grid-template-columns: 1fr; }
  .v2row { grid-template-columns: 1fr; }
  .v2hero__in { padding-bottom: 44px; }
}

@media (max-width: 480px) {
  .v2hero__actions { width: 100%; flex-direction: column; }
  .v2hero__actions .btn { width: 100%; justify-content: center; }
  .v2news__form input, .v2news__form .btn { flex: 1 0 100%; }
  .v2news__form .btn { justify-content: center; }
}
