/* ==========================================================================
   FOOT VERTICAL — main.css
   ========================================================================== */

/* --- Variables ----------------------------------------------------------- */
:root {
  --fv-black:        #0A0A0A;
  --fv-white:        #F5F5F0;
  --fv-green:        #00E676;
  --fv-green-dark:   #00C853;
  --fv-red:          #FF1744;
  --fv-grey-100:     #1A1A1A;
  --fv-grey-200:     #2A2A2A;
  --fv-grey-300:     #3A3A3A;
  --fv-grey-500:     #888888;
  --fv-grey-700:     #AAAAAA;
  --fv-grey-900:     #E0E0E0;

  --fv-font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --fv-font-body:    'Inter', 'Helvetica Neue', sans-serif;
  --fv-font-mono:    'JetBrains Mono', monospace;

  --fv-radius-sm:    4px;
  --fv-radius-md:    8px;
  --fv-radius-lg:    12px;

  --fv-max-content:  720px;
  --fv-max-wide:     1200px;
}

/* --- Fonts auto-hébergées ------------------------------------------------ */
@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/barlow-condensed-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/barlow-condensed-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --- Reset / Base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--fv-black);
  color: var(--fv-white);
  font-family: var(--fv-font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--fv-green);
  text-decoration: none;
  transition: color .2s;
}
a:hover { color: var(--fv-green-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fv-font-display);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 .5em;
  text-transform: uppercase;
  letter-spacing: .02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }

p { margin: 0 0 1.25rem; }

/* --- Layout ------------------------------------------------------------- */
.fv-container {
  width: 100%;
  max-width: var(--fv-max-wide);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.fv-main { padding: 2rem 0 4rem; }

/* --- Header ------------------------------------------------------------- */
.fv-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--fv-black);
  border-bottom: 1px solid var(--fv-grey-100);
  transition: background .3s, box-shadow .3s;
}

.fv-header.is-scrolled {
  background: rgba(10, 10, 10, .95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}

.fv-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--fv-max-wide);
  margin-inline: auto;
  padding-inline: 1.5rem;
  height: 64px;
  transition: height .3s;
}

.fv-header.is-scrolled .fv-header__inner { height: 52px; }

.fv-logo { display: flex; align-items: center; }
.fv-logo img, .fv-logo svg { height: 36px; width: auto; }

.fv-nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.fv-nav__link {
  color: var(--fv-white);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.fv-nav__link:hover,
.fv-nav__link.is-active {
  color: var(--fv-green);
  border-bottom-color: var(--fv-green);
}

/* Sous-menu WC2026 */
.fv-nav__item--has-submenu { position: relative; }

.fv-nav__submenu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--fv-grey-100);
  border: 1px solid var(--fv-grey-200);
  border-radius: var(--fv-radius-md);
  padding: .5rem 0;
  list-style: none;
  margin: 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
  z-index: 200;
}

.fv-nav__item--has-submenu:hover .fv-nav__submenu,
.fv-nav__item--has-submenu:focus-within .fv-nav__submenu {
  opacity: 1;
  visibility: visible;
}

.fv-nav__submenu a {
  display: block;
  padding: .5rem 1rem;
  color: var(--fv-white);
  font-size: .8125rem;
  font-weight: 500;
  transition: background .15s, color .15s;
}
.fv-nav__submenu a:hover {
  background: var(--fv-grey-200);
  color: var(--fv-green);
}

/* CTA Newsletter */
.fv-nav__cta {
  background: var(--fv-green);
  color: var(--fv-black) !important;
  border-bottom: none !important;
  padding: .4rem .9rem !important;
  border-radius: var(--fv-radius-sm);
  font-weight: 700;
  transition: background .2s !important;
}
.fv-nav__cta:hover { background: var(--fv-green-dark) !important; }

/* Barre progression lecture */
.fv-read-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--fv-green);
  z-index: 200;
  transition: width .1s linear;
}

/* Burger */
.fv-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .5rem;
}
.fv-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fv-white);
  transition: transform .25s, opacity .25s;
}

/* Drawer mobile */
.fv-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(280px, 80vw);
  background: var(--fv-grey-100);
  z-index: 300;
  padding: 2rem 1.5rem;
  transform: translateX(-100%);
  transition: transform .25s ease;
  overflow-y: auto;
}
.fv-drawer.is-open { transform: translateX(0); }

.fv-drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 299;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.fv-drawer__overlay.is-open { opacity: 1; visibility: visible; }

/* --- Hero --------------------------------------------------------------- */
.fv-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--fv-grey-100);
}

.fv-hero__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.fv-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.9) 0%, rgba(10,10,10,.2) 60%, transparent 100%);
}

.fv-hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2rem;
}

.fv-hero__title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  margin-bottom: .5rem;
  color: var(--fv-white);
}

.fv-hero__excerpt {
  font-size: 1rem;
  color: var(--fv-grey-900);
  max-width: 600px;
  margin-bottom: 1.25rem;
}

