/* 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;
  }



/*Section cards service page acceuil*/
.acceuil_service h1{
  padding-bottom: 20px;
  color: black;
  text-align: center;
  font-size: 40px;
  font-family: 'Playfair', sans-serif;
  font-weight: 500;
}
.acceuil_service p{
  padding-bottom: 20px;
  color: #6e6684;
  font-family: 'Playfair', sans-serif;
  font-size: 20px;
  text-align: center;
}

.acceuil_service {
    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 CARDS SERVICE PAGE D'ACCEUIL*/

.services h2{
  padding-bottom: 15px;
  padding-top: 5px;
  color: #2c243b;
  font-size: 28px;
  font-family: 'Playfair', sans-serif;
  font-weight: 400;
  text-align: center;
}
.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-left: 2rem;
  padding-bottom: 20px;
}

.icon-box {
  margin-right: 20px;
  width: 70px;
  height: 70px;
  background-color: #EDE8FB;
  border: none;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease, background-color 0.5s ease;
  cursor: pointer;
  flex-shrink: 0; /* empêche l'icône de se rétrécir si le titre est long */
}

.card:hover .icon-box {
  transform: rotate(-8deg);
  background-color: #D6CFFF;
}

.icon-box img {
  width: 34px;
  height: 34px;
  transition: transform 0.6s ease;
}

.card-header .title-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}

.card-header .title-price h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  line-height: 1.1;
  margin: 0;
  color: #2c243b;
}

.card-header .title-price .price {
  background-color: #f7f5ff;
  border-radius: 20px;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  margin: 0 !important; /* le !important est temporaire, juste pour confirmer que c'est bien un conflit */
  align-self: flex-start;
}

.services{
    padding:30px;
    width: 85%;
    align-items: center;
    margin: 0 auto;
}

.section-tag{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    color:#a49cff;
    font-size:14px;
    letter-spacing:1px;
    margin-bottom:30px;
    margin-top: 40px;
}

.section-tag span{
    width:22px;
    height:2px;
    background:#a49cff;
}

.cards{
    display:grid;
    grid-template-columns:repeat(2,2fr);
    gap:30px;
}

.card{
    background:white;
    border:1px solid #ece6fa;
    border-radius:26px;
    padding:40px;
    transition:0.3s;
}
.card:hover{
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(171, 160, 249, 0.4);
    border-color: #c6b8f8;
    background-color: #faf8ff;
}
.card p{
    line-height:1.8;
    color:#5f5a78;
    margin-bottom:30px;
    font-size:18px;
}
.card li{
  line-height: 1.8;
  color: #5f5a78;
  font-size: 17px;
}
.card a{
    text-decoration:none;
    color:#9f94ff;
    font-weight:600;
}

@media(max-width:1000px){

    h2{
        font-size:48px;
    }

    .cards{
        grid-template-columns:1fr;
    }
}











 
/* 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;
  }
}

/*bouton demander un devis, section de fin*/
.button-container {
  display: flex;
  justify-content: center; /* centre horizontalement */
  align-items: center; /* centre verticalement si tu veux */
  margin-top: 40px; /* espace au-dessus du bouton */
}
.button{
  padding: 14px 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, #D6CFFF 0%, #ABA0F9 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid transparent;
    font-family: 'Playfair Display', serif;
    cursor: pointer;
    margin-right: 12px;
    margin-bottom: 24px;
    transition: transform .2s ease, box-shadow .2s ease;
    font-size: 16px;
    font-weight: 600;
}
.button:hover {
  box-shadow: 0 8px 20px rgba(171, 160, 249, .35);
  transform: translateY(-1px);
}
