/* ================================================================
   AGA WATRA 2026 – Feuille de style principale
   ================================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:        #00687A;
  --teal-mid:    #007D94;
  --teal-light:  #009BB5;
  --teal-pale:   #E8F4F7;
  --teal-bg:     #EFF8FB;
  --bg:          #EFF3F5;
  --bg2:         #F7FAFB;
  --white:       #FFFFFF;
  --text:        #1A2B35;
  --text2:       #3D5566;
  --text3:       #6B8899;
  --border:      #D0DDE5;
  --border2:     #B8CDD8;
  --gold:        #C8860A;
  --gold-bg:     #FFF8ED;
  --red:         #C0392B;
  --green:       #1A7A4A;
  --green-bg:    #E8F6EF;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.10);
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --transition:  all .18s ease;
}

html { scroll-behavior: smooth; font-size: 15px; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--teal); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

/* ================================================================
   NAVIGATION
   ================================================================ */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: 64px;  /* augmenter si logo trop grand */
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
#main-nav.scrolled { box-shadow: var(--shadow-md); }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-img { height: 36px; width: auto; max-width: 220px; object-fit: contain; }
.nav-logo-text { font-weight: 800; font-size: 15px; color: var(--teal); letter-spacing: .3px; }

.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a {
  color: var(--text2); text-decoration: none; font-size: 13.5px; font-weight: 500;
  padding: 6px 13px; border-radius: var(--radius-sm); transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { background: var(--teal-pale); color: var(--teal); }

.nav-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.btn-nav-register {
  background: var(--teal); color: white; padding: 8px 20px;
  border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 600;
  text-decoration: none; transition: var(--transition);
  white-space: nowrap;
}
.btn-nav-register:hover { background: var(--teal-mid); color: white; }

.btn-nav-login {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text2); text-decoration: none; transition: var(--transition);
}
.btn-nav-login:hover { border-color: var(--teal); color: var(--teal); }

.nav-participant-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--teal-pale); color: var(--teal);
  padding: 6px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  border: 1px solid rgba(0,104,122,.2);
}

.lang-switcher {
  display: flex; gap: 2px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 3px;
}
.lang-btn {
  padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 600;
  cursor: pointer; border: none; background: transparent;
  color: var(--text3); transition: var(--transition);
}
.lang-btn.active { background: var(--white); color: var(--teal); box-shadow: 0 1px 3px rgba(0,0,0,.1); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text2); border-radius: 2px; transition: var(--transition); }
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #003D4D 0%, #005E75 45%, #007D94 100%);
  padding: 100px 80px 80px;
  display: grid;
  grid-template-columns: 1fr 400px;
  align-items: center;
  gap: 60px;
  position: relative;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(255,255,255,.025) 80px, rgba(255,255,255,.025) 81px),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(255,255,255,.025) 80px, rgba(255,255,255,.025) 81px);
}
.hero-circle1 {
  position: absolute; right: -120px; bottom: -120px;
  width: 480px; height: 480px; border-radius: 50%;
  background: rgba(255,255,255,.04); pointer-events: none;
}
.hero-circle2 {
  position: absolute; right: 360px; top: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(255,255,255,.03); pointer-events: none;
}
.hero-left { position: relative; z-index: 1; }
.hero-logo-wrap { margin-bottom: 28px; }
.hero-logo-wrap img {
  height: auto;
  max-height: 130px;
  width: auto;
  max-width: min(100%, 520px);
  filter: none;
  opacity: 1;
  display: block;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.9);
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px; margin-bottom: 24px;
}
.hero-eyebrow-dot { width: 6px; height: 6px; background: #4ECDC4; border-radius: 50%; animation: pulse 2s infinite; }

@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }

