:root {
    --main-color: #5B3825;
    --secondary-color: #1a1a1a;
    --third-color: #333fff;
    --text-color: #ffffff;
    --dark-bg: #000000;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
}

.marron {
    color: var(--main-color);
}


.surlignage_marron {
    background-color: var(--main-color);
}

.hero-bg {
    background-image: url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.dot-pattern {
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 15px 15px;
}

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

.testimonial-card {
    transition: all 0.3s ease;
    background-color: #000;
    border-radius: 0.5rem;
}

.testimonial-card:hover {
    transform: scale(1.03);
}

a.monlien:link, a.monlien:hover,a.monlien:visited  {
    font-size:1.1rem;
    color:white;
    font-weight:bold;
}

/* Navigation */
.nav-link {
    color: white;
}

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--main-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Boutons */


/* Suppression de l'état "actif" des boutons (pour plus qu'ils apparaissent en bleu quand tu clic et tu restes appuyé dessus) */
.btn-primary:active,
.btn-primary.active,
.btn-primary:focus,
.btn-primary.focus {
    background-color: black !important;
    border-color: var(--main-color) !important;
    color: white !important;
    box-shadow: none !important;
    outline: none !important;
}

.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary:focus,
.btn-outline-primary.focus {
    background-color: black !important;
    border-color: var(--main-color) !important;
    color: white !important;
    box-shadow: none !important;
    outline: none !important;
}


.btn-primary {
    color: white;
    background-color: var(--main-color);        
    border-color: var(--main-color);  
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: black;
    border-color: #ffffff;
}

.btn-outline-primary {
    color: white;
    background-color: var(--main-color);        
    border-color: var(--main-color);  
    transition: all 0.3s ease;              
}

.btn-outline-primary:hover {
    background-color: black;
    border-color: #ffffff;
}

.btn-rounded {
    border-radius: 50rem;
}

.btn-rounded-big {
    border-radius: 50rem;
    border-color: black;
    width: 50%;
    font-size: 1.2rem;        
}

/* Compteurs */
.counter-box {
    text-align: center;
    padding: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--main-color);
}

