:root {
    --primary-color: #3498db;
    --primary-dark: #2980b9;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-bg: #ecf0f1;
    --dark-bg: #34495e;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #299AE6 0%, #0951E3 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --primary-color: #5dade2;
    --primary-dark: #3498db;
    --secondary-color: #1a252f;
    --light-bg: #2c3e50;
    --dark-bg: #1a252f;
    --text-dark: #ecf0f1;
    --text-light: #bdc3c7;
    --white: #1a252f;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(180deg, #ffffff 0%, #e3f2fd 100%);
    transition: background 0.5s ease, color 0.5s ease;
    position: relative;
    min-height: 100vh;
}

body[data-theme="dark"] {
    background: #0a1628;
    color: var(--text-light);
}

body[data-theme="dark"]::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(1px 1px at 15% 95%, white, transparent),
        linear-gradient(180deg, #0a1628 0%, #1a237e 100%);
    background-size: 200% 200%, 200% 200%, 200% 200%, 200% 200%, 200% 200%, 200% 200%, 200% 200%, 100% 100%;
    background-position: 0% 0%, 100% 100%, 50% 50%, 80% 20%, 20% 80%, 70% 30%, 40% 90%, 0% 0%;
    animation: stars 3s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
    opacity: 0.8;
}

@keyframes stars {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 80% 20%, 20% 80%, 70% 30%, 40% 90%, 0% 0%;
    }
    50% {
        background-position: 100% 100%, 0% 0%, 60% 40%, 70% 30%, 30% 90%, 80% 20%, 50% 80%, 0% 0%;
    }
}

.dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    left: auto;
    z-index: 10000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    color: var(--white);
}

@media (max-width: 480px) {
    .dark-mode-toggle {
        top: 14px;
        right: 14px;
        width: 44px;
        height: 44px;
    }
}

.dark-mode-toggle:hover {
    transform: scale(1.1) rotate(20deg);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* Décor : ballon de basket bleu flou en arrière-plan */
body::after {
    content: '';
    position: fixed;
    z-index: -2;
    top: -8%;
    right: -10%;
    width: 72vmin;
    height: 72vmin;
    max-width: 920px;
    max-height: 920px;
    border-radius: 50%;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 45%, rgba(102, 156, 255, 0.42) 0%, rgba(29, 78, 186, 0.25) 36%, rgba(13, 53, 135, 0.12) 62%, transparent 74%),
        linear-gradient(30deg, rgba(255,255,255,0.03), rgba(0,0,0,0.03)),
        linear-gradient(-30deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
    background-blend-mode: screen, overlay, overlay;
    filter: blur(36px) saturate(1.05);
    transform: translate3d(0,0,0);
    opacity: 0.95;
}

/* Lignes de couture très subtiles pour évoquer un ballon */
body::before.basketball-seams {
    content: '';
    position: fixed;
    z-index: -3;
    top: -6%;
    right: -8%;
    width: 68vmin;
    height: 68vmin;
    max-width: 880px;
    max-height: 880px;
    border-radius: 50%;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 45%, transparent 40%, rgba(0,0,0,0.02) 41%, transparent 42%),
        linear-gradient(90deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.02) 100%);
    mix-blend-mode: overlay;
    filter: blur(18px) contrast(0.9);
    opacity: 0.5;
}

[data-theme="dark"] .dark-mode-toggle {
    background: #ffd700;
    color: #0a1628;
}

.dark-mode-toggle .moon-icon {
    transition: var(--transition);
}

[data-theme="dark"] .dark-mode-toggle .moon-icon {
    transform: rotate(180deg);
}

/* Force footer to keep light mode colors even in dark mode */
[data-theme="dark"] .footer {
    background-color: #2c3e50;
    color: #ffffff;
}

[data-theme="dark"] .footer-col h3 {
    color: #3498db;
}

[data-theme="dark"] .footer-col a {
    color: #ffffff;
}

[data-theme="dark"] .footer-col a:hover {
    color: #3498db;
}

[data-theme="dark"] .footer-bottom {
    border-top-color: rgba(255,255,255,0.1);
    color: #ffffff;
}

[data-theme="dark"] .footer-social h4 {
    color: #3498db;
}

