/* ===== RESET & VARIABLES ===== */
:root {
    --primary-orange: #FF6B35;
    --primary-orange-light: #FF8B5C;
    --primary-orange-dark: #E55A2B;
    --night-blue: #1A2B4C;
    --night-blue-light: #2A3B5C;
    --night-blue-dark: #0A1B3C;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #E9ECEF;
    --dark-gray: #6C757D;
    --text-color: #333333;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
.highlight { color: var(--primary-orange); }

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-orange-light), var(--primary-orange));
}
.btn-secondary {
    background: transparent;
    color: var(--night-blue);
    border: 2px solid var(--night-blue);
    padding: 12px 26px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-secondary:hover {
    background: var(--night-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.btn-block { width: 100%; }
.btn-login {
    background: transparent;
    color: var(--night-blue);
    border: 2px solid var(--primary-orange);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-login:hover {
    background: var(--primary-orange);
    color: white;
}
.btn-submit {
    width: 100%;
    padding: 18px;
    margin-top: 20px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-orange), #ffa500);
    color: #0a0e1a;
    font-size: 1.1rem;
    font-weight: 900;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}
.btn-submit:hover::before { left: 100%; }
.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(255,140,0,0.5);
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}
.logo h1 {
    color: var(--night-blue);
    font-size: 1.8rem;
    margin-bottom: 0;
}
.logo-subtitle {
    color: var(--primary-orange);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav-link {
    color: var(--night-blue);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}
.nav-link:hover,
.nav-link.active {
    color: var(--primary-orange);
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 3px;
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--night-blue);
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--night-blue) 0%, var(--night-blue-dark) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,107,53,0.1) 0%, rgba(255,107,53,0.05) 100%);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    pointer-events: none;
    z-index: 0;
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.badge {
    background: var(--primary-orange);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}
.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}
.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
    max-width: 500px;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}
.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-orange);
    margin-bottom: 5px;
}
.stat-item p {
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-size: 0.9rem;
}
/* Dashboard Preview */
.dashboard-preview {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-10deg);
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
}
.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(-5deg) translateY(-10px);
}
.dashboard-header {
    background: var(--night-blue);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dashboard-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}
.dashboard-title i { color: var(--primary-orange); }
.status-badge {
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.status-active {
    background: rgba(76,175,80,0.2);
    color: #4CAF50;
}
.dashboard-content { padding: 20px; }
.child-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}
.child-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}
.child-info h4 {
    margin-bottom: 5px;
    color: var(--night-blue);
}
.child-info p {
    color: var(--dark-gray);
    margin-bottom: 5px;
    font-size: 0.9rem;
}
.child-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--dark-gray);
}
.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.status-riding {
    background: #4CAF50;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}
.notification-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.notification {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}
.notification.active {
    background: rgba(255,107,53,0.1);
    border-left: 4px solid var(--primary-orange);
}
.notification:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}
.notification-icon {
    color: var(--primary-orange);
    font-size: 1.2rem;
    margin-top: 2px;
}
.notification p {
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--night-blue);
}
.notification small { color: var(--dark-gray); font-size: 0.8rem; }

/* ===== FEATURES SECTION ===== */
.features {
    padding: 100px 0;
    background: var(--light-gray);
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-title {
    color: var(--night-blue);
    margin-bottom: 15px;
}
.section-subtitle {
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.feature-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-orange);
}
.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(255,107,53,0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-orange);
    font-size: 1.8rem;
}
.feature-card h3 {
    color: var(--night-blue);
    margin-bottom: 15px;
}
.feature-card p {
    color: var(--dark-gray);
    margin-bottom: 20px;
}
.feature-list {
    list-style: none;
    padding: 0;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--night-blue);
}
.feature-list li i { color: var(--primary-orange); }

/* ===== REGISTRATION SECTION ===== */
.registration {
    padding: 100px 0;
    background: white;
}
.registration-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.benefits {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}
.benefit {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.benefit i {
    color: var(--primary-orange);
    font-size: 1.5rem;
    margin-top: 5px;
}
.benefit h4 {
    color: var(--night-blue);
    margin-bottom: 5px;
}
.benefit p {
    color: var(--dark-gray);
    margin: 0;
    font-size: 0.95rem;
}
/* Registration Form */
.registration-form {
    background: var(--light-gray);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--medium-gray);
}
.form-header {
    text-align: center;
    margin-bottom: 30px;
}
.form-header h3 {
    color: var(--night-blue);
    margin-bottom: 10px;
}
.form-header p {
    color: var(--primary-orange);
    font-weight: 500;
}

