/* ============================================
   DOMITIA - Styles principaux (BLOC 1/3)
   L'IT & l'IA au service de l'Occitanie
   ============================================ */
   :root {
    /* Couleurs principales - Or professionnel */
    --primary: #D4A574;
    --primary-light: #E8C9A0;
    --primary-dark: #B8905E;
    --primary-glow: rgba(212, 165, 116, 0.4);

    /* Couleurs secondaires - Bleu nuit professionnel */
    --secondary: #0A1216;
    --secondary-light: #1A2832;
    --secondary-lighter: #2A3844;

    /* Backgrounds uniformes */
    --bg-dark: #0A1216;
    --bg-light: #1A2832;
    --bg-card: rgba(10, 18, 22, 0.08);
    --bg-card-hover: rgba(10, 18, 22, 0.15);

    /* Glassmorphism */
    --glass-bg: rgba(10, 18, 22, 0.05);
    --glass-border: rgba(212, 165, 116, 0.15);

    /* Textes */
    --text: #F0F4F8;
    --text-light: #FFFFFF;
    --text-muted: #B8C5D0;
    --white: #FFFFFF;

    /* Ombres */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 24px rgba(212, 165, 116, 0.3);
  
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 18px;
  
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
  
    /* Borders */
    --border-thin: 1px;
    --border-medium: 2px;
  }
  
  /* ============================================
     RESET
     ============================================ */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  
    /* 🔥 Scroll-snap page par page */
    height: 100%;
    scroll-snap-type: y proximity;
  }
  
  body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    height: 100%;
  }

  /* Lien d'évitement caché sauf au focus */
  .sr-only {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  .sr-only:focus {
    position: fixed;
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    padding: 0.75rem 1rem;
    background: rgba(10, 18, 22, 0.9);
    color: var(--text-light);
    border: 2px solid var(--primary);
    border-radius: 10px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  }

  /* ============================================
     ANIMATIONS SCROLL
     ============================================ */
  .fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(4px);
    margin-top: 0rem;
  }

  section.animated .fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(40px);
      filter: blur(4px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
      filter: blur(0);
    }
  }
  
  /* ============================================
     FOND ANIMÉ
     ============================================ */
  .animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
  }
  
  .dark-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
  }
  
  /* Tout le contenu au-dessus du fond */
  section,
  footer,
  .scroll-top {
    position: relative;
    z-index: 1;
  }
  
  /* ============================================
     SECTIONS FULLSCREEN + SCROLL-SNAP
     ============================================ */
  section {
    min-height: 100vh;
    padding: var(--spacing-xl) 0;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
  }
  
  section > .container,
  section > div {
    width: 100%;
  }
  
  /* ============================================
     TYPO
     ============================================ */
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
  }
  
  h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    line-height: 1.2;
  }
  
  p {
    margin-bottom: var(--spacing-sm);
    color: var(--text);
    line-height: 1.8;
  }
  
  .text-muted {
    color: var(--text-muted);
  }
  
  /* ============================================
     LAYOUT GÉNÉRAL
     ============================================ */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
  }
  
  .grid {
    display: grid;
    gap: 2rem;
  }
  
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
  }

  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }

  @media (max-width: 900px) {
    .grid-3 {
      grid-template-columns: 1fr;
    }

    .grid-4 {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 640px) {
    .grid-4 {
      grid-template-columns: 1fr;
    }
  }
  
  /* ============================================
     NAVBAR - DYNAMIC ISLAND STYLE
     ============================================ */
  .navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: navbarSlideDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  @keyframes navbarSlideDown {
    from {
      opacity: 0;
      transform: translateX(-50%) translateY(-100px) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateX(-50%) translateY(0) scale(1);
    }
  }

  .nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.85rem 2.5rem;
    background:
      linear-gradient(135deg, rgba(8, 14, 20, 0.85), rgba(12, 20, 28, 0.75)),
      url('../Images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-radius: 50px;
    box-shadow:
      0 8px 40px rgba(0, 0, 0, 0.35),
      0 0 0 1px rgba(212, 165, 116, 0.2),
      0 0 20px rgba(212, 165, 116, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    gap: 1rem;
    min-width: 700px;
    max-width: 800px;
    perspective: 1200px;
    transform-style: preserve-3d;
    will-change: transform;
    transition: all 0.35s cubic-bezier(0.34, 1.26, 0.64, 1);
  }

  /* Border gradient doré */
  .nav-container::before {
    content: none;
  }

  /* Effet hover sur la navbar entière */
  .navbar:hover .nav-container {
    transform: scale(1.03);
    box-shadow:
      0 16px 40px rgba(0, 0, 0, 0.35),
      0 0 0 1px rgba(255, 255, 255, 0.3);
    background:
      linear-gradient(135deg, rgba(5, 9, 12, 0.78), rgba(5, 9, 12, 0.68)),
      url('../Images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  /* Logo dans son propre Dynamic Island - Séparé */
  .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: fixed;
    left: 1.25rem;
    top: 1rem;
    z-index: 1200;
    padding: 0.5rem 1.1rem;
    background: url('../Images/bg.png');
    background-size: cover;
    background-position: center;
    background-color: rgba(5, 9, 12, 0.65);
    background-blend-mode: darken;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 999px;
    box-shadow:
      0 10px 28px rgba(0, 0, 0, 0.35),
      0 0 24px rgba(212, 165, 116, 0.42),
      0 0 46px rgba(212, 165, 116, 0.28);
    transition: transform 0.2s ease;
    animation: none;
  }

  @keyframes logoSlideIn {
    from {
      opacity: 0;
      transform: translateX(-100px) scale(0.9);
    }
    to {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
  }

  /* Border gradient pour le logo */
  .logo::before {
    content: none;
  }

  .logo:hover {
    transform: scale(1.04);
  }

  .logo-full {
    height: 42px;
    width: auto;
    max-width: none;
    transition: all 0.3s ease;
    filter: none;
    position: relative;
    z-index: 1;
  }

  .logo:hover .logo-full {
    filter: none;
  }

  .nav-menu {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    list-style: none;
    transform-style: preserve-3d;
  }
  
  .nav-link {
    font-weight: 600;
    position: relative;
    padding: 0.65rem 1.3rem;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    backdrop-filter: blur(6px);
    border: 1px solid transparent;
  }

  /* Effet LOUPE Vision Pro au hover - UNIQUEMENT */
  .nav-link:hover {
    color: #ffffff;
    transform: scale(1.22) translateZ(12px);
    z-index: 10;
    font-weight: 700;
    padding: 0.72rem 1.35rem;
    background: radial-gradient(
      circle at center,
      rgba(244, 237, 228, 0.22) 0%,
      rgba(244, 237, 228, 0.14) 50%,
      rgba(244, 237, 228, 0.06) 100%
    );
    border: 1px solid rgba(212, 165, 116, 0.28);
    box-shadow:
      0 12px 40px rgba(0, 0, 0, 0.3),
      0 0 28px rgba(212, 165, 116, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      inset 0 -1px 0 rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(16px) saturate(165%);
    -webkit-backdrop-filter: blur(16px) saturate(165%);
    transition: all 0.28s cubic-bezier(0.34, 1.15, 0.64, 1);
  }

  /* Halo externe Vision Pro */
  .nav-link:hover::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 40px;
    background: radial-gradient(
      circle at center,
      rgba(212, 165, 116, 0.15) 0%,
      rgba(212, 165, 116, 0.05) 40%,
      transparent 70%
    );
    z-index: -1;
    opacity: 1;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
  }

  /* Lien actif - Style Vision Pro optimisé */
  .nav-link.active {
    background: linear-gradient(135deg,
      rgba(244, 237, 228, 0.92),
      rgba(232, 201, 160, 0.88));
    color: rgba(10, 18, 22, 0.95);
    font-weight: 700;
    transform: scale(1.12) translateZ(8px);
    box-shadow:
      0 6px 28px rgba(212, 165, 116, 0.4),
      0 2px 12px rgba(212, 165, 116, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.5),
      inset 0 -1px 0 rgba(0, 0, 0, 0.08);
    z-index: 5;
    border: 1px solid rgba(212, 165, 116, 0.35);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.34, 1.15, 0.64, 1);
  }

  /* Halo doré autour du lien actif */
  .nav-link.active::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 38px;
    background: radial-gradient(
      circle at center,
      rgba(212, 165, 116, 0.3) 0%,
      rgba(212, 165, 116, 0.1) 40%,
      transparent 70%
    );
    z-index: -1;
    opacity: 1;
  }

  .nav-link.active:hover {
    transform: scale(1.28) translateZ(14px);
    box-shadow:
      0 10px 35px rgba(212, 165, 116, 0.5),
      0 4px 18px rgba(212, 165, 116, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.6),
      inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  }

  /* Halo externe encore plus intense au hover du lien actif */
  .nav-link.active:hover::after {
    inset: -12px;
    background: radial-gradient(
      circle at center,
      rgba(212, 165, 116, 0.4) 0%,
      rgba(212, 165, 116, 0.15) 40%,
      transparent 70%
    );
  }

  .nav-link span {
    position: relative;
    z-index: 1;
  }
  
  /* BURGER MENU */
  .burger {
    display: none;
  }

  @media (max-width: 1024px) {
    .navbar {
      top: 0.75rem;
    }

    .nav-container {
      padding: 0.6rem 1.8rem;
      gap: 0.4rem;
      min-width: 600px;
    }

    .logo {
      left: 1rem;
      padding: 0;
    }

    .logo-full {
      height: 38px;
    }

    .nav-menu {
      gap: 0.4rem;
    }

    .nav-link {
      padding: 0.5rem 1rem;
      font-size: 0.85rem;
    }

    .nav-link:hover {
      transform: scale(1.25);
    }

    .nav-link.active {
      transform: scale(1.1);
    }

    .nav-link.active:hover {
      transform: scale(1.3);
    }
  }

  @media (max-width: 768px) {
    .navbar {
      top: 0.5rem;
      left: 50%;
      right: auto;
      transform: translateX(-50%);
    }

    .nav-container {
      justify-content: center;
      padding: 0.6rem 1rem;
      gap: 1rem;
      min-width: auto;
      width: calc(100vw - 10rem);
    }

    .logo {
      position: fixed;
      left: 1rem;
      top: 0.5rem;
      padding: 0;
      animation: none;
    }

    .logo-full {
      height: 34px;
    }

    .burger {
      display: flex;
      flex-direction: column;
      gap: 4px;
      cursor: pointer;
      z-index: 10;
      position: relative;
    }

    .burger span {
      width: 22px;
      height: 2px;
      background: var(--primary);
      border-radius: 999px;
      transition: all 0.3s ease;
    }

    .burger.active span:nth-child(1) {
      transform: rotate(45deg) translateY(6px);
    }

    .burger.active span:nth-child(2) {
      opacity: 0;
    }

    .burger.active span:nth-child(3) {
      transform: rotate(-45deg) translateY(-6px);
    }

    .nav-menu {
      position: fixed;
      top: 0;
      right: -100%;
      height: 100vh;
      width: 80%;
      max-width: 350px;
      background: rgba(0, 0, 0, 0.95);
      backdrop-filter: blur(30px);
      flex-direction: column;
      justify-content: center;
      align-items: center;
      transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
      padding: var(--spacing-lg);
      gap: 2rem;
    }

    .nav-menu.active {
      right: 0;
    }

    .nav-link {
      font-size: 1.1rem;
      padding: 0.75rem 1.5rem;
    }
  }
  
  /* ============================================
     BOUTONS
     ============================================ */
  .btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    position: relative;
    text-decoration: none;
   
  }
  
  .btn-primary {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
    color: var(--bg-dark);
    box-shadow: var(--shadow-md), var(--shadow-glow);
  }

  .btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-lg), 0 0 32px rgba(212, 165, 116, 0.5);
  }

  .btn-primary:active {
    transform: translateY(0) scale(0.98);
  }
  
  .btn-secondary {
    background: rgba(212, 165, 116, 0.08);
    color: #E8C9A0;
    border: 1.3px solid rgba(212, 165, 116, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 13px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .btn-secondary:hover {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(212, 165, 116, 0.25));
    color: var(--text-light);
    transform: translateY(-2px) scale(1.02);
    border-color: #E8C9A0;
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.3),
                0 0 40px rgba(212, 165, 116, 0.2);
  }

  .btn-secondary:active {
    transform: translateY(0) scale(0.98);
  }

  .btn-gold {
    background: linear-gradient(135deg, #b8a95e, #c17700, #E8C9A0);
    background-size: 200% 200%;
    color: var(--bg-dark);
    font-weight: 600;
    box-shadow: var(--shadow-md), 0 0 24px rgba(212, 165, 116, 0.4);
    border: 1px solid rgba(212, 165, 116, 0.3);
    animation: goldShimmer 3s ease infinite;
  }

  .btn-gold:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-lg), 0 0 32px rgba(212, 165, 116, 0.6);
  }

  .btn-gold:active {
    transform: translateY(0) scale(0.98);
  }

  @keyframes goldShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }

  .btn-large {
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
    width: 100%;
    text-align: center;
  }

  /* Button with subtext */
  .btn-main-text {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
  }

  .btn-subtext {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.9;
  }

  /* Outline button style */
  .btn-outline {
    background: transparent;
    color: #E8C9A0;
    border: 1.3px solid rgba(212, 165, 116, 0.5);
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.12);
    border-radius: 13px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .btn-outline:hover {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.12), rgba(212, 165, 116, 0.18));
    color: var(--text-light);
    border-color: #E8C9A0;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.25),
                0 0 40px rgba(212, 165, 116, 0.18);
  }
  
  /* ============================================
     HERO
     ============================================ */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
    overflow: hidden;
    width: 100%;
    padding-top: 5rem;  /* Réduit de 7rem à 5rem */
    padding-bottom: 2rem;  /* Réduit de 4rem à 2rem */
  }

  .hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem 1.5rem;  /* Réduit de 3rem à 1.5rem */
    text-align: center;
    animation: fadeInUp 0.8s ease;
  }
  
  .hero-eyebrow {
    display: inline-block;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(212, 165, 116, 0.4);
  }
  
  .hero h1 {
    font-size: clamp(2.6rem, 5vw, 3.9rem);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: var(--white);
    text-shadow:
      0 2px 12px rgba(0, 0, 0, 0.6),
      0 4px 24px rgba(0, 0, 0, 0.4);
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    max-width: 720px;
    margin: 0 auto 2.5rem;
    color: var(--text-light);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  }
  
  .hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
  }
  
  .hero-btn-main,
  .hero-btn-secondary {
    width: auto;
    min-width: 230px;
  }

  /* Clear visual hierarchy - primary button more prominent */
  .hero-btn-main {
    min-width: 260px;
    padding: 1rem 2.5rem;
    font-size: 1rem;
  }

  .hero-btn-secondary {
    min-width: 210px;
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
  }
  
  .hero-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-bottom: 3rem;
  }
  
  .hero-tags .tag {
    font-size: 0.9rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(212, 165, 116, 0.35);
  }

  /* Clickable tags with SVG icons */
  .tag-clickable {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    background: rgba(10, 18, 22, 0.6);
    border: 1px solid rgba(212, 165, 116, 0.4);
    border-radius: 999px;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    backdrop-filter: blur(8px);
  }

  .tag-clickable:hover {
    background: rgba(212, 165, 116, 0.15);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(212, 165, 116, 0.25);
  }

  .tag-icon {
    flex-shrink: 0;
    stroke: var(--primary);
    transition: var(--transition);
  }

  .tag-clickable:hover .tag-icon {
    stroke: var(--primary-light);
    transform: scale(1.1);
  }
  
  /* ============================================
     HERO SHOWCASE (PORTFOLIOS 2x2)
     ============================================ */
  .hero-showcase {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.25rem 2.75rem;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at top left,
        rgba(212, 165, 116, 0.08),
        rgba(10, 18, 22, 0.92));
    border: 1px solid rgba(212, 165, 116, 0.25);
    box-shadow:
      0 18px 60px rgba(0, 0, 0, 0.55),
      0 0 40px rgba(212, 165, 116, 0.18);
    backdrop-filter: blur(18px);
  }
  
  .hero-showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.75rem;
  }
  
  .hero-showcase-header h3 {
    margin: 0;
    font-size: 1.25rem;
  }
  
  .hero-showcase-header p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
  }
  
  /* GRID 2x2 */
  .grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
  }
  
  .portfolio-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(212, 130, 74, 0.18);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    height: 100%;
  }
  
  .portfolio-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md), var(--shadow-glow);
  }
  
  .portfolio-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--secondary);
  }
  
  .portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  
  .portfolio-card:hover .portfolio-card-image img {
    transform: scale(1.08);
  }
  
  .portfolio-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.7rem;
    font-size: 0.75rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.65);
    color: var(--text-light);
    border: 1px solid rgba(212, 165, 116, 0.5);
  }
  
  .portfolio-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(10, 22, 40, 0.15),
      rgba(10, 22, 40, 0.85)
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .portfolio-card:hover .portfolio-card-overlay {
    opacity: 1;
  }
  
  .portfolio-card-overlay h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    text-align: center;
  }
  
  .portfolio-card-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--secondary);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
  }
  
  .portfolio-card-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
  }
  
  .portfolio-card-footer {
    padding: 1.1rem 1.25rem;
    background: var(--bg-light);
    text-align: center;
  }
  
  .portfolio-card-footer p {
    color: var(--text);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
  }
  
  /* ============================================
     RESPONSIVE HERO
     ============================================ */
  @media (max-width: 900px) {
    .hero {
      padding-top: 6rem;
    }
  
    .hero-showcase-header {
      flex-direction: column;
      align-items: flex-start;
    }
  }
  
  @media (max-width: 768px) {
    .hero-actions {
      flex-direction: column;
    }

    .hero-btn-main,
    .hero-btn-secondary {
      width: 100%;
      max-width: 360px;
    }

    .grid-2x2 {
      grid-template-columns: 1fr;
    }

    .portfolio-card-image {
      height: 200px;
    }

    .realisations-media {
      height: 350px;
    }

    .carousel-nav {
      width: 48px;
      height: 48px;
    }

    .hero h1 {
      font-size: 2.2rem;
    }
  }
  /* ============================================
   SECTION STATS
   ============================================ */