.hero-title-main {
  font-size: clamp(36px, 4.5vw, 58px); font-weight: 900; line-height: 1.05;
  color: white; letter-spacing: -.5px; margin-bottom: 4px;
}
.hero-title-fr {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.8vw, 36px); color: rgba(255,255,255,.65);
  font-style: italic; margin-bottom: 4px; font-weight: 600;
}
.hero-title-pt {
  font-family: 'Playfair Display', serif;
  font-size: clamp(16px, 2vw, 26px); color: rgba(255,255,255,.38);
  font-style: italic; margin-bottom: 36px; font-weight: 600;
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 40px; }
.hero-meta-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.82); font-size: 14px; font-weight: 500;
}
.hero-meta-icon { width: 18px; height: 18px; flex-shrink: 0; opacity: .7; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-hero-primary {
  background: white; color: var(--teal);
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700; text-decoration: none;
  border: none; cursor: pointer; transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero-primary:hover { background: #EFF8FB; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }

.btn-hero-outline {
  background: rgba(255,255,255,.1); color: white;
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.28); cursor: pointer; transition: var(--transition);
}
.btn-hero-outline:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); }

/* Hero right – logos card */
.hero-right { position: relative; z-index: 1; display: flex; flex-direction: column; }
.hero-logos-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-xl); padding: 36px;
  backdrop-filter: blur(16px);
}
.hero-logos-title {
  font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,.5); text-align: center; margin-bottom: 24px;
}
.hero-logos-grid {
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.hero-logo-item { text-align: center; }
.hero-logo-item img { max-height: 54px; width: auto; margin: 0 auto; } /* filter set per image inline */
.hero-logo-item .logo-label {
  font-size: 10px; color: rgba(255,255,255,.45); margin-top: 8px;
  font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
}
.hero-logos-sep {
  width: 60%; height: 1px; background: rgba(255,255,255,.12);
}
.hero-logos-stats {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; text-align: center;
}
.hero-stat-num { font-size: 28px; font-weight: 800; color: white; line-height: 1; }
.hero-stat-label { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 4px; font-weight: 500; }

/* ================================================================
   SECTIONS COMMUNES
   ================================================================ */
.section-wrap { }
.section { max-width: 1160px; margin: 0 auto; padding: 80px 40px; }
.section-sm { max-width: 1160px; margin: 0 auto; padding: 60px 40px; }

.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--teal); margin-bottom: 8px; display: block;
}
.section-title {
  font-size: clamp(24px, 3vw, 38px); font-weight: 800;
  color: var(--text); line-height: 1.15; margin-bottom: 10px; letter-spacing: -.3px;
}
.section-sub { color: var(--text3); font-size: 15px; line-height: 1.7; max-width: 620px; }

.bg-white { background: var(--white); }
.bg-light { background: var(--bg); }
.bg-lighter { background: var(--bg2); }
.bg-teal-pale { background: var(--teal-pale); }
.divider-line { height: 1px; background: var(--border); }

/* ================================================================
   PROGRAMME
   ================================================================ */
.days-tabs { display: flex; gap: 6px; margin: 28px 0 24px; flex-wrap: wrap; }
.day-tab {
  padding: 9px 18px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--border); background: var(--white);
  color: var(--text2); cursor: pointer; transition: var(--transition);
  white-space: nowrap; line-height: 1.3; text-align: center;
}
.day-tab small { display: block; font-weight: 400; font-size: 11px; opacity: .7; }
.day-tab:hover, .day-tab.active {
  background: var(--teal); color: white; border-color: var(--teal);
}
.day-tab.active small { opacity: .8; }

.timeline { display: none; flex-direction: column; gap: 8px; }
.timeline.active { display: flex; }

.tl-item { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: start; }
.tl-time {
  font-weight: 700; font-size: 14px; color: var(--teal);
  text-align: right; padding-top: 14px; font-variant-numeric: tabular-nums;
}
.tl-body {
  background: var(--bg2); border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-md); padding: 13px 18px;
}
.tl-body.special { border-left-color: var(--gold); background: var(--gold-bg); }
.tl-body.break { border-left-color: var(--border); background: var(--bg); }
.tl-session {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--teal); margin-bottom: 4px;
}
.tl-title { font-weight: 600; font-size: 14px; color: var(--text); margin-bottom: 2px; }
.tl-desc { font-size: 13px; color: var(--text3); line-height: 1.55; }

