  /* =================================================
           FEUILLE DE STYLE PRINCIPALE (ENRICHIE & ADAPTÉE)
           Version : 2.0
           ================================================= */

        /* --- DÉCLARATION DES COUCHES DE CASCADE --- */
        @layer reset, base, components, utilities;


        @layer reset {
          /* --- RESET MODERNE --- */
          :where(*, *::before, *::after) {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
          }
          :where(html) {
            color-scheme: light dark;
          }
          :where(body) {
            min-height: 100vh;
          }
          :where(img, picture, svg, video) {
            display: block;
            max-width: 100%;
          }
          :where(input, button, textarea, select) {
            font: inherit;
            border: none;
            background: none;
          }
          :where(button) {
            cursor: pointer;
          }
          :where(ul, ol) {
            list-style: none;
          }
        }


        @layer base {
          /* --- VARIABLES & THÈMES --- */
          :root {
            --hue: 250;
            /* Fallbacks pour les couleurs principales */
            --primary-color: #3b82f6;
            --primary-color: oklch(60% 0.15 var(--hue));
            --shadow-color: rgba(0,0,0,0.1);
            --shadow-color: oklch(0% 0 0 / 0.1);

            /* Mode Clair */
            --bg-color: #f8f9fa;
            --bg-color: oklch(98% 0.01 240);
            --bg-light: #fff;
            --bg-light: oklch(100% 0 0);
            --text-color: #222;
            --text-color: oklch(25% 0 0);
            --heading-color: #111;
            --heading-color: oklch(10% 0 0);
            --border-color: #eee;
            --border-color: oklch(94% 0 0);

            /* Constantes */
            --header-height: 70px;
            --font-main: 'Poppins', sans-serif;
            --container-width: 1140px;
            --border-radius: 12px;
            --transition-speed: 0.3s ease;
            --shadow: 0 6px 15px var(--shadow-color);
          }

          /* Mode Sombre - Spécificité renforcée */
          body.dark-mode,
          html.dark-mode body {
            --primary-color: oklch(75% 0.15 var(--hue));
            --shadow-color: oklch(0% 0 0 / 0.4);
            /* Mode Sombre - Couleurs ajustées pour meilleure visibilité */
            --bg-color: oklch(18% 0.02 240);
            --bg-light: oklch(22% 0.02 240);
            --text-color: oklch(92% 0.01 240);
            --heading-color: oklch(98% 0.01 240);
            --border-color: oklch(40% 0.02 240);
          }

          /* --- BASE & TYPOGRAPHIE FLUIDE --- */
          html {
            scroll-behavior: smooth;
            accent-color: var(--primary-color);
          }
          body {
            font-family: var(--font-main);
            color: var(--text-color);
            background-color: var(--bg-color);
            line-height: 1.6;
            transition: background-color var(--transition-speed), color var(--transition-speed);
          }
          h1, h2, h3, h4 {
            color: var(--heading-color);
            font-weight: 500;
            line-height: 1.2;
            text-wrap: balance;
          }
          h1 { font-size: clamp(2.5rem, 1.8rem + 3.5vw, 4rem); }
          h2 { font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem); }
          h3 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem); }
          h4 { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.25rem); }

          a {
            text-decoration: none;
            color: var(--primary-color);
            transition: color var(--transition-speed), filter var(--transition-speed);
            outline-offset: 4px;
            border-radius: 4px;
          }
          a:where(:hover, :focus-visible) {
            filter: brightness(1.2);
          }
          :where(a, button):focus-visible {
            outline: 2px solid var(--primary-color);
          }
        }


        @layer components {
          /* --- STRUCTURE & COMPOSANTS GÉNÉRIQUES --- */
          .container {
            max-width: var(--container-width);
            width: 100%;
            margin-inline: auto;
            padding-inline: 1rem;
          }
          .section-padding {
            padding-block: clamp(4rem, 2rem + 10vh, 8rem);
          }
          .grid {
            display: grid;
            gap: 2rem;
          }
          .section-title {
            text-align: center;
            margin-bottom: clamp(2rem, 1rem + 5vw, 4rem);
            & .title {
              display: block;
              color: var(--primary-color);
              font-weight: 500;
              text-transform: uppercase;
              font-size: 1rem;
              letter-spacing: 1px;
            }
            & h2 {
              margin-top: 0.5rem;
            }
          }
          .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 12px 28px;
            background-color: var(--primary-color);
            color: #fff;
            border-radius: 50px;
            font-weight: 500;
            border: 2px solid transparent;
            transition: all var(--transition-speed);
            font-size: 1rem;
            box-shadow: var(--shadow);
          }

          /* --- COMPOSANTS SPÉCIFIQUES DU HTML --- */
          .header {
            position: fixed;
            width: 100%;
            inset: 0 0 auto 0;
            z-index: 1000;
            background-color: var(--bg-color);
            box-shadow: 0 2px 10px var(--shadow-color);
            height: var(--header-height);
            transition: background-color var(--transition-speed);
            & .container {
              display: flex;
              justify-content: space-between;
              align-items: center;
              height: 100%;
            }
          }

          .nav {
            & ul { display: flex; gap: 2rem; }
            & a {
              color: var(--text-color);
              font-weight: 500;
              position: relative;
              padding-block-end: 5px;
              &::after {
                content: '';
                position: absolute;
                inset: auto 0 0 0;
                width: 0;
                height: 2px;
                background-color: var(--primary-color);
                transition: width var(--transition-speed);
              }
              &:hover::after, &.active::after { width: 100%; }
            }
          }

          .home-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            gap: 3rem;
          }
          .home-img .circle-wrap {
            position: absolute;
            width: 100%;
            height: 100%;
            max-width: 400px;
            max-height: 400px;
            border-radius: 50%;
            background-color: var(--primary-color);
            opacity: 0.15;
            z-index: -1;
            animation: pulse 4s infinite ease-in-out;
          }

          .about-container { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
          .about-img {
            position: relative;
            & .img-box {
                position: relative;
            }
            & .box {
              position: absolute;
              inset: auto auto -1rem -1rem;
              background-color: var(--primary-color);
              color: oklch(98% 0 0);
              padding: 1rem 1.5rem;
              border-radius: var(--border-radius);
              text-align: center;
              box-shadow: 0 4px 15px var(--shadow-color);
              & span { font-size: 1.5rem; font-weight: 700; display: block; }
            }
          }
          .highlight-quote {
            margin-block-start: 1.5rem;
            padding: 1rem 1.5rem;
            border-inline-start: 4px solid var(--primary-color);
            background-color: var(--bg-light);
            font-style: italic;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
          }


          /* --- Section Tarifs --- */
          .pricing-grid {
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            align-items: stretch; /* Les cartes auront la même hauteur */
          }
          .pricing-card {
            background: var(--bg-light);
            border: 1px solid var(--border-color);
            border-radius: var(--border-radius);
            padding: 2rem 1.5rem;
            text-align: center;
            display: flex;
            flex-direction: column;
            transition: transform var(--transition-speed), box-shadow var(--transition-speed);
            position: relative;
            overflow: hidden;
            & .desc { color: var(--text-color); opacity: 0.8; }
            & ul { margin: 1.5rem 0; display: grid; gap: 0.5rem; }
            & .price {
              margin-top: auto;
              font-size: 1.5rem;
              font-weight: 600;
              color: var(--primary-color);
            }
            &.featured {
              border-color: var(--primary-color);
              border-width: 2px;
              transform: scale(1.05);
            }
            & .featured-badge {
              position: absolute;
              inset: 1rem 1rem auto auto;
              background-color: var(--primary-color);
              color: oklch(98% 0 0);
              font-size: 0.8rem;
              font-weight: 500;
              padding: 0.25rem 0.75rem;
              border-radius: 50px;
            }
          }
          .pricing-details {
            margin-top: 3rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
          }
          .pricing-info {
            background: var(--bg-light);
            border-radius: var(--border-radius);
            padding: 1.5rem;
            & h4 { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
            & ul { display: grid; gap: 0.5rem; list-style-position: inside; }
          }

          /* --- Contact --- */
          .contact-grid { grid-template-columns: 1fr 1.5fr; gap: 3rem; }
          .contact-info-item { 
            display: flex; 
            align-items: flex-start; 
            gap: 1rem; 
            margin-bottom: 2rem; 
          }
          .contact-info-item i {
            font-size: 1.5rem;
            color: var(--primary-color);
            background: var(--bg-light);
            padding: 12px;
            border-radius: 50%;
            min-width: 48px;
            min-height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
          }
          .contact-info-item a {
            color: var(--text-color);
            text-decoration: none;
            transition: color 0.3s ease;
          }
          .contact-info-item a:hover {
            color: var(--primary-color);
            text-decoration: none;
          }
          .input-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid var(--border-color);
            border-radius: var(--border-radius);
            background-color: var(--bg-light);
            color: var(--text-color);
            transition: border-color var(--transition-speed);
            &:focus {
              outline: none;
              border-color: var(--primary-color);
            }
          }
          .contact-form .input-box { margin-bottom: 1rem; }
          .contact-footer { text-align: center; margin-top: 3rem; }

          /* --- Modals --- */
          :has(.modal-overlay.active) { overflow: hidden; }
          .modal {
            & .modal-content {
              background: var(--bg-light);
              color: var(--text-color);
            }
            & .close-modal {
              color: var(--text-color);
              &:hover { color: var(--primary-color); }
            }
          }
        }


        @layer utilities {
          /* --- ANIMATIONS & RESPONSIVE --- */
          @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
          @keyframes fadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
          @keyframes pulse { from { transform: scale(1); opacity: 0.5; } to { transform: scale(1.1); opacity: 0.1; } }

          .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
            will-change: opacity, transform;
          }
          .animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

          @media (prefers-reduced-motion: reduce) {
            :where(html) { scroll-behavior: auto; }
            :where(*, *::before, *::after) {
              animation-duration: 0.01ms !important;
              transition-duration: 0.01ms !important;
            }
          }

          @media (max-width: 1024px) {
            .pricing-card.featured { transform: scale(1); }
          }

          @media (max-width: 768px) {
            .home-container, .about-container, .contact-grid, .pricing-details { grid-template-columns: 1fr; }
            .home { text-align: center; }
            .home-text { order: 2; }
            .home-img { order: 1; margin-block-end: 2rem; }

            .nav-toggler { display: block; }
            .nav {
              position: fixed;
              inset: 0;
              background-color: oklch(from var(--bg-light) l a / 85%);
              backdrop-filter: blur(5px);
              display: grid;
              place-items: center;
              clip-path: circle(0% at calc(100% - 45px) 35px);
              transition: clip-path 0.5s cubic-bezier(0.77, 0, 0.175, 1);
              &.is-active { clip-path: circle(150% at calc(100% - 45px) 35px); }
              & ul { flex-direction: column; text-align: center; gap: 2.5rem; }
              & a { font-size: 2rem; }
            }
            .nav-toggler {
                z-index: 1001;
                & .line { position: absolute; left: 0; width: 100%; height: 2px; background-color: var(--heading-color); transition: transform 0.3s, opacity 0.3s; }
                & .line1 { top: 0; }
                & .line2 { top: 50%; transform: translateY(-50%); }
                & .line3 { bottom: 0; }
                &.is-active .line1 { transform: translateY(10px) rotate(45deg); }
                &.is-active .line2 { opacity: 0; }
                &.is-active .line3 { transform: translateY(-10px) rotate(-45deg); }
            }
          }
        }


        /* === 7. STYLE SWITCHER === */
        .style-switcher {
          position: fixed;
          top: 100px;
          right: 0;
          width: 250px;
          background-color: var(--bg-light);
          box-shadow: var(--shadow);
          padding: 20px;
          border-radius: 8px 0 0 8px;
          transform: translateX(100%);
          transition: transform var(--transition-speed);
          z-index: 9999;
        }

        .style-switcher.is-open {
          transform: translateX(0);
        }

        .style-switcher-toggler {
          position: absolute;
          top: 0;
          left: -45px;
          width: 45px;
          height: 45px;
          background-color: var(--primary-color);
          color: #fff;
          border: none;
          border-radius: 8px 0 0 8px;
          display: flex;
          align-items: center;
          justify-content: center;
          cursor: pointer;
          font-size: 1.2rem;
          box-shadow: var(--shadow);
          transition: background-color 0.3s;
        }

        .style-switcher-toggler:hover {
          background-color: hsl(var(--hue), 90%, 45%);
        }

        .style-switcher-main h2 {
          font-size: 1.2rem;
          margin-bottom: 1rem;
          color: var(--heading-color);
        }

        .style-switcher-item {
          margin-bottom: 1.5rem;
        }

        .style-switcher-item p {
          margin-bottom: 0.5rem;
          font-weight: 500;
        }

        .hue-slider {
          width: 100%;
          appearance: none;
          height: 8px;
          border-radius: 5px;
          background: linear-gradient(to right, red 0%, yellow 17%, lime 33%, cyan 50%, blue 67%, magenta 83%, red 100%);
          outline: none;
          cursor: pointer;
        }

        .hue-slider::-webkit-slider-thumb {
          appearance: none;
          width: 16px;
          height: 16px;
          border-radius: 50%;
          background: var(--primary-color);
          border: 2px solid #fff;
          box-shadow: 0 0 2px rgba(0,0,0,0.3);
        }

        .hue-slider::-moz-range-thumb {
          width: 16px;
          height: 16px;
          border-radius: 50%;
          background: var(--primary-color);
          border: 2px solid #fff;
          box-shadow: 0 0 2px rgba(0,0,0,0.3);
        }

        /* Form switch dark mode */
        .form-switch {
          display: flex;
          align-items: center;
          justify-content: space-between;
          gap: 1rem;
        }

        .form-switch span {
          font-weight: 500;
          color: var(--text-color);
        }

        .form-switch input[type="checkbox"] {
          position: absolute;
          opacity: 0;
        }

        .form-switch .box {
          width: 50px;
          height: 25px;
          background-color: #ccc;
          border-radius: 50px;
          position: relative;
          transition: background-color 0.3s;
        }

        .form-switch .box::before {
          content: '';
          position: absolute;
          top: 3px;
          left: 3px;
          width: 19px;
          height: 19px;
          border-radius: 50%;
          background-color: #fff;
          transition: transform 0.3s;
        }

        .form-switch input[type="checkbox"]:checked + .box {
          background-color: var(--primary-color);
        }

        .form-switch input[type="checkbox"]:checked + .box::before {
          transform: translateX(25px);
        }
        @media (max-width: 480px) {
          .style-switcher {
            width: 90%;
            right: -90%;
          }

          .style-switcher.is-open {
            transform: translateX(-10%);
          }
        }

        /* === HEADER === */
        .header {
          position: fixed;
          width: 100%;
          top: 0;
          z-index: 1000;
          background-color: var(--bg-color);
          box-shadow: var(--shadow);
          padding: 1rem 0;
        }

        .header__container {
          display: flex;
          align-items: center;
          justify-content: space-between;
        }

        .logo__link {
          display: flex;
          align-items: center;
          gap: 0.75rem;
          text-decoration: none;
        }

        .logo__img {
          height: 60px;
          border-radius: 100%;
          width: auto;
        }

        .logo__text {
          font-size: 1.25rem;
          font-weight: 700;
          color: var(--heading-color);
        }

        .logo__text small {
          display: block;
          font-size: 0.7rem;
          color: var(--primary-color);
          letter-spacing: 1px;
        }

        .nav__list {
          display: flex;
          gap: 2rem;
          list-style: none;
        }

        .nav__link {
          position: relative;
          font-weight: 500;
          color: var(--text-color);
          text-decoration: none;
          transition: color 0.3s;
        }

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

        .nav__link::after {
          content: "";
          position: absolute;
          width: 0%;
          height: 2px;
          left: 0;
          bottom: -4px;
          background-color: var(--primary-color);
          transition: width 0.3s;
        }

        .nav__link:hover::after {
          width: 100%;
        }

        /* === BURGER BUTTON === */
        .nav-toggler {
          display: none;
          flex-direction: column;
          justify-content: space-between;
          width: 30px;
          height: 22px;
          background: none;
          border: none;
          cursor: pointer;
          z-index: 1100;
        }

        .nav-toggler__line {
          height: 3px;
          background-color: var(--heading-color);
          width: 100%;
          transition: all 0.3s ease-in-out;
        }

        .nav-toggler.is-active .nav-toggler__line:nth-child(1) {
          transform: translateY(9px) rotate(45deg);
        }
        .nav-toggler.is-active .nav-toggler__line:nth-child(2) {
          opacity: 0;
        }
        .nav-toggler.is-active .nav-toggler__line:nth-child(3) {
          transform: translateY(-9px) rotate(-45deg);
        }

        /* === RESPONSIVE NAV === */
        @media (max-width: 768px) {
          .nav {
            position: fixed;
            top: 0;
            left: 0;
            height: 100vh;
            width: 100%;
            background-color: var(--bg-color);
            display: flex;
            justify-content: center;
            align-items: center;
            transform: translateX(-100%);
            transition: transform 0.4s ease;
            z-index: 1050;
          }

          .nav.is-active {
            transform: translateX(0);
          }

          .nav__list {
            flex-direction: column;
            gap: 2rem;
          }

          .nav-toggler {
            display: flex;
          }
        }
        /* --- 6. FOOTER --- */
        .footer {
          background-color: var(--bg-color);
          padding: 40px 0 20px; /* réduit la taille */
          text-align: center;
          color: var(--text-color);
          font-size: 0.9rem;
          animation: fadeInUp 1s ease-in-out;
        }

        .footer__heading {
          font-size: 1.3rem;
          color: var(--heading-color);
          margin-bottom: 1.2rem;
        }

        .footer__social {
          display: flex;
          justify-content: center;
          gap: 1rem;
          margin-bottom: 1.5rem;
        }

        .footer__icon {
          font-size: 1.2rem;
          width: 44px;
          height: 44px;
          background-color: var(--primary-color);
          color: #fff;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          border-radius: 50%;
          text-decoration: none;
          transition: all 0.3s ease;
          box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        }

        .footer__icon:hover {
          transform: translateY(-3px) scale(1.05);
          background-color: hsl(var(--hue), 90%, 45%);
          box-shadow: 0 4px 15px rgba(0,0,0,0.25);
          color: #fff;
          text-decoration: none;
        }

        .footer__info {
          margin-bottom: 1rem;
          line-height: 1.4;
        }

        .footer__info a {
          color: var(--primary-color);
          text-decoration: none;
          transition: color 0.3s;
        }

        .footer__info a:hover {
          color: var(--heading-color);
        }

        .footer__copy {
          font-size: 0.8rem;
          color: #888;
          margin-top: 1.5rem;
        }

        /* === AMÉLIORATIONS ICONOGRAPHIE === */
        .footer__heading {
          position: relative;
          display: inline-block;
        }
        
        .footer__heading::after {
          content: '';
          position: absolute;
          bottom: -8px;
          left: 50%;
          transform: translateX(-50%);
          width: 50px;
          height: 2px;
          background: linear-gradient(90deg, var(--primary-color), hsl(var(--hue), 90%, 45%));
          border-radius: 2px;
        }

        /* Amélioration des icônes de contact */
        .contact-info h3 {
          color: var(--heading-color);
          font-size: 1.1rem;
          margin-bottom: 0.5rem;
          font-weight: 600;
        }

        .contact-info p {
          color: var(--text-color);
          line-height: 1.5;
        }

        /* Animation sur les icônes sociales */
        .footer__social {
          gap: 1.5rem;
        }

        .footer__icon {
          position: relative;
          overflow: hidden;
        }

        .footer__icon::before {
          content: '';
          position: absolute;
          top: 50%;
          left: 50%;
          width: 0;
          height: 0;
          background: rgba(255,255,255,0.2);
          border-radius: 50%;
          transform: translate(-50%, -50%);
          transition: all 0.3s ease;
        }

        .footer__icon:hover::before {
          width: 100%;
          height: 100%;
        }

        /* === BOUTON PRINCIPAL (fusionné) === */
        .btn {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          gap: 0.5rem;
          padding: 12px 28px;
          background-color: var(--primary-color);
          color: #fff;
          border-radius: 50px;
          font-weight: 500;
          border: 2px solid transparent;
          transition: all var(--transition-speed);
          font-size: 1rem;
          box-shadow: var(--shadow);
        }
        .btn:hover, .btn:focus-visible {
          background-color: transparent;
          border-color: var(--primary-color);
          color: var(--primary-color);
          transform: scale(1.05) translateY(-2px);
        }

        /* === MODAL (fusionné) === */
        .modal, .modal-overlay {
          display: none;
          position: fixed;
          z-index: 9999;
          left: 0;
          top: 0;
          width: 100%;
          height: 100%;
          background: rgba(0, 0, 0, 0.6);
          justify-content: center;
          align-items: center;
          opacity: 0;
          pointer-events: none;
          transition: opacity var(--transition-speed);
        }
        .modal.active, .modal-overlay.active {
          display: flex;
          opacity: 1;
          pointer-events: auto;
          animation: fadeIn 0.3s ease;
        }
        .modal-content {
          background: var(--bg-light, #fff);
          padding: 2rem;
          max-width: 600px;
          width: 90%;
          border-radius: 12px;
          position: relative;
          box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
          animation: fadeIn 0.3s ease-out;
        }
        .close-modal {
          position: absolute;
          top: 10px;
          right: 15px;
          font-size: 1.8rem;
          font-weight: bold;
          color: #444;
          cursor: pointer;
        }
        .modal-content ul {
          margin: 1rem 0;
          padding-left: 1.2rem;
        }
        .modal-content li {
          margin-bottom: 0.5rem;
          list-style: none;
        }
        @keyframes fadeIn {
          from { opacity: 0; transform: scale(0.9); }
          to { opacity: 1; transform: scale(1); }
        }


        /*** Service Section ***/
        .service-item {
          position: relative;
          overflow: hidden;
          border-radius: 15px;
          height: 100%;
        }

        .service-item .bg-img {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          object-fit: cover;
          z-index: -1;
          border-radius: 15px;
          transition: transform 0.5s ease;
        }

        .service-item:hover .bg-img {
          transform: scale(1.1); /* léger zoom au survol */
        }

        .service-item .service-text {
          position: relative;
          background: var(--light);
          padding: 2rem;
          border-radius: 15px;
          transition: background 0.5s ease, color 0.5s ease;
          z-index: 1;
        }

        .service-item .service-text i {
          color: var(--primary);
          transition: color 0.5s ease;
        }

        .service-item:hover .service-text {
          background: rgba(0, 0, 0, 0.7);
        }

        .service-item:hover .service-text i,
        .service-item:hover .service-text h3,
        .service-item:hover .service-text p {
          color: #ffffff;
        }

        .service-item .service-text * {
          transition: color 0.5s ease;
        }

        /* Bouton "Read More" */
        .service-item .btn {
          width: 40px;
          height: 40px;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          color: var(--dark);
          background: #036ee9;
          border-radius: 50px;
          white-space: nowrap;
          overflow: hidden;
          transition: all 0.5s ease;
        }

        .service-item:hover .btn {
          width: 140px;
          background: var(--primary);
          color: #ffffff;
        }

        .service-item .btn i {
          margin-right: 0;
          transition: margin 0.5s ease;
        }

        .service-item:hover .btn i {
          margin-right: 10px;
        }
        .service-item .btn span {
          opacity: 0;
          transition: opacity 0.5s ease;
        }

        .service-item:hover .btn span {
          opacity: 1;
        }

        /* ===== STYLES SPÉCIFIQUES MODE SOMBRE ===== */
        
        /* Forcer la visibilité de TOUS les textes en mode sombre */
        body.dark-mode *,
        html.dark-mode * {
          color: var(--text-color) !important;
        }

        body.dark-mode h1,
        body.dark-mode h2,
        body.dark-mode h3,
        body.dark-mode h4,
        body.dark-mode h5,
        body.dark-mode h6,
        html.dark-mode h1,
        html.dark-mode h2,
        html.dark-mode h3,
        html.dark-mode h4,
        html.dark-mode h5,
        html.dark-mode h6 {
          color: var(--heading-color) !important;
        }

        /* Backgrounds sombres pour tous les conteneurs */
        body.dark-mode,
        html.dark-mode body {
          background-color: var(--bg-color) !important;
        }

        body.dark-mode .card,
        body.dark-mode .service-item,
        body.dark-mode .modal-content,
        body.dark-mode .contact-form,
        body.dark-mode .footer,
        body.dark-mode .header,
        body.dark-mode .section,
        html.dark-mode .card,
        html.dark-mode .service-item,
        html.dark-mode .modal-content,
        html.dark-mode .contact-form,
        html.dark-mode .footer,
        html.dark-mode .header,
        html.dark-mode .section {
          background-color: var(--bg-light) !important;
          color: var(--text-color) !important;
        }

        body.dark-mode .card-body,
        body.dark-mode .card-header,
        body.dark-mode .card-footer,
        html.dark-mode .card-body,
        html.dark-mode .card-header,
        html.dark-mode .card-footer {
          background-color: var(--bg-light) !important;
          color: var(--text-color) !important;
          border-color: var(--border-color) !important;
        }

        body.dark-mode .service-item .service-text,
        html.dark-mode .service-item .service-text {
          background-color: var(--bg-light) !important;
          color: var(--text-color) !important;
        }

        body.dark-mode .service-item .service-text h3,
        body.dark-mode .service-item .service-text p,
        html.dark-mode .service-item .service-text h3,
        html.dark-mode .service-item .service-text p {
          color: var(--text-color) !important;
        }

        /* Formulaires et inputs */
        body.dark-mode .input-control,
        body.dark-mode input,
        body.dark-mode textarea,
        body.dark-mode select,
        html.dark-mode .input-control,
        html.dark-mode input,
        html.dark-mode textarea,
        html.dark-mode select {
          background-color: var(--bg-color) !important;
          color: var(--text-color) !important;
          border: 2px solid var(--border-color) !important;
        }

        body.dark-mode .input-control::placeholder,
        body.dark-mode input::placeholder,
        body.dark-mode textarea::placeholder,
        html.dark-mode .input-control::placeholder,
        html.dark-mode input::placeholder,
        html.dark-mode textarea::placeholder {
          color: oklch(60% 0.01 240) !important;
        }

        /* Liens */
        body.dark-mode a,
        html.dark-mode a {
          color: var(--primary-color) !important;
        }

        body.dark-mode a:hover,
        html.dark-mode a:hover {
          color: oklch(80% 0.15 var(--hue)) !important;
        }

        /* Boutons */
        body.dark-mode .btn,
        html.dark-mode .btn {
          background-color: var(--primary-color) !important;
          color: white !important;
          border-color: var(--primary-color) !important;
        }

        body.dark-mode .btn:hover,
        html.dark-mode .btn:hover {
          background-color: oklch(80% 0.15 var(--hue)) !important;
          color: white !important;
        }

        /* Navigation */
        body.dark-mode .nav__link,
        body.dark-mode .footer__icon,
        html.dark-mode .nav__link,
        html.dark-mode .footer__icon {
          color: var(--text-color) !important;
        }

        /* Prix et texte important */
        body.dark-mode .price,
        body.dark-mode .highlight,
        body.dark-mode .text-muted,
        html.dark-mode .price,
        html.dark-mode .highlight,
        html.dark-mode .text-muted {
          color: var(--text-color) !important;
        }

        /* Footer */
        body.dark-mode .footer,
        html.dark-mode .footer {
          background-color: oklch(12% 0.02 240) !important;
          color: var(--text-color) !important;
        }

        body.dark-mode .footer *,
        html.dark-mode .footer * {
          color: var(--text-color) !important;
        }

        /* Modales */
        body.dark-mode .modal,
        body.dark-mode .modal-content,
        html.dark-mode .modal,
        html.dark-mode .modal-content {
          background-color: var(--bg-light) !important;
          color: var(--text-color) !important;
        }

        /* Bordures et séparateurs */
        body.dark-mode hr,
        body.dark-mode .border,
        html.dark-mode hr,
        html.dark-mode .border {
          border-color: var(--border-color) !important;
        }

        /* Style switcher lui-même */
        body.dark-mode .style-switcher,
        html.dark-mode .style-switcher {
          background-color: var(--bg-light) !important;
          color: var(--text-color) !important;
          border: 2px solid var(--border-color) !important;
        }

        body.dark-mode .style-switcher h2,
        body.dark-mode .style-switcher p,
        body.dark-mode .style-switcher span,
        html.dark-mode .style-switcher h2,
        html.dark-mode .style-switcher p,
        html.dark-mode .style-switcher span {
          color: var(--text-color) !important;
        }

        /* Corrections spéciales pour textes blancs qui deviennent invisibles */
        body.dark-mode .text-white,
        html.dark-mode .text-white {
          color: var(--text-color) !important;
        }

        /* Assurer que les icônes restent visibles */
        body.dark-mode i,
        body.dark-mode .fas,
        body.dark-mode .fab,
        html.dark-mode i,
        html.dark-mode .fas,
        html.dark-mode .fab {
          color: var(--primary-color) !important;
        }

        /* Contact info */
        body.dark-mode .contact-info-item,
        html.dark-mode .contact-info-item {
          background-color: var(--bg-light) !important;
        }

        body.dark-mode .contact-info-item *,
        html.dark-mode .contact-info-item * {
          color: var(--text-color) !important;
        }

        /* ===== PROTECTION DES IMAGES EN MODE SOMBRE ===== */
        
        /* Assurer que toutes les images restent visibles */
        body.dark-mode img,
        html.dark-mode img {
          opacity: 1 !important;
          visibility: visible !important;
          display: block !important;
          filter: none !important;
          background: transparent !important;
        }

        /* Images avec fond transparent - ajouter un léger contour */
        body.dark-mode .logo__img,
        body.dark-mode .about-img img,
        body.dark-mode .home-img img,
        html.dark-mode .logo__img,
        html.dark-mode .about-img img,
        html.dark-mode .home-img img {
          filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.1)) !important;
          background: rgba(255, 255, 255, 0.05) !important;
          border-radius: 8px !important;
          padding: 4px !important;
        }

        /* Images de service - maintenir leur visibilité */
        body.dark-mode .service-item .bg-img,
        body.dark-mode .service-item img,
        html.dark-mode .service-item .bg-img,
        html.dark-mode .service-item img {
          opacity: 0.9 !important;
          filter: brightness(0.8) contrast(1.1) !important;
        }

        /* Images des partenaires - assurer la visibilité */
        body.dark-mode .partners img,
        body.dark-mode img[src*="logo"],
        body.dark-mode img[src*="partner"],
        html.dark-mode .partners img,
        html.dark-mode img[src*="logo"],
        html.dark-mode img[src*="partner"] {
          background: rgba(255, 255, 255, 0.9) !important;
          border-radius: 8px !important;
          padding: 8px !important;
          filter: none !important;
        }

        /* Conteneurs d'images */
        body.dark-mode .img-box,
        body.dark-mode .home-img,
        body.dark-mode .about-img,
        body.dark-mode figure,
        html.dark-mode .img-box,
        html.dark-mode .home-img,
        html.dark-mode .about-img,
        html.dark-mode figure {
          background: transparent !important;
        }

        /* Cercles décoratifs autour des images */
        body.dark-mode .circle-wrap,
        html.dark-mode .circle-wrap {
          border-color: var(--primary-color) !important;
          opacity: 0.3 !important;
        }

        /* Box shadow pour les images en mode sombre */
        body.dark-mode .service-item,
        body.dark-mode .card,
        html.dark-mode .service-item,
        html.dark-mode .card {
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
        }

        /* Images d'arrière-plan en mode sombre */
        body.dark-mode .service-item .bg-img,
        html.dark-mode .service-item .bg-img {
          filter: brightness(0.7) !important;
        }

        body.dark-mode .service-item:hover .bg-img,
        html.dark-mode .service-item:hover .bg-img {
          filter: brightness(0.5) !important;
        }

        /* =================================================================
           CORRECTIONS PROFESSIONNELLES - LIENS SANS SOULIGNEMENT
           ================================================================= */

        /* Liens de contact (téléphone et email) - DÉSOULIGNÉ */
        .contact-info-item a[href^="tel:"],
        .contact-info-item a[href^="mailto:"] {
            text-decoration: none !important;
            color: inherit;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .contact-info-item a[href^="tel:"]:hover,
        .contact-info-item a[href^="mailto:"]:hover {
            color: var(--primary-color) !important;
            text-decoration: none !important;
            transform: translateX(3px);
        }

        /* Icônes des réseaux sociaux - STYLE PROFESSIONNEL */
        .footer__icon {
            text-decoration: none !important;
            display: inline-flex !important;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            margin: 0 10px;
            background: var(--primary-color);
            color: white !important;
            border-radius: 50%;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 18px;
            position: relative;
            overflow: hidden;
        }

        .footer__icon::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.3s ease;
        }

        .footer__icon:hover {
            text-decoration: none !important;
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 25px rgba(248, 247, 247, 0.925);
            background: var(--heading-color);
        }

        .footer__icon:hover::before {
            width: 100%;
            height: 100%;
        }

        /* Footer section améliorée */
        .footer__social {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 2rem 0;
            flex-wrap: wrap;
            gap: 8px;
        }

        .footer__heading {
            text-align: center;
            margin-bottom: 1.5rem;
            color: var(--heading-color);
            font-size: 1.4rem;
            font-weight: 600;
            position: relative;
        }

        .footer__heading::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-color), oklch(70% 0.15 var(--hue)));
            border-radius: 2px;
        }

        /* Améliorations pour les informations de contact */
        .contact-info-item {
            padding: 1.25rem;
            margin-bottom: 1.5rem;
            background: rgba(255, 255, 255, 0.7);
            border-radius: 12px;
            border-left: 4px solid var(--primary-color);
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .contact-info-item:hover {
            transform: translateX(5px);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            background: rgba(255, 255, 255, 0.9);
        }

        .contact-info-item i {
            font-size: 1.4rem;
            color: var(--primary-color);
            margin-right: 1rem;
            margin-top: 0.2rem;
            min-width: 20px;
        }

        .contact-info-item h3 {
            color: var(--heading-color);
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .contact-info-item p {
            color: var(--text-color);
            margin: 0;
            line-height: 1.5;
        }

        /* Mode sombre - Corrections */
        body.dark-mode .contact-info-item,
        html.dark-mode .contact-info-item {
            background: rgba(255, 255, 255, 0.08);
            border-left-color: var(--primary-color);
        }

        body.dark-mode .contact-info-item:hover,
        html.dark-mode .contact-info-item:hover {
            background: rgba(255, 255, 255, 0.945);
        }

        body.dark-mode .footer__icon,
        html.dark-mode .footer__icon {
            background: var(--primary-color) !important;
            color: #97b4f300 !important;
        }

        body.dark-mode .footer__icon:hover,
        html.dark-mode .footer__icon:hover {
            background: var(--heading-color) !important;
            color: var(--primary-color) !important;
        }