@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');

/* Réinitialisation et styles de base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  text-align: justify;
}

/* Section d'appel à l'action */
#cta {
    background: #fff;
    text-align: center;
    padding: 60px 20px;
    border-top: 2px solid #3498db;
    border-bottom: 2px solid #3498db;
    margin-top: 40px;
  }
  
  #cta .content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    color: #3498db;
    margin-bottom: 20px;
  }
  
  #cta .content p {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 30px;
  }
  
  #cta .cta-button {
    display: inline-block;
    background: #3498db;
    color: #fff;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s ease;
  }
  
  #cta .cta-button:hover {
    background: #2874a6;
  }
  

header {
  background: #fff;
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 2px solid #3498db;
}
header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5em;
  color: #3498db;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  letter-spacing: 2px;
}
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* Styles des sections */
section {
  position: relative;
  padding: 60px 20px;
}
section .content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Sections à fond blanc */
.section-white {
  background: #fff;
}

/* Sections à fond coloré avec overlay semi-transparent */
.section-colored {
  color: #fff;
  overflow: hidden;
  position: relative;
}
.section-colored::before,
.section-colored::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.section-colored::after {
  background-color: #135988;
  opacity: 0.7;
}

/* Images spécifiques pour chaque section colorée */
#avatar-ily.section-colored::before {
  background: url('images/1.jpg') no-repeat center center;
  background-size: cover;
}
#accessibilite-culture.section-colored::before {
  background: url('images/2.jpg') no-repeat center center;
  background-size: cover;
}
#solution-pro.section-colored::before {
  background: url('images/3.jpg') no-repeat center center;
  background-size: cover;
}

/* Marges pour les listes */
ul, ol {
  margin-left: 20px;
  margin-top: 10px;
}

/* Adaptabilité mobile */
@media (max-width: 768px) {
  section {
    padding: 40px 10px;
  }
}
