:root {
    --color-primary: #C32127; /* Rouge TC Chalais */
    --color-primary-light: #E63946;
    --color-secondary: #27AE60; /* Court green */
    --color-secondary-dark: #1E8449;
    --color-bg: #F8F9F9;
    --color-surface: #FFFFFF;
    --color-text: #2C3E50;
    --color-text-muted: #7F8C8D;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo span {
    font-family: 'Outfit', sans-serif;
}

.text-highlight {
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.club-logo {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    object-fit: contain;
    background: white;
    padding: 3px;
    box-shadow: var(--shadow-sm);
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary-dark);
}

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

nav a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

nav a:hover {
    color: var(--color-primary);
}

/* BUTTONS */
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(195, 33, 39, 0.3);
}

.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
    filter: blur(8px);
    opacity: 0;
    transition: var(--transition);
}

.glow-effect:hover::after {
    opacity: 0.5;
}

.btn-large {
    padding: 1rem 2.2rem;
    font-size: 1.1rem;
}

.btn-secondary {
    background: white;
    color: var(--color-text);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid #E5E7EB;
}

.btn-secondary:hover {
    background: var(--color-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* HERO SECTION */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(195, 33, 39, 0.08), transparent 50%),
                radial-gradient(circle at bottom left, rgba(39, 174, 96, 0.08), transparent 50%),
                url('data:image/svg+xml,%3Csvg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%23C32127" fill-opacity="0.03" fill-rule="evenodd"%3E%3Ccircle cx="3" cy="3" r="3"/%3E%3Ccircle cx="13" cy="13" r="3"/%3E%3C/g%3E%3C/svg%3E');
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 10;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: wrap;
}

/* HERO VISUALS & GLASSMORPHISM */
.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    opacity: 0.5;
    animation: float 10s infinite ease-in-out alternate;
}

.orb-1 {
    width: 300px; height: 300px;
    background: var(--color-primary);
    top: 10%; right: 20%;
}

.orb-2 {
    width: 250px; height: 250px;
    background: var(--color-secondary);
    bottom: 5%; left: 10%;
    animation-delay: -5s;
}

.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    position: absolute;
    right: 15%;
    transform: rotate(3deg);
    animation: slight-float 6s infinite ease-in-out alternate;
}

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

/* DOCUMENTS SECTION */
.documents {
    padding: 6rem 5%;
    background-color: white;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

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

.documents-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .documents-layout {
        grid-template-columns: 1fr 1fr;
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.tarifs-preview {
    text-align: center;
}

.tarifs-image {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid #E5E7EB;
}

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

.doc-card {
    background: var(--color-surface);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid #E5E7EB;
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

.doc-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.doc-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.doc-card p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.link-arrow span {
    transition: transform 0.3s ease;
}

.link-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.link-list .link-arrow {
    font-size: 0.95rem;
}

.doc-card:hover .link-arrow span {
    transform: translateX(5px);
}

/* FOOTER */
footer {
    background: var(--color-text);
    color: white;
    padding: 4rem 5% 2rem 5%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-contact a {
    color: var(--color-primary-light);
    text-decoration: none;
}

.footer-social p {
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    color: white;
    opacity: 0.7;
    transition: var(--transition);
    display: inline-block;
}

.social-icons a:hover {
    color: var(--color-primary-light);
    opacity: 1;
    transform: translateY(-3px);
}

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

/* ANIMATIONS */
@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(-30px) scale(1.05); }
}

@keyframes slight-float {
    0% { transform: translateY(0px) rotate(3deg); }
    100% { transform: translateY(-15px) rotate(0deg); }
}

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

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

/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 1rem; }
    nav ul { gap: 1rem; flex-wrap: wrap; justify-content: center; }
    
    .hero { flex-direction: column; text-align: center; padding-top: 2rem; min-height: auto; padding-bottom: 3rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero-actions { justify-content: center; }
    
    .hero-visual { display: none; }
    
    .documents { padding: 3rem 5%; }
    .tarifs-preview { margin-bottom: 2rem; }
}
