<!-- style.css -->
body {
  font-family: 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
  color: #333;
}

.main-header {
  background: #ffffff;
  padding: 1em;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.5em;
  margin: 1em 0 0;
}

nav a {
  text-decoration: none;
  color: #005b4f;
  font-weight: bold;
}

.hero {
  position: relative;
  height: 60vh; /* Hauteur réduite à 60% de l'écran */
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 2rem;
  text-align: center;
  border-radius: 8px;
  max-width: 90%;
}

.cta {
  display: inline-block;
  margin-top: 1rem;
  background: #045D4C;
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

.content {
  max-width: 900px;
  margin: auto;
  padding: 2em;
  background: white;
}


/* Styles de base pour la démo, à placer dans votre fichier style.css */
        h1, h2, h3 { font-family: 'Merriweather', serif; }
        .hero-overlay h2 { color: white; } /* Style qui était auparavant en ligne */
        .cta { display: inline-block; padding: 10px 20px; background-color: #c0392b; color: white; text-decoration: none; border-radius: 5px; margin-top: 1em; }
        .content { max-width: 800px; margin: 2em auto; padding: 0 1em; }
        .quote { font-style: italic; color: #555; border-left: 3px solid #c0392b; padding-left: 1em; margin: 2em 0; }
        .benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5em; margin-top: 1.5em; }
        .benefit-item { padding: 1em; border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }


ul {
  padding-left: 1.2em;
}

.full-width-image {
  width: 100%;
  margin-top: 2em;
  border-radius: 12px;
}

.portrait {
  max-width: 200px;
  border-radius: 100%;
  display: block;
  margin: 0 auto 1em;
}

footer {
  background: #eee;
  text-align: center;
  padding: 1em;
  font-size: 0.9em;
  color: #555;
}

/* Images générales dans le contenu */
.content img {
  max-width: 100%;   /* ne dépasse jamais la largeur du conteneur */
  height: auto;      /* conserve les proportions */
  display: block;    /* évite les espaces en ligne */
  margin: 1.5em auto; /* espace vertical et centrage */
  border-radius: 12px; /* arrondir un peu les angles, optionnel */
}

/* Pour l’image de la section intro et heritage, tu peux aussi ajouter */
.intro img,
.heritage img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5em auto;
  border-radius: 12px;
}