/* Base */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

a {
  color: #1a73e8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* En-tête */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 10px 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 1.3rem;
}

.logo img {
  height: 40px;
}

nav {
  display: flex;
  gap: 20px;
  font-size: 1rem;
}

/* Section principale */
main {
  padding: 40px 20px;
  text-align: center;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.cta {
  display: inline-block;
  margin-top: 20px;
  background: #1a73e8;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.2s ease-in-out;
}

.cta:hover {
  background: #155ab6;
}

/* Avantages */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 50px auto;
  max-width: 1100px;
  text-align: left;
}

.features div {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  width: 260px;
}

/* Confiance */
.trust {
  margin: 40px auto;
  max-width: 800px;
  text-align: center;
}

.trust ul {
  list-style: none;
  padding: 0;
}

.trust li {
  padding: 8px;
  font-size: 1.1rem;
}

/* Bandeau RGPD */
#bandeau-rgpd {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a73e8;
  color: white;
  padding: 12px 20px;
  text-align: center;
  font-size: 0.9rem;
}

#bandeau-rgpd button {
  margin-left: 15px;
  background: white;
  color: #1a73e8;
  border: none;
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
}

#bandeau-rgpd button:hover {
  background: #e5e5e5;
}
.compatibilite {
  background: #ffffff;
  margin: 50px auto;
  max-width: 900px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: left;
}

.compatibilite h2 {
  text-align: center;
  margin-bottom: 10px;
}
.hebergement-promo {
  background: linear-gradient(135deg, #eaf4ff, #f5faff);
  padding: 60px 20px;
  text-align: center;
  border-top: 2px solid #cce6ff;
  border-bottom: 2px solid #cce6ff;
}

.hebergement-promo h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #004d99;
}

.hebergement-promo p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 10px auto;
  color: #333;
}

.btn-hebergement {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 25px;
  font-size: 1.1rem;
  background-color: #007acc;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.btn-hebergement:hover {
  background-color: #005fa3;
}
.hebergement-promo {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
  border-top: 2px solid #eee;
  border-bottom: 2px solid #eee;
  margin-top: 40px;
}

.hebergement-promo h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #222;
}

.hebergement-promo p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 10px auto;
  color: #444;
}

.btn-hebergement {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 25px;
  font-size: 1.1rem;
  background-color: #007acc;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.btn-hebergement:hover {
  background-color: #005fa3;
}


.compatibilite ul {
  list-style: none;
  padding: 0;
}

.compatibilite li {
  padding: 6px 0;
  font-size: 1.05rem;
}
/* Responsive pour mobile */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 15px 20px;
  }

  .logo {
    font-size: 1.1rem;
  }

  nav {
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
  }

  nav a {
    flex: 1 1 45%;
    text-align: center;
    padding: 8px 0;
    border-radius: 5px;
    background: #f0f4ff;
    color: #1a73e8;
  }

  nav a:hover,
  nav a:focus {
    background: #d2e1ff;
    outline: none;
  }

  main {
    padding: 20px 15px;
  }

  .features {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .features div {
    width: 100%;
    max-width: 320px;
  }

  .compatibilite,
  .trust,
  .hebergement-promo {
    padding: 20px 15px;
    margin: 30px 10px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .cta {
    padding: 12px 20px;
    font-size: 1.1rem;
  }
}
/* Cacher le bouton hamburger sur grand écran */
#menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #1a73e8;
}

/* Menu par défaut */
nav#menu {
  display: flex;
  gap: 20px;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
  }

  #menu-toggle {
    display: block; /* bouton visible */
  }

  nav#menu {
    display: none; /* menu caché par défaut */
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  nav#menu.show {
    display: flex; /* menu affiché quand actif */
  }

  nav#menu a {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
  }

  nav#menu a:last-child {
    border-bottom: none;
  }
}