@font-face {
  font-family: 'UpstairSans';
  src: url('../fonts/upstair-sans/UpstairSans.woff2') format('woff2'),
       url('../fonts/upstair-sans/UpstairSans.woff') format('woff'),
       url('../fonts/upstair-sans/UpstairSans.ttf') format('truetype'),
       url('../fonts/upstair-sans/UpstairSans.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* Page d'acceuil. Menu de navigation */
/* Page d'acceuil. Menu de navigation */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  background-color: #fff;
  border-top: 1px solid #f3dede;
  padding: 15px 40px;
  font-family: 'Poppins', sans-serif;

  /* Animation d’apparition subtile */
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
/* Classe ajoutée automatiquement via JS */
.navbar.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- LIENS CENTRÉS --- */
.nav-links {
  display: flex;
  justify-content: center;
  flex: 1; /* prend tout l’espace pour centrer */
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #6e6684;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #9b8cf2;
}

/* Bouton à droite */
  .btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #D6CFFF 0%, #ABA0F9 100%);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 13px 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
 
  .btn-nav:hover,
  .btn-nav:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(171, 160, 249, 0.4);
  }
 
  .btn-nav svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }





.acceuil_maintenance h1{
  padding-bottom: 20px;
  color: black;
  text-align: center;
  font-size: 40px;
  font-family: 'Playfair', sans-serif;
    font-weight: 500;
}
.acceuil_maintenance p{
  padding-bottom: 20px;
  color: #6e6684;
  font-family: 'Playfair', sans-serif;
  font-size: 20px;
  text-align: center;
}
.acceuil_maintenance span{
  color: #9b8cf2;
  font-weight: 600;
}
.acceuil_maintenance {
    background: #ffffff;
  background: linear-gradient(171deg, rgba(255, 255, 255, 1) 0%, rgba(254, 254, 254, 0.5) 46%, rgba(248, 244, 243, 1) 74%, rgba(235, 227, 245, 1) 100%, rgba(214, 207, 255, 1) 92%);
  filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#D6CFFF", endColorstr="#E8E5FF", GradientType=1 );
    padding: 60px;
}
.section-tag{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    color:#9b8cf2;
    font-size:14px;
    letter-spacing:1px;
    margin-bottom:30px;
    margin-top: 40px;
}






/*Mainteance services 3 colonnes, qu'est ce qu'on propose*/

.maintenance_services{
    padding:60px 50px;
}

.cards{
    display: grid;
    grid-template-columns:repeat(3,1fr);
    gap: 30px;
}
.card{
    background-color: white;
    padding: 30px;
    color: rgb(111, 110, 110);
    border: #ece6fa solid 1px;
    border-radius: 26px;
    text-align: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(230, 224, 248, 0.2);
}
  .maintenance_services .icon{
    width: 70px;
    height: 70px;
    background-color: #EDE8FB;
    border: none;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-8deg);
    transition: transform 0.5s ease, background-color 0.5s ease;
    cursor: pointer;
  }
 
.card:hover .icon {
    transform: rotate(0deg);
    background-color: #D6CFFF;
}
 
.maintenance_services .icon img {
    width: 32px;
    height: 32px;
    transition: transform 0.6s ease;
}

/* Titre */
.card h3 {
  font-weight: 500;
  color: #3a2f7f;
  font-size: 24px;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

/* Texte descriptif */
.card p {
  font-size: 17px;
  color: #8b88a6;
  font-family: 'Playfair Display', serif;
}
/* Effet hover */
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(171, 160, 249, 0.4);
  border-color: #c6b8f8;
  background-color: #faf8ff;
}
@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }
}







