/* ===== STYLES MOBILE POUR LE HEADER ===== */

@media (max-width: 768px) {
  nav {
    padding: 1rem 5%;
  }

  .logo-container img {
    height: 70px;
  }

  .header-nav {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
    z-index: 1100;
  }

  .hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform-origin: center;
  }

  .hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: #062f66;
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: #062f66;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .mobile-menu.open {
    opacity: 1;
    pointer-events: all;
  }

  .mobile-menu a.mobile-menu-link {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(28px, 8vw, 48px);
    letter-spacing: 0.02em;
    color: rgba(6, 47, 102, 0.3);
    text-decoration: none;
    line-height: 1.3;
    transform: translateY(20px);
    opacity: 0;
    transition: color 0.2s ease, transform 0.4s ease, opacity 0.4s ease;
    font-weight: 700;
  }

  .mobile-menu.open a.mobile-menu-link {
    transform: translateY(0);
    opacity: 1;
  }

  .mobile-menu.open a.mobile-menu-link:nth-child(1) { transition-delay: 0.05s; }
  .mobile-menu.open a.mobile-menu-link:nth-child(2) { transition-delay: 0.10s; }
  .mobile-menu.open a.mobile-menu-link:nth-child(4) { transition-delay: 0.15s; }
  .mobile-menu.open a.mobile-menu-link:nth-child(5) { transition-delay: 0.20s; }

  .mobile-menu a.mobile-menu-link:hover,
  .mobile-menu a.mobile-menu-link:active {
    color: #062f66;
  }

  .mobile-menu-solutions {
    position: relative;
  }

  .mobile-menu-solutions::after {
    content: '+';
    display: inline-block;
    margin-left: 10px;
    font-size: 0.7em;
    transition: transform 0.3s ease;
    vertical-align: middle;
  }

  .mobile-menu-solutions.submenu-open::after {
    content: '-';
  }

  .mobile-submenu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0;
  }

  .mobile-submenu.open {
    max-height: 300px;
    padding: 0.5rem 0 0.8rem;
  }

  .mobile-submenu-link {
    font-family: 'Poppins', sans-serif;
    font-size: 14px !important;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(6, 47, 102, 0.45) !important;
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.2s ease;
  }

  .mobile-submenu-link:hover {
    color: #062f66 !important;
  }

  .mobile-menu-cta {
    margin-top: 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffffff !important;
    background: #062f66;
    padding: 14px 36px;
    border-radius: 50px;
  }

  .mobile-menu-cta:hover {
    color: #ffffff !important;
    background: #1576ad;
  }

  .mobile-menu-bar {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
  }

  .mobile-menu-bar a {
    font-family: 'Poppins', sans-serif;
    font-size: 11px !important;
    letter-spacing: 0.15em;
    color: rgba(6, 47, 102, 0.45) !important;
    text-transform: uppercase;
    opacity: 1 !important;
    transform: none !important;
    transition: color 0.2s ease !important;
    text-decoration: none;
  }

  .mobile-menu-bar a:hover {
    color: #062f66 !important;
  }
}

