
    :root {
          --brand: #ff7a18;
          --brand-light: rgba(255,122,24,0.08);
          --brand-dark: #e96b12;
          --white: #ffffff;
          --accent-purple: #9b51e0;
     }

     .nav-link:hover::after,
     .nav-link:focus::after {
          opacity: 1;
          visibility: visible;
     }
     /* état actif */
     .nav-link.active {
          color: var(--brand);
          visibility: visible;
     }
     .nav-link.active::after {
          opacity: 1;
          background: var(--brand) !important;
     }

     .page-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('/images/photo-hero-hygiene.jpeg');
        background-size: cover;
        background-position: center;
        opacity: 0.2;
        z-index: 0;
     }

     .session-box {
          border: 2px solid var(--brand-light);
          border-radius: 8px;
          padding: 16px;
          position: relative;
          transition: all 0.3s ease;
     }

     /* Formation 1 jour - Style Hygiène (Orange) */
     .session-box:nth-child(1) {
          background: linear-gradient(135deg, rgba(255, 122, 24, 0.08) 0%, rgba(255, 160, 80, 0.12) 100%);
          border: 2px solid rgba(255, 122, 24, 0.3);
          border-radius: 12px;
          box-shadow: 0 2px 8px rgba(255, 122, 24, 0.1);
     }

     .session-box:nth-child(1)::after {
          content: '🧼';
          position: absolute;
          top: 16px;
          right: 16px;
          font-size: 36px;
          opacity: 0.2;
     }

     .session-box:nth-child(1) .session-type {
          background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
          color: white;
          font-weight: 600;
          padding: 10px 24px;
          border-radius: 20px;
          display: inline-block;
          box-shadow: 0 3px 10px rgba(255, 122, 24, 0.25);
     }

     .session-box:nth-child(1):hover {
          border-color: var(--brand);
          box-shadow: 0 8px 24px rgba(255, 122, 24, 0.25);
          transform: translateY(-4px);
     }

     .session-box:nth-child(1) .info-row svg {
          color: var(--brand);
     }

     /* Formation Sur-mesure - Style Interactif (Bleu avec contrôle) */
     .session-box:nth-child(2) {
     background: linear-gradient(135deg, #bfdbfe 0%, #60a5fa 100%);
    border: 3px solid #60a5fa;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    overflow: hidden;
     }

     .session-box:nth-child(2)::before {
       content: '⚙️';
    position: absolute;
    bottom: 0px;
    right: 50px;
    left: auto;
    top: -20px;
    font-size: 80px;
    opacity: 0.3;
    transform: rotate(-30deg);
     }

     .session-box:nth-child(2) .session-type {
          background: white;
          color: #1e40af;
          font-weight: 700;
          padding: 8px 20px;
          border-radius: 20px;
          display: inline-block;
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
     }

     .session-box:nth-child(2) .session-info {
          color: white;
     }

     .session-box:nth-child(2) .info-row {
          color: white;
     }

     .session-box:nth-child(2) .info-row svg {
          color: white;
     }

     .session-box:nth-child(2) .btn {
          background: white !important;
          color: #1e40af !important;
          border: 2px solid white !important;
          font-weight: 600;
     }

     .session-box:nth-child(2) .btn:hover {
          background: rgba(255, 255, 255, 0.9) !important;
          transform: scale(1.05);
     }

     .session-box:nth-child(2):hover {
          box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
          transform: translateY(-4px);
     }

     /* Boutons */
     .btn.btn-primary {
          background-color: var(--brand) !important;
          border-color: var(--brand) !important;
          color: #fff !important;
     }
     .btn.btn-primary:hover,
     .btn.btn-primary:focus {
          background-color: var(--brand-dark) !important;
          filter: brightness(0.95);
     }

     /* Icônes SVG */
     .info-row svg,
     .benefits-grid svg,
     .session-box svg,
     .floating-contact svg,
     .drawer-close svg {
          color: var(--brand);
     }

     /* Petits éléments textuels marqués */
     .session-type,
     .logo-text,
     .section-title,
     .section-subtitle,
     .footer-subtitle,
     .footer-title {
          color: inherit;
     }

     .programme-day {
          border-top: 4px solid var(--brand);
     }

     .cta-box {
          background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);    
          border-radius: 8px;
          padding: 16px;
     }

     .cta-box::before{
          background-color: var(--brand);
     }

     .module-title {
          color: var(--brand);
     }
     
     .info-card-content h4 {
          color: var(--brand);
     }

     .info-card-content a {
          color: var(--brand);
     }

       .day-header{
        background-color: var(--brand-light);
     }

     .background-hygiene{
                    /* orange claire en dégradé + fallback */
                    background: linear-gradient(135deg, rgba(252, 239, 227, 0.619) 0%, rgba(254, 207, 165, 0.529) 50%, rgba(255, 158, 84, 0.85) 100%);
                    background-color: #fff4ec; /* fallback très pâle */
           }

           .session-box::before {
    background: var(--brand);
}

