/* Reset et styles de 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;
}

/* Variables de couleurs */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --accent: #f59e0b;
    --light: #f8fafc;
    --dark: #1e293b;
    --success: #10b981;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--dark);
}

.logo span {
    color: var(--primary);
    font-weight: 300;
    font-size: 1rem;
    margin-left: 5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-nav {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-nav:hover {
    background: var(--primary-dark);
}

/* Section Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 8rem 5% 4rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f2ff 100%);
    min-height: 90vh;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Section Avantages */
.avantages {
    padding: 5rem 5%;
    text-align: center;
}

.avantages h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

.avantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.avantage-card {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.avantage-card:hover {
    transform: translateY(-5px);
}

.avantage-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.avantage-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.avantage-card p {
    color: var(--secondary);
}

/* Section Offres */
.offres {
    padding: 5rem 5%;
    background: var(--light);
}

.offres h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

.offres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.offre-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.offre-card:hover {
    transform: translateY(-5px);
}

.offre-card.populaire {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.offre-card.populaire:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.offre-header {
    text-align: center;
    margin-bottom: 2rem;
}

.offre-header h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.prix {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 600;
}

.offre-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.offre-card li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.offre-card li i {
    color: var(--success);
}

.btn-offre {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-offre:hover {
    background: var(--primary-dark);
}

/* Section Formulaire */
.form-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.form-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.form-text {
    padding: 3rem;
    background: var(--primary);
    color: white;
}

.form-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.form-text p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.form-infos {
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-item i {
    font-size: 1.25rem;
}

.contact-form {
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group.checkbox input {
    width: auto;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

/* Témoignages */
.temoignages {
    padding: 5rem 5%;
    background: white;
}

.temoignages h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.temoignage-card {
    padding: 2rem;
    background: var(--light);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.temoignage-card p {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--secondary);
}

.client {
    display: flex;
    flex-direction: column;
}

.client strong {
    color: var(--dark);
}

.client span {
    font-size: 0.875rem;
    color: var(--secondary);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 3rem 5% 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section ul a:hover {
    opacity: 1;
}

.footer-section i {
    margin-right: 0.5rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.footer-bottom a:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }
    
    .nav-links {
        margin: 1rem 0;
        gap: 1rem;
    }
    
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 10rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .form-container {
        grid-template-columns: 1fr;
    }
    
    .offre-card.populaire {
        transform: scale(1);
    }
    
    .offre-card.populaire:hover {
        transform: translateY(-5px);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.avantage-card,
.offre-card,
.form-container {
    animation: fadeIn 1s ease-out;
}
/* Section Confiance - Statistiques */
.confiance {
    padding: 4rem 5%;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f2ff 100%);
    text-align: center;
}

.confiance h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 3rem;
}

.confiance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.confiance-item {
    padding: 1.5rem;
}

.chiffre {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.confiance-item p {
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: 500;
}

.confiance .small {
    margin-top: 2rem;
    color: var(--secondary);
    font-size: 0.9rem;
}

/* Ajustements pour les cartes d'offres */
.offre-card .small {
    font-size: 0.8rem;
    color: var(--secondary);
    margin: 0.5rem 0 1rem;
    text-align: center;
}

/* Amélioration de l'accessibilité pour les seniors */
body {
    font-size: 16px; /* Taille de base plus lisible */
}

.btn-primary, .btn-secondary, .btn-nav, .btn-offre, .btn-submit {
    font-size: 1.1rem; /* Boutons plus lisibles */
    padding: 1rem 2rem; /* Zone de clic plus grande */
}

.form-group input, 
.form-group select, 
.form-group textarea {
    font-size: 1rem;
    padding: 0.9rem; /* Plus facile à remplir */
}

.nav-links a {
    font-size: 1.1rem; /* Navigation plus lisible */
}

/* Adaptation responsive */
@media (max-width: 768px) {
    .chiffre {
        font-size: 2.5rem;
    }
    
    .confiance h2 {
        font-size: 1.8rem;
    }
}
/* Section À propos - Style pour la présentation humaine */
.apropos {
    padding: 5rem 5%;
    background: white;
}

.apropos-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.apropos-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.apropos-content h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.apropos-content p {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.apropos-content strong {
    color: var(--primary);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 1rem;
}

.apropos-content ul {
    list-style: none;
    margin: 2rem 0;
}

.apropos-content li {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
    color: var(--dark);
    font-weight: 500;
    line-height: 1.6;
}

.apropos-content li:before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.apropos-content li strong {
    display: inline;
    color: var(--dark);
    font-size: 1rem;
}

/* Adaptation mobile */
@media (max-width: 768px) {
    .apropos-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .apropos-content h2 {
        font-size: 1.8rem;
    }
    
    .apropos-image {
        order: -1; /* L'image passe en premier sur mobile */
    }
}
/* Styles pour le nouveau formulaire */
.contact-form h3 {
    color: var(--dark);
    margin: 1.5rem 0 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

.contact-form h3:first-of-type {
    margin-top: 0;
}

.contact-form small {
    display: block;
    color: var(--secondary);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group.half {
    margin-bottom: 1rem;
}

.civilite-group {
    margin-bottom: 1.5rem;
}

.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    width: auto;
    margin-right: 0.25rem;
    cursor: pointer;
}

/* Adaptation mobile */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.5rem;
    }
}
.mentions-rgpd {
    font-size: 0.8rem;
    color: var(--secondary);
    margin-top: 1rem;
    text-align: center;
    line-height: 1.4;
}
.mentions-rgpd a {
    color: var(--primary);
    text-decoration: none;
}
.mentions-rgpd a:hover {
    text-decoration: underline;
}
/* Style pour les doublons */
tr[style*="background-color: #fff0f0"] {
    transition: all 0.3s;
}

tr[style*="background-color: #fff0f0"]:hover {
    background-color: #ffe0e0 !important;
}

.doublon-badge {
    display: inline-block;
    background: #ff0000;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
}