/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: var(--bleu-nuit);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.navbar-logo {
  font-family: var(--font-titre);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--or);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.navbar-logo span { color: var(--blanc-casse); }

.navbar-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.navbar-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blanc-casse);
  position: relative;
}
.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--or);
  transition: width var(--transition);
}
.navbar-links a:hover { color: var(--or); }
.navbar-links a:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--blanc-casse);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.actif span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.actif span:nth-child(2) { opacity: 0; }
.hamburger.actif span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile overlay */
.menu-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bleu-nuit);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.menu-mobile.actif { display: flex; opacity: 1; }
.menu-mobile a {
  font-family: var(--font-titre);
  font-size: 2rem;
  color: var(--blanc-casse);
}
.menu-mobile a:hover { color: var(--or); }

/* ===== FOOTER ===== */
.footer {
  background: #060e1a;
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}
.footer-logo {
  font-family: var(--font-titre);
  font-size: 1.8rem;
  color: var(--or);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-slogan {
  font-style: italic;
  color: var(--gris-clair);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin-bottom: 1.5rem;
}
.footer-nav a { font-size: 0.85rem; color: var(--gris-clair); }
.footer-mentions {
  font-size: 0.75rem;
  color: rgba(245,240,232,0.4);
}

/* ===== TICKER ===== */
.ticker-wrap {
  background: var(--rouge);
  overflow: hidden;
  padding: 0.6rem 0;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-block;
  animation: ticker-scroll 30s linear infinite;
}
.ticker-item {
  display: inline-block;
  padding: 0 3rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.ticker-item::before {
  content: '★';
  margin-right: 1rem;
  color: var(--or);
}

/* ===== GRILLES ===== */
.grille-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--espace-m);
}
.grille-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--espace-m);
}

/* ===== CARTES ===== */
.carte {
  background: var(--bleu-moyen);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 8px;
  padding: 2rem;
  transition: transform var(--transition), border-color var(--transition);
}
.carte:hover { transform: translateY(-4px); border-color: var(--or); }
.carte-icone { font-size: 2.5rem; margin-bottom: 1rem; }
.carte h3 { margin-bottom: 0.5rem; }

/* ===== PAGE HERO (intérieur) ===== */
.page-hero {
  padding: 8rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(135deg, var(--bleu-nuit) 0%, var(--bleu-moyen) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(212,175,55,0.03) 40px,
    rgba(212,175,55,0.03) 41px
  );
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grille-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .hamburger { display: flex; }
  .grille-3, .grille-2 { grid-template-columns: 1fr; }
  .section { padding: var(--espace-m) var(--espace-s); }
}

@media (max-width: 480px) {
  .btn { width: 100%; }
}

/* ===== HERO HOME ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
}
.hero-fond {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200,16,46,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(212,175,55,0.1) 0%, transparent 50%),
    linear-gradient(180deg, var(--bleu-nuit) 0%, #0d1e3a 100%);
}
.hero-fond::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 80px,
    rgba(212,175,55,0.03) 80px, rgba(212,175,55,0.03) 81px
  );
}
.hero-contenu {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero-contenu h1 { margin: 1rem 0 0.5rem; min-height: 1.2em; white-space: pre-line; }
.hero-boutons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-scroll-indicateur {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: flottement 2s ease-in-out infinite;
}
.hero-scroll-indicateur span {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--or);
  border-bottom: 2px solid var(--or);
  transform: rotate(45deg);
  opacity: 0.6;
}

/* ===== FOCUS & UTILITY ===== */
input:focus, textarea:focus {
  outline: none;
  border-color: var(--or) !important;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}
label:has(input[type=radio]:checked) {
  border-color: var(--or) !important;
  background: rgba(212,175,55,0.08);
}
.overflow-hidden { overflow: hidden; }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--or), transparent);
}
.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 69px;
  top: 1.2rem;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--or);
  border: 2px solid var(--bleu-nuit);
}
.timeline-annee {
  font-family: var(--font-titre);
  font-size: 1.1rem;
  color: var(--or);
  font-weight: 700;
  text-align: right;
  padding-top: 1rem;
}
@media (max-width: 768px) {
  .timeline { padding-left: 0; }
  .timeline::before { left: 40px; }
  .timeline-item { grid-template-columns: 55px 1fr; }
  .timeline-item::before { left: 48px; }
  .timeline-annee { font-size: 0.85rem; }
}
