:root {
  --bg: #08080d;
  --surface: #12121b;
  --line: #23232f;
  --text: #ecebf3;
  --muted: #8d8ca1;
  --accent: #ff3d9a;   /* magenta néon */
  --accent-2: #6a5cff; /* violet électrique */
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(8,8,13,.85), transparent);
  backdrop-filter: blur(6px);
}
.logo { font-weight: 700; letter-spacing: .22em; font-size: .85rem; }
.nav nav { display: flex; gap: 1.75rem; font-size: .9rem; color: var(--muted); }
.nav nav a:hover { color: var(--text); }

/* Typo */
.eyebrow {
  text-transform: uppercase; letter-spacing: .3em; font-size: .75rem;
  color: var(--accent); margin: 0 0 1rem;
}
h1 { font-size: clamp(3rem, 10vw, 7.5rem); line-height: .95; margin: 0 0 1.25rem; letter-spacing: -.03em; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin: 0 0 1rem; letter-spacing: -.02em; line-height: 1.1; }

/* Boutons */
.btn {
  display: inline-block; border: 0; cursor: pointer; font: inherit; font-weight: 600;
  padding: .9rem 1.8rem; border-radius: 999px; color: #fff;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 28px -6px var(--accent);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 38px -4px var(--accent); }
.btn--ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; color: var(--muted); }
.btn--ghost:hover { color: var(--text); border-color: var(--accent); box-shadow: none; }

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  text-align: center; padding: 6rem 1.5rem 4rem; overflow: hidden;
}
.hero__glow {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 35% at 25% 30%, rgba(255,61,154,.28), transparent 70%),
    radial-gradient(45% 40% at 78% 65%, rgba(106,92,255,.30), transparent 70%);
  filter: blur(30px); animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(3%, -3%, 0) scale(1.08); } }
.hero__inner { position: relative; max-width: 900px; }
.hero__tagline { color: var(--muted); font-size: clamp(1rem, 2vw, 1.3rem); margin: 0 auto 2.25rem; max-width: 34ch; }

/* Sections */
.section { padding: clamp(4rem, 9vw, 8rem) clamp(1.25rem, 5vw, 4rem); max-width: 1200px; margin: 0 auto; }
.section__head { margin-bottom: 2.5rem; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, var(--surface), #1b1530); border: 1px solid var(--line);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo.is-empty img { display: none; }
.about__text p { color: var(--muted); }

/* Carrousel */
.carousel {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--surface);
  box-shadow: 0 0 60px -20px rgba(106,92,255,.5);
}
.carousel:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.carousel__track { display: flex; height: 100%; transition: transform .7s cubic-bezier(.65,.05,.25,1); }
.slide { flex: 0 0 100%; margin: 0; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide--placeholder {
  display: grid; place-items: center; color: var(--muted); letter-spacing: .2em; text-transform: uppercase;
  background: linear-gradient(135deg, #14141f, #1f1838);
}
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.15); cursor: pointer;
  background: rgba(8,8,13,.55); color: var(--text); font-size: 1.6rem; line-height: 1;
  backdrop-filter: blur(6px); transition: border-color .2s, box-shadow .2s;
}
.carousel__btn:hover { border-color: var(--accent); box-shadow: 0 0 18px -4px var(--accent); }
.carousel__btn--prev { left: 1rem; }
.carousel__btn--next { right: 1rem; }
.carousel__controls { display: flex; justify-content: space-between; align-items: center; margin-top: 1.25rem; gap: 1rem; flex-wrap: wrap; }
.carousel__dots { display: flex; gap: .5rem; flex-wrap: wrap; }
.dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; transition: .25s; }
.dot.is-active { background: var(--accent); box-shadow: 0 0 10px var(--accent); transform: scale(1.3); }

/* Formulaire */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 760px; }
.form label { display: flex; flex-direction: column; gap: .5rem; font-size: .85rem; color: var(--muted); }
.form__full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; padding: .85rem 1rem; transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,61,154,.15);
}
.form__hint { color: var(--muted); font-size: .8rem; margin: 0; }

/* Footer */
.footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding: 2rem clamp(1.25rem, 5vw, 4rem); border-top: 1px solid var(--line);
  color: var(--muted); font-size: .85rem;
}
.footer p { margin: 0; }
.footer a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .nav nav { gap: 1rem; }
  .carousel { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__glow { animation: none; }
  .carousel__track { transition: none; }
  html { scroll-behavior: auto; }
}
