/* =========================================
   RenovJoigny V2 - Feuille de Style
   Site de Peinture & Parquet - Joigny (89)
   ========================================= */

/* --- Promo Banner / Bandeau Défilant --- */
.promo-banner {
    background: var(--navy);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.promo-banner-track {
    display: inline-block;
    animation: scrollBanner 25s linear infinite;
}

.promo-banner-content {
    display: inline-block;
    padding: 0 50px;
    color: white;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.promo-banner-content .price {
    color: var(--primary);
    font-weight: 700;
}

.promo-banner-content a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

.promo-banner-content a:hover {
    text-decoration: none;
}

@keyframes scrollBanner {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- Variables CSS --- */
:root {
    /* Couleurs */
    --primary: #2d7ff9;
    --primary-dark: #1a6de0;
    --primary-light: rgba(45, 127, 249, 0.12);
    --navy: #0a192f;
    --navy-light: #102a4c;
    --bg-light: #f5f7fa;
    --bg-dark: #0d1420;
    --text-dark: #111418;
    --text-light: #ffffff;
    --text-muted: #5a6d82;
    --border-light: #d8e0ea;
    --border-dark: #1e2d4a;

    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;

    /* Typographie */
    --font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Ombres */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 8px 30px rgba(45, 127, 249, 0.25);

    /* Bordures */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

ul,
ol {
    list-style: none;
}

/* --- Utilitaires --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-2xl) 0;
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-muted);
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header .accent-line {
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: var(--radius-full);
    margin: var(--spacing-sm) auto 0;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

/* --- Navigation --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: var(--spacing-sm) 0;
    transition: all var(--transition-base);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.navbar-brand .icon {
    font-size: 2rem;
    color: var(--primary);
}

.navbar-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Logo theme switch */
.navbar-logo.logo-dark {
    display: none;
}

.navbar-logo.logo-light {
    display: block;
}

[data-theme="dark"] .navbar-logo.logo-dark {
    display: block;
}

[data-theme="dark"] .navbar-logo.logo-light {
    display: none;
}

.navbar-brand h1 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--navy);
}

.navbar-location {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    margin-top: -2px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.navbar-links {
    display: flex;
    gap: var(--spacing-lg);
}

.navbar-links a {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--navy);
    position: relative;
    padding: var(--spacing-xs) 0;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-base);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
    width: 100%;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--primary);
}

/* Menu Dropdown Services */
.navbar-links>li {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.dropdown-toggle .dropdown-arrow {
    font-size: 16px;
    transition: transform var(--transition-fast);
}

.navbar-links>li:hover .dropdown-toggle .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-xs) 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 1001;
    margin-top: 10px;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.navbar-links>li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 5px;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--navy);
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.dropdown-menu a::after {
    display: none;
}

/* Menu Hamburger */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--spacing-xs);
    background: none;
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: all var(--transition-base);
    border-radius: var(--radius-full);
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Boutons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
    font-weight: 700;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

/* Effet reflet brillant qui défile */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: none;
}

.btn:hover::before {
    animation: buttonShine 0.6s ease forwards;
}

@keyframes buttonShine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.btn-primary {
    background: var(--primary);
    color: var(--navy);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(19, 236, 109, 0.35);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: white;
    color: var(--navy);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
}

.btn-full {
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    /* Remplir l'espace sans bandes */
    background-position: center center;
    /* Centrer l'image */
    background-repeat: no-repeat;
    background-color: var(--navy);
    /* Fallback color */
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 34, 24, 0.85) 0%, rgba(10, 25, 47, 0.75) 100%);
}

/* Éléments décoratifs flottants */
.hero::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 10%;
    width: 80px;
    height: 80px;
    background: var(--primary);
    opacity: 0.15;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

