/* Import de la font */
@font-face {
   font-family: 'Montserrat';
   src: url('../font/Montserrat-Regular.ttf');
   font-weight: normal;
   font-style: normal;
}

@font-face {
   font-family: 'Montserrat';
   src: url('../font/Montserrat-Medium.ttf');
   font-weight: 500;
   font-style: normal;
}

@font-face {
   font-family: 'Montserrat';
   src: url('../font/Montserrat-SemiBold.ttf');
   font-weight: 600;
   font-style: normal;
}

@font-face {
   font-family: 'Montserrat';
   src: url('../font/Montserrat-Bold.ttf');
   font-weight: 700;
   font-style: normal;
}

@font-face {
   font-family: 'Montserrat';
   src: url('../font/Montserrat-Light.ttf');
   font-weight: 300;
   font-style: normal;
}

@font-face {
   font-family: 'Montserrat';
   src: url('../font/Montserrat-ExtraBold.ttf');
   font-weight: 800;
   font-style: normal;
}

/* Reset de la page */
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   text-decoration: none;
   font-family: 'Montserrat';
   font-weight: 500;
}

/* Variable */
:root {
   --primary-color: #6829e5;
   --text-color: #000;
}

/* title message */
.service-content-header {
   display: flex;
   flex-direction: column;
   align-items: center;
   margin-top: 150px;
   margin-bottom: 60px;
}

.service-content-header h1 {
   font-size: 54px;
   font-weight: 700;
   letter-spacing: -3px;
}

.service-content-header p {
   font-size: 20px;
   margin-top: 10px;
}

.service-content-header span {
   color: var(--primary-color);
}

/* presentation module */
.molude-resume {
   padding-top: 0 !important;
   align-items: center;
}

.asterisk {
   font-size: 60px;
   color: #fff;
   font-weight: 700;
   height: 50px;
}

/* Entete du main */
.main-header {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 20px;
   padding-top: 100px;
}

.square p {
   border: 1px solid #ccc;
   padding: 10px;
}

.square div {
   height: 8px;
   width: 15px;
   border-radius: 3px;
   background-color: var(--primary-color);
}

.rectangle-1 {
   position: relative;
   top: -43.5px;
   left: -8px;
}

.rectangle-2 {
   position: relative;
   top: -50.5px;
   right: -115px;
}

.rectangle-3 {
   position: relative;
   top: -20.5px;
   right: -115px;
}

.rectangle-4 {
   position: relative;
   top: -27.5px;
   left: -8px;
}

.main-header h2,
.main-header h2 span {
   font-size: 34px;
   font-weight: 700;
   letter-spacing: -2px;
}

.main-header h2 span{
   color: var(--primary-color);
}

/* Service présentation */
.container {
   display: flex;
   gap: 20px;
   justify-content: center;
   margin-top: 50px;
   margin-bottom: 50px;
}

.card {
   display: flex;
   flex-direction: column;
   justify-content: space-around;
   box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
   border-radius: 25px;
   padding: 30px;
   width: 450px;
   height: 350px;
   cursor: pointer;
}

.card h3 {
   font-size: 24px;
   font-weight: 700;
}

.card img {
   height: 50px;
}

.card .p-1,
.card .p-2,
.card .p-3 {
   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 3; /* nombre de lignes visibles */
   -webkit-box-orient: vertical;
}

.card a {
   color: var(--text-color);
}

.card a:hover {
   color: var(--primary-color);
}

.card .see-pricing {
   display: none;
}

/* Boite modale */

/* Masque la modale par défaut */
.modal {
   display: none;
   position: fixed;
   z-index: 9999;
   top: 0; left: 0;
   width: 100%; height: 100%;

   /* Fond semi-transparent + flou d'arrière-plan */
   background: rgba(56, 17, 175, 0.1);
   backdrop-filter: blur(8px);
   -webkit-backdrop-filter: blur(8px); /* Pour Safari */
}

.modal-content {
   background: white;
   margin: 10% auto;
   padding: 20px;
   border-radius: 8px;
   width: 90%;
   height: 90%;
   max-height: 400px;
   max-width: 600px;
   position: relative;
   z-index: 10000; /* au-dessus du flou */
}

.modal-body {
   display: flex;
   flex-direction: column;
   padding: 25px;
   gap: 15px;
}

.modal-content .learn-more {
   display: none;
}

.modal-content img {
   height: 50px;
}

.modal-content h3 {
   font-size: 24px;
   font-weight: 700;
}

.modal-content a {
   color: var(--text-color);
}

.modal-content a:hover {
   color: var(--primary-color);
}

/* Bouton de fermeture */
.close {
   color: var(--primary-color);
   float: right;
   font-size: 28px;
   cursor: pointer;
}

/* Main footer style */
.main-footer {
   display: flex;
   justify-content: center;
   margin-bottom: 90px;
   margin-top: 90px;
   text-align: center;
}

.main-footer h2 {
   width: 50%;
}

.main-footer h2,
.main-footer h2 span {
   font-size: 46px;
   font-weight: 700;
   letter-spacing: -2px;
}

.main-footer h2 span{
   color: var(--primary-color);
}

@media (max-width: 768px) {
   /* presentation module */
   .asterisk {
      display: none;
   }

   .module-presentation {
      text-align: center;
   }

   /* main-header style responsive */
   .main-header h2 {
      width: 80%;
   }

   .main-header h2,
   .main-header h2 span {
      font-size: 34px;
      text-align: center;
      font-weight: 700;
      letter-spacing: -2px;
   }

   /* Service présentation */
   .container {
      flex-direction: column;
      align-items: center;
   }

   .card {
      padding: 30px;
      width: 350px;
      height: 350px;
   }

   /* Boite modale */
   .modal-content {
      background: white;
      margin: 10% auto;
      padding: 20px;
      border-radius: 8px;
      width: 90%;
      height: 90%;
      max-height: 650px;
   }

   /* Main footer style */
   .main-footer h2 {
      width: 80%;
   }

   .main-footer h2,
   .main-footer h2 span {
      font-size: 34px;
      font-weight: 700;
      text-align: center;
      letter-spacing: -2px;
   }
}