/* ===== VARIABLES CSS ===== */
:root {
    --primary: #004080;
    --primary-dark: #003366;
    --secondary: #e60000;
    --accent: #ff9900;
    --light: #f8f9fa;
    --dark: #333;
    --gray: #6c757d;
    --border: #dee2e6;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --radius: 8px;
}

/* ===== RESET & BASE ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body { 
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif; 
    color: var(--dark); 
    line-height: 1.6;
    background-color: #fff;
    scroll-behavior: smooth;
    padding-top: 80px;
}

/* ===== MENU INTERNE ===== */
.internal-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 15px 0;
}

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

.nav-logo {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background-color: var(--light);
    color: var(--primary);
}

/* ===== HEADER HERO ===== */
.main-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 20px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: -80px;
}

.header-content {
    max-width: 900px;
    margin: 0 auto;
}

.header-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

h1 { 
    color: white; 
    margin: 0 0 20px 0;
    font-size: 2.4rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.header-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    margin: 40px auto;
    max-width: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.95);
    transition: filter 0.3s ease;
}

/* ===== SECTIONS ===== */
section { 
    padding: 80px 20px; 
    max-width: 1200px; 
    margin: auto; 
    scroll-margin-top: 100px;
}

.section-light {
    background-color: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.section-intro {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--gray);
}

/* ===== COMPOSANTS CARTES ===== */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    border-top: 5px solid var(--primary);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
    animation: fadeInUp 0.6s ease-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card h3 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.price-indicator {
    display: inline-block;
    background: var(--light);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 700;
    margin-top: 15px;
    border: 1px solid var(--border);
}

/* ===== BOUTONS & CTA ===== */
.cta-container {
    text-align: center;
    margin-top: 40px;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: white;
    padding: 16px 32px;
    margin: 12px;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 700;
    text-align: center;
    box-shadow: 0 6px 15px rgba(230, 0, 0, 0.3);
    font-size: 1.1rem;
    min-width: 220px;
    transition: all 0.3s ease;
}

.cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 0, 0, 0.4);
}

.cta-secondary {
    background: transparent;
    color: var(--primary);
    border: 3px solid var(--primary);
    box-shadow: none;
}

.cta-secondary:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 6px 15px rgba(0,64,128,0.3);
}

/* ===== LISTES ===== */
.feature-list {
    list-style: none;
    padding-left: 0;
    margin: 25px 0;
}

.feature-list li {
    padding: 15px 0 15px 50px;
    margin-bottom: 10px;
    position: relative;
    border-bottom: 1px solid var(--border);
    font-size: 1.1rem;
}

.feature-list li:before {
    content: "✓";
    color: white;
    background: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,64,128,0.3);
}

/* ===== STATISTIQUES ===== */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin: 50px 0;
}

.stat {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-weight: 600;
    color: var(--dark);
}

/* ===== ZONES D'INTERVENTION ===== */
.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 35px;
}

.zone-item {
    background: white;
    padding: 18px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    font-weight: 600;
    color: var(--primary);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.zone-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-compact {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-item {
    border-bottom: 1px solid #eaeaea;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 15px 20px;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #004080;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question::after {
    content: "+";
    font-size: 20px;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-question.active::after {
    content: "−";
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fafafa;
}

.faq-answer.open {
    padding: 15px 20px;
    max-height: 500px;
}

.faq-answer p {
    margin: 8px 0;
    line-height: 1.5;
}

/* LISTE COMPLÈTEMENT PROPRE - AUCUN SYMBOLE */
.feature-list-clean {
    list-style: none !important;
    padding: 0 !important;
    margin: 10px 0 !important;
}

.feature-list-clean li {
    padding: 5px 0 !important;
    margin: 0 !important;
}

/* Supprime tout pseudo-élément qui pourrait créer des points */
.feature-list-clean li::before,
.feature-list-clean li::after {
    content: none !important;
    display: none !important;
}

.feature-list-clean strong {
    color: #004080;
}

/* ===== CONTACT ===== */
#contact {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    border-radius: var(--radius);
    padding: 60px 30px;
    margin-top: 50px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

#contact h2 {
    color: white;
    border-bottom-color: rgba(255,255,255,0.3);
}

#contact .section-intro {
    color: rgba(255,255,255,0.9);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
    position: relative;
    z-index: 1;
}

.contact-item {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.contact-item a {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    display: block;
    margin-top: 8px;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* ===== FOOTER ===== */
footer { 
    background: var(--dark); 
    color: white;
    padding: 40px 20px; 
    text-align: center; 
    margin-top: 80px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-content p {
    margin-bottom: 15px;
}

/* ===== BOUTONS FLOTTANTS ===== */
.floating-buttons {
    position: fixed;
    bottom: 25px;
    z-index: 1000;
}

.floating-buttons.left {
    left: 25px;
}

.floating-buttons.right {
    right: 25px;
}

.floating-button {
    display: flex;
    align-items: center;
    background: #25D366;
    color: white;
    padding: 15px 22px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    font-weight: 700;
    transition: all 0.3s ease;
}

.floating-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.phone-button {
    background: var(--primary);
    box-shadow: 0 6px 20px rgba(0,64,128,0.4);
}

.phone-button:hover {
    box-shadow: 0 8px 25px rgba(0,64,128,0.5);
}

/* ===== GARANTIES ===== */
.guarantees {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.guarantee-item {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.guarantee-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.guarantee-item h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* ===== NOUVEAUX STYLES ===== */
/* Styles pour les témoignages */
.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.client-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
}

.client-info {
    display: flex;
    flex-direction: column;
}

.client-info span {
    font-size: 0.9rem;
    color: var(--gray);
}

.rating {
    color: #ffc107;
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Animation pour les cartes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section avant/après */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.comparison-item {
    text-align: center;
}

.comparison-label {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 15px;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .internal-nav {
        padding: 12px 0;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        gap: 10px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .main-header {
        padding: 70px 20px 40px;
        margin-top: -70px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    section {
        padding: 60px 20px;
        scroll-margin-top: 80px;
    }
    
    .card-container {
        grid-template-columns: 1fr;
    }
    
    .zones-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .floating-button .text {
        display: none;
    }
    
    .floating-button {
        padding: 18px;
        border-radius: 50%;
        width: 65px;
        height: 65px;
    }
    
    .cta {
        min-width: 200px;
        padding: 14px 28px;
        font-size: 1rem;
    }

    .hero-image {
        margin: 20px auto;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.7rem;
    }
    
    .header-subtitle {
        font-size: 1.1rem;
    }
    
    .zones-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .header-badge {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .nav-logo {
        font-size: 1.1rem;
    }
}

:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Améliorer le contraste des textes */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}