.fv-btn {
  display: inline-block;
  padding: .6rem 1.5rem;
  background: var(--fv-green);
  color: var(--fv-black);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--fv-radius-sm);
  transition: background .2s, transform .15s;
}
.fv-btn:hover {
  background: var(--fv-green-dark);
  color: var(--fv-black);
  transform: translateY(-1px);
}

/* --- Badges catégorie --------------------------------------------------- */
.fv-badge {
  display: inline-block;
  padding: .2rem .6rem;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--fv-radius-sm);
  margin-bottom: .5rem;
}
.fv-badge--tactique  { background: var(--fv-green);    color: var(--fv-black); }
.fv-badge--opinion   { background: var(--fv-red);      color: #fff; }
.fv-badge--data      { background: var(--fv-grey-200); color: var(--fv-white); }
.fv-badge--news      { background: var(--fv-grey-300); color: var(--fv-grey-900); }
.fv-badge--wc2026    { background: #C8A84B;            color: var(--fv-black); }

/* --- Cards article ------------------------------------------------------- */
.fv-card {
  background: var(--fv-grey-100);
  border-radius: var(--fv-radius-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.fv-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}

.fv-card__img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.fv-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.fv-card:hover .fv-card__img { transform: scale(1.03); }

.fv-card__body { padding: 1rem 1.25rem 1.25rem; }

.fv-card__title {
  font-size: 1rem;
  font-family: var(--fv-font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--fv-white);
}
.fv-card__title a { color: inherit; }
.fv-card__title a:hover { color: var(--fv-green); }

.fv-card__meta {
  font-size: .75rem;
  color: var(--fv-grey-500);
  display: flex;
  gap: .75rem;
}

/* Grille homepage */
.fv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* --- Section accueil : Tactique ----------------------------------------- */
.fv-section-tactique {
  background: var(--fv-grey-100);
  padding: 3rem 0;
  margin: 3rem 0;
}

.fv-section-tactique .fv-section-title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  letter-spacing: .12em;
  margin-bottom: 2rem;
  color: var(--fv-white);
}

.fv-section-tactique .fv-grid-horizontal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.fv-card-horizontal {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.fv-card-horizontal__img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--fv-radius-sm);
  flex-shrink: 0;
}
.fv-card-horizontal__title {
  font-size: .9375rem;
  font-family: var(--fv-font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .4rem;
}
.fv-card-horizontal__excerpt {
  font-size: .8125rem;
  color: var(--fv-grey-700);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Section Data Stats ------------------------------------------------- */
.fv-section-data {
  background: var(--fv-black);
  padding: 4rem 0;
  border-top: 1px solid var(--fv-grey-200);
  border-bottom: 1px solid var(--fv-grey-200);
}

.fv-stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.fv-stat-card {
  background: var(--fv-grey-100);
  border-radius: var(--fv-radius-lg);
  padding: 2rem;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s, transform .6s;
}
.fv-stat-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.fv-stat-card__value {
  display: block;
  font-family: var(--fv-font-display);
  font-weight: 800;
  font-size: 3rem;
  color: var(--fv-green);
  line-height: 1;
  margin-bottom: .5rem;
}
.fv-stat-card__label {
  font-size: .8125rem;
  color: var(--fv-grey-700);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* --- CTA Newsletter ----------------------------------------------------- */
.fv-cta-newsletter {
  background: var(--fv-green);
  color: var(--fv-black);
  padding: 4rem 1.5rem;
  text-align: center;
}
.fv-cta-newsletter h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--fv-black);
  margin-bottom: 1rem;
}
.fv-cta-newsletter p {
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: .8;
}
.fv-cta-newsletter__form {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.fv-cta-newsletter__input {
  padding: .7rem 1.25rem;
  border: none;
  border-radius: var(--fv-radius-sm);
  font-size: 1rem;
  min-width: 280px;
  background: rgba(0,0,0,.15);
  color: var(--fv-black);
}
.fv-cta-newsletter__input::placeholder { color: rgba(0,0,0,.5); }
.fv-btn--dark {
  background: var(--fv-black);
  color: var(--fv-white);
}
.fv-btn--dark:hover {
  background: var(--fv-grey-200);
  color: var(--fv-white);
}

/* --- Article single ----------------------------------------------------- */
.fv-article {
  max-width: var(--fv-max-content);
  margin-inline: auto;
  padding: 2rem 1.5rem 4rem;
}

.fv-article__header { margin-bottom: 2rem; }

.fv-article__title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  margin: .5rem 0 1rem;
  color: var(--fv-white);
}

.fv-article__excerpt {
  font-size: 1.125rem;
  color: var(--fv-grey-900);
  border-left: 3px solid var(--fv-green);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.fv-article__meta {
  font-size: .8125rem;
  color: var(--fv-grey-500);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Featured image */
.fv-article__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--fv-radius-md);
  margin-bottom: 2rem;
}

/* TOC */
.fv-toc {
  position: sticky;
  top: 80px;
  background: var(--fv-grey-100);
  border-radius: var(--fv-radius-md);
  padding: 1.25rem;
  font-size: .875rem;
}
.fv-toc__title {
  font-family: var(--fv-font-display);
  font-size: .875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fv-grey-700);
  margin-bottom: .75rem;
}
.fv-toc__list { list-style: none; margin: 0; padding: 0; }
.fv-toc__item { margin-bottom: .4rem; }
.fv-toc__link { color: var(--fv-grey-700); font-size: .8125rem; }
.fv-toc__link:hover,
.fv-toc__link.is-active { color: var(--fv-green); }
.fv-toc__item--h3 { padding-left: 1rem; }

/* Contenu article */
.fv-article__content h2 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  margin: 2.5rem 0 1rem;
  padding-top: .5rem;
  border-top: 1px solid var(--fv-grey-200);
}
.fv-article__content h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.375rem);
  margin: 2rem 0 .75rem;
}

