/*!
Theme Name: Perfectys V2
Theme URI: https://perfectys.fr/
Author: Perfectys Télécoms
Author URI: https://perfectys.fr/
Description: Thème Perfectys V2 - Design moderne 2025
Version: 2.0.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: perfectys_v2
Tags: custom-background, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ============================================
   RESET & VARIABLES
============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1e3a8a;
    --primary-dark: #152d6e;
    --primary-light: #2563eb;
    --accent: #dc2626;
    --accent-dark: #b91c1c;
    --accent-light: #ef4444;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1d4ed8 100%);
    --gradient-accent: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-800);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }

.highlight { color: var(--accent); }
.highlight-blue { color: var(--primary-light); }

/* ============================================
   LAYOUT UTILITIES
============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-pad {
    padding: 100px 0;
}

.section-pad-sm {
    padding: 60px 0;
}

/* ============================================
   NAVIGATION
============================================ */
#masthead {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 5% 0.75rem 2%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: var(--transition);
    height: 80px;
}

/* Logo tout à gauche */
.nav-logo {
    display: flex;
    align-items: center;
    height: 60px;
    max-height: 60px;
    flex-shrink: 0;
    overflow: hidden;
    margin-right: auto;
}

.site-nav.scrolled {
    height: 65px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.nav-logo img {
    height: 50px;
    max-height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: var(--transition);
    display: block;
}

.site-nav.scrolled .nav-logo img {
    height: 40px;
    max-height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu > li > a {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    position: relative;
    letter-spacing: 0.01em;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-menu > li > a:hover {
    color: var(--accent);
    background: rgba(220,38,38,0.06);
}

.nav-menu > li > a:hover::after {
    width: 60%;
}

/* Lien actif (page courante) — uniquement l'item exact, pas les ancêtres */
.nav-menu > li.current-menu-item > a {
    color: var(--accent);
}

.nav-menu > li.current-menu-item > a::after {
    width: 60%;
}

/* Reset : empêcher les classes WP parasites d'afficher la barre sur plusieurs items */
.nav-menu > li.current_page_item > a::after,
.nav-menu > li.current-menu-ancestor > a::after,
.nav-menu > li.current-page-ancestor > a::after,
.nav-menu > li.current_page_parent > a::after,
.nav-menu > li.current-menu-parent > a::after {
    width: 0;
}

.nav-cta-btn {
    background: var(--gradient-accent) !important;
    color: var(--white) !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: var(--radius-md) !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(220,38,38,0.3);
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220,38,38,0.4) !important;
    background: var(--accent-dark) !important;
}

.nav-cta-btn::after {
    display: none !important;
}

/* Sous-menus */
.nav-menu li {
    position: relative;
}

.nav-menu ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem 0;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 9999;
    border: 1px solid var(--gray-200);
    padding-top: 1rem;
}

/* Pont invisible pour maintenir le hover entre le lien et le sous-menu */
.nav-menu ul.sub-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.nav-menu .sub-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--gray-700);
    font-size: 0.9rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.nav-menu .sub-menu li a:hover {
    background: var(--gray-50);
    color: var(--accent);
    border-left-color: var(--accent);
    padding-left: 1.8rem;
}

.nav-menu .sub-menu li a::after {
    display: none;
}

/* Burger */
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1002;
}

.nav-burger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.nav-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}
.nav-burger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   SECTION LABELS & HEADERS
============================================ */
.section-label {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(220,38,38,0.1);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    line-height: 1;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(220,38,38,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(220,38,38,0.4);
    color: var(--white);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--white);
    transform: translateY(-3px);
    color: var(--white);
}

/* btn-secondary sur fond clair (contact, services, sections blanches) */
.contact-page .btn-secondary,
.service-intro .btn-secondary,
.why-section .btn-secondary,
section:not(.cta-section):not(.hero-home):not(.page-hero):not(.service-cta-final):not(.stats-section) .btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

section:not(.cta-section):not(.hero-home):not(.page-hero):not(.service-cta-final):not(.stats-section) .btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

