/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0047AB;
    --primary-green: #00A859;
    --cta-orange: #FF6B35;
    --text-dark: #333;
    --text-light: #666;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --border-light: #E0E0E0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.lang-option {
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
    padding: 5px 8px;
    border-radius: 4px;
}

.lang-option:hover {
    color: var(--primary-blue);
    background: rgba(0, 71, 171, 0.1);
}

.lang-option.active {
    color: var(--primary-blue);
    font-weight: 600;
}

.lang-divider {
    color: var(--border-light);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--text-light);
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 71, 171, 0.05) 0%, rgba(0, 168, 89, 0.05) 100%);
    text-align: center;
}

.hero-title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(20px, 3vw, 28px);
    color: var(--primary-green);
    margin-bottom: 30px;
    font-weight: 500;
}

.hero-description {
    font-size: 18px;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.cta-button {
    background: var(--cta-orange);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Progress Bar */
.progress-section {
    padding: 40px 0;
    background: var(--bg-light);
}

.progress-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.progress-bar {
    height: 30px;
    background: var(--border-light);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    width: var(--progress, 0%);
    transition: width 2s ease;
    border-radius: 15px;
}

.progress-text {
    text-align: center;
    margin-top: 15px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: var(--bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
}

/* How it Works */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-light);
}

.how-it-works h2 {
    text-align: center;
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 60px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step-item {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.step-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.step-item h3 {
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.step-item p {
    color: var(--text-light);
    font-size: 16px;
}

/* Form Section */
.form-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.form-iframe {
    width: 100%;
    min-height: 600px;
    border: none;
    overflow: auto;
}

/* Gallery */
.gallery {
    padding: 80px 0;
    background: var(--bg-light);
}

.gallery h2 {
    text-align: center;
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 50px;
}

.gallery-loader {
    display: flex;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--border-light);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    grid-auto-rows: minmax(200px, auto);
}

.gallery-item {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-item p {
    padding: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.gallery-empty {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: var(--text-light);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--bg-white);
}

.testimonials h2 {
    text-align: center;
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 50px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.testimonial-item::before {
    content: '"';
    font-size: 60px;
    color: var(--primary-blue);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.testimonial-item cite {
    color: var(--text-light);
    font-size: 14px;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: var(--bg-light);
}

.faq h2 {
    text-align: center;
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 50px;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    margin-bottom: 20px;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.faq-item summary {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 30px;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    margin-top: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: 60px 0 40px;
    background: var(--text-dark);
    color: white;
    text-align: center;
}

.footer-content p {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer .social-icons {
    justify-content: center;
    margin-bottom: 40px;
}

.footer .social-icons a {
    color: white;
    font-size: 24px;
}

.footer .social-icons a:hover {
    color: var(--primary-green);
}

.share-buttons {
    margin: 40px 0;
}

.share-buttons h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.share-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.share-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.share-link:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

.footer-contact {
    margin-top: 20px;
    font-size: 16px;
}

.footer-contact a {
    color: var(--primary-green);
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .stats-grid,
    .steps-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .share
/* Suite du fichier CSS */

   .share-links {
       flex-direction: column;
       align-items: center;
   }
   
   .form-iframe {
       min-height: 700px;
   }
   
   .cta-button {
       padding: 15px 30px;
       font-size: 16px;
   }
}

@media (max-width: 480px) {
   .container {
       padding: 0 15px;
   }
   
   .hero-title {
       font-size: 24px;
   }
   
   .hero-subtitle {
       font-size: 18px;
   }
   
   .stat-number {
       font-size: 36px;
   }
   
   .gallery-grid {
       grid-template-columns: 1fr;
   }
   
   .social-icons {
       gap: 10px;
   }
   
   .social-icons a {
       font-size: 18px;
   }
}

/* Animations */
@keyframes fadeInUp {
   from {
       opacity: 0;
       transform: translateY(30px);
   }
   to {
       opacity: 1;
       transform: translateY(0);
   }
}

.animate-on-scroll {
   opacity: 0;
   animation: fadeInUp 0.8s ease forwards;
}

/* Smooth scroll */
html {
   scroll-behavior: smooth;
}

/* Focus styles for accessibility */
*:focus {
   outline: 2px solid var(--primary-blue);
   outline-offset: 2px;
}

button:focus,
a:focus {
   outline: 2px solid var(--primary-blue);
   outline-offset: 2px;
}
/* --- Responsivité mobile --- */
.container {
  padding: 0 1rem;      /* espace sur les côtés */
  max-width: 800px;     /* on reste centré */
  margin: 0 auto;
}

/* Permet de casser les mots longs */
.hero-title, 
.hero-subtitle, 
.hero-description {
  word-break: break-word;
}

/* Ajustements spécifiques < 600px */
@media (max-width: 600px) {
  .hero-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-description {
    font-size: 0.9rem;
  }
}
