/* ==========================================
   GENERAL
========================================== */

:root{

    --primary:#0A9AA3;
    --primary-dark:#087F87;
    --secondary:#EAF9FA;
    --text:#2C3E50;
    --white:#ffffff;
    --shadow:0 12px 35px rgba(0,0,0,.08);

}

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;
    color:var(--text);
    background:#fff;

}

a{

    text-decoration:none;

}

section{

    padding:90px 0;

}

/* ==========================================
   NAVBAR
========================================== */

.navbar{

    padding:15px 0;
    background:#fff !important;

}

.logo{

    height:100px;
    margin-top: -25px;

}

.nav-link{

    margin-left:30px;
    font-weight:500;
    color:#333 !important;
    transition:.3s;

}

.nav-link:hover{

    color:var(--primary)!important;

}

/* ==========================================
   HERO
========================================== */

#home{

    position:relative;

    background:linear-gradient(180deg,#F8FEFE 0%,#EAF9FA 100%);

    padding-top:140px;

    padding-bottom:170px;

    overflow:hidden;

}

.badge-perso{

    display:inline-block;
    background:#dff7f8;
    color:var(--primary-dark);
    padding:10px 18px;
    border-radius:40px;
    font-weight:600;
    margin-bottom:25px;

}

#home h1{

    font-size:58px;
    line-height:1.15;
    font-weight:700;
    margin-bottom:25px;
    color:#163B4D;

}

#home p{

    font-size:20px;
    line-height:1.8;
    margin-bottom:35px;

}

.hero-img{

    width:100%;
    max-width:520px;

}

/* ==========================================
   BOUTON
========================================== */

.btn-reserver{

    display:inline-block;
    background:linear-gradient(135deg,var(--primary),var(--primary-dark));
    color:white;
    padding:16px 32px;
    border-radius:50px;
    font-size:18px;
    font-weight:600;
    transition:.3s;
    box-shadow:var(--shadow);

}

.btn-reserver:hover{

    transform:translateY(-4px);
    color:white;

}

/* ==========================================
   VAGUE
========================================== */

.hero-wave{

    position:absolute;

    bottom:-2px;

    left:0;

    width:100%;

    height:130px;

}

/* ==========================================
   TITRES
========================================== */

h2{

    text-align:center;
    font-size:42px;
    font-weight:700;
    margin-bottom:20px;

}

/* ==========================================
   CARTES
========================================== */

.card-avantage{

    background:white;
    padding:40px 25px;
    border-radius:25px;
    text-align:center;
    box-shadow:var(--shadow);
    transition:.35s;
    height:100%;

}

.card-avantage:hover{

    transform:translateY(-8px);

}

.icone{

    width:75px;
    height:75px;
    border-radius:50%;
    background:#E8FAFB;
    color:var(--primary);
    font-size:30px;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:auto;
    margin-bottom:20px;

}

.card-avantage h4{

    font-weight:600;
    margin-bottom:15px;

}

.card-avantage p{

    color:#666;
    line-height:1.7;

}

/* ==========================================
   INSCRIPTION
========================================== */




.mini-title{

     display:inline-block;
    background:#dff7f8;
    color:var(--primary-dark);
    padding:10px 18px;
    border-radius:40px;
    margin-bottom:25px;
    color:var(--primary-dark);
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;

}

#inscription h2{

    text-align:left;
    margin-top:10px;

}


.success-message{
    background:#e8f8ee;
    color:#198754;
    border:1px solid #b7ebc6;
    border-left:5px solid #198754;
    border-radius:10px;
    padding:15px 20px;
    margin-bottom:25px;
    font-weight:500;
}

.success-message i{
    margin-right:8px;
}


.formulaire{

    background:white;
    border-radius:30px;
    padding:45px;
    box-shadow:var(--shadow);

}

.form-control,
.form-select{

    border-radius:15px;
    min-height:55px;
    border:1px solid #d6e7ea;

}

.form-control:focus,
.form-select:focus{

    border-color:var(--primary);
    box-shadow:0 0 0 .2rem rgba(10,154,163,.15);

}

label{

    font-weight:500;
    margin-bottom:8px;

}




.calendar-card{

    width:420px;

    background:white;

    border-radius:20px;

    padding:25px;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.calendar-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}

.calendar-header h3{

    color:#03568A;

    font-size:16px;

}

.calendar-header button{

    width:40px;

    height:40px;

    border:none;

    border-radius:50%;

    background:#EEF6FC;

    color:#03568A;

    cursor:pointer;

    transition:.3s;

}

.calendar-header button:hover{

    background:#03568A;

    color:white;

}

.weekdays{

    display:grid;

    grid-template-columns:repeat(7,1fr);

    text-align:center;

    font-weight:600;

    margin-bottom:15px;

    color:#7a7a7a;

}

.calendar-grid{

    display:grid;

    grid-template-columns:repeat(7,1fr);

    gap:10px;

}

.day{

    aspect-ratio:1;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:12px;

    cursor:pointer;

    transition:.25s;

    font-weight:600;

}

.day:hover{

    background:#EAF4FF;

    transform:translateY(-2px);

}

.day.today{

    border:2px solid #03568A;

}

.day.selected{

    background:#03568A;

    color:white;

}

.day.disabled{

    color:#C9C9C9;

    cursor:not-allowed;

}

.day.disabled:hover{

    background:none;

    transform:none;

}

.day.weekend{

    background:#FAFAFA;

}


.error-message{
    display:none;
    color:#dc3545;
    font-size:.9rem;
    margin-top:10px;
}

.error-message.show{
    display:block;
}




.horaire{
    display:block;
    margin:10px 0;
    padding:12px;
    border:1px solid #ddd;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
}

.horaire:hover{
    background:#f4f8ff;
    border-color:#0d6efd;
}

.horaire input{
    margin-right:10px;
}




.btn-envoyer{

    width:100%;
    border:none;
    border-radius:50px;
    padding:18px;
    background:linear-gradient(135deg,var(--primary),var(--primary-dark));
    color:white;
    font-size:18px;
    font-weight:600;
    transition:.3s;

}

.btn-envoyer:hover{

    transform:translateY(-3px);

}

/* ==========================================
   FOOTER
========================================== */

footer{

    background:#0B5E63;
    color:white;
    padding:50px 0;

}

.footer-logo{

    height:75px;

}

footer a{

    color:white;
    font-size:22px;
    margin-left:18px;
    transition:.3s;

}

footer a:hover{

    color:#b9f3f6;

}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:991px){

#home{

text-align:center;

}

#home h1{

font-size:42px;

}

.hero-img{

margin-top:50px;

}

#inscription h2{

text-align:center;

}

.mini-title{

display:block;
text-align:center;

}

}

@media(max-width:768px){

section{

padding:70px 0;

}

.logo{

height:55px;

}

h2{

font-size:32px;

}

.formulaire{

padding:30px;

}

}