/* ============================================
   HERO - PAGE D'ACCUEIL
============================================ */
.hero-home {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles span {
    position: absolute;
    display: block;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    animation: floatParticle 8s infinite;
}

.hero-particles span:nth-child(1) { left: 10%; animation-delay: 0s; width: 6px; height: 6px; }
.hero-particles span:nth-child(2) { left: 25%; animation-delay: 1.5s; }
.hero-particles span:nth-child(3) { left: 40%; animation-delay: 3s; width: 3px; height: 3px; }
.hero-particles span:nth-child(4) { left: 60%; animation-delay: 0.5s; width: 5px; height: 5px; }
.hero-particles span:nth-child(5) { left: 75%; animation-delay: 2s; }
.hero-particles span:nth-child(6) { left: 90%; animation-delay: 4s; width: 3px; height: 3px; }

@keyframes floatParticle {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: blobPulse 8s ease-in-out infinite;
}

.hero-blob-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    top: -200px;
    right: -100px;
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: 10%;
    animation-delay: 4s;
}

@keyframes blobPulse {
    0%, 100% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.15) translate(20px, -20px); }
}

.hero-home .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-badge::before {
    content: '●';
    color: var(--success);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-text h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-text h1 span {
    background: linear-gradient(135deg, #93c5fd, #dbeafe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat {
    text-align: left;
}

.hero-stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-stat span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.hero-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    transition: var(--transition);
    cursor: default;
    text-align: center;
}

.hero-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.25);
}

.hero-card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.hero-card h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.hero-card p {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    line-height: 1.5;
}


/* ============================================
   SERVICES SECTION
============================================ */
.services-section {
    padding: 100px 0;
    background: var(--gray-50);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
    border: 1px solid var(--gray-200);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.service-card-link:hover {
    gap: 0.7rem;
    color: var(--accent);
}

.service-card-link::after {
    content: '→';
}

/* ============================================
   STATS / CHIFFRES CLÉS
============================================ */
.stats-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-number span {
    color: rgba(255,255,255,0.7);
    font-size: 0.6em;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

/* ============================================
   POURQUOI NOUS
============================================ */
.why-section {
    padding: 100px 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.why-features {
    display: grid;
    gap: 1.5rem;
}

.why-feature {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid transparent;
}

.why-feature:hover {
    background: var(--white);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-md);
    transform: translateX(6px);
}

.why-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(30, 58, 138, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.why-feature-text h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--gray-900);
}

.why-feature-text p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.why-visual {
    position: relative;
}

.why-img-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.why-img-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.why-badge-float {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.why-badge-float.top-left {
    top: -20px;
    left: -20px;
}

.why-badge-float.bottom-right {
    bottom: 20px;
    right: -20px;
}

.why-badge-float .badge-icon {
    font-size: 1.8rem;
}

.why-badge-float .badge-text strong {
    display: block;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--primary);
    line-height: 1;
}

.why-badge-float .badge-text span {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ============================================
   TÉMOIGNAGES
============================================ */
.testimonials-section {
    padding: 100px 0;
    background: var(--gray-50);
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonials-track::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 350px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    scroll-snap-align: start;
    transition: var(--transition);
    position: relative;
    text-align: center;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-4px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 5rem;
    color: var(--gray-100);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-stars {
    color: var(--warning);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 0.9rem;
    color: var(--gray-900);
    margin-bottom: 0.1rem;
}

.author-info p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0;
    font-style: normal;
}

/* ============================================
   CTA SECTION
============================================ */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(37,99,235,0.3), transparent);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-section p {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   PAGE HERO (pages intérieures)
============================================ */
.page-hero {
    min-height: 40vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 2rem 60px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(37,99,235,0.2), transparent);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: rgba(255,255,255,0.4);
}

.breadcrumb .separator {
    color: rgba(255,255,255,0.3);
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-hero p {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.hero-badges {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.hero-badge-item {
    padding: 0.4rem 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 100px;
    color: rgba(255,255,255,0.9);
    font-size: 0.82rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* ============================================
   SERVICE HERO (hero des pages de services)
============================================ */
.service-hero {
    padding: 140px 8% 60px;
    background:
        linear-gradient(135deg, rgba(30,58,138,0.88) 0%, rgba(220,38,38,0.75) 100%),
        url('/wp-content/uploads/2025/11/Web.webp') center center / cover no-repeat;
    color: var(--white);
    position: relative;
}

.service-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(37,99,235,0.2), transparent);
    pointer-events: none;
}

.service-hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.service-hero .breadcrumb {
    margin-bottom: 1.5rem;
}

.service-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--white);
}

.service-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.service-hero-badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--white);
}

/* ============================================
   SERVICE PAGES
============================================ */

/* Sections conteneurs des pages de services */
.service-benefits {
    padding: 80px 8%;
    background: var(--white);
}

.service-process {
    padding: 80px 8%;
    background: var(--gray-50);
}

.service-options {
    padding: 60px 8%;
}

.service-options h2 {
    margin-bottom: 2rem;
}