.stats {
  background: transparent;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.section-description {
  font-size: 1.375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   SLIDE 2 : RÉALISATIONS (CAROUSEL FULLSCREEN)
   ============================================ */
.section-realisations {
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  position: relative;
}

.realisations-wrapper {
  width: 100%;
  max-width: 100%;
  padding: 5rem 4rem 4rem;
  background-image: url('../Images/bg.png'),
                    linear-gradient(135deg,
                      rgba(18, 28, 38, 0.92) 0%,
                      rgba(26, 38, 50, 0.90) 50%,
                      rgba(10, 18, 22, 0.94) 100%);
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  position: relative;
  z-index: 2;
}

/* HEADER */
.realisations-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.realisations-header h2 {
  font-size: 2rem;
  margin-bottom: 0;
  margin-top: 0rem;
  color: var(--text-light);
}

.realisations-header p {
  display: none;
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0rem;
}

/* ============================================
   CARROUSEL — 1 IMAGE EN GRAND
   ============================================ */
.realisations-carousel-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

/* Boutons de navigation */
.carousel-nav {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: rgba(10, 18, 22, 0.8);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.carousel-nav:hover {
  background: var(--primary);
  color: var(--bg-dark);
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(212, 165, 116, 0.4);
}

.carousel-nav svg {
  width: 24px;
  height: 24px;
}

/* Zone track */
.realisations-carousel-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-height: 600px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.glass-wrapper {
  position: relative;
}

.glass-card {
  position: relative;
  overflow: hidden;
  box-shadow: none;
}

.glass-card::after {
  content: none;
}

/* Chaque slide (1 seule visible) */
.realisations-slide {
  display: none;
  opacity: 0;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  padding: 0 1rem;
}

.realisations-slide.is-active {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 1;
}

/* Animations de slide - Entrée depuis la droite */
.realisations-slide.slide-enter-right {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  animation: slideInFromRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Animations de slide - Entrée depuis la gauche */
.realisations-slide.slide-enter-left {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  animation: slideInFromLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Animations de slide - Sortie vers la gauche */
.realisations-slide.slide-exit-left {
  animation: slideOutToLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Animations de slide - Sortie vers la droite */
.realisations-slide.slide-exit-right {
  animation: slideOutToRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutToLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-100px);
  }
}

@keyframes slideOutToRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100px);
  }
}

/* Image avec ratio adaptatif et object-cover */
.realisations-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: all 0.6s ease;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.07), transparent 45%),
              radial-gradient(circle at 80% 0%, rgba(212, 165, 116, 0.12), transparent 35%),
              rgba(10, 18, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Ratio 2:1 sur desktop (image très large et haute) */
@media (min-width: 640px) {
  .realisations-media {
    aspect-ratio: 2 / 1;
  }
}

.realisations-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: saturate(1.05);
}

