:root {
    --bleu-royal: #1e3a8a;
    --bleu-primaire: #2563eb;
    --bleu-clair: #3b82f6;
    --bleu-tres-clair: #60a5fa;
    --bleu-pale: #dbeafe;
    --turquoise: #06b6d4;
    --violet: #8b5cf6;
    --rose: #ec4899;
    --orange: #f97316;
    --jaune: #fbbf24;
    --vert: #10b981;
    --blanc: #ffffff;
    --gris-pale: #f8fafc;
    --gris-clair: #e2e8f0;
    --gris-moyen: #94a3b8;
    --gris-texte: #334155;
    --noir: #0f172a;
    --ombre-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --ombre-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--gris-texte);
    background: var(--blanc);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: var(--bleu-primaire);
    color: var(--blanc);
}

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

/* Header moderne */
header {
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--blanc);
    text-decoration: none;
    transition: transform 0.3s ease;
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0 auto;
}

.nav-links a {
    color: var(--blanc);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bleu-clair);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero section moderne */
.hero {
    color: var(--blanc) !important;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background-color 0.6s ease-in-out;
    background-color: #1d4ed8;
}

#accueil {
    position: relative;
}

/* Dynamic backgrounds for each slide */
#accueil.slide-0 {
    background-color: #1d4ed8 !important;
}

#accueil.slide-1 {
    background-color: #2563eb !important;
}

#accueil.slide-2 {
    background-color: #3b82f6 !important;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Geometric pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Remove the repeated background pattern */
.hero::after {
    display: none;
}

/* First large fleur de lys - left side */
.hero-fleur-lys {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-fleur-lys::before,
.hero-fleur-lys::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-image: url('/quebec.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    filter: brightness(2) invert(1);
}

/* First fleur de lys - left side */
.hero-fleur-lys::before {
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    animation: gentleFloat1 15s ease-in-out infinite;
}

/* Second fleur de lys - right side */
.hero-fleur-lys::after {
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    animation: gentleFloat2 15s ease-in-out infinite;
}

@keyframes gentleFloat1 {
    0%, 100% {
        transform: translateY(-50%);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-45%);
        opacity: 0.15;
    }
}

@keyframes gentleFloat2 {
    0%, 100% {
        transform: translateY(-50%);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-55%);
        opacity: 0.15;
    }
}

/* Carousel styles */
.hero-carousel {
    position: relative;
    width: 100%;
    z-index: 2;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    width: 100%;
    position: relative;
}

.carousel-slide.active {
    display: block;
    animation: slideIn 0.6s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel-indicators {
    position: relative;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--blanc);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--blanc);
    width: 30px;
    border-radius: 20px;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--blanc);
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-control.prev {
    left: 2rem;
}

.carousel-control.next {
    right: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    line-height: 1.1;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--blanc);
    color: var(--bleu-primaire);
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: var(--ombre-lg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--ombre-xl);
    background: var(--gris-pale);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Sections améliorées */
section {
    padding: 6rem 0;
    position: relative;
}

section:nth-child(even) {
    background: var(--gris-pale);
}

h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--noir);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--bleu-primaire), var(--turquoise));
    border-radius: 2px;
}

.content-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.content-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--gris-texte);
}

/* Cards modernes */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.step {
    background: var(--blanc);
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gris-clair);
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bleu-primaire), var(--turquoise), var(--violet));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--ombre-lg);
    border-color: transparent;
}

.step:hover::before {
    transform: scaleX(1);
}

.step-number {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--bleu-primaire), var(--bleu-clair));
    color: var(--blanc);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
    position: relative;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--noir);
    font-weight: 700;
}

.step p {
    color: var(--gris-texte);
    line-height: 1.7;
    font-size: 1rem;
}

/* Partners Grid moderne */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.partner {
    background: var(--blanc);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--gris-clair);
    position: relative;
    overflow: hidden;
}

.partner::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    transition: all 0.5s ease;
}

.partner:hover::before {
    top: -150%;
    left: -150%;
}

.partner:hover {
    transform: translateY(-5px);
    box-shadow: var(--ombre-lg);
    border-color: var(--bleu-clair);
}

.partner img {
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.partner:hover img {
    transform: scale(1.05);
}

.partner h3 {
    color: var(--noir);
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
}

.partner a {
    color: var(--bleu-primaire);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.partner a:hover {
    color: var(--bleu-clair);
}

/* Hashtag moderne */
.hashtag {
    background: linear-gradient(135deg, var(--bleu-primaire), var(--turquoise));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.1em;
}

/* Contact section moderne */
.contact-info {
    text-align: center;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--bleu-primaire);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.contact-info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bleu-primaire);
    transition: width 0.3s ease;
}

.contact-info a:hover::after {
    width: 100%;
}

/* Forms modernes */
.form-container {
    max-width: 650px;
    margin: 3rem auto;
    padding: 3rem;
    background: var(--blanc);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gris-clair);
}

