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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow-x: hidden;
}

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

/* Bandeau RGPD */
.gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: white;
    padding: 15px 0;
    z-index: 10000;
    display: none;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.gdpr-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.gdpr-content p {
    flex: 1;
    margin: 0;
    font-size: 14px;
}

.gdpr-content a {
    color: #3498db;
    text-decoration: underline;
}

.gdpr-buttons {
    display: flex;
    gap: 10px;
}

.gdpr-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gdpr-accept {
    background: #27ae60;
    color: white;
}

.gdpr-accept:hover {
    background: #2ecc71;
}

.gdpr-decline {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.gdpr-decline:hover {
    background: white;
    color: #2c3e50;
}

/* Header */
.header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
}

.header-title-center {
    text-align: center;
    flex: 1;
}

.header-title {
    color: #28a745;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main Content */
.main-content {
    min-height: 100vh;
    padding: 40px 0;
}

/* Pages */
.page {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.page.active {
    display: block;
}

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

/* Page d'accueil */
.welcome-content {
    max-width: 1000px;
    margin: 0 auto;
}

.main-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
    line-height: 1.2;
    text-align: center;
}

.highlight {
    color: #e74c3c;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section héro */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 60px 0;
    align-items: center;
}

.hero-text {
    padding: 20px;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.pdf-preview {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    border: 3px solid #3498db;
    max-width: 300px;
}

.pdf-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.pdf-preview h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.pdf-preview p {
    color: #666;
    margin-bottom: 20px;
}

.pdf-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pdf-features span {
    color: #27ae60;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Carte formulaire */
.form-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
    border: 2px solid #3498db;
}

.form-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.form-note {
    font-size: 0.95rem;
    color: #27ae60;
    margin-top: 20px;
    font-weight: 600;
}

.cta-button {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

/* Section avantages */
.benefits-section {
    margin: 80px 0;
}

.benefits-title {
    font-size: 2.2rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.benefit-content h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.benefit-content p {
    color: #666;
    line-height: 1.6;
}

/* Témoignages */
.testimonial {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin: 60px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.testimonial h3 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-align: center;
}

.testimonial-content {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.testimonial-content strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 10px;
}

/* Formulaire de contact */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Indicateur de progression */
.progress-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #3498db;
    color: white;
}

.step.completed .step-number {
    background: #27ae60;
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.step.active .step-label {
    color: #3498db;
    font-weight: 600;
}

.step-separator {
    width: 60px;
    height: 2px;
    background: #e9ecef;
    margin: 0 20px;
}

/* Titres des étapes */
.step-title {
    font-size: 2rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
}

.step-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Formulaire */
.contact-form {
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

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

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
}

.form-group input.error,
.form-group select.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Section consentement */
.consent-section {
    margin: 30px 0;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    transform: scale(1.2);
}

.checkbox-group label {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
}

.checkbox-group a {
    color: #3498db;
    text-decoration: underline;
}

/* Bouton de soumission */
.submit-btn {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

.submit-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

/* Notice de sécurité */
.security-notice {
    margin-top: 20px;
    text-align: center;
}

.security-notice p {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Page de téléchargement */
.download-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.success-message {
    margin-bottom: 40px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success-message h2 {
    color: #27ae60;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.success-message p {
    font-size: 1.2rem;
    color: #666;
}

/* Section de téléchargement */
.download-section {
    margin: 50px 0;
}

.pdf-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 3px solid #27ae60;
}

.pdf-preview-large {
    margin-bottom: 30px;
}

.pdf-icon-large {
    font-size: 4rem;
    margin-bottom: 20px;
}

.pdf-card h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.pdf-card p {
    color: #666;
    margin-bottom: 20px;
}

.pdf-details {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.pdf-details span {
    color: #27ae60;
    font-size: 0.9rem;
    font-weight: 500;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

.download-icon {
    font-size: 1.3rem;
}

/* Prochaines étapes */
.next-steps {
    margin: 60px 0;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.next-steps h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.step-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.step-item p {
    color: #555;
    line-height: 1.6;
}

/* Ressources supplémentaires */
.additional-resources {
    margin: 60px 0;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.additional-resources h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.additional-resources p {
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.additional-resources ul {
    list-style: none;
    padding: 0;
}

.additional-resources li {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    color: #555;
}

.additional-resources li:before {
    content: "👨‍⚕️";
    margin-right: 10px;
}

.additional-resources li:nth-child(2):before {
    content: "💰";
}

.additional-resources li:nth-child(3):before {
    content: "🏥";
}

.additional-resources li:nth-child(4):before {
    content: "⚖️";
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h2 {
    color: #2c3e50;
    margin: 0;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.modal-body {
    padding: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.2rem;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .progress-indicator {
        flex-direction: column;
        gap: 20px;
    }
    
    .step-separator {
        width: 2px;
        height: 30px;
    }
    
    .pdf-details {
        flex-direction: column;
        gap: 10px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .form-card,
    .form-container {
        padding: 25px;
    }
    
    .cta-button,
    .submit-btn,
    .download-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