/* ================================================================
   FORMULAIRE D'INSCRIPTION
   ================================================================ */
.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
#hotel-section { grid-column: 1 / -1; }
.form-group.col3 { grid-column: span 1; }

.form-section-title {
  font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--teal); padding-bottom: 10px;
  border-bottom: 1.5px solid var(--teal-pale);
  margin-bottom: 4px; margin-top: 12px; grid-column: 1 / -1;
}
.form-label { font-size: 12.5px; font-weight: 600; color: var(--text2); }
.form-label .req { color: var(--red); margin-left: 2px; }

.form-input, .form-select, .form-textarea {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 14px;
  font-family: 'Inter', sans-serif; font-size: 14px; color: var(--text);
  outline: none; transition: var(--transition); width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,104,122,.09);
}
.form-input.error, .form-select.error { border-color: var(--red); }
.form-textarea { resize: vertical; min-height: 88px; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%236B8899' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
  padding-right: 36px;
}

/* Time selector */
.time-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.time-select-wrap { display: flex; flex-direction: column; gap: 4px; }
.time-select-label { font-size: 11px; color: var(--text3); font-weight: 500; }

/* Mode de participation radio cards */
.radio-group { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-card {
  flex: 1; min-width: 180px; background: var(--bg2);
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  padding: 14px 16px; cursor: pointer; transition: var(--transition);
  display: flex; align-items: flex-start; gap: 10px;
}
.radio-card:has(input:checked) { border-color: var(--teal); background: var(--teal-pale); }
.radio-card input { accent-color: var(--teal); width: 16px; height: 16px; cursor: pointer; flex-shrink: 0; margin-top: 1px; }
.radio-card-text { font-size: 13.5px; font-weight: 600; color: var(--text); }
.radio-card-sub { font-size: 12px; color: var(--text3); margin-top: 2px; }

/* Sections conditionnelles */
.cond-section { display: none; grid-column: 1 / -1; }
.cond-section.show { display: contents; }
.cond-field { display: none; }
.cond-field.show { display: flex; flex-direction: column; gap: 6px; }

/* Submit */
.form-submit {
  background: var(--teal); color: white;
  padding: 13px 40px; border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700;
  border: none; cursor: pointer; transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.form-submit:hover:not(:disabled) { background: var(--teal-mid); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,104,122,.3); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.form-note { font-size: 12px; color: var(--text3); margin-top: 5px; line-height: 1.5; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; grid-column: 1 / -1; }
.checkbox-row input { accent-color: var(--teal); width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; cursor: pointer; }
.checkbox-row span { font-size: 13px; color: var(--text3); line-height: 1.55; }

/* Notification banner */
.notif-banner {
  background: var(--green-bg); border: 1px solid #A8D5BE;
  border-radius: var(--radius-md); padding: 13px 18px;
  margin-bottom: 28px; display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--green); font-weight: 500;
}

/* Toast notification */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px 20px;
  box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  transform: translateY(100px); opacity: 0;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  max-width: 360px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-left: 3px solid var(--green); }
.toast.error { border-left: 3px solid var(--red); }

/* ================================================================
   INFOS PRATIQUES
   ================================================================ */
.infos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 36px; }
.info-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  border-top: 3px solid var(--teal); transition: var(--transition);
}
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.info-icon { font-size: 26px; margin-bottom: 12px; display: block; }
.info-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.info-content { font-size: 13.5px; color: var(--text3); line-height: 1.65; }
.info-content strong { color: var(--text); }

/* ================================================================
   HOTELS
   ================================================================ */
.hotels-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 36px; }

/* Hotels extra: grille dans le div caché */
#hotels-extra { margin-top: 16px; }
#hotels-extra .hotels-grid { margin-top: 0; }

