/*!
Theme Name: theme_test
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: theme_test
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #2563eb;
    --light-blue: #3b82f6;
    --accent-red: #dc2626;
    --light-gray: #f1f5f9;
    --medium-gray: #64748b;
    --dark-text: #0f172a;
    --white: #ffffff;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   NAVIGATION
============================================ */
nav {
    position: fixed;
    width: 100%;
    height: 90px;
    padding: 1rem 8%;
    display: flex;
    background-color: #ffffff5c;
    backdrop-filter: blur(10px);
    justify-content: flex-start;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

nav.scrolled {
    height: 70px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-container1 {
    margin-right: auto;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-top: 7%;
}

.logo-perfect {
    color: var(--primary-blue);
}

.logo-tys {
    color: var(--medium-gray);
    font-weight: 400;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--primary-blue);
    font-weight: 500;
    font-style: italic;
    margin-left: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 0px 20px;
    border-radius: 0px 0px 10px 10px;
}

.nav-links li {
    flex: 1;
    text-align: center;
    position: relative;
    list-style-type: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
    display: inline-block;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background-color: var(--accent-red);
    transition: width 0.3s ease-out;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-red);
}

.nav-cta {
    padding: 0.6rem 1.5rem;
    background: var(--accent-red);
    color: white !important;
    border-radius: 6px;
    transition: all 0.3s;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Dropdown menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 8px;
    padding: 1rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease 1s;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 5px;
	transition-delay: 0s;
}

.dropdown-menu li {
    flex: none;
    text-align: left;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: var(--light-gray);
    color: var(--accent-red);
}

/* Menu Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 5px;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: all 0.3s;
    border-radius: 3px;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 1024px) {
    .burger {
        display: flex;
    }

    nav {
        justify-content: space-between;
        padding: 1rem 5%;
    }

    .logo-container {
        display: none;
    }

    .logo-container1 {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 100px;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
    }

    .nav-links a {
        display: block;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: var(--light-gray);
        margin: 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
    }

    .dropdown:hover .dropdown-menu {
        margin-top: 0;
    }
}
/* ==============================
   SOUS-MENUS WORDPRESS
   ============================== */

/* Cache les sous-menus par défaut */
.nav-links ul.sub-menu {
    position: absolute;
    top: 80%;
    left: 0;
    background: white;
    list-style: none;
    margin: 0;
    padding: 0.75rem 0;
    min-width: 320px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    margin-top: 15px;
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Affiche le sous-menu au survol du parent */
.nav-links li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 8px;
    transition-delay: 0s;
}

/* Positionne correctement le parent */
.nav-links li {
    position: relative;
    min-width: 65px;
}

/* Les éléments enfants */
.nav-links ul.sub-menu li {
    position: relative;
    flex: none;
    text-align: left;
    padding: 0;
    border-bottom: none;
}