.training-sessions{
     display: grid;
     grid-template-columns: repeat(2, minmax(280px, 340px));
     justify-content: center; /* centre les 2 cartes */
     gap: 100px;
     margin-top: calc(var(--spacing) * 4);
}

/* Réactivité : une seule colonne sur petits écrans */
@media (max-width: 700px) {
     .training-sessions{
          grid-template-columns: 1fr;
          justify-items: stretch;
          gap: calc(var(--spacing) * 2);
     }
}

    /* Background images */
        .background-hygiene {
          position: relative;
          overflow: hidden; /* clip overflowing decorative images */
        }

        .background-hygiene .container {
          position: relative;
          z-index: 2; /* content above the background images */
        }

        .background-hygiene .bg-image {
          position: absolute;
          width: clamp(200px, 40vw, 700px); /* generally large */
          opacity: 0.4;
          pointer-events: none;
          user-select: none;
          z-index: 0;
          transform-origin: center;
          will-change: transform;
        }

        /* Top-right image: behind text, allowed to overflow to the right */
        .background-hygiene .bg-image--top {
          top: 0;
          right: -10%;
          transform: translate(18%, -18%) scale(1.05);
          max-width: 60%;
        }

        /* Bottom-left image: bigger, behind text, allowed to overflow to the left/bottom */
        .background-hygiene .bg-image--bottom {
          bottom: 0;
          left: -12%;
          transform: translate(-12%, 14%) scale(1.25);
          width: clamp(260px, 50vw, 900px);
          max-width: none;
          opacity: 0.4;
        }

        /* Responsive adjustments */
        @media (max-width: 1024px) {
          .background-hygiene .bg-image {
        width: clamp(160px, 36vw, 600px);
        opacity: 0.4;
          }
          .background-hygiene .bg-image--top {
        right: -6%;
        transform: translate(10%, -16%) scale(1);
          }
          .background-hygiene .bg-image--bottom {
        left: -8%;
        transform: translate(-8%, 10%) scale(1.1);
        width: clamp(220px, 42vw, 700px);
          }
        }

        @media (max-width: 640px) {
          /* Hide decorative background on very small screens */
          .background-hygiene .bg-image {
        display: none;
          }
     }

     .hero-split {
          display: grid;
          grid-template-columns: 60% 40%;
          gap: calc(var(--spacing) * 4);
          align-items: center;
          min-height: 300px;
     }

     .hero-content-left {
          padding-right: calc(var(--spacing) * 4);
     }

     .hero-content-left .section-title {
          text-align: left;
          margin-bottom: calc(var(--spacing) * 2);
     }

     .hero-content-left .section-subtitle-prog {
          text-align: left;
          max-width: 100%;
     }

     .hero-image-right {
          display: flex;
          align-items: center;
          justify-content: center;
          height: 100%;
     }

     .hero-image-right img {
          width: 100%;
          height: auto;
          max-height: 300px;
          object-fit: cover;
          object-position: center;
          border-radius: var(--radius);
          box-shadow: 0 8px 24px rgba(255, 122, 24, 0.18); /* ombre en couleur "brand" */
          transition: transform 0.3s ease, box-shadow 0.3s ease;
     }

     .hero-image-right img:hover {
          transform: scale(1.02);
          box-shadow: 0 12px 32px rgba(255, 122, 24, 0.28); /* ombre plus forte au survol */
     }

     @media (max-width: 968px) {
          .hero-split {
               grid-template-columns: 1fr;
               gap: calc(var(--spacing) * 3);
               min-height: auto;
          }

          .hero-content-left {
               padding-right: 0;
          }

          .hero-content-left .section-title,
          .hero-content-left .section-subtitle-prog {
               text-align: center;
          }

          .hero-image-right img {
               max-height: 350px;
          }
     }



     