.navbar{
    position: fixed;
    top: 0;
    width: 100%;
    height: 120px;
    background:  #2E1A46; 
    z-index: 1000;
}

.navbar-toggler {
    background-color: rgba(255,255,255,0.15);
}

.container img{
    width: 100px;
  height: 100px;
}

.active-link {
    color: #D4A017 !important;
    font-weight: 600;
    position: relative;
}

.active-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: #D4A017; /* couleur du soulignement */
    border-radius: 2px;
}

body{
    padding-top: 120px;
}
.bt{
    background: #2E1A46;
    color: black;
}
.bt:hover{
    background: #D4A017;
}
.btn-outline-gold{
    color:#f1f1f1 ;
    border-color: #D4A017;
}
.btn-outline-gold:hover{
    color:#f1f1f1;
    background-color:#D4A017 ;
}
.btn-yellow{
    background-color: #D4A017;
    color: #f1f1f1;
}
.btn-yellow:hover{
    color: #f1f1f1;
    background-color: #d49e178f;
}
.carousel-slide-bg {
    width: 100%;
    height: 90vh;
    background-size: cover;
    background-position: center;
    filter: brightness(0.65); /* sombre un peu pour le texte */
}

.carousel-caption {
    bottom: 20%; /* remonte le contenu du slide */
}

.carousel-caption h1,
.carousel-caption p {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.carousel .btn {
    padding: 12px 25px;
    font-size: 18px;
    border-radius: 10px;
}

.navbar a {
    text-decoration: none;
    color: white; /* ou #f1f1f1 */
    margin: 0; /* important */
}


/*Avantages */

.row{
    margin: 30px;
}
.why-covoit {
    background: #fafafa;
}

.why-covoit h2 {
    color: #2E1A46;
}

.why-covoit .col-md-4 {
    padding: 25px;
    border-radius: 12px;
    background: white;
    transition: 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.why-covoit .col-md-4:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.why-covoit h5 {
    color: #2E1A46;
    font-weight: bold;
    margin-bottom: 10px;
}

.why-covoit p {
    color: #555;
    font-size: 0.95rem;
}


/*Comment ça marche */

.steps-section {
    background: #fdfdfd;
}

.steps-section h2 {
    color: #2E1A46;
}

.step-box {
    padding: 20px;
    transition: 0.3s ease;
}

.step-box:hover {
    transform: translateY(-6px);
}

.step-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #2E1A46;
    color: #D4A72C;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.step-box h5 {
    color: #2E1A46;
    font-weight: bold;
    margin-bottom: 8px;
}

.step-box p {
    color: #555;
    font-size: 0.95rem;
}

/*Engagements*/

.commitments-section {
    background: #f8f9fa;
}

.commitments-section h2 {
    color: #2E1A46;
    letter-spacing: 1px;
}

.commitment-card {
    background: white;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: default;
}

.commitment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.commitment-card .icon {
    font-size: 40px;
    color: #D4A72C;
    margin-bottom: 15px;
}

.commitment-card p {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
    color: #2E1A46;
}


/* ================================
   SECTION TEMOIGNAGES
=================================== */

.trust-section {
    background: #f8f9fa;
}

.trust-section h2 {
    color: #2E1A46;
}

.review {
    margin-bottom: 40px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #D4A72C;
    margin-bottom: 10px;
}

.review-name {
    font-weight: 600;
    color: #2E1A46;
    margin-bottom: 8px;
}

blockquote {
    font-size: 1.1rem;
    font-style: italic;
    background: white;
    display: inline-block;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 500px;
}


/* ================================
   SECTION FAQ
=================================== */

section.bg-light {
    background: #f8f9fa;
}

/* titre */
section .fw-bold {
    color: #2E1A46; /* couleur violette de ton thème */
}

/* FAQ container */
.faq-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 1.2rem 1.4rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform .15s ease, box-shadow .15s ease;
    border-left: 4px solid #D4A017; /* touche gold */
}

/* zoom léger au survol */
.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* questions */
.faq-item strong {
    color: #2E1A46;
    font-size: 1.05rem;
}

/* réponses */
.faq-item p {
    margin: 0.4rem 0 0 0;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* alignement mobile */
@media (max-width: 576px) {
    .faq-item {
        padding: 1rem 1.2rem;
    }
}


/* ================================
   FOOTER
=================================== */

footer.bg-dark {
    background:#2E1A46 !important; /* noir doux */
    color: #dcdcdc;
    padding-top: 3rem;
    padding-bottom: 3rem;
    font-size: 0.95rem;
}

/* logo / image */
footer img {
    width: 120px;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.2s ease-in-out;
}
footer img:hover {
    transform: scale(1.03);
}

/* titre */
footer h6 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-transform: uppercase;
}

/* liens */
footer a {
    color: #dcdcdc;
    transition: color 0.15s ease-in-out, padding-left 0.15s ease-in-out;
}
footer a:hover {
    color: #D4A017; /* ta couleur gold */
    padding-left: 3px;
}

/* boutons réseaux sociaux */
footer .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.4);
    color: #f1f1f1;
    transition: 0.2s ease-in-out;
}
footer .btn-outline-light:hover {
    background: #D4A017;
    border-color: #D4A017;
    color: #fff;
}

/* séparateur */
footer hr {
    border-color: rgba(255, 255, 255, 0.18);
}

/* bas du footer */
footer .small {
    font-size: 0.85rem;
}

/* alignement mobile */
@media (max-width: 768px) {
    footer .text-md-end {
        text-align: left !important;
    }

    footer .d-flex.justify-content-between {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    footer .d-flex.justify-content-md-end {
        justify-content: flex-start !important;
    }
}

/* petit écran : alignement vertical correct */
@media (max-width: 991.98px){
    .offcanvas-body{
        flex-direction:column;
        align-items:start;
    }
    .offcanvas-body .navbar-nav{
        margin-bottom:2rem;
    }
    .d-flex{
        flex-direction:column;
        margin: 10px;
    }
    .fl{
        flex-direction:column;
        margin: 10px;
    }
    

}