/* ===== RESPONSIVE - TABLET ===== */
@media (max-width: 1024px) {
  .simple-video-banner {
    height: 55vh;
  }

  .slideshow-item {
    flex-direction: column;
    gap: 3rem;
  }

  .slideshow-content,
  .slideshow-image {
    max-width: 100%;
  }

  .slideshow-image {
    order: -1;
  }

  .why-redesign-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .why-cta-modern {
    flex-direction: column;
    text-align: center;
    padding: 3rem 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary-modern,
  .btn-secondary-modern {
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .packs-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative;
  }

  * {
    max-width: 100vw;
  }

  .container,
  .section,
  .hero-banners-container {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  @media (max-width: 768px) {
    .hero-website {
      padding: 9rem 5% 3rem !important;
    }

    .hero-content-website {
      grid-template-columns: 1fr !important;
      gap: 2rem !important;
    }
  }
  /* Vidéo intro mobile */
  .intro-video-desktop {
    display: none !important;
  }

  .intro-video-mobile {
    display: block !important;
  }

  .skip-intro {
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    font-size: 13px;
  }

  /* ── HERO BANNER mobile ── */
  .hero-banner-animated {
    min-height: unset !important;
    max-height: 480px !important;
    height: 480px !important;
    align-items: flex-end !important;
    padding-bottom: 3rem !important;
    position: relative !important;
  }

  /* Dans @media (max-width: 768px) */

  .hba-content {
    padding-top: 1rem !important;
    padding-bottom: 0 !important;
    justify-content: flex-end !important;
    margin-top: auto !important;
    align-self: flex-end !important;
    gap: 0 !important;           /* ← AJOUT : supprime l'espace entre headline et carousel */
  }

  .hba-carousel-row {
    margin-top: 0 !important;    /* ← AJOUT : annule le margin-top du carousel */
  }

  .hba-word-slot {
    height: 80px !important;     /* ← réduit de 100px à 60px */
  }

  /* Simple Video Banner Mobile */
  .simple-video-banner {
    height: 60vh;
  }

  .banner-video-desktop {
    display: none;
  }

  .banner-video-mobile-simple {
    display: block;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    object-fit: cover;
  }

  /* 4 FEATURES MOBILE */
  .partners-section {
    background: white;
    padding: 1.5rem 5%;
    margin: 0;
    position: relative;
    z-index: 1;
  }

  .partners-section .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0.8rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  }

  .partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    align-items: center;
    justify-items: center;
  }

  .partner-item {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.4rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .partner-item img {
    width: 100%;
    height: auto;
    max-height: 30px;
    object-fit: contain;
  }

  .partner-title {
    margin-top: 0.3rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: #062f66;
    text-align: center;
  }

  /* =====================================================
     NOS SOLUTIONS DIGITAL — MOBILE SLIDER AVEC FLECHES
     ===================================================== */
  .hero-banners-header {
    padding: 2.5rem 5% 1.5rem;
  }

  .hero-banners-subtitle {
    font-size: 1.8rem;
  }

  .hero-banners-title {
    font-size: 1rem;
  }

  .hero-banners-section {
    padding: 0 0 2rem;
    background: #ffffff;
  }

  .solutions-grid {
    display: block;
    position: relative;
    overflow: hidden;
  }

  .solution-item {
    display: none;
    width: 100%;
    margin: 0 auto;
    border-radius: 0;
    min-height: 400px;
    position: relative;
    overflow: visible !important;
  }

  .solution-item.active {
    display: block;
  }

  .solution-item video,
  .solution-item img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
  }

  .solution-overlay {
    padding: 1.5rem;
    opacity: 1;
  }

  .solution-overlay h3 {
    font-size: 1.5rem;
  }

  .solution-overlay p {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
  }

  /* Navigation dots */
  .solutions-navigation {
    display: flex !important;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0 1.5rem;
  }

  .solution-dot {
    width: 12px;
    height: 12px;
    background: rgba(6, 47, 102, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
  }

  .solution-dot.active {
    width: 40px;
    height: 12px;
    background: #062f66;
    border-radius: 6px;
  }

  .solutions-cta {
    display: none;
  }

  /* Flèches de navigation dans l'image */
  .solution-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  }

  .solution-arrow svg {
    width: 20px;
    height: 20px;
    stroke: #062f66;
    flex-shrink: 0;
  }

  .solution-arrow:active {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(0.92);
  }

  .solution-arrow-prev { left: 14px; }
  .solution-arrow-next { right: 14px; }

  /* =====================================================
     PROCESSUS — STYLE MOBILE
     ===================================================== */
  .process {
    overflow: hidden !important;
    max-width: 100vw !important;
    background: #f0f4f9 !important;
    padding: 3rem 0 3.5rem !important;
  }

  .process .container {
    overflow: visible !important;
    max-width: 100% !important;
    padding-left: 5% !important;
    padding-right: 5% !important;
  }

  .process .section-header {
    margin-bottom: 2rem !important;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
    position: relative !important;
    overflow: visible !important;
    margin-top: 0 !important;
  }

  .process-grid::before,
  .process-grid::after {
    display: none !important;
  }

  .process-step {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 18px rgba(6, 47, 102, 0.12) !important;
    background: #ffffff !important;
    text-align: left !important;
    opacity: 1 !important;
    transform: none !important;
    position: relative !important;
    margin-bottom: 0 !important;
    border: none !important;
  }

  .process-step:hover {
    transform: none !important;
    box-shadow: 0 6px 22px rgba(6, 47, 102, 0.18) !important;
  }

  .step-number-badge {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    transform: none !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
    background: #062f66 !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 5 !important;
    flex-shrink: 0 !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25) !important;
  }

  .step-icon-circle {
    width: 100% !important;
    height: 130px !important;
    min-height: 130px !important;
    min-width: unset !important;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    display: block !important;
    box-shadow: none !important;
    background: #e8eef6 !important;
    flex-shrink: 0 !important;
  }

  .step-icon-circle img {
    width: 100% !important;
    height: 130px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    border-radius: 0 !important;
    padding: 12px !important;
    box-sizing: border-box !important;
  }

  .step-card-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0.9rem 1rem 1rem !important;
    box-shadow: none !important;
    border: none !important;
    flex: 1 !important;
  }

  .step-text-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.3rem !important;
  }

  .process-step h3 {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #062f66 !important;
    margin: 0 0 0.25rem !important;
    line-height: 1.3 !important;
  }

  .process-step p {
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
    color: #6b7280 !important;
    margin: 0 !important;
  }

  /* =====================================================
     NOS DERNIERS PROJETS — MOBILE SCROLL 85%
     ===================================================== */
  .projects-scroll-section {
    padding: 0 0 2.5rem 0;
  }

  .projects-scroll-track {
    gap: 1rem;
    padding: 1rem 0 1rem 5%;
  }

  /* Premier projet : léger espace visible à gauche */
  .projects-scroll-track .project-card:first-child {
    margin-left: 0;
    scroll-margin-left: 5%;
  }

  .projects-scroll-track .project-card:last-child {
    margin-right: 5vw;
  }

  .project-card {
    flex: 0 0 85vw !important;
    min-width: 85vw !important;
    max-width: 85vw !important;
    height: 380px !important;
    border-radius: 16px !important;
  }

  /* Overlay toujours visible sur mobile */
  .project-card-overlay {
    transform: translateY(0) !important;
    opacity: 1 !important;
  }

  /* Navigation mobile */
  .projects-scroll-nav {
    margin: 1.2rem 5% 0;
    gap: 1.2rem;
  }

  .pscroll-arrow {
    width: 40px !important;
    height: 40px !important;
  }

  .pscroll-arrow svg {
    width: 18px !important;
    height: 18px !important;
  }

  .pscroll-progress {
    max-width: 160px;
  }

  .section {
    padding: 4rem 5%;
  }

  /* ── SECTION PACKS - MOBILE ── */
  .packs-special-section {
    padding: 4rem 5%;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  }

  .packs-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .packs-content {
    order: 1;
    text-align: center;
    padding: 0;
    margin-bottom: 2rem;
  }

  .packs-badge {
    display: inline-block;
    margin: 0 auto 1.5rem;
    font-size: 0.7rem;
    padding: 0.5rem 1.5rem;
  }

  .packs-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .packs-image {
    display: none !important;
  }

  .packs-badge-overlay {
    top: 1.5rem;
    right: 1.5rem;
    padding: 1rem 1.2rem;
  }

  .badge-promo {
    font-size: 2rem;
  }

  .badge-text {
    font-size: 0.75rem;
  }

  .packs-description {
    text-align: center;
    margin: 0 auto 1.5rem;
    font-size: 1rem;
  }

  .packs-features {
    text-align: left;
    max-width: 400px;
    margin: 0 auto 2rem;
  }

  .packs-features li {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
  }

  .packs-features svg {
    width: 28px;
    height: 28px;
  }

  .btn-packs-discover {
    width: 100%;
    max-width: 400px;
    text-align: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  /* Why Accordion Mobile */
  .why-choose-accordion {
    padding: 2rem 5%;
  }

  .why-accordion-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .why-accordion-left {
    position: relative;
    top: 0;
  }

  .why-accordion-title {
    font-size: 2rem;
  }

  .why-accordion-description {
    font-size: 1rem;
  }

  .why-accordion-left .btn-contact-accordion {
    display: none;
  }

  .accordion-header {
    font-size: 1rem;
    padding: 1.5rem 1.5rem;
  }

  .accordion-item.active .accordion-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }

  .accordion-item:last-child {
    margin-bottom: 2rem;
  }

  .btn-contact-accordion-mobile {
    display: flex !important;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    background: #1576ad;
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 0;
  }

  /* =================================================
     TEMOIGNAGES MOBILE
     ================================================= */
  @media (max-width: 768px) {

    /* ── Conteneur section ── */
    .testimonials-banner-section {
      padding: 3.5rem 0 3rem !important;
      background:linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
      overflow: hidden !important;
    }

    .testimonials-banner-section .section-subtitle {
      color: var(--primary) !important;
      letter-spacing: 4px !important;
      font-size: 0.7rem !important;
    }

    .testimonials-banner-section .section-title {
      color: #062f66 !important;
      font-size: 2rem !important;
      font-weight: 800 !important;
      margin-bottom: 0 !important;
    }

    .testimonials-banner-section .section-header {
      padding: 0 6% !important;
      margin-bottom: 2.5rem !important;
      text-align: left !important;
    }

    /* ── Désactiver le scroll auto desktop ── */
    .testimonials-banner-wrapper {
      overflow: hidden !important;
      padding: 0 !important;
      position: relative !important;
    }

    .testimonials-banner-wrapper::before,
    .testimonials-banner-wrapper::after {
      display: none !important;
      content: none !important;
      background: none !important;
    }

    /* ── Track : slider manuel ── */
    #testimonialsTrack {
      animation: none !important;
      display: flex !important;
      flex-wrap: nowrap !important;
      gap: 0 !important;
      width: 100% !important;
      transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1) !important;
      will-change: transform !important;
    }

    /* ── Masquer les clones desktop ── */
    .testimonials-banner-section .testimonial-card-banner.testi-clone {
      display: none !important;
    }

    /* ── Chaque carte ── */
    .testimonials-banner-section .testimonial-card-banner {
      min-width: 100vw !important;
      max-width: 100vw !important;
      height: auto !important;
      min-height: unset !important;
      margin: 0 !important;
      padding: 0 !important;
      background: transparent !important;
      border: none !important;
      box-shadow: none !important;
      border-radius: 0 !important;
      flex-shrink: 0 !important;
      box-sizing: border-box !important;
      display: flex !important;
      align-items: stretch !important;
      transform: none !important;
    }

    /* ── Contenu interne de chaque carte ── */
    .testimonials-banner-section .testimonial-card-banner::after {
      /* pseudo utilisé comme wrapper visuel */
      display: none !important;
    }

    /* On réutilise les éléments internes avec nouveau look */

    /* Étoiles */
    .testimonials-banner-section .testimonial-stars-banner {
      font-size: 1rem !important;
      letter-spacing: 2px !important;
      margin-bottom: 1.2rem !important;
      display: block !important;
    }

    /* Texte du témoignage */
    .testimonials-banner-section .testimonial-text-banner {
      font-size: 1.05rem !important;
      line-height: 1.75 !important;
      color: #4A5568 !important;
      font-style: italic !important;
      font-weight: 400 !important;
      margin-bottom: 1.8rem !important;
      min-height: unset !important;
      font-family: 'Poppins', sans-serif !important;
      position: relative !important;
      padding-left: 1.6rem !important;
    }

    /* Guillemet décoratif */
    .testimonials-banner-section .testimonial-text-banner::before {
      content: '\201C' !important;
      position: absolute !important;
      left: 0 !important;
      top: -4px !important;
      font-size: 2.8rem !important;
      line-height: 1 !important;
      color: rgba(6, 47, 102, 0.15) !important;
      font-family: Georgia, serif !important;
      font-style: normal !important;
    }

    /* Auteur */
    .testimonials-banner-section .testimonial-author-banner {
      display: flex !important;
      align-items: center !important;
      gap: 1rem !important;
      padding-top: 1.4rem !important;
      border-top: 2px solid rgba(6, 47, 102, 0.08) !important;
      margin-top: auto !important;
    }

    .testimonials-banner-section .author-avatar-banner {
      width: 46px !important;
      height: 46px !important;
      min-width: 46px !important;
      border-radius: 14px !important;
      background: linear-gradient(135deg, #1576ad 0%, #062f66 100%) !important;
      border: none !important;
      font-size: 0.85rem !important;
      font-weight: 700 !important;
      color: #ffffff !important;
      box-shadow: 0 4px 14px rgba(6, 47, 102, 0.25) !important;
    }

    .testimonials-banner-section .author-info-banner h4 {
      font-size: 0.92rem !important;
      font-weight: 700 !important;
      color: #1A1A1A !important;
      margin-bottom: 0.2rem !important;
    }

    .testimonials-banner-section .author-info-banner p {
      font-size: 0.75rem !important;
      color: #718096 !important;
      font-weight: 400 !important;
      text-transform: none !important;
      letter-spacing: 0 !important;
    }

    /* ── Wrapper visuel de chaque carte ── */
    .testimonials-banner-section .testimonial-card-banner {
      padding: 2rem 6% 2.5rem !important;
      flex-direction: column !important;
      justify-content: flex-start !important;
      background: white !important;
    }

    /* ── Numéro de slide (déco) ── */
    .testi-slide-counter {
      display: block !important;
      font-size: 5rem !important;
      font-weight: 900 !important;
      color: rgba(6, 47, 102, 0.04) !important;
      font-family: 'Poppins', sans-serif !important;
      line-height: 1 !important;
      margin-bottom: -1rem !important;
      margin-left: -0.2rem !important;
      letter-spacing: -4px !important;
      pointer-events: none !important;
    }

    /* ── Navigation mobile ── */
    .testimonials-mobile-nav {
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      padding: 0 6% !important;
      margin-top: 1rem !important;
    }

    /* Dots */
    .testi-dots {
      display: flex !important;
      gap: 6px !important;
      align-items: center !important;
    }

    .testi-dot {
      width: 6px !important;
      height: 6px !important;
      border-radius: 50% !important;
      background: rgba(6, 47, 102, 0.2) !important;
      cursor: pointer !important;
      border: none !important;
      padding: 0 !important;
      transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
      flex-shrink: 0 !important;
    }

    .testi-dot.active {
      width: 32px !important;
      height: 6px !important;
      border-radius: 3px !important;
      background: #062f66 !important;
      box-shadow: none !important;
    }

    /* Flèches */
    .testi-arrow {
      width: 44px !important;
      height: 44px !important;
      border-radius: 12px !important;
      background: white !important;
      border: 1.5px solid #d1dbe8 !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      cursor: pointer !important;
      transition: all 0.25s ease !important;
      flex-shrink: 0 !important;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
    }

    .testi-arrow svg {
      stroke: #062f66 !important;
      width: 18px !important;
      height: 18px !important;
      transition: stroke 0.2s !important;
    }

    .testi-arrow:active {
      background: #062f66 !important;
      border-color: #062f66 !important;
      transform: scale(0.92) !important;
    }

    .testi-arrow:active svg {
      stroke: white !important;
    }

    /* ── Ligne décorative supérieure ── */
    .testimonials-banner-section::before {
      content: '' !important;
      display: block !important;
      width: 40px !important;
      height: 3px !important;

      margin: 0 0 0 6% !important;
      border-radius: 2px !important;
      margin-bottom: 2rem !important;
    }

  }

  /* FAQ Mobile */
  .faq-section {
    padding: 4rem 5%;
  }

  .faq-question {
    padding: 1.4rem 1.5rem;
    font-size: 1rem;
  }

  .faq-answer p {
    font-size: 0.95rem;
  }

  .faq-cta {
    padding: 2.5rem 2rem;
  }

  .faq-cta h3 {
    font-size: 1.5rem;
  }

  .faq-cta p {
    font-size: 1rem;
  }

  .cta-buttons-centered {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: center !important;
    width: 100% !important;
  }

  .cta-buttons-centered .btn {
    width: 100% !important;
    max-width: 340px !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .why-cta-modern {
    padding: 2.5rem 1.5rem;
    margin-top: 3rem;
  }

  .cta-content-left h3 {
    font-size: 1.5rem;
  }

  .cta-content-left p {
    font-size: 1rem;
  }

  .cta-buttons {
    width: 100%;
  }

  .btn-primary-modern,
  .btn-secondary-modern {
    width: 100%;
    text-align: center;
  }

  /* Footer Mobile */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-social-icons {
    gap: 12px;
    margin-top: 15px;
    justify-content: flex-start;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .social-icon img {
    width: 20px;
    height: 20px;
  }

  /* Cookie Banner Mobile */
  .termsfeed-com---nb {
    padding: 14px 16px !important;
  }

  .termsfeed-com---nb .cc-nb-content {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .termsfeed-com---nb .cc-nb-desc {
    max-width: 100% !important;
    text-align: center !important;
  }

  .termsfeed-com---nb .cc-nb-buttons-container {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
}

/* ===== RESPONSIVE - SMALL MOBILE ===== */
@media (max-width: 480px) {
  .why-redesign-card {
    padding: 2rem 1.5rem;
  }

  .why-redesign-card h3 {
    font-size: 1.2rem;
  }

  .why-redesign-card p {
    font-size: 0.9rem;
  }

  .faq-question {
    padding: 1.2rem 1rem;
    font-size: 0.95rem;
  }

  .faq-answer p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .faq-cta {
    padding: 2rem 1.5rem;
    margin-top: 3rem;
  }

  .faq-cta h3 {
    font-size: 1.3rem;
  }

  .faq-cta p {
    font-size: 0.95rem;
  }

  .packs-title {
    font-size: 1.6rem;
  }

  .packs-description {
    font-size: 0.95rem;
  }

  .packs-features li {
    font-size: 0.9rem;
  }

  .btn-packs-discover {
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
  }

  .solution-item video,
  .solution-item img {
    width: 100%;
    height: 100%;
  }

  .partners-section .container {
    padding: 0.5rem;
  }

  .partners-grid {
    gap: 0.4rem;
  }

  .partner-item {
    padding: 0.5rem 0.3rem;
  }

  .partner-item img {
    max-height: 25px;
  }

  .partner-title {
    font-size: 0.6rem;
    margin-top: 0.2rem;
  }

  .testimonials-banner-section .testimonial-card-banner {
    min-width: calc(88vw - 1rem) !important;
    max-width: calc(88vw - 1rem) !important;
    padding: 1.5rem !important;
  }

  .project-card {
    height: 300px !important;
  }
}

/* ═══════════════════════════════════════════════════
   REDESIGN TABS SITE-INTERNET — GRILLE 2x2 MOBILE
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-banners-header {
    display: block !important;
  }

  .tabs-section {
    background: linear-gradient(160deg, #f5f7fa 0%, #e8edf4 100%) !important;
    padding: 0 !important;
  }

  .tabs-section-inner {
    padding: 0 !important;
    background: transparent !important;
  }

  .tabs-navigation {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    padding: 1rem 4% 0 !important;
    background: transparent !important;
    border-bottom: none !important;
    overflow: visible !important;
  }

  .tab-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    padding: 1rem 0.5rem !important;
    background: rgba(255,255,255,0.6) !important;
    border: 1px solid rgba(21,118,173,0.1) !important;
    border-bottom: none !important;
    border-radius: 10px 10px 0 0 !important;
    cursor: pointer !important;
    transition: all 0.22s ease !important;
    box-shadow: none !important;
    position: relative !important;
    transform: none !important;
    top: 0 !important;
    min-height: 75px !important;
  }

  .tab-btn:nth-child(1) { margin-right: 0.25rem !important; }
  .tab-btn:nth-child(2) { margin-left: 0.25rem !important; }
  .tab-btn:nth-child(3) { margin-right: 0.25rem !important; }
  .tab-btn:nth-child(4) { margin-left: 0.25rem !important; }

  .tab-icon-wrapper {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    transition: all 0.22s ease !important;
  }

  .tab-emoji {
    font-size: 1.1rem !important;
  }

  .tab-text-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
    text-align: center !important;
  }

  .tab-label-main {
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    color: #5a6a7a !important;
    line-height: 1.3 !important;
    text-align: center !important;
    transition: color 0.22s ease !important;
    white-space: normal !important;
    max-width: 110px !important;
  }

  .tab-label-sub {
    display: none !important;
  }

  .tab-active-indicator {
    display: none !important;
  }

  .tab-btn.active {
    background: white !important;
    border-color: rgba(21,118,173,0.2) !important;
    border-bottom: 3px solid white !important;
    box-shadow: 0 -3px 12px rgba(21, 118, 173, 0.12) !important;
    transform: none !important;
    z-index: 2 !important;
  }

  .tab-btn.active .tab-icon-wrapper {
    background: linear-gradient(135deg, #1576ad, #062f66) !important;
    box-shadow: 0 3px 10px rgba(21, 118, 173, 0.3) !important;
  }

  .tab-btn.active .tab-emoji {
    filter: brightness(10) !important;
  }

  .tab-btn.active .tab-label-main {
    color: #1576ad !important;
    font-weight: 700 !important;
  }

  .tab-content {
    background: #ffffff !important;
    padding: 2rem 4% 2.5rem !important;
    margin: 0 !important;
    box-shadow: 0 4px 20px rgba(6,47,102,0.06) !important;
    border-top: 3px solid #1576ad !important;
  }

  .tabs-section-inner::after {
    display: none !important;
  }
}

/* ── HERO SITE-INTERNET : IMAGE ENTRE TEXTE ET BOUTONS SUR MOBILE ── */
@media (max-width: 768px) {
  .hero-text-website .hero-image-mobile {
    display: block !important;
    width: 100% !important;
    margin: 1.2rem 0 1.4rem !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .hero-text-website .hero-image-mobile img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 14px !important;
  }

  .hero-image-desktop {
    display: none !important;
  }

  .hero-content-website {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    grid-template-columns: unset !important;
  }

  .hero-text-website {
    width: 100% !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .hero-text-website h1 { text-align: center !important; }
  .hero-text-website p  { text-align: center !important; }

  .hero-buttons-website {
    justify-content: center !important;
    flex-wrap: wrap !important;
    width: 100% !important;
  }

  /* Temoignages slider manuel */
  .testimonials-banner-wrapper::before,
  .testimonials-banner-wrapper::after {
    display: none !important;
    content: none !important;
    background: none !important;
  }

  #testimonialsTrack {
    animation: none !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform;
    gap: 0 !important;
  }

  .testimonials-banner-section .testimonial-card-banner {
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 1.6rem 1.2rem 2rem !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    height: auto !important;
    min-height: unset !important;
  }

  .testimonials-banner-section .testimonial-text-banner {
    min-height: unset !important;
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    margin-bottom: 1.2rem !important;
  }

  .testimonials-banner-wrapper {
    overflow: hidden !important;
    padding: 0.5rem 0 0 !important;
  }

  .testimonials-banner-section .testimonial-card-banner.testi-clone {
    display: none !important;
  }

  .testimonials-mobile-nav {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 1.2rem;
  }

  .testi-arrow {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50%;
    background: white;
    border: 1.5px solid #d1dbe8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.25s ease;
    flex-shrink: 0;
  }

  .testi-arrow svg {
    stroke: #062f66;
    width: 16px !important;
    height: 16px !important;
  }

  .testi-arrow:active {
    background: #062f66;
    border-color: #062f66;
    transform: scale(0.9);
  }

  .testi-arrow:active svg {
    stroke: white;
  }

  .testi-dots {
    display: flex;
    gap: 7px;
    align-items: center;
  }

  .testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(6, 47, 102, 0.25);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
  }

  .testi-dot.active {
    width: 28px;
    height: 8px;
    border-radius: 4px;
    background: #062f66;
  }
}

/* Stats chatbot sur une ligne */
.stats-grid {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 0.5rem !important;
  flex-wrap: nowrap !important;
}

.stat-item {
  flex: 1 !important;
  min-width: 0 !important;
  text-align: center !important;
  padding: 0.8rem 0.3rem !important;
}

.stat-number {
  font-size: 1.3rem !important;
  white-space: nowrap !important;
}

.stat-label {
  font-size: 0.65rem !important;
  white-space: normal !important;
  line-height: 1.3 !important;
}

/* ── PACK INCLUDES — mobile ── */
@media (max-width: 768px) {
  .pack-includes-row {
    gap: 0.4rem;
    margin: 0.8rem 0 1.4rem;
    order: -1;
  }

  .pack-includes-item {
    padding: 0.4rem 0.5rem;
    border-radius: 7px;
    flex-direction: row;
    gap: 0.3rem;
  }

  .pack-includes-icon {
    font-size: 0.85rem;
  }

  .pack-includes-label {
    font-size: 0.58rem;
  }
}

/* ── PACK SECTION MOBILE : ordre des elements ── */
@media (max-width: 768px) {
  .packs-content {
    display: flex !important;
    flex-direction: column !important;
  }

  .packs-badge       { order: 1 !important; }
  .packs-title       { order: 2 !important; }
  .pack-includes-row { order: 3 !important; margin-top: 0.8rem !important; }
  .packs-description { order: 4 !important; }
  .packs-features    { order: 5 !important; }
  .btn-packs-discover { order: 6 !important; }
}

/* ── PACK VIDEO MOBILE ── */
.pack-video-mobile {
  display: none;
}

@media (max-width: 768px) {
  .pack-video-mobile {
    display: block !important;
    order: 4 !important;
    width: 100% !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    margin: 1rem 0 !important;
  }

  .pack-video-mobile video {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 14px !important;
    object-fit: cover !important;
  }

  .packs-badge       { order: 1 !important; }
  .packs-title       { order: 2 !important; }
  .pack-includes-row { order: 3 !important; margin-top: 0.8rem !important; }
  .pack-video-mobile { order: 4 !important; }
  .packs-description { order: 5 !important; }
  .packs-features    { order: 6 !important; }
  .btn-packs-discover { order: 7 !important; }
}

/* ── PROCESS-CONTAINER 2x2 SUR MOBILE (pages services) ── */
@media (max-width: 768px) {
  .process-section .container {
    padding-left: 4% !important;
    padding-right: 4% !important;
  }

  .process-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
  }

  .process-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    background: transparent !important;
    border-radius: 14px !important;
    padding: 1.2rem 0.8rem !important;
    box-shadow: none !important;
  }

  .process-number {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    color: rgba(255,255,255,0.8) !important;
    background: rgba(255,255,255,0.15) !important;
    border-radius: 20px !important;
    padding: 0.15rem 0.5rem !important;
    margin-bottom: 0.5rem !important;
    letter-spacing: 0.05em !important;
  }

  .process-icon {
    width: 56px !important;
    height: 56px !important;
    margin-bottom: 0.6rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    filter: brightness(0) invert(1) !important;
  }

  .process-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  .process-card h3 {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 0.3rem !important;
    line-height: 1.3 !important;
  }

  .process-card p {
    font-size: 0.68rem !important;
    color: rgba(255,255,255,0.75) !important;
    line-height: 1.4 !important;
    margin: 0 !important;
  }
}

