/**
 * ====================================================================
 * BUDOKAN ACADEMY - DESIGN MODERNE JUDO
 * ====================================================================
 * Design dynamique centré sur le Judo avec accent sur les photos
 * @version 2.0.0
 */

/* ====================================================================
   VARIABLES & COULEURS
   ==================================================================== */
:root {
    /* Couleurs Judo - Rouge intense et Or */
    --primary: #D32F2F;
    --primary-dark: #B71C1C;
    --primary-light: #EF5350;
    --gold: #FFC107;
    --gold-dark: #FFA000;

    /* Couleurs secondaires */
    --dark: #212121;
    --dark-light: #424242;
    --white: #ffffff;
    --gray: #f5f5f5;
    --gray-dark: #9e9e9e;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;

    /* Couleurs sémantiques */
    --text: #212121;
    --text-secondary: #757575;
    --text-light: #9e9e9e;
    --border: #e0e0e0;
    --border-light: #f0f0f0;
    --danger: #f44336;
    --success: #4caf50;
    --warning: #ff9800;
    --info: #2196f3;

    /* Typographie */
    --font-base: 'Inter', -apple-system, sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;

    /* Espacements responsive */
    --space-xs: clamp(0.5rem, 2vw, 0.75rem);
    --space-sm: clamp(0.75rem, 3vw, 1rem);
    --space-md: clamp(1rem, 4vw, 1.5rem);
    --space-lg: clamp(1.5rem, 5vw, 2.5rem);
    --space-xl: clamp(2rem, 6vw, 4rem);
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;

    /* Bordures et rayons */
    --radius: 16px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;

    /* Effets */
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.2);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ====================================================================
   RESET & BASE
   ==================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-base);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ====================================================================
   CONTAINER
   ==================================================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ====================================================================
   HEADER - STICKY MODERNE
   ==================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    gap: var(--space-md);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(211, 47, 47, 0.3));
}