.realisations-media img.realisations-image--contain {
  object-fit: contain;
  background-color: rgba(10, 18, 22, 0.9);
}

.realisations-slide:hover .realisations-media img {
  transform: scale(1.05);
}

.realisations-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem auto 0;
}

/* Informations du projet - overlay glass */
.realisations-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  padding: 2rem 2rem 0;
  background: linear-gradient(180deg, rgba(10, 18, 22, 0) 30%, rgba(10, 18, 22, 0.75) 100%);
}

.realisations-chip,
.realisations-text {
  display: none;
}

.realisations-chip {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.realisations-text h3 {
  margin: 0 0 0.35rem 0;
  color: #fff;
}

.realisations-text p {
  margin: 0;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.6;
}

.realisations-overlay .btn {
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light)) !important;
  color: #0c0f16 !important;
  border: 1.5px solid rgba(212, 165, 116, 0.9) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 22px rgba(212, 165, 116, 0.35);
}

.realisations-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.4rem;
  width: calc(100% + 4rem);
  margin-left: -2rem;
  margin-right: -2rem;
  margin-bottom: 0;
  background: #0b1218;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.realisations-name {
  color: #f5f5f5;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Indicateurs du carrousel */
.carousel-indicators {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 0.75rem;
}

.carousel-indicator {
  width: 36px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
  cursor: pointer;
  padding: 0;
}

.carousel-indicator:hover {
  background: rgba(212, 165, 116, 0.3);
  transform: translateY(-2px);
}

.carousel-indicator.is-active {
  background: linear-gradient(135deg, var(--primary), #f0d3a3);
  box-shadow: 0 0 18px rgba(212, 165, 116, 0.55);
  border-color: transparent;
}

.carousel-counter {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(244, 237, 228, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  font-size: 0.85rem;
  color: #0a1216;
  letter-spacing: 0.05em;
  z-index: 2;
}

/* ============================================
   GRILLE STATIQUE RÉALISATIONS (Homepage)
   ============================================ */
.realisations-static-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}

.realisation-static-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.realisation-static-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(212, 165, 116, 0.3);
}

.realisation-static-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 450px;
}

.realisation-static-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.realisation-static-card:hover .realisation-static-media img {
  transform: scale(1.1);
}

.realisation-static-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
    rgba(10, 18, 22, 0.2) 0%,
    rgba(10, 18, 22, 0.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  transition: background 0.4s ease;
}

.realisation-static-card:hover .realisation-static-overlay {
  background: linear-gradient(to bottom,
    rgba(10, 18, 22, 0.3) 0%,
    rgba(10, 18, 22, 0.8) 100%);
}

.realisation-static-overlay .realisations-tag {
  display: inline-block;
  background: rgba(212, 165, 116, 0.15);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
}

/* CTA Button */
.realisations-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Responsive pour tablettes */
@media (max-width: 1024px) {
  .realisations-static-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .realisation-static-card:last-child {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
  }
}

/* Responsive pour mobile */
@media (max-width: 640px) {
  .realisations-static-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .realisation-static-card:last-child {
    grid-column: auto;
    max-width: none;
  }
}

/* ============================================
   SLIDE 3 : PROBLÈMES/SOLUTIONS
   ============================================ */
.section-problems {
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
}