.hero-content::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -30px;
    width: 120px;
    height: 120px;
    border: 3px solid var(--primary);
    opacity: 0.2;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--primary-light);
    color: var(--primary);
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.6s ease forwards;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 900;
    color: var(--text-light);
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.hero-slogan {
    font-size: var(--font-size-xl);
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    border-left: 4px solid var(--primary);
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-text {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

/* --- Cartes Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-base);
}

.service-card-icon .material-symbols-outlined {
    font-size: 28px;
    color: var(--primary);
    transition: color var(--transition-base);
}

.service-card:hover .service-card-icon {
    background: var(--primary);
}

.service-card:hover .service-card-icon .material-symbols-outlined {
    color: var(--navy);
}

.service-card-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--spacing-xs);
}

.service-card-text {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--primary);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.service-card-link .material-symbols-outlined {
    font-size: 18px;
    transition: transform var(--transition-fast);
}

.service-card:hover .service-card-link .material-symbols-outlined {
    transform: translateX(4px);
}

/* --- Galerie --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    /* aspect-ratio: 1;  Removed to prevent truncation */
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: auto;
    /* Allow full height */
    display: block;
    object-fit: contain;
    /* Ensure full image is visible */
    transition: transform var(--transition-slow);
}

.gallery-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md);
    z-index: 1;
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-base);
}

.gallery-item:hover .gallery-item-content {
    transform: translateY(0);
    opacity: 1;
}

.gallery-item-category {
    font-size: var(--font-size-sm);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.gallery-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--primary);
    /* Restored Green Color */
}

/* --- Section Confiance --- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.trust-item {
    text-align: center;
    padding: var(--spacing-lg);
}

.trust-icon {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.trust-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--spacing-xs);
}

.trust-text {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* --- Témoignages --- */
.testimonials {
    background: var(--navy);
    color: white;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
}

.testimonial-text {
    font-size: var(--font-size-lg);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-left: 2rem;
    padding-top: 1rem;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary);
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.testimonial-author-info h4 {
    font-weight: 700;
    color: var(--primary);
}

.testimonial-author-info span {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
}

/* --- Avis Clients Section --- */
.client-reviews {
    background: var(--bg-light);
}

.reviews-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.reviews-carousel {
    overflow: hidden;
    flex: 1;
}

.reviews-track {
    display: flex;
    gap: var(--spacing-lg);
    transition: transform 0.5s ease;
}

.review-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    flex: 0 0 calc(33.333% - var(--spacing-lg) * 2 / 3);
    min-width: calc(33.333% - var(--spacing-lg) * 2 / 3);
    transition: all var(--transition-base);
}

@media (max-width: 992px) {
    .review-card {
        flex: 0 0 calc(50% - var(--spacing-lg) / 2);
        min-width: calc(50% - var(--spacing-lg) / 2);
    }
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 100%;
        min-width: 100%;
        padding: var(--spacing-md);
    }

    .carousel-btn {
        display: none;
    }

    .reviews-carousel-wrapper {
        padding: 0;
        flex-direction: column;
    }

    .reviews-carousel {
        width: 100%;
    }

    .reviews-track {
        gap: var(--spacing-md);
    }

    .review-text {
        font-size: var(--font-size-base);
    }
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border-light);
    color: var(--navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    flex-shrink: 0;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn .material-symbols-outlined {
    font-size: 28px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--spacing-md);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-light);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: var(--spacing-sm);
}

.review-stars .material-symbols-outlined {
    color: #ffc107;
    font-size: 20px;
    font-variation-settings: 'FILL' 1;
}

.review-text {
    font-size: var(--font-size-base);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-light);
}

.review-author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-author-avatar .material-symbols-outlined {
    color: white;
    font-size: 24px;
}

.review-author-info h4 {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.review-author-info span {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* --- CTA Section --- */
.cta {
    background: white;
    text-align: center;
    color: var(--text-dark);
    border-top: 1px solid var(--border-light);
}

.cta-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: var(--spacing-sm);
}

.cta-text {
    font-size: var(--font-size-lg);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
    background: var(--navy);
    color: white;
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-brand .icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.footer-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.footer-brand h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-sm);
    line-height: 1.8;
}

.footer-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: var(--font-size-sm);
}

/* --- FAQ / Accordéon --- */
.faq-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md);
    background: white;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--navy);
    text-align: left;
}

