/* ══════════════════════════════════════════════════════════
   MAGIC BASKET PASSAMAINTY — style.css
   Mobile-first · Responsive · Premium dark sport
   Breakpoints: 375px · 480px · 768px · 1024px · 1280px
══════════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─── */
:root {
  --green:        #004643;
  --green-dark:   #054541;
  --green-deep:   #001E1C;
  --green-mid:    #005A56;
  --gold:         #C9A84C;
  --gold-don:     #ffffff;
  --gold-light:   #E8C96A;
  --sand-white:   #F0EDE5;
  --white:        #FFFFFF;
  --black:        #000000;
  --gray:         #888888;
  --gray-light:   #CCCCCC;
  --red-fem:      rgba(255, 100, 150, 0.15);
  --red-fem-text: rgba(255, 150, 180, 0.9);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-cond:    'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  20px;
  --radius-pill: 100px;

  --shadow-gold:  0 8px 28px rgba(201, 168, 76, 0.45);
  --shadow-gold-lg: 0 16px 40px rgba(201, 168, 76, 0.55);
  --shadow-dark:  0 20px 48px rgba(0, 0, 0, 0.4);

  --nav-height: 84px;
  --sponsor-height: 64px;

  --transition: 0.25s ease;
  --transition-slow: 0.5s ease;
}

/* ─── RESET & BASE ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin-top: 148px;
  font-family: var(--font-body);
  background: var(--green-deep);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ─── CONTAINER ─── */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 480px) {
  .container { padding-inline: 1.5rem; }
}

@media (min-width: 768px) {
  .container { padding-inline: 2rem; }
}

@media (min-width: 1024px) {
  .container { padding-inline: 2.5rem; }
}

/* ─── CONTAINER-prochains-matchs─── */
.container-prochains-matchs {
  width: 100%;
  max-width: 1280px;
  height: 364px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 480px) {
  .container-prochains-matchs  { padding-inline: 1.5rem; }
}

@media (min-width: 768px) {
  .container-prochains-matchs  { padding-inline: 2rem; }
}

@media (min-width: 1024px) {
  .container-prochains-matchs  { padding-inline: 2.5rem; }
}

/* ─── CONTAINER-EQUIPE ─── */
.container-equipes {
  width: 100%;
  max-width: 1280px;
  height: 864px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 480px) {
  .container-equipes { padding-inline: 1.5rem; }
}

@media (min-width: 768px) {
  .container-equipes { padding-inline: 2rem; }
}

@media (min-width: 1024px) {
  .container-equipes { padding-inline: 2.5rem; }
}

/* ─── SHARED TYPOGRAPHY ─── */
.section-eyebrow {
  font-family: var(--font-cond);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--sand-white);
}

.section-title--sm {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.0;
    color: var(--sand-white)
}

.section-sub {
  font-size: 0.9375rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
}

/* ─── SHARED BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--gold);
  color: var(--black);
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-cond);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: transparent;
  color: var(--white);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  font-family: var(--font-cond);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: border-color var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.see-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-cond);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--transition);
}

.see-all:hover { gap: 0.875rem; }

/* ══════════════════════════════════════════════════════════
   FLOATING DON BUTTON
══════════════════════════════════════════════════════════ */
.btn-float-don {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 300;
  background: var(--sand-white);
  color: var(--black);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-cond);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  box-shadow: var(--shadow-gold);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  animation: floatIn 0.8s 1.5s ease backwards;
}

.btn-float-don svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-float-don span {
  white-space: nowrap;
}

