/* ============================================
   OCEAN PROTECT REGATTA — CSS fidèle aux screenshots
   Thème: Bleu marine profond, cyan néon, blanc
   Fonts: Barlow Condensed (titres gras), Barlow (corps)
   ============================================ */

:root {
  /* Couleurs exactes des screenshots */
  --cyan:        #00d4ff;
  --cyan-bright: #00eaff;
  --cyan-dim:    #009fbe;
  --green-live:  #00e676;
  --gold:        #ffc400;
  --silver:      #b0bec5;
  --bronze:      #bf8d4b;
  --red:         #ff3d57;
  --orange:      #ff9800;

  /* Fonds bleu marine profond */
  --bg-root:     #030e1c;
  --bg-nav:      #040f1e;
  --bg-hero:     #041426;
  --bg-card:     #071d35;
  --bg-card-alt: #0a2440;
  --bg-input:    #02080f;

  /* Bordures */
  --border:      rgba(0, 180, 220, 0.18);
  --border-md:   rgba(0, 200, 240, 0.30);
  --border-hi:   rgba(0, 220, 255, 0.55);

  /* Texte */
  --text-white:  #ffffff;
  --text-light:  #cce8f4;
  --text-muted:  #5d8fa8;
  --text-dim:    #2d5a72;

  /* Fonts */
  --f-title: 'Barlow Condensed', sans-serif;
  --f-body:  'Barlow', sans-serif;
  --f-ui:    'Rajdhani', sans-serif;

  --radius:    6px;
  --radius-lg: 10px;
}

/* ============================================ RESET + BASE */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-root);
  color: var(--text-light);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 120% 60% at 50% 0%,   rgba(0, 60, 130, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 80%  40% at 80% 80%,  rgba(0, 30,  80, 0.20) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='180'%3E%3Cpath fill='none' stroke='rgba(0,180,220,0.055)' stroke-width='1.2' d='M0,90 C150,40 300,140 450,90 C600,40 750,140 900,90'/%3E%3Cpath fill='none' stroke='rgba(0,180,220,0.04)' stroke-width='1' d='M0,110 C150,60 300,160 450,110 C600,60 750,160 900,110'/%3E%3Cpath fill='none' stroke='rgba(0,180,220,0.04)' stroke-width='1' d='M0,70 C150,20 300,120 450,70 C600,20 750,120 900,70'/%3E%3C/svg%3E");
  background-size: auto, auto, 900px 180px;
  background-repeat: no-repeat, no-repeat, repeat-x;
  background-position: top, bottom, bottom;
}

/* ============================================ GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@300;400;500;600&family=Rajdhani:wght@400;500;600;700&display=swap');

/* ============================================ NAVBAR */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(3, 11, 24, 0.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  height: 58px;
  padding: 0 28px;
}
.nav-inner {
  max-width: 1340px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; gap: 4px;
}

/* Logo */
.nav-logo { text-decoration: none; display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-right: 20px; }
.logo-icon { font-size: 20px; }
.logo-text { font-family: var(--f-title); font-size: 17px; font-weight: 400; letter-spacing: 2px; color: var(--text-light); text-transform: uppercase; }
.logo-light { font-weight: 400; color: var(--text-muted); }
.logo-text strong { font-weight: 800; color: var(--text-white); }

