/* Variables globales */
:root {
    --primary-color: #e30613;
    --secondary-color: #212121;
    --light-color: #ffffff;
    --gray-color: #f5f5f5;
    --dark-gray: #666666;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--secondary-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

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

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* Styles pour l'en-tête */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.top-bar {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info a {
    color: var(--light-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--light-color);
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.main-header {
    padding: 20px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.logo h1 span {
    color: var(--primary-color);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu li a {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--secondary-color);
    padding: 10px 0;
    position: relative;
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-menu-btn span:nth-child(1) {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-btn span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Media queries pour la navigation responsive */
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 120px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 120px);
        background-color: var(--light-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li a {
        font-size: 18px;
        padding: 15px 0;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-info {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .nav-menu {
        top: 160px;
        height: calc(100vh - 160px);
    }
}

/* Styles pour la section hero */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 120px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--light-color);
    z-index: 2;
}

.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.hero-content p {
    font-size: 20px;
    max-width: 600px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.4s;
}

.hero-slide.active .hero-content h2,
.hero-slide.active .hero-content p,
.hero-slide.active .hero-buttons {
    opacity: 1;
    transform: translateY(0);
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    z-index: 10;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Animation pour les éléments au défilement */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 42px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        margin-top: 160px;
        height: 80vh;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

/* Styles pour la section À propos du club */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--dark-gray);
    margin-top: 10px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 120px;
    height: 120px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(227, 6, 19, 0.3);
}

.experience-badge .years {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
    text-transform: uppercase;
    line-height: 1.2;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 30px;
    color: var(--dark-gray);
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(227, 6, 19, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.feature-text p {
    margin-bottom: 0;
    font-size: 15px;
}

.about-cta {
    display: flex;
    gap: 15px;
}

/* Styles pour la section Statistiques */
.stats-section {
    /* Fond supprimé pour permettre la transparence */
    padding: 80px 0;
    color: var(--light-color);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-title {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-cta {
        flex-direction: column;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
}

/* Styles pour la section Saison */
.season-tabs {
    margin-top: 40px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    background-color: var(--gray-color);
    border: none;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background-color: rgba(227, 6, 19, 0.1);
    color: var(--primary-color);
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Styles pour l'onglet Horaires */
.schedule-container {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.schedule-header {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 2fr;
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 15px 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
}

.schedule-item {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 2fr;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.schedule-item:nth-child(even) {
    background-color: var(--gray-color);
}

.schedule-item:hover {
    background-color: rgba(227, 6, 19, 0.05);
}

.day {
    font-weight: 600;
}

.time {
    color: var(--primary-color);
    font-weight: 500;
}

/* Styles pour l'onglet Tarifs */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

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

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 5px 30px;
    font-size: 14px;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-header {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 30px 20px;
    text-align: center;
}

.pricing-header h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 15px;
}

.price {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 14px;
    opacity: 0.8;
}

.pricing-body {
    padding: 30px 20px;
    text-align: center;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pricing-features li i.fa-check {
    color: #28a745;
}

.pricing-features li i.fa-times {
    color: #dc3545;
}

/* Styles pour l'onglet Tournois */
.tournaments-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.tournament-card {
    display: flex;
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tournament-date {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.tournament-date .month {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.tournament-date .day {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
}

.tournament-info {
    padding: 20px;
    flex-grow: 1;
}

.tournament-info h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.tournament-info p {
    color: var(--dark-gray);
    margin-bottom: 15px;
    font-size: 14px;
}

.tournament-details {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--dark-gray);
}

.tournament-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tournament-details i {
    color: var(--primary-color);
}

.tournament-status {
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-weight: 600;
    min-width: 150px;
    justify-content: center;
}

.tournament-status.open {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.tournament-status.soon {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.tournament-status.closed {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

/* Styles pour l'onglet Infos pratiques */
.info-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.info-card {
    display: flex;
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-icon {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    min-width: 100px;
}

.info-content {
    padding: 30px;
    flex-grow: 1;
}

.info-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.info-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.info-content ul li {
    margin-bottom: 10px;
}

.dates-list {
    list-style: none !important;
    margin-left: 0 !important;
}

.dates-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.dates-list .date {
    font-weight: 600;
    color: var(--primary-color);
}

.note {
    background-color: var(--gray-color);
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 0 5px 5px 0;
}

.note h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.note h4 i {
    color: var(--primary-color);
}

.note p {
    margin-bottom: 0;
    font-size: 14px;
}

@media (max-width: 992px) {
    .pricing-container {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .schedule-header,
    .schedule-item {
        grid-template-columns: 1fr 1fr;
    }
    
    .group-header,
    .location-header,
    .group,
    .location {
        display: none;
    }
}

@media (max-width: 768px) {
    .tournament-card,
    .info-card {
        flex-direction: column;
    }
    
    .tournament-date,
    .info-icon {
        padding: 15px;
        flex-direction: row;
        gap: 10px;
    }
    
    .tournament-status {
        padding: 10px;
    }
    
    .tournament-details {
        flex-direction: column;
        gap: 5px;
    }
    
    .dates-list li {
        flex-direction: column;
        gap: 5px;
    }
}

/* Styles pour la section Actualités */
.news-section {
    background-color: var(--gray-color);
}

.news-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Styles pour les articles de blog */
.blog-posts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.blog-post {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-10px);
}

.post-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post:hover .post-image img {
    transform: scale(1.1);
}

.post-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    min-width: 60px;
}

.post-date .day {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.post-date .month {
    font-size: 14px;
    text-transform: uppercase;
}

.post-content {
    padding: 25px;
}

.post-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--dark-gray);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-meta i {
    color: var(--primary-color);
}

.post-excerpt {
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Styles pour la sidebar */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.social-feed,
.newsletter-box,
.upcoming-events {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Styles pour les boutons sociaux */
.social-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 5px;
    color: var(--light-color);
    font-weight: 500;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    opacity: 0.9;
}

.social-btn.facebook {
    background-color: #3b5998;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-btn.twitter {
    background-color: #1da1f2;
}

/* Styles pour le feed Facebook */
.facebook-feed {
    margin-top: 20px;
}

.facebook-feed h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.facebook-feed h4 i {
    color: #3b5998;
}

.feed-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.feed-content p {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.5;
}

.feed-date {
    font-size: 12px;
    color: var(--dark-gray);
}

.btn-sm {
    padding: 8px 15px;
    font-size: 14px;
    margin-top: 15px;
}

/* Styles pour la newsletter */
.newsletter-box p {
    margin-bottom: 20px;
}

.newsletter-form .form-group {
    margin-bottom: 15px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Styles pour les événements à venir */
.event-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.event-date {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    min-width: 60px;
    height: fit-content;
}

.event-date .day {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.event-date .month {
    font-size: 12px;
    text-transform: uppercase;
}

.event-info h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.event-info p {
    font-size: 14px;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-info i {
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .news-container {
        grid-template-columns: 1fr;
    }
    
    .blog-posts {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .post-image {
        height: 200px;
    }
    
    .social-buttons {
        flex-direction: column;
    }
}

/* Styles pour la section Événements */
.events-section {
    background-color: var(--gray-color);
}

.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.event-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.event-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-card-image img {
    transform: scale(1.1);
}

.event-card .event-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    min-width: 60px;
}

.event-date .day {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.event-date .month,
.event-date .year {
    font-size: 14px;
    text-transform: uppercase;
    display: block;
}

.event-date .year {
    font-size: 12px;
}

.event-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--dark-gray);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-meta i {
    color: var(--primary-color);
    width: 16px;
}

.event-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.event-description {
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.event-status {
    font-size: 14px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 20px;
}

.event-status.open {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.event-status.upcoming {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.event-status.closed {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Styles pour le calendrier */
.events-calendar-container {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.calendar-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.events-calendar {
    max-width: 800px;
    margin: 0 auto;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.current-month {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
}

.calendar-nav {
    background-color: var(--gray-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.calendar-nav:hover {
    background-color: var(--dark-gray);
    color: var(--light-color);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-days div {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-days div:hover:not(.prev-month):not(.next-month) {
    background-color: var(--gray-color);
}

.prev-month,
.next-month {
    color: #ccc;
}

.event-day {
    background-color: rgba(227, 6, 19, 0.1);
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.event-day::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.legend-dot.holiday {
    background-color: #dc3545;
}

.legend-dot.training {
    background-color: #28a745;
}

@media (max-width: 992px) {
    .events-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .events-container {
        grid-template-columns: 1fr;
    }
    
    .event-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .calendar-weekdays,
    .calendar-days {
        font-size: 14px;
    }
    
    .calendar-days div {
        height: 35px;
    }
    
    .calendar-legend {
        flex-wrap: wrap;
    }
}

/* Styles pour la section Partenaires */
.partners-section {
    background-color: var(--gray-color);
}

.partners-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.partners-category-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.partners-category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Styles pour les partenaires principaux */
.partners-grid.main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.partner-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.partner-logo {
    padding: 30px;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.partner-info h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.partner-info p {
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

/* Styles pour les sponsors */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.sponsor-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.sponsor-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.sponsor-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.sponsor-card h5 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
}

/* Styles pour la section "Devenez partenaire" */
.become-partner {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.become-partner-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.become-partner-content h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.become-partner-content p {
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.partner-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.partner-benefits li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.partner-benefits i {
    color: var(--primary-color);
}

.become-partner-image {
    height: 100%;
}

.become-partner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Styles pour la section Contact */
.contact-section {
    background-color: var(--light-color);
}

.contact-flex-wrapper {
    display: flex;
    flex-direction: row;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 40px auto;
    justify-content: center;
    align-items: flex-start;
}
.contact-info-card {
    background: #fff;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.06);
    border-radius: 18px;
    padding: 32px 28px;
    max-width: 320px;
    min-width: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.contact-info-title {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    margin-bottom: 18px;
}
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
}
.contact-info-list li {
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
    margin-bottom: 14px;
    gap: 10px;
    color: var(--secondary-color);
}
.contact-info-list i {
    color: var(--primary-color);
    font-size: 1.2em;
    margin-top: 3px;
    min-width: 20px;
}
.contact-social-row {
    margin-top: 10px;
    display: flex;
    gap: 12px;
}
.contact-form-card {
    background: #fff;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.06);
    border-radius: 18px;
    padding: 32px 28px;
    max-width: 420px;
    flex-grow: 1;
}
.contact-form-title {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    margin-bottom: 18px;
}
.contact-form .form-group {
    margin-bottom: 18px;
}
.contact-form label {
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
    font-size: 1rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 1rem;
    background: #fafafa;
    transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.contact-form button {
    margin-top: 10px;
    width: 100%;
}
.contact-map-card {
    background: #fff;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.06);
    border-radius: 18px;
    padding: 24px 20px 20px 20px;
    margin: 0 auto 0 auto;
    max-width: 900px;
    margin-top: 28px;
}
.contact-map-title {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    margin-bottom: 14px;
}
@media (max-width: 900px) {
    .contact-flex-wrapper {
        flex-direction: column;
        gap: 28px;
        align-items: stretch;
        max-width: 98vw;
    }
    .contact-info-card, .contact-form-card {
        max-width: 100%;
        width: 100%;
    }
}

/* Toast visuel générique */
.custom-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    min-width: 220px;
    max-width: 350px;
    padding: 15px 26px;
    border-radius: 7px;
    font-family: var(--font-heading);
    font-size: 1.08rem;
    color: #fff;
    background: #333;
    box-shadow: 0 6px 30px 0 rgba(0,0,0,0.13);
    opacity: 0;
    pointer-events: none;
    z-index: 3000;
    transform: translateY(-32px);
    transition: opacity 0.35s, transform 0.35s;
}
.custom-toast.success {
    background: var(--primary-color);
}
.custom-toast.error {
    background: #d32f2f;
}
.custom-toast.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-info {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--light-color);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 24px;
    color: var(--light-color);
}

.info-item h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.info-item p {
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Styles pour le formulaire de contact */
.contact-form-container {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-container h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-form-container h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-form button {
    margin-top: 10px;
}

/* Styles pour la carte */
.map-container {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-container h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.map {
    border-radius: 10px;
    overflow: hidden;
    height: 450px;
}

.map iframe {
    border: none;
}

@media (max-width: 992px) {
    .become-partner {
        grid-template-columns: 1fr;
    }
    
    .become-partner-image {
        height: 300px;
        order: -1;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .partners-grid.main-grid {
        grid-template-columns: 1fr;
    }
    
    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .map {
        height: 350px;
    }
}

/* Styles pour le pied de page */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact-info {
    list-style: none;
    padding: 0;
}

.footer-contact-info li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    color: #ccc;
}

.footer-contact-info i {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    transition: background-color 0.3s ease;
    text-decoration: none;
}

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

.footer-newsletter p {
    color: #ccc;
    margin-bottom: 15px;
}

.footer-newsletter-form {
    display: flex;
}

.footer-newsletter-form input {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 14px;
}

.footer-newsletter-form button {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    padding: 0 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-newsletter-form button:hover {
    background-color: #c00;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}