.hotel-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px; transition: var(--transition);
}
.hotel-card:hover { border-color: var(--teal-light); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.hotel-card.venue { border-top: 3px solid var(--gold); background: var(--gold-bg); }
.hotel-name { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.hotel-stars { color: var(--gold); font-size: 13px; margin-bottom: 6px; }
.hotel-venue-badge { display: inline-block; background: var(--gold); color: white; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; letter-spacing: .5px; margin-left: 6px; }
.hotel-location { font-size: 12.5px; color: var(--text3); margin-bottom: 14px; display: flex; align-items: center; gap: 5px; }
.hotel-prices { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.hotel-price-row { display: flex; justify-content: space-between; font-size: 13px; border-bottom: 1px solid var(--border); padding: 4px 0; }
.hotel-price-row:last-child { border-bottom: none; }
.hotel-price-label { color: var(--text3); }
.hotel-price-val { font-weight: 600; color: var(--text); }
.hotel-amenities { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.amenity { background: var(--teal-pale); color: var(--teal); font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; }
.hotel-contact { font-size: 12px; color: var(--text3); line-height: 1.6; }
.hotel-contact a { color: var(--teal); text-decoration: none; }

/* ================================================================
   PAYS MEMBRES
   ================================================================ */
.countries-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; margin-top: 36px; }
.country-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px 12px;
  text-align: center; transition: var(--transition); position: relative;
}
.country-card:hover { border-color: var(--teal-light); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.country-card.host { border: 2px solid var(--teal); background: var(--teal-pale); }
.flag-img { width: 54px; height: auto; border-radius: 4px; margin: 0 auto 8px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.country-name { font-size: 12px; color: var(--text2); font-weight: 500; line-height: 1.3; }
.host-badge {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: white; font-size: 9px; font-weight: 700;
  padding: 2px 8px; border-radius: 10px; white-space: nowrap; letter-spacing: .5px;
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.contact-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
.contact-name { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.contact-role { font-size: 13px; color: var(--text3); margin-bottom: 16px; line-height: 1.5; }
.contact-row { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin: 5px 0; }
.contact-row a { color: var(--teal); text-decoration: none; }
.contact-row a:hover { text-decoration: underline; }
.contact-sep { height: 1px; background: var(--border); margin: 14px 0; }
.contact-sub-label { font-size: 11px; color: var(--text3); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }

/* ================================================================
   FOOTER
   ================================================================ */
footer { background: var(--teal); color: white; padding: 40px; }
.footer-logos img { filter: brightness(0) invert(1); opacity: .85; }
.footer-inner { max-width: 1160px; margin: 0 auto; text-align: center; }
.footer-logos { display: flex; align-items: center; justify-content: center; gap: 32px; margin-bottom: 24px; flex-wrap: wrap; }
.footer-divider { width: 1px; height: 36px; background: rgba(255,255,255,.2); }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.75); text-decoration: none; font-size: 13.5px; transition: var(--transition); }
.footer-links a:hover { color: white; }
.footer-copy { font-size: 12.5px; color: rgba(255,255,255,.5); line-height: 1.7; }

/* ================================================================
   ESPACE PARTICIPANT
   ================================================================ */
.participant-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; padding-top: 64px; }
.participant-sidebar {
  background: var(--white); border-right: 1px solid var(--border);
  padding: 28px 0; position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto;
}
.sidebar-user { padding: 0 20px 24px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.sidebar-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal-pale); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; margin-bottom: 10px;
}
.sidebar-name { font-weight: 700; font-size: 15px; color: var(--text); }
.sidebar-org { font-size: 12px; color: var(--text3); }
.sidebar-qr { margin-top: 12px; }
.sidebar-qr img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.sidebar-nav { padding: 0 12px; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--text2); text-decoration: none; font-size: 13.5px; font-weight: 500;
  transition: var(--transition); margin-bottom: 2px;
}
.sidebar-nav a:hover, .sidebar-nav a.active { background: var(--teal-pale); color: var(--teal); }
.sidebar-nav a svg { flex-shrink: 0; }

.participant-main { padding: 32px 40px; }
.participant-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 28px; gap: 4px; }
.ptab {
  padding: 10px 18px; font-size: 14px; font-weight: 600; color: var(--text3);
  border-bottom: 2px solid transparent; cursor: pointer; transition: var(--transition);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0; margin-bottom: -1px;
}
.ptab.active { color: var(--teal); border-bottom-color: var(--teal); }
.ptab-content { display: none; }
.ptab-content.active { display: block; }