.counter-text {
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Accordéons FAQ */
.accordion-item {
    background-color: transparent;
    border-bottom: 1px solid var(--main-color);
    border-left: none;
    border-right: none;
    border-top: none;
    border-radius: 0 !important;
}

.accordion-button {
    background-color: transparent;
    color: white;
    font-weight: 600;
    padding: 20px 0;
    box-shadow: none;
    border: none;
    font-size: 1rem;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    color: white;    
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");  
    transform: rotate(-90deg);
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(0deg);
}

.accordion-body {
    color: #bbb;
    padding: 1rem 0 1.5rem 0;
    line-height: 1.6;
}

/* Onglets FAQ */
.faq-tab-btn {
    background-color: var(--main-color) !important;
    border-color: var(--main-color) !important;
    color: white !important;
    margin: 0 0.5rem;
}

.faq-tab-btn:hover {
    background-color: black !important;
    border-color: white !important;
    color: white !important;
}

.faq-tab-btn.active {
    background-color: black !important;
    border-color: white !important;
    color: white !important;
}


/* Style pour la liste déroulante FAQ */
.faq-select {
    background-color: var(--main-color);
    border: 2px solid var(--main-color);
    color: white;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1.1rem;
    text-align: center;
}

.faq-select:focus {
    background-color: var(--main-color);
    border-color: white;
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.faq-select option {
    background-color: var(--main-color);
    color: white;
}
/* Navigation pills personnalisée */
.nav-pills .nav-link {
    border-radius: 0;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: transparent;
}

/* Étoiles */
.star-rating {
    color: #FDD663;
}

/* Formulaires */
.form-control {
    background-color: #000;
    border: 1px solid #444;
    color: white;
}

.form-control:focus {
    background-color: #000;
    border-color: var(--main-color);
    color: white;
    box-shadow: none;
}

.form-label {
    font-size: 0.875rem;
}

/* Bouton retour en haut */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--main-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    border: none;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Classes utilitaires */
.bg-black {
    background-color: #000 !important;
}

.bg-gray-900 {
    background-color: #2D3034 !important;
}

.border-orange {
    border-color: var(--main-color) !important;
}

.text-or {
    color: var(--main-color) !important;
}

/* Options d'entraînement */
.training-option {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.training-option img {
    width: 100%;
    height: auto;
    filter: brightness(0.5);
}

.training-option-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

/* Logo responsive */
.logo-img {
    height: auto;
    max-height: 50px;
}

/* Bouton téléphone dans le header - Style orange */
.phone-button-header {
    background-color: #5B3825;
    color: white !important;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-left: 10px;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.4);
    border: 1px solid white;
}

.phone-button-header:hover {
    background-color: black;
    color: white !important;
    text-decoration: none;
    transform: scale(1.1);   
    box-shadow: 0 4px 15px rgba(91, 56, 37, 0.6);
}

.phone-button-header:focus {
    color: white !important;
    text-decoration: none;
}

/* Bouton WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 1.8rem;
    right: 1.8rem;
    background-color: #25D366;
    color: white !important;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    text-decoration: none;
}

/* Media Queries */
@media (max-width: 768px) {
    .logo-img {
        width: 120px !important;
        max-height: 40px;
    }
    
    /* Corrections pour éviter la superposition des boutons sur mobile */
    #back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 2.8rem;
        height: 2.8rem;
        font-size: 1.2rem;
    }
    
    .whatsapp-button {
        bottom: 6rem; /* Décalé vers le haut pour éviter la superposition */
        right: 1.5rem;
        width: 3.2rem;
        height: 3.2rem;
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .phone-button-header {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.1rem;
        margin-left: 8px;
    }
    
    .logo-img {
        width: 100px !important;
        max-height: 35px;
    }
    
    /* Ajustements pour très petits écrans */
    #back-to-top {
        bottom: 1.2rem;
        right: 1.2rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    
    .whatsapp-button {
        bottom: 5.5rem;
        right: 1.2rem;
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }
}

/* Alternative pour très petits écrans iPhone SE, etc. */
@media (max-width: 375px) {
    .whatsapp-button {
        bottom: 5.2rem;
        right: 1rem;
    }
    
    #back-to-top {
        bottom: 1rem;
        right: 1rem;
    }
}

/* Styles pour les témoignages */
.testimonial-card {
    transition: all 0.3s ease;
    background-color: #000;
    border-radius: 0.5rem;
    border: 1px solid #333;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--main-color);
    box-shadow: 0 10px 25px rgba(91, 56, 37, 0.1);
}

.testimonial-avatar .rounded-circle {
    background-color: var(--main-color) !important;
}

.star-rating {
    color: #FDD663;
    font-size: 0.9rem;
}

.star-rating i {
    margin-right: 2px;
}

/* Animation pour les cartes de témoignages */
.testimonial-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.testimonial-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Styles pour la page Why Coaching */
.progress-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease;
}

.progress-item.visible {
    opacity: 1;
    transform: translateX(0);
}


/* Animation pour les éléments de progression */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.progress-item.animate {
    animation: slideInLeft 0.6s ease forwards;
}

/* Hover effects pour les cartes */
.bg-black.p-4.rounded.shadow:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.bg-gray-900.p-4.rounded.shadow:hover,
.bg-gray-900.p-5.rounded.shadow:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* image service personne sur in-person-coaching.php */
.coaching-section {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background-color: #000;
    color: #fff;
}

.logo-container {
    flex-shrink: 0;
    width: 150px; /* Ajustez selon la taille souhaitée */
}

.logo-container img {
    width: 100%;
    height: auto;
}

.content-container {
    flex: 1;
}

/* Styles pour le carrousel de témoignages */
#testimonialsCarousel .carousel-control-prev,
#testimonialsCarousel .carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #5B3825;
    border-radius: 50%;
    opacity: 0.9;
    transition: all 0.3s ease;
    border: 3px solid rgba(91, 56, 37, 0.3);
    box-shadow: 0 4px 15px rgba(91, 56, 37, 0.3);
}

