/* ============================================
   EXPERTISE.CSS - STYLES PARTAGÉS
   Classes communes aux pages:
   - strategies-marketing.html
   - data-management.html
   
   Les styles spécifiques à publicites-digitales.html
   ont été extraits vers styles/pages/publicites-digitales.css
   ============================================ */




/* ============================================
   HERO SECTION - Styles consolidés
   ============================================ */

html {
  scroll-behavior: smooth;
}

/* Hero - Structure principale (layout dans styles/layouts/hero-split.css) */

/* Hero - Frame PDF (utilisé par strategies-marketing) */
.hero-pdf-frame {
  display: inline-block;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--white-10);
  background: var(--white-04);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.hero-pdf-frame img {
  display: block;
  max-width: 100%;
  height: auto;
}


/* ============================================
   CHIPS & QUALITE SECTION (utilisé par strategies)
   ============================================ */

  .chips-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .chips-row {
    display: flex;
    justify-content: center;
    gap: 30px;
  }


  
  .chip {
    position: relative;
    padding: 0 20px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-blue);
    background: var(--blue-extra-light);
    border: 1px solid var(--border-light);
    cursor: default;
    white-space: nowrap;
    animation: floaty 4s ease-in-out infinite;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .chip:hover{
    background: var(--brand-blue);
    color: var(--bg-white);
    border-color: var(--brand-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--blue-25);
  }

  .chip::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: 120%;
    transform: translateX(-50%);
    width: 300px;
    padding: 8px 10px;
    border-radius: 6px;
    background: var(--text-primary);
    color: var(--bg-white);
    font-size: 14px;
    line-height: 1.3;
    text-align: left;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 10;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .chip::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 112%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: var(--text-primary) transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.18s ease;
    z-index: 9;
  }

  .chip:hover::after,
  .chip:hover::before {
    opacity: 1;
  }

  .chip:hover::after {
    transform: translate(-50%, -4px);
  }

  /* un léger randomisation visuelle pour rappeler ton mock */
  .row-1 .chip { margin-bottom: 12px; }
  .row-2 .chip:first-child { margin-right: 30px; }
  .row-2 .chip:last-child { margin-left: 10px; }
  .row-3 .chip:nth-child(1) { margin-right: 20px; }
  .row-3 .chip:nth-child(3) { margin-left: 20px; }
  .row-4 .chip:nth-child(1) { margin-right: 20px; }
  .row-4 .chip:nth-child(3) { margin-left: 12px; }

  

@keyframes floaty {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-4px); }
  100% { transform: translateY(0px); }
}


.chip:nth-child(1)  { animation-duration: 3.6s; animation-delay: 0s; }
.chip:nth-child(2)  { animation-duration: 4.2s; animation-delay: -0.5s; }
.chip:nth-child(3)  { animation-duration: 3.8s; animation-delay: -1s; }
.chip:nth-child(4)  { animation-duration: 4.6s; animation-delay: -0.2s; }
.chip:nth-child(5)  { animation-duration: 3.3s; animation-delay: -1.3s; }
.chip:nth-child(6)  { animation-duration: 4.9s; animation-delay: -0.8s; }
.chip:nth-child(7)  { animation-duration: 3.7s; animation-delay: -1.7s; }
.chip:nth-child(8)  { animation-duration: 4.3s; animation-delay: -0.4s; }
.chip:nth-child(9)  { animation-duration: 5.1s; animation-delay: -1.1s; }
.chip:nth-child(10) { animation-duration: 3.9s; animation-delay: -0.6s; }
.chip:nth-child(11) { animation-duration: 4.8s; animation-delay: -1.4s; }
.chip:nth-child(12) { animation-duration: 3.4s; animation-delay: -0.9s; }
.chip:nth-child(13) { animation-duration: 4.7s; animation-delay: -0.2s; }
.chip:nth-child(14) { animation-duration: 3.5s; animation-delay: -1.6s; }


/* Integration Section */


/* Ready section bleu */
.ready-section-bleu{
    display: flex;
    background: var(--gradient-primary);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 600px;
}

/* .ready-title - Now defined in styles/layouts/components-typography.css */

/* ===========================
   SECTION TRANSITION PROCESS (stratégies)
   =========================== */

/* ===========================
   PROMESSES (strategies-marketing)
   =========================== */
/* ===========================
   RESPONSIVE - GLOBAL ADJUSTMENTS
   =========================== */

@media (max-width: 640px) {
  .cta-section {
    padding: 40px 0;
  }

  .cta-container {
    padding: 0 20px;
  }
}
