﻿/* Fond de page beige clair */
body {
    background: white;
    padding-top: 80px; /* Ajuste selon la hauteur de ta navbar */
}

/* Présentation */
h1 {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: bold;
    color: #0d8f4e;
    margin-bottom: 20px;
}

.lead {
    font-size: 1.25rem;
    color: #3d3d3d;
}

/* Slider */
.carousel-caption {
    background: rgba(26, 60, 43, 0.7);
    padding: 1rem;
    border-radius: 10px;
}

.carousel-caption h5,
.carousel-caption p {
    color: #fff;
}

/* Dernières publications */
.card {
    box-shadow: 0 4px 16px rgba(26, 60, 43, 0.08);
    border: none;
    margin-bottom: 30px;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px) scale(1.03);
}

.card-title {
    color: #0d8f4e;
    font-weight: bold;
}

.card-text {
    color: #555;
}

/* Témoignages */
.blockquote {
    background: #f6f6f6;
    border-left: 5px solid #0d8f4e;
    padding: 1rem 1.5rem;
    margin-bottom: 20px;
    font-style: italic;
}

.blockquote-footer {
    color: #0d8f4e;
    font-weight: 500;
}

/* Barre de navigation d’grad’e vert-jaune-rouge */
.navbar {
    background: linear-gradient(90deg, #0d8f4e 0%, #ffe063 50%, #e6213b 100%);
    box-shadow: 0 4px 16px rgba(26, 60, 43, 0.08);
}

.navbar .navbar-brand,
.navbar .nav-link,
.navbar-toggler {
    color: #fff !important;
    font-weight: 500;
}

.navbar .navbar-brand img {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #0d8f4e !important;
    text-shadow: 0 0 4px #0d8f4e;
}

/* Pour que le bouton burger soit bien visible */
.navbar-toggler {
    border-color: #fff;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

main {
    display: block;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand {
        font-size: 1rem;
    }

    #sliderAccueil .carousel-item > .d-flex {
        height: auto !important;
        padding: 1rem 0.25rem;
    }

    #sliderAccueil .carousel-item .mx-auto.w-100 {
        flex-direction: column !important;
        gap: 1rem;
    }

    #sliderAccueil .carousel-item .flex-grow-1 {
        padding: 1.5rem 1rem !important;
        border-radius: 20px !important;
    }

    #sliderAccueil .carousel-item h2 {
        font-size: 1.2rem !important;
        line-height: 1.4;
    }

    #sliderAccueil .carousel-item p {
        font-size: 0.95rem !important;
    }

    #sliderAccueil .carousel-item .ms-4 {
        margin-left: 0 !important;
        margin-top: 0.25rem;
    }

    #sliderAccueil .carousel-item .ms-4 img {
        width: 112px !important;
        height: 112px !important;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-top: 74px;
    }

    h1 {
        font-size: 1.7rem;
    }

    .lead {
        font-size: 1.05rem;
    }

    footer .d-flex.justify-content-md-end {
        justify-content: center !important;
        margin-top: 1rem;
    }
}

.book-price {
    font-weight: 700;
    color: #0d8f4e;
}
