/* ============================================
   LIKE QUALITY - STYLES PRINCIPAUX
   ============================================ */

/* Variables CSS */
:root {
    --primary-color: #1e3a5f;
    --primary-dark: #0f2440;
    --primary-light: #2d5a8a;
    --secondary-color: #4a90e2;
    --secondary-light: #6ba3e8;
    --accent-color: #f39c12;
    --accent-light: #f5b041;
    --text-color: #2c3e50;
    --text-light: #64748b;
    --text-white: #fff;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1600px;
    --header-height: 90px;
    --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #2d5a8a 50%, #4a90e2 100%);
    --gradient-accent: linear-gradient(135deg, #f39c12 0%, #f5b041 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
}

/* ============================================
   ANIMATION DE FOND SUBTILE
   ============================================ */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.bg-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(74, 144, 226, 0.4);
    animation: float-particle 25s ease-in-out infinite;
    opacity: 1;
    box-shadow: 0 0 80px rgba(74, 144, 226, 0.3);
}

.bg-particle:nth-child(1) {
    width: 400px;
    height: 400px;
    top: 10%;
    left: -10%;
    animation-delay: 0s;
    animation-duration: 30s;
}

.bg-particle:nth-child(2) {
    width: 300px;
    height: 300px;
    top: 60%;
    right: -5%;
    animation-delay: -5s;
    animation-duration: 35s;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.22) 0%, rgba(30, 58, 95, 0.06) 35%, transparent 70%);
    box-shadow: 0 0 50px rgba(30, 58, 95, 0.12);
}

.bg-particle:nth-child(3) {
    width: 250px;
    height: 250px;
    top: 30%;
    right: 20%;
    animation-delay: -10s;
    animation-duration: 28s;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.2) 0%, rgba(243, 156, 18, 0.05) 35%, transparent 70%);
    box-shadow: 0 0 40px rgba(243, 156, 18, 0.1);
}

.bg-particle:nth-child(4) {
    width: 350px;
    height: 350px;
    bottom: 20%;
    left: 10%;
    animation-delay: -15s;
    animation-duration: 32s;
    background: radial-gradient(circle, rgba(45, 90, 138, 0.15) 0%, rgba(45, 90, 138, 0.04) 40%, transparent 70%);
}

.bg-particle:nth-child(5) {
    width: 200px;
    height: 200px;
    top: 80%;
    left: 50%;
    animation-delay: -8s;
    animation-duration: 26s;
}

.bg-particle:nth-child(6) {
    width: 280px;
    height: 280px;
    top: 5%;
    right: 30%;
    animation-delay: -20s;
    animation-duration: 40s;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.12) 0%, rgba(74, 144, 226, 0.03) 40%, transparent 70%);
}

.bg-particle:nth-child(7) {
    width: 180px;
    height: 180px;
    bottom: 40%;
    right: 10%;
    animation-delay: -12s;
    animation-duration: 22s;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.14) 0%, rgba(30, 58, 95, 0.04) 40%, transparent 70%);
}

.bg-particle:nth-child(8) {
    width: 320px;
    height: 320px;
    top: 45%;
    left: -5%;
    animation-delay: -25s;
    animation-duration: 38s;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.1) 0%, rgba(243, 156, 18, 0.03) 40%, transparent 70%);
}

@keyframes float-particle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
        opacity: 1;
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
        opacity: 0.8;
    }
    75% {
        transform: translate(20px, 10px) scale(1.02);
        opacity: 0.9;
    }
}

/* Animation réduite pour les utilisateurs sensibles aux mouvements */
@media (prefers-reduced-motion: reduce) {
    .bg-particle {
        animation: none;
        opacity: 0.5;
    }
}

/* Reset et Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: transparent;
    overflow-x: hidden;
    transition: opacity 0.3s ease;
    isolation: isolate;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 20% 30%, rgba(74, 144, 226, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(45, 90, 138, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(243, 156, 18, 0.08) 0%, transparent 50%);
    animation: gradient-shift 15s ease-in-out infinite;
}

.bg-animation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 20% 30%, rgba(74, 144, 226, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(45, 90, 138, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(243, 156, 18, 0.1) 0%, transparent 50%);
    animation: gradient-shift 15s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

/* Fond blanc sur le contenu principal */
.header {
    position: relative;
    z-index: 10;
    background: var(--gradient-glass);
}

