/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0e17;
  --bg2:       #0f1623;
  --bg3:       #161d2e;
  --accent:    #00c9ff;
  --accent2:   #0066ff;
  --text:      #e8edf5;
  --text-muted:#7a8aa0;
  --border:    rgba(255,255,255,0.07);
  --radius:    12px;
  --font-body: 'Inter', sans-serif;
  --font-head: 'Space Grotesk', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== LANG FILTER ===== */
.lang-hidden { display: none !important; }

/* ===== LANG SWITCH ===== */
.lang-switch {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10, 14, 23, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0.1rem 0.2rem;
}
.lang-btn.active { color: var(--accent); }
.lang-btn:hover { color: var(--text); }
.lang-sep { color: var(--border); font-size: 0.9rem; }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: saturate(0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,14,23,0.7) 0%,
    rgba(0,102,255,0.12) 50%,
    rgba(10,14,23,0.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(0,201,255,0.3);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.5rem;
}

.hero-name {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.2rem;
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.85rem 2.2rem;
  border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px rgba(0,201,255,0.25);
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(0,201,255,0.4); }

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.7); }
}

/* ===== SECTION SHARED ===== */
section { padding: 7rem 0; }

.section-title {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.section-title.centered { text-align: center; }

.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 3.5rem;
}
.section-sub.centered { text-align: center; }

/* ===== ABOUT ===== */
.about { background: var(--bg2); }

.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-photo-wrap {
  position: relative;
}

.about-photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 3/4;
  background: var(--bg3);
  position: relative;
}
.about-photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,201,255,0.08), transparent);
  z-index: 1;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder si pas de photo */
.about-photo[src="assets/photo.jpg"]:not([complete]),
.about-photo:not([src]) {
  background: var(--bg3);
}

.about-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,102,255,0.3);
}
.badge-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.badge-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.8);
  margin-top: 0.2rem;
}

.about-text { padding-top: 0.5rem; }

.about-lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.about-body {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(0,201,255,0.08);
  border: 1px solid rgba(0,201,255,0.2);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  letter-spacing: 0.03em;
}

/* ===== VIDEO SECTION ===== */
.video-section { background: var(--bg); }

.video-player-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,201,255,0.05);
  background: #000;
  position: relative;
}
.video-player-wrap::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0,201,255,0.15), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.main-player {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  background: #000;
}

/* ===== DOCS ===== */
.docs { background: var(--bg2); }

.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.doc-card:hover {
  border-color: rgba(0,201,255,0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,201,255,0.1);
}

.doc-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.doc-icon svg { width: 22px; height: 22px; }
.doc-icon.accent {
  background: rgba(0,201,255,0.08);
  border-color: rgba(0,201,255,0.2);
  color: var(--accent);
}

.doc-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.doc-type {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.doc-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}
.doc-size {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.doc-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color 0.2s, transform 0.2s;
}
.doc-arrow svg { width: 18px; height: 18px; }
.doc-card:hover .doc-arrow { color: var(--accent); transform: translateY(2px); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  text-align: center;
}
.footer-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.footer-title {
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  section { padding: 5rem 0; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-photo-frame { aspect-ratio: 4/3; max-width: 320px; margin: 0 auto; }
  .about-badge { right: calc(50% - 160px - 1rem); }

  .docs-grid { grid-template-columns: 1fr; }

  .hero-name { font-size: clamp(2.5rem, 12vw, 4rem); }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .lang-switch { top: 1rem; right: 1rem; }
}