.btn-float-don:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold-lg);
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Mobile: icon only below 480px */
@media (max-width: 479px) {
  .btn-float-don span { display: none; }
  .btn-float-don {
    width: 3.25rem;
    height: 3.25rem;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .btn-float-don svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/* ══════════════════════════════════════════════════════════
   SPONSOR BAR
══════════════════════════════════════════════════════════ */
.sponsor-bar {
  position: fixed;
  top: 0;
  left: 0;
 /*  padding: 15px; */
  width: 100%;
  z-index: 1000; /* Assure qu'elle reste au-dessus du menu */
  background: var(--white);
  height: var(--sponsor-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-inline: 1.25rem;
  overflow: hidden;
}

/* .sponsor-bar-label {
  font-family: var(--font-cond);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #aaa;
  white-space: nowrap;
  flex-shrink: 0;
} */

.sponsor-logos {
  display: flex;
  align-items: center;
  gap: 8rem;
  flex-wrap: nowrap;
  overflow: hidden;
}

.sponsor-item {
/*   font-family: var(--font-cond);
  font-weight: 900;
  letter-spacing: 0.05em; */
  width: 70px;
  opacity: 0.7;
  transition: opacity var(--transition);
  white-space: nowrap;
  cursor: default;
}

.sponsor-item:hover { opacity: 1; }

.sponsor-tc    { font-size: 1rem; color: #c8a24a; }
.sponsor-bbm   { font-size: 0.875rem; color: #1e6fad; }
.sponsor-eness { font-size: 0.8125rem; color: #c8a24a; }
.sponsor-focus { font-size: 1.125rem; color: #1a1a1a; }
.sponsor-focus span { color: #e84040; }

/* Hide label on small mobile */
@media (max-width: 479px) {
  .sponsor-bar-label { display: none; }
  .sponsor-logos { gap: 1.25rem; }
}

@media (max-width: 374px) {
  .sponsor-logos { gap: 0.875rem; }
  .sponsor-item { font-size: 0.75rem !important; }
}

/* ══════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 64px;
  left: 0;
  width: 100%;
  z-index: 200;
  background: var(--green-dark);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.25rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
}

.nav-brand {
  font-family: var(--font-cond);
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
/*   width: 100px;
  height: 100%; */
}

/* .nav-brand span { color: var(--gold); } */

.nav-brand img {
  width: 100px;
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.25rem;
  flex-shrink: 0;
  z-index: 210;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
  transform-origin: center;
}

/* Hamburger → X animation */
.nav-hamburger.is-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-family: var(--font-cond);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.857);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-cta-item { margin-left: 0.5rem; }

.nav-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  padding: 0.5625rem 1.375rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-cond);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ── Mobile menu (hidden by default on desktop) ── */
@media (max-width: 1023px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--green-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 205;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }

  .nav-links.is-open {
    transform: translateX(0);
    pointer-events: all;
  }

  .nav-link {
    font-size: 1.25rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.853);
  }

  .nav-link:hover,
  .nav-link.active { color: var(--gold); }

  .nav-cta-item { margin-left: 0; }

  .nav-cta {
    font-size: 1rem;
    padding: 0.875rem 2rem;
  }
}

@media (min-width: 1024px) {
  .nav-hamburger { display: none; }
  .nav-links {
    position: static;
    height: auto;
    background: transparent;
    flex-direction: row;
    transform: none;
    pointer-events: all;
  }
  .nav-inner { padding-inline: 2.5rem; }
}

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('./img/Home-page.png');
  background-size: cover;
  background-position: center 25%;
  animation: heroZoom 14s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.1); }
  to   { transform: scale(1.0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0, 20, 18, 0.35)  0%,
    rgba(0, 46, 44, 0.45)  30%,
    rgba(0, 20, 18, 0.88)  70%,
    rgba(0, 14, 12, 0.97) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: 6rem 1.25rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hero-left { flex: 1; }

.hero-eyebrow {
  font-family: var(--font-cond);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s ease forwards;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 10vw, 6rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--sand-white);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s ease forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  max-width: 32rem;
  margin-bottom: 2.25rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.7s ease forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.9s ease forwards;
}

/* Hero stats */
.hero-stats {
  display: flex;
  flex-direction: row;
  gap: 1.55rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 1.1s ease forwards;
}

.hero-stat-card {
  flex: 1;
  min-width: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--sand-white);
  line-height: 1;
}

.hero-stat-number span {
  color: var(--gold);
  font-size: 1.25rem;
}

.hero-stat-label {
  font-family: var(--font-cond);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.375rem;
}

.hero-badge {
  flex: 1;
  min-width: 120px;
  background: var(--gold);
  color: var(--black);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero scroll indicator */
.hero-scroll {
  display: none;
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.4;
  animation: bounce 2.5s infinite;
  z-index: 2;
}

.hero-scroll span {
  font-family: var(--font-cond);
  font-size: 0.5625rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, transparent, white);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Desktop hero layout */
@media (min-width: 768px) {
  .hero-content { padding: 0 2rem 4rem; }
  .hero-stats { flex-direction: column; flex-wrap: nowrap; }
  .hero-stat-card { min-width: unset; }
  .hero-badge { flex: none; }
  .hero-scroll { display: flex; }
}

@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
    align-items: flex-end;
    gap: 3.75rem;
    padding: 0 2.5rem 5rem;
  }
  .hero-stats {
    width: 10rem;
    flex-shrink: 0;
    opacity: 0;
    animation: fadeLeft 0.9s 1s ease forwards;
  }
  .hero-stat-card, .hero-badge { min-width: unset; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}



/* ══════════════════════════════════════════════════════════
   PROCHAIN MATCHS
══════════════════════════════════════════════════════════ */
.matchs-section {
  background: var(--green-deep);
  border-top: 1px solid #ffffff0f;
  border-bottom: 1px solid #ffffff0f;
  padding-block: 3rem;
}

