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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: slideUp 0.8s ease-out;
}

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

.header {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '♜♞♝♛♚♝♞♜';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    opacity: 0.1;
    z-index: 0;
}

.header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.form-container {
    padding: 40px;
}

.section {
    margin-bottom: 40px;
    padding: 25px;
    border-radius: 15px;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #3498db;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    font-weight: 600;
    color: #34495e;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    padding: 12px 16px;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.checkbox-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3498db;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.radio-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.radio-item input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #3498db;
}

.federation-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.federation-card {
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.payment-section {
    background: linear-gradient(145deg, #e8f5e8, #f0f8f0);
    border-left: 5px solid #27ae60;
}

.signature-area {
    background: linear-gradient(145deg, #fff9e6, #ffeaa7);
    border-left: 5px solid #f39c12;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-top: 15px;
    color: #8b7355;
    font-style: italic;
}

.submit-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(39, 174, 96, 0.3);
    display: block;
    margin: 30px auto 0;
    min-width: 200px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(39, 174, 96, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.icon {
    font-size: 1.2rem;
}


.login-button {
display: inline-block;
padding: 0.55rem 1.25rem;
font: 600 1rem/1 "Segoe UI", sans-serif;
color: #ffffff;
background: #0066cc;            /* bleu club */
border: none;
border-radius: 4px;
text-decoration: none;
cursor: pointer;
transition: background 0.25s, transform 0.15s;
}

.login-button:hover,
.login-button:focus {
background: #004c99;            /* plus sombre au survol */
transform: translateY(-2px);    /* léger soulèvement */
}

.login-button:active {
transform: translateY(0);       /* remet à plat au clic */
}


@media (max-width: 768px) {
    .container {
        margin: 10px;
        border-radius: 15px;
    }

    .header {
        padding: 20px;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .form-container {
        padding: 20px;
    }

    .section {
        padding: 20px;
    }

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

    .radio-group,
    .checkbox-group {
        flex-direction: column;
    }

    .federation-section {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
}

.required {
    color: #e74c3c;
}

.info-text {
    background: #e8f4fd;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #3498db;
    margin: 15px 0;
    font-size: 0.9rem;
    color: #2c3e50;
}


.tarifs-wrapper { overflow-x: auto; }
.tarifs-table   { width: 100%; border-collapse: collapse; min-width: 540px; }
.tarifs-table th,
.tarifs-table td {
padding: .6rem .8rem;
text-align: center;
border: 1px solid #e0e0e0;
white-space: nowrap;
}
.tarifs-table thead { background: #f3f5fa; font-weight: 600; }
.tarif-unique { font-weight: 700; background:#fafcff; }
.tarif-unique span { display:block; font-size:.8rem; font-weight:400; color:#555; }
.tarifs-notes { margin:1rem 0 0; font-size:.9rem; line-height:1.4; }
.tarifs-notes li { margin-bottom:.25rem; }