/* Réutiliser le même style process-steps pour .service-process .step */
.service-process .step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.service-process .step-number {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(30,58,138,0.3);
}

.service-process .step h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.service-process .step p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Related services */
.related-services {
    padding: 80px 8%;
    background: var(--gray-50);
}

.related-services h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: var(--primary);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.related-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    text-align: center;
    display: block;
}

.related-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.related-icon {
    width: 52px;
    height: 52px;
    background: rgba(30, 58, 138, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.related-card h3 {
    font-size: 1.1rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.related-card p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.related-link {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.88rem;
}

.service-intro {
    padding: 80px 8%;
}

/* Layout intro avec image à droite */
.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: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.service-intro .intro-text h2 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 900;
}

.service-intro .intro-text p {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Images dans .benefit-icon */
.benefit-icon img,
.benefit-icon .emoji,
.benefit-icon .img-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
    margin: 0;
}

/* Images dans .related-icon */
.related-icon img,
.related-icon .emoji,
.related-icon .img-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    margin: 0;
}

.service-intro-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: start;
}

.service-intro-text h2 {
    margin-bottom: 1.5rem;
}

.service-intro-text p {
    color: var(--gray-500);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.price-box {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    min-width: 280px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.price-box h3 {
    font-size: 1rem;
    color: var(--gray-500);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-display {
    margin-bottom: 1.5rem;
}

.price-from {
    font-size: 0.85rem;
    color: var(--gray-500);
    display: block;
    margin-bottom: 0.25rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.price-period {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-left: 0.25rem;
}

.price-note {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 0.75rem;
}

/* Plans */
.plans-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.plan-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.plan-card.featured {
    border-color: var(--primary);
    transform: scale(1.03);
}

.plan-card.featured:hover {
    transform: scale(1.03) translateY(-6px);
}

.plan-popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.4rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0 var(--radius-lg) 0 var(--radius-md);
}

.plan-card h3 {
    font-size: 1.4rem;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.plan-subtitle {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.plan-price {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.plan-price .price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.plan-price .period {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-left: 0.25rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.4;
}

.plan-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.btn-plan {
    display: block;
    text-align: center;
    padding: 0.9rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-plan:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30,58,138,0.3);
}

.btn-plan-featured {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(30,58,138,0.3);
}

.btn-plan-featured:hover {
    background: var(--primary-dark);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(30,58,138,0.4);
}

/* Avantages */
.benefits-section {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: rgba(30, 58, 138, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.benefit-card h3 {
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.benefit-card p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Options */
.options-section {
    padding: 60px 0;
    background: var(--gray-50);
}

.options-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.option-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    text-align: center;
}

.option-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.option-card h3 {
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.option-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.option-price {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(30,58,138,0.08);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Process */
.process-section {
    padding: 80px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto 1.25rem;
    box-shadow: 0 6px 20px rgba(30,58,138,0.3);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(30,58,138,0.2);
}

.process-step h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.process-step p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Testimonials service */
.service-testimonials {
    padding: 80px 8%;
    background: var(--gray-50);
}

.service-testimonials h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.service-testimonials .testimonials-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .service-testimonials {
        padding: 50px 5%;
    }
    .service-testimonials .testimonials-slider {
        grid-template-columns: 1fr;
    }
}

/* FAQ Service */
.service-faq {
    padding: 80px 0;
}

.service-faq h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item[open] {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray-800);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    width: 24px;
    height: 24px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
    transition: var(--transition);
    text-align: center;
    line-height: 24px;
}

.faq-item[open] summary::after {
    content: '−';
    background: var(--primary);
    color: var(--white);
    transform: rotate(180deg);
}

.faq-item p, .faq-item .faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* FAQ deux colonnes */
.faq-two-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.faq-two-cols .faq-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 548px;
    justify-self: center;
}

@media (max-width: 768px) {
    .faq-two-cols {
        grid-template-columns: 1fr;
    }
    .faq-two-cols .faq-item:last-child:nth-child(odd) {
        max-width: 100%;
    }
}

/* Icône inline dans les titres h3 */
.img-icon-inline {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.4rem;
}

/* Icône inline dans les boutons */
.btn-primary .img-icon-inline,
.btn-secondary .img-icon-inline,
.btn-large .img-icon-inline {
    width: 18px;
    height: 18px;
    vertical-align: -2px;
}

/* Final CTA */
.service-cta-final {
    padding: 80px 8%;
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.service-cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(37,99,235,0.3), transparent);
    pointer-events: none;
}

.cta-final-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-final-content h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-final-content > p {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.cta-final-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cta-note-final {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

/* ============================================
   PAGE À PROPOS
============================================ */
.about-history {
    padding: 80px 0;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
    padding-top: 3.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item h3 {
    font-size: 1.6rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.about-mission {
    padding: 80px 0;
    background: var(--gray-50);
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.value-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--accent);
}

.value-icon {
    width: 56px;
    height: 56px;
    background: rgba(30, 58, 138, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.value-icon .img-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
    margin: 0;
}

.value-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.value-item p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.about-team {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-photo {
    margin-top: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.team-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 4px solid var(--gray-200);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.team-member:hover img {
    border-color: var(--primary);
    transform: scale(1.05);
}

.team-member h3 {
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.team-member p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ============================================
   PAGE CONTACT
============================================ */
.contact-page {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--gray-500);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: var(--font-sans);
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30,58,138,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 0.1rem;
    accent-color: var(--primary);
}

.form-actions {
    display: flex;
    gap: 1rem;
}

.btn-submit {
    flex: 1;
}

.form-footer {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--gray-400);
    text-align: center;
}

/* Contact sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.sidebar-card h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-100);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.contact-method:last-child {
    border-bottom: none;
}

.contact-method-icon {
    width: 44px;
    height: 44px;
    background: rgba(30, 58, 138, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon .img-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
    margin: 0;
}

.contact-method-info h4 {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.contact-link-large {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    display: block;
}

.contact-link-large:hover {
    color: var(--accent);
}

.contact-method-note {
    font-size: 0.78rem;
    color: var(--gray-400);
    margin-top: 0.15rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item .day {
    color: var(--gray-700);
    font-weight: 600;
}

.hours-item .time {
    color: var(--gray-500);
    text-align: right;
    font-size: 0.82rem;
    line-height: 1.4;
}

.hours-item.closed .time {
    color: var(--accent);
    font-weight: 600;
}

.sidebar-card.highlight {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
}

.sidebar-card.highlight h3 {
    color: var(--white);
    border-bottom-color: rgba(255,255,255,0.2);
}

.engagement-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.engagement-list li {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.engagement-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    flex-shrink: 0;
}

.sidebar-card.emergency {
    background: rgba(220,38,38,0.05);
    border-color: rgba(220,38,38,0.2);
}

.sidebar-card.emergency h3 {
    color: var(--accent);
    border-bottom-color: rgba(220,38,38,0.1);
}

.sidebar-card.emergency p {
    font-size: 0.88rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.btn-emergency {
    display: block;
    text-align: center;
    padding: 0.8rem;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.btn-emergency:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220,38,38,0.3);
}

.emergency-note {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-align: center;
}

/* Map */
.map-section {
    padding: 60px 0 0;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container-full {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Contact FAQ */
.contact-faq {
    padding: 80px 0;
    background: var(--gray-50);
}

.contact-faq h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.faq-grid-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-grid-contact .faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
}

.faq-grid-contact .faq-item h3 {
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.faq-grid-contact .faq-item p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================================
   PAGE MENTIONS LÉGALES
============================================ */
.legal-content {
    padding: 80px 0;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.table-of-contents {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
    border: 1px solid var(--gray-200);
}

.table-of-contents h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.table-of-contents ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.table-of-contents a {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.table-of-contents a:hover {
    color: var(--accent);
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--gray-200);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary);
}

.legal-section h3 {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.legal-block {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.legal-block p, .legal-block address {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 0.4rem;
}

.legal-block a {
    color: var(--primary);
}

.legal-block a:hover {
    color: var(--accent);
}

.legal-block ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.legal-block ul li {
    font-size: 0.92rem;
    color: var(--gray-600);
    margin-bottom: 0.3rem;
}

/* ============================================
   FAQ PAGE
============================================ */
.faq-page-section {
    padding: 80px 0;
}

.faq-categories {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.category-btn {
    padding: 0.5rem 1.25rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 100px;
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.faq-search-wrap {
    max-width: 500px;
    margin: 0 auto 3rem;
    position: relative;
}

.faq-search-wrap input {
    width: 100%;
    padding: 0.9rem 1.25rem 0.9rem 3rem;
    border: 2px solid var(--gray-200);
    border-radius: 100px;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.faq-search-wrap input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30,58,138,0.1);
}

.faq-search-wrap::before {
    content: '🔍';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
}

/* ============================================
   FOOTER
============================================ */
footer {
    background: var(--gray-900);
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding: 60px 5% 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-about p {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 1.25rem 0 1.5rem;
    max-width: 300px;
}

.footer-logo {
    height: 45px;
    width: auto;
}



.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.social-links .icons {
    width: 20px;
    height: 20px;
    margin: 0;
}

.footer-links h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
    font-weight: 400;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a:hover {
    color: var(--white);
    gap: 0.6rem;
}

.footer-links a::before {
    content: '→';
    font-size: 0.75rem;
    color: var(--accent);
    opacity: 0;
    transition: var(--transition);
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-phone a {
    color: var(--white) !important;
    font-weight: 700;
    font-size: 1rem !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.82rem;
    text-align: center;
}

.footer-bottom a {
    color: var(--gray-400);
    font-weight: 500;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ============================================
   SCROLL TO TOP
============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(30,58,138,0.4);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(30,58,138,0.5);
}

/* ============================================
   ICÔNES IMAGES (uploads) dans benefit-cards
============================================ */
.benefit-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin: 0;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(30,58,138,0.15));
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon-img {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(30,58,138,0.25));
}

/* ============================================
   CONTENU WORDPRESS (Gutenberg / Elementor)
   Le contenu natif est affiché dans son propre wrapper
   avec le bon espacement et un reset compatible
============================================ */
#wp-content-wrapper {
    min-height: 50vh;
}

/* Page d'accueil : le contenu Elementor gère tout, pas de padding/max-width restrictif */
.front-page-content {
    min-height: 50vh;
}

/* Les sections full-width (.hero, .cta-section, etc.) gèrent leur propre padding
   pour compenser le header fixe de 80px. Pas besoin de padding global ici. */

/* Pages intérieures avec page-hero : ajouter du padding au contenu */
.page-hero ~ main #wp-content-wrapper,
main #wp-content-wrapper {
    padding: 60px 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

/* Page d'accueil : PAS de contrainte de largeur (contenu plein écran) */
main #wp-content-wrapper.front-page-content {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Laisser Elementor gérer ses propres largeurs et paddings */
.front-page-content,
#wp-content-wrapper .elementor,
#wp-content-wrapper .elementor-section-wrap,
#wp-content-wrapper .elementor-inner {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Si le wrapper a déjà la classe container, ne pas doubler le padding */
#wp-content-wrapper.container {
    max-width: 1280px;
}

/* Overlay sombre derrière le menu mobile */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Styles de base pour le contenu Gutenberg / Elementor hérité */
#wp-content-wrapper h1,
#wp-content-wrapper h2,
#wp-content-wrapper h3,
#wp-content-wrapper h4 {
    font-family: var(--font-sans);
}

#wp-content-wrapper p,
#wp-content-wrapper li {
    font-family: var(--font-sans);
    line-height: 1.7;
}

/* Images dans le contenu WordPress */
#wp-content-wrapper img:not(.img-icon):not(.custom-logo),
.front-page-content img:not(.img-icon):not(.custom-logo) {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Icônes : ne PAS appliquer height:auto / max-width */
#wp-content-wrapper .img-icon {
    max-width: none;
}

/* Empêcher le débordement des images et iframes */
#wp-content-wrapper iframe,
.front-page-content iframe {
    max-width: 100%;
}

/* Alignement WordPress */
#wp-content-wrapper .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#wp-content-wrapper .alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

#wp-content-wrapper .alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

#wp-content-wrapper .alignwide {
    max-width: 100vw;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

#wp-content-wrapper .alignfull {
    max-width: 100vw;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* Elementor : pas de restriction de largeur */
.elementor-page #wp-content-wrapper,
.elementor-page .front-page-content {
    max-width: 100%;
    padding: 0;
}

/* Masquer le hero du thème quand Elementor gère la page (il a son propre hero) */
.elementor-page .page-hero {
    display: none;
}

/* WordPress galleries & figures */
#wp-content-wrapper figure {
    margin: 0 0 1.5rem;
}

#wp-content-wrapper figcaption {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
    text-align: center;
}

/* WP block image fixes */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.wp-block-image.aligncenter {
    text-align: center;
}

.wp-block-image.aligncenter img {
    margin-left: auto;
    margin-right: auto;
}

/* Blocs Gutenberg dans le thème V2 */
.wp-block-group,
.wp-block-cover,
.wp-block-columns {
    max-width: 100%;
}

.entry-content {
    padding-top: 80px;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 60px;
}

/* Pas de padding-top supplémentaire si un hero précède le contenu */
.page-hero + .entry-content,
.page-hero ~ .entry-content,
main .entry-content {
    padding-top: 2rem;
}

.entry-content h2 { margin: 2rem 0 1rem; }
.entry-content h3 { margin: 1.5rem 0 0.75rem; }
.entry-content p { margin-bottom: 1rem; color: var(--gray-600); }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.entry-content li { color: var(--gray-600); margin-bottom: 0.4rem; }
.entry-content a { color: var(--primary); }
.entry-content a:hover { color: var(--accent); }
.entry-content img { border-radius: var(--radius-md); }
.entry-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 1rem 1.5rem;
    background: var(--gray-50);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--gray-600);
}

/* ============================================
   HERO CARD ICONS (images dans hero-home)
============================================ */
.hero-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.hero-card:hover .hero-card-icon {
    background: rgba(255,255,255,0.25);
    transform: scale(1.1);
}

.hero-card-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin: 0;
}

/* WHY feature icon images */
.why-feature-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin: 0;
}

/* SERVICE card icon images */
.service-card-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin: 0;
}

/* ============================================
   ANIMATION CLASSES (scroll reveal)
============================================ */
.fade-up {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-loaded .fade-up {
    opacity: 0;
    transform: translateY(40px);
}

.js-loaded .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-loaded .fade-left {
    opacity: 0;
    transform: translateX(-40px);
}

.js-loaded .fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-loaded .fade-right {
    opacity: 0;
    transform: translateX(40px);
}

.js-loaded .fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Delay classes */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Désactiver les animations pour les utilisateurs qui préfèrent un mouvement réduit */
@media (prefers-reduced-motion: reduce) {
    .fade-up, .fade-left, .fade-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================
   PLANS NOTE
============================================ */
.plans-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: rgba(30,58,138,0.06);
    border-radius: var(--radius-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.plans-note p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-steps::before {
        display: none;
    }
    .timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    .timeline::before {
        display: none;
    }
}

@media (max-width: 1024px) {
    .nav-burger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 90px 0 2rem;
        gap: 0;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-menu > li > a {
        display: block;
        width: 100%;
        padding: 1.25rem 1.75rem !important;
        border-radius: 0 !important;
        border-bottom: none;
        font-size: 1.05rem;
        line-height: 1.5;
    }

    .nav-menu .sub-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: var(--gray-50);
        border: none;
        border-radius: 0;
        padding: 0;
        display: none;
    }

    .nav-menu li.open > .sub-menu {
        display: block;
    }

    .hero-home .container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-visual {
        display: none;
    }

    .service-intro-grid {
        grid-template-columns: 1fr;
    }

    .service-intro .content-with-image {
        flex-direction: column;
    }

    .service-intro .image-content {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }

    .price-box {
        position: static;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .section-pad { padding: 60px 0; }

    .container { padding: 0 1.25rem; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 40px 5%;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plan-card.featured {
        transform: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .timeline {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons, .cta-final-buttons, .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .mission-values {
        grid-template-columns: 1fr;
    }

    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr; }
    /* Garder 3 colonnes pour les stats de la hero section */
    .hero .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }
    .hero .stat-item,
    #wp-content-wrapper .stat-item {
        padding: 0.6rem 0.3rem;
    }
    .hero .stat-number,
    #wp-content-wrapper .hero .stat-number {
        font-size: 1.3rem;
    }
    .hero .stat-label,
    #wp-content-wrapper .hero .stat-label {
        font-size: 0.62rem;
        letter-spacing: 0;
    }
}

/* ============================================
   COMPATIBILITÉ CONTENU WORDPRESS (ancien thème)
   Styles pour le contenu créé dans l'éditeur WP
   avec les classes de l'ancien thème (theme_test)
============================================ */

/* --- HERO (contenu WP) --- */
.hero {
    padding: 140px 8% 100px;
    background:
        linear-gradient(135deg, rgba(15,23,42,0.82) 0%, rgba(30,58,138,0.78) 50%, rgba(29,78,216,0.72) 100%),
        url('/wp-content/uploads/2025/10/contact-scaled-1.jpg') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 700px;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.hero-text {
    max-width: min(800px, 100%);
    width: 100%;
    box-sizing: border-box;
    color: var(--white);
}

.hero-text h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-text .highlight {
    color: var(--accent);
}

.hero-text p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* --- TRUST BADGES --- */
.trust-badges {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

/* --- HERO STATS (contenu WP) --- */
.hero .hero-stats,
#wp-content-wrapper .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 3rem;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.hero .stat-item,
#wp-content-wrapper .stat-item {
    text-align: center;
    padding: 1.25rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.2);
    min-width: 0;
    overflow: hidden;
    word-break: break-word;
}

.hero .stat-number,
#wp-content-wrapper .hero .stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--white);
    display: block;
    margin-bottom: 0.3rem;
}

.hero .stat-label,
#wp-content-wrapper .hero .stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* --- BOUTONS (contenu WP) --- */
#wp-content-wrapper .btn-primary,
.front-page-content .btn-primary {
    padding: 0.9rem 2rem;
    background: var(--gradient-accent);
    color: var(--white) !important;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(220,38,38,0.3);
    line-height: 1;
}

#wp-content-wrapper .btn-primary:hover,
.front-page-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220,38,38,0.4);
}

#wp-content-wrapper .btn-secondary,
.front-page-content .btn-secondary {
    padding: 0.9rem 2rem;
    background: rgba(255,255,255,0.1);
    color: var(--white) !important;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid rgba(255,255,255,0.4);
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1;
}

#wp-content-wrapper .btn-secondary:hover,
.front-page-content .btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Boutons sur fond clair */
.services .btn-secondary,
.about .btn-secondary,
.faq-preview .btn-secondary,
.contact .btn-secondary,
.clients-logos .btn-secondary {
    background: transparent;
    color: var(--primary) !important;
    border-color: var(--primary);
}

.services .btn-secondary:hover,
.about .btn-secondary:hover,
.faq-preview .btn-secondary:hover,
.contact .btn-secondary:hover {
    background: var(--primary);
    color: var(--white) !important;
}

/* Forcer blanc sur fond sombre (hero, cta) dans WP */
#wp-content-wrapper .cta-section .btn-secondary,
.front-page-content .cta-section .btn-secondary,
#wp-content-wrapper .hero .btn-secondary,
.front-page-content .hero .btn-secondary {
    background: rgba(255,255,255,0.12) !important;
    color: var(--white) !important;
    border-color: rgba(255,255,255,0.6) !important;
}

#wp-content-wrapper .cta-section .btn-secondary:hover,
.front-page-content .cta-section .btn-secondary:hover,
#wp-content-wrapper .hero .btn-secondary:hover,
.front-page-content .hero .btn-secondary:hover {
    background: rgba(255,255,255,0.25) !important;
    border-color: var(--white) !important;
}

/* Forcer couleurs sombres sur fond clair (about, faq, contact) dans WP */
#wp-content-wrapper .about .btn-secondary,
.front-page-content .about .btn-secondary,
#wp-content-wrapper .faq-preview .btn-secondary,
.front-page-content .faq-preview .btn-secondary {
    background: transparent !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

#wp-content-wrapper .about .btn-secondary:hover,
.front-page-content .about .btn-secondary:hover,
#wp-content-wrapper .faq-preview .btn-secondary:hover,
.front-page-content .faq-preview .btn-secondary:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}

.about .btn-primary,
.faq-preview .btn-primary,
.contact .btn-primary {
    background: var(--gradient-accent);
    color: var(--white) !important;
}

/* --- SECTIONS (contenu WP) --- */
.services {
    padding: 80px 8%;
    background: var(--white);
}

.services .section-header,
.about .section-header,
.testimonials .section-header,
.faq-preview .section-header,
.contact .section-header,
.clients-logos .section-header {
    max-width: 700px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.8;
}

/* --- SERVICES GRID (contenu WP) --- */
.services .services-grid,
#wp-content-wrapper .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

#wp-content-wrapper .service-card,
.services .service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

#wp-content-wrapper .service-card.featured {
    border-color: var(--accent);
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

#wp-content-wrapper .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: var(--transition);
}

