/* Style personnalisé optimisé pour Atout Scribe */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    background-color: #fff;
    color: #212529;
}

.navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-solid {
    background-color: #f8f9fa !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.section-header {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0d6efd;
    border-radius: 2px;
}

#cabinet img,
#prestations img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('../images/book4.webp') center/cover no-repeat;
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.hero-section .btn {
    transition: all 0.3s ease;
}
.hero-section .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.service-card,
.pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-radius: 8px;
}

.service-card:hover,
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.pricing-card.featured {
    border: 1px solid #0d6efd;
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.15);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Populaire';
    position: absolute;
    top: -10px;
    right: -10px;
    background: #0d6efd;
    color: #fff;
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 12px;
}

.bg-light-alt {
    background-color: #f8f9fa;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #0d6efd;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #0d6efd;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(-10px);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibilité : contraste renforcé pour textes clairs sur fond sombre */
footer a.text-light:hover {
    color: #0d6efd !important;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
        font-size: 0.95rem;
    }
    .back-to-top {
        width: 40px;
        height: 40px;
    }
}