/* ── LOGO DANS LE MENU HAMBURGER MOBILE ── */
.nav-links .nav-logo-mobile {
  display: none !important;
}

@media (max-width: 768px) {
  .nav-links .nav-logo-mobile {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1.2rem 0 0.8rem !important;
    border-bottom: 1px solid rgba(255,255,255,0.12) !important;
    margin-bottom: 0.5rem !important;
  }
  .nav-links .nav-logo-mobile img {
    height: 60px !important;
    width: auto !important;
    object-fit: contain !important;
  }
}

/* ── TIKTOK : masque sur desktop, visible mobile uniquement ── */
.nav-tiktok-mobile {
  display: none !important;
}

@media (max-width: 768px) {
  .nav-tiktok-mobile {
    display: flex !important;
  }
}

/* ── ICONES RESEAUX SOCIAUX DANS LE MENU MOBILE ── */
@media (max-width: 768px) {
  .nav-links .nav-social-icons {
    flex-direction: row !important;
    gap: 0.4rem !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0.8rem 0 !important;
  }

  .nav-links .nav-social-icons a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.08) !important;
    transition: background 0.2s !important;
  }

  .nav-links .nav-social-icons a:hover {
    background: rgba(255,255,255,0.18) !important;
  }
}

/* ── LOGO HEADER ── */
@media (max-width: 768px) {
  .logo-container img {
    height: 65px !important;
    width: auto !important;
  }
}

