@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;
}


body {
  background-color: #ffffff;
}
/* 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: 'UpstairSans', 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;
  }




/*Page d'acceuil. Section d'ouverture.*/
* { box-sizing: border-box; }
  body { margin: 0; font-family: 'Poppins', sans-serif; }
 
  /* Page d'accueil. Section d'ouverture. */
  #container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 90px 80px 100px;
    background: linear-gradient(165deg,
      #ffffff 0%,
      #fefefe 40%,
      #F8F4F3 68%,
      #E8E1FA 88%,
      #D6CFFF 100%);
    font-family: 'Poppins', sans-serif;
  }
 
  #elem_1 {
    max-width: 560px;
  }
 
  #elem_2 {
    flex: 0 0 auto;
    width: 420px;
    max-width: 40%;
  }
 
  #elem_2 img {
    width: 100%;
    height: auto;
    display: block;
  }
 
  #container .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    background: #EBE3F5;
    color: #7A6EDB;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .3px;
    margin-bottom: 24px;
    font-family: 'Playfair Display', serif;
  }
 
  #container .badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ABA0F9;
  }
 
  #container h1 {
    font-family: 'UpstairSans', serif;
    font-size: 65px;
    line-height: 1.2;
    font-weight: 400;
    color: #201f29;
    margin: 0 0 24px;
  }
 
  #container .color_title {
    color: #ABA0F9;
    font-weight: 400;
  }
 
  #container p {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 300;
    color: #3d3c44;
    font-family: 'Playfair Display', serif;
    max-width: 480px;
    margin: 0 0 24px;
  }
 
  /* Le petit texte au-dessus des liens de portfolio, plus discret que le paragraphe principal */
  #container p.intro_websites {
    font-size: 17px;
    font-weight: 400;
    color: black;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 0 0 12px;
  }
 
  #container button {
    padding: 14px 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, #D6CFFF 0%, #ABA0F9 100%);
    color: #ffffff;
    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: 17px;
  }
 
  #container button:hover,
  #container button:focus-visible {
    box-shadow: 0 8px 20px rgba(171, 160, 249, .35);
    transform: translateY(-1px);
  }
 
  #container .websites {
    background: #ffffff;
    color: #7A6EDB;
    border: 1px solid #E4DEF7;
    font-weight: 400;
    padding: 8px 16px;
    font-size: 17px;
    margin-right: 8px;
    margin-bottom: 8px;
    box-shadow: none;
    font-family: 'Playfair Display', serif;
  }
 
  #container .websites:hover,
  #container .websites:focus-visible {
    border-color: #ABA0F9;
    color: #4d43a8;
    transform: none;
    box-shadow: none;
    transition: border-color .2s ease, color .2s ease;
  }
 
  #container button:focus-visible {
    outline: 2px solid #7A6EDB;
    outline-offset: 2px;
  }
 
  #container .portfolio-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
 
  @media (max-width: 960px) {
    #container {
      flex-direction: column-reverse;
      padding: 60px 24px 60px;
      text-align: center;
    }
    #elem_1 { max-width: 100%; }
    p { margin-left: auto; margin-right: auto; }
    .portfolio-row { justify-content: center; }
    h1 { font-size: 38px; }
    #elem_2 { width: 280px; max-width: 70%; }
  }






/* Section page acceuil -- Non intéractive -- Qualités du site -- 4 points*/ 

.qualities_section{
  background-color: #f8f4f3;
  display: flex;
  justify-content: space-around;
  align-items: center;   /* COPILOT */
  border: rgb(193, 190, 190) 1px solid;
  padding-bottom: 50px;
  margin-bottom: 70px;
}
.qualitie{
  background-color: #f8f4f3;
  color: #ABA0F9;
  display: flex;
  flex-direction: column;
  align-items: center;   /* COPILOT */
}
.qualitie h4 {
  font-size: 45px;
  text-align: center; /* COPILOT */
  color: #ABA0F9;
  margin-bottom: 15px;  /* COPILOT */
  font-family: 'Playfair Display', serif;
  font-weight: 200;
}
.qualitie p {
  font-size: 18px;
  text-align: center;
  color: grey;
  margin: 0;    /* COPILOT */
  font-family: 'Playfair Display', serif;
  font-weight: 100;
  line-height: 1.2; /* COPILOT */
}*/






/*Section cards service page acceuil*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
.services{
    padding:50px;
}

.section-tag{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    color:#a49cff;
    font-weight:200;
    font-size:14px;
    letter-spacing:1px;
    margin-bottom:30px;
    font-family: 'Playfair Display', serif;
}
.services h2{
  text-align: center;
  font-size: 29px;
  color: black;
  font-family: 'Playfair Display', serif;
  margin-bottom: 15px;
  font-weight: 400;
}
.section-tag span{
    width:22px;
    height:2px;
    background:#a49cff;
}

.cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.card{
    background:white;
    border:1px solid #ece6fa;
    border-radius:26px;
    padding:30px;
    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 .icon {
  margin-right: 20px;
  width: 55px;
  height: 55px;
  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 */
  padding: 8px;
}

