* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: white;
  background-color: #000;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.logo span {
  color: #0099ff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.hero {
  background: url('../../ressources/images/fond-codage.png') center/cover no-repeat;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 50px 50px 50px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero h1 span {
  color: #fefefe;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
}

.highlight {
  color: #00a2ff;
  font-weight: bold;
}

.cta {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 25px;
  border: 2px solid #0099ff;
  color: #0099ff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.cta:hover {
  background: #0099ff;
  color: #000;
}
footer {
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  padding: 20px;
  position: relative;
  font-family: 'Segoe UI', sans-serif;
}

.bot {
  color: #0099ff;
  font-weight: bold;
  font-family: 'Segoe UI', sans-serif;
}
/* Layout de base */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0a0f15;
  color: white;
  padding: 1rem 2rem;
}

.logo {
  font-weight: bold;
  font-size: 1.5rem;
}

.logo span {
  color: #00aaff;
}

.navbar {
  display: flex;
  gap: 1.5rem;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Menu responsive */
#menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .navbar {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #0a0f15;
    flex-direction: column;
    align-items: center;
    width: 100%;
    display: none;
    padding: 1rem;
  }

  .hamburger {
    display: block;
  }

  #menu-toggle:checked + .hamburger + .navbar {
    display: flex;
  }
}

button {
  background: none;
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

.rectangle-blanc {
  background: #fff;
  color: #222c36;
  margin:  0 auto;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 16px rgba(0,0,0,0.1);
  max-width: 400px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}