/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: Arial, sans-serif;
  background-color: #fff; /* Fond blanc */
  color: #333;            /* Texte sombre */
  line-height: 1.5;
  height: 100%;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #004080;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* NAVBAR */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  background: #f8f8f8;
  border-bottom: 1px solid #ccc;
  z-index: 999;
  padding: 15px 0;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar .logo {
  font-size: 1.5em;
  font-weight: bold;
  color: #333;
}
.navbar nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
.navbar nav ul li a {
  color: #333;
  font-weight: 500;
}
.navbar nav ul li a:hover {
  color: #666;
}

/* Body offset for fixed navbar */
.body-offset {
  padding-top: 80px;
}

/* HERO SECTION with VIDEO */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.hero video.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  padding: 0 20px;
}
.hero-content h1 {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
}
.hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
}
.hero-content .btn {
  padding: 15px 30px;
  background: #0066cc;
  color: #fff;
  text-decoration: none;
  font-size: 1em;
  border-radius: 5px;
  transition: background 0.3s ease;
}
.hero-content .btn:hover {
  background: #0055a3;
}

/* SECTION */
section {
  margin-bottom: 40px;
}
section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
}
section p {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* CARD */
.card {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}
.card img {
  width: 300px;
  object-fit: cover;
}
.card-content {
  padding: 20px;
}
.card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
}
.card-text {
  margin-bottom: 10px;
  line-height: 1.4;
}

/* FORMS & BUTTONS */
form {
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 15px;
}
.form-label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}
.form-control {
  width: 100%;
  padding: 10px;
  background: #fff;
  border: 1px solid #ccc;
  color: #333;
  border-radius: 4px;
}
.form-control:focus {
  outline: none;
  border-color: #999;
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #0066cc;
  color: #fff;
  border-radius: 4px;
  transition: background 0.3s ease;
  cursor: pointer;
  text-align: center;
}
.btn:hover {
  background: #0055a3;
}

/* ALERTS */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  color: #fff;
}
.alert-danger {
  background-color: #b91c1c;
}
.alert-info {
  background-color: #2563eb;
}

/* FOOTER */
footer {
  background: #f0f0f0;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid #ccc;
}
footer p {
  font-size: 0.9em;
  color: #666;
}
