html {
    scroll-behavior: smooth;
}

.hidden {
    display: none;
}

 .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.timeline-item:not(:last-child):after {
    content: '';
    position: absolute;
    left: 24px;
    top: 32px;
    height: calc(100% - 32px);
    width: 2px;
    background: #e5e7eb;
}

.animate-pulse-slow {
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.sport-icon {
    transition: all 0.3s ease;
}

.sport-card:hover .sport-icon {
    transform: rotate(15deg) scale(1.1);
}

.max-w-screen-2xl {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 1536px) {
    .max-w-screen-2xl {
        max-width: 1536px;
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-bg {
    background-color: black;
    background-size: cover;
    background-position: center;
    height: calc(100vh - 68px); /* Hauteur de l'écran moins la hauteur du header */
}

.sport-card {
    transition: transform 0.3s ease;
}

.sport-card:hover {
    transform: translateY(-5px);
}

.testimonial-card {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1.5s ease;
}

.accordion-content.active {
    max-height: 300px;
}

/* Styles pour le sous-menu */
.submenu {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Nouveau style pour le header étendu */
.header-container {
    background-color: black;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.main-nav {
    background-color: black;
    padding: 1rem 0;
}

.h1, h2, h3, h4, h5, p, span, button, nav, a, img, i, div {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.no-select {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.justify {
    text-align: justify;
    text-justify: inter-word;
}

.btn-link {
    display: inline-block;
    text-decoration: none;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    overflow: hidden;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.step-card {
    position: relative;
    transition: all 0.3s ease;
}

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

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    background-color: #AD5207;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #AD5207;
}

.check-icon {
    background: linear-gradient(135deg, #AD5207 0%, #e67e22 100%);
    box-shadow: 0 4px 6px rgba(166, 86, 7, 0.2);
}

.benefit-card {
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid white;
}

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

.benefit-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(173, 82, 7, 0.1) 0%, rgba(230, 126, 34, 0.1) 100%);
    border: 2px solid white;
}

.counter {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #AD5207, #e67e22);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.stats-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.review-enter {
    animation: fadeIn 0.8s ease-out forwards;
}

.review-exit {
    animation: fadeIn 0.8s ease-out reverse forwards;
}

.dot-pulse {
    animation: pulse 2s infinite;
}

.review-card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.rating-stars {
    position: relative;
    display: inline-block;
}

.rating-stars::before {
    content: "★★★★★";
    color: #e2e8f0;
}

.rating-stars-inner {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
}

.rating-stars-inner::before {
    content: "★★★★★";
    color: #f59e0b;
}

.google-icon {
    background: conic-gradient(from -45deg, #ea4335 0deg 90deg, #4285f4 90deg 180deg, #34a853 180deg 270deg, #fbbc05 270deg 360deg);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }

.cta-gradient {
    background: linear-gradient(135deg, rgba(173, 82, 7, 0.9) 0%, rgba(255, 136, 0, 0.8) 100%);
}

.cta-card {
    transform: perspective(1000px) rotateY(0deg);
    transition: all 0.5s ease;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.cta-card:hover {
    transform: perspective(1000px) rotateY(-5deg) translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.animate-pulse-slow {
    animation: pulse 3s infinite;
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* FAQ Styles */
.faq-item {
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    background-color: #f9fafb;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.faq-question {
    transition: all 0.3s ease;
    position: relative;
    padding-right: 2.5rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 1s ease-in-out;
}

.faq-item.active .faq-question {
    color: #AD5207;
}

.faq-icon {
    transition: transform 0.3s ease;
    position: absolute;
    right: 0;
    top: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #AD5207;
}

.search-box {
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.search-box:focus {
    box-shadow: 0 0 0 3px rgba(173, 82, 7, 0.3);
}

.category-btn {
    transition: all 0.2s ease;
}

.category-btn:hover, .category-btn.active {
    background-color: #AD5207;
    color: white;
}

/* Chat Widget Styles */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    max-width: 90%;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    display: none;
}

.chat-widget.active {
    transform: translateY(0);
    opacity: 1;
    display: block;
}

.chat-header {
    background-color: #AD5207;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.chat-header h3 {
    margin: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.chat-header i {
    margin-right: 10px;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.chat-body {
    height: 300px;
    overflow-y: auto;
    padding: 15px;
    background-color: #f9f9f9;
}

.chat-message {
    margin-bottom: 15px;
    display: flex;
}

.chat-message.support {
    justify-content: flex-start;
}

.chat-message.user {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    position: relative;
}

.support .message-content {
    background-color: white;
    border-top-left-radius: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.user .message-content {
    background-color: #AD5207;
    color: white;
    border-top-right-radius: 0;
}

.chat-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
}

.chat-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
    transition: border-color 0.3s;
}

.chat-input:focus {
    border-color: #AD5207;
}

.chat-send {
    background-color: #AD5207;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.chat-send:hover {
    background-color: #8a4106;
}

.chat-launcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #AD5207;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 999;
    transition: all 0.3s;
}

.chat-launcher:hover {
    transform: scale(1.1);
}

.chat-launcher i {
    font-size: 1.5rem;
}

.typing-indicator {
    display: flex;
    padding: 10px 15px;
    background-color: white;
    border-radius: 18px;
    border-top-left-radius: 0;
    width: fit-content;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.typing-dot {
    width: 8px;
    height: 8px;
    background-color: #AD5207;
    border-radius: 50%;
    margin: 0 2px;
    opacity: 0.4;
    animation: typingAnimation 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingAnimation {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

/* Nouveaux styles pour le footer */
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.footer-wave .shape-fill {
    fill: #FFFFFF;
}

.footer-link {
    position: relative;
    transition: all 0.3s ease;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #AD5207;
    transition: width 0.3s ease;
}

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

.newsletter-input {
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.newsletter-input:focus {
    box-shadow: 0 0 0 3px rgba(173, 82, 7, 0.3);
}

.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Styles pour le menu qui change au scroll */
.navbar {
    transition: all 0.5s ease;
}

.navbar.scrolled {
    border-bottom: 1px solid white;
}

/* Nouveaux styles pour les cartes de terrain */
.sport-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 20px;
}

.equipement-icon {
    color: #AD5207;
    margin-right: 5px;
}

.status-badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.open-status {
    background-color: #D1FAE5;
    color: #065F46;
}

.closed-status {
    background-color: #FEE2E2;
    color: #B91C1C;
}

.limited-status {
    background-color: #FEF3C7;
    color: #92400E;
}

.terrain-card {
    transition: all 0.3s ease;
}

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

.closed-card {
    position: relative;
}

.closed-card::after {
    content: "FERMÉ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 0.75rem;
    z-index: 5;
    pointer-events: none;
}

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

.input-field:focus-within {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.map-container {
    height: 300px;
    border-radius: 0.75rem;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(59, 130, 246, 0.6);
}

.bookmarkBtn {
    width: 150px;
    height: 30px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.349);
    background-color: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
}

.IconContainer {
    width: 50px;
    height: 40px;
    background: linear-gradient(to bottom, rgb(255, 163, 43), rgb(173, 92, 0));
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
    transition-duration: 0.6s;
}

.icon {
    border-radius: 1px;
}

.bookmarkBtn:hover .IconContainer {
    width: 100px;
    transition-duration: 0.3s;
}

.bookmarkBtn:hover .text {
    transform: translate(10px);
    width: 0;
    font-size: 0;
    transition-duration: 0.3s;
}

.bookmarkBtn:active {
    transform: scale(0.95);
    transition-duration: 0.3s;
}

.closed-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.7); /* Gris semi-transparent */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.closed-text {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 10px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