#testimonialsCarousel .carousel-control-prev:hover,
#testimonialsCarousel .carousel-control-next:hover {
    opacity: 1;
    background-color: #4a2d1f;
    border-color: #5B3825;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(91, 56, 37, 0.5);
}

#testimonialsCarousel .carousel-control-prev:focus,
#testimonialsCarousel .carousel-control-next:focus {
    background-color: #5B3825;
    box-shadow: 0 0 0 0.25rem rgba(91, 56, 37, 0.25);
}

/* Icônes des flèches personnalisées */
#testimonialsCarousel .carousel-control-prev-icon,
#testimonialsCarousel .carousel-control-next-icon {
    width: 24px;
    height: 24px;
    background-size: 24px 24px;
}

/* Flèche gauche personnalisée */
#testimonialsCarousel .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='m3.86 8.753 5.482 4.796c.646.566 1.658.106 1.658-.753V3.204a1 1 0 0 0-1.659-.753l-5.48 4.796a1 1 0 0 0 0 1.506z'/%3e%3c/svg%3e");
}

/* Flèche droite personnalisée */
#testimonialsCarousel .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='m12.14 8.753-5.482 4.796c-.646.566-1.658.106-1.658-.753V3.204a1 1 0 0 1 1.659-.753l5.48 4.796a1 1 0 0 1 0 1.506z'/%3e%3c/svg%3e");
}

/* Indicateurs personnalisés */
#testimonialsCarousel .carousel-indicators {
    bottom: -60px;
    margin-bottom: 0;
}

#testimonialsCarousel .carousel-indicators button {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: rgba(91, 56, 37, 0.3);
    border: 2px solid rgba(91, 56, 37, 0.5);
    margin: 0 8px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

#testimonialsCarousel .carousel-indicators button:hover {
    background-color: rgba(91, 56, 37, 0.6);
    border-color: #5B3825;
    opacity: 0.9;
    transform: scale(1.1);
}

#testimonialsCarousel .carousel-indicators button.active {
    background-color: #5B3825;
    border-color: #5B3825;
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(91, 56, 37, 0.4);
}

/* Animation des indicateurs */
#testimonialsCarousel .carousel-indicators button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: transparent;
    transition: all 0.3s ease;
}

#testimonialsCarousel .carousel-indicators button.active::after {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    #testimonialsCarousel .carousel-control-prev,
    #testimonialsCarousel .carousel-control-next {
        width: 50px;
        height: 50px;
        border-width: 2px;
    }
    
    #testimonialsCarousel .carousel-control-prev-icon,
    #testimonialsCarousel .carousel-control-next-icon {
        width: 20px;
        height: 20px;
        background-size: 20px 20px;
    }
    
    #testimonialsCarousel .carousel-indicators {
        bottom: -50px;
    }
    
    #testimonialsCarousel .carousel-indicators button {
        width: 15px;
        height: 15px;
        margin: 0 6px;
    }
    
    #testimonialsCarousel .carousel-indicators button::after {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    #testimonialsCarousel .carousel-control-prev,
    #testimonialsCarousel .carousel-control-next {
        width: 45px;
        height: 45px;
    }
    
    #testimonialsCarousel .carousel-control-prev-icon,
    #testimonialsCarousel .carousel-control-next-icon {
        width: 18px;
        height: 18px;
        background-size: 18px 18px;
    }
    
    #testimonialsCarousel .carousel-indicators button {
        width: 12px;
        height: 12px;
        margin: 0 4px;
    }
}

/* Animation de transition pour les slides */
#testimonialsCarousel .carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* Effet de survol sur les témoignages */
#testimonialsCarousel .testimonial-card {
    transition: transform 0.3s ease;
}

#testimonialsCarousel .testimonial-card:hover {
    transform: translateY(-5px);
}