/* Variables */
:root {
    --primary-color: #1a237e; /* Bleu foncé */
    --accent-color: #e53935; /* Rouge */
    --secondary-color: #1565c0; /* Bleu */
    --bg-color: #f5f5f5; /* Gris clair */
    --text-color: #212121; /* Noir */
    --card-bg: #ffffff; /* Blanc */
    --border: 2px solid #1a237e; /* Bleu foncé */
    --shadow: 4px 4px 0 0 rgba(26, 35, 126, 0.2);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --font-main: 'Montserrat', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&display=swap');

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

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

@keyframes fireworks {
    0% { 
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

@keyframes subtlePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

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

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-sizing: border-box;
}

/* Container principal */
.construction-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

/* Contenu */
.content {
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding: 10px 0;
    height: 100%;
    overflow: hidden;
}

/* Header Section */
.header-section {
    margin-bottom: 30px;
}

.logo-container {
    margin-bottom: 30px;
    text-align: center;
}

.club-logo {
    max-width: 150px;
    height: auto;
    display: inline-block;
    animation: subtlePulse 3s infinite ease-in-out;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin: 0 0 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    animation: fadeIn 1s ease-out;
    padding: 0.5rem 1.5rem;
    border: var(--border);
    background: var(--card-bg);
    box-shadow: var(--shadow);
    transform: rotate(-1deg);
}

h1 .highlight {
    color: #e53935; /* Rouge correspondant au logo */
    font-weight: 700;
    display: inline-block;
}

.highlight {
    color: var(--secondary-color);
    position: relative;
}

.subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
    animation: fadeIn 1.5s ease-out;
}

.divider {
    width: 100%;
    text-align: center;
    margin: 30px 0;
    height: 20px;
    position: relative;
}

.divider span {
    display: inline-block;
    width: 100px;
    height: 3px;
    background: var(--gradient-primary);
    position: relative;
}

.divider span::before, .divider span::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
}

.divider span::before {
    left: -15px;
}

.divider span::after {
    right: -15px;
    background-color: var(--secondary-color);
}

/* Cartes d'information */
.info-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.info-card:nth-child(1) {
    animation: fadeInUp 1.2s ease-out;
}

.info-card {
    background: var(--card-bg);
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: left;
    position: relative;
    overflow: hidden;
    border: var(--border);
    animation: fadeInUp 0.6s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
}

.info-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 0 var(--primary-color);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-icon {
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: rgba(30, 58, 138, 0.1);
    color: var(--primary-color);
    font-size: 24px;
}

.info-card:nth-child(2) .info-icon {
    background-color: rgba(30, 58, 138, 0.1);
    color: var(--primary-color);
}

.info-card:nth-child(1) h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.info-card:nth-child(2) h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.info-card:nth-child(3) h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.info-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Liens sociaux */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 3;
    transform: translateY(-10px);
}

/* Infos utiles */
.useful-info {
    margin: 1.5rem 0 1rem;
    text-align: center;
}

.info-link {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--card-bg);
    color: var(--primary-color);
    border: var(--border);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    transform: rotate(0deg);
}

.info-link:hover {
    background: var(--accent-color);
    color: white;
    transform: rotate(8deg) scale(1.1);
    box-shadow: 6px 6px 0 0 var(--primary-color);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--card-bg);
    color: var(--primary-color);
    border: var(--border);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transform: rotate(0deg);
}

.social-link:hover {
    transform: rotate(8deg) scale(1.1);
    background: var(--primary-color);
    color: white;
    box-shadow: 6px 6px 0 0 var(--primary-color);
}

/* Style spécifique pour le bouton Facebook */
.social-link[aria-label="Facebook"]:hover {
    background-color: #3b5998; /* Bleu Facebook */
}

/* Style spécifique pour le bouton Instagram */
.social-link[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}


/* Responsive */
@media (max-width: 768px) {
    body {
        min-height: 100vh;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
    }
    
    .construction-container {
        padding: 10px;
        width: 100%;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        margin: 0;
        max-width: 100%;
        box-sizing: border-box;
        justify-content: space-between;
    }
    
    .content {
        width: 100%;
        max-width: 100%;
        padding: 5px;
        margin: 0 auto;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    
    .header-section {
        margin-bottom: 10px;
        padding-top: 5px;
    }
    
    .logo-container {
        margin: 0 0 5px 0;
        padding: 0;
    }
    
    .club-logo {
        max-width: 80px;
    }
    
    h1 {
        font-size: 1.6rem;
        margin: 2px 0;
        line-height: 1.1;
        word-wrap: break-word;
        padding: 0.5rem 1rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
        margin: 2px 0 5px;
        line-height: 1.1;
        padding: 0 5px;
    }
    
    .info-container {
        flex-direction: column;
        gap: 10px;
        margin: 10px 0;
        width: 100%;
        padding: 0 5px;
        box-sizing: border-box;
        flex: 1;
    }
    
    .info-card {
        margin: 0 auto 15px;
        width: 100%;
        max-width: 400px;
        padding: 15px;
        box-shadow: var(--shadow);
        box-sizing: border-box;
    }
    
    .info-card p {
        font-size: 14px;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin: 10px 0;
        padding: 0;
    }
    
    .info-card p strong {
        display: inline-block;
        margin-top: 5px;
    }
    
    .info-card p strong:first-child {
        margin-top: 0;
    }
    
    .social-links {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        margin: 1rem 0;
        padding-bottom: 15px;
    }
    
    .social-link {
        font-size: 1rem;
        padding: 4px 6px;
        width: auto;
        min-width: 110px;
        text-align: center;
        margin: 0 2px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
    }
    
    .construction-container {
        padding: 15px 10px;
        min-height: auto;
    }
    
    .content {
        max-height: none;
        padding: 10px 0 20px;
    }
    
    .header-section {
        margin-bottom: 15px;
        padding-top: 10px;
    }
    
    .club-logo {
        max-width: 80px;
    }
    
    h1 {
        font-size: 1.8rem;
        margin: 5px 0;
        line-height: 1.2;
    }
    
    .subtitle {
        font-size: 1rem;
        margin: 5px 0 10px;
        line-height: 1.2;
    }
    
    .info-container {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .info-card {
        padding: 12px 8px;
    }
    
    .info-card p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .info-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .info-card h3 {
        font-size: 0.85rem;
        margin: 2px 0;
    }
    
    .social-links {
        margin-top: 20px;
        margin-bottom: 15px;
        gap: 1.2rem;
        flex-direction: row;
    }
    
    .social-link {
        min-width: 110px;
        padding: 7px 12px;
        font-size: 12px;
    }
}