.problems-wrapper {
  width: 100%;
  padding: 7rem 4rem 4rem;
  background: rgba(10, 18, 22, 0.95);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.problems-header {
  text-align: center;
  margin-bottom: 4rem;
}

.problems-header h2 {
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.problems-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.problem-card {
  background-image: url('../Images/bg.png'),
                    linear-gradient(135deg,
                      rgba(18, 28, 38, 0.92),
                      rgba(26, 38, 50, 0.88));
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 165, 116, 0.25);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(212, 165, 116, 0.08),
    rgba(212, 165, 116, 0.02));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.problem-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(212, 165, 116, 0.25);
}

.problem-card:hover::before {
  opacity: 1;
}

.problem-icon {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.problem-icon svg {
  stroke: var(--primary);
  filter: drop-shadow(0 0 12px rgba(212, 165, 116, 0.6))
          drop-shadow(0 0 24px rgba(212, 165, 116, 0.4));
  transition: all 0.4s ease;
}

.problem-card:hover .problem-icon svg {
  filter: drop-shadow(0 0 16px rgba(212, 165, 116, 0.8))
          drop-shadow(0 0 32px rgba(212, 165, 116, 0.5));
  transform: scale(1.1);
}

.problem-content h4 {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.problem-desc {
  color: #FFB84D;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.problem-arrow {
  font-size: 2rem;
  color: var(--primary);
  margin: 1.5rem 0;
  font-weight: bold;
  display: inline-block;
  animation: pulse 1.8s infinite ease;
}

@keyframes pulse {
  0% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(4px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.7; }
}

.solution-desc {
  color: #A8E6A1;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 500;
}

/* ============================================
   SLIDE 4 : NOS SERVICES
   ============================================ */
.section-services {
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  position: relative;
  background-image: url('../Images/bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.section-services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(5, 10, 15, 0.88) 0%,
    rgba(10, 18, 22, 0.85) 50%,
    rgba(5, 10, 15, 0.88) 100%);
  pointer-events: none;
  z-index: 1;
}

.services-wrapper {
  width: 100%;
  padding: 3rem 3rem 2.5rem;
  position: relative;
  z-index: 2;
}

.services-header {
  text-align: center;
  margin-bottom: 2rem;
}

.services-header h2 {
  font-size: 2.2rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.8rem;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(212, 165, 116, 0.3);
}

.services-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

.service-card {
  background-image: url('../Images/bg.png'),
                    linear-gradient(180deg,
                      rgba(10, 15, 20, 0.88) 0%,
                      rgba(15, 20, 25, 0.92) 100%);
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid rgba(212, 165, 116, 0.25);
  border-radius: 16px;
  padding: 1.5rem 1.5rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(212, 165, 116, 0.1);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(212, 165, 116, 0.03),
    transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 165, 116, 0.45);
  background-image: url('../Images/bg.png'),
                    linear-gradient(180deg,
                      rgba(10, 15, 20, 0.82) 0%,
                      rgba(15, 20, 25, 0.88) 100%);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(212, 165, 116, 0.15),
    inset 0 1px 0 rgba(212, 165, 116, 0.15);
}

/* Icônes SVG avec glow doré mat */
.service-icon {
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.service-icon svg {
  width: 42px;
  height: 42px;
  stroke: #C9A86A;
  stroke-width: 1.3;
  filter: drop-shadow(0 2px 8px rgba(201, 168, 106, 0.25))
          drop-shadow(0 4px 16px rgba(201, 168, 106, 0.15));
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon svg {
  stroke: #D4A574;
  filter: drop-shadow(0 2px 12px rgba(212, 165, 116, 0.4))
          drop-shadow(0 4px 24px rgba(212, 165, 116, 0.2));
  transform: scale(1.05);
}

.service-title {
  font-size: 1.3rem;
  font-family: 'Open Sans', sans-serif;
  color: var(--text-light);
  margin-bottom: 0.6rem;
  font-weight: 600;
  letter-spacing: 0;
  text-align: center;
}

.service-desc {
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  font-weight: 400;
  text-align: center;
}

/* Séparateur romain doré */
.roman-separator {
  width: 60px;
  height: 1px;
  margin: 0.8rem auto;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(201, 168, 106, 0.4) 20%,
    rgba(201, 168, 106, 0.7) 50%,
    rgba(201, 168, 106, 0.4) 80%,
    transparent 100%);
  position: relative;
}

.roman-separator::before,
.roman-separator::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  background: #C9A86A;
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 6px rgba(201, 168, 106, 0.4);
}

.roman-separator::before {
  left: 0;
}

.roman-separator::after {
  right: 0;
}

/* Liste avec check icons dorés */
.service-list {
  text-align: left;
  margin: 0.8rem 0;
  padding-left: 0;
  list-style: none;
}

.service-list li {
  padding: 0.4rem 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  font-weight: 400;
}

.check-icon {
  color: var(--primary);
  font-weight: bold;
  margin-right: 0.6rem;
  font-size: 0.9rem;
  text-shadow: 0 1px 4px rgba(212, 165, 116, 0.3);
}

/* Prix moderne avec glow doré mat */
.service-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  margin: 0.8rem 0 0.8rem;
  padding: 0;
}

.price-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.price-value {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: 'Open Sans', sans-serif;
  color: var(--primary);
  text-shadow: 0 2px 12px rgba(212, 165, 116, 0.3),
               0 4px 24px rgba(212, 165, 116, 0.15);
}

.service-btn {
  width: 100%;
  margin-top: 0;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

/* ============================================
   SECTION DOMITIA (DOM / IT / IA)
   ============================================ */

.card {
  background: linear-gradient(135deg,
    rgba(10, 18, 22, 0.55),
    rgba(15, 25, 32, 0.45));
  border: 1px solid rgba(212, 165, 116, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.35s cubic-bezier(0.34, 1.15, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(212, 165, 116, 0.08),
    transparent);
  transition: left 0.6s ease;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(212, 165, 116, 0.45);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(212, 165, 116, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(201, 168, 106, 0.3));
}

.card-icon svg {
  filter: drop-shadow(0 2px 8px rgba(201, 168, 106, 0.4))
          drop-shadow(0 0 16px rgba(201, 168, 106, 0.2));
  transition: all 0.4s ease;
}

.card:hover .card-icon svg {
  filter: drop-shadow(0 3px 12px rgba(201, 168, 106, 0.6))
          drop-shadow(0 0 24px rgba(201, 168, 106, 0.3));
  transform: scale(1.05);
}

.card-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.card-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ============================================
   SECTION PRICING - NOS SITES WEB & TARIFS
   ============================================ */

.section-pricing {
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  position: relative;
  background-image: url('../Images/bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.section-pricing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(3, 8, 12, 0.92) 0%,
    rgba(8, 13, 18, 0.88) 50%,
    rgba(3, 8, 12, 0.92) 100%);
  pointer-events: none;
  z-index: 1;
}

.pricing-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 3rem;
  position: relative;
  z-index: 2;
}

/* Hero Pricing */
.pricing-hero {
  text-align: center;
  margin-bottom: 4rem;
}

.pricing-hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.pricing-hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Grille pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  align-items: start;
}

/* Carte pricing */
.pricing-card {
  background: rgba(10, 18, 22, 0.55);
  backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid rgba(212, 165, 116, 0.3);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(212, 165, 116, 0.1);
  display: flex;
  flex-direction: column;
  min-height: 650px;
}

.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(212, 165, 116, 0.02),
    transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 165, 116, 0.5);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(212, 165, 116, 0.15),
    inset 0 1px 0 rgba(212, 165, 116, 0.15);
}

.pricing-card:hover::before {
  opacity: 1;
}

/* Carte Featured - Mise en avant */
.pricing-card--featured {
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(212, 165, 116, 0.5);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(212, 165, 116, 0.25),
    inset 0 1px 0 rgba(212, 165, 116, 0.2);
}

.pricing-card--featured:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(212, 165, 116, 0.35),
    inset 0 1px 0 rgba(212, 165, 116, 0.25);
}

/* Badge "Le plus choisi" */
.pricing-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), rgba(212, 165, 116, 0.1));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 165, 116, 0.4);
  color: #E8C9A0;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(212, 165, 116, 0.2);
}