/* Documents list */
.doc-list { display: flex; flex-direction: column; gap: 10px; }
.doc-item {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px 18px; gap: 16px;
}
.doc-icon { font-size: 24px; flex-shrink: 0; }
.doc-info { flex: 1; }
.doc-title { font-weight: 600; font-size: 14px; color: var(--text); margin-bottom: 2px; }
.doc-meta { font-size: 12px; color: var(--text3); }
.doc-download {
  display: flex; align-items: center; gap: 6px;
  background: var(--teal); color: white; padding: 7px 14px;
  border-radius: var(--radius-sm); font-size: 12.5px; font-weight: 600;
  text-decoration: none; white-space: nowrap; transition: var(--transition);
}
.doc-download:hover { background: var(--teal-mid); }
.doc-day-header { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text3); margin: 20px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }

/* Networking */
.network-country { margin-bottom: 24px; }
.network-country-name { font-size: 12px; font-weight: 700; color: var(--text3); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.network-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.network-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px; }
.network-name { font-weight: 600; font-size: 14px; color: var(--text); margin-bottom: 2px; }
.network-org { font-size: 12px; color: var(--text3); }

/* ================================================================
   STAFF DASHBOARD
   ================================================================ */
.staff-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.staff-sidebar {
  background: #1A2B35; color: white;
  padding: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.staff-sidebar-header { padding: 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.staff-sidebar-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.staff-sidebar-logo img { height: 32px; width: auto; filter: brightness(0) invert(1); opacity: .85; }
.staff-sidebar-title { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.9); }
.staff-sidebar-sub { font-size: 11px; color: rgba(255,255,255,.4); }
.staff-nav { padding: 12px 0; }
.staff-nav-section { font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.3); padding: 10px 20px 4px; }
.staff-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; color: rgba(255,255,255,.65);
  text-decoration: none; font-size: 13.5px; font-weight: 500;
  transition: var(--transition); border-left: 3px solid transparent;
}
.staff-nav a:hover, .staff-nav a.active { background: rgba(255,255,255,.07); color: white; border-left-color: var(--teal-light); }
.staff-nav a svg { flex-shrink: 0; }
.staff-user-info { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.08); margin-top: auto; }
.staff-user-name { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); }
.staff-user-role { font-size: 11px; color: rgba(255,255,255,.4); }
.staff-logout { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.4); text-decoration: none; cursor: pointer; background: none; border: none; }
.staff-logout:hover { color: rgba(255,255,255,.7); }

.staff-main { background: var(--bg); overflow-y: auto; }
.staff-topbar {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 16px 32px; display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
}
.staff-topbar-title { font-size: 18px; font-weight: 700; color: var(--text); }
.staff-content { padding: 28px 32px; }

/* Stats cards */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 24px;
}
.stat-label { font-size: 12px; font-weight: 600; color: var(--text3); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 8px; }
.stat-value { font-size: 34px; font-weight: 800; color: var(--text); line-height: 1; margin-bottom: 4px; }
.stat-sub { font-size: 12px; color: var(--text3); }
.stat-card.accent-teal { border-top: 3px solid var(--teal); }
.stat-card.accent-gold { border-top: 3px solid var(--gold); }
.stat-card.accent-green { border-top: 3px solid var(--green); }
.stat-card.accent-red { border-top: 3px solid var(--red); }

