@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

@media (max-width: 768px) {

    .container {
        padding: 1rem;
    }

    form {
        padding: 1.5rem;
    }

    .main-nav a {
        margin-left: 0.8rem;
        font-size: 0.9rem;
    }

    h1 {
        font-size: 1.4rem;
    }
}


/* BASE */
body {
    font-family: "Raleway", sans-serif;
    background-color: #ffffff;
    color: #1f2933;

}

* {
    margin: 0;
    padding: 0;
}

::selection {
    background-color: #1d4ed8;
    color: #e5e7eb;
}

/* FORMULAIRES */

.form-group {
    margin: 0;
}

label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

form {
    border-radius: 30px;
    max-width: 520px;
    margin: 0% 30%;
}

input, select {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #000000c7;
    border-radius: 6px;
}

ul {
    margin: 0.3rem 0 0;
    padding: 2px;
    list-style: none;
}

li {
    margin: 15px;
    list-style: none;
    color: #000000;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

a.logout {
    background-color: #8a5cff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 999px;
}

 a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    padding: 7px;
    font-size: 13px;
    font-weight:600;
}

/* BOUTONS */

button:hover {
    background-color: #1255ff;
    color: white;
    transition: all 0.9s;
}

button:not(:hover) {
    transition: all 0.8s;
}

.btn-primary {
  display: block;       
  width: auto;
      font-size: 0.95rem;
  padding: 19px 37px;
  max-width: 520px;
  margin: 0 auto;        
  background: rgb(0, 0, 255);
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-align: center;    
}   

/* LAYOUT */
.container {
    width: 100%;
    max-width: none;
    margin: 0;
}

.page-content {
    margin-top: 1rem;
}

/* HEADER */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e5e7eb;
}

.main-header {
  background-color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.main-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.main-nav a {
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
}

.main-nav a:hover {
    opacity: 0.7;
}

.nav-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-profile {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}



.btn-nav {
    background: #8a5cff;
    color: white;
    padding: 8px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
}

.btn-nav:hover {
    background: #6f3cff;
}


/* ERROR MESSAGE */
.alert-danger {
    text-align: center;
    margin-top: 20px;
    color: red;
}

/* REMEMBER ME*/
.remember-me {
    display: inline-flex;
    align-items: center;
    width: 55%;
    position: relative;
    top: 20px;
    margin-bottom: 100px;
}

.remember-me input[type="checkbox"] {
    margin: 0;       
}

.remember-me label {
    cursor: pointer;
    width: 100%;
}

/* FOOTER */
.main-footer {
    padding: 0.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
}
.h1-login {
    margin-top: 25%;
}
/* TITRES */
h1 {
    font-family: "Raleway", sans-serif;
    margin-top: 9%;
    margin-bottom: 25px;
    font-size: 2.6rem;
    font-weight: 600;
    text-align: center;
}

label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: block;
}

input,
select {
    width: 100%;
    padding: 0.6rem 0.7rem;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    margin-bottom: 1.2rem;
}

input:focus,
select:focus {
    outline: none;
    border-color: #2563eb;
}

/*Profile*/
ul {
    border: 0.8px solid rgba(0, 0, 0, 0.686);
    padding: 0px;
    margin:50px 45px 0px;
    border-radius: 10px;
    display: block;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    gap: 1rem;
}

.profile-title {
    color: black;
    font-size: 3rem;
    margin-bottom: 30px;
}

/*Login Page*/
.presentation-text {
    text-align: center;
    margin-bottom: 20px;
    font-size: 13px;
}

.mb-3 {
margin:0 0 60px;
}

.login_reset_password {
    align-items: left;

}

/* Reset password*/

.alert-success {
    text-align: center;
    padding: 20px;
    font-weight: 500;
    color: green;
}
.alert-danger {
    text-align: center;
    font-weight: 500;
    padding: 20px;
    color: red;
}

