:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #f97316;
    --secondary-dark: #ea580c;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

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

/* Header */
.header {
    background: var(--bg-white);
    border-bottom: 2px solid #d1d5db;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo img {
    height: 120px;
    width: auto;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* Menu déroulant */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active {
    color: var(--primary-color);
}

.nav-dropdown-toggle.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 15px;
    height: 2px;
    background: var(--primary-color);
}

.nav-dropdown-toggle svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-white);
    min-width: 260px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    margin-top: 15px;
    z-index: 1000;
    border: 1px solid var(--border-color);
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--bg-white);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 8px;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

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

.nav-dropdown-menu a.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
    border-left-color: var(--primary-color);
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.btn-diagnostic {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-diagnostic:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    margin-bottom: 0;
}

/* Section Diagnostics Principaux */
.main-diagnostics {
    padding: 4rem 0;
    background: white;
}

.diagnostics-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
}

.diagnostic-highlight {
    text-align: center;
    padding: 1.5rem 1rem;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.diagnostic-highlight a {
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.diagnostic-highlight-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.diagnostic-highlight-icon svg {
    width: 80px;
    height: 80px;
    stroke: #f97316;
    fill: #f97316;
}

.diagnostic-highlight h3 {
    color: #7dd3f0;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.diagnostic-highlight p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-text .highlight {
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 1.05rem;
    font-weight: 500;
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: #fbbf24;
}

/* Diagnostic Card */
.diagnostic-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 1.5rem;
    text-align: center;
}

.card-header h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.card-body {
    padding: 1.5rem;
}

.form-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.tab-btn {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.diagnostic-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-select,
.form-input {
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-submit {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
}

.service-icon.amiante {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
}

.service-icon.plomb {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.service-icon.electrique {
    background: linear-gradient(135deg, #eab308, #f59e0b);
    color: white;
}

.service-icon.termites {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.service-icon.gaz {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.service-icon.dpe {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 0.5rem;
}

/* Bouton CTA vers prestations */
.services-cta {
    margin-top: 3rem;
    text-align: center;
}

.btn-services {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-services:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Info Section */
.info-section {
    padding: 60px 0;
    background: #7dd3f0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.info-card {
    padding: 2.5rem 2rem;
    background: #7dd3f0;
    border-radius: 0;
    border-left: none;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.info-card:last-child {
    border-right: none;
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: white;
    margin-bottom: 1.5rem;
}

.info-card p {
    color: white;
    line-height: 1.8;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr auto;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-col h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

/* Logo France Relance dans le footer - 4ème colonne */
.footer-france-relance-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-france-relance-col img {
    height: 90px;
    width: auto;
    background: white;
    padding: 8px;
    border-radius: 50%;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}



/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .diagnostic-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Menu mobile hamburger */
.burger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-dark);
    padding: 0.5rem;
    z-index: 1001;
}

@media (max-width: 768px) {
    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-france-relance-col {
        order: -1;
        margin-bottom: 1rem;
    }
    
    .footer-france-relance-col img {
        height: 80px;
    }
    
    .certification-logos {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .certification-logo {
        height: 65px;
    }
    
    .footer-france-relance {
        height: 65px;
    }
    
    /* Formulaire responsive */
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    
    /* Afficher le bouton hamburger */
    .burger-menu {
        display: block;
    }
    
    /* Header mobile */
    .header-content {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 1rem;
        position: relative;
    }
    
    /* Logo mobile */
    .logo img {
        height: 80px;
    }

    /* Navigation mobile - cachée par défaut */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        padding: 80px 2rem 2rem 2rem;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    /* Navigation mobile active */
    .nav.mobile-active {
        right: 0;
    }
    
    /* Liens de navigation mobile */
    .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Menu déroulant mobile */
    .nav-dropdown {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-dropdown-toggle {
        width: 100%;
        font-size: 1.1rem;
        padding: 0.75rem 0;
        justify-content: space-between;
    }
    
    .nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
        margin: 0;
        background: var(--bg-light);
    }
    
    .nav-dropdown-menu::before {
        display: none;
    }
    
    .nav-dropdown.open .nav-dropdown-menu {
        max-height: 300px;
        padding: 0.5rem 0;
    }
    
    .nav-dropdown.open .nav-dropdown-toggle svg {
        transform: rotate(180deg);
    }
    
    .nav-dropdown:hover .nav-dropdown-menu {
        max-height: 0;
        padding: 0;
    }
    
    .nav-dropdown.open:hover .nav-dropdown-menu {
        max-height: 300px;
        padding: 0.5rem 0;
    }
    
    .nav-dropdown-menu a {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Bouton diagnostic en mobile */
    .btn-diagnostic {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }
    
    /* Overlay pour fermer le menu */
    .nav.mobile-active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 280px;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .diagnostics-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0 60px;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

    .btn-diagnostic {
        width: 100%;
    }
    
    .diagnostics-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .diagnostic-highlight-icon {
        width: 70px;
        height: 70px;
    }
    
    .diagnostic-highlight-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .diagnostic-highlight h3 {
        font-size: 0.95rem;
    }
    
    .diagnostic-highlight p {
        font-size: 0.85rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .info-card:last-child {
        border-bottom: none;
    }
}

/* Prestations Page Styles */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 80px 0;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
}

.prestations-section {
    padding: 80px 0;
    background: var(--bg-light);
}

/* Accordion Styles - Version améliorée */
.accordion-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.accordion-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

.accordion-header {
    width: 100%;
    padding: 2rem;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    gap: 1.5rem;
}

.accordion-header:hover {
    background: linear-gradient(to right, rgba(37, 99, 235, 0.03), transparent);
}

.accordion-item.active .accordion-header {
    background: linear-gradient(to right, rgba(37, 99, 235, 0.05), transparent);
}

.accordion-header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.prestation-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.prestation-icon svg {
    width: 36px;
    height: 36px;
    stroke-width: 2;
}

.accordion-title-section {
    flex: 1;
}

.accordion-title-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.accordion-subtitle {
    color: var(--text-gray);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.accordion-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    background: var(--bg-light);
    border-radius: 50%;
    padding: 6px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    background: var(--primary-color);
    color: white;
}

.accordion-content {
    display: none;
    padding: 0;
}

.accordion-item.active .accordion-content {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accordion-content > div {
    padding: 2rem;
    padding-top: 0;
}

.prestation-image {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--bg-light);
}

.prestation-image img {
    width: 100%;
    height: auto;
    display: block;
}

.prestation-info {
    line-height: 1.8;
}

.prestation-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.prestation-info h3:first-child {
    margin-top: 0;
}

.prestation-info p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.prestation-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
}

.prestation-list li {
    padding: 0.875rem 0 0.875rem 2.5rem;
    position: relative;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.prestation-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.875rem;
    color: white;
    background: var(--primary-color);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.prestation-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(37, 99, 235, 0.02));
    border-radius: 12px;
    border: 2px solid rgba(37, 99, 235, 0.1);
}

.spec-item {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.spec-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
}

.spec-item:last-child {
    border-left-color: var(--secondary-color);
}

.spec-item:last-child {
    border-left-color: var(--secondary-color);
}

/* Couleurs des icônes par diagnostic */
.prestation-icon.amiante {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
}

.prestation-icon.dpe {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.prestation-icon.electrique {
    background: linear-gradient(135deg, #eab308, #f59e0b);
    color: white;
}

.prestation-icon.erp {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.prestation-icon.gaz {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.prestation-icon.boutin {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
}

.prestation-icon.carrez {
    background: linear-gradient(135deg, #a855f7, #9333ea);
    color: white;
}

.prestation-icon.plomb {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.prestation-icon.termites {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.prestation-icon.assainissement {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    color: white;
}

/* Responsive Prestations Page */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    .accordion-header {
        padding: 1.5rem;
    }
    
    .accordion-header-content {
        gap: 1rem;
        flex-direction: row;
    }
    
    .prestation-icon {
        width: 60px;
        height: 60px;
    }
    
    .prestation-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .accordion-title-section h2 {
        font-size: 1.35rem;
    }
    
    .accordion-subtitle {
        font-size: 0.9rem;
    }
    
    .accordion-content > div {
        padding: 1.5rem;
        padding-top: 0;
    }
    
    .prestation-specs {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
}

/* ==========================================
   PAGE VOUS VENDEZ - STYLES
   ========================================== */

/* Hero Section pour pages internes */
.hero-page {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 4rem 0 3rem;
    color: white;
}

.hero-page-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-page .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    font-weight: 400;
}

/* Content Section */
.content-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.content-wrapper {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

/* Texte d'introduction */
.intro-section {
    margin-bottom: 3rem;
}

.intro-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.intro-image {
    position: relative;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.rounded-image {
    border-radius: 12px;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.body-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 0;
}

/* Section Tableau */
.diagnostic-table-section {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.diagnostic-table-section h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.table-image-wrapper {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.diagnostic-table-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

/* Détails des diagnostics */
.diagnostics-details {
    margin-top: 3rem;
}

.diagnostics-details h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    text-align: center;
}

.diagnostic-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.diagnostic-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.diagnostic-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.diagnostic-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.required-badge {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.diagnostic-content {
    padding: 1.5rem;
    background: white;
}

.diagnostic-content p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--text-gray);
}

.diagnostic-content p:last-child {
    margin-bottom: 0;
    margin-top: 1rem;
    color: var(--text-dark);
}

.diagnostic-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Diagnostic avec image */
.diagnostic-content-with-image {
    padding: 1.5rem;
    background: white;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 2rem;
    align-items: start;
}

.diagnostic-image {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 8px;
    padding: 1rem;
}

.diagnostic-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.diagnostic-text {
    flex: 1;
}

.diagnostic-text p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--text-gray);
}

.diagnostic-text p:last-child {
    margin-bottom: 0;
    margin-top: 1rem;
    color: var(--text-dark);
}

.diagnostic-text strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Background colors pour chaque diagnostic */
.amiante-bg {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.plomb-bg {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.dpe-bg {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.electrique-bg {
    background: linear-gradient(135deg, #eab308, #f59e0b);
}

.gaz-bg {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.termites-bg {
    background: linear-gradient(135deg, #10b981, #059669);
}

.ernmt-bg {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.assainissement-bg {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.carrez-bg {
    background: linear-gradient(135deg, #a855f7, #9333ea);
}

.boutin-bg {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

/* CTA Box */
.cta-box {
    margin-top: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    color: white;
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Responsive Design pour page Vous Vendez */
@media (max-width: 968px) {
    .hero-page h1 {
        font-size: 2rem;
    }
    
    .hero-page .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .content-wrapper {
        padding: 2rem;
    }
    
    .diagnostic-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .intro-image {
        order: -1;
    }
    
    .diagnostic-content-with-image {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .diagnostic-image {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    .cta-box {
        padding: 2rem;
    }
    
    .cta-box h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .hero-page {
        padding: 3rem 0 2rem;
    }
    
    .hero-page h1 {
        font-size: 1.5rem;
    }
    
    .hero-page .hero-subtitle {
        font-size: 1rem;
    }
    
    .content-wrapper {
        padding: 1.5rem;
    }
    
    .lead-text {
        font-size: 1.1rem;
    }
    
    .body-text {
        font-size: 1rem;
    }
    
    .diagnostic-table-section h2,
    .diagnostics-details h2 {
        font-size: 1.5rem;
    }
    
    .diagnostic-header h3 {
        font-size: 1.1rem;
    }
    
    .diagnostic-content {
        padding: 1rem;
    }
    
    .diagnostic-content-with-image {
        padding: 1rem;
    }
    
    .diagnostic-image {
        width: 120px;
        height: 120px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

/* ==========================================
   MODAL COMMANDER UN DIAGNOSTIC
   ========================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    border-radius: 16px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--bg-light);
}

.modal-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-dark);
}

.modal-content {
    padding: 2.5rem;
}

.modal-content h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* ==========================================
   STYLES DES FORMULAIRES
   ========================================== */

.diagnostic-form-modal,
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

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

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

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.checkbox-label:hover {
    background: var(--bg-light);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label span {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.btn-submit-form {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-submit-form:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit-form .btn-icon {
    width: 20px;
    height: 20px;
}

/* ==========================================
   PAGE CONTACT
   ========================================== */

.contact-wrapper {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.contact-info-section {
    background: var(--bg-light);
    padding: 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-info-card {
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon svg {
    width: 30px;
    height: 30px;
    stroke: white;
}

.contact-info-card h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

.contact-form-section {
    padding: 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid #d1d5db;
    margin-top: 3rem;
}

.contact-form-section h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.form-description {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ==========================================
   RESPONSIVE FORMULAIRES
   ========================================== */

@media (max-width: 768px) {
    .modal-content {
        padding: 2rem 1.5rem;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .contact-info-section {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    
    .contact-form-section {
        padding: 2rem;
    }
}

/* ==========================================
   PAGE CERTIFICATIONS
   ========================================== */

/* Certifications Banner - Encart bas de page */
.certifications-banner {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
    margin-top: 4rem;
}

.certifications-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

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

.certifications-content {
    text-align: center;
}

.certifications-content h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 700;
}

.certifications-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-bottom: 1.5rem;
}

.cert-logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.certifications-link:hover .cert-logo {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.cert-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.certifications-cta {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

.certifications-link:hover .certifications-cta {
    color: var(--secondary-color);
}

/* Responsive Certifications Banner */
@media (max-width: 768px) {
    .certifications-banner {
        padding: 2rem 0;
        margin-top: 2rem;
    }
    
    .certifications-content h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .certifications-logos {
        gap: 2rem;
    }
    
    .cert-logo {
        width: 90px;
        height: 90px;
    }
    
    .certifications-cta {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .certifications-logos {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .cert-logo {
        width: 100px;
        height: 100px;
    }
}

.certifications-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.certifications-intro h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.certifications-intro p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.certifications-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 4rem;
}

.certification-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2.5rem;
    align-items: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.certification-logo {
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    padding: 1rem;
}

.certification-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.certification-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.certification-content h4 {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 600;
    margin-bottom: 1rem;
}

.certification-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.certification-list {
    list-style: none;
    padding: 0;
}

.certification-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.certification-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Engagement Section */
.engagement-section {
    background: var(--bg-light);
    padding: 4rem;
    border-radius: 12px;
    margin-top: 4rem;
}

.engagement-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.engagement-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

.engagement-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.engagement-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
}

.engagement-item h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.engagement-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Responsive Certifications */
@media (max-width: 968px) {
    .certification-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .certification-logo {
        margin: 0 auto;
    }
    
    .engagement-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .certifications-intro h2 {
        font-size: 2rem;
    }
    
    .certification-logo {
        width: 200px;
        height: 200px;
    }
    
    .engagement-section {
        padding: 2rem;
    }
    
    .engagement-grid {
        grid-template-columns: 1fr;
    }
    
    .engagement-section h2 {
        font-size: 1.8rem;
    }
}

/* ==========================================
   ENCART CERTIFICATIONS (BAS DE PAGE)
   ========================================== */

.certifications-banner {
    background: var(--bg-light);
    padding: 3rem 0;
    border-top: 1px solid #e0e0e0;
}

.certifications-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.certifications-banner-text {
    flex: 0 0 auto;
}

.certifications-banner-text h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.certifications-banner-text p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.certifications-logos-row {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex: 1;
    justify-content: center;
}

.certification-logo-small {
    height: 80px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 0.75rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certification-logo-small img {
    max-height: 100%;
    max-width: 120px;
    object-fit: contain;
}

.certification-logo-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.certifications-banner-link {
    flex: 0 0 auto;
}

.btn-certifications {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-certifications:hover {
    background: #0052a3;
    transform: translateX(5px);
}

.btn-certifications svg {
    width: 20px;
    height: 20px;
}

/* Responsive Certifications Banner */
@media (max-width: 968px) {
    .certifications-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .certifications-logos-row {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .certification-logo-small {
        height: 70px;
    }
}

@media (max-width: 640px) {
    .certifications-banner {
        padding: 2rem 0;
    }
    
    .certifications-logos-row {
        gap: 1.5rem;
    }
    
    .certification-logo-small {
        height: 60px;
    }
    
    .certification-logo-small img {
        max-width: 100px;
    }
    
    .certifications-banner-text h3 {
        font-size: 1.25rem;
    }
}
/* Legal Pages Styles */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.legal-intro {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.legal-intro p {
    margin: 0;
    color: var(--text-dark);
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-section h3 {
    color: var(--text-dark);
    font-size: 1.15rem;
    margin: 1.5rem 0 0.75rem;
}

.legal-section.highlighted {
    background: #fff8e1;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #ffc107;
}

.legal-section.highlighted h2 {
    border-bottom-color: #ffc107;
    color: #f57c00;
}

.legal-info {
    line-height: 1.8;
    color: var(--text-gray);
}

.legal-info p {
    margin-bottom: 1rem;
}

.legal-info ul {
    margin: 1rem 0 1rem 1.5rem;
}

.legal-info ul li {
    margin-bottom: 0.75rem;
}

.legal-info a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-info a:hover {
    color: var(--primary-dark);
}

.definitions-list {
    list-style: none;
    margin-left: 0 !important;
}

.definitions-list li {
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 6px;
    margin-bottom: 0.5rem !important;
}

.warning-box, .important-box {
    padding: 1.25rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.warning-box {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
}

.warning-box h4 {
    color: #e65100;
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
}

.important-box {
    background: #e3f2fd;
    border-left: 4px solid var(--primary-color);
}

.important-box h4 {
    color: var(--primary-dark);
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
}

.legal-links {
    list-style: none;
    margin-left: 0 !important;
}

.legal-links li {
    margin-bottom: 0.5rem !important;
}

.legal-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white !important;
    text-decoration: none !important;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.legal-links a:hover {
    background: var(--primary-dark);
}

.legal-nav {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.legal-nav .btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
}

/* Footer Certifications */
.footer-certifications {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-certifications h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.certification-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.certification-logo {
    height: 85px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    background: white;
    padding: 5px;
    border-radius: 4px;
}

/* Ancien container France Relance supprimé - maintenant dans footer-content */