/* FORMULE MAINTEANCE */
.maintenance_formule h2{
    text-align: center;
    font-size: 28px;
    font-family: "Playfair Display", serif;
    color: #2d2845;
    margin-bottom: 40px;
    font-weight: 400;
}
.card h3{
    text-align: center;
    color: black;
    font-size: 22px;
}
.header-tag{
    letter-spacing:1,6px;
    font-weight: 200px;
    font-family: "Playfair Display", serif;

}
.maintenance_formule{
    padding:80px 40px;
}
.tags{
    display: grid;
    grid-template-columns:repeat(3,1fr);
    gap: 30px;
}
.tag{
    padding: 30px;
    color: rgb(111, 110, 110);
    transition: 0.3s;
    border: #ece6fa solid 1px;
    border-radius: 26px;
    font-size: 17px;
}
.tag:hover{
transform: translateY(-1px);
box-shadow: 0 6px 35px rgba(229, 226, 254, 0.55);
border-color: #EBE3F5;
transition: 0.5s; 
}
.maintenance_formule button{
    background-color: #ABA0F9;
    color: white;
    padding-right: 170px;
    padding-left: 170px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 26px;
    border: #F1E9E7 solid 1px;
    align-items: center;
    width: 100%;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
}
.maintenance_formule li{
    padding: 4px;
    text-align: left;
    font-family: 'Playfair Display', serif;
    font-weight: 200;
}
.prix_catégorie_maintenance{
    color: #ABA0F9;
    font-size: 50px;
    font-weight: 200;
    padding: 0;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

/*Box recommandée de couleur différente pour attirer l'attention sur la formule recommandée*/
.maintenance_formule .recommande{
background: #EBE3F5;
background: linear-gradient(70deg, rgba(235, 227, 245, 1) 0%, rgba(255, 255, 255, 1) 27%, rgba(255, 255, 255, 1) 100%);
border-radius: 26px;
}
.maintenance_formule .recommande:hover{
transform: translateY(-1px);
box-shadow: 0 6px 35px rgba(229, 226, 254, 0.55);
background: #EBE3F5;
background: linear-gradient(70deg, rgba(235, 227, 245, 1) 0%, rgba(255, 255, 255, 1) 27%, rgba(255, 255, 255, 1) 100%);
transition: 0.5s; 
}
.recommande button{
    color: #ABA0F9;
    padding-right: 170px;
    padding-left: 170px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 26px;
    border: #ABA0F9 solid 1px;
    align-items: center;
    background-color: white;
    width: 100%;
}
@media (max-width: 900px) {
  .tags {
    grid-template-columns: 1fr;
  }
}








/*Section FAQ première page*/

.faq {
    padding: 30px 20px;
    margin-top: 50px;
}

.faq h2 {
    text-align: center;
    font-size: 28px;
    font-family: "Playfair Display", serif;
    color: #2d2845;
    margin-bottom: 50px;
    margin-top: 70px;
}

.faq-container {
    max-width: 700px;
    margin: auto;
}

.faq-item {
    border-bottom: 1px solid #e8dff8;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: "Playfair Display", serif;
    font-size: 18px;
    font-weight: 500;
    color: black;
    text-align: left;
}

.icon {
    width: 34px;
    height: 34px;
    border: 1px solid #c8bfff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a79cff;
    font-size: 22px;
    flex-shrink: 0;
}

.faq-item.active .icon {
    background: #a79cff;
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding-bottom: 22px;
}

.faq-answer p {
    color: #5f5a78;
    font-size: 18px;
    line-height: 1.8;
    max-width: 700px;
    width: 100%;
    font-weight: 100;
}




/* FOOTER */

.footer {
  background-color: #F8F4F3;
  color: #5f5a78;
  padding: 60px 80px 30px;
  font-family: 'Playfair Display', serif;
  margin-top: 70px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.footer-logo {
  width: 110px;
  margin-bottom: 8px;
}

.footer-left p {
  line-height: 1.5;
  margin-bottom: 20px;
  font-size: 15px;
  color: #5f5a78;
  font-weight: 300;
    font-family: 'Playfair Display', serif;
}

.footer-links a {
  display: inline-block;
  border: 1px solid #dcd6f8;
  border-radius: 20px;
  padding: 6px 14px;
  margin-right: 8px;
  color: #a48ef2;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 15px;
  background-color: #fbfaf9;
    font-family: 'Playfair Display', serif;
}

.footer-links a:hover{
    border-color: #ABA0F9;
    color: #4d43a8;
    transform: none;
    box-shadow: none;
    transition: border-color .2s ease, color .2s ease;
  }

.footer-middle h4,
.footer-right h4 {
  color: #a48ef2;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 400;
}

.footer-middle ul,
.footer-right ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
  font-weight: 300;
}

.footer-middle li,
.footer-right li {
  margin-bottom: 8px;
  font-size: 15px;
}

.footer-middle a,
.footer-right a {
  color: #5f5a78;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 15px;
}

.footer-middle a:hover,
.footer-right a:hover {
  color: #a48ef2;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e6e0f8;
  padding: 20px 80px;
  width: 100vw; /* prend toute la largeur de la fenêtre */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}

.footer-bottom p{
  font-size: 14px;
  color: black;
  margin: 0;
}
.heart {
  color: #a48ef2;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}