.nav-menu {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.nav-link {
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(211, 47, 47, 0.05);
}

.btn-inscription {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
    transition: var(--transition);
}

.btn-inscription:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

/* Menu mobile */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ====================================================================
   HERO - JUDO DYNAMIQUE
   ==================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    margin-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(211, 47, 47, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
    animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-text {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: var(--space-md);
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, white, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gold);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.btn {
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 8px 30px rgba(211, 47, 47, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(211, 47, 47, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-image {
    position: relative;
}

.hero-kanji {
    font-family: var(--font-jp);
    font-size: clamp(15rem, 25vw, 25rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    text-align: center;
    user-select: none;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* ====================================================================
   SECTION GALERIE FACEBOOK - FOCUS PRINCIPAL
   ==================================================================== */
.section {
    padding: var(--space-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray-dark);
    max-width: 700px;
    margin: 0 auto;
}

.gallery-facebook {
    background: var(--gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.3), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
}

.gallery-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.social-btn.facebook {
    background: linear-gradient(135deg, #1877f2, #4267B2);
    color: white;
}

.social-btn.telegram {
    background: linear-gradient(135deg, #0088cc, #229ED9);
    color: white;
}

.social-icon {
    font-size: 1.5rem;
}

/* ====================================================================
   SECTION JUDO - FOCUS PRINCIPAL
   ==================================================================== */
.judo-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    position: relative;
    overflow: hidden;
}

.judo-section::before {
    content: '柔道';
    position: absolute;
    font-family: var(--font-jp);
    font-size: 30rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.judo-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.judo-info h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: var(--space-md);
}

.judo-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    opacity: 0.95;
}

.judo-features {
    display: grid;
    gap: var(--space-md);
}

.feature {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-md);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.feature-content p {
    opacity: 0.9;
}

.judo-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.judo-card {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-lg);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.judo-card-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.judo-card h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

/* ====================================================================
   HORAIRES
   ==================================================================== */
.horaires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.horaire-day {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.horaire-day:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.day-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
}

.horaire-slot {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--gray);
}

.horaire-slot:last-child {
    border-bottom: none;
}

.slot-time {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.slot-info {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

/* ====================================================================
   TARIFS
   ==================================================================== */
.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.tarif-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
}

.tarif-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.tarif-card.featured {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    transform: scale(1.05);
}

.tarif-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--dark);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tarif-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.tarif-price {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: var(--space-sm);
}

.tarif-period {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: var(--space-lg);
}

.tarif-features {
    text-align: left;
    margin-bottom: var(--space-lg);
}

.tarif-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tarif-card.featured .tarif-features li {
    border-color: rgba(255, 255, 255, 0.2);
}

/* ====================================================================
   FOOTER
   ==================================================================== */
.footer {
    background: var(--dark);
    color: white;
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
    color: var(--gold);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--gold);
    padding-left: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* ====================================================================
   RESPONSIVE - MOBILE FIRST
   ==================================================================== */
@media (max-width: 1024px) {

    .hero-content,
    .judo-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ====================================================================
   TELEGRAM SECTION STYLES
   ==================================================================== */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.telegram-photo-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    border: 3px solid transparent;
}

.telegram-photo-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(211, 47, 47, 0.25);
    border-color: #D32F2F;
}

.telegram-photo-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.telegram-photo-card:hover img {
    transform: scale(1.08);
}

.telegram-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(211, 47, 47, 0.95) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 1.25rem 1.5rem;
    color: white;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    z-index: 2;
    gap: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.telegram-message-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2.5rem;
    border-left: 6px solid #D32F2F;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.telegram-message-card::before {
    content: '💬';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    opacity: 0.1;
}

.telegram-message-card:hover {
    box-shadow: 0 12px 35px rgba(211, 47, 47, 0.18);
    transform: translateX(8px) scale(1.02);
    border-left-color: #B71C1C;
}

.telegram-message-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #212121;
    margin-bottom: 1.5rem;
    white-space: pre-wrap;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.telegram-message-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 1rem;
    color: #666;
    padding-top: 1.25rem;
    border-top: 3px solid #f0f0f0;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .telegram-photos-modern {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }

    .telegram-photo-card img {
        height: 280px;
    }

    .telegram-message-card {
        padding: 2rem;
    }

    .telegram-message-text {
        font-size: 1.05rem;
    }

    .social-btn {
        padding: 0.875rem 1.5rem !important;
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    .telegram-photos-modern {
        grid-template-columns: 1fr !important;
    }

    .telegram-photo-card img {
        height: 320px;
    }
}

@media (max-width: 1024px) {
    .hero-image {
        order: -1;
        max-height: 400px;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .judo-image {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    :root {
        --space-xs: 0.5rem;
        --space-sm: 0.75rem;
        --space-md: 1rem;
        --space-lg: 1.5rem;
        --space-xl: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .header {
        padding: 0.5rem 0;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    /* MENU MOBILE - DESIGN MODERNE */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
        border-left: 3px solid #D32F2F;
        border-radius: 20px 0 0 20px;
        flex-direction: column;
        padding: 1.5rem 0 1rem;
        margin: 0;
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10002 !important;
        overflow-y: auto;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Logo en haut du menu */
    .nav-menu::before {
        content: '🥋';
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem;
        margin-bottom: 1rem;
        flex-shrink: 0;
    }

    .nav-menu.active {
        right: 0;
        animation: slideInMenu 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes slideInMenu {
        0% {
            right: -100%;
            opacity: 0.8;
        }

        100% {
            right: 0;
            opacity: 1;
        }
    }

    /* Container des liens */
    .nav-menu li {
        width: 100%;
        margin: 0;
        list-style: none;
    }

    .nav-link {
        display: block;
        padding: 0.8rem 1.5rem;
        color: #2c3e50 !important;
        font-size: 1.1rem;
        font-weight: 600;
        text-decoration: none;
        border-bottom: 1px solid rgba(211, 47, 47, 0.1);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        background: transparent !important;
        position: relative;
        margin: 0.1rem 0.8rem;
        border-radius: 12px;
    }

    .nav-link:hover {
        background: linear-gradient(135deg, rgba(211, 47, 47, 0.08) 0%, rgba(244, 67, 54, 0.08) 100%) !important;
        padding-left: 2.5rem;
        color: #D32F2F !important;
        transform: translateX(5px);
        box-shadow: 0 4px 15px rgba(211, 47, 47, 0.1);
    }

    .nav-link.active {
        background: linear-gradient(135deg, rgba(211, 47, 47, 0.15) 0%, rgba(244, 67, 54, 0.15) 100%) !important;
        color: #D32F2F !important;
        border-left: 4px solid #D32F2F;
        box-shadow: 0 2px 10px rgba(211, 47, 47, 0.2);
    }

    /* Bouton inscription */
    .nav-menu .btn-inscription {
        display: block;
        margin: 1.5rem 1rem 1rem;
        padding: 1rem 1.5rem;
        background: linear-gradient(135deg, #D32F2F 0%, #F44336 100%) !important;
        color: white !important;
        border-radius: 15px;
        font-size: 1.1rem;
        font-weight: 700;
        text-align: center;
        box-shadow: 0 8px 25px rgba(211, 47, 47, 0.3);
        border: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }

    .nav-menu .btn-inscription:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 12px 35px rgba(211, 47, 47, 0.4);
    }

    .nav-menu .btn-inscription:active {
        transform: translateY(-1px) scale(0.98);
    }

    /* Overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(1px);
        z-index: 999 !important;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        z-index: 10002;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 8px;
        transition: all 0.3s;
    }

    .mobile-toggle span {
        width: 25px;
        height: 3px;
        background: #D32F2F;
        border-radius: 2px;
        transition: all 0.3s;
    }

    .mobile-toggle:hover {
        background: rgba(211, 47, 47, 0.1);
    }

    .mobile-toggle.active span {
        background: #D32F2F;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
        margin-top: 60px;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 0.95rem;
        justify-content: center;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.5rem;
    }

    .social-links {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .social-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .judo-content {
        gap: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-image {
        display: none;
    }

    .hero-kanji {
        display: none;
    }

    .judo-section h2 {
        font-size: 1.75rem;
    }

    .judo-section p {
        font-size: 0.95rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .benefit-icon {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }

    .benefit-card h3 {
        font-size: 1.1rem;
    }

    .benefit-card p {
        font-size: 0.9rem;
    }

    .tarifs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tarif-card {
        padding: 2rem 1.5rem;
    }

    .tarif-card.featured {
        transform: scale(1);
    }

    .tarif-price {
        font-size: 2.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .horaires-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* ====================================================================
   ANIMATIONS & UTILITIES
   ==================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--space-lg);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

/* ====================================================================
   AFFICHAGE ÉLÉGANT DES DATES
   ==================================================================== */
.nice-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.08) 0%, rgba(244, 67, 54, 0.08) 100%);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #D32F2F;
    transition: all 0.3s ease;
    border: 1px solid rgba(211, 47, 47, 0.15);
}

.nice-date:hover {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.12) 0%, rgba(244, 67, 54, 0.12) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.15);
}

.date-icon {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.date-text {
    letter-spacing: 0.3px;
}

/* ====================================================================
   SYSTÈME DE RÉACTIONS - DESIGN ULTRA-MINIMALISTE
   ==================================================================== */
.reactions-container {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(211, 47, 47, 0.06);
}

.reactions-bar {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    align-items: center;
}

.reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    background: rgba(211, 47, 47, 0.04);
    border: 1px solid rgba(211, 47, 47, 0.12);
    border-radius: 50px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.reaction-btn:hover {
    background: rgba(211, 47, 47, 0.08);
    border-color: rgba(211, 47, 47, 0.25);
    transform: translateY(-1px);
}

.reaction-btn.active {
    background: linear-gradient(135deg, #D32F2F 0%, #F44336 100%);
    border-color: #D32F2F;
    color: white;
}

.reaction-emoji {
    font-size: 1.1rem;
    line-height: 1;
}

.reaction-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    min-width: 0.8rem;
    text-align: center;
}


/* Bouton ajouter réaction */
.add-reaction-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: transparent;
    border: 1px dashed rgba(211, 47, 47, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    position: relative;
    z-index: 10;
}

.add-reaction-btn:hover {
    background: rgba(211, 47, 47, 0.06);
    border-color: rgba(211, 47, 47, 0.4);
    border-style: solid;
    transform: scale(1.1);
    z-index: 1001;
}

.add-icon {
    font-size: 1.1rem;
    color: #999;
    font-weight: 300;
    line-height: 1;
}

.add-reaction-btn:hover .add-icon {
    color: #D32F2F;
}

/* Picker de réactions */
.reaction-picker {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 50px;
    padding: 0.5rem 0.75rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: none;
    gap: 0.4rem;
    z-index: 1002;
    border: 1px solid rgba(211, 47, 47, 0.1);
    animation: pickerSlideUp 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pickerSlideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.reaction-picker.active {
    display: flex;
}

.reaction-option {
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0.2rem;
    border-radius: 50%;
    line-height: 1;
}

.reaction-option:hover {
    transform: scale(1.3);
    background: rgba(211, 47, 47, 0.08);
}

/* Styles spécifiques pour les cartes */
.telegram-photo-card .reactions-container,
.telegram-message-card .reactions-container {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(211, 47, 47, 0.06);
}

/* Responsive */
@media (max-width: 768px) {
    .reactions-bar {
        gap: 0.35rem;
    }

    .reaction-btn {
        padding: 0.25rem 0.55rem;
        font-size: 0.8rem;
    }

    .reaction-emoji {
        font-size: 1rem;
    }

    .add-reaction-btn {
        width: 26px;
        height: 26px;
    }

    .reaction-picker {
        left: 50%;
        transform: translateX(-50%);
    }

    .reaction-picker.active {
        transform: none;
    }
}

/* Mobile: Red�finir l'animation du picker sans translateX */
@media (max-width: 768px) {
    @keyframes pickerSlideUp {
        from {
            opacity: 0;
            transform: translateX(-50%) translateY(5px);
        }

        to {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
    }
}

/* Logo image */
.logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 8px;
}

/* ====================================================================
   DESIGN PREMIUM V2 - PHOTOS PAGE ACCUEIL
   ==================================================================== */
.telegram-photo-card-v2 {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.telegram-photo-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(211, 47, 47, 0.2);
}

.photo-image-container {
    position: relative;
    overflow: hidden;
}

.photo-image-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.telegram-photo-card-v2:hover .photo-image-container img {
    transform: scale(1.1);
}

.photo-overlay-v2 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    padding: 3rem 1rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.photo-date-v2 {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.photo-info-right {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
}

.photo-reaction {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 0.35rem 0.6rem;
    border-radius: 20px;
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.photo-reaction:hover,
.photo-reaction.active {
    background: rgba(211, 47, 47, 0.9);
    transform: scale(1.1);
}

.photo-add-reaction {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.photo-add-reaction:hover {
    background: rgba(211, 47, 47, 0.9);
    transform: scale(1.15);
}

.photo-reaction-picker {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 8px;
    background: white;
    border-radius: 30px;
    padding: 0.5rem 0.75rem;
    display: none;
    gap: 0.3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    z-index: 100;
}

.photo-reaction-picker.active {
    display: flex;
}

.photo-reaction-picker span {
    font-size: 1.3rem;
    cursor: pointer;
    transition: transform 0.2s;
    padding: 0.2rem;
}

.photo-reaction-picker span:hover {
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 768px) {
    .photo-image-container img {
        height: 250px;
    }

    .photo-overlay-v2 {
        padding: 2rem 0.75rem 0.75rem;
    }

    .photo-date-v2 {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .photo-reaction {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* ====================================================================
   HISTORY PAGE STYLES
   ==================================================================== */
.history-page {
    padding: 4rem 0;
    background-color: #fcfcfc;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Vertical Line */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #e0e0e0;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 50%;
}

.timeline-item.left {
    left: 0;
    padding-right: 3rem;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    padding-left: 3rem;
    text-align: left;
}

/* Dot on the line */
.timeline-item::after {
    content: '';
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    background: #D32F2F;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #D32F2F;
    z-index: 1;
}

.timeline-item.left::after {
    right: -10px;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-year {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #eee;
    line-height: 1;
    margin-bottom: -1.5rem;
    position: relative;
    z-index: 0;
}

.timeline-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
    position: relative;
    z-index: 1;
}

.timeline-description {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.timeline-gallery {
    margin-top: 1.5rem;
}

.timeline-gallery.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    background: #fff;
    padding: 5px;
    /* Polaris styling inspired */
}

.gallery-item:hover {
    transform: scale(1.02);
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    filter: sepia(0.2);
    /* Nostalgic effect */
    transition: filter 0.3s;
}

.gallery-item:hover img {
    filter: sepia(0);
}

.gallery-caption {
    font-size: 0.75rem;
    color: #888;
    padding: 5px 0 0 0;
    font-style: italic;
}

.history-end {
    text-align: center;
    padding: 4rem 0;
    color: #666;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        margin-bottom: 3rem;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        padding-left: 80px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 20px;
        right: auto;
    }

    .timeline-year {
        font-size: 2.5rem;
    }
}

/* ====================================================================
   PAGE HERO PREMIUM (SEO & DESIGN)
   ==================================================================== */
.page-hero {
    position: relative;
    padding: 140px 0 60px;
    /* Espace pour le header fixe + a�ration */
    text-align: center;
    background: linear-gradient(180deg, rgba(248, 249, 250, 0.5) 0%, transparent 100%);
    margin-bottom: 2rem;
}

.page-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.25rem;
    /* Plus fin et �l�gant */
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
}

.page-hero h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #D32F2F, #ffc107);
    margin: 10px auto 0;
    border-radius: 2px;
}

.hero-lead {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Version mobile */
@media (max-width: 768px) {
    .page-hero {
        padding: 120px 1rem 40px;
    }

    .page-hero h1 {
        font-size: 1.75rem;
    }

    .hero-lead {
        font-size: 1rem;
    }
}

/* ====================================================================
   LIGHTBOX NAVIGATION (Added for carousel support)
   ==================================================================== */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 3rem;
    padding: 0 1rem;
    cursor: pointer;
    z-index: 10001;
    /* Above lightbox image */
    transition: background 0.3s;
    user-select: none;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 50px;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

@media (max-width: 768px) {
    .carousel-nav {
        font-size: 2rem;
        height: 50px;
        width: 40px;
    }

    .carousel-nav.prev {
        left: 10px;
    }

    .carousel-nav.next {
        right: 10px;
    }
}