/* === Reset basique et mise en forme globale === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f0f4f8;
  color: #222;
  line-height: 1.6;
  font-size: 16px;
  scroll-behavior: smooth;
}

a {
  color: #004080;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover, a:focus {
  color: #0066cc;
  outline: none;
}

/* === Header & navigation sticky === */
header {
  background: #004080;
  color: white;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 10000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  display: flex;
  justify-content: center;
}

nav {
  display: flex;
  gap: 2rem;
  font-weight: 600;
  font-size: 1.1rem;
}
nav a {
  color: white;
  position: relative;
  padding-bottom: 3px;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ffd700;
  transition: width 0.3s ease;
}

nav a:hover::after, nav a:focus::after {
  width: 100%;
}

/* === Main container styling === */
main {
  max-width: 960px;
  margin: 3rem auto;
  background: white;
  border-radius: 10px;
  padding: 2.5rem 3rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* === Sections spacing === */
section {
  margin-bottom: 4rem;
}

/* === Headings styling === */
h1, h2, h3 {
  color: #004080;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.4rem;
  margin-top: 1.5rem;
}

/* === Paragraph spacing === */
p {
  margin-bottom: 1.25rem;
  color: #444;
}

/* === Lists styling with custom check marks === */
ul {
  list-style: none;
  margin-left: 0;
  padding-left: 1rem;
}

ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
  color: #333;
}

ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #2a9d8f;
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
}

/* === Buttons styling === */
.btn-contact {
  display: inline-block;
  background: #2a9d8f;
  color: white;
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(42, 157, 143, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
  cursor: pointer;
}

.btn-contact:hover, .btn-contact:focus {
  background: #21867a;
  box-shadow: 0 6px 12px rgba(33, 134, 122, 0.6);
  outline: none;
}

/* === Blockquotes styling === */
blockquote {
  border-left: 5px solid #2a9d8f;
  background: #e0f2f1;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #336666;
  border-radius: 6px;
  box-shadow: inset 0 0 8px rgba(42, 157, 143, 0.1);
  transition: background-color 0.3s ease;
}

/* === Footer styling === */
footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #ddd;
  background: #f9fafb;
}

/* === Responsive improvements === */
@media (max-width: 768px) {
  main {
    margin: 2rem 1rem;
    padding: 1.5rem 1.5rem;
  }
  header {
    padding: 1rem;
  }
  nav {
    gap: 1rem;
    font-size: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  nav a {
    padding: 0.5rem 0;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.2rem;
  }
}

/* === Smooth fade-in animations for sections === */
section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

section:nth-child(1) {
  animation-delay: 0.15s;
}
section:nth-child(2) {
  animation-delay: 0.3s;
}
section:nth-child(3) {
  animation-delay: 0.45s;
}
section:nth-child(4) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    margin-left: auto;
  }

  nav {
    display: none;
    flex-direction: column;
    background: #004080;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 0.8rem 0;
    font-size: 1.2rem;
  }
}
form {
  max-width: 600px;
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #004080;
}

input, textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
  border-color: #2a9d8f;
  outline: none;
}

#form-status {
  margin-top: 1rem;
  font-weight: 600;
}
