/* Variables */
:root {
    --primary-color: #7C9082;
    --secondary-color: #2F4538;
    --background-light: #F5F5F0;
    --light-gray: #E6E6E6;
    --accent-color: #A8C4B2;
    --sand-beige: #E8E0D5;
    --glacier-blue: #A4C3D2;
    --light-sage: #9DB4A3;
    --dark-mint: #86A690;
    --warm-brown: #D4B5A0;
    --text-color: #2F4538;
    --white: #FFFFFF;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header et Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(47, 69, 56, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: var(--white);
    padding: 0.5rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    transition: padding 0.3s ease;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    line-height: 0.9;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0;
}

.logo .tagline {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0;
    margin-top: 0;
    text-align: left;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Menu Mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Prevent scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Banner Section */
.about-banner {
    min-height: 62vh;
    background: linear-gradient(
        to bottom,
        rgba(47, 69, 56, 0.86) 78%,
        rgba(232, 224, 213, 0.96) 100%
    ),
    url('../image/coach-sportif1.jpeg') center 28%/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
    position: relative;
    border-radius: 0 0 24px 24px;
    padding-bottom: 1rem;
}

.banner-content {
    max-width: 460px;
    margin: 6vh auto 4vh auto;
    padding: 1.1rem 0.9rem;
    background: rgba(47, 69, 56, 0.24);
    backdrop-filter: blur(6px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    z-index: 2;
    width: calc(100% - 2rem);
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.about-badge-icon {
    font-size: 1.2rem;
}

.about-badge-text {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.banner-content h1 {
    font-size: clamp(1.55rem, 2.7vw, 2.3rem);
    margin-bottom: 0.7rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.banner-content p {
    font-size: 0.98rem;
    margin-bottom: 0.7rem;
    color: rgba(255, 255, 255, 0.97);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.13);
}

.banner-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.banner-stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.banner-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
}

.banner-stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Story Section */
.story-section {
    padding: 5rem 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.story-text h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.story-text p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
}

.story-text p strong {
    color: var(--primary-color);
    font-weight: 600;
}

.story-text p em {
    background-color: rgba(168, 196, 178, 0.1);
    font-style: italic;
    padding: 0 5px;
    border-left: 3px solid var(--accent-color);
}

.story-text .highlight {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--secondary-color);
    border-bottom: 2px dotted var(--accent-color);
    display: inline-block;
}

.story-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(47, 69, 56, 0.1);
}

/* Qualifications Section */
.qualifications-section {
    padding: 5rem 0;
    background: var(--background-light);
}

.qualifications-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.qualification-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(47, 69, 56, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.qualification-card:hover {
    transform: translateY(-10px);
}

.qualification-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.qualification-card h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.qualification-card ul {
    list-style: none;
    text-align: left;
}

.qualification-card ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.qualification-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Values Section */
.values-section {
    padding: 5rem 0;
}

.values-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Stats Section */
.stats-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(47, 69, 56, 0.9), rgba(47, 69, 56, 0.9)),
                url('../images/stats-bg.jpg') center/cover fixed;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item .count-up {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: var(--background-light);
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonials-slider {
    position: relative;
    display: flex;
    overflow: hidden;
    margin: 2rem auto;
}

.testimonial-card {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(47, 69, 56, 0.1);
    transition: all 0.5s ease;
    opacity: 0;
    transform: scale(0.9);
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-content {
    position: relative;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 15px;
    margin-bottom: 2rem;
}

.testimonial-content:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid var(--background-light);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-left: 1rem;
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Ajout des indicateurs de slide */
.testimonials-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: inherit;
}

.contact-form textarea {
    min-height: 150px;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 1rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-social a {
    color: var(--white);
    font-size: 1.5rem;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        gap: 2rem;
        transition: left 0.3s ease;
        z-index: 1000;
        box-shadow: 0 2px 20px rgba(47, 69, 56, 0.1);
        transform: none;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        width: 80%;
        text-align: center;
        border-radius: 10px;
        background: var(--background-light);
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        background: var(--primary-color);
        color: var(--white);
        transform: translateY(-2px);
    }
    
    .nav-links a::after {
        display: none;
    }
    
    nav {
        justify-content: space-between;
        flex-direction: row;
        padding: 1rem 5%;
    }
    
    .logo {
        margin-bottom: 0;
    }
    
    .about-banner { min-height: 64vh; height: auto; background-position: center 32%; padding-bottom: 1rem; }
    
    .banner-content { padding: 0.85rem 0.6rem; width: 96%; margin: 4.2rem auto 1rem auto; }
    
    .banner-content h1 { font-size: 1.55rem; }
    
    .banner-content p { font-size: 0.95rem; }
    
    .banner-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .banner-stat {
        width: 100%;
        max-width: 250px;
    }
    
    .about-badge {
        padding: 0.5rem 1rem;
    }
    
    .about-badge-text {
        font-size: 0.8rem;
    }

    .story-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .qualification-card,
    .value-card {
        padding: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

@media (max-width: 480px) {
    .about-banner { min-height: 72vh; height: auto; background-position: center 34%; padding-bottom: 1rem; }
    .banner-content { padding: 0.85rem 0.6rem; width: 96%; margin: 4rem auto 1rem auto; }
    .banner-content h1 { font-size: 1.42rem; }
    .banner-content p { font-size: 0.93rem; }
    
    .banner-stats {
        gap: 1rem;
    }
    
    .banner-stat {
        padding: 0.75rem 1rem;
    }
    
    .banner-stat-number {
        font-size: 2rem;
    }
    
    .about-badge {
        padding: 0.5rem 1rem;
    }
    
    .about-badge-text {
        font-size: 0.7rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }
}

/* Très petits écrans (≤380px) : sécurise la lisibilité et la hauteur */
@media (max-width: 380px) {
    .about-banner { min-height: 78vh; background-position: center 36%; }
    .banner-content { margin: 4.2rem auto 1rem auto; }
    .banner-content h1 { font-size: 1.36rem; }
    .banner-content p { font-size: 0.9rem; }
}

/* Nouveaux styles pour les boutons */
.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(124, 144, 130, 0.3);
}

.cta-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--dark-mint);
    transition: all 0.5s ease;
    z-index: -1;
}

.cta-button:hover:before {
    width: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(124, 144, 130, 0.4);
}

/* Système de notification */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
    max-width: 350px;
    width: calc(100% - 40px);
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification-content {
    flex-grow: 1;
    margin-right: 10px;
}

.notification-close {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #555;
}

.notification.success {
    border-left: 4px solid #4CAF50;
}

.notification.error {
    border-left: 4px solid #F44336;
}

.notification.info {
    border-left: 4px solid #2196F3;
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-whatsapp:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}