:root {
    --secondary-blue: #005F73;
    --secondary-black: #000000;
    --secondary-black-50: #00000080;
    --primary: #001219;
    --secondary-orange: #E9D8A6;
    --secondary-orange-10: #F9A6201A;
    --secondary-white: #ffffff;
    --secondary-white-10: #FEFAE01A;

    --secondary-light-blue: #0A9396;
    --audiovisual-color-50: #0A939680;
    --audiovisual-color-10: #0A93961A;
    --graphisme-color: #bd94d2;
    --graphisme-color-10: #bd94d21A;
    --secondary-dark-orange: #EE9B00;
    --secondary-red: #ae2012;
    --web-color-10: #EE9B001A;
}

.about-div {
  display: flex;
  align-items: center;
  gap: 20px;
}

.about-txt {
  flex: 2;
}

.questions {
  display: flex;
  gap: 20px;
  flex: 3;
}

.questions div {
  background-color: var(--secondary-white-10);
  flex: 1;
  padding: 20px;
  border-radius: 8px;
}

.questions h3 {
  text-align: center;
}

.center-title {
  text-align: center;
  font-size: 1.8em;
}

.clients {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.clients li {
  padding: 20px;
  border-radius: 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  text-align: center;
}

.clients li:nth-child(1) {
  background-color: var(--secondary-blue);
}
.clients li:nth-child(2) {
  background-color: var(--secondary-light-blue);
}
.clients li:nth-child(3) {
  background-color: var(--secondary-dark-orange);
}
.clients li:nth-child(4) {
  background-color: var(--secondary-red);
}
  summary {
    cursor: pointer;
    padding: 10px;
    border-radius: 50px;
    width: fit-content;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
list-style: "+ " inside;}

  summary:hover, details[open] summary {
    background-color: var(--secondary-white-10);
  }

  details ul {
    font-style: italic;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    padding: 10px;
    padding-left: 50px;
  }

  details li {
    list-style: "→ " inside;
  }

  details[open] ul {
    max-height: 200px; /* Une valeur assez grande pour ton contenu */
    opacity: 1;
  }

  details[open] summary {
    list-style: "- " inside;
  }

  .intro-banner {
    background-image: url(img/backgrounds/banner-web.jpg);
    background-size: cover;
    background-position: bottom;
    z-index: -2;
  }

.intro-banner .contents {
    position: relative;
    padding: 10%;
    z-index: 1;
}


.banner-logo {
  z-index: -1;
    opacity: 0.4;
    width: 30vw;
    position: absolute;
    left: -8%;
    top: 50%;
    transform: translateY(-50%);
}

.prestations-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.prestation-item {
    background-color: var(--secondary-white-10);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.prestation-item * {
  margin: 0;
}

.prestation-description {
  margin-bottom: 10px;
  font-style: italic;
}
.prix {
  margin-top: auto;
  font-size: 0.8em;
}
.prix span {
  font-weight: bold;
  font-size: 2em;
  color: var(--secondary-orange);
}

.demander-devis{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: black;
    width: 100vw;
    position: relative;
    left: -20px;
    margin-top: 20px;
}

summary, .disclaimer {
    font-style: italic;
    font-size: 0.9em;
    opacity: 0.9;
}

.avis-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
}

.avis-container iframe {
  border-radius: 8px;
}

/* responsive */
@media (max-width: 768px) {
  .about-div {
    flex-direction: column;
  }
  .questions {
    flex-direction: column;
  }
  .clients {
    grid-template-columns: repeat(2, 1fr);
  }
  .clients li {
    aspect-ratio: 1/1;
  }
  .clients li img {
    width: 50px;
  }

  .intro-banner {
    min-height: 85vh;
    margin-bottom: 10vh;
  }
.intro-banner .contents {
  text-align: center;
}
h1 {
  font-size: 2.5em;
  margin: 0;
}
  .banner-logo {
    width: 80vw;
  }
.prestations-list {
    grid-template-columns: 1fr;
}
}
