/* ===== VARIABLES & RESET ===== */
:root {
  --primary: #89213A;
  --primary-light: #2d1515;
  --accent: #e63946;
  --accent-secondary: #ff6b6b;
  --white: #ffffff;
  --page-bg: var(--white);
  --text: #ffffff;
  --other:#003771;
  --text-muted: #e8e8e8;
  --gradient-hero: linear-gradient(135deg, #1a0a0a 0%, #2d1515 40%, #4a1a1a 100%);
  --gradient-accent: linear-gradient(135deg, #e63946, #ff6b6b);
  --gradient-red-white: linear-gradient(135deg, #e63946, #ffffff);
  --shadow: 0 10px 40px rgba(230, 57, 70, 0.15);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  background: var(--page-bg);
  color: var(--text);
  overflow-x: hidden;
}

/* Texte placé directement dans le body (hors éléments) */
.body-direct-text {
  color: #ff0000;
}

/* ===== TOP BAR (Social + Contact) ===== */
.top-bar {
  background: var(--other);
  padding: 0.6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
  z-index: 1001;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--text-muted);
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.top-contact {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.top-contact span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.top-contact i {
  color: var(--text-muted);
}

/* ===== NAVBAR ===== */
.navbar {
  
  background: var(--other);
  backdrop-filter: blur(20px);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}



.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--other);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 1.2rem;
}

.footer-social a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: #ffffff !important;
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  width: 100%;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== REUSABLE ANIMATION CLASSES ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
  }
  
  .top-contact {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--primary-light);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition);
    z-index: 999;
  }
  
  .nav-links.active {
    right: 0;
  }
}