/* Icône pricing */
.pricing-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.pricing-icon svg {
  filter: drop-shadow(0 2px 12px rgba(201, 168, 106, 0.4))
          drop-shadow(0 0 20px rgba(201, 168, 106, 0.2));
  transition: all 0.4s ease;
}

.pricing-card:hover .pricing-icon svg {
  filter: drop-shadow(0 3px 16px rgba(201, 168, 106, 0.6))
          drop-shadow(0 0 30px rgba(201, 168, 106, 0.3));
  transform: scale(1.08);
}

/* Nom de l'offre */
.pricing-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Prix */
.pricing-price {
  text-align: center;
  margin-bottom: 2rem;
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Open Sans', sans-serif;
  text-shadow: 0 2px 16px rgba(212, 165, 116, 0.4),
               0 0 30px rgba(212, 165, 116, 0.2);
  letter-spacing: -0.02em;
}

/* Features list */
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex-grow: 1;
}

.pricing-features li {
  padding: 0.7rem 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.check-icon-pricing {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  text-shadow: 0 1px 6px rgba(212, 165, 116, 0.4);
}

/* Actions - 2 boutons côte à côte */
.pricing-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: auto;
}

.pricing-actions .btn {
  width: 100%;
  padding: 0.8rem 1.2rem;
  font-size: 0.9rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .pricing-card--featured {
    transform: none;
    scale: 1;
  }

  .pricing-hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .pricing-wrapper {
    padding: 3rem 1.5rem;
  }

  .pricing-hero-title {
    font-size: 2rem;
  }

  .pricing-hero-subtitle {
    font-size: 1.1rem;
  }

  .price-amount {
    font-size: 2.8rem;
  }

  .pricing-actions {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   OFFRES PRICING CARDS - PAGE ACCUEIL
   ============================================ */
.offres-pricing-card {
  background: rgba(10, 18, 22, 0.55);
  backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid rgba(212, 165, 116, 0.3);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.offres-pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(212, 165, 116, 0.02),
    transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.offres-pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 165, 116, 0.5);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(212, 165, 116, 0.15),
    inset 0 1px 0 rgba(212, 165, 116, 0.15);
}

.offres-pricing-card:hover::before {
  opacity: 1;
}

/* Carte Featured - Mise en avant */
.offres-pricing-card-featured {
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(212, 165, 116, 0.5);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(212, 165, 116, 0.25),
    inset 0 1px 0 rgba(212, 165, 116, 0.2);
}

.offres-pricing-card-featured:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(212, 165, 116, 0.35),
    inset 0 1px 0 rgba(212, 165, 116, 0.25);
}

/* Badge */
.offres-pricing-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(212, 165, 116, 0.15);
  border: 1px solid rgba(212, 165, 116, 0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 1.5rem;
  width: fit-content;
}

.offres-pricing-badge-featured {
  background: rgba(212, 165, 116, 0.25);
  border-color: rgba(212, 165, 116, 0.5);
  box-shadow: 0 0 20px rgba(212, 165, 116, 0.2);
}

/* Titre */
.offres-pricing-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.offer-example {
  margin: -0.25rem 0 0.75rem;
  font-size: 0.92rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.offer-example-inline {
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.offer-example-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-bottom: 1px dashed rgba(212, 165, 116, 0.6);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.offer-example-link:hover {
  color: var(--primary-light);
  border-color: rgba(255, 215, 160, 0.9);
}

/* Prix */
.offres-pricing-price {
  margin: 1.5rem 0;
}

.offres-pricing-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  background: linear-gradient(135deg, #D4A574 0%, #C9A86A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Liste des fonctionnalités */
.offres-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.offres-pricing-features li {
  padding: 0.75rem 0;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(212, 165, 116, 0.1);
}

.offres-pricing-features li:last-child {
  border-bottom: none;
}

.offres-pricing-features .check-icon {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .offres-pricing-card-featured {
    transform: none;
    scale: 1;
  }

  .offres-pricing-amount {
    font-size: 2.8rem;
  }
}

/* ============================================
   PORTFOLIO CAROUSEL PREMIUM
   ============================================ */
.section-portfolio-carousel {
  position: relative;
  min-height: 100vh;
  padding: 5rem 0 6rem;
  background-image: url('../Images/bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: visible;
}

.section-portfolio-carousel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
    rgba(3, 8, 12, 0.95) 0%,
    rgba(8, 13, 18, 0.92) 50%,
    rgba(3, 8, 12, 0.95) 100%);
  background-blend-mode: overlay;
  z-index: 1;
}

.section-portfolio-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(212, 165, 116, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(212, 165, 116, 0.06) 0%, transparent 40%);
  z-index: 1;
}

.portfolio-carousel-container {
  position: relative;
  z-index: 2;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  margin-top: 3rem;
}

.portfolio-carousel-hero {
  text-align: center;
  margin-bottom: 1.5rem;
  margin-top: -12rem;
}

.portfolio-carousel-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5),
               0 0 40px rgba(212, 165, 116, 0.2);
  margin-top: 10rem;
}

.portfolio-carousel-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 1rem;
  line-height: 1.6;
}

/* CARROUSEL IMAGES (Style 3D avec perspective) */
.portfolio-images-carousel {
  position: relative;
  width: 100%;
  height: 600px;
  margin-bottom: 4rem;
  perspective: 2000px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.portfolio-images-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.portfolio-image-slide {
  position: absolute;
  width: 60%;
  max-width: 800px;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  opacity: 0.4;
  transform: translateX(0) translateZ(-300px) scale(0.85);
}

.portfolio-image-slide.active {
  opacity: 1;
  transform: translateX(0) translateZ(0) scale(1);
  z-index: 10;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

.portfolio-image-slide.prev {
  transform: translateX(-70%) translateZ(-200px) rotateY(15deg) scale(0.85);
  z-index: 5;
}

.portfolio-image-slide.next {
  transform: translateX(70%) translateZ(-200px) rotateY(-15deg) scale(0.85);
  z-index: 5;
}

.portfolio-image-slide.hidden {
  opacity: 0;
  transform: translateX(-200%) translateZ(-400px) scale(0.6);
  pointer-events: none;
}

.portfolio-image-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-badge {
  position: static;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f5e3c8;
  color: #4b3424;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(75, 52, 36, 0.1);
}

.portfolio-offer-badges {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.2rem;
  min-height: 34px;
}

.portfolio-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.4) 100%);
}

/* CARROUSEL DÉTAILS (En dessous) */
.portfolio-details-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 3rem;
  background: rgba(10, 18, 22, 0.3);
  border-radius: 16px;
  padding: 2rem 0;
  backdrop-filter: blur(10px);
}

.portfolio-details-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.portfolio-detail-slide {
  min-width: 100%;
  padding: 0 2rem;
  flex-shrink: 0;
}

.portfolio-slide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1500px;
  margin: 0 auto;
}

/* Image Section */
.portfolio-slide-image {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5),
              0 0 60px rgba(212, 165, 116, 0.15);
}

.portfolio-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.3) 100%);
}