main {
    position: relative;
    z-index: 10;
    background: transparent;
}

.hero {
    background: var(--gradient-primary);
}

.services {
    background: var(--bg-light);
}

.values {
    background: transparent;
}

.qse {
    background: var(--bg-light);
}

.cta-section {
    background: var(--gradient-primary);
}

.footer {
    position: relative;
    z-index: 10;
    background: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gradient-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 3rem;
}

.logo img {
    height: 75px;
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

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

.nav-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    padding: 0.75rem 1rem;
    transition: var(--transition-fast);
    border-radius: 8px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover {
    color: var(--secondary-color);
    background: rgba(74, 144, 226, 0.08);
}

.nav-link.active {
    color: var(--secondary-color);
    background: rgba(74, 144, 226, 0.12);
}

.search-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    cursor: pointer;
    color: var(--primary-color);
    padding: 0.9rem;
    border-radius: 10px;
    transition: var(--transition-fast);
    margin-left: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 48px;
}

.search-btn:hover {
    background: var(--secondary-color);
    color: var(--text-white);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    cursor: pointer;
    padding: 0.9rem;
    border-radius: 10px;
    transition: var(--transition-fast);
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 48px;
}

.mobile-menu-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.mobile-menu-btn:hover span {
    background: var(--text-white);
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.search-modal-content {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 90%;
    max-width: 600px;
}

.search-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--secondary-color);
}

.search-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    padding: 0.5rem;
    transition: var(--transition);
}

.search-close:hover {
    color: var(--text-color);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    color: var(--text-white);
    margin-top: var(--header-height);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 150px 150px;
    animation: float 30s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 85% 15%, rgba(255,255,255,0.1) 0%, transparent 55%);
    animation: pulse-hero 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 280px;
    height: auto;
    margin: 0 auto 2.5rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    box-shadow: var(--shadow-xl);
}