.faq-question .icon {
    transition: transform var(--transition-base);
    color: var(--primary);
}

.faq-item.active .faq-question .icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
    background: var(--bg-light);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding: var(--spacing-md);
    color: var(--text-muted);
    line-height: 1.8;
}

/* --- Processus / Timeline --- */
.process-timeline {
    position: relative;
    padding-left: 80px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(var(--primary), var(--primary-light));
}

.process-step {
    position: relative;
    padding-bottom: var(--spacing-xl);
}

.process-step:last-child {
    padding-bottom: 0;
}

.process-step-number {
    position: absolute;
    left: -80px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--navy);
    box-shadow: var(--shadow-primary);
}

.process-step-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--spacing-xs);
}

.process-step-text {
    color: var(--text-muted);
    line-height: 1.8;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Animation élément flottant sur les icônes de confiance */
.trust-icon {
    animation: gentleBounce 3s ease-in-out infinite;
}

@keyframes gentleBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Pulse animation sur les numéros de processus */
.process-step-number {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: var(--shadow-primary);
    }

    50% {
        box-shadow: 0 12px 40px rgba(19, 236, 109, 0.4);
    }
}

/* Classe pour animations au scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-md);
    }

    .navbar-links.active {
        display: flex;
    }

    .navbar-toggle {
        display: flex;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .hero-slogan {
        font-size: var(--font-size-lg);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section {
        padding: var(--spacing-xl) 0;
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .process-timeline {
        padding-left: 60px;
    }

    .process-timeline::before {
        left: 19px;
    }

    .process-step-number {
        left: -60px;
        width: 40px;
        height: 40px;
        font-size: var(--font-size-base);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero-title {
        font-size: var(--font-size-2xl);
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* --- Partners Slider --- */
.partners-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.partners-slider::before,
.partners-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.partners-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light), transparent);
}

.partners-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light), transparent);
}

.partners-track {
    display: flex;
    gap: 3rem;
    animation: scroll-partners 30s linear infinite;
    width: max-content;
}

.partner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition-base);
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-logo img {
    height: 75px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

/* Mobile - Logos partenaires 100% plus grands */
@media (max-width: 768px) {
    .partner-logo {
        height: 120px;
    }

    .partner-logo img {
        height: 100px;
        max-width: 180px;
    }
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .partners-track {
        gap: 2rem;
    }

    .partner-logo img {
        height: 35px;
        max-width: 80px;
    }
}

/* --- Page Loader --- */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

#page-loader img {
    max-width: 200px;
    max-height: 200px;
}

/* --- Contact Form --- */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-base);
    background: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(19, 236, 109, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .form-row {
        grid-template-columns: 1fr !important;
    }

    /* Dropdown mobile */
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-base);
        border-radius: 0;
        opacity: 1;
        visibility: visible;
    }

    .dropdown-menu::before {
        display: none;
    }

    .navbar-links>li.dropdown.active .dropdown-menu {
        max-height: 300px;
        padding: var(--spacing-xs) 0;
    }

    .dropdown-toggle .dropdown-arrow {
        margin-left: auto;
    }
}

/* --- Page Partenaires --- */
.partners-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: var(--spacing-2xl) 0;
    text-align: center;
    color: white;
}

.partners-hero h1 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.partners-hero p {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

.partners-intro {
    background: white;
    padding: var(--spacing-2xl) 0;
}

.partners-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.benefit-card {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.benefit-card .material-symbols-outlined {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.benefit-card h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--spacing-xs);
}

.benefit-card p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* Formulaire Partenaires */
.partners-form-section {
    background: var(--bg-light);
    padding: var(--spacing-2xl) 0;
}

.partner-form {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.partner-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

@media (max-width: 600px) {
    .partner-form .form-row {
        grid-template-columns: 1fr;
    }
}

.partner-form .form-group {
    margin-bottom: var(--spacing-md);
}

.partner-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
}

.partner-form label .required {
    color: #e53e3e;
}

.partner-form input,
.partner-form select,
.partner-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-base);
    background: white;
}

