/* ------------------------------
   RESET DE BASE
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  background: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

/* ------------------------------
   STRUCTURE GLOBALE
------------------------------ */
main.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

section {
  margin-bottom: 40px;
}

/* ------------------------------
   IMAGE D'ACCUEIL (Fix pour Chrome & Edge)
------------------------------ */
.hero-image {
  width: 100%;
  max-width: 1100px; /* Aligné sur la largeur de ta structure globale */
  margin: 0 auto 30px auto;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;      /* Force Chrome à respecter les proportions */
  display: block;    /* Retire l'espace vide sous l'image */
  object-fit: cover;
}

/* ------------------------------
   TITRES
------------------------------ */
h1 {
  font-size: 2.2rem;
  color: #1A3D6B;
  margin-bottom: 20px;
}

h2 {
  font-size: 1.5rem;
  color: #1A3D6B;
  margin: 25px 0 10px;
}

/* ------------------------------
   LISTES
------------------------------ */
ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

li {
  margin-bottom: 8px;
}

/* ------------------------------
   CTA FINAL (Bouton partagé sur tout le site)
------------------------------ */
.cta-final {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 20px;
  clear: both; /* Sécurité pour la mise en page */
}

.cta-final h2 {
  color: #1A3D6B;
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.cta-final .cta {
  background: #1A3D6B;
  color: white;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block; /* Permet un calcul propre des marges internes du bouton */
  transition: background 0.2s ease;
}

.cta-final .cta:hover {
  background: #0A1F3C; /* Bleu plus sombre au survol */
}

/* Inverser la couleur du logo (bleu devient blanc) */
.logo-img {
  filter: invert(1) brightness(2);
}

/* ------------------------------
   RESPONSIVE GLOBAL
------------------------------ */
@media (max-width: 768px) {
  main.page {
    padding: 20px 15px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.3rem;  
  }
  
  .cta-final {
    margin-top: 40px;
  }
  
  .cta-final h2 {
    font-size: 1.4rem;
  }
}