html.dark body {
        background-color: #0f172a !important;
    }
html.dark /* Custom Dark Scrollbars for the public front-end website in dark mode */
    ::-webkit-scrollbar {
        width: 12px !important;
        height: 12px !important;
    }
html.dark ::-webkit-scrollbar-track {
        background: #0f172a !important;
    }
html.dark ::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.15) !important;
        border-radius: 10px !important;
        border: 3px solid #0f172a !important;
        background-clip: content-box !important;
    }
html.dark ::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.3) !important;
        background-clip: content-box !important;
    }
html.dark {
        scrollbar-color: rgba(255, 255, 255, 0.15) #0f172a !important;
        scrollbar-width: thin !important;
    }
html.dark .newsletter-input-hero {
        background-color: rgba(0, 208, 255, 0.7) !important;
        border: 1px solid rgba(0, 208, 255, 0.7) !important;
    }
html.dark #heroNewsletterForm button[type="submit"] {
        background-color: rgba(255, 255, 255, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        color: #ffffff !important;
    }
html.dark #heroNewsletterForm button[type="submit"]:hover {
        background-color: rgba(255, 255, 255, 0.3) !important;
    }
html.dark /* Checkbox hero transparent en mode nuit */
    #heroNewsletterConsent {
        background-color: rgba(255, 255, 255, 0.2) !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
    }
html.dark #heroNewsletterConsent:checked {
        background-color: rgba(255, 255, 255, 0.2) !important;
        border: 2px solid rgba(255, 255, 255, 0.8) !important;
        background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e") !important;
        background-size: 100% 100% !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
html.dark /* Logos clients plus clairs en mode nuit */
    .logo-item {
        filter: grayscale(100%) brightness(1.8);
        opacity: 0.85;
    }
html.dark .logo-item:hover {
        filter: grayscale(0%) brightness(1.2);
        opacity: 1;
    }
html.dark .bg-white.bg-opacity-20 {
        background-color: rgba(255, 255, 255, 0.2) !important;
    }
html.dark .bg-white.bg-opacity-30 {
        background-color: rgba(255, 255, 255, 0.3) !important;
    }
html.dark .hero-overlay {
        background: linear-gradient(135deg, rgba(0, 180, 230, 0.8) 10%, rgba(16, 160, 120, 0.8) 50%, rgba(220, 200, 130, 0.8) 90%) !important;
    }
html.dark header {
        background-color: #1e293b !important;
        box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.6) !important;
    }
html.dark header a, html.dark header h1, html.dark header p {
        color: #94a3b8 !important;
    }
html.dark /* Alternance des fonds de sections en mode nuit */
    #services {
        background-color: #1e293b !important;
    }
html.dark #realisations {
        background-color: #0f172a !important;
    }
html.dark #processus {
        background-color: #1e293b !important;
    }
html.dark #processus .bg-gray-50,
html.dark #processus .bg-white {
    background-color: #2d3a4f !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}
html.dark #processus .bg-white:hover {
    border-color: rgba(255, 255, 255, 0.15) !important;
}
html.dark #processus .lg\:pr-12::after,
html.dark #processus .lg\:pl-12::after {
    background-color: rgba(255, 255, 255, 0.15) !important;
}
html.dark #processus .text-gray-800 {
        color: #f1f5f9 !important;
    }
html.dark #processus .text-gray-600 {
        color: #94a3b8 !important;
    }
html.dark #processus .text-gray-500 {
        color: #94a3b8 !important;
    }
html.dark #processus .bg-gray-100 {
        background-color: #334155 !important;
    }
html.dark #apropos {
        background-color: #0f172a !important;
    }
html.dark #tarifs {
        background-color: #1e293b !important;
    }
html.dark #faq {
        background-color: #0f172a !important;
    }
html.dark #contact {
        background-color: #1e293b !important;
    }
html.dark section.bg-gray-50 {
        background-color: #1e293b !important;
    }
html.dark section.bg-white {
        background-color: #0f172a !important;
    }
html.dark /* FAQ et cartes de prix en mode nuit */
    #faq .bg-white {
        background-color: #2d3a4f !important;
    }
html.dark #faq .bg-gray-50 {
        background-color: #1e293b !important;
    }
html.dark #faq .hover\:bg-gray-50:hover {
        background-color: #334155 !important;
    }
html.dark #faq .hover\:bg-gray-100:hover {
        background-color: #334155 !important;
    }
html.dark .text-gray-900 {
        color: #f8fafc !important;
    }
html.dark .text-gray-800 {
        color: #94a3b8 !important;
    }
html.dark .text-gray-700 {
        color: #94a3b8 !important;
    }
html.dark .text-gray-600 {
        color: #94a3b8 !important;
    }
html.dark .text-gray-500 {
        color: #94a3b8 !important;
    }
html.dark .text-gray-300 {
        color: #94a3b8 !important;
    }
html.dark .bg-gray-100 {
        background-color: #2d3a4f !important;
    }
html.dark .border-gray-300 {
        border-color: #334155 !important;
    }
html.dark .border-gray-700 {
        border-color: #334155 !important;
    }
html.dark .hover\:text-primary:hover {
        color: #00d0ffff !important;
    }