/* ===== FORMULAIRES GÉNÉRIQUES (pour les pages hero) ===== */
.hero .form-group {
    margin-bottom: 25px;
}
.hero .form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: white;
    font-weight: 500;
}
.hero .form-group label i {
    color: var(--primary-orange);
}
.hero .form-group input,
.hero .form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--primary-orange);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
    color: var(--night-blue);
}
.hero .form-group input:focus,
.hero .form-group select:focus {
    outline: none;
    border-color: var(--primary-orange-dark);
    box-shadow: 0 0 0 3px rgba(255,107,53,0.3);
}
.hero .form-group select option {
    background: white;
    color: var(--night-blue);
}
.hero .form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}
.hero .form-check input {
    margin-top: 5px;
    accent-color: var(--primary-orange);
}
.hero .form-check label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
}
.hero .form-check a {
    color: var(--primary-orange);
    text-decoration: none;
}
.hero .form-check a:hover { text-decoration: underline; }
.hero .form-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.hero .form-footer a {
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: none;
}
.hero .form-footer a:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
footer {
    flex-shrink: 0;
    width: 100%;
    background: #0f172a;
    position: relative;
    margin-top: auto;
    padding: 0;
}
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}
.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}
.footer-wave .shape-fill { fill: #0f172a; }
.footer-main {
    background: #0f172a;
    padding: 60px 0 30px;
    position: relative;
    z-index: 2;
    width: 100%;
}
.footer-container {
    width: min(1200px, 94%);
    margin: 0 auto;
}
.footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}
.footer-contact-section {
    width: 100%;
    margin-bottom: 40px;
}
.footer-contact-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #fff, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}
.footer-contact-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.footer-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 25px 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
    min-width: 280px;
    max-width: 320px;
    flex: 1;
    cursor: pointer;
}
.footer-contact-item:hover {
    background: rgba(255,140,0,0.08);
    border-color: rgba(255,140,0,0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255,140,0,0.15);
}
.footer-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(255,140,0,0.2), rgba(255,140,0,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ff8c00;
    flex-shrink: 0;
}
.footer-contact-content { text-align: center; }
.footer-contact-content h4 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    color: white;
}
.footer-contact-content p {
    margin: 0;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    font-size: 1rem;
}
.footer-contact-content a {
    color: #ff8c00;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-block;
    width: 100%;
}
.footer-contact-content a:hover {
    text-decoration: underline;
    color: #ffa500;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    width: 100%;
}
.footer-copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-icon:hover {
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: #0f172a;
    transform: translateY(-3px);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.modal.show { display: flex; }
.modal-content {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.modal-header h3 {
    color: var(--night-blue);
    margin: 0;
}
.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--dark-gray);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-close:hover { color: var(--primary-orange); }

/* Styles supplémentaires pour la modale parent secondaire */
.modal .checkbox-group {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid rgba(255,107,53,0.3);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}
.modal .checkbox-item {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.modal .checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-orange);
}
.modal .checkbox-item label {
    color: white;
    margin: 0;
}
.modal .form-group {
    margin-bottom: 20px;
}
.modal .form-group label {
    display: block;
    margin-bottom: 5px;
    color: rgba(255,255,255,0.8);
}
.modal .form-group input[type="text"],
.modal .form-group input[type="email"],
.modal .form-group input[type="password"],
.modal .form-group input[type="date"] {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255,107,53,0.3);
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.modal .form-group input:focus {
    outline: none;
    border-color: var(--primary-orange);
}
.modal .btn-primary, .modal .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}
.modal .btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    margin-right: 10px;
}
.modal .btn-secondary:hover {
    background: var(--primary-orange);
    color: white;
}
.modal .modal-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,107,53,0.3);
    text-align: right;
}
.modal .success-message {
    background: rgba(76,175,80,0.2);
    border: 2px solid #4CAF50;
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    color: #4CAF50;
    text-align: center;
}
.modal .error-message {
    color: #f44336;
    text-align: center;
}

/* ===== AJOUTS POUR LES PAGES INTÉRIEURES ===== */
.page-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}
.page-header h1 {
    font-size: 3rem;
    color: white;
    text-shadow: 0 0 20px rgba(255,107,53,0.5);
    margin-bottom: 15px;
}
.page-header p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* Cartes pour les formulaires et contenus */
.form-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,107,53,0.3);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(255,107,53,0.3);
    border-color: var(--primary-orange);
}

/* Grille pour la liste des enfants */
.enfants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.enfant-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,107,53,0.3);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.enfant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,107,53,0.2), transparent);
    transition: left 0.6s;
}
.enfant-card:hover::before {
    left: 100%;
}
.enfant-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255,107,53,0.3);
    border-color: var(--primary-orange);
}
.enfant-card h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.5rem;
}
.enfant-card p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
}
.enfant-card .enfant-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
}

/* Badge pour les notifications dans la liste */
.notification-badge {
    position: relative;
    display: inline-block;
}
.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8rem;
    display: none;
}

/* Messages de support */
.message-thread {
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-orange);
    transition: all 0.3s ease;
}
.message-thread:hover {
    background: rgba(255,255,255,0.05);
    transform: translateX(10px);
}
.message-thread .message-header {
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
    font-size: 0.9rem;
}
.message-thread .message-content {
    color: white;
    margin-bottom: 15px;
}
.message-thread .reponse {
    background: rgba(255,107,53,0.15);
    border-radius: 15px;
    padding: 15px;
    margin-top: 15px;
    border: 1px solid rgba(255,107,53,0.3);
}
.message-thread .reponse p:first-child {
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 8px;
}

/* Ajustements pour les formulaires dans les cartes */
.form-card .form-group {
    margin-bottom: 25px;
}
.form-card label {
    display: block;
    margin-bottom: 10px;
    color: white;
    font-weight: 500;
}
.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 2px solid rgba(255,107,53,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 20px rgba(255,107,53,0.3);
    background: rgba(255,255,255,0.15);
}
.form-card select option {
    background: var(--night-blue);
    color: white;
}
.form-card .btn-submit {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    color: white;
    border: none;
    padding: 16px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}
.form-card .btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,107,53,0.5);
}

/* Modale améliorée */
.modal-content {
    background: linear-gradient(135deg, var(--night-blue), var(--night-blue-dark));
    border: 2px solid var(--primary-orange);
    color: white;
}
.modal-header h3 {
    color: white;
}
.modal-close {
    color: white;
}
.modal-close:hover {
    color: var(--primary-orange);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .stats {
        gap: 20px;
    }
    .page-header h1 {
        font-size: 2.2rem;
    }
    .form-card {
        padding: 25px;
    }
    .enfants-grid {
        grid-template-columns: 1fr;
    }
    .footer-contact-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .footer-contact-item {
        width: 100%;
        max-width: 350px;
    }
}