.hero-title {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-slogan {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes pulse-hero {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--text-white);
}

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

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

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

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 8rem 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    font-size: clamp(2rem, 4vw, 2.5rem);
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.service-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    transition: var(--transition);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

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

.service-card:hover::before {
    opacity: 0.03;
}

.service-card:nth-child(even) {
    direction: rtl;
}

.service-card:nth-child(even) .service-content {
    direction: ltr;
}

.service-image {
    overflow: hidden;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.2) 0%, rgba(74, 144, 226, 0.2) 100%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-image::after {
    opacity: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.service-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-subtitle {
    color: var(--secondary-color);
    font-size: 1.15rem;
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
}

.service-text {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.service-list {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    line-height: 1.6;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1rem;
}

/* ============================================
   VALUES SECTION
   ============================================ */
.values {
    padding: 8rem 0;
    background: var(--bg-white);
}

.values-intro {
    text-align: center;
    margin-bottom: 5rem;
}

.values-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    margin: 0 auto 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.values-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

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

.value-card {
    background: var(--bg-light);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-white);
    border-color: var(--border-color);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card h3 {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.4;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   QSE SECTION
   ============================================ */
.qse {
    padding: 8rem 0;
    background: var(--bg-light);
}

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

.qse-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.qse-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.qse-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.qse-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color);
}

.qse-card:hover::before {
    transform: scaleX(1);
}

.qse-card:hover::after {
    opacity: 1;
}

.qse-card h3 {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.qse-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

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

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 8rem 0;
    background: var(--gradient-primary);
    color: var(--text-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: pulse 10s ease-in-out infinite;
}

.cta-section h2 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: var(--text-white);
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

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

.footer-logo {
    height: 70px;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    background: var(--bg-white);
    padding: 10px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.footer-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.footer-brand p {
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links h3,
.footer-legal h3,
.footer-contact h3 {
    color: var(--text-white);
    font-size: 1.15rem;
    margin-bottom: 1.75rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.footer-links ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
    padding-left: 1rem;
}

.footer-links a::before,
.footer-legal a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: var(--transition-fast);
    color: var(--accent-color);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--text-white);
    padding-left: 1.5rem;
}

.footer-links a:hover::before,
.footer-legal a:hover::before {
    opacity: 1;
}

.footer-contact p {
    opacity: 0.85;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-white) !important;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: var(--transition);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.footer-bottom {
    text-align: center;
    padding: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: calc(var(--header-height) + 5rem) 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 150px 150px;
    animation: float 30s ease-in-out infinite;
}

.page-header h1 {
    color: var(--text-white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span {
    color: var(--text-light);
}

.breadcrumbs .separator {
    color: var(--text-light);
    opacity: 0.5;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
    padding: 6rem 0;
    counter-reset: content-block;
}

.content-section .container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.content-block {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--accent-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Sous-sections imbriquées */
.content-block .content-block {
    max-width: 100%;
    margin: 2rem 0 0 0;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    box-shadow: none;
    border-left: 3px solid var(--secondary-color);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.content-block .content-block:first-child {
    margin-top: 1.5rem;
}

.content-block .content-block::before {
    display: none;
}

.content-block .content-block:hover {
    transform: none;
    box-shadow: none;
}

.content-block::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.06) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.content-block:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.content-block:hover::before {
    opacity: 1;
}

.content-block h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: clamp(1.35rem, 3vw, 1.6rem);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

/* Style des h4 dans les sous-sections imbriquées */
.content-block .content-block h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.15rem;
    font-weight: 600;
    display: block;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(74, 144, 226, 0.2);
}

.content-block .content-block h4::before,
.content-block .content-block h4::after {
    display: none;
}

.content-block h3::before {
    counter-increment: content-block;
    content: counter(content-block);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--gradient-accent);
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 10px;
    font-family: 'Montserrat', Arial, sans-serif;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

.content-block h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 52px;
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.content-block ul {
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.content-block li {
    position: relative;
    padding-left: 2.25rem;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
    transition: var(--transition-fast);
}

.content-block li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 10px;
    height: 10px;
    background: var(--gradient-accent);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.content-block li:hover {
    color: var(--text-color);
    padding-left: 2.5rem;
}

.content-block li:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.2);
}

.content-block p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.content-block p + p {
    margin-top: 1rem;
}

/* ============================================
   PARTNERS
   ============================================ */
.partners {
    padding: 6rem 0;
    background: transparent;
}

.partners .container {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 4rem 3rem;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.partners h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.partners h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    align-items: center;
}

.partners-grid a,
.partners-grid img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    max-height: 120px;
    width: auto;
    opacity: 0.7;
    transition: var(--transition);
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 16px;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.08);
    box-shadow: var(--shadow-md);
    background: var(--bg-white);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-section {
    padding: 6rem 0;
    background: transparent;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info {
    padding: 2rem;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.social-links {
    margin-top: 2rem;
}

.social-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--secondary-color);
    color: var(--text-white);
    border-radius: 8px;
    transition: var(--transition);
}

.social-link-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.contact-form {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

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

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: flex-start;
}

.about-service-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.about-service-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.about-service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
}

.about-service-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.about-service-content h3 {
    margin-bottom: 1.5rem;
    margin-top: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    min-height: 2.7rem;
    line-height: 1.35;
}

.about-service-question {
    background: linear-gradient(135deg, var(--bg-light) 0%, #f0f4f8 100%);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
    border-left: 4px solid var(--secondary-color);
}

.question-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.question-answer {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1.4;
}

.about-service-intro {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.about-service-content ul {
    margin: 0 0 1.5rem 0;
    padding-left: 1.25rem;
}

.about-service-content li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.about-service-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.85rem;
}

.about-service-objectif {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.about-bio {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--text-white);
    padding: 4rem;
    border-radius: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.about-bio h2 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.about-bio p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.legal-content h2 {
    margin-bottom: 1.5rem;
}

.legal-content h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.legal-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.legal-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1400px) {
    .nav {
        padding: 0 2.5rem;
    }

    .nav-menu {
        gap: 2rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.7rem 0.9rem;
    }

    .logo img {
        height: 70px;
    }

    .content-block .content-block {
        margin: 1.9rem 0 0 0;
        padding: 1.9rem 1.75rem;
    }

    .content-block .content-block h4 {
        font-size: 1.12rem;
        margin-bottom: 0.9rem;
    }
}

@media (max-width: 1200px) {
    .nav {
        padding: 0 2rem;
    }

    .content-block .content-block {
        margin: 1.85rem 0 0 0;
        padding: 1.85rem 1.6rem;
    }

    .content-block .content-block h4 {
        font-size: 1.11rem;
        margin-bottom: 0.88rem;
    }

    .nav-menu {
        gap: 1.8rem;
    }

    .nav-link {
        font-size: 0.95rem;
        padding: 0.65rem 0.85rem;
    }
}

@media (max-width: 968px) {
    .nav {
        padding: 0 1.5rem;
    }

    .nav-menu {
        gap: 2rem;
    }

    .nav-link {
        font-size: 0.95rem;
        padding: 0.6rem 0.85rem;
    }

    .logo img {
        height: 65px;
    }

    .service-card {
        grid-template-columns: 1fr;
    }

    .service-card:nth-child(even) {
        direction: ltr;
    }

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

    .content-block .content-block {
        margin: 1.75rem 0 0 0;
        padding: 1.75rem 1.5rem;
    }

    .content-block .content-block h4 {
        font-size: 1.1rem;
        margin-bottom: 0.85rem;
    }

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

    .about-bio {
        padding: 2rem;
    }

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

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

    .nav {
        padding: 0 1rem;
    }

    .logo img {
        height: 55px;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu li {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        text-align: center;
    }

    .search-btn {
        margin: 0 auto !important;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

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

    .hero::before {
        animation: none;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    .hero-logo {
        width: 200px;
    }

    .service-content {
        padding: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .content-block {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
        border-radius: 16px;
    }

    .content-block .content-block {
        margin: 1.5rem 0 0 0;
        padding: 1.5rem 1.25rem;
    }

    .content-block .content-block h4 {
        font-size: 1.05rem;
        margin-bottom: 0.75rem;
    }

    .content-block h3 {
        font-size: 1.25rem;
        gap: 0.75rem;
        padding-bottom: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .content-block h3::before {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .content-block h3::after {
        left: 44px;
    }

    .content-block ul {
        gap: 0.75rem;
    }

    .content-block li {
        font-size: 0.95rem;
        padding-left: 1.75rem;
        line-height: 1.6;
    }

    .content-block li::before {
        top: 0.4rem;
        width: 8px;
        height: 8px;
    }

    .partners .container {
        padding: 3rem 1.5rem;
        margin: 0 0.5rem;
        border-radius: 16px;
    }

    .partner-logo {
        max-height: 90px;
        padding: 1rem;
        border-radius: 12px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .footer-links h3,
    .footer-legal h3,
    .footer-contact h3 {
        display: block;
        text-align: center;
    }

    .footer-links,
    .footer-legal {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links ul,
    .footer-legal ul {
        align-items: center;
        width: 100%;
    }

    .footer-links li,
    .footer-legal li {
        text-align: center;
        width: 100%;
    }

    .footer-links a,
    .footer-legal a {
        display: inline-block;
        padding-left: 0 !important;
        text-align: center;
    }

    .footer-links a::before,
    .footer-legal a::before {
        display: none !important;
    }

    .footer-links a:hover,
    .footer-legal a:hover {
        padding-left: 0 !important;
    }

    .values-grid,
    .qse-grid,
    .about-services {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-slogan {
        font-size: 1rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .content-block .content-block {
        margin: 1.25rem 0 0 0;
        padding: 1.25rem 1rem;
    }

    .content-block .content-block h4 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

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

    .value-card,
    .qse-card {
        padding: 2rem;
    }
}

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

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--accent-color);
    color: var(--text-white);
    padding: 1rem;
    z-index: 9999;
    transition: top 0.3s;
    font-weight: 600;
    border-radius: 0 0 8px 0;
}

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

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