/* Nav links */
.nav-links { list-style: none; display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-links a {
  display: block; padding: 6px 14px;
  font-family: var(--f-title); font-size: 13px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none;
  color: var(--text-muted);
  border-radius: var(--radius); border-bottom: 2px solid transparent;
  transition: color .18s, border-color .18s, background .18s;
}
.nav-links a:hover { color: var(--text-light); background: rgba(0,180,220,0.07); }
.nav-links a.active { color: var(--text-white); border-bottom-color: var(--cyan); }
.nav-links .nav-nav-link { color: var(--cyan-dim); }
.nav-links .nav-nav-link:hover, .nav-links .nav-nav-link.active { color: var(--cyan); }
.nav-admin { color: #e04545 !important; }
.nav-admin:hover { color: #ff6060 !important; }

/* Saison dropdown */
.nav-saison-wrap { position: relative; margin-left: 4px; }
.nav-saison-btn {
  display: flex; align-items: center; gap: 6px; padding: 5px 14px;
  background: rgba(0,180,220,0.08); border: 1px solid var(--border-md);
  border-radius: var(--radius); color: var(--cyan);
  font-family: var(--f-title); font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; white-space: nowrap; transition: background .18s, border-color .18s;
}
.nav-saison-btn:hover { background: rgba(0,200,240,0.14); border-color: var(--border-hi); }
.nav-saison-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 170px; background: #06192e;
  border: 1px solid var(--border-md); border-radius: var(--radius-lg);
  list-style: none; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.7); z-index: 200;
}
.nav-saison-wrap:hover .nav-saison-dropdown { display: block; }
.nav-saison-dropdown a {
  display: flex; align-items: center; justify-content: space-between; padding: 10px 16px;
  font-family: var(--f-ui); font-size: 13px; font-weight: 500;
  color: var(--text-muted); text-decoration: none; transition: background .15s, color .15s;
}
.nav-saison-dropdown a:hover { background: rgba(0,180,220,0.1); color: var(--cyan); }
.nav-saison-dropdown .saison-active { color: var(--cyan); }
.badge-live { color: var(--green-live); font-size: 9px; }

.nav-burger { display: none; background: none; border: 1px solid var(--border); color: var(--text-light); padding: 5px 11px; border-radius: var(--radius); cursor: pointer; font-size: 17px; margin-left: auto; }

/* ============================================ LAYOUT */
.page-content { min-height: calc(100vh - 58px - 72px); }
.container { max-width: 1340px; margin: 0 auto; padding: 0 28px; }

/* ============================================ HERO (image 1) */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 70px 24px 100px; overflow: hidden;
  background:
    radial-gradient(ellipse 100% 70% at 50% 40%, rgba(0,50,120,0.45) 0%, transparent 70%),
    radial-gradient(ellipse 60%  40% at 30% 70%, rgba(0,100,180,0.15) 0%, transparent 60%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(0,200,240,0.10) 1px, transparent 1px);
  background-size: 38px 38px; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 110px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110'%3E%3Cpath fill='%23030e1c' d='M0,55 C360,110 720,0 1080,55 C1260,82 1360,100 1440,95 L1440,110 L0,110Z'/%3E%3C/svg%3E");
  background-size: cover;
}
.hero > div { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 18px; margin-bottom: 22px;
  background: rgba(0,180,220,0.1); border: 1px solid var(--border-md);
  border-radius: 20px;
  font-family: var(--f-title); font-size: 12px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-light);
}

.hero h1 { font-family: var(--f-title); font-weight: 900; line-height: 0.88; margin-bottom: 8px; }
.hero h1 .line1 {
  display: block; font-size: clamp(70px, 12vw, 128px); color: var(--text-white);
  text-shadow: 0 0 60px rgba(200,230,255,0.12);
}
.hero h1 .line2 {
  display: block; font-size: clamp(70px, 12vw, 128px); color: var(--cyan);
  text-shadow: 0 0 40px rgba(0,212,255,0.4), 0 0 80px rgba(0,180,220,0.2);
}

.hero-sub { font-size: 15px; color: var(--text-muted); font-style: italic; max-width: 480px; margin: 22px auto 38px; line-height: 1.65; }

.hero-stats { display: flex; justify-content: center; align-items: center; gap: 64px; margin-bottom: 44px; flex-wrap: wrap; }
.hero-stat-num { display: block; font-family: var(--f-title); font-size: 46px; font-weight: 700; color: var(--cyan); line-height: 1; }
.hero-stat-lbl { display: block; font-family: var(--f-ui); font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================ BOUTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 30px; font-family: var(--f-title); font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius); cursor: pointer; border: none;
  transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--cyan); color: #001a26; }