.matchs-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.matchs-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.matchs-grid {
  display: flex;
  flex-direction: column;
  gap: 0.825rem;
}

.match-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.5rem 1rem;
  align-items: center;
  transition: background var(--transition), border-color var(--transition);
  cursor: pointer;
  width: 80%;
}

.match-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 168, 76, 0.3);
}

.match-meta { grid-column: 1; grid-row: 1; }
.match-teams { grid-column: 1; grid-row: 2; }
.match-badge { grid-column: 2; grid-row: 1 / span 2; align-self: center; }

.match-competition {
  font-family: var(--font-cond);
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.1875rem;
}

.match-date {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.match-teams {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.match-team {
  font-family: var(--font-cond);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
}

.match-team--magic { color: var(--gold); }

.match-score {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.score-home { color: rgba(255, 255, 255, 0.5); }
.score-away { color: var(--gold); }
.score-sep  { font-size: 0.875rem; color: rgba(255, 255, 255, 0.2); font-family: var(--font-body); font-weight: 300; }

.match-vs {
  font-family: var(--font-cond);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.2);
}

.match-badge {
  font-family: var(--font-cond);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3125rem 0.75rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.match-badge--away {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.5);
}

.match-badge--feminine {
  background: var(--red-fem);
  color: var(--red-fem-text);
  border: 1px solid rgba(255, 100, 150, 0.2);
}

.match-badge--win {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
}

/* Desktop matchs layout */
@media (min-width: 768px) {
  .matchs-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 3.75rem;
  }

  .matchs-header {
    width: 13rem;
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
  }

  .matchs-content { flex: 1; }

  .match-card {
    grid-template-columns: 6.25rem 1fr auto;
    grid-template-rows: 1fr;
    padding: 1rem 1.5rem;
/*     gap: 1.5rem;
    margin-left: 186px; */
  }

  .match-meta { grid-column: 1; grid-row: 1; }
  .match-teams {
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
    flex-wrap: nowrap;
  }
  .match-badge { grid-column: 3; grid-row: 1; }
}

/* ══════════════════════════════════════════════════════════
   ACTUALITÉS
══════════════════════════════════════════════════════════ */
.actu-section {
  padding-block: 5rem;
  background: var(--green);
}

.actu-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .actu-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
  }
}

.actu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .actu-grid { grid-template-columns: 1fr 1fr; }
  .actu-card--featured { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .actu-grid { grid-template-columns: 2fr 1fr 1fr; }
  .actu-card--featured { grid-column: 1; }
}

.actu-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--green-dark);
  transition: transform var(--transition);
}

.actu-card:hover { transform: translateY(-4px); }

.actu-card-img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.actu-card--featured .actu-card-img { height: 18rem; }

@media (min-width: 768px) {
  .actu-card-img { height: 17.5rem; }
  .actu-card--featured .actu-card-img { height: 23.75rem; }
}

.actu-card:hover .actu-card-img { transform: scale(1.04); }

.actu-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 14, 12, 0.97) 0%, rgba(0, 30, 28, 0.5) 50%, transparent 100%);
}

.actu-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

.actu-tag {
  font-family: var(--font-cond);
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: var(--white);
  display: inline-block;
  margin-bottom: 0.625rem;
}

.actu-date {
  display: block;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.5rem;
}

.actu-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.actu-card--featured .actu-title { font-size: clamp(1.125rem, 3vw, 1.625rem); }

.actu-read-more {
  font-family: var(--font-cond);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: gap var(--transition);
}

.actu-card:hover .actu-read-more { gap: 0.75rem; }

/* ══════════════════════════════════════════════════════════
   ÉQUIPES SECTION
══════════════════════════════════════════════════════════ */
.equipes-section {
  background-color: var(--green-deep);
  padding-block: 5rem;
}

/* .equipes-inner {}
 */
.equipes-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.equipes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .equipes-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .equipes-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
  }
}

.team-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  width: 100%;
  height: 670px;
  /* aspect-ratio: 4 / 3; */
  cursor: pointer;
}

.team-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-card:hover .team-card-img { transform: scale(1.04); }

.team-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 20, 18, 0.97) 0%,
    rgba(0, 40, 38, 0.65) 40%,
    rgba(0, 60, 56, 0.2)  70%,
    transparent 100%
  );
}

.team-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .team-card-content { padding: 2rem; }
}

.team-card-badge {
  font-family: var(--font-cond);
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
}

.team-card-badge::before {
  content: '';
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.team-card-name {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.375rem);
  font-weight: 900;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 1rem;
}

.palmares-strip {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  list-style: none;
}

