/* Réinitialisation */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

/* Bandeau bleu */
.top-banner {
  background-color: #004080;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.top-left {
  display: flex;
  gap: 15px;
}

.top-left span {
  font-size: 14px;
}

.top-left a {
  color: inherit;
  text-decoration: none;
}

.top-left a:hover {
  text-decoration: underline;
}

.top-right .linkedin-logo {
  width: 30px;
  height: 30px;
}

/* Header blanc */
.header {
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-top: 3px solid #004080;
}

.header .logo img {
  width: 180px;
}

/* Menu */
.menu ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.menu a {
  text-decoration: none;
  color: #004080;
  font-weight: bold;
}

/* Menu hamburgers */
.menu-hamburger-left,
.menu-hamburger-right {
  display: none;
  font-size: 30px;
  cursor: pointer;
  padding: 10px;
  background-color: #004080;
  color: white;
  border: none;
  position: absolute;
  top: 15px;
  z-index: 2000;
}

.menu-hamburger-left { left: 15px; }
.menu-hamburger-right { right: 15px; }

/* Menu adresse */
.address-menu {
  display: none;
  background-color: #004080;
  color: white;
  padding: 20px;
  position: absolute;
  top: 76px;
  left: 10;
  right: 0;
  z-index: 1000;
}

.address-menu div {
  margin-bottom: 10px;
}

/* Alignement icône + première ligne adresse */
.address-menu .address {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.address-menu .address i {
  margin-right: 8px;
  flex-shrink: 0;
}

.address-menu .address br {
  flex-basis: 100%;
  height: 0;
}

.address-menu a {
  color: inherit;
  text-decoration: none;
}

.address-menu a:hover {
  text-decoration: underline;
}

.linkedin-logo {
  width: 30px;
  height: 30px;
}

@media (max-width: 768px) {
  .address-menu .linkedin {
    display: flex;
    justify-content: center;
    margin-top: 15px;
  }
}

/* Hero avec effet parallax */
.hero {
  height: 60vh;
  background-image: url('images/hero-commun.jpg'); /* ton image de fond */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transition: opacity 0.3s ease-out;
  position: relative; /* nécessaire pour positionner le texte */
}
/* Remplace l'image du hero sur Prestations */
.page-prestations .hero {
  background-image: url("images/hero-prestations.jpg");
}

/* Remplace l'image du hero sur Réalisations */
.page-realisations .hero {
  background-image: url("images/hero-realisations.jpg");
}
/* Remplace l'image du hero sur Contact */
.page-contact .hero {
  background-image: url("images/hero-commun.jpg");
}

.hero-text {
  position: absolute;
  top: 30px; /* espace depuis le haut */
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 48px;
  font-weight: bold;
  background-color: rgba(0, 64, 128, 0.6); /* fond bleu semi-transparent */
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  max-width: 90%;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-hamburger-left,
  .menu-hamburger-right {
    display: block;
  }

  .header {
    justify-content: center;
    flex-direction: column;
  }

  .logo img {
    width: 80%;
  }

  .menu ul {
    display: none;
  }

  .menu ul.active {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .address-menu.active {
    display: block;
  }

  .top-banner {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-text {
    font-size: 20px; /* plus petit sur mobile */
    padding: 8px 15px;
  }
}

/* Présentation métier et société */
.presentation,
.societe {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: center;
}

.presentation h2,
.societe h2 {
  font-size: 28px;
  color: #004080;
  margin-bottom: 15px;
}

.presentation p,
.societe p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #333;
}

.atouts {
  list-style: none;
  padding: 0;
  text-align: left;
  display: inline-block;
}

.atouts li {
  font-size: 18px;
  margin-bottom: 8px;
}

.atouts li::before {
  content: "✔";
  color: #00cc66;
  font-weight: bold;
  margin-right: 8px;
}

/* Footer */
.site-footer {
  background-color: #004080;
  color: #fff;
  padding-top: 40px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 80px;
  flex-wrap: wrap;
  text-align: left;
}

/* Logo plus gros */
.footer-logo img {
  width: 100%;
  max-width: 400px; /* conserve la taille max sur desktop */
  height: auto;
}

/* Titres des colonnes */
.footer-col h3 {
  font-size: 16px;
  margin-bottom: 15px;
  border-bottom: 2px solid #fff;
  display: inline-block;
  padding-bottom: 5px;
}

@media (max-width: 768px) {
  .footer-logo {
    display: flex;
    justify-content: center;
  }
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

/* Icônes en blanc */
.contact-info i {
  margin-right: 8px;
  font-size: 16px;
  color: #fff;
}

.contact-info li {
  display: flex;
  align-items: center;
}

.contact-info span {
  display: inline-block;
}

/* Bas du footer */
.footer-bottom {
  background-color: #003366;
  text-align: center;
  padding: 10px;
  font-size: 12px;
  margin-top: 20px;
}

/* Mobile footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 30px;
  }

  .contact-info li {
    justify-content: center;
  }
}