.btn-primary:hover { background: var(--cyan-bright); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,212,255,0.35); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,0.3); color: var(--text-white); }
.btn-outline:hover { border-color: var(--text-white); background: rgba(255,255,255,0.06); transform: translateY(-2px); }
.btn-danger  { background: var(--red); color: #fff; }
.btn-danger:hover { background: #ff1a35; }
.btn-success { background: var(--green-live); color: #001a10; }
.btn-sm { padding: 7px 16px; font-size: 11px; }
.btn-xs { padding: 4px 10px; font-size: 10px; }

/* ============================================ SECTIONS */
.section-header { padding: 52px 0 28px; }
.section-title { font-family: var(--f-title); font-size: 30px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--text-white); }
.section-title span { color: var(--cyan); }
.section-sub { margin-top: 6px; font-size: 13px; color: var(--text-muted); }
.divider { width: 48px; height: 3px; background: var(--cyan); border-radius: 2px; margin: 10px 0 0; }

/* ============================================ CARDS */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: var(--border-md); }
.card-header { padding: 14px 20px; border-bottom: 1px solid var(--border); }
.card-body { padding: 20px; }

/* ============================================ MARINS GRID (image 2) */
.marins-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.marin-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px 20px 20px; text-align: center;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.marin-card:hover { border-color: var(--border-hi); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,180,220,0.12); }
.marin-avatar {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 14px;
  border: 2px solid var(--border-md); background: var(--bg-card-alt);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-title); font-size: 22px; font-weight: 800; color: var(--cyan);
  overflow: hidden; position: relative;
}
.marin-avatar img { width: 100%; height: 100%; object-fit: cover; position: absolute; }
.marin-pseudo { font-family: var(--f-title); font-size: 15px; font-weight: 700; color: var(--text-white); margin-bottom: 5px; }
.marin-info { font-size: 12px; color: var(--text-muted); line-height: 1.7; }
.marin-stats-mini { display: flex; justify-content: center; gap: 24px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.marin-stat-mini-num { display: block; font-family: var(--f-title); font-size: 18px; font-weight: 700; color: var(--cyan); line-height: 1; }
.marin-stat-mini-lbl { display: block; font-family: var(--f-ui); font-size: 9px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-top: 3px; }

/* ============================================ CLASSEMENT TABLE (image 3) */
.classement-table { width: 100%; border-collapse: collapse; }
.classement-table thead tr { background: rgba(0,160,200,0.06); }
.classement-table th { padding: 13px 18px; text-align: left; font-family: var(--f-ui); font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--border-md); }
.classement-table td { padding: 16px 18px; border-bottom: 1px solid rgba(0,140,180,0.08); vertical-align: middle; }
.classement-table tr:hover td { background: rgba(0,140,180,0.06); }
.rank-1 td { background: rgba(255,196,0,0.04); }
.rank-2 td { background: rgba(176,190,197,0.03); }
.rank-3 td { background: rgba(191,141,75,0.03); }
.rank-1:hover td { background: rgba(255,196,0,0.08) !important; }

.rank-num { font-family: var(--f-title); font-size: 20px; font-weight: 800; color: var(--text-muted); }
.rank-1 .rank-num { color: var(--gold); }
.rank-2 .rank-num { color: var(--silver); }
.rank-3 .rank-num { color: var(--bronze); }

.marin-cell { display: flex; align-items: center; gap: 12px; }
.avatar-sm {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg-card-alt); border: 1px solid var(--border-md);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-title); font-size: 13px; font-weight: 800; color: var(--cyan);
  overflow: hidden; position: relative;
}
.avatar-sm img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.marin-name { font-family: var(--f-ui); font-size: 14px; font-weight: 600; color: var(--text-white); }
.marin-country { font-size: 11px; color: var(--text-muted); margin-top: 1px; }

.points-bar-wrap { display: flex; align-items: center; gap: 14px; }
.points-value { font-family: var(--f-title); font-size: 20px; font-weight: 800; color: var(--cyan); min-width: 52px; }
.points-bar { flex: 1; height: 3px; background: rgba(0,200,240,0.12); border-radius: 2px; overflow: hidden; min-width: 60px; }
.points-bar-fill { height: 100%; background: var(--cyan); border-radius: 2px; transition: width 1.2s cubic-bezier(.4,0,.2,1); }
.courses-ratio { font-family: var(--f-ui); font-size: 13px; color: var(--text-muted); }

.medals { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; }
.medal { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 14px; font-family: var(--f-ui); font-size: 12px; font-weight: 700; }
.medal-or     { background: rgba(255,196,0,0.14);   color: var(--gold);   border: 1px solid rgba(255,196,0,0.35); }
.medal-argent { background: rgba(176,190,197,0.12); color: var(--silver); border: 1px solid rgba(176,190,197,0.28); }
.medal-bronze { background: rgba(191,141,75,0.12);  color: var(--bronze); border: 1px solid rgba(191,141,75,0.28); }

