/* =========================
   VARIABLES & FONTS
========================= */
:root {
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255,255,255,0.15);
  --blue-dark: #0f1a33;
  --accent-yellow: #FFD700;
  --accent-red: #FF4500;
  --text-color: #EDEDED;
  --font-family: 'Inter', sans-serif;
}

/* =========================
   GLOBAL
========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  background: var(--blue-dark);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
}

/* =========================
   HEADER
========================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-left {
  display: flex;
  align-items: center;
}

.logo-header img { 
  width: 150px;
  transition: 300ms;
}

.logo-header:hover img { 
  filter: saturate(0);
  transform: transition ease;
  cursor: pointer;
}

.nav-links a {
  margin-left: 2rem;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  transition: color 0.3s;
}

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

.btn-essai {
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background-color: var(--accent-red);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
}

.btn-essai:hover {
  background-color: #6f170595;
  backdrop-filter: blur(520px);
}

/* =========================
   HERO
========================= */
#accueil {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 5rem;
}

#accueil h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

#accueil p {
  font-size: 1.2rem;
  max-width: 700px;
  margin-bottom: 2rem;
  color: #d1d5db;
}

#accueil .btn-discover {
  padding: 0.6rem 1.5rem;
  border-radius: 9999px;
  background-color: var(--accent-yellow);
  color: #000;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

#accueil .btn-discover:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 10px var(--accent-yellow);
}

/* =========================
   GLASS CARDS
========================= */
.glass-card {
  backdrop-filter: blur(10px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1.2rem;
  padding: 2rem;
  margin: 2rem 0;
  max-width: 650px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(255,255,255,0.1);
}

.glass-card h2 {
  margin-bottom: 1rem;
}

.glass-card ul {
  padding-left: 1.2rem;
}

/* =========================
   MISSIONS GRID
========================= */
.missions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media(min-width: 768px){
  .missions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mission-card h3 {
  margin-bottom: 0.8rem;
  color: var(--accent-yellow);
}

/* =========================
   SECTIONS
========================= */
section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6rem 5% 3rem;
}

/* Grille direction */
.direction-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
}

@media(min-width: 768px){
  .direction-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.direction-card h3 {
  margin-bottom: 0.8rem;
  color: var(--accent-yellow);
  text-align: center;
}

.direction-card p {
  text-align: center;
  margin: 0.3rem 0;
}

/* =========================
   DISCLAIMER
========================= */
.disclamer {
  box-sizing: border-box;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  max-width: 1100px;
  margin: 20px auto;
  padding: clamp(18px, 2.5vw, 28px);
  background: linear-gradient(90deg, rgba(45,18,12,0.95), rgba(70,20,10,0.9));
  color: #fff;
  border-left: 6px solid #f6c94d;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  gap: 18px;
}

.disclamer::before{
  content: "⚠️";
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1;
  margin-left: 4px;
  margin-right: 6px;
  flex: 0 0 auto;
}

.disclamer h1 {
  margin: 0;
  padding: 0;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,0.6);
}

@media (min-width: 1100px) {
  .disclamer h1 { font-size: 1.1rem; }
}

@media (max-width: 600px) {
  .disclamer {
    padding: 14px;
    border-left-width: 5px;
    border-radius: 10px;
    gap: 12px;
  }
  .disclamer::before { font-size: 28px; }
  .disclamer h1 { font-size: 0.95rem; }
}

/* =========================
   SCROLL ANIMATION
========================= */
.scroll-anim {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

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

/* =========================
   FOOTER
========================= */
footer {
  width: 100%;
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  color: var(--text-color);
}

/* =========================
   RESPONSIVE
========================= */
@media (min-width: 768px) {
  #accueil h1 { font-size: 3.8rem; }
  #accueil p  { font-size: 1.4rem; }
}