.partner-form input:focus,
.partner-form select:focus,
.partner-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(19, 236, 109, 0.15);
}

/* Checkbox Grid pour les métiers */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xs);
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.checkbox-item:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.checkbox-item label {
    margin: 0;
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.form-note {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
}

.form-note .material-symbols-outlined {
    font-size: 16px;
    vertical-align: middle;
    margin-right: 4px;
    color: var(--primary);
}

/* Conditions et Engagements */
.conditions-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-top: var(--spacing-sm);
}

.conditions-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-lg) 0;
}

.conditions-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) 0;
    margin-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--border-light);
    line-height: 1.6;
}

.conditions-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.conditions-list li .material-symbols-outlined {
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.conditions-list li span {
    color: var(--text-muted);
}

.conditions-list li strong {
    color: var(--navy);
}

.conditions-info {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-left: 4px solid var(--primary);
}

.conditions-info:last-of-type {
    margin-bottom: var(--spacing-lg);
}

.conditions-info p {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    line-height: 1.7;
    margin: 0;
}

.rating-criteria {
    display: inline-block;
    background: var(--primary-light);
    color: var(--navy);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    border: 1px solid var(--primary);
}

.accept-conditions {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: white;
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-sm);
}

.accept-conditions input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.accept-conditions label {
    margin: 0;
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--navy);
    line-height: 1.6;
}

.accept-conditions label .required {
    color: #e53e3e;
}

/* --- Gallery Carousel --- */
.gallery-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.gallery-carousel {
    overflow: hidden;
    flex: 1;
}

.gallery-track {
    display: flex;
    gap: var(--spacing-md);
    transition: transform 0.5s ease;
}

.gallery-track .gallery-item {
    flex: 0 0 calc(25% - var(--spacing-md) * 3 / 4);
    min-width: calc(25% - var(--spacing-md) * 3 / 4);
}

@media (max-width: 1200px) {
    .gallery-track .gallery-item {
        flex: 0 0 calc(33.333% - var(--spacing-md) * 2 / 3);
        min-width: calc(33.333% - var(--spacing-md) * 2 / 3);
    }
}

@media (max-width: 992px) {
    .gallery-track .gallery-item {
        flex: 0 0 calc(50% - var(--spacing-md) / 2);
        min-width: calc(50% - var(--spacing-md) / 2);
    }
}

@media (max-width: 640px) {
    .gallery-track .gallery-item {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .gallery-carousel-wrapper .carousel-btn {
        display: none;
    }
}

.gallery-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--spacing-md);
}

/* --- Services Carousel --- */
.services-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.services-carousel {
    overflow: hidden;
    flex: 1;
}

.services-track {
    display: flex;
    gap: var(--spacing-lg);
    transition: transform 0.5s ease;
}

.services-track .service-card {
    flex: 0 0 calc(33.333% - var(--spacing-lg) * 2 / 3);
    min-width: calc(33.333% - var(--spacing-lg) * 2 / 3);
}

@media (max-width: 992px) {
    .services-track .service-card {
        flex: 0 0 calc(50% - var(--spacing-lg) / 2);
        min-width: calc(50% - var(--spacing-lg) / 2);
    }
}

@media (max-width: 640px) {
    .services-track .service-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .services-carousel-wrapper .carousel-btn {
        display: none;
    }
}

.services-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--spacing-md);
}

/* --- Benefit Cards in Carousel --- */
.services-track .benefit-card,
.services-track .testimonial-card,
.services-track .trust-item {
    flex: 0 0 calc(33.333% - var(--spacing-lg) * 2 / 3);
    min-width: calc(33.333% - var(--spacing-lg) * 2 / 3);
}

@media (max-width: 992px) {

    .services-track .benefit-card,
    .services-track .testimonial-card,
    .services-track .trust-item {
        flex: 0 0 calc(50% - var(--spacing-lg) / 2);
        min-width: calc(50% - var(--spacing-lg) / 2);
    }
}