/* Participants table */
.table-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.table-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.table-search { display: flex; align-items: center; gap: 8px; }
.table-search input { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 8px 12px; font-size: 13.5px; outline: none; width: 240px; transition: var(--transition); }
.table-search input:focus { border-color: var(--teal); }
.table-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-select { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 6px 12px; font-size: 13px; outline: none; background: var(--bg); cursor: pointer; }

.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.data-table th { background: var(--bg); padding: 10px 16px; text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--text3); border-bottom: 1px solid var(--border); white-space: nowrap; }
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text2); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg2); }

.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge-teal { background: var(--teal-pale); color: var(--teal); }
.badge-gold { background: var(--gold-bg); color: var(--gold); }
.badge-green { background: var(--green-bg); color: var(--green); }
.badge-gray { background: var(--bg); color: var(--text3); }

.toggle-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 600; border: 1.5px solid var(--border);
  cursor: pointer; background: white; transition: var(--transition);
}
.toggle-btn:hover { border-color: var(--teal); color: var(--teal); }
.toggle-btn.active-green { background: var(--green-bg); border-color: var(--green); color: var(--green); }

/* Country stats bar chart */
.country-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.country-bar-name { min-width: 140px; font-size: 13px; font-weight: 500; color: var(--text2); }
.country-bar-track { flex: 1; height: 8px; background: var(--bg); border-radius: 4px; overflow: hidden; }
.country-bar-fill { height: 100%; background: var(--teal); border-radius: 4px; transition: width .4s ease; }
.country-bar-count { min-width: 32px; font-size: 12px; font-weight: 700; color: var(--text3); text-align: right; }

/* ================================================================
   AUTH PAGES (OTP Login)
   ================================================================ */
.auth-page { min-height: 100vh; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 20px; }
.auth-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 44px 40px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); }
.auth-logo { display: flex; justify-content: center; margin-bottom: 28px; }
.auth-title { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 6px; text-align: center; }
.auth-sub { font-size: 14px; color: var(--text3); text-align: center; margin-bottom: 28px; line-height: 1.6; }
.otp-inputs { display: flex; gap: 8px; justify-content: center; margin: 20px 0; }
.otp-digit {
  width: 44px; height: 52px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); text-align: center;
  font-size: 22px; font-weight: 700; color: var(--text);
  outline: none; transition: var(--transition);
}
.otp-digit:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,104,122,.09); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding: 90px 40px 60px; }
  .hero-right { display: none; }
  .staff-layout { grid-template-columns: 1fr; }
  .staff-sidebar { display: none; }
}

@media (max-width: 768px) {
  #main-nav { padding: 0 20px; }
  .nav-links {
    display: none !important;
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 12px 20px 20px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
    z-index: 999; max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .nav-links.open { display: flex !important; }
  .nav-hamburger { display: flex; }
  .nav-links a { padding: 13px 8px; border-bottom: 1px solid var(--border); border-radius: 0; font-size: 15px; }
  .nav-links li:last-child a { border-bottom: none; }
  /* Switcher de langue sur mobile */
  .nav-lang { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 8px; justify-content: flex-start; }
  .nav-lang button { font-size: 13px; padding: 5px 10px; }
  /* Lang-switcher dans la nav: réduire sur mobile */
  .lang-switcher { gap: 1px; padding: 2px; }
  .lang-btn { padding: 3px 7px; font-size: 11px; }
  .hero { padding: 80px 24px 48px; }
  .section { padding: 56px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-section-title, .checkbox-row { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .radio-group { flex-direction: column; }
  .participant-layout { grid-template-columns: 1fr; }
  .participant-sidebar { display: none; }
  .participant-main { padding: 20px; }
}

/* ── Espace Participant – tabs ─────────────────────────────────────────────── */
.ptab-content { display: none; }
.ptab-content.active { display: block; }

@media (max-width: 420px) {
  .lang-switcher { display: none; }
  .btn-nav-register { display: none; }
}
