body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  color: #f1f3ff;
  background: radial-gradient(circle at top left, rgba(255,79,163,0.16), transparent 24%),
              radial-gradient(circle at bottom right, rgba(255,123,0,0.18), transparent 20%),
              #090b1a;
}
* {
  box-sizing: border-box;
}
img {
  max-width: 100%;
  display: block;
}
header {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  text-align: center;
  color: #ffffff;
  background: url('sofunaccueil.jpg') center center/contain no-repeat;
  background-color: #070b26;
}
header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 38, 0.08);
  pointer-events: none;
}
header h1,
header p {
  position: relative;
  z-index: 1;
}
header h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.05;
  text-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}
header p {
  margin: 1.2rem auto 0;
  max-width: 730px;
  font-size: 1.08rem;
  line-height: 1.9;
  color: #f8f8ff;
}
nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  background: rgba(9, 12, 30, 0.92);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}
nav a {
  color: #f7f7ff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
nav a:hover,
nav a:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 79, 163, 0.18);
  box-shadow: 0 16px 30px rgba(255, 79, 163, 0.18);
}
main {
  padding: 3rem 1.25rem 4rem;
  max-width: 1040px;
  margin: auto;
}
section {
  margin-bottom: 2.4rem;
  padding: 2.2rem;
  border-radius: 28px;
  background: rgba(10, 14, 35, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.16);
}
h2 {
  margin: 0 0 1.3rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: #ff925c;
  border-bottom: 3px solid #ff4fa3;
  padding-bottom: 0.35rem;
}
p,
li {
  font-size: 1rem;
  line-height: 1.8;
  color: #d7d9f6;
}
.tarifs,
.evenements {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.tarifs th,
.tarifs td,
.evenements th,
.evenements td {
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 1.05rem;
  text-align: left;
}
.tarifs th,
.evenements th {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}
.tarifs tr:nth-child(even),
.evenements tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}
.cours-liste {
  margin: 1rem 0 0;
  padding-left: 1.4rem;
  list-style: none;
}
.cours-liste li {
  position: relative;
  margin-bottom: 0.9rem;
  padding-left: 1.6rem;
}
.cours-liste li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #ff4fa3;
  font-size: 1.4rem;
  line-height: 1;
}
.cours-grid {
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 1.75rem;
  align-items: start;
}
.cours-grid img {
  width: 100%;
  max-width: 640px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.cours-secondary-image {
  width: 100%;
  margin-top: 1.5rem;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
@media (max-width: 900px) {
  .cours-grid {
    grid-template-columns: 1fr;
  }
}
footer {
  padding: 1.6rem 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: #b5b7e1;
  background: rgba(10, 14, 35, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
@media (max-width: 720px) {
  header {
    padding: 3.5rem 1rem 2.5rem;
    min-height: 420px;
    background-position: center top;
  }
  header h1 {
    font-size: 2.8rem;
  }
  nav {
    padding: 0.75rem 0.75rem;
  }
  nav a {
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }
  section {
    padding: 1.8rem;
    border-radius: 22px;
  }
}
@media (max-width: 480px) {
  main {
    padding: 2rem 1rem 3rem;
  }
  header h1 {
    font-size: 2.2rem;
  }
}