html.dark .price-card {
        background-color: #2d3a4f !important;
        border: 1px solid #2d3a4f !important;
        color: #94a3b8 !important;
    }
html.dark .bg-white.rounded-lg {
        background-color: #2d3a4f !important;
        border: 1px solid #2d3a4f !important;
    }
html.dark .mobile-menu {
        background-color: #1e293b !important;
    }
html.dark .mobile-menu a {
        color: #94a3b8 !important;
        border-bottom-color: #334155 !important;
    }
html.dark .mobile-menu a:hover {
        background-color: #334155 !important;
    }
html.dark .modal-content {
        background-color: #1e293b !important;
        color: #94a3b8 !important;
    }
html.dark .modal-fullscreen-content {
        background-color: #1e293b !important;
    }
html.dark input, html.dark select, html.dark textarea {
        background-color: #334155 !important;
        border-color: #475569 !important;
        color: #94a3b8 !important;
    }
html.dark input::placeholder, html.dark textarea::placeholder {
        color: #94a3b8 !important;
    }
html.dark button.text-left {
        color: #94a3b8 !important;
        background: none !important;
    }
html.dark button.text-left:hover {
        color: #00d0ffff !important;
    }
html.dark .bg-white {
        background-color: #1e293b !important;
    }
html.dark .faq-content {
        background-color: #1a2332 !important;
        color: #f1f5f9 !important;
    }
html.dark .faq-content p {
        color: #f1f5f9 !important;
    }
html.dark .faq-content h4 {
        color: #ffffff !important;
        font-weight: 700 !important;
    }
html.dark .faq-button {
        background-color: #1e293b !important;
        color: #f1f5f9 !important;
        border: none !important;
    }
html.dark .faq-button.active {
        background-color: #334155 !important;
        color: #ffffff !important;
    }
html.dark .faq-content p {
        color: #94a3b8 !important;
    }
html.dark .faq-content h4 {
        color: #f1f5f9 !important;
    }
html.dark .faq-button.active {
        color: #94a3b8 !important;
        background-color: #334155 !important;
    }
html.dark .faq-content .border-t {
        border-top-color: transparent !important;
    }
html.dark .hover\:text-paleYellow:hover {
        color: #FFEB99 !important;
    }
html.dark .checkbox-label span {
        color: white !important;
    }
html.dark footer {
        background-color: #1e293b !important;
    }
html.dark footer h3 {
        color: #94a3b8 !important;
    }
html.dark footer p {
        color: #94a3b8 !important;
    }
html.dark /* Newsletter input styles - Dark mode */
    #footerNewsletterForm input[type="email"] {
        background-color: #1e3a5f !important;
        border-color: #1e3a5f !important;
    }
html.dark #footerNewsletterForm button {
        background-color: #1e3a5f !important;
        border-color: #1e3a5f !important;
    }
html.dark #footerNewsletterForm button:hover {
        background-color: #2d5a8f !important;
    }
html.dark /* Hero newsletter - Dark mode */
    #heroNewsletterForm input[type="email"] {
        background-color: rgba(0, 208, 255, 0.3) !important;
        color: white !important;
    }
html.dark #heroNewsletterForm input[type="email"]::placeholder {
        color: rgba(255, 255, 255, 0.7) !important;
    }
html.dark #heroNewsletterForm button {
        background-color: rgba(100, 116, 139, 0.3) !important;
        border-color: rgba(100, 116, 139, 0.5) !important;
    }
html.dark #heroNewsletterForm button:hover {
        background-color: rgba(100, 116, 139, 0.4) !important;
    }

html.dark .cta-menu {
        background: #1f2937;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.4);
    }
html.dark .cta-menu-item {
        color: #f3f4f6;
    }
html.dark .cta-menu-item:hover {
        background: #374151;
    }
html.dark .cta-menu-item-title {
        color: #f3f4f6;
    }
html.dark .cta-menu-item-subtitle {
        color: #9ca3af;
    }
html.dark .cta-menu-divider {
        background: #4b5563;
    }

html.dark .processus-step-icon {
        animation: none !important;
        box-shadow: none !important;
    }
/* Dark Mode Toggle Pill */
.dark-mode-pill {
    position: fixed;
    bottom: 20px;
    right: 25px;
    width: 60px;
    height: 32px;
    background-color: #e2e8f0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    transition: all 0.3s ease;
}
.dark-mode-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(0, 0, 0, 0.15);
}
html.dark .dark-mode-pill {
    background-color: #334155;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}
.dark-mode-pill svg {
    transition: all 0.3s ease;
    color: #94a3b8;
}
.dark-mode-pill .sun-icon {
    color: #f59e0b;
    opacity: 1;
    transform: scale(1);
}
.dark-mode-pill .moon-icon {
    opacity: 0.5;
    transform: scale(0.8);
}
html.dark .dark-mode-pill .sun-icon {
    opacity: 0.5;
    transform: scale(0.8);
    color: #64748b;
}
html.dark .dark-mode-pill .moon-icon {
    color: #38bdf8;
    opacity: 1;
    transform: scale(1);
}
/* Position under sticky correspondence */
@media (min-width: 768px) {
    .dark-mode-pill {
        bottom: 25px;
        right: 25px;
    }
}