.fv-article__content blockquote {
  font-size: 1.25rem;
  font-style: italic;
  border-left: 4px solid var(--fv-green);
  padding-left: 1.25rem;
  margin: 2rem 0;
  color: var(--fv-grey-900);
}

/* Shortcode [avis_fv] */
.fv-avis-block {
  background: var(--fv-green);
  color: var(--fv-black);
  padding: 1.25rem 1.5rem;
  border-radius: var(--fv-radius-md);
  margin: 2rem 0;
}
.fv-avis-block__label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.fv-avis-block__text {
  font-size: .9375rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}

/* Share */
.fv-share {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin: 2rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--fv-grey-200);
}
.fv-share__btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border-radius: var(--fv-radius-sm);
  font-size: .8125rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity .2s;
}
.fv-share__btn:hover { opacity: .85; }
.fv-share__btn--x          { background: #000; color: #fff; }
.fv-share__btn--whatsapp   { background: #25D366; color: #fff; }
.fv-share__btn--copy       { background: var(--fv-grey-200); color: var(--fv-white); }

/* Articles connexes */
.fv-related { margin-top: 3rem; }
.fv-related__title {
  font-size: 1.125rem;
  letter-spacing: .08em;
  margin-bottom: 1.25rem;
  color: var(--fv-grey-900);
}
.fv-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* --- Footer ------------------------------------------------------------- */
.fv-footer {
  background: var(--fv-grey-100);
  border-top: 1px solid var(--fv-grey-200);
  padding: 3rem 0 1.5rem;
}
.fv-footer__inner {
  max-width: var(--fv-max-wide);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.fv-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--fv-grey-200);
}
.fv-footer__logo img, .fv-footer__logo svg { height: 32px; }
.fv-footer__nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.fv-footer__nav a {
  color: var(--fv-grey-700);
  font-size: .8125rem;
  transition: color .2s;
}
.fv-footer__nav a:hover { color: var(--fv-white); }
.fv-footer__social { display: flex; gap: 1rem; }
.fv-footer__social a {
  color: var(--fv-grey-700);
  font-size: 1.25rem;
  transition: color .2s;
}
.fv-footer__social a:hover { color: var(--fv-green); }
.fv-footer__bottom {
  font-size: .75rem;
  color: var(--fv-grey-500);
  text-align: center;
}

/* --- Fiche Joueur ------------------------------------------------------- */
.fv-player-header {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: start;
}
.fv-player-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--fv-radius-lg);
}
.fv-player-info__name {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: .5rem;
}
.fv-player-info__meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  font-size: .9375rem;
  color: var(--fv-grey-700);
}

.fv-stat-bar { margin-bottom: 1.25rem; }
.fv-stat-bar__label {
  display: flex;
  justify-content: space-between;
  font-size: .8125rem;
  color: var(--fv-grey-700);
  margin-bottom: .4rem;
}
.fv-stat-bar__value {
  font-family: var(--fv-font-display);
  font-weight: 800;
  color: var(--fv-white);
}
.fv-stat-bar__track {
  height: 6px;
  background: var(--fv-grey-200);
  border-radius: 3px;
  overflow: hidden;
}
.fv-stat-bar__fill {
  height: 100%;
  background: var(--fv-green);
  border-radius: 3px;
  width: 0%;
  transition: width 1s ease;
}

/* --- Fiche Équipe ------------------------------------------------------- */
.fv-team-header {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.fv-team-flag { font-size: 4rem; line-height: 1; }
.fv-team-meta { flex: 1; }
.fv-team-meta__name { font-size: clamp(2rem, 6vw, 3.5rem); margin-bottom: .25rem; }
.fv-team-meta__info {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .9375rem;
  color: var(--fv-grey-700);
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1024px) {
  .fv-section-tactique .fv-grid-horizontal { grid-template-columns: 1fr; }
  .fv-stat-cards { grid-template-columns: repeat(2, 1fr); }
  .fv-related__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .fv-nav__list { display: none; }
  .fv-burger { display: flex; }
  .fv-stat-cards { grid-template-columns: 1fr; }
  .fv-player-header { grid-template-columns: 1fr; }
  .fv-player-photo { max-width: 200px; }
  .fv-related__grid { grid-template-columns: 1fr; }
  .fv-hero__content { padding: 1.5rem 1rem; }
}

@media (max-width: 480px) {
  .fv-header__inner { padding-inline: 1rem; }
  .fv-article { padding-inline: 1rem; }
}
