/* Breakpoints: mobile < 640px, tablet 640–1023px, desktop ≥ 1024px */
:root {
  --brand: #da6a2a;
  --gray: #f3f4f7;
  --radius: 0.625rem;
  --max-width: 1920px;
  --touch-min: 44px;
  --safe-top: env(safe-area-inset-top, 0);
  --safe-right: env(safe-area-inset-right, 0);
  --safe-bottom: env(safe-area-inset-bottom, 0);
  --safe-left: env(safe-area-inset-left, 0);
}
* { box-sizing: border-box; }
body {
  font-family: 'Urbanist', Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #111;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
  padding-bottom: var(--safe-bottom);
}
.max-width { max-width: var(--max-width); margin: 0 auto; }
h1, h2, h3, h4 { font-family: 'Barlow Condensed', Arial, sans-serif; }
h1 { font-size: clamp(2rem, 6vw, 90px); line-height: 1.1; text-transform: uppercase; }
h2 { font-size: 2rem; line-height: 1.2; text-transform: uppercase; }
.brand { color: var(--brand); font-weight: bold; }

.navbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: var(--max-width);
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  z-index: 50;
  padding: 0.5rem 0;
  padding-top: calc(0.5rem + var(--safe-top));
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; width: 92%; margin: 0 auto; gap: 0.5rem; }
.navbar-title { font-size: clamp(0.75rem, 2.5vw, 1rem); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.logo-img { height: 3rem; width: auto; max-height: 48px; flex-shrink: 0; }
.nav-links {
  display: none;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  cursor: pointer;
}
.nav-link:hover { color: var(--brand); }
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown:hover .nav-dropdown-content { visibility: visible; }
.nav-dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 1rem;
  min-width: 180px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  visibility: hidden;
  z-index: 10;
}
.nav-dropdown-content a { text-decoration: none; color: inherit; display: block; padding: 0.25rem 0; }
.nav-dropdown-content a:hover { color: var(--brand); }
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 300px;
  height: 100vh;
  height: 100dvh;
  padding-top: var(--safe-top);
  padding-right: var(--safe-right);
  background: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  z-index: 60;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.active {
  display: block;
}
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1rem; border-bottom: 1px solid #eee; }
.menu-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  padding: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.menu-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  padding: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-links { padding: 1rem; padding-bottom: calc(1rem + var(--safe-bottom)); }
.mobile-menu-links .mobile-menu-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  min-height: var(--touch-min);
  line-height: 1.4;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: inherit;
}
.mobile-menu-group { border-bottom: 1px solid #eee; }
.mobile-menu-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 0;
  min-height: var(--touch-min);
  line-height: 1.4;
  text-align: left;
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu-group-title::after {
  content: '';
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-left: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.mobile-menu-group.open .mobile-menu-group-title::after { transform: rotate(-135deg); }
.mobile-menu-group-content {
  display: none;
  padding-left: 1rem;
  padding-bottom: 0.5rem;
}
.mobile-menu-group.open .mobile-menu-group-content { display: block; }
.mobile-menu-group-content a {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  min-height: var(--touch-min);
  line-height: 1.4;
  font-size: 0.95em;
  text-decoration: none;
  color: inherit;
  border: none;
}
.mobile-menu-group-content a:hover { color: var(--brand); }
@media (min-width: 1024px) {
  .nav-links { display: flex; flex-direction: row; align-items: center; }
  .mobile-only { display: none !important; }
}
@media (max-width: 1023px) { .desktop-only { display: none !important; } }

.main-content { flex: 1; padding-top: 4rem; padding-top: calc(4rem + var(--safe-top)); }

.landing-section { position: relative; width: 100%; background: var(--gray); min-height: 100vh; min-height: 100dvh; overflow: hidden; }
.landing-carousel { position: relative; width: 100%; height: 100vh; height: 100dvh; overflow: hidden; }
.landing-carousel-track { display: flex; width: 100%; height: 100%; transition: transform 0.6s ease-in-out; will-change: transform; }
.landing-slide { flex: 0 0 100%; width: 100%; position: relative; min-height: 100vh; min-height: 100dvh; }
.landing-img { width: 100%; height: 100vh; height: 100dvh; object-fit: cover; object-position: center; display: block; }
.landing-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.8); }
.landing-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: #fff; padding: 1rem; z-index: 2; pointer-events: none; max-width: 95%; }
.landing-text h1 { color: #fff; margin: 0; }
.landing-text p { font-size: 1.25rem; margin: 0.5rem 0 0 0; }
/* Boutons diapo (touch-friendly) */
.landing-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  border: none;
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s;
}
.landing-carousel-btn:hover { background: rgba(255,255,255,0.4); }
.landing-carousel-prev { left: max(12px, var(--safe-left)); }
.landing-carousel-next { right: max(12px, var(--safe-right)); }
.landing-carousel-dots { position: absolute; bottom: max(24px, calc(12px + var(--safe-bottom))); left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.landing-carousel-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,0.4); cursor: pointer; padding: 12px; margin: -12px 0; transition: background 0.2s, transform 0.2s; }
.landing-carousel-dot:hover { background: rgba(255,255,255,0.7); }
.landing-carousel-dot.active { background: #fff; transform: scale(1.2); }

.section-inner { width: 92%; margin: 0 auto; }
@media (min-width: 1024px) { .section-inner { width: 80%; } }
.section-title { text-align: center; margin-bottom: 2rem; }
.section-title-white { color: #fff; }

/* ----- Dernière nouvelle (style Next.js amélioré) ----- */
.latest-news-section {
  background: var(--gray);
  padding: 3rem 0 4rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .latest-news-section { padding: 4.5rem 0 5rem; }
}
.news-section-inner {
  max-width: 75%;
}
@media (min-width: 1280px) {
  .news-section-inner { max-width: 66.666%; }
}
.section-title-news {
  text-align: center;
  margin: 0 auto 2.5rem;
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}
.news-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
}
@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
.news-card {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}
.news-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.news-card-featured {
  grid-row: 1 / span 2;
}
.news-card-featured .news-card-media {
  height: min(55vh, 320px);
}
@media (max-width: 639px) {
  .news-card-featured .news-card-media {
    height: min(45vh, 260px);
  }
}
@media (min-width: 640px) {
  .news-card-horizontal {
    flex-direction: row;
  }
  .news-card-horizontal .news-card-media {
    width: 50%;
    height: 100%;
    min-height: 200px;
  }
  .news-card-horizontal .news-card-body {
    width: 50%;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
.news-card-media {
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
}
.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.news-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.news-date {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.news-date-icon {
  font-size: 0.9rem;
}
.news-title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.35;
  text-transform: capitalize;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-desc {
  margin: 0;
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-read-more {
  margin-top: 0.5rem;
  align-self: flex-start;
  padding: 0.6rem 1.25rem;
  min-height: var(--touch-min);
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--brand);
  background: transparent;
  border: 2px solid var(--brand);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.news-read-more:hover {
  background: var(--brand);
  color: #fff;
}
.news-read-more-arrow {
  font-size: 0.75rem;
}

/* Modal actualité */
.news-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.news-modal.active {
  display: flex;
}
.news-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}
.news-modal-content {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem 1.75rem;
}
.news-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: var(--gray);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.news-modal-close:hover {
  background: #e2e8f0;
  color: #1e293b;
}
.news-modal-meta {
  font-size: 0.8125rem;
  color: #64748b;
  margin: 0 0 0.25rem 0;
}
.news-modal-title {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 1rem 0;
}
.news-modal-image-wrap {
  width: 100%;
  max-height: 60vh;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
}
.news-modal-image-wrap img {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  object-position: center;
  display: block;
}
.news-modal-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #334155;
  margin: 0;
}

/* ----- Calendrier des matchs (fond gris, lignes diagonales, cartes blanches) ----- */
.match-section {
  position: relative;
  min-height: 400px;
  padding: 3rem 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #2d2d2d;
}
.match-section-bg {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(0, 0, 0, 0.08) 8px,
    rgba(0, 0, 0, 0.08) 10px
  );
  pointer-events: none;
}
.match-section-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}
.match-inner {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 75%;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .match-inner { max-width: 80%; }
}
@media (min-width: 1280px) {
  .match-inner { max-width: 66.666%; }
}
.match-section-title {
  color: #e5e7eb;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  letter-spacing: 0.05em;
  margin: 0 0 1.5rem 0;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}
@media (min-width: 768px) {
  .match-section-title { margin-bottom: 2rem; }
}
.match-section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 80px;
  height: 4px;
  background: var(--brand);
  border-radius: 2px;
}
.match-scroll-wrap {
  overflow-x: auto;
  overflow-y: visible;
  margin: 0 -0.5rem;
  padding: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.match-scroll-wrap::-webkit-scrollbar {
  height: 6px;
}
.match-scroll-wrap::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}
.match-scroll-wrap::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}
.match-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(1, 1fr);
  min-width: min-content;
}
@media (min-width: 640px) {
  .match-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1120px) {
  .match-grid { grid-template-columns: repeat(3, 1fr); }
}
.match-card {
  border: none;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 4px 24px rgba(0, 0, 0, 0.06);
  min-width: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
@media (min-width: 640px) {
  .match-card { min-width: 280px; }
}
.match-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 16px 48px rgba(0, 0, 0, 0.08);
}
.match-card-top {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem 0.5rem;
  gap: 1rem;
}
.match-club {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  text-align: center;
}
.match-club-logo {
  width: 5rem;
  height: 5rem;
  overflow: hidden;
  border-radius: 12px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.match-club-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.match-club-name {
  font-weight: 700;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.25;
  color: #1e293b;
}
.match-vs {
  font-weight: 700;
  padding: 0.5rem 0.6rem;
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  flex-shrink: 0;
  align-self: center;
}
.match-card-bottom {
  padding: 1.25rem 1.5rem 1.75rem;
  text-align: center;
  font-size: 0.8125rem;
  margin-top: 0.25rem;
  display: grid;
  gap: 0.5rem;
}
.match-competition {
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
  color: #1e293b;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.match-meta {
  margin: 0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.match-meta-icon {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}
.match-meta-location {
  font-size: 1rem;
}

.header-section { width: 100%; height: 280px; min-height: 200px; background: var(--gray); position: relative; background-size: cover; background-position: center; }
.header-section-inner { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; text-align: center; padding: 1rem; }
.header-section-inner h1 { color: #fff; font-size: clamp(1.5rem, 5vw, 2.5rem); margin: 0; }
@media (min-width: 768px) {
  .header-section { height: 300px; }
}

/* ----- Bannière type Postuler (réutilisable) ----- */
.page-hero {
  display: flex;
  flex-wrap: wrap;
  min-height: 320px;
  margin: 0 auto 2.5rem;
  max-width: var(--max-width);
  width: 92%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
@media (min-width: 1024px) {
  .page-hero { width: 88%; }
}
.page-hero-img {
  width: 100%;
  height: 260px;
  overflow: hidden;
  position: relative;
}
.page-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-hero-text {
  width: 100%;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #e8f0f2 0%, #dde8eb 50%, #d1e0e5 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 0.75rem;
}
.page-hero-text h1 {
  margin: 0 0 0.5rem 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #1e293b;
  line-height: 1.2;
}
.page-hero-line {
  width: 60px;
  height: 4px;
  background: var(--brand);
  border-radius: 2px;
  margin: 0.75rem 0 1rem 0;
}
.page-hero--compact { min-height: 0; }
.page-hero--compact .page-hero-text { padding: 2.5rem 1.5rem; width: 100%; }
.page-hero-date { font-size: 0.9rem; color: #64748b; margin: 0; }
.page-hero-text p {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #475569;
  max-width: 540px;
}
.page-hero-cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: var(--brand);
  color: #fff !important;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.page-hero-cta:hover {
  background: #c45d22;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(218, 106, 42, 0.35);
}
@media (min-width: 768px) {
  .page-hero { min-height: 380px; flex-direction: row; }
  .page-hero-img { width: 48%; height: 380px; }
  .page-hero-text { width: 52%; padding: 2.5rem 2.5rem 2.5rem 2rem; }
  .page-hero--reverse { flex-direction: row-reverse; }
  .page-hero--reverse .page-hero-text { padding: 2.5rem 2rem 2.5rem 2.5rem; }
}

.content-section { padding: 2rem 0; }
.camp-du-jours-inner { max-width: 800px; }
.camp-intro { margin-bottom: 2.5rem; }
.camp-intro p { margin: 0 0 1rem 0; line-height: 1.6; }
.camp-link { color: var(--brand); font-weight: 600; text-decoration: none; }
.camp-link:hover { text-decoration: underline; }
.camp-section { margin-bottom: 2rem; }
.camp-section-title {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 0.75rem 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.camp-list {
  margin: 0;
  padding-left: 1.5rem;
  line-height: 1.7;
}
.camp-list li { margin-bottom: 0.35rem; }
.camp-contact { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(0,0,0,0.08); }
.camp-contact p { margin: 0 0 1rem 0; }
.about-grid { display: grid; gap: 2rem; width: 92%; margin: 0 auto; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; width: 80%; } }
.about-img { width: 100%; max-height: 400px; object-fit: cover; }
.values-grid, .goals-grid { display: grid; gap: 2rem; margin-top: 1rem; }
@media (min-width: 640px) { .values-grid, .goals-grid { grid-template-columns: 1fr 1fr; } }
.brand-section { background: var(--brand); color: #fff; padding: 3rem 0; }
.brand-section h2, .brand-section h3, .brand-section .subtitle { color: #fff; }

.auth-page { display: flex; min-height: 80vh; align-items: center; justify-content: center; padding: 2rem; }
.auth-card { width: 100%; max-width: 24rem; border: 1px solid #eee; border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.auth-card h2 { margin: 0 0 0.5rem 0; font-size: 1.25rem; }
.auth-desc { color: #666; font-size: 0.9rem; margin: 0 0 1rem 0; }
.auth-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.25rem; }
.form-group label { font-weight: 500; }
.form-group input { padding: 0.5rem 0.75rem; border: 1px solid #ddd; border-radius: 4px; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 2.5rem; }
.toggle-password { position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; }
.btn { padding: 0.5rem 1rem; border-radius: 4px; cursor: pointer; border: none; font-size: 1rem; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { opacity: 0.9; }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.auth-link { text-align: center; font-size: 0.9rem; margin-top: 0.5rem; }
.auth-link a { color: var(--brand); }
.message { margin-top: 0.5rem; padding: 0.5rem; border-radius: 4px; font-size: 0.9rem; }
.message.success { background: #d4edda; color: #155724; }
.message.error { background: #f8d7da; color: #721c24; }

.postuler-page { width: 92%; margin: 0 auto; }
.postuler-hero { display: flex; flex-wrap: wrap; margin-bottom: 2rem; min-height: 350px; }
.postuler-hero-img { width: 100%; height: 300px; overflow: hidden; }
@media (min-width: 768px) { .postuler-hero-img { width: 50%; height: 400px; } }
.postuler-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.postuler-hero-text { width: 100%; padding: 2rem; background: #dde8eb; }
@media (min-width: 768px) { .postuler-hero-text { width: 50%; } }
.postuler-hero-text h1 { margin: 0 0 1rem 0; font-size: clamp(1.5rem, 5vw, 2.5rem); }
.postuler-offers { max-width: 90%; margin: 2rem auto; }
.postuler-offer { border-bottom: 1px solid #eee; padding: 1.5rem 0; }
.postuler-offer-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.postuler-offer-title { font-weight: bold; margin: 0; }
.postuler-offer-link { color: #c00; padding: 0.5rem; }
.postuler-offer-link:hover { background: #c00; color: #fff; }
.postuler-offer-desc { margin: 0.5rem 0 0 0; }

.politiques-section .politique-item { margin-bottom: 1.5rem; }
.politique-item a { color: var(--brand); }

.programme-section .programme-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .programme-section .programme-grid { grid-template-columns: 45% 55%; } }
.programme-video { width: 100%; height: 320px; min-height: 200px; border: none; aspect-ratio: 16 / 9; }
@media (max-width: 639px) {
  .programme-video { height: 220px; min-height: 180px; }
}

.staff-section .staff-grid { display: grid; gap: 2rem; margin-top: 2rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.staff-card { overflow: hidden; }
.staff-card-img { height: 220px; overflow: hidden; }
.staff-card-img img { width: 100%; height: 100%; object-fit: cover; }
.staff-card-body { padding: 1rem; }
.staff-name { font-weight: bold; margin: 0 0 0.25rem 0; }
.staff-role { text-transform: uppercase; margin: 0; font-size: 0.9rem; }
.staff-email { margin: 0.25rem 0 0 0; font-size: 0.9rem; }

/* ----- Politique de confidentialité ----- */
.politique-conf-section { padding: 0 0 4rem; }
.politique-conf-inner {
  width: 92%;
  max-width: 720px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
  color: #334155;
}
.politique-conf-intro { margin-bottom: 2.5rem; }
.politique-conf-intro h2 {
  font-size: 1.35rem;
  color: #1e293b;
  margin: 0 0 1.25rem 0;
  font-weight: 700;
}
.politique-conf-intro p { margin: 0 0 1rem 0; }
.politique-conf-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}
.politique-conf-block:last-of-type { border-bottom: none; }
.politique-conf-block h3 {
  font-size: 1.2rem;
  color: #1e293b;
  margin: 0 0 1rem 0;
  font-weight: 700;
}
.politique-conf-block h4 {
  font-size: 1.05rem;
  color: #475569;
  margin: 1.25rem 0 0.5rem 0;
  font-weight: 600;
}
.politique-conf-block p { margin: 0 0 0.75rem 0; }
.politique-conf-block ul {
  margin: 0.5rem 0 1rem 1.5rem;
  padding: 0;
}
.politique-conf-block li { margin-bottom: 0.35rem; }
.politique-conf-block a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.politique-conf-block a:hover { text-decoration: underline; }
.politique-conf-legal { background: #f8fafc; padding: 1.25rem; border-radius: var(--radius); border: 1px solid #e2e8f0; }
.politique-conf-legal p { margin: 0; font-size: 0.95rem; color: #64748b; }
.politique-conf-back { margin-top: 2.5rem; text-align: center; }
.politique-conf-back-link {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
}
.politique-conf-back-link:hover { background: #c45d22; transform: translateY(-1px); }

/* ----- Bannière cookies ----- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem;
  padding-bottom: calc(1rem + var(--safe-bottom));
  padding-left: calc(1rem + var(--safe-left));
  padding-right: calc(1rem + var(--safe-right));
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
}
.cookie-banner.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 92%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.06);
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  border-top: 4px solid var(--brand);
}
@media (min-width: 640px) {
  .cookie-banner-inner { padding: 1.5rem 2rem; display: flex; align-items: center; gap: 1.5rem; }
}
.cookie-banner-content { flex: 1; min-width: 0; }
.cookie-banner-title {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
}
.cookie-banner-desc {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 1rem 0;
}
.cookie-banner-desc a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.cookie-banner-desc a:hover { text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.cookie-banner-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  padding: 0.5rem 0;
}
.cookie-banner-link:hover { color: var(--brand); }
.cookie-banner-btn {
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.6rem 1.35rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.cookie-banner-btn--accept {
  background: var(--brand);
  color: #fff;
}
.cookie-banner-btn--accept:hover {
  background: #c45d22;
  transform: translateY(-1px);
}
.cookie-banner-btn--refuse {
  background: transparent;
  color: #64748b;
  border: 2px solid #cbd5e1;
}
.cookie-banner-btn--refuse:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #475569;
  transform: translateY(-1px);
}

/* ----- Toast notification (ex. Boutique - Bientôt disponible) ----- */
.toast {
  position: fixed;
  top: calc(5.5rem + var(--safe-top));
  right: max(1.25rem, var(--safe-right));
  left: max(1.25rem, var(--safe-left));
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  max-width: 360px;
  margin-left: auto;
  padding: 1rem 1.25rem;
  background: #fff;
  color: #1e293b;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--brand);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateX(calc(100% + 2rem));
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}
.toast::before {
  content: '';
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(218, 106, 42, 0.12);
  border-radius: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23da6a2a' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
  background-size: 22px;
  background-position: center;
  background-repeat: no-repeat;
}
.toast.toast--visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
@media (max-width: 640px) {
  .toast { top: calc(4.5rem + var(--safe-top)); right: 1rem; left: 1rem; max-width: none; }
}

/* ----- Footer ----- */
.footer {
  margin-top: auto;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 3px solid var(--brand);
  padding: 0;
  width: 100%;
}
.footer-inner {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 0 1.5rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem 2.5rem;
  flex: 1;
  min-width: 0;
}
.footer-nav-col {
  min-width: 0;
}
.footer-nav-title {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 0.75rem 0;
  letter-spacing: 0.02em;
}
.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav-list li {
  margin-bottom: 0.4rem;
}
.footer-nav-link {
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}
.footer-nav-link:hover {
  color: var(--brand);
}
.footer-nav-link-cta {
  color: var(--brand);
  font-weight: 600;
}
.footer-nav-link-cta:hover {
  text-decoration: underline;
}
.footer-nav-col-actions .footer-nav-link {
  font-weight: 600;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}
.footer-club-name {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--brand);
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  color: #1877f2;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.footer-social-link:hover {
  background: #1877f2;
  color: #fff;
  border-color: #1877f2;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}
.footer-social-icon {
  width: 1.25rem;
  height: 1.25rem;
}
.footer-social-link:hover .footer-social-icon {
  color: inherit;
}
.footer-social-fb-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}
.footer-social-fb-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.2rem;
  line-height: 0;
  box-sizing: border-box;
}
.footer-social-fb-link:hover {
  background: #1877f2;
  color: #fff;
  border-color: #1877f2;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}
.footer-social-fb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.footer-social-fb-link:hover .footer-social-fb-img {
  filter: brightness(0) invert(1);
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  color: #64748b;
}
.footer-badges-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  align-self: flex-start;
}
.footer-badge-img {
  height: 72px;
  width: auto;
  object-fit: contain;
}
.footer-bottom-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-fb-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1877f2;
  transition: color 0.2s, transform 0.15s;
}
.footer-fb-icon:hover {
  color: #0d65d9;
  transform: scale(1.1);
}
.footer-fb-icon svg {
  width: 24px;
  height: 24px;
}
.footer-copy-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.footer-copy {
  margin: 0;
  line-height: 1.5;
}
.footer-brand-name {
  color: var(--brand);
  font-weight: 600;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  line-height: 1.5;
}
.footer-legal-link {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-legal-link:hover { color: var(--brand); }
.footer-sep { color: #cbd5e1; user-select: none; }
.footer-powered { margin: 0; }
.footer-powered-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, text-decoration 0.2s;
}
.footer-powered-link:hover {
  color: #c45d22;
  text-decoration: underline;
}
@media (max-width: 640px) {
  .footer-inner {
    padding: 1.5rem 0 1.25rem;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
  }
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1.25rem;
    width: 100%;
  }
  .footer-nav-title {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }
  .footer-nav-link {
    font-size: 0.85rem;
  }
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links {
    width: 100%;
  }
}

.subtitle { color: #666; margin: 0 0 0.5rem 0; }

/* ----- Responsive global (mobile & tablette) ----- */
@media (max-width: 479px) {
  .section-inner,
  .news-section-inner,
  .match-inner { width: 94%; }
  .navbar-inner { width: 94%; }
  .section-title-news { font-size: 1.75rem; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .match-section { padding: 4rem 0; min-height: 500px; }
  .staff-section .staff-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
