/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Instrument Sans", sans-serif;
  line-height: 1.6;
  color: #111;
}

/* Header */
header {
  padding: 10px 20px;
}
header h1 {
  font-size: 22px;
  font-weight: 1000;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* Presentation */
#presentation {
  text-align: left;
  padding: 40px 20px;
}
hr {
	margin-right: 20px;
	margin-left: 20px;
}
#presentation .logo {
  width: 80px;
  margin-bottom: 20px;
}
#presentation p {
  font-size: 24px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}


/* services */
.services {
  padding: 3rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
	.services-grid {
  display: block;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
}

.service-title h2 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.service-block h3 {
  color: #777;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-block ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-block li {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.link {
  color: #555;
  text-decoration: none;
  font-weight: 500;
}

.link:hover {
  color: #000;
}

/* stats */
.stats {
  background: #ffffff;
}

.stats-grid {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  text-align: center;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
	.stats-grid {
    display: block;
    justify-content: space-between;
    align-items: stretch;
    text-align: center;
    flex-wrap: wrap;
}
.container.stats-grid .stat:nth-of-type(1),
.container.stats-grid .stat:nth-of-type(3) {
  border-bottom: 1px solid #000;
}
}

.stat {
  flex: 1;
  padding: 2rem;
}

.stat h3 {
  font-size: 4rem;
  font-weight: 700;
}

.stat p {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: #555;
}

/* Séparation entre statistiques */
.divider {
  width: 1px;
  background: #ddd;
}

#equipe {
  padding: 50px 0;
}

#equipe h2 {
  text-align: left;
  margin-bottom: 40px;
}

.team-member {
  display: flex;
  justify-content: flex-end; /* place tout le bloc à droite */
  width: 100%;
      margin-top: -5%;
}

.team-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* texte aligné au bord de l’image */
  text-align: left;
  width: 47%; /* image + texte = 47% */
}

.team-text img {
  width: 90%;   /* l’image prend 90% de la largeur du conteneur team-text */
  height: auto;
  margin-bottom: 15px;
  display: block;
  border-radius: 12px;
}

.team-text h3 {
  margin: 5px 0;
  font-size: 20px;
}

.team-text p {
  margin: 0;
  font-size: 16px;
  color: #555;
}

/* Responsive : en mobile l’image et le texte passent en pleine largeur */
@media (max-width: 768px) {
  .team-member {
    justify-content: center;
  }

  .team-text {
    width: 100%;       /* occupe toute la largeur */
    text-align: left;
  }
  hr {
    margin-right: 3%;
    margin-left: 3%;
}
.service-block {
    margin-top: 15%;
}
}

/* Contact */
#contact {
  background: #ffffff;
}
#contact h2 {
    font-size: 26px;
    margin-bottom: 30px;
    border-top: 1px solid;
    border-bottom: 1px solid;
    padding-top: 20px;
    padding-bottom: 20px;
}
#contact span {
  font-weight: normal;
}
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}
.contact-info img {
  width: 50px;
}
.contact-info h4 {
  margin-bottom: 8px;
  font-size: 16px;
}
.contact-info a {
  font-size: 15px;
  color: #111;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 15px;
  background: #111;
  color: #fff;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  #presentation p {
    font-size: 18px;
  }
  #equipe h2 {
    font-size: 26px;
  }
  #contact h2 {
    font-size: 20px;
  }
}