[data-theme="dark"] .social-icon-link {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

[data-theme="dark"] .social-icon-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .navbar {
    background-color: rgba(26, 37, 47, 0.95);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.nav-brand:hover {
    transform: translateY(-2px);
}

.nav-brand .logo {
    height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition);
}

.nav-brand:hover .logo {
    transform: rotate(360deg);
}

.brand-text {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    white-space: nowrap;
}

[data-theme="dark"] .brand-text {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.hero {
    background: var(--gradient-2);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    font-weight: 700;
}

.features {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
}

.values {
    padding: 80px 20px;
    background-color: var(--white);
}

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

.value-item {
    padding: 1.5rem;
    background-color: var(--light-bg);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.value-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.cta {
    background: var(--gradient-1);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

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

.ffbb-affiliation {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(52, 152, 219, 0.2);
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

.footer-social {
    margin-top: 1.5rem;
}

.footer-social h4 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-icon-link svg {
    width: 20px;
    height: 20px;
}

.social-icon-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-icon-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.page-header {
    background: var(--gradient-2);
    color: var(--white);
    padding: 80px 20px 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
}

.about-content {
    padding: 80px 20px;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 320px;
    height: 320px;
    max-width: 100%;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}

.image-placeholder .about-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.team-illustration {
    font-size: 8rem;
}

.values-section {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

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

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.affiliation-section {
    padding: 80px 20px;
    background-color: var(--white);
}

.affiliation-content {
    display: flex;
    justify-content: center;
}

.affiliation-badge {
    background: linear-gradient(135deg, #667eea 0%, #143250 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    display: block;
    text-decoration: none;
    transition: var(--transition);
}

.affiliation-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(52, 152, 219, 0.4);
}

.badge-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.affiliation-badge h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.club-number {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}

.affiliation-badge p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.mission-section {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-content > p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.mission-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: left;
}

.mission-point {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
}

.mission-point h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-section {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

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

.team-member {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.member-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
}

.teams-section {
    padding: 80px 20px;
    background-color: var(--white);
}

.teams-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

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

.team-card {
    background: var(--white);
    border: 2px solid var(--light-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.team-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.team-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.team-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.team-details {
    list-style: none;
    margin-bottom: 1.5rem;
}

.team-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-bg);
}

.team-badge {
    background-color: var(--light-bg);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.badge-text {
    color: var(--primary-color);
    font-weight: 600;
}

.training-section {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

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

.training-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.training-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.calendar-section {
    padding: 80px 20px;
    background-color: var(--white);
}

.calendar-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

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

.calendar-card {
    background: var(--white);
    border: 2px solid var(--light-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.calendar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.calendar-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.division-badge {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.division-badge.rm3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.division-badge.df2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.division-badge.ffbb {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.division-badge.prm {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.division-badge.dm2 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.division-badge.dm3 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.calendar-card h2 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.calendar-team {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.calendar-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.calendar-info p {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-bg);
}

.events-section {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.events-content {
    max-width: 900px;
    margin: 0 auto;
}

.events-content > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.events-list {
    display: grid;
    gap: 2rem;
}

.event-item {
    display: flex;
    gap: 1.5rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.event-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.event-text h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.matchs-section {
    padding: 80px 20px;
    background-color: var(--white);
}

.matchs-content {
    max-width: 1200px;
    margin: 0 auto;
}

.matchs-content > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.info-section {
    padding: 80px 20px;
    background-color: var(--white);
}

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

.info-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.info-card ul {
    list-style: none;
}

.info-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.inscription-intro {
    padding: 60px 20px 40px;
    background-color: var(--light-bg);
    text-align: center;
}

.intro-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
}

.tarifs-section {
    padding: 80px 20px;
    background-color: var(--white);
}

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

.tarif-card {
    background: var(--white);
    border: 2px solid var(--light-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.tarif-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.tarif-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.tarif-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.tarif-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.tarif-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--text-dark);
}

.tarif-age {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.tarif-features {
    list-style: none;
}

.tarif-features li {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--light-bg);
    position: relative;
    padding-left: 1.5rem;
}

.tarif-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.tarif-special {
    text-align: center;
    margin-bottom: 2rem;
}

.special-card {
    display: inline-block;
    background: var(--gradient-1);
    color: var(--white);
    padding: 1.5rem 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.special-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.payment-info {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.payment-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.payment-info ul {
    list-style: none;
}

.steps-section {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.steps-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

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

.step-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

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

.form-section {
    padding: 80px 20px;
    background-color: var(--white);
}

.inscription-form,
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

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

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.info-box {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-box ul {
    list-style: none;
}

.info-box ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.contact-intro {
    padding: 60px 20px 40px;
    background-color: var(--light-bg);
    text-align: center;
}

.contact-info-section {
    padding: 80px 20px;
    background-color: var(--white);
}

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

.contact-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.gymnases-section {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: -2rem;
    margin-bottom: 3rem;
}

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

.gymnase-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

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

.horaires-section {
    padding: 80px 20px;
    background-color: var(--white);
}

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

.horaire-item {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.horaire-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.horaire-time {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.responsables-section {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

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

.responsable-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.responsable-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.responsable-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.responsable-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-form-section {
    padding: 80px 20px;
    background-color: var(--white);
}

.social-section {
    padding: 80px 20px;
    background-color: var(--light-bg);
    text-align: center;
}

.social-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    background: var(--white);
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    font-size: 1.1rem;
    font-weight: 600;
}

.social-link svg {
    flex-shrink: 0;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.social-link.instagram {
    border: 2px solid transparent;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: var(--white);
    border-color: transparent;
}

.social-link.instagram:hover svg {
    filter: brightness(0) invert(1);
}

.social-icon {
    font-size: 1.5rem;
}

.legal-content {
    padding: 80px 20px;
    background-color: var(--white);
}

.legal-section {
    max-width: 900px;
    margin: 0 auto 3rem;
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
}

.legal-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.legal-section h3 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .inscription-form,
    .contact-form {
        padding: 2rem;
    }
    
    .legal-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-subtitle,
    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
}