/* ============================================ COURSES (image 4) */
.course-selector { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.course-selector label { font-family: var(--f-ui); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }

.course-selector select,
select.form-control {
  appearance: none; -webkit-appearance: none;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-md);
  color: var(--cyan); padding: 10px 38px 10px 16px;
  border-radius: var(--radius);
  font-family: var(--f-ui); font-size: 13px; font-weight: 600;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M0 0l6 7 6-7z' fill='%2300d4ff'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  outline: none; transition: border-color .18s; min-width: 320px;
}
select.form-control option { background: var(--bg-card); color: var(--text-light); }

.course-header-info { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 26px; margin-bottom: 22px; }
.course-id-badge { font-family: var(--f-title); font-size: 32px; font-weight: 900; color: var(--cyan); line-height: 1; margin-bottom: 4px; }
.course-date-info { font-family: var(--f-ui); font-size: 13px; color: var(--cyan-dim); font-weight: 600; margin-top: 4px; }

/* BADGES OPTIONS — fidèles image 4 (rectangles colorés solid) */
.options-list { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.opt-badge {
  display: inline-block; padding: 3px 7px; border-radius: 4px;
  font-family: var(--f-ui); font-size: 10px; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase;
  background: var(--cyan); color: #001820;
}
.opt-code0  { background: #00bcd4; color: #001820; }
.opt-vpt    { background: #4caf50; color: #001a0a; }
.opt-vdb    { background: #8bc34a; color: #0a1a00; }
.opt-winch  { background: #ff9800; color: #1a0800; }
.opt-foils  { background: #9c27b0; color: #0e001a; }
.opt-polish { background: #e91e63; color: #1a0010; }
.opt-fp     { background: #ff5722; color: #1a0800; }
.opt-badge.inactive { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.07); }

.pts-badge { font-family: var(--f-title); font-size: 15px; font-weight: 800; }
.pts-positive { color: #00e676; }
.pts-zero     { color: var(--text-muted); }
.hors-delais  { color: var(--orange); font-size: 12px; font-weight: 600; }
.abandon-tag  { color: var(--red);    font-size: 12px; font-weight: 600; }

.status-badge { display: inline-block; padding: 3px 12px; border-radius: 12px; font-family: var(--f-ui); font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.status-terminee { background: rgba(0,230,118,0.12); color: var(--green-live); border: 1px solid rgba(0,230,118,0.25); }
.status-en_cours { background: rgba(0,212,255,0.12); color: var(--cyan);       border: 1px solid var(--border-md); animation: blink 2s infinite; }
.status-a_venir  { background: rgba(255,255,255,0.05); color: var(--text-muted); border: 1px solid rgba(255,255,255,0.1); }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:.5; } }

/* ============================================ NAVIGATION PAGE (image 5) */
.espace-nav-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; margin-bottom: 28px; }
.espace-nav-title { display: flex; align-items: center; gap: 10px; font-family: var(--f-title); font-size: 15px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.nav-page-sections { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.nav-section-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.nav-section-title { display: flex; align-items: center; gap: 8px; font-family: var(--f-title); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--cyan); margin-bottom: 14px; }
.nav-section-title.green { color: var(--green-live); }
.nav-section-title.gold  { color: var(--gold); }
.nav-section-card ul { list-style: none; }
.nav-section-card li { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 14px; color: var(--text-light); line-height: 1.5; }
.nav-section-card li:last-child { border: none; }
.nav-section-card li strong { color: var(--text-white); }
.nav-section-card p { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* ============================================ ADMIN (images 2 & 6) */
.admin-tabs { display: flex; gap: 3px; margin-bottom: 28px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.admin-tab {
  padding: 10px 20px; font-family: var(--f-title); font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none;
  color: var(--text-muted); border-radius: var(--radius) var(--radius) 0 0;
  border: 1px solid transparent; border-bottom: none;
  transition: color .18s, background .18s, border-color .18s; cursor: pointer; background: none;
}
.admin-tab:hover { color: var(--text-light); background: rgba(0,180,220,0.06); }
.admin-tab.active { color: var(--text-white); background: var(--bg-card); border-color: var(--border-md); border-bottom-color: var(--bg-card); }

.table-responsive { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { padding: 11px 14px; font-family: var(--f-ui); font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); text-align: left; border-bottom: 1px solid var(--border-md); background: rgba(0,160,200,0.05); white-space: nowrap; }
.admin-table td { padding: 10px 14px; font-size: 13px; border-bottom: 1px solid rgba(0,130,170,0.06); vertical-align: middle; }
.admin-table tr:hover td { background: rgba(0,130,170,0.05); }
.action-btns { display: flex; gap: 5px; align-items: center; }

/* ============================================ FORMULAIRES */
.form-section { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; margin-bottom: 22px; }
.form-section-title { font-family: var(--f-title); font-size: 14px; font-weight: 700; letter-spacing: 1px; color: var(--cyan); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-family: var(--f-ui); font-size: 10px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--text-muted); }

.form-control {
  background: var(--bg-input); border: 1px solid var(--border);
  color: var(--text-light); padding: 9px 14px; border-radius: var(--radius);
  font-family: var(--f-body); font-size: 14px; width: 100%; outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.form-control:focus { border-color: var(--border-hi); box-shadow: 0 0 0 3px rgba(0,212,255,0.08); }
.form-control::placeholder { color: var(--text-dim); }
textarea.form-control { resize: vertical; }

.form-check-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.form-check {
  display: flex; align-items: center; gap: 7px; cursor: pointer;
  padding: 5px 12px 5px 8px; background: var(--bg-card-alt);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .15s, background .15s;
}
.form-check:hover { border-color: var(--border-md); }
.form-check input[type=checkbox] { accent-color: var(--cyan); width: 15px; height: 15px; cursor: pointer; }
.form-check span { font-family: var(--f-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.5px; color: var(--text-light); }

.alert { padding: 12px 18px; border-radius: var(--radius); margin-bottom: 16px; font-size: 14px; font-family: var(--f-ui); font-weight: 500; }
.alert-success { background: rgba(0,230,118,0.09); border: 1px solid rgba(0,230,118,0.25); color: var(--green-live); }
.alert-error   { background: rgba(255,61,87,0.09);  border: 1px solid rgba(255,61,87,0.25);  color: var(--red); }
.alert-info    { background: rgba(0,212,255,0.09);  border: 1px solid var(--border-md);       color: var(--cyan); }

/* ============================================ LOGIN */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0,50,120,0.4) 0%, transparent 70%), var(--bg-root); }
.login-card { background: var(--bg-card); border: 1px solid var(--border-md); border-radius: 14px; padding: 44px; width: 100%; max-width: 400px; box-shadow: 0 24px 80px rgba(0,0,0,.6); }
.login-title { font-family: var(--f-title); font-size: 22px; font-weight: 800; letter-spacing: 2px; color: var(--cyan); text-align: center; margin-bottom: 28px; }

/* ============================================ FOOTER */
.site-footer { background: var(--bg-nav); border-top: 1px solid var(--border); padding: 26px 28px; margin-top: 70px; }
.footer-inner { max-width: 1340px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-family: var(--f-title); font-size: 14px; font-weight: 700; color: var(--text-muted); letter-spacing: 1px; }
.footer-info { font-size: 12px; color: var(--text-dim); text-align: center; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { font-size: 12px; color: var(--text-muted); text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: var(--cyan); }

/* ============================================ ANIMATIONS */
@keyframes fadeInUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
.fade-in         { animation: fadeInUp .5s ease both; }
.fade-in-delay-1 { animation: fadeInUp .5s .1s ease both; }
.fade-in-delay-2 { animation: fadeInUp .5s .2s ease both; }
.fade-in-delay-3 { animation: fadeInUp .5s .3s ease both; }

/* ============================================ RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 58px; left: 0; right: 0; background: var(--bg-nav); border-bottom: 1px solid var(--border); padding: 16px 20px; z-index: 999; gap: 4px; }
  .nav-links.open a { padding: 10px 14px; }
  .nav-burger { display: block; }
  .hero h1 .line1, .hero h1 .line2 { font-size: clamp(50px, 16vw, 90px); }
  .hero-stats { gap: 32px; }
  .marins-grid { grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); }
  .classement-table th:nth-child(3), .classement-table td:nth-child(3) { display: none; }
  .container { padding: 0 16px; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 34px; }
  .form-grid { grid-template-columns: 1fr; }
}