.portfolio-category-badge {
  position: absolute;
  top: 2rem;
  left: 2rem;
  padding: 0.75rem 1.75rem;
  background: rgba(10, 18, 28, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(212, 165, 116, 0.5);
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 3;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Indicateur de scroll "Plus d'infos" */
.portfolio-scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: rgba(10, 18, 28, 0.85);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(212, 165, 116, 0.4);
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  animation: scrollIndicatorPulse 2s ease-in-out infinite;
  cursor: pointer;
  transition: all 0.3s ease;
}

.portfolio-scroll-indicator:hover {
  background: rgba(10, 18, 28, 0.95);
  border-color: rgba(212, 165, 116, 0.7);
  transform: translateX(-50%) translateY(-5px);
  box-shadow: 0 8px 30px rgba(212, 165, 116, 0.3);
}

.scroll-text {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-arrow {
  color: var(--primary);
  animation: scrollArrowBounce 1.5s ease-in-out infinite;
}

@keyframes scrollIndicatorPulse {
  0%, 100% {
    opacity: 0.9;
  }
  50% {
    opacity: 1;
  }
}

@keyframes scrollArrowBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* Indicateur de navigation dans les détails */
.portfolio-details-nav-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  padding: 1.2rem 2rem;
  background: rgba(212, 165, 116, 0.1);
  border: 1px solid rgba(212, 165, 116, 0.3);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-details-nav-indicator:hover {
  background: rgba(212, 165, 116, 0.2);
  border-color: rgba(212, 165, 116, 0.5);
  transform: translateX(5px);
}

.nav-indicator-text {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-indicator-arrow {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.portfolio-details-nav-indicator:hover .nav-indicator-arrow {
  transform: translateX(5px);
}

/* Bouton "Voir le projet" - Style Néon */
.portfolio-view-project-btn {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.95), rgba(15, 35, 60, 0.95));
  backdrop-filter: blur(20px);
  border: 2px solid #D4A574;
  border-radius: 50px;
  box-shadow: 0 0 20px rgba(212, 165, 116, 0.6),
              0 0 40px rgba(212, 165, 116, 0.4),
              0 0 60px rgba(212, 165, 116, 0.2),
              inset 0 0 20px rgba(212, 165, 116, 0.1);
  cursor: pointer;
  transition: all 0.4s ease;
  outline: none;
  animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.6),
                0 0 40px rgba(212, 165, 116, 0.4),
                0 0 60px rgba(212, 165, 116, 0.2),
                inset 0 0 20px rgba(212, 165, 116, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(212, 165, 116, 0.8),
                0 0 60px rgba(212, 165, 116, 0.6),
                0 0 90px rgba(212, 165, 116, 0.4),
                inset 0 0 30px rgba(212, 165, 116, 0.2);
  }
}

.portfolio-view-project-btn:hover {
  background: linear-gradient(135deg, rgba(15, 35, 60, 1), rgba(20, 45, 75, 1));
  border-color: #e7a200;
  transform: translateX(-50%) translateY(-8px) scale(1.08);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.8),
              0 0 60px rgba(255, 215, 0, 0.6),
              0 0 100px rgba(255, 215, 0, 0.4),
              0 15px 50px rgba(0, 0, 0, 0.5),
              inset 0 0 30px rgba(255, 215, 0, 0.2);
}

.view-project-text {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5),
               0 0 20px rgba(255, 215, 0, 0.3);
}

.view-project-icon {
  color: #ffffff;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.portfolio-view-project-btn:hover .view-project-icon {
  transform: translateX(8px) scale(1.1);
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.9));
}

/* MODAL PROJET DÉTAILLÉ */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  overflow-y: auto;
}

.project-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-close-btn {
  position: fixed;
  top: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212, 165, 116, 0.2);
  border: 2px solid rgba(212, 165, 116, 0.5);
  backdrop-filter: blur(10px);
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

.modal-close-btn:hover {
  background: rgba(212, 165, 116, 0.3);
  border-color: rgba(212, 165, 116, 1);
  transform: rotate(90deg);
}

.modal-content-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 100%;
  margin: 0 auto;
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Panel haut - Screenshots pleine largeur */
.modal-right-panel {
  width: 100%;
  padding: 0;
  background: rgba(5, 10, 15, 0.95);
  order: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Onglets de navigation (Screenshots / Aperçu Live) - Style Vision Pro */
.modal-view-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  justify-content: center;
}

.modal-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(244, 237, 228, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 30px;
  color: #0a1216;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.modal-tab-btn svg {
  width: 20px;
  height: 20px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
  color: #0a1216;
}

.modal-tab-btn:hover {
  background: rgba(244, 237, 228, 0.42);
  border-color: rgba(212, 165, 116, 0.45);
  color: #0a1216;
  transform: translateY(-2px);
}

.modal-tab-btn:hover svg {
  opacity: 1;
}

.modal-tab-btn.active {
  background: rgba(244, 237, 228, 0.7);
  border-color: rgba(212, 165, 116, 0.55);
  color: #0a1216;
  transform: scale(1.05);
}

.modal-tab-btn.active svg {
  opacity: 1;
}

/* Contenu des onglets */
.modal-tab-content {
  display: none;
  flex: 1;
}

.modal-tab-content.active {
  display: flex;
  flex-direction: column;
}

/* Conteneur Live Preview */
.live-preview-container {
  width: 100%;
  flex: 1;
  min-height: 0;
  background: #000;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.live-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid rgba(212, 165, 116, 0.2);
  backdrop-filter: blur(10px);
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ff4444;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #ff4444;
  border-radius: 50%;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 6px rgba(255, 68, 68, 0);
  }
}

.live-preview-title {
  font-size: 0.95rem;
  color: var(--primary-light);
  font-weight: 600;
}

