body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #1A1A1A;
  padding-top: 50px;
}

header {
  background: #4c6273;
  color: white;
  padding: 1rem;
}

.header {
  max-width: 1000px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero {
  background-image: url("Haut\ de\ page_Pixabay.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  aspect-ratio: 8 / 1;
  width: 100%;
  position: relative;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 2rem;
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  background: white;
  border-bottom: 1px solid #ddd;
  padding: 0.5rem 1rem;

  display: flex;
  justify-content: center;
  gap: 1.5rem;

  z-index: 1000;
}

.top-nav a {
  text-decoration: none;
  color: #3b3d3c;
  font-weight: bold;
  font-size: 0.9rem;
}

.top-nav a.active {
  color: #4C6273;
  border-bottom: 2px solid #4C6273;
}

.top-nav a:hover {
  text-decoration: underline;
}

html {
  scroll-behavior: smooth;
}

#langToggle {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  font-weight: bold;
}

.hero {
  background-image: url("Haut de page_Pixabay.png");
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero h1 {
  color: white;
  margin: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* contraste lisible */
}

.header-content {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  padding: 1.5rem 2rem;
}

/* Bloc logo + texte */
.brand {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.brand-logo {
  height: 65px;
  width: auto;
}

/* Titres */
.brand-text h1 {
  margin: 0;
  font-size: 1.6rem;
  color: white;
}

.hero-subtitle {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
  color: #eaeaea;
}

/* Bouton langue */
#langToggle {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 0.4rem 0.7rem;
  font-weight: bold;
  cursor: pointer;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 700px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  #langToggle {
    align-self: flex-end;
  }

  .brand {
    gap: 0.8rem;
  }

  .brand-logo {
    height: 55px;
  }
}

button {
  background: white;
  color: #3b3d3c;
  border: none;
  padding: 0.5rem 1rem;
  font-weight: bold;
  cursor: pointer;
}

main {
  max-width: 900px;
  margin: auto;
  padding: 2rem 1rem;
}

section {
  margin-bottom: 3rem;
  transition: opacity 0.2s ease;
}

.alt {
  background: #d4e1ee; /* bleu plus pâle, même famille */;
  padding: 2rem 1rem;
}

.alt {
  border-radius: 16px;
}

.alt {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

h2 {
  color: #3b3d3c;
}

h3 {
  color: #3b3d3c;
}

h4 {
  color: white;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
}

.clients-grid span {
  font-size: 0.95rem;
  color: #1A1A1A;
}

.clients-grid span::before {
  content: "• ";
  color: #4C6273;
}

.clients-grid {
  position: relative;
  padding: 1.5rem 0;
  margin-top: 1.5rem;
  border-top: 1px solid #4C6273;
  border-bottom: 1px solid #4C6273;
}

footer {
  padding: 1rem;
  background:#4c6273;
  color: white;
  font-size: 0.9rem;
}

footer > div {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hidden {
  display: none;
}