#wp-content-wrapper .service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

#wp-content-wrapper .service-card:hover::before {
    transform: scaleY(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(30, 58, 138, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.img-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

#wp-content-wrapper .service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

#wp-content-wrapper .service-card p {
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.25rem;
    padding: 0;
}

.service-features li {
    padding: 0.4rem 0;
    color: var(--gray-700);
    font-size: 0.9rem;
    line-height: 1.5;
}

.service-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.service-link,
.service-link-primary {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
    font-size: 0.9rem;
}

.service-link:hover,
.service-link-primary:hover {
    gap: 0.8rem;
    color: var(--accent-dark);
}

.service-link-secondary {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
}

.service-link-secondary:hover {
    color: var(--accent);
}

/* --- CTA SECTION (contenu WP) --- */
#wp-content-wrapper .cta-section,
.front-page-content .cta-section {
    padding: 80px 8%;
    background: var(--gradient-hero);
    color: var(--white);
    text-align: center;
    box-sizing: border-box;
    width: 100%;
}

#wp-content-wrapper .cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
}

#wp-content-wrapper .cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.8);
}

#wp-content-wrapper .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- CLIENTS LOGOS (contenu WP) --- */
.clients-logos {
    padding: 80px 8%;
    background: var(--gray-50);
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-placeholder {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/9;
    color: var(--gray-400);
    font-weight: 600;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    font-size: 0.85rem;
}

.logo-placeholder:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* --- ABOUT SECTION (contenu WP) --- */
.about {
    padding: 80px 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: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 500px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.about-text p {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.features-list {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-check {
    width: 26px;
    height: 26px;
    min-width: 26px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 2px;
}

.feature-text {
    color: var(--gray-800);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.5;
}

.about-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- TESTIMONIALS (contenu WP) --- */
.testimonials {
    padding: 80px 8%;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(37,99,235,0.3), transparent);
    pointer-events: none;
}

.testimonials > * {
    position: relative;
    z-index: 1;
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials .section-description {
    color: rgba(255,255,255,0.75);
}

/* --- FAQ PREVIEW (contenu WP) --- */
.faq-preview {
    padding: 80px 8%;
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 2.5rem;
}

#wp-content-wrapper .faq-item,
.faq-preview .faq-item,
.faq-list .faq-item {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    transition: var(--transition);
    overflow: hidden;
}

#wp-content-wrapper .faq-item:hover,
.faq-preview .faq-item:hover,
.faq-list .faq-item:hover {
    border-color: var(--primary-light);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.faq-preview .faq-item summary,
.faq-list .faq-item summary {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.05rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    user-select: none;
}

.faq-preview .faq-item summary::-webkit-details-marker,
.faq-list .faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-preview .faq-item summary::after,
.faq-list .faq-item summary::after {
    content: '+';
    width: 24px;
    height: 24px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
    transition: var(--transition);
    text-align: center;
    line-height: 24px;
}

.faq-preview .faq-item[open] summary::after,
.faq-list .faq-item[open] summary::after {
    content: '−';
    background: var(--primary);
    color: var(--white);
}

.faq-preview .faq-item[open],
.faq-list .faq-item[open] {
    border-color: var(--primary-light);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.faq-preview .faq-item p,
.faq-list .faq-item p,
#wp-content-wrapper .faq-grid .faq-item p {
    padding: 0 1.5rem 1.25rem;
    color: var(--gray-500);
    line-height: 1.7;
    font-size: 0.92rem;
    margin: 0;
}

.text-center {
    text-align: center;
}

/* --- CONTACT SECTION (contenu WP) --- */
.contact {
    padding: 80px 8%;
    background: var(--gray-100);
}

.contact-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.contact-item:hover {
    border-color: var(--primary-light);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.contact-item-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(30, 58, 138, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon .img-icon {
    width: 24px;
    height: 24px;
}

.contact-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
}

.contact-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 0;
}

.contact-item a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    padding-left: 0;
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-link-phone {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent) !important;
    display: block;
}

.contact-link-email {
    color: var(--primary) !important;
    font-weight: 600;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    display: block;
}

/* --- RESPONSIVE (contenu WP) --- */
@media (max-width: 1024px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image {
        max-width: 100%;
        height: auto;
    }

    .hero .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 5% 80px;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 1.9rem;
    }

    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.6rem;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        flex: 1 1 auto;
        min-width: 130px;
        text-align: center;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .trust-badges {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .hero .stat-item,
    #wp-content-wrapper .stat-item {
        padding: 0.75rem 0.5rem;
    }

    .hero .stat-number,
    #wp-content-wrapper .hero .stat-number {
        font-size: 1.5rem;
    }

    .hero .stat-label,
    #wp-content-wrapper .hero .stat-label {
        font-size: 0.7rem;
        letter-spacing: 0;
    }

    .services,
    .about,
    .testimonials,
    .contact,
    .faq-preview,
    .clients-logos {
        padding: 50px 5%;
    }

    .services .services-grid,
    #wp-content-wrapper .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-image {
        max-width: 100%;
    }

    .cta-buttons,
    .about-cta {
        flex-direction: column;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary,
    .about-cta .btn-primary,
    .about-cta .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .service-card.featured {
        transform: none !important;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .services .services-grid,
    #wp-content-wrapper .services-grid {
        grid-template-columns: 1fr;
    }
}