.form-group {
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out both;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--noir);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group input[type="password"],
.form-group input[type="datetime-local"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gris-clair);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--gris-pale);
    font-family: 'Roboto', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--bleu-primaire);
    background: var(--blanc);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input[type="file"] {
    padding: 0.75rem;
    background: var(--gris-pale);
    border: 2px dashed var(--gris-clair);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-group input[type="file"]:hover {
    border-color: var(--bleu-primaire);
    background: var(--blanc);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--gris-moyen);
    font-size: 0.875rem;
}

.btn-submit {
    background: linear-gradient(135deg, var(--bleu-primaire), var(--bleu-clair));
    color: var(--blanc);
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    animation: fadeInUp 0.6s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

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

/* Alerts modernes */
.alert {
    padding: 1.25rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    font-weight: 500;
    animation: slideIn 0.5s ease-out;
    position: relative;
    padding-left: 3.5rem;
}

.alert::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.alert-success {
    background: var(--gris-pale);
    color: var(--vert);
    border: 1px solid var(--vert);
}

.alert-success::before {
    background: var(--vert);
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #dc2626;
}

.alert-error::before {
    background: #dc2626;
}

/* Footer moderne */
footer {
    background: linear-gradient(135deg, var(--noir) 0%, var(--gris-texte) 100%);
    color: var(--blanc);
    padding: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bleu-primaire), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

footer p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

footer a {
    color: var(--blanc);
    text-decoration: none;
    transition: opacity 0.3s ease;
    opacity: 0.8;
    font-size: 0.9rem;
}

footer a:hover {
    opacity: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-right .separator {
    color: var(--blanc);
    opacity: 0.5;
}

/* Tables modernes */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--blanc);
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
}

.table th {
    background: var(--gris-pale);
    color: var(--noir);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--gris-clair);
}

.table tr {
    border-bottom: 1px solid var(--gris-clair);
    transition: all 0.2s ease;
}

.table tr:hover {
    background: var(--gris-pale);
}

.table td {
    color: var(--gris-texte);
}

/* Buttons modernes */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin: 0 0.25rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-success {
    background: var(--vert);
    color: white;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.5);
}

.btn-danger {
    background: #ef4444;
    color: white;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.5);
}

.btn-primary {
    background: var(--bleu-primaire);
    color: white;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.5);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--blanc);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 6rem 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .steps {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Mobile menu */
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        flex-wrap: wrap;
        padding: 1rem 0;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        padding: 2rem 0;
        overflow-y: auto;
        backdrop-filter: blur(12px);
        margin: 0;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links a {
        display: block;
        font-size: 1.1rem;
        padding: 0.5rem 2rem;
    }
    
    /* Hero mobile */
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Carousel mobile */
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .carousel-control.prev {
        left: 1rem;
    }
    
    .carousel-control.next {
        right: 1rem;
    }
    
    .carousel-indicators {
        bottom: 1rem;
    }
    
    /* Sections mobile */
    section {
        padding: 4rem 0;
    }
    
    h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .content-box p {
        font-size: 1rem;
    }
    
    /* Steps mobile */
    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .step {
        padding: 2rem 1.5rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
    
    .step h3 {
        font-size: 1.3rem;
    }
    
    /* Partners mobile */
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .partner {
        padding: 2rem;
    }
    
    /* Forms mobile */
    .form-container {
        padding: 2rem 1.5rem;
        margin: 2rem auto;
        border-radius: 20px;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.875rem;
        font-size: 16px;
    }
    
    .btn-submit {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Tables mobile */
    .table {
        font-size: 0.875rem;
    }
    
    .table th,
    .table td {
        padding: 0.75rem 0.5rem;
    }
    
    /* Buttons mobile */
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        margin: 0.25rem 0.125rem;
    }
    
    /* Footer mobile */
    footer {
        padding: 1.5rem 0;
    }
    
    footer p {
        font-size: 0.85rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-right {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Extra small devices */
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .step {
        padding: 1.5rem 1rem;
    }
    
    .form-container {
        padding: 1.5rem 1rem;
    }
    
    .cta-button {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
    
    footer {
        padding: 1rem 0;
    }
    
    footer p {
        font-size: 0.85rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .nav-links a::after {
        display: none;
    }
    
    .step:hover,
    .partner:hover,
    .cta-button:hover,
    .btn:hover {
        transform: none;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
    }
}

/* Print styles */
@media print {
    header,
    footer,
    .cta-button,
    .btn,
    .mobile-menu-toggle {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    h1, h2, h3 {
        color: #000;
        page-break-after: avoid;
    }
    
    .step,
    .partner {
        page-break-inside: avoid;
    }
}

/* Loading states */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--gris-clair);
    border-radius: 50%;
    border-top-color: var(--bleu-primaire);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--bleu-primaire);
    color: var(--blanc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--ombre-lg);
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
    background: var(--bleu-clair);
    box-shadow: var(--ombre-xl);
}