.nav-links ul.sub-menu li a {
    display: block;
    padding: 1.2rem 2rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-radius: 0;
    border-left: 3px solid transparent;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-links ul.sub-menu li a::after {
    display: none;
}

.nav-links ul.sub-menu li a:hover {
    background: linear-gradient(90deg, rgba(220, 38, 38, 0.05) 0%, transparent 100%);
    color: var(--accent-red);
    border-left-color: var(--accent-red);
    padding-left: 2.3rem;
}

.nav-links ul.sub-menu li:first-child a {
    border-radius: 8px 8px 0 0;
}

.nav-links ul.sub-menu li:last-child a {
    border-radius: 0 0 8px 8px;
}

/* Sous-menus de second niveau (sous-sous-menu) */
.nav-links ul.sub-menu ul.sub-menu {
    top: 0;
    left: 100%;
    margin-left: 10px;
    margin-top: 0;
}

.nav-links ul.sub-menu li:hover > ul.sub-menu {
    margin-left: 5px;
}

/* Version mobile */
@media (max-width: 1024px) {
    .nav-links ul.sub-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: var(--light-gray);
        margin: 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
        border-radius: 0;
        display: none;
    }

    .nav-links li.open > ul.sub-menu {
        display: block;
    }

    .nav-links ul.sub-menu li a {
        padding: 1rem 2.5rem;
        font-size: 1rem;
        background: var(--light-gray);
    }

    .nav-links ul.sub-menu li a:hover {
        background: #e0e0e0;
    }

    .nav-links ul.sub-menu ul.sub-menu {
        position: static;
        margin-left: 0;
    }

    .nav-links ul.sub-menu ul.sub-menu li a {
        padding-left: 3.5rem;
        background: #e8e8e8;
    }
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
    padding: 140px 8% 100px;
    background-image: url('https://perfectys.fr/wp-content/uploads/2025/10/home-perfectys-tel-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 700px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85), rgba(220, 38, 38, 0.75));
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-text {
    max-width: 800px;
}

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

.hero-text .highlight {
    color: var(--accent-red);
    padding: 0 10px;
    border-radius: 4px;
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-item svg {
    color: var(--success-green);
}

/* Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 600px;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Page Hero (pour pages internes) */
.page-hero {
    padding: 140px 8% 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    text-align: center;
}

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

.page-hero-content p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

/* Service Hero */
.service-hero {
    padding: 140px 8% 60px;
    background: linear-gradient(135deg, #1e3a8a 0%, #dc2626 100%);
    color: white;
}

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

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

.service-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.service-hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ============================================
   BUTTONS
============================================ */
.btn-primary {
    padding: 1rem 2.5rem;
    background: var(--accent-red);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: white;
    padding: 1rem 2.5rem;
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid #c9c9c9;
    cursor: pointer;
    font-size: 1rem;
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* ============================================
   SECTIONS
============================================ */
.services {
    padding: 100px 8%;
    background: white;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-label {
    color: var(--accent-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    margin-top: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card.featured {
    border-color: var(--accent-red);
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    transform: scale(1.03);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-red);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-red);
    transform: scaleY(0);
    transition: transform 0.3s;
}

.service-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.1);
    transform: translateY(-5px);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(30, 58, 138, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.img-icon {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

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

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--dark-text);
    font-size: 0.95rem;
}

.service-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-link,
.service-link-primary {
    color: var(--accent-red);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.service-link:hover,
.service-link-primary:hover {
    gap: 1rem;
}

.service-link-secondary {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.service-link-secondary:hover {
    color: var(--accent-red);
}

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

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

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

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

/* Logos Clients */
.clients-logos {
    padding: 80px 8%;
    background: var(--light-gray);
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-placeholder {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/9;
    color: var(--medium-gray);
    font-weight: 600;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.logo-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ============================================
   ABOUT SECTION
============================================ */
.about {
    padding: 100px 8%;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image {
    border-radius: 12px;
    height: 500px;
	width: 500px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.features-list {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-check {
    width: 24px;
    height: 24px;
    background: var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
    font-weight: 700;
}

.feature-text {
    color: var(--primary-blue);
    font-weight: 600;
}

.about-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* About History Section */
.about-history {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.timeline {
    position: relative;
    margin: 40px 0;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #ff6b6b;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 40px;
}

.timeline-item h3 {
    font-size: 20px;
    color: #ff6b6b;
    margin-bottom: 5px;
}

.timeline-item p {
    font-size: 16px;
    color: #444;
    line-height: 1.5;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: white;
    border: 4px solid #ff6b6b;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #f9f9f9;
}

/* About Mission Section */
.about-mission {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    background: #fff;
    color: #333;
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.value-item {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.value-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #4a90e2;
}

.value-item p {
    font-size: 15px;
    line-height: 1.5;
    color: #444;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* About Team Section */
.about-team {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    background: #fff;
    color: #333;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-items: center;
}

.team-member {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #4a90e2;
}

.team-member h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #222;
}

.team-member p {
    font-size: 14px;
    color: #555;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* ============================================
   TESTIMONIALS
============================================ */
.testimonials {
    padding: 100px 8%;
    background-image: url(https://perfectys.fr/wp-content/uploads/2025/10/wallpap.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.9);
}

.testimonials > * {
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
    position: relative;
}

.testimonial-card:hover {
    border-color: var(--accent-red);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--medium-gray);
}

#div_btn {
    margin-top: 3rem;
    text-align: center;
}

#btn_avis {
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}

/* ============================================
   FAQ PREVIEW
============================================ */
.faq-content {
    padding: 60px 8%;
    background: var(--light-gray);
}

.faq-section {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.faq-section-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent-red);
}

.faq-cta {
    padding: 80px 8%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    text-align: center;
}

.faq-cta-content h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.faq-cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

/* ============================================
   FOOTER
============================================ */
footer {
    background: #374a81;
    color: white;
    padding: 4rem 8% 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-about h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 900;
}

.footer-about .logo-accent {
    color: var(--accent-red);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 1rem 0 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    transition: transform 0.3s;
    display: block;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.icons {
    max-width: 40px;
    height: auto;
}

#logo_perf {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-phone a {
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

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

.footer-bottom a:hover {
    color: white;
}

/* ============================================
   CHATBOT
============================================ */
#chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3367D6 0%, #2554C7 100%);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(51, 103, 214, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
}

#chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(51, 103, 214, 0.5);
}

#chatbot-toggle svg {
    width: 28px;
    height: 28px;
    fill: white;
}

#chatbot {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 380px;
    max-height: 600px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
}

#chatbot.active {
    display: flex;
}

#chat-header {
    background: linear-gradient(135deg, #3367D6 0%, #2554C7 100%);
    color: white;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chat-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

#close-chat {
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
    padding: 0;
}

#close-chat:hover {
    background: rgba(255, 255, 255, 0.2);
}

#chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    max-height: 500px;
}

.chat-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    margin-bottom: 10px;
}

.chat-option-btn {
    background: linear-gradient(135deg, #3367D6 0%, #2554C7 100%);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(51, 103, 214, 0.2);
}

.chat-option-btn:hover {
    background: linear-gradient(135deg, #2554C7 0%, #1e4ab8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(51, 103, 214, 0.3);
}

.chat-option-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(51, 103, 214, 0.2);
}

.message {
    margin-bottom: 12px;
    animation: fadeIn 0.3s ease;
}

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

.message.bot .message-content {
    background: #f1f3f4;
    color: #333;
    padding: 12px 16px;
    border-radius: 12px 12px 12px 4px;
    max-width: 80%;
    display: inline-block;
    white-space: pre-line;
}

.message.user .message-content {
    background: #3367D6;
    color: white;
    padding: 12px 16px;
    border-radius: 12px 12px 4px 12px;
    max-width: 80%;
    display: inline-block;
    margin-left: auto;
}

.message.user {
    text-align: right;
}

/* ============================================
   SCROLL TO TOP BUTTON
============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 25px;
    right: 100px;
    width: 50px;
    height: 50px;
    background: var(--accent-red);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #b91c1c;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */
@media (max-width: 1200px) {
    .services-grid,
    .testimonials-grid,
    .benefits-grid,
    .plans-grid,
    .faq-grid-contact {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .step::after {
        display: none;
    }

    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .mission-values,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .page-hero-content h1,
    .service-hero h1 {
        font-size: 2.3rem;
    }

    .about-content,
    .contact-wrapper,
    .service-intro-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .intro-cta {
        position: static;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .faq-grid,
    .faq-grid-contact {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .scroll-to-top {
        right: 20px;
        bottom: 90px;
    }
}

@media (max-width: 768px) {
    nav {
        height: 70px;
    }

    .hero {
        padding: 120px 5% 80px;
        min-height: 600px;
    }

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

    .hero-text p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .page-hero,
    .service-hero {
        padding: 120px 5% 60px;
    }

    .page-hero-content h1,
    .service-hero h1 {
        font-size: 1.8rem;
    }

    .page-hero-content p,
    .service-subtitle {
        font-size: 1rem;
    }

    .services,
    .about,
    .testimonials,
    .contact,
    .service-intro,
    .service-plans,
    .service-benefits,
    .service-options,
    .service-process,
    .service-testimonials,
    .service-faq,
    .faq-content,
    .contact-page,
    .map-section,
    .contact-faq {
        padding: 5px !important;
    }

    .section-title {
        font-size: 1.8rem !important;
    }

    .services-grid,
    .testimonials-grid,
    .benefits-grid,
    .plans-grid,
    .process-steps,
    .options-grid,
    .service-intro-content,
    .testimonials-slider,
    .contact-wrapper,
    .contact-form,
    .faq-grid-contact,
    .related-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .plan-card.featured {
        transform: scale(1) !important;
    }

    .logos-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .about-image {
        height: 300px;
	width: 300px;
    }

    .form-row {
        grid-template-columns: 1fr !important;
    }

    .contact-sidebar {
        order: -1;
    }

    #chatbot {
        width: calc(100vw - 40px);
        right: 20px;
        max-height: 500px;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 100px;
        right: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-buttons,
    .cta-final-buttons,
    .faq-cta-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .categories-nav {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 1rem;
    }

    .category-btn {
        white-space: nowrap;
    }

    .faq-categories {
        top: 70px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-card,
    .testimonial-card,
    .plan-card {
        padding: 1.5rem;
    }

    .plan-price .price {
        font-size: 2.5rem;
    }

    .price-amount {
        font-size: 3rem;
    }

    .contact-form-container {
        padding: 25px !important;
    }

    .sidebar-card {
        padding: 1.5rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline-item {
        padding-left: 35px;
    }

    .timeline-item::before {
        width: 12px;
        height: 12px;
        border-width: 3px;
    }
}

/* ============================================
   ANIMATIONS & TRANSITIONS
============================================ */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--accent-red);
    color: white;
}

::-moz-selection {
    background: var(--accent-red);
    color: white;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* ============================================
   UTILITIES
============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 8%;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* ============================================
   LOADING STATES
============================================ */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-blue);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* ============================================
   ACCESSIBILITY
============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-red);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

@supports selector(:focus-visible) {
    a:focus,
    button:focus,
    input:focus,
    select:focus,
    textarea:focus {
        outline: none;
    }

    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
        outline: 2px solid var(--primary-blue);
        outline-offset: 2px;
    }
}

/* ============================================
   PERFORMANCE
============================================ */
.hero-content,
.service-card,
.testimonial-card,
.plan-card {
    will-change: transform;
}

.btn-primary,
.btn-secondary,
.service-card,
.scroll-to-top {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ============================================
   PRINT STYLES
============================================ */
@media print {
    nav,
    .burger,
    #chatbot,
    #chatbot-toggle,
    .scroll-to-top,
    .cta-section,
    .service-cta-final,
    footer {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        text-decoration: underline;
        color: #000;
    }

    .hero,
    .page-hero,
    .service-hero {
        background: none !important;
        color: #000 !important;
        padding: 2rem 0;
    }

    .section-title,
    h1, h2, h3 {
        color: #000 !important;
        page-break-after: avoid;
    }

    .service-card,
    .testimonial-card,
    .plan-card {
        border: 1px solid #000;
        page-break-inside: avoid;
    }
}-preview {
     padding: 100px 8%;
     background: white;
 }

.faq-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.faq-item {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
}

.faq-item h3 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

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

.faq-item:hover {
    border-color: var(--accent-red);
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

/* ============================================
   CONTACT PAGE
============================================ */
.contact {
    padding: 100px 8%;
    background-color: #d7d7d7;
}

.contact-page {
    padding: 80px 8%;
    background: var(--light-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

/* Formulaire */
.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--medium-gray);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

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

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: white;
}

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

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

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    gap: 0.8rem;
    cursor: pointer;
    align-items: flex-start;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.3rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-submit,
.btn-reset {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit {
    background: var(--accent-red);
    color: white;
}

.btn-submit:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.btn-reset {
    background: var(--light-gray);
    color: var(--dark-text);
}

.btn-reset:hover {
    background: #cbd5e1;
}

.form-message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    margin-top: 1rem;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #dc2626;
}

.form-footer {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card,
.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #00000033;
    transition: all 0.3s;
}

.contact-item:hover {
    border-color: var(--accent-red);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(30, 58, 138, 0.1);
}

.sidebar-card h3,
.contact-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.contact-item-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-icon,
.contact-method-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(30, 58, 138, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.contact-method:last-child {
    border-bottom: none;
}

.contact-method-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.contact-item p,
.contact-item a {
    color: var(--medium-gray);
    font-size: 1rem;
    padding-left: 4rem;
}

.contact-link-large {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-red);
    text-decoration: none;
    display: block;
    margin-bottom: 0.3rem;
}

.contact-link-large:hover {
    text-decoration: underline;
}

.contact-method-note {
    font-size: 0.85rem;
    color: var(--medium-gray);
}

.link-external {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
    transition: color 0.3s;
}

.link-external:hover {
    color: var(--accent-red);
}

/* Horaires */
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.hours-item.closed {
    opacity: 0.6;
}

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

.time {
    text-align: right;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* Engagement */
.sidebar-card.highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid var(--warning-orange);
}

.engagement-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.engagement-list li {
    font-size: 0.95rem;
    color: var(--dark-text);
    font-weight: 600;
}

/* Urgence */
.sidebar-card.emergency {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 2px solid var(--accent-red);
}

.btn-emergency {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--accent-red);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    margin: 1rem 0;
    transition: all 0.3s;
}

.btn-emergency:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

.emergency-note {
    font-size: 0.85rem;
    color: var(--medium-gray);
    text-align: center;
}

/* Map */
.map-section {
    padding: 60px 8%;
    background: white;
}

.map-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.map-container {
    position: relative;
    width: 100%;
    height: 500px; /* hauteur fixe, modifiable selon ton design */
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    box-shadow: 0 5px 20px rgba(30, 58, 138, 0.1);
    max-width: 1400px;
    margin: 0 auto;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.contact-faq {
    padding: 60px 8%;
    background: var(--light-gray);
}

.contact-faq h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 3rem;
}

.faq-grid-contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================================
   SERVICE PAGES
============================================ */
.service-intro {
    padding: 80px 8%;
    background: white;
}
/* Ajoutez ces styles dans la section SERVICE PAGES de votre CSS,
   juste apr�s les styles existants de .service-intro */

/* Layout avec image � droite pour service-intro */
.service-intro .content-with-image {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.service-intro .text-content {
    flex: 1;
}

.service-intro .image-content {
    flex: 0 0 400px;
}

.service-intro .image-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive pour le layout avec image */
@media (max-width: 1024px) {
    .service-intro .content-with-image {
        flex-direction: column;
    }
    
    .service-intro .image-content {
        flex: 1;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .service-intro .image-content {
        flex: 0 0 auto;
        max-width: 100%;
    }
}

.service-intro-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.intro-text h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

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

.intro-cta {
    position: sticky;
    top: 120px;
}

.cta-box {
    background: linear-gradient(135deg, var(--light-gray) 0%, white 100%);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--primary-blue);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.cta-box h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.price-tag {
    margin: 1.5rem 0;
}

.price-from {
    display: block;
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
}

.price-amount {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent-red);
    line-height: 1;
}

.price-period {
    display: block;
    font-size: 0.95rem;
    color: var(--medium-gray);
    margin-top: 0.5rem;
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--medium-gray);
}

/* Plans/Pricing */
.service-plans {
    padding: 80px 8%;
    background: var(--light-gray);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.plan-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
    position: relative;
}

.plan-card.featured {
    border-color: var(--accent-red);
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.2);
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-header h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.plan-subtitle {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

.plan-price {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 2px solid var(--light-gray);
    margin-bottom: 2rem;
}

.plan-price .price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-red);
}

.plan-price .period {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.8rem 0;
    color: var(--dark-text);
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.95rem;
}

.plan-features li:last-child {
    border-bottom: none;
}

.btn-plan {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--primary-blue);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-plan:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

.btn-plan-featured {
    background: var(--accent-red);
}

.btn-plan-featured:hover {
    background: #b91c1c;
}

.plans-note {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Benefits */
.service-benefits {
    padding: 80px 8%;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.benefit-card {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.benefit-card:hover {
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Options */
.service-options {
    padding: 80px 8%;
    background: var(--light-gray);
}

.service-options h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 3rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.option-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.option-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.option-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.option-card p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.option-price {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    color: var(--accent-red);
    font-weight: 700;
    border-radius: 50px;
    font-size: 0.9rem;
}

/* Process */
.service-process {
    padding: 80px 8%;
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step::after {
    content: '>';
    position: absolute;
    top: 40px;
    right: -1.5rem;
    font-size: 2rem;
    color: var(--accent-red);
}

.step:last-child::after {
    display: none;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.step p {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Service Testimonials */
.service-testimonials {
    padding: 80px 8%;
    background: var(--light-gray);
}

.service-testimonials h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 3rem;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Service FAQ */
.service-faq {
    padding: 80px 8%;
    background: white;
}

.service-faq h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-list .faq-item {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-list summary {
    padding: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-red);
    font-weight: 700;
}

.faq-list details[open] summary::after {
    content: '-';
}

.faq-list summary:hover {
    background: var(--light-gray);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--medium-gray);
    line-height: 1.7;
}

.faq-answer ul,
.faq-answer ol {
    margin: 1rem 0 1rem 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* CTA Final */
.service-cta-final {
    padding: 80px 8%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-red));
    color: white;
    text-align: center;
}

.cta-final-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-final-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-final-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cta-final-note {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Related Services */
.related-services {
    padding: 80px 8%;
    background: white;
}

.related-services h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 3rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.related-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    border: 2px solid transparent;
}

.related-card:hover {
    background: white;
    border-color: var(--primary-blue);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.related-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.related-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
}

.related-card p {
    color: var(--medium-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.related-link {
    color: var(--accent-red);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ============================================
   FAQ PAGE
============================================ */
.faq-search {
    max-width: 600px;
    margin: 2rem auto 0;
    display: flex;
    gap: 0.5rem;
}

.faq-search input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid white;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
}

.faq-search input:focus {
    outline: none;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.faq-search button {
    padding: 1rem 1.5rem;
    background: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-search button:hover {
    background: var(--accent-red);
    transform: scale(1.05);
}

.faq-categories {
    padding: 40px 8%;
    background: white;
    top: 90px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.categories-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.category-btn {
    padding: 0.8rem 1.5rem;
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.legal-content {
    padding: 60px 8%;
    background: white;
}

.legal-container {
    max-width: 1000px;
    margin: 0 auto;
}

.table-of-contents {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    top: 120px;
    z-index: 10;
}

.table-of-contents h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.table-of-contents ul {
    list-style: none;
}

.table-of-contents li {
    margin: 0.8rem 0;
}

.table-of-contents a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.table-of-contents a:hover {
    color: var(--accent-red);
    text-decoration: underline;
}

.legal-section {
    margin-bottom: 3rem;
    scroll-margin-top: 120px;
}

.legal-section h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent-red);
}

.legal-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-top: 1rem;
    margin-bottom: 0.8rem;
}

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

.legal-block p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--medium-gray);
}

.legal-block p:last-child {
    margin-bottom: 0;
}

.legal-block ul,
.legal-block ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: var(--medium-gray);
}

.legal-block li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.legal-block li strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.legal-block address {
    font-style: normal;
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid var(--accent-red);
    margin: 1rem 0;
}

.legal-block a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-block a:hover {
    color: var(--accent-red);
    text-decoration: underline;
}

.hint {
    display: block;
    font-size: 0.85rem;
    color: var(--medium-gray);
    font-style: italic;
    margin-top: 0.3rem;
}

@media (max-width: 1024px) {
    .legal-content {
        padding: 40px 5%;
    }

    .table-of-contents {
        position: relative;
        top: auto;
    }
}

@media (max-width: 768px) {
    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.1rem;
    }

    .legal-block {
        padding: 1.5rem;
    }

    .table-of-contents {
        font-size: 0.9rem;
    }

    .table-of-contents li {
        margin: 0.6rem 0;
    }
}

/* ============================================
   CENTERED IMAGE
============================================ */
.centered-image {
    display: block;
    margin: 3rem auto;
    max-width: 90%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .centered-image {
        max-width: 95%;
        margin: 2rem auto;
    }
}


