* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #0a1a2e 0%, #0c2a3e 100%);
  font-family: 'Inter', sans-serif;
  color: #f0f4fa;
  scroll-behavior: smooth;
}

/* ========== NAVBAR ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(100, 200, 255, 0.3);
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #d13636, #080808);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo span {
  color: #d42d2d;
  background: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-weight: 600;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link, .nav-item {
  color: #eef4ff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::before, .nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  transition: width 0.3s ease;
}

.nav-link::before {
  background: #4ecdc4;
}

.nav-item::after {
  background: #ffb347;
}

.nav-link:hover::before, .nav-item:hover::after {
  width: 100%;
}

.nav-link:hover, .nav-item:hover {
  color: #4ecdc4;
}

.nav-item:hover {
  color: #ffb347;
}

/* ========== CONTAINER ========== */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  margin: 2rem 0 3rem 0;
  border-radius: 2rem;
  overflow: hidden;
  background: linear-gradient(135deg, #0a2a3a 0%, #1b4a6e 100%);
  min-height: 550px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(107deg, #0a2a3a 0%, #1b6b8e 100%), url('IMAGE/eve2.png');
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.5;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2.5rem;
  max-width: 680px;
}

.hero-main-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.hero-main-title span {
  display: block;
  font-size: 1.2rem;
  color: #ffb347;
  margin-top: 0.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-top: 0.6rem;
  color: #d4f1f9;
}

.hero-event-details {
  margin: 1rem 0;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.hero-event-details span {
  background: rgba(0,0,0,0.4);
  padding: 0.45rem 0.8rem;
  border-radius: 40px;
  font-size: 0.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.hero-btn {
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 40px;
  background: #ff6b00;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ========== FORM POPUP ========== */
.form-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-popup-content {
  background: #1a1a1a;
  color: #fff;
  padding: 1.5rem;
  border-radius: 24px;
  width: min(450px, 90vw);
  position: relative;
}

.form-popup-content label {
  display: block;
  margin: 0.6rem 0 0.2rem;
  font-size: 0.95rem;
}

.form-popup-content input, .form-popup-content textarea {
  width: 100%;
  border: 1px solid #444;
  border-radius: 12px;
  background: #121212;
  color: #fff;
  padding: 0.6rem;
}

.close-form {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

/* ========== COUNTDOWN ========== */
.countdown {
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.time-block {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  padding: 0.6rem 1rem;
  border-radius: 16px;
  text-align: center;
  min-width: 70px;
  border: 1px solid rgba(78, 205, 196, 0.5);
}

.time-number {
  font-size: 2rem;
  font-weight: 800;
  color: #4ecdc4;
  line-height: 1;
}

.time-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #b8e1e9;
}

.hero-desc {
  margin: 1.2rem 0 1.8rem;
  color: #d4f1f9;
  line-height: 1.5;
  max-width: 500px;
}

/* ========== LOGOS VERTICAUX ========== */
.hero-logos-right {
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-logo-item {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 1.5rem;
  padding: 1.2rem;
  text-align: center;
  border: 2px solid rgba(78, 205, 196, 0.5);
  transition: all 0.3s ease;
  width: 160px;
}

.hero-logo-item:hover {
  transform: scale(1.08);
  border-color: #ffb347;
}

.hero-logo-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 0.8rem;
  border-radius: 50%;
}

.hero-logo-item span {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #4ecdc4;
  text-transform: uppercase;
}

/* ========== SECTION TITLE ========== */
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 3rem 0 1.5rem 0;
  border-left: 5px solid #ffb347;
  padding-left: 1rem;
  color: #fff5e6;
}

/* ========== ENGAGÉS CARDS ========== */
.engages-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.card {
  background: rgba(20, 40, 55, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  overflow: hidden;
  flex: 1;
  min-width: 200px;
  transition: 0.25s ease;
  border: 1px solid rgba(78, 205, 196, 0.3);
}

.card.fullwidth {
  flex: 0 0 100%;
  max-width: 100%;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #4ecdc4;
}

.card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: 0.3s;
}

.card-content {
  padding: 1rem;
}

.card-number {
  font-size: 0.8rem;
  color: #4ecdc4;
  font-weight: 600;
}

.card-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0.3rem 0;
  color: #ffb347;
}

.card-spec, .card-city {
  font-size: 0.8rem;
  color: #b8d8fc;
}

/* ========== TIMELINE ========== */
.planning-full {
  width: 100%;
  margin: 2rem 0;
}

.timeline-full {
  background: linear-gradient(135deg, rgba(20, 60, 80, 0.9) 0%, rgba(15, 45, 65, 0.95) 100%);
  border-radius: 2rem;
  padding: 2rem;
  border: 1px solid rgba(78, 205, 196, 0.4);
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #4ecdc4, #ffb347);
  border-radius: 3px;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -6px;
  top: 0;
  width: 12px;
  height: 12px;
  background: #ffb347;
  border-radius: 50%;
  border: 2px solid #1a4a6e;
}

.timeline-hour {
  font-weight: 800;
  font-size: 1.3rem;
  color: #4ecdc4;
  display: inline-block;
  background: rgba(78, 205, 196, 0.2);
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.5rem 0 0.3rem;
  color: #ffb347;
}

.timeline-desc {
  color: #c8e7f5;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ========== SECURITY BANNER ========== */
.security-banner {
  margin: 2rem 0;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.security-image {
  background: linear-gradient(135deg, rgba(0,0,0,0.85), rgba(0,0,0,0.75)), url('IMAGE/eve1.png');
  background-size: cover;
  background-position: center;
}

.security-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
}

.security-logo-left, .security-logo-right {
  flex: 0 0 100px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.security-logo-left img, .security-logo-right img {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #facc15;
  transition: all 0.3s ease;
}

.security-center {
  flex: 1;
}

.security-center h2 {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #facc15, #ff6b00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.security-center h3 {
  font-size: 1.4rem;
  margin: 1rem 0;
  color: #fed7aa;
}

.security-description {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #e2e8f0;
}

.security-two-columns {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.security-public, .security-objectives {
  flex: 1;
  min-width: 200px;
}

.security-public h4, .security-objectives h4 {
  font-size: 1.1rem;
  color: #facc15;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.security-public ul, .security-objectives ul {
  list-style: none;
}

.security-public li, .security-objectives li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.4rem;
  color: #cbd5e1;
  padding-left: 1.2rem;
  position: relative;
}

.security-public li::before, .security-objectives li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: #facc15;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  margin-top: 1.2rem;
  border-radius: 50px;
  background: rgba(250, 204, 21, 0.15);
  color: #facc15;
  font-weight: 700;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

/* ========== ANIMATION CARDS ========== */
.animation-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  margin: 2rem 0;
}

.anim-card {
  background: rgba(20, 60, 80, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 1.5rem;
  flex: 1;
  text-align: center;
  border: 1px solid rgba(78, 205, 196, 0.3);
  transition: 0.3s;
}

.anim-card:hover {
  transform: translateY(-5px);
  border-color: #ffb347;
}

.anim-icon {
  font-size: 2.5rem;
  color: #4ecdc4;
  margin-bottom: 1rem;
}

.anim-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffb347;
}

/* ========== STATS GRID ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1rem 0;
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 1rem;
  text-align: center;
  transition: 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-icon { font-size: 1.6rem; color: #ff6b00; margin-bottom: 0.5rem; }
.stat-number { font-size: 1.8rem; font-weight: 800; }
.stat-label { font-size: 0.9rem; color: #f0f4f8; }

/* ========== SPONSORS ========== */
.sponsors-section {
  background: rgba(10, 40, 55, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  padding: 2rem;
  margin: 3rem 0;
  border: 1px solid rgba(78, 205, 196, 0.3);
}

.sponsors-section h3 {
  text-align: center;
  font-size: 1.5rem;
  color: #ffb347;
  margin-bottom: 2rem;
}

.sponsor-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.sponsor-item {
  background: rgba(30, 70, 95, 0.6);
  border-radius: 1rem;
  padding: 0.8rem;
  text-align: center;
  transition: 0.3s;
  border: 1px solid rgba(78, 205, 196, 0.3);
}

.sponsor-item:hover {
  transform: translateY(-5px);
  border-color: #ffb347;
}

.sponsor-logo-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
}

.sponsor-name {
  font-size: 0.65rem;
  color: #b8e1f0;
  display: block;
  margin-top: 0.5rem;
}

/* ========== FOOTER ========== */
.footer {
  background: linear-gradient(180deg, #0a2a3a 0%, #051a2a 100%);
  border-top: 1px solid rgba(78, 205, 196, 0.5);
  padding: 3rem 2rem 1.5rem;
  margin-top: 2rem;
  border-radius: 2rem 2rem 0 0;
}

.footer-content {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-section h4 {
  color: #ffb347;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: inline-block;
  border-bottom: 2px solid #4ecdc4;
  padding-bottom: 0.3rem;
}

.footer-section p, .footer-section ul li a {
  color: #b8e1f0;
  font-size: 0.85rem;
  line-height: 1.6;
  text-decoration: none;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a:hover {
  color: #ffb347;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  background: rgba(78, 205, 196, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ecdc4;
  transition: 0.3s;
}

.social-links a:hover {
  background: #ffb347;
  color: #1a2a3a;
}

.footer-bottom {
  border-top: 1px solid rgba(78, 205, 196, 0.3);
  padding-top: 1.5rem;
  text-align: center;
}

.developer-link {
  color: #ffb347;
  text-decoration: none;
}

/* ========== RESPONSIVE ARRONDI ========== */
@media (max-width: 1200px) {
  .sponsor-row {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-logos-right {
    right: 1rem;
  }
  .hero-logo-item {
    width: 120px;
    padding: 0.8rem;
  }
  .hero-logo-item img {
    width: 70px;
    height: 70px;
  }
  .sponsor-row {
    grid-template-columns: repeat(4, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .security-center h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .navbar {
    flex-direction: column;
    text-align: center;
    border-radius: 0 0 1.5rem 1.5rem;
  }
  
  .nav-links {
    justify-content: center;
    gap: 1rem;
  }
  
  .hero {
    flex-direction: column;
    text-align: center;
    border-radius: 1.5rem;
    margin: 1rem 0;
  }
  
  .hero-content {
    padding: 2rem 1rem;
    max-width: 100%;
  }
  
  .hero-main-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .hero-event-details, .hero-actions, .countdown {
    justify-content: center;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-logos-right {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    flex-direction: row;
    justify-content: center;
    margin: 1rem 0;
  }
  
  .hero-logo-item {
    width: 100px;
    padding: 0.6rem;
  }
  
  .hero-logo-item img {
    width: 50px;
    height: 50px;
  }
  
  .section-title {
    font-size: 1.6rem;
    text-align: center;
    border-left: none;
    border-bottom: 3px solid #ffb347;
    padding-bottom: 0.5rem;
    display: inline-block;
    width: auto;
    margin-left: auto;
    margin-right: auto;
  }
  
  .engages-grid {
    gap: 1rem;
  }
  
  .card {
    min-width: calc(50% - 0.5rem);
    flex: 0 0 calc(50% - 0.5rem);
  }
  
  .timeline-full {
    padding: 1rem;
  }
  
  .timeline-hour {
    font-size: 1rem;
  }
  
  .timeline-title {
    font-size: 1rem;
  }
  
  .timeline-desc {
    font-size: 0.8rem;
  }
  
  .security-content {
    flex-direction: column;
    padding: 1.5rem;
    text-align: center;
  }
  
  .security-logo-left, .security-logo-right {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }
  
  .security-center h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .security-two-columns {
    flex-direction: column;
  }
  
  .security-badge {
    justify-content: center;
  }
  
  .animation-grid {
    gap: 1rem;
  }
  
  .anim-card {
    padding: 1rem;
  }
  
  .anim-title {
    font-size: 1rem;
  }
  
  .sponsor-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }
  
  .sponsor-logo-img {
    width: 50px;
    height: 50px;
  }
  
  .sponsor-name {
    font-size: 0.55rem;
  }
  
  .footer {
    border-radius: 1.5rem 1.5rem 0 0;
    margin: 1rem 0 0;
    padding: 2rem 1rem 1rem;
  }
  
  .footer-content {
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-section h4 {
    display: block;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-main-title {
    font-size: 1.6rem;
  }
  
  .hero-main-title span {
    font-size: 0.9rem;
  }
  
  .hero-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
  }
  
  .time-block {
    padding: 0.4rem 0.6rem;
    min-width: 55px;
  }
  
  .time-number {
    font-size: 1.4rem;
  }
  
  .card {
    min-width: 100%;
    flex: 0 0 100%;
  }
  
  .stat-number {
    font-size: 1.4rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  .sponsor-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .security-center h2 {
    font-size: 1.5rem;
  }
  
  .security-center h3 {
    font-size: 0.9rem;
  }
  
  .security-description {
    font-size: 0.85rem;
  }
}