/* Réseaux sociaux plateformes mobile */
@media (max-width: 768px) {
  .social-platforms-row {
    gap: 1rem;
  }

  .social-platform-item {
    min-width: 80px;
    padding: 1.2rem 1rem;
  }

  .social-platform-item img {
    width: 40px;
    height: 40px;
  }

  .social-platform-item span {
    font-size: 0.75rem;
  }
}

/* ══════════════════════════════════════════════════════
   HERO SCROLL CTA — BOUTON "VOIR LES RÉALISATIONS"
   Visible UNIQUEMENT sur mobile, UNIQUEMENT sur index
   ══════════════════════════════════════════════════════ */

/* Caché par défaut sur tous les écrans */
.hero-scroll-cta {
  display: none;
}

@media (max-width: 768px) {
  .hero-scroll-cta {
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;
    position: absolute;
    bottom: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.92);
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    z-index: 10;
    padding: 0.55rem 1.2rem 0.55rem 1.4rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.15);
    transition: background 0.25s ease, box-shadow 0.25s ease;
  }

  .hero-scroll-cta svg {
    flex-shrink: 0;
    animation: heroArrowBounce 1.6s ease-in-out infinite;
  }

  .hero-scroll-cta:active {
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  }

  @keyframes heroArrowBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(4px); }
  }
}
@media (max-width: 768px) {
  .hba-word {
    font-size: clamp(14px, 3vw, 20px) !important;
  }
}