:root {
  --fond: #cae4c9;
  --entete: #747D7C;
  --vert-haut: #259856;
  --vert-bas: #237947;
  --texte: #1a1d1a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  line-height: 1.4;
}
img { display: block; max-width: 100%; height: auto; }

/* En-tête */
.entete {
  background: var(--entete);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 3vw;
}
.entete img { width: clamp(120px, 16vw, 300px); }
.entete p {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 2.2vw, 2.2rem);
  line-height: 1.2;
  max-width: 5.5em;
}

/* Navigation */
nav {
  background: linear-gradient(var(--vert-haut), var(--vert-bas));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: .4rem 1.5rem;
  padding: .8rem 2vw;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-size: clamp(1rem, 1.5vw, 1.5rem);
}
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; }
a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Contenu */
main { max-width: 1200px; margin: 0 auto; padding: 2rem 4vw 4rem; text-align: center; }
h1 {
  font-family: "Caveat", cursive;
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 4rem);
  margin: 0 0 1.5rem;
}
.masque { position: absolute; left: -9999px; }
p { margin: 1.5rem auto; max-width: 42em; }

.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.galerie img { width: 100%; aspect-ratio: 538 / 420; object-fit: cover; }

.portrait img,
.portrait video { margin: 0 auto; width: min(100%, 900px); display: block; height: auto; }
.bloc img { margin: 2rem auto 0; width: min(100%, 720px); }

.conseil {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  text-align: left;
}
.conseil p { margin: 0; }
.conseil img { width: 100%; }

main a { color: inherit; }

@media (max-width: 640px) {
  .conseil { grid-template-columns: 1fr; gap: 1rem; }
}