/* ============ Reset & base ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* Logo fixe en haut à gauche, présent sur toutes les pages */
.site-logo {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 100;            /* au-dessus de tout, même de la vidéo et du menu */
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-logo img {
  display: block;
  height: 48px;            /* ajuste selon ton logo */
  width: auto;
}

.site-logo:hover,
.site-logo:focus-visible {
  transform: scale(1.05);
  opacity: 0.9;
  outline: none;
}

@media (max-width: 900px) {
  .site-logo {
    top: 1rem;
    left: 1rem;
  }
  .site-logo img {
    height: 36px;
  }
}
:root {
  --bg: #1c1818;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --radius-img: 14px;
  --max-width: 1280px;
  --gap: 4rem;
  --border: rgba(255, 255, 255, 0.12);
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ============ Navigation ============ */
.main-nav {
  position: relative;
  width: 100%;
  padding: 2.5rem 4rem;
  z-index: 2; /* au-dessus de la photo qui touche le haut */
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.main-nav a {
  color: var(--text);
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  opacity: 1;
  outline: none;
}

/* ============ Layout général ============ */
.page-contact {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

/* ============ Bloc Bio ============ */
.bio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
  margin-top: 2rem;
}

.bio__text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.bio__text p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.bio__text p:last-child {
  margin-bottom: 0;
}

.bio__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-img);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ============ Bloc Outils ============ */
.tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}

.tools__media img {
  width: 100%;
  height: auto;
  max-width: 560px;
}

.tools__text p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.tools__text p:last-child {
  margin-bottom: 0;
}

/* ============ Footer ============ */
.site-footer {
  max-width: var(--max-width);
  margin: 5rem auto 0;
  padding: 2rem 4rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer__email {
  color: var(--text);
  font-size: 1.05rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-footer__email:hover {
  opacity: 0.75;
}

.site-footer__social {
  list-style: none;
  display: flex;
  gap: 1.25rem;
}

.site-footer__social a {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-footer__social a:hover {
  opacity: 0.75;
  transform: translateY(-2px);
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .main-nav {
    padding: 1.5rem;
  }
  .main-nav ul {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
  .main-nav a {
    font-size: 1rem;
  }

  .page-contact {
    padding: 2rem 1.5rem;
    gap: 3.5rem;
  }

  .bio,
  .tools {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 0;
  }

  .bio__text {
    order: 2;
  }
  .bio__media {
    order: 1;
  }

  .bio__text h1 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
  }

  .tools__media img {
    max-width: 320px;
    margin: 0 auto;
  }

  .site-footer {
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}