/* Dashboard */
.contract-item {
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        transition: transform 0.2s;
    }
    .contract-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
    .status-badge {
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 700;
        text-transform: uppercase;
    }
    .status-pending { background: #fef3c7; color: #92400e; }
    .status-signed { background: #dcfce7; color: #166534; }


    .card-wrapper {
        display: flex;
        height: 100%;
        flex-wrap: wrap;
        gap: 1rem;   
    }






.hero-section{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
    min-height:70vh;
}

.hero-content h1{
    font-size:4rem;
    font-weight:700;
    line-height:1.1;
    text-align:start;
}

.hero-content h1 span{
    color:#0d6efd;
}

.hero-content p{
    margin-top:20px;
    color:#666;
    font-size:1.1rem;
    max-width:550px;
}

.badge-firem{
    display:inline-block;
    padding:10px 18px;
    border-radius:50px;
    background:#eef4ff;
    color:#0d6efd;
    margin-bottom:20px;
}

.hero-image img{
    width:100%;
    border-radius:30px;
    object-fit:cover;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
}

.btn-primary-firem{
    display:inline-block;
    margin-top:25px;
    padding:15px 28px;
    border-radius:12px;
    background:#0d6efd;
    color:white;
    text-decoration:none;
}

.offers-section{
    margin-top:120px;
    margin: 140px ;
}

.section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
}

.carousel-controls{
    display:flex;
    gap:10px;
}

.arrow-btn{
    width:45px;
    height:45px;
    border:none;
    border-radius:50%;
    background:white;
    box-shadow:0 4px 15px rgba(0,0,0,.1);
    cursor:pointer;
}

.offers-carousel{
    display:flex;
    gap:30px;
    overflow-x:auto;
    scroll-behavior:smooth;
    scrollbar-width:none;
}

.offers-carousel::-webkit-scrollbar{
    display:none;
}

.offer-card{
    min-width:380px;
    background:white;
    border-radius:25px;
    overflow:hidden;
    box-shadow:0 10px 40px rgba(0,0,0,.08);
}

.offer-card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.offer-content{
    padding:25px;
}

.offer-tag{
    background:#eef4ff;
    color:#0d6efd;
    padding:8px 14px;
    border-radius:20px;
    font-size:.8rem;
}

.offer-content h3{
    margin-top:20px;
}

.offer-link{
  
  background:#000000;
  border-radius:30px;
    color:#ffffff;
    text-decoration:none;
    font-weight:600;
}

.advantages{
    margin-top:120px;
    margin: 140px ;
}

.advantages h2{
    text-align:center;
    margin-bottom:50px;
}

.advantages-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.advantage-card{
    background:white;
    padding:30px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 8px 30px rgba(0,0,0,.06);
}

.icon{
    font-size:2.5rem;
    margin-bottom:15px;
}



.maintenance-page{
    min-height:80vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:40px;
    background:#f8fafc;
}

.maintenance-card{
    background:white;
    max-width:650px;
    width:100%;
    text-align:center;
    padding:60px;
    border-radius:24px;
    box-shadow:0 10px 40px rgba(0,0,0,.08);
}

.maintenance-icon{
    font-size:5rem;
    margin-bottom:25px;
}

.maintenance-card h1{
    font-size:2rem;
    margin-bottom:20px;
}

.maintenance-card p{
    color:#666;
    line-height:1.7;
    margin-bottom:15px;
}

.maintenance-btn{
    display:inline-block;
    margin-top:20px;
    padding:14px 28px;
    background:#0d6efd;
    color:white;
    text-decoration:none;
    border-radius:12px;
    transition:.3s;
}

.maintenance-btn:hover{
    background:#0b5ed7;
    color:white;
}

.offer-description {
    margin-bottom: 20px;
}



/**----- NEW HOME PAGE --------/

/* GLOBAL */
* {
  box-sizing: border-box;
}



/* HEADER */
.header {
  width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 30px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 70px;
  align-items : start;
}

.logo img {
    height: 50px;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
}

.btn-primary {
  background-color: #8a5cff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

/* HERO */
.hero {
  position: relative;
  width: 100%;
}

.hero-container {
  position: relative;
  width: 100%;
height: 1070px;
  overflow: hidden;
}

.hero-background {
    border-radius: 30px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
   position: relative;
}

.hero-text {
  position: absolute;
  top: 45px;
  left: 65px;
  width: 650px;
  color: #222;
}

.hero-text h1 {
    text-align: start;
  font-size: 50px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 16px;
    margin-top: 70px;
}

.hero-vector {
  display: block;
  width: 180px;
  margin-top: -20px;
  margin-left: -5px;
  fill: #8a5cff;
}

.highlight {
  color: #8a5cff;
}

.hero-text p {
    margin-top: 20px;
  font-size: 15px;
  color: #000;
  line-height: 1.6;
  max-width: 500px;
}

/* SECTION CARTES À DROITE */
.info-cards {
  position: absolute;
  top: 100px;
  right: 45px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 290px;
}

.card:first-child {
    margin-top: 45px;    
}

.card {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 18px 20px;
  gap: 16px;
}

.card::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.icon {
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.icon img {
  width: 50px;
  height: 50px;
}

.text h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}

.text p {
  font-size: 13px;
  margin: 0;
  line-height: 1.4;
}

.violet::before { background-color: #8a5cff; }
.violet .icon { background-color: #8a5cff; }

.turquoise::before { background-color: #3ccfcf; }
.turquoise .icon { background-color: #3ccfcf; }

.blue::before { background-color: #2e4fa3; }
.blue .icon { background-color: #2e4fa3; }

/* CARTE CITATION */
.quote-card {
  position: absolute;
    bottom: 160px;
    right: 60px;
  background-color: #fff;
  border-radius: 16px;
  padding: 30px;
  width: 260px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quote-icon {
  width: 70px;
  height: 70px;
  margin-bottom: -25px;
  margin-left: -185px;
  margin-top: -25px;
}

.quote-icon img {
  width: 80%;
  height: 85%;
}

.quote-text {
  text-align: center;
  margin-bottom: 14px;
}

.quote-text p {
  font-size: 13px;
  margin-bottom: 15px;
  margin-top: 20px;
}

.quote-text h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: -14px;
  color: #8a5cff;
  position: relative;
  top: -10px;
}

.quote-vector {
  width: 80px;
  margin-top: 6px;
}

/* BLOC BLEU SUR L’IMAGE */
.accompagnement-card {
  margin-top: -120px;
  border-radius: 16px;
  background-color: #0b3a7d;
  padding: 56px 30px;
  width: 979px;
  height: 225px;
  color: #fff;
  text-align: center;
    margin-left: auto;
  margin-right: auto;
}
.accompagnement-card h2 {
  font-size: 25px;
  font-weight: 200;
  margin-bottom: 20px;
  position: relative;
  top: -35px;
}

.accompagnement-card h2::after {
  content: "";
  display: block;
  width: 900px;
  height: 18px;
  background: url("../pics/vectore-GPFzPjp.png") no-repeat center;
  background-size: contain;
  margin: 5px auto 0;
  margin-left: -40px;
}

.accompagnement-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.bloc {
  width: 250px;
  text-align: left;
}

.bloc p {
  font-size: 11px;
  position: relative;
  top: -75px;
  left: 70px;
  max-width: 180px;
}

.bloc h3 {
  position: relative;
  top: -74px;
  left: 70px;
}

.bloc .icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-top: -40px;
  margin-left: -5px;
}

.bloc .icon img {
  width: 40px;
  height: 50px;
}

.etudiants .icon { background-color: #8a5cff; }
.familles .icon { background-color: #3ccfcf; }
.etablissements .icon { background-color: #8a5cff; }

.separator {
  width: 2px;
  height: 100px;
  background-color: #fff;
  border-radius: 2px;
  align-self: center;
  position: relative;
  top: -45px;
  left: 10px;
}

/* RESPONSIVE — VISUEL MOBILE */
@media (max-width: 768px) {*

  .btn-primary {
    position: relative;
    border-radius: 7px;
    top: -12px;
    height: 20px;
    width: 67px;
    left: -171px;   /*  décale à gauche  */
    font-size: 10px;

    padding-top: 5px;   /*  monte le texte */
    padding-left: 7px; 


  }

  .logo {
    position: relative;
    top: -12px;
    left: -20px;
    height: 30px;
}

  .nav {
    display: flex;
    gap: 20px;   
    position: relative;
    left: -110px;   /* tu gardes ton décalage si tu veux */
    top: 15px;
    background-color: #ffffff;  /*  blanc pur */
    box-shadow: none;           /* retire toute ombre */
    border: none;  
  
  }

.nav a {
  font-size: 6px;
  text-decoration: none;
  color: #000;
}




  /* HERO */
  
  .hero-container {
    height: auto;
    overflow: visible; 
  }


  .hero-text {
    padding: 5px;            /* espace autour du texte */
    border-radius: 0px;      /* arrondi doux */
    margin-bottom: 5;
    position: relative;
    top: -245px;
    left: -10px;
    width: 90%;
    margin: 20px auto;
    text-align: left;
    
  }

  .hero-text h1 {
    font-size: 20px;
  }

  .hero-text p {
    position: relative;
    top: -15px;
    font-size: 11px;
    max-width: 90%;
  }

  .hero-vector {
    position: relative;
    top: -18px;
    left: -86px;
    margin: 10px auto;
    display: block;
    width: 70px;
  }

  /* SECTION CARTES À DROITE → menu déroulant horizontal */
  .info-cards {
    position: relative;
    top: -763px;
    left: 2px;
    height: 55px;
    border-radius: 1px;
    width: 90;
    margin: 20px auto;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 6px;
    padding: 0 -10px;
    scroll-snap-type: x mandatory;
    font-size: 1px;
  }

  .card {
    flex: 10 0 100%;
    scroll-snap-align: center;
    border-radius: 4px;

  }

  .card::before {
    width: 9px;            /*  point coloré plus petit */
    height:9px;
  }

  .icon {
    width: 35px;           /*  image plus petite */
    height: 35px;
  }
  
   .icon img {
    width: 15px;           /*  image plus petite */
    height: 15px;

  }
    .text h3 {
    font-size: 9px;       /*  titre plus petit */
    margin-bottom: 4px;
  }

  .text p {
    font-size: 8px;       /*  texte plus petit */
    line-height: 1.3;
  }

  /*  CADRE BLEU → blocs verticaux centrés avec traits blancs */

  /* BLOC BLEU SUR L’IMAGE */






.accompagnement-card {
  position: relative;
  left: 130px;          /* décale un peu à droite, tu peux changer la valeur */
  top: -40px;
  width: 260px;
  height: 600px;
  padding: 25px 15px;
  background-color: #0b3a7d;
  border-radius: 16px;
  color: #fff;
  text-align: center;
}

.bloc {
  
  width: 250px;
  text-align: left;
}

.bloc p {
  font-size: 11px;
  position: relative;
  top: -65px;
  left: 80px;
  max-width: 180px;
}

.bloc h3 {
  font-size:13px;
  position: relative;
  top: -69px;
  left: 80Px;
}


.bloc .icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  margin-top: -20px;
  margin-left: 5px;
}


.bloc .icon img {
  width: 40px;
  height: 50px;
}
.accompagnement-card h2 {
  position: relative;
  top: -20px;
  font-size: 12px;
  margin-bottom: 20px;
}

.accompagnement-content {
  display: flex;
  flex-direction: column; /* vertical */
  align-items: center;
  gap: 25px;
  justify-content: space-between;
  gap: 30px;
}

.accompagnement-card h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 18px;
  background: url("../pics/Vector-35wiY__.png") no-repeat center;
  background-size: contain;
  margin: 5px auto 0;
  margin-top: -5px;
  margin-left: 70px;

}

.quote-vector {
  
  width: 80px;
  margin-top: 6px;
}

/*  Trait blanc horizontal entre les blocs */
.separator {
  position: relative;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #fff;
  border-radius: 2px;
  display: block;
  margin: 20px auto;   /* espace entre texte et trait */
}


  /*  Carte citation en bas */
  .quote-card {
    position: relative;
    top: -100px;
    left: 1px;
    width: 90%;
    margin: 20px auto;
    height: auto;
    padding: 20px;
    box-shadow: none !important;   /* enlève l’ombre */
    border: none; 
  }
  
}


/* profil tool bar for contracts*/

.profile-toolbar {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 20px 0 40px;
    flex-wrap: wrap;
}

.toolbar-btn {
    background: #0d6efd;
    color: white;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: 0.2s;
}

.toolbar-btn:hover {
    background: #084fc7;
}


/* Nos solution Page*/

.solutions-header {
    text-align: center;
    margin-top: 120px;
}

.solutions-header h1 {
    margin-top: 20px;
}

/* HEADER PAGE */
.solutions-header {
    text-align: center;
    margin: 120px auto 40px;
    max-width: 800px;
}

.solutions-badge {
    display: inline-block;
    background: #eef4ff;
    color: #0d6efd;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 10px;
}

/* GRID */
.solutions-section {
    padding: 40px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

/* CARD */
.solution-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
}

/* IMAGE */
.solution-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* BODY */
.solution-body {
    padding: 20px;
}

.solution-tag {
    display: inline-block;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    background: #eef4ff;
    color: #0d6efd;
    margin-bottom: 10px;
}

.solution-body h3 {
    margin: 10px 0;
    font-size: 18px;
}

.solution-body p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

/* LINK */
.solution-link {
  background: #000000;
  border-radius:30px;
    color:#ffffff;
    text-decoration:none;
    font-weight:600;
}


.solution-bullets {
    margin-top: 15px;
    margin-bottom: 15px;
}

.avantage-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 8px;
    color: #1f2937;
}

.dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}
/* couleurs cohérentes */
.dot{
    background: #0d6efd;
}