@media (max-width: 640px) {

    .services-track .benefit-card,
    .services-track .testimonial-card,
    .services-track .trust-item {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

/* --- Responsive for Conditions Box (Partenaires) --- */
@media (max-width: 768px) {
    .conditions-box {
        padding: var(--spacing-md);
    }

    .conditions-list li {
        flex-direction: column;
        gap: var(--spacing-xs);
        padding: var(--spacing-sm) 0;
    }

    .conditions-list li .material-symbols-outlined {
        align-self: flex-start;
    }

    .conditions-list li span {
        font-size: var(--font-size-sm);
        line-height: 1.7;
    }

    .conditions-info {
        padding: var(--spacing-sm);
    }

    .conditions-info h4 {
        font-size: var(--font-size-sm);
        flex-wrap: wrap;
    }

    .conditions-info p {
        font-size: 0.8rem;
    }

    .rating-criteria {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .accept-conditions {
        flex-direction: column;
        text-align: left;
    }

    .accept-conditions label {
        font-size: var(--font-size-sm);
        line-height: 1.6;
    }

    .partner-form h3 {
        font-size: 1rem !important;
        flex-wrap: wrap;
    }

    .form-note {
        flex-direction: column;
        text-align: left;
        gap: var(--spacing-xs);
    }
}

/* =========================================
   DARK THEME
   ========================================= */

/* --- Theme Toggle Button --- */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    color: var(--navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
    transform: rotate(30deg);
}

.theme-toggle .material-symbols-outlined {
    font-size: 20px;
    transition: transform var(--transition-base);
}

/* Hide/show sun/moon icons */
.theme-toggle .icon-moon {
    display: inline;
}

.theme-toggle .icon-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
    display: inline;
}

/* --- Promo Banner: locked colors (unaffected by theme) --- */
[data-theme="dark"] .promo-banner {
    background: #0a192f;
}

[data-theme="dark"] .promo-banner-content {
    color: white;
}

[data-theme="dark"] .promo-banner-content .price {
    color: #13ec6d;
}

[data-theme="dark"] .promo-banner-content a {
    color: #13ec6d;
}

/* --- Dark Theme Variables --- */
[data-theme="dark"] {
    --bg-light: #0d1420;
    --bg-dark: #080d18;
    --text-dark: #e0e8f0;
    --text-muted: #8a9ab0;
    --border-light: #1e2d4a;
    --navy: #e0e8f0;
    --navy-light: #1a2840;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Override ALL white backgrounds in dark mode (including inline styles) */
[data-theme="dark"] .section[style*="background: white"],
[data-theme="dark"] .section[style*="background:white"],
[data-theme="dark"] .section[style*="background: white;"] {
    background: #0d1420 !important;
}

[data-theme="dark"] [style*="background: white"] {
    background: #0d1420 !important;
}

/* Body */
[data-theme="dark"] body {
    background-color: #080d18;
    color: #e0e8f0;
}

/* Navbar */
[data-theme="dark"] .navbar {
    background: rgba(8, 13, 24, 0.92);
    border-bottom-color: #1e2d4a;
}

[data-theme="dark"] .navbar-toggle span {
    background: #e0e8f0;
}

[data-theme="dark"] .dropdown-menu {
    background: #0d1420;
    border: 1px solid #1e2d4a;
}

[data-theme="dark"] .dropdown-menu::before {
    border-bottom-color: #0d1420;
}

[data-theme="dark"] .dropdown-menu a {
    color: #e0e8f0;
}

[data-theme="dark"] .dropdown-menu a:hover {
    background: rgba(45, 127, 249, 0.1);
}

/* Mobile menu */
@media (max-width: 768px) {
    [data-theme="dark"] .navbar-links {
        background: #0d1420;
        border-bottom-color: #1e2d4a;
    }

    [data-theme="dark"] .dropdown-menu {
        background: #080d18;
    }
}

/* Cards */
[data-theme="dark"] .service-card {
    background: #0d1420;
    border-color: #1e2d4a;
}

[data-theme="dark"] .service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .review-card {
    background: #0d1420;
    border-color: #1e2d4a;
}

[data-theme="dark"] .review-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .benefit-card {
    background: #0d1420;
    border-color: #1e2d4a;
}

[data-theme="dark"] .trust-item {
    background: #0d1420 !important;
}

/* Carousel buttons */
[data-theme="dark"] .carousel-btn {
    background: #0d1420;
    border-color: #1e2d4a;
    color: #e0e8f0;
}

[data-theme="dark"] .carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #080d18;
}

[data-theme="dark"] .carousel-dot {
    background: #1e2d4a;
}

/* Sections with white/light backgrounds */
[data-theme="dark"] .client-reviews {
    background: #080d18;
}

[data-theme="dark"] .testimonials {
    background: #060a14;
}

[data-theme="dark"] .testimonial-card {
    background: rgba(45, 127, 249, 0.05);
    border-color: rgba(45, 127, 249, 0.1);
}

/* Footer */
[data-theme="dark"] .footer {
    background: #060a14;
}

/* CTA */
[data-theme="dark"] .cta {
    background: #0d1420;
    border-top-color: #1e2d4a;
}

/* Page loader */
[data-theme="dark"] #page-loader {
    background: #080d18;
}

/* Partners slider gradients */
[data-theme="dark"] .partners-slider::before {
    background: linear-gradient(to right, #0d1420, transparent);
}

[data-theme="dark"] .partners-slider::after {
    background: linear-gradient(to left, #0d1420, transparent);
}

/* Forms */
[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form select,
[data-theme="dark"] .contact-form textarea,
[data-theme="dark"] .partner-form input,
[data-theme="dark"] .partner-form select,
[data-theme="dark"] .partner-form textarea {
    background: #0d1420;
    border-color: #1e2d4a;
    color: #e0e8f0;
}

[data-theme="dark"] .partner-form {
    background: #0d1420;
}

[data-theme="dark"] .conditions-box {
    background: linear-gradient(135deg, #0d1420 0%, #080d18 100%);
    border-color: #1e2d4a;
}

[data-theme="dark"] .conditions-info {
    background: #0d1420;
}

[data-theme="dark"] .checkbox-item {
    background: #0d1420;
    border-color: #1e2d4a;
}

[data-theme="dark"] .accept-conditions {
    background: #0d1420;
}

/* FAQ */
[data-theme="dark"] .faq-question {
    background: #0d1420;
}

[data-theme="dark"] .faq-answer {
    background: #080d18;
}

[data-theme="dark"] .faq-item {
    border-color: #1e2d4a;
}

/* Section titles that use --navy (now light in dark) */
[data-theme="dark"] .section-title {
    color: #e0e8f0;
}

/* Button secondary */
[data-theme="dark"] .btn-secondary {
    background: #0d1420;
    color: #e0e8f0;
    border-color: #1e2d4a;
}

/* Partners page intro */
[data-theme="dark"] .partners-intro {
    background: #0d1420;
}

/* Form note */
[data-theme="dark"] .form-note {
    background: #0d1420;
}

/* Theme toggle in dark mode */
[data-theme="dark"] .theme-toggle {
    background: #1e2d4a;
    border-color: #2a4a6a;
    color: #2d7ff9;
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(45, 127, 249, 0.15);
    border-color: var(--primary);
}

/* Forfait card (Accompagnement page) */
[data-theme="dark"] .forfait-card {
    background: linear-gradient(135deg, #0d1420, #162240) !important;
    border: 1px solid #1e2d4a;
}

[data-theme="dark"] .forfait-card h3,
[data-theme="dark"] .forfait-card h4,
[data-theme="dark"] .forfait-card p,
[data-theme="dark"] .forfait-card li,
[data-theme="dark"] .forfait-card div {
    color: #e0e8f0;
}

[data-theme="dark"] .forfait-card [style*="background: rgba(255,255,255,0.1)"] {
    background: rgba(45, 127, 249, 0.08) !important;
    border: 1px solid rgba(45, 127, 249, 0.15);
    border-radius: var(--radius-lg);
}

/* WhatsApp section white card dark override */
[data-theme="dark"] .whatsapp-info {
    background: #0d1420 !important;
    border: 1px solid #1e2d4a;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
}