.live-preview-description {
  margin: 0;
  padding: 0.75rem 1.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.live-preview-iframe {
  flex: 1;
  width: 100%;
  border: none;
  background: #fff;
  min-height: 0;
}

/* Panel bas - Informations */
.modal-left-panel {
  width: 100%;
  padding: 3rem 4rem 4rem 4rem;
  background: rgba(10, 18, 28, 0.9);
  backdrop-filter: blur(20px);
  order: 2;
}

.modal-project-header {
  margin-bottom: 2.5rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.modal-category-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(212, 165, 116, 0.2);
  border: 1px solid rgba(212, 165, 116, 0.5);
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.modal-project-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.modal-project-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 0;
}

.modal-project-details {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.modal-detail-block h3 {
  font-size: 1.3rem;
  color: var(--primary-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-detail-block p {
  color: var(--text);
  line-height: 1.8;
  font-size: 1.05rem;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.modal-tag {
  padding: 0.6rem 1.2rem;
  background: rgba(212, 165, 116, 0.1);
  border: 1px solid rgba(212, 165, 116, 0.3);
  border-radius: 20px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.modal-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.modal-metric-item {
  padding: 1.5rem;
  background: rgba(212, 165, 116, 0.05);
  border: 1px solid rgba(212, 165, 116, 0.2);
  border-radius: 12px;
  text-align: center;
}

.modal-metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.modal-metric-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.modal-screenshots-container {
  width: 100%;
  max-width: 100%;
}

.modal-screenshot-main {
  width: 100%;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  margin-bottom: 0;
  border: none;
  position: relative;
  background: #000;
}

.modal-screenshot-main img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 70vh;
  max-height: 90vh;
  object-fit: contain;
}

/* Navigation entre pages - Style Dynamic Island iPhone */
.modal-page-header {
  padding: 1.5rem 1rem 1rem 1rem;
  background: transparent;
  border: none;
  margin-bottom: 0;
  text-align: center;
  position: relative;
}

/* Indicateur "Cliquez ici" animé */
.modal-page-header::before {
  content: "👆 Cliquez pour changer de page du site";
  position: absolute;
  top: 0.3rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 600;
  opacity: 0.7;
  animation: pulseIndicator 2s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes pulseIndicator {
  0%, 100% {
    opacity: 0.5;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
  }
}

.modal-page-header h3 {
  display: none;
}

/* Dynamic Island Container */
.modal-page-nav {
  display: inline-flex;
  gap: 0.3rem;
  padding: 0.5rem 0.7rem;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 50px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-page-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(212, 165, 116, 0.3),
    rgba(212, 165, 116, 0.1),
    rgba(212, 165, 116, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.5;
}

.modal-page-nav:hover {
  transform: scale(1.05);
  box-shadow:
    0 12px 48px rgba(212, 165, 116, 0.3),
    0 0 0 1px rgba(212, 165, 116, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Boutons Dynamic Island */
.modal-page-btn {
  padding: 0.5rem 1.2rem;
  background: transparent;
  border: none;
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: capitalize;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.03em;
}

/* Effet de brillance au survol */
.modal-page-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent);
  transition: left 0.5s ease;
}

.modal-page-btn:hover::before {
  left: 100%;
}

.modal-page-btn:hover {
  color: rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
}

/* Bouton actif - Style iPhone */
.modal-page-btn.active {
  background: linear-gradient(135deg,
    var(--primary-dark),
    var(--primary),
    var(--primary-light));
  color: #000;
  font-weight: 700;
  box-shadow:
    0 4px 16px rgba(212, 165, 116, 0.6),
    0 2px 8px rgba(212, 165, 116, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: scale(1);
}

.modal-page-btn.active:hover {
  transform: scale(1.08);
  box-shadow:
    0 6px 24px rgba(212, 165, 116, 0.7),
    0 3px 12px rgba(212, 165, 116, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Animation d'apparition */
@keyframes islandAppear {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-page-nav {
  animation: islandAppear 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.modal-image-wrapper {
  position: relative;
}

/* Boutons de navigation d'images */
.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(212, 165, 116, 0.6);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal-nav-btn:hover {
  background: rgba(212, 165, 116, 0.5);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 0 30px rgba(212, 165, 116, 0.5);
}

.modal-nav-btn svg {
  width: 28px;
  height: 28px;
}

.modal-nav-prev {
  left: 2rem;
}

.modal-nav-next {
  right: 2rem;
}

.modal-screenshot-thumbnails {
  display: flex;
  gap: 0.6rem;
  padding: 1rem 1.5rem;
  background: rgba(5, 10, 15, 0.85);
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.modal-thumbnail {
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.5;
  flex-shrink: 0;
  width: 100px;
}

.modal-thumbnail:hover {
  opacity: 0.9;
  border-color: rgba(212, 165, 116, 0.6);
  transform: translateY(-3px);
}

.modal-thumbnail.active {
  opacity: 1;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(212, 165, 116, 0.5);
}

.modal-thumbnail img {
  width: 100%;
  height: 65px;
  object-fit: cover;
  display: block;
}

/* Responsive modal */
@media (max-width: 1200px) {
  .modal-left-panel {
    padding: 3rem 2rem;
  }

  .modal-project-title {
    font-size: 2rem;
  }

  .modal-screenshot-thumbnails {
    padding: 1rem 1rem;
  }

  .modal-thumbnail {
    width: 85px;
  }

  .modal-thumbnail img {
    height: 55px;
  }

  .modal-screenshot-main img {
    min-height: 60vh;
    max-height: 85vh;
  }
}

@media (max-width: 768px) {
  .modal-left-panel {
    padding: 2rem 1.5rem;
  }

  .modal-page-header {
    padding: 1.2rem 0.75rem 0.75rem 0.75rem;
  }

  .modal-page-header::before {
    font-size: 0.65rem;
    top: 0.2rem;
  }

  .modal-page-nav {
    padding: 0.4rem 0.5rem;
    gap: 0.2rem;
  }

  .modal-page-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }

  .modal-thumbnail {
    width: 75px;
  }

  .modal-thumbnail img {
    height: 50px;
  }

  .modal-screenshot-main img {
    min-height: 50vh;
    max-height: 80vh;
  }

  .modal-nav-btn {
    width: 45px;
    height: 45px;
  }

  .modal-nav-btn svg {
    width: 20px;
    height: 20px;
  }

  .modal-nav-prev {
    left: 0.5rem;
  }

  .modal-nav-next {
    right: 0.5rem;
  }
}

/* Details Section */
.portfolio-slide-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.portfolio-slide-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(212, 165, 116, 0.2);
}

.portfolio-project-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.3;
  flex: 1;
}

.portfolio-project-year {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  padding: 0.5rem 1rem;
  background: rgba(212, 165, 116, 0.1);
  border: 1px solid rgba(212, 165, 116, 0.3);
  border-radius: 8px;
}

/* Details Grid */
.portfolio-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.portfolio-detail-block {
  background: rgba(10, 18, 22, 0.4);
  border: 1px solid rgba(212, 165, 116, 0.2);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.portfolio-detail-block:hover {
  border-color: rgba(212, 165, 116, 0.4);
  background: rgba(10, 18, 22, 0.5);
}

.detail-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 165, 116, 0.1);
  border-radius: 10px;
}

.detail-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.detail-text {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.detail-list li {
  color: var(--text-light);
  font-size: 0.95rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.detail-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Footer avec tags et metrics */
.portfolio-slide-footer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 165, 116, 0.2);
}

.portfolio-tags-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.portfolio-tag-item {
  padding: 0.5rem 1.25rem;
  background: rgba(212, 165, 116, 0.1);
  border: 1px solid rgba(212, 165, 116, 0.3);
  border-radius: 6px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
}

.portfolio-metrics {
  display: flex;
  gap: 2rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.metric-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  text-shadow: 0 2px 10px rgba(212, 165, 116, 0.3);
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Navigation Buttons (Images carousel) */
.portfolio-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(10, 18, 28, 0.85);
  backdrop-filter: blur(15px);
  border: 1.5px solid rgba(212, 165, 116, 0.4);
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.portfolio-nav:hover {
  background: rgba(10, 18, 28, 0.95);
  border-color: rgba(212, 165, 116, 0.7);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.7),
              0 0 40px rgba(212, 165, 116, 0.2);
}

.portfolio-nav--prev {
  left: 2rem;
}

.portfolio-nav--next {
  right: 2rem;
}

/* Indicateurs */
.portfolio-carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.portfolio-carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(212, 165, 116, 0.3);
  border: 2px solid rgba(212, 165, 116, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.portfolio-carousel-indicator.is-active {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(212, 165, 116, 0.6);
}

.portfolio-carousel-indicator:hover:not(.is-active) {
  background: rgba(212, 165, 116, 0.5);
  transform: scale(1.15);
}

/* Responsive */
@media (max-width: 1200px) {
  .portfolio-images-carousel {
    height: 60vh;
    min-height: 400px;
  }

  .portfolio-nav--prev {
    left: 1rem;
  }

  .portfolio-nav--next {
    right: 1rem;
  }
}

@media (max-width: 768px) {
  .portfolio-carousel-title {
    font-size: 2.5rem;
  }

  .portfolio-images-carousel {
    height: 50vh;
    min-height: 350px;
    margin-bottom: 3rem;
  }

  .portfolio-project-title {
    font-size: 1.5rem;
  }

  .portfolio-details-grid {
    gap: 1.5rem;
  }

  .portfolio-detail-block {
    padding: 1.5rem;
  }

  .portfolio-metrics {
    flex-direction: column;
    gap: 1rem;
  }

  .portfolio-nav {
    width: 44px;
    height: 44px;
  }

  .portfolio-detail-slide {
    padding: 0 0.5rem;
  }
}

/* OLD PORTFOLIO PREMIUM - KEPT FOR BACKWARD COMPATIBILITY */
.section-portfolio-premium {
  position: relative;
  min-height: 100vh;
  padding: 6rem 0 8rem;
  background-image: url('../Images/bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.section-portfolio-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
    rgba(3, 8, 12, 0.94) 0%,
    rgba(8, 13, 18, 0.90) 50%,
    rgba(3, 8, 12, 0.94) 100%);
  background-blend-mode: overlay;
  z-index: 1;
}

.section-portfolio-premium::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(212, 165, 116, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(212, 165, 116, 0.06) 0%, transparent 40%);
  z-index: 1;
}

.portfolio-premium-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.portfolio-premium-hero {
  text-align: center;
  margin-bottom: 4rem;
}

.portfolio-premium-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5),
               0 0 40px rgba(212, 165, 116, 0.2);
}

.portfolio-premium-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.portfolio-filters-premium {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 0.75rem 1.75rem;
  border: 1px solid rgba(212, 165, 116, 0.3);
  background: rgba(10, 18, 22, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Montserrat', sans-serif;
}

.filter-pill:hover {
  border-color: rgba(212, 165, 116, 0.6);
  background: rgba(10, 18, 22, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.filter-pill.active {
  background: linear-gradient(135deg, #D4A574 0%, #C9A86A 100%);
  border-color: #D4A574;
  color: #0A0E14;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(212, 165, 116, 0.4),
              0 0 30px rgba(212, 165, 116, 0.2);
}

.portfolio-premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.project-card-premium {
  background: rgba(10, 18, 28, 0.65);
  border: 1px solid rgba(212, 165, 116, 0.25);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.project-card-premium:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 165, 116, 0.5);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5),
              0 0 60px rgba(212, 165, 116, 0.15);
}

.project-image-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card-premium:hover .project-image {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.7) 100%);
  opacity: 0.6;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.project-card-premium:hover .project-overlay {
  opacity: 0.8;
}

.project-category-pill {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.5rem 1.25rem;
  background: rgba(10, 18, 28, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 165, 116, 0.4);
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 3;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.project-content {
  padding: 2rem;
}

.project-title-premium {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.project-subtitle-premium {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.project-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.project-tag {
  padding: 0.4rem 1rem;
  background: rgba(212, 165, 116, 0.1);
  border: 1px solid rgba(212, 165, 116, 0.3);
  border-radius: 6px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-card-premium:hover .project-tag {
  background: rgba(212, 165, 116, 0.15);
  border-color: rgba(212, 165, 116, 0.5);
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem 2rem;
}

.project-year {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.project-link-btn {
  padding: 0.65rem 1.5rem;
  background: transparent;
  border: 1.5px solid rgba(212, 165, 116, 0.5);
  border-radius: 8px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Montserrat', sans-serif;
  display: inline-block;
}

.project-link-btn:hover {
  background: linear-gradient(135deg, #D4A574 0%, #C9A86A 100%);
  border-color: #D4A574;
  color: #0A0E14;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
  transform: translateY(-2px);
}

/* Portfolio Premium Responsive */
@media (max-width: 1200px) {
  .portfolio-premium-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .portfolio-premium-title {
    font-size: 2.5rem;
  }

  .portfolio-premium-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-image-wrapper {
    height: 250px;
  }

  .filter-pill {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }
}

/* ============================================
   SECTION OFFER - NO SCROLL SNAP
   ============================================ */
.section-offer {
  min-height: auto !important;
  padding: 5rem 0 !important;
  display: flex;
  align-items: center;
  scroll-snap-align: none !important;
}

/* ============================================
   SECTION CTA FINAL - NO SCROLL SNAP
   ============================================ */
.section-cta-final {
  min-height: auto !important;
  padding: 5rem 0 !important;
  display: flex;
  align-items: center;
  scroll-snap-align: none !important;
}

/* ============================================
   FOOTER
   ============================================ */
   .footer {
    position: relative;
    background: url('../Images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    scroll-snap-align: none;
    color: #f8f9fb;
  }

  .footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 9, 12, 0.65), rgba(5, 9, 12, 0.8));
    pointer-events: none;
    z-index: 0;
  }

  .footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 9, 12, 0.68), rgba(5, 9, 12, 0.82));
    pointer-events: none;
    z-index: 0;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
  }
  
  .footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  }
  
  .footer-tagline {
    font-size: 0.9rem;
    color: #e6edf4;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
  }
  
  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .footer-links a {
    font-size: 0.9rem;
    color: #e6edf4;
    text-decoration: none;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  }
  
  .footer-links a:hover {
    color: var(--primary-light);
  }
  
  .social-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
  }
  
  .social-link {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--bg-light);
    color: var(--text-light);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: #e6edf4;
    padding-top: 1rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  }
  
  /* ============================================
     FOOTER RESPONSIVE
     ============================================ */
  @media (max-width: 900px) {
    .footer-content {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  @media (max-width: 600px) {
    .footer-content {
      grid-template-columns: 1fr;
    }
  }
  
  /* ============================================
     SCROLL TOP BUTTON
     ============================================ */
  .scroll-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--bg-light);
    color: var(--text-light);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 9999;
  }
  
  .scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
  }

  /* ============================================
     PROCESS CIRCUIT - STYLE FUTURISTE
     ============================================ */

  /* Section principale avec fond dégradé */
  .process-circuit-section {
    background: linear-gradient(180deg, #0A1216 0%, #000000 100%);
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
  }

  .process-circuit-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
  }

  /* Titre principal */
  .process-main-title {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #D4A574;
    text-align: center;
    letter-spacing: 0.1em;
    margin-bottom: 4rem;
    font-weight: 400;
    text-transform: none;
  }

  /* Container principal de la timeline */
  .circuit-timeline {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 1rem 1rem;
    display: grid;
    gap: 2.5rem;
  }

  /* Chaque étape du circuit */
  .circuit-step {
    position: relative;
    margin: 0;
    display: flex;
    justify-content: center;
  }

  .circuit-step.step-left {
    padding-left: 0;
    justify-content: flex-start;
  }

  .circuit-step.step-right {
    display: flex;
    justify-content: flex-end;
  }

  /* Cartes avec style circuit électronique + bg.png */
  .circuit-card {
    background-image:
      linear-gradient(145deg, rgba(10, 18, 22, 0.92), rgba(18, 28, 36, 0.92)),
      url('../Images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 18px;
    border: 1px solid rgba(212, 165, 116, 0.35);
    padding: 2.25rem;
    padding-top: 3.75rem;
    max-width: 520px;
    position: relative;
    box-shadow:
      0 15px 40px rgba(0, 0, 0, 0.55),
      0 0 40px rgba(212, 165, 116, 0.15);
    transition: all 0.4s ease;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Tracés de circuit dans le coin supérieur droit */
  .circuit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: radial-gradient(circle at 20% 20%, rgba(212, 165, 116, 0.08), transparent 40%),
                radial-gradient(circle at 80% 0%, rgba(212, 165, 116, 0.08), transparent 35%);
    opacity: 0.9;
    pointer-events: none;
  }

  .circuit-card:hover {
    border-color: rgba(212, 165, 116, 0.6);
    box-shadow:
      0 0 30px rgba(212, 165, 116, 0.25),
      0 18px 50px rgba(0, 0, 0, 0.75);
    transform: translateY(-6px);
  }

  /* Bulles numérotées DANS la carte */
  .circuit-node {
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4A574 0%, #B8935E 100%);
    color: #000;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #1A2832;
    box-shadow:
      0 0 20px rgba(212, 165, 116, 0.5),
      0 0 40px rgba(212, 165, 116, 0.25),
      0 4px 12px rgba(0, 0, 0, 0.45);
    animation: nodeGlow 3s ease-in-out infinite;
    z-index: 2;
  }

  @keyframes nodeGlow {
    0%, 100% {
      box-shadow:
        0 0 25px rgba(212, 165, 116, 0.6),
        0 0 50px rgba(212, 165, 116, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.5);
    }
    50% {
      box-shadow:
        0 0 35px rgba(212, 165, 116, 0.9),
        0 0 70px rgba(212, 165, 116, 0.5),
        0 4px 20px rgba(0, 0, 0, 0.6);
    }
  }

  .circuit-card-title {
    font-size: 1.5rem;
    color: #D4A574;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
  }

  .circuit-card-text {
    color: #f9f5ee;
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 1;
  }

  /* Traits lumineux reliant les cartes */
  .circuit-step::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 3px;
    width: 220px;
    background: linear-gradient(90deg, rgba(212, 165, 116, 0.85), rgba(212, 165, 116, 0.2));
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.6), 0 0 40px rgba(212, 165, 116, 0.35);
    filter: drop-shadow(0 0 6px rgba(212, 165, 116, 0.5));
    transform: translateY(-50%);
    z-index: 0;
  }

  .circuit-step::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 90px;
    background: linear-gradient(180deg, rgba(212, 165, 116, 0.85), rgba(212, 165, 116, 0.2));
    box-shadow: 0 0 16px rgba(212, 165, 116, 0.6), 0 0 30px rgba(212, 165, 116, 0.35);
    transform: translate(-50%, 0);
    z-index: 0;
  }

  .circuit-step.step-left::after {
    left: 50%;
  }

  .circuit-step.step-right::after {
    left: calc(50% - 220px);
    background: linear-gradient(270deg, rgba(212, 165, 116, 0.85), rgba(212, 165, 116, 0.2));
  }

  .circuit-step:last-child::before,
  .circuit-step:last-child::after {
    display: none;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .circuit-timeline {
      padding: 1rem 0.5rem;
    }

    .circuit-step {
      flex-direction: column;
      gap: 1.5rem;
      margin-bottom: 3rem;
    }

    .circuit-step.step-left,
    .circuit-step.step-right {
      justify-content: center;
    }

    .circuit-card {
      max-width: 100%;
      padding: 2rem;
    }

    .circuit-node {
      width: 60px;
      height: 60px;
      font-size: 1.3rem;
    }

    .process-main-title {
      font-size: 1.8rem;
      letter-spacing: 0.05em;
      margin-bottom: 2rem;
    }

    .circuit-step::before,
    .circuit-step::after {
      display: none;
    }
  }


  /* ============================================
     ANIMATIONS GÉNÉRALES
     ============================================ */
/* Test synchronisation */