.card:hover .icon{
  transform: rotate(-8deg);
  background-color: #D6CFFF;
}

.card.icon img {
  width: 22px;
  height: 22px;
  transition: transform 0.6s ease;
}

.card h3{
    font-size:22px;
    margin-bottom:20px;
    color:#24203c;
    font-family: 'Playfair', sans-serif;
    font-weight: 400;
}

.card p{
    line-height:1.8;
    color:#5f5a78;
    margin-bottom:30px;
    font-size:18px;
    font-family: 'Playfair', sans-serif;
    width: 100%;
}

.card a{
    text-decoration:none;
    color:#9f94ff;
    font-weight:400;
}
@media (max-width: 768px) {
  .cards{
    grid-template-columns: repeat(1fr); /* ✅ 2 colonnes */
  }
}





/* Section action devis page acceuil */

.action{
  background: #FFFFFF;
  background: linear-gradient(167deg, rgba(255, 255, 255, 1) 0%, rgba(248, 244, 243, 1) 50%, rgba(235, 227, 245, 1) 100%);
  padding: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 70px;
    margin-bottom: 70px;

}
.action p{
  text-align: center;
  font-size: 18px;
  color: #454150;
  font-weight: 300;
  margin-bottom: 27px;
  width: 100%;
  font-family: 'Playfair Display', serif;
}
.action h2{
  text-align: center;
  font-size: 29px;
  color: black;
  font-family: 'Playfair', sans-serif;
  margin-bottom: 15px;
  font-weight: 400;
}
.action button{
  padding: 16px;
  color: white;
  background-color: #C8BEFF;
  border: #bab9bc, 1px, solid;
  border-radius: 24px;
  box-shadow: 0px 3px 10px #C8BEFF;
  font-size: 16px;
  font-weight: 500;
  font-family: 'Playfair Display', serif;
  cursor: pointer;
}





/*Section FAQ première page*/

.faq {
    padding: 30px 20px;
    background: white;
}

.faq h2 {
    text-align: center;
    font-size: 28px;
    font-family: "Playfair Display", serif;
    color: #2d2845;
    margin-bottom: 30px;
    margin-top: 50px;
    font-weight: 400;
}

.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: 200;
    font-family: "Playfair Display", serif;
}




/*avis section*/

 .avis-section {
    padding: 90px 50px;
    margin-top: 90px;
    background: #EBE3F5;
background: linear-gradient(183deg, rgba(235, 227, 245, 1) 0%, rgba(255, 255, 255, 1) 47%, rgba(255, 255, 255, 1) 77%);
  }
 
  .section-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #a49cff;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
  }
 
  .section-tag span {
    width: 22px;
    height: 2px;
    background: #a49cff;
  }
 
  .avis-section h2 {
    text-align: center;
    font-size: 28px;
    color: #201f29;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    margin-bottom: 14px;
  }
 
  .avis-intro {
    text-align: center;
    font-size: 19px;
    font-weight: 300;
    color: #5f5a78;
    max-width: 480px;
    margin: 0 auto 56px;
    line-height: 1.6;
    font-family: 'Playfair Display', serif;
  }
 
  .avis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
  }
 
  .avis-card {
    background: white;
    border: 1px solid #ece6fa;
    border-radius: 26px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
  }
 
  .avis-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(171, 160, 249, 0.18);
    border-color: #c6b8f8;
  }
 
  .stars {
    color: #ABA0F9;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 18px;
  }
 
  .avis-text {
    font-size: 17px;
    line-height: 1.75;
    color: #3d3c44;
    font-weight: 300;
    margin-bottom: 28px;
    flex-grow: 1;
    font-family: 'Playfair Display', serif;
  }
 
  .avis-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid #f0ebfb;
  }
 
  .avis-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D6CFFF 0%, #ABA0F9 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
  }
 
  .avis-author-info h4 {
    font-size: 16px;
    color: #201f29;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    margin-bottom: 2px;
  }
 
  .avis-author-info span {
    font-size: 14px;
    color: #9089a3;
    font-weight: 300;
    font-family: 'Playfair Display', serif;
  }
 
  @media (max-width: 900px) {
    .avis-grid {
      grid-template-columns: 1fr;
    }
    .avis-section {
      padding: 70px 24px;
    }
  }





/* FOOTER */

.footer {
  background-color: #F8F4F3;
  color: #5f5a78;
  padding: 60px 80px 30px;
  font-family: 'Poppins', sans-serif;
  margin-top: 70px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 20px;
}

.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;
}

.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;
}


.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;
  }
}


