  /* =================================================
           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);
          }

          body.dark-mode {
            --primary-color: oklch(70% 0.15 var(--hue));
            --shadow-color: oklch(0% 0 0 / 0.2);
            /* Mode Sombre */
            --bg-color: oklch(15% 0.02 240);
            --bg-light: oklch(25% 0.02 240);
            --text-color: oklch(85% 0.01 240);
            --heading-color: oklch(98% 0.01 240);
            --border-color: oklch(97.818% 0.00352 248.58);
          }

          /* --- 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 DE VOTRE 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; }
          .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: 80px;
          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-light);
          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: 1rem;
          width: 36px;
          height: 36px;
          background-color: var(--primary-color);
          color: #fff;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          border-radius: 50%;
          transition: transform 0.3s ease, background-color 0.3s;
        }

        .footer__icon:hover {
          transform: scale(1.1);
          background-color: hsl(var(--hue), 90%, 45%);
        }

        .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;
        }

        /* === 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;
        }