.palmares-pill {
  font-family: var(--font-cond);
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-pill);
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.team-card-stats {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.team-card-stat-value {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.team-card-stat-value span {
  color: var(--gold);
  font-size: 0.875rem;
}

.team-card-stat-label {
  font-family: var(--font-cond);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.125rem;
}

.team-card-cta {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
  transition: opacity var(--transition), gap var(--transition);
}

.team-card:hover .team-card-cta {
  opacity: 1;
  gap: 0.875rem;
}

/* ══════════════════════════════════════════════════════════
   PALMARÈS SECTION
══════════════════════════════════════════════════════════ */
.palmares-section {
  padding-block: 5rem;
  background: var(--green);
  position: relative;
  overflow: hidden;
}

.palmares-bg-text {
  position: absolute;
  top: -0.625rem;
  left: -1.25rem;
  font-family: var(--font-display);
  font-size: clamp(8rem, 25vw, 16.25rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

.palmares-inner { position: relative; z-index: 1; }

.palmares-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .palmares-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.palmares-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .palmares-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .palmares-grid { grid-template-columns: repeat(4, 1fr); }
}

.palmares-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: background var(--transition), transform var(--transition);
}

.palmares-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.palmares-team-label {
  font-family: var(--font-cond);
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.1875rem 0.625rem;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 0.875rem;
}

.palmares-team-label--fem {
  background: var(--red-fem);
  color: var(--red-fem-text);
}

.palmares-team-label--masc {
  background: rgba(100, 180, 255, 0.12);
  color: rgba(150, 200, 255, 0.8);
}

.palmares-count {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.palmares-count--sm {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  padding-top: 0.625rem;
}

.palmares-title {
  font-family: var(--font-cond);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 0.375rem;
}

.palmares-years {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 640px) {
  .stats-bar { grid-template-columns: repeat(4, 1fr); }
}

.stats-bar-item {
  padding: 1.5rem 1.25rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-bar-item:nth-child(even) { border-right: none; }

@media (min-width: 640px) {
  .stats-bar-item { border-bottom: none; }
  .stats-bar-item:last-child { border-right: none; }
  .stats-bar-item:nth-child(even) { border-right: 1px solid rgba(255, 255, 255, 0.08); }
  .stats-bar-item:nth-child(4) { border-right: none; }
}

.stats-bar-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.stats-bar-value span {
  color: var(--gold);
  font-size: clamp(1rem, 2.5vw, 1.75rem);
}

.stats-bar-value--gold { color: var(--gold); }

.stats-bar-label {
  font-family: var(--font-cond);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.5rem;
}

/* ══════════════════════════════════════════════════════════
   BOUTIQUE
══════════════════════════════════════════════════════════ */
.boutique-section {
  padding-block: 5rem;
  background: var(--green-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.boutique-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .boutique-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
  }
}

.boutique-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .boutique-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Hide 3rd card on mobile (coming soon) */
@media (max-width: 639px) {
  .boutique-grid { grid-template-columns: 1fr 1fr; }
  .product-card--coming { display: none; }
}

.product-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.product-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-dark);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 70, 67, 0.8), rgba(0, 40, 38, 0.9));
}

.product-img-wrap--dark {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-img { transform: scale(1.06); }

.product-img-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.product-img-fallback span {
  font-family: var(--font-cond);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.product-monogram {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4rem);
  font-weight: 900;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
}

.product-info {
  padding: 1.125rem 1.375rem;
}

.product-name {
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.product-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.875rem;
  line-height: 1.5;
}

.price-placeholder {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
}

/* ══════════════════════════════════════════════════════════
   PARTENAIRES
══════════════════════════════════════════════════════════ */
.partners-section {
  padding-block: 3.5rem;
  background: var(--green);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.partners-label {
  font-family: var(--font-cond);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  margin-bottom: 2rem;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6rem;
  flex-wrap: wrap;
}

.partners-logos img {
  border-radius: 3px;
}

.partner-logo-box {
/*   background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1); */
  border-radius: var(--radius-sm);
  padding: 0.625rem 1.25rem;
/*   font-family: var(--font-cond);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em; */
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}

.partner-logo-box:hover {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  background: var(--green-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 3.5rem 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .footer-top {
    grid-template-columns: 17.5rem 1fr 1fr 1fr;
  }
  .footer-brand-col { grid-column: auto; }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.footer-tagline {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 22rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.footer-col-title {
  font-family: var(--font-cond);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  transition: color var(--transition);
}

.footer-legal a:hover { color: rgba(255, 255, 255, 0.6); }

/* ══════════════════════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-bg { animation: none; }
  .hero-scroll { animation: none; }
}
