/* =========================================
   HERO MODÉRATION & VALIDATION DE CONTENUS
   ========================================= */

.pw-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
  background: var(--hero-bg);
}

.pw-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20vh;
  background: linear-gradient(to top, rgba(15, 35, 65, 0.4), transparent);
  z-index: 2;
  pointer-events: none;
}

/* =========================
   INNER — GRILLE 2 COLONNES
   ========================= */

.pw-hero .pw-hero-inner {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding-top: calc(var(--pw-header-h, 92px) + 40px);
  padding-bottom: 60px;
}

/* =========================
   TEXTE HERO — INCHANGÉ
   ========================= */

.pw-hero .pw-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  max-width: 600px;
  padding-left: 0;
}

.pw-hero .pw-hero-content h1 {
  color: var(--white);
  font-size: clamp(40px, 3.6vw, 64px);
  line-height: 1.12;
  letter-spacing: -2px;
  font-weight: 800;
  max-width: 620px;
  margin: 0;
}

.pw-hero .pw-hero-content p {
  max-width: 600px;
  margin-top: 40px;
  margin-bottom: 0;
  text-align: justify;
  color: var(--white);
  font-size: clamp(16px, 1.05vw, 19px);
  line-height: 1.5;
  font-weight: 500;
}

.pw-hero .pw-hero-actions {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* --- Boutons --- */
.pw-hero .pw-btn {
  height: 62px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.pw-hero .pw-btn:hover {
  transform: translateY(-3px);
}

.pw-hero .pw-btn-light {
  min-width: 260px;
  background: var(--white);
  color: var(--primary);
}

.pw-hero .pw-btn-light:hover {
  color: var(--secondary);
}

.pw-hero .pw-btn-outline {
  min-width: 240px;
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.pw-hero .pw-btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* =========================
   COLLAGE VISUEL — DESKTOP
   ========================= */

.pw-hero-collage {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 540px;
  margin: 0 auto;
  animation: pwImageIn 0.9s ease both;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%, black 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 35%, black 100%);
}

/* ----- IMAGES ----- */

.pw-collage-img {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.pw-collage-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.pw-collage-img-1 {
  top: 40px;
  left: 0;
  width: 250px;
  height: 230px;
  border-radius: 6px;
  background: rgba(0, 174, 239, 0.25);
  z-index: 2;
}

.pw-collage-img-2 {
  top: 150px;
  right: 0;
  width: 280px;
  height: 330px;
  border-radius: 6px;
  background: rgba(28, 109, 208, 0.35);
  z-index: 3;
}

/* ----- CARTE STATS ----- */

.pw-collage-stat {
  position: absolute;
  top: 0;
  right: 60px;
  width: 215px;
  padding: 20px 22px;
  border-radius: 10px;
  background: #0F2341;
  box-shadow: 0 20px 50px rgba(15, 35, 65, 0.35);
  z-index: 4;
}

.pw-stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}

.pw-stat-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.pw-stat-number {
  color: #ffffff;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.pw-stat-more {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.pw-stat-source {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}

.pw-stat-source strong {
  color: #137CB4;
  font-size: 13px;
  font-weight: 700;
}

/* ----- BARRE ACTIVITÉ ----- */

.pw-collage-activity {
  position: absolute;
  top: 300px;
  left: 10px;
  width: 230px;
  height: 60px;
  padding: 0 16px;
  border-radius: 8px;
  background: #ffffff;
  border: 1.5px solid #0F2341;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 4;
}

.pw-activity-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0F2341;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pw-activity-check svg {
  width: 15px;
  height: 15px;
}

.pw-activity-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.pw-activity-bars span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: #0F2341;
}

.pw-activity-bars span:nth-child(odd)  { height: 18px; }
.pw-activity-bars span:nth-child(even) { height: 10px; }
.pw-activity-bars span:nth-child(3n)   { height: 24px; }
.pw-activity-bars span:nth-child(5n)   { height: 14px; }

/* ----- BADGE ROND ----- */

.pw-collage-badge {
  position: absolute;
  bottom: 60px;
  right: 30px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #1C6DD0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(28, 109, 208, 0.45);
  z-index: 5;
  transform: rotate(-8deg);
}

.pw-collage-badge::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid #0F2341;
  transform: rotate(12deg) scale(1.02);
}

.pw-badge-number {
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.pw-badge-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

/* =========================
   PARTICULES
   ========================= */

.pw-hero .pw-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.pw-hero .pw-dot {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.65;
  animation-name: pwFloat;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes pwFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%       { transform: translate3d(var(--move-x), var(--move-y), 0); }
}

@keyframes pwImageIn {
  from { opacity: 0; transform: translateX(40px) scale(0.96); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* =========================================
   RESPONSIVE TABLETTE (max 1100px)
   — ON TOUCHE UNIQUEMENT AU COLLAGE
   ========================================= */
/* =========================================
   RESPONSIVE TABLETTE (max 1100px)
   ========================================= */

@media (max-width: 1100px) {

  .pw-hero .pw-hero-inner {
    grid-template-columns: 1fr;
    padding-top: calc(var(--pw-header-h, 88px) + 32px);
    padding-bottom: 50px;
    gap: 40px;
    text-align: left;
  }

  .pw-hero .pw-hero-content {
    padding-left: 0;
    max-width: 560px;
    align-items: flex-start;
  }

  .pw-hero .pw-hero-content h1 {
    font-size: clamp(32px, 5vw, 48px);
    max-width: 100%;
    letter-spacing: -1.5px;
  }

  .pw-hero .pw-hero-content p {
    margin-top: 24px;
    max-width: 100%;
    font-size: clamp(15px, 2vw, 18px);
  }

  .pw-hero .pw-hero-actions {
    margin-top: 32px;
    justify-content: flex-start;
    gap: 16px;
  }

@media (max-width: 1100px) {

  .pw-hero-collage {
    max-width: 580px;

    transform: scale(0.55);
    transform-origin: center top;
/* ← REMONTE LE COLLAGE VERS LE HAUT */
    margin-bottom: -130px;
    margin-left: auto;
    margin-right: auto;
  }
}
}

/* =========================================
   RESPONSIVE MOBILE (max 580px)
   ========================================= */

@media (max-width: 580px) {

  .pw-hero .pw-hero-inner {
    padding-top: calc(var(--pw-header-h, 88px) + 24px);
    padding-bottom: 40px;
  }

  .pw-hero .pw-hero-content h1 {
    font-size: clamp(28px, 8vw, 40px);
    letter-spacing: -1px;
  }

  .pw-hero .pw-hero-content p {
    margin-top: 20px;
    font-size: 15px;
  }

  .pw-hero .pw-hero-actions {
    margin-top: 28px;
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .pw-hero .pw-btn,
  .pw-hero .pw-btn-light,
  .pw-hero .pw-btn-outline {
    width: 100%;
    min-width: 0;
    height: 54px;
    font-size: 15px;
  }

  /* ← COLLAGE RÉDUIT MOBILE */
  .pw-hero-collage {
    max-width: 100%;
    height: 280px;
    transform: scale(0.50);
    transform-origin: center top;
    margin-bottom: -150px;
  }
}

/* =========================================
   RESPONSIVE PETIT MOBILE (max 380px)
   ========================================= */

@media (max-width: 380px) {

  .pw-hero .pw-hero-inner {
    padding-top: calc(var(--pw-header-h, 88px) + 20px);
  }

  .pw-hero .pw-hero-content h1 {
    font-size: 26px;
  }

  /* ← COLLAGE ENCORE PLUS RÉDUIT */
  .pw-hero-collage {
    height: 260px;
    transform: scale(0.42);
    transform-origin: center top;
    margin-bottom: -170px;
  }
}




































/* =========================================
   SECTION : ACTIVITÉS COUVERTES — 3 CARTES
   VERSION CORRIGÉE (TEXTE VISIBLE)
   ========================================= */

.pw-mod-section {
  background: #0F2341;
  padding: 80px 0 100px;
  overflow: hidden;
}

.pw-mod-section .pw-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.pw-mod-header {
  margin-bottom: 50px;
}

.pw-mod-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -2px;
  font-weight: 800;
}

/* GRILLE 3 COLONNES */
.pw-mod-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* CARTE ALLONGÉE + PLUS HAUTE */
.pw-mod-card {
  position: relative;
  min-height: 480px;              /* ← Agrandi */
  border-radius: 24px;
  overflow: hidden;
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* COULEURS PROWEB (inchangées) */
.card-cyan {
  background: linear-gradient(145deg, #137CB4 0%, #0095cc 100%);
  border: 1px solid rgba(0, 174, 239, 0.4);
}
.card-cyan:hover {
  box-shadow: 0 22px 60px rgba(0, 174, 239, 0.35);
}

.card-blue {
  background: linear-gradient(145deg, #1C6DD0 0%, #1658a8 100%);
  border: 1px solid rgba(28, 109, 208, 0.4);
}
.card-blue:hover {
  box-shadow: 0 22px 60px rgba(28, 109, 208, 0.35);
}

.card-orange {
  background: linear-gradient(145deg, #F08020 0%, #d66a12 100%);
  border: 1px solid rgba(240, 128, 32, 0.4);
}
.card-orange:hover {
  box-shadow: 0 22px 60px rgba(240, 128, 32, 0.35);
}

/* ÉTAT DEFAULT */
.pw-card-default {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.pw-card-icon {
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.pw-card-icon svg {
  width: 100%;
  height: 100%;
}

.pw-card-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pw-card-number {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
}

.pw-mod-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -1.2px;
  font-weight: 800;
}

/* ÉTAT HOVER — TEXTE RÉDUIT POUR TOUT VOIR */
.pw-card-hover {
  position: absolute;
  inset: 0;
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: inherit;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.32s ease, transform 0.32s ease;
  pointer-events: none;
  overflow-y: auto;              /* Sécurité si trop long */
}

.pw-card-hover-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pw-card-hover h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 28px;               /* Légèrement réduit */
  line-height: 1.1;
  letter-spacing: -1px;
  font-weight: 800;
}

.pw-card-sep {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  margin: 16px 0 14px;
}

/* Texte hover plus compact */
.pw-card-hover p {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 14.5px;             /* Réduit */
  line-height: 1.5;              /* Plus serré */
  max-width: 100%;
}

/* BOUTON FLÈCHE */
.pw-card-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.pw-card-arrow:hover {
  background: #ffffff;
  color: #0F2341;
}

.pw-card-arrow svg {
  width: 18px;
  height: 18px;
}

/* ANIMATIONS */
.pw-mod-card:hover {
  transform: translateY(-6px);
}

.pw-mod-card:hover .pw-card-default {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.pw-mod-card:hover .pw-card-hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* =========================================
   TABLETTE + MOBILE : CARTES TOUJOURS OUVERTES
   ========================================= */

@media (max-width: 1024px) {

  .pw-mod-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pw-mod-card {
    min-height: auto;
    cursor: default;
    transform: none !important;
  }

  /* On cache l'état default */
  .pw-mod-card .pw-card-default {
    display: none;
  }

  /* On affiche l'état hover en permanence */
  .pw-mod-card .pw-card-hover {
    position: relative;
    inset: unset;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    padding: 28px 26px;
    overflow-y: visible;
  }
}

@media (max-width: 640px) {

  .pw-mod-section {
    padding: 60px 0 80px;
  }

  .pw-mod-header h2 {
    font-size: 32px;
  }

  .pw-mod-card h3,
  .pw-card-hover h3 {
    font-size: 24px;
  }

  .pw-card-hover p {
    font-size: 14px;
  }
}




































/* =========================================
   STICKY SECTION : MÉTHODOLOGIE (BLEU)
   ========================================= */

.pw-method-sticky {
  background: #f4f8fc;
  padding: 100px 0;
  overflow: hidden;
  margin-bottom: -320px;
  padding-bottom: 320px; /* Ajusté pour compenser le margin-bottom négatif */
}

.pw-method-sticky .pw-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* GRILLE 2 COLONNES */
.pw-method-sticky-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 70px;
  align-items: start;
}

/* ---- COLONNE GAUCHE STICKY ---- */
.pw-method-sticky-side {
  position: sticky;
  top: 140px;
}

.pw-method-sticky-side h2 {
  margin: 0 0 20px;
  color: #0F2341;
  font-size: clamp(34px, 3.5vw, 48px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  font-weight: 800;
}

.pw-method-sticky-side p {
  margin: 0 0 36px;
  color: #607089;
  text-align: justify;
  font-size: 17px;
  line-height: 1.7;
}

.pw-method-side-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ---- COLONNE DROITE ---- */
.pw-method-sticky-content {
  min-height: 100vh;
}

/* CARTE INFO */
.pw-method-info-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 36px;
  border: 1px solid #e3ecf5;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.06);
}

/* VISUEL */
.pw-method-visual {
  width: 100%;
  height: 260px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #d6ecff 0%, #eaf4ff 100%);
  margin-bottom: 32px;
}

.pw-method-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---- 4 STEPS ---- */
.pw-method-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.pw-method-step-item {
  position: relative;
  padding: 26px 22px 22px;
  border-radius: 22px;
  background: #f8fbff;
  border: 1px solid #e3ecf5;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pw-method-step-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 174, 239, 0.4);
  box-shadow: 0 18px 40px rgba(0, 174, 239, 0.10);
}

.pw-step-num {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 8px;
  background: rgba(0, 174, 239, 0.10);
  color: #137CB4;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
}

.pw-method-step-item strong {
  display: block;
  margin-bottom: 8px;
  color: #0F2341;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

.pw-method-step-item p {
  margin: 0;
  color: #607089;
  font-size: 15px;
  line-height: 1.55;
}

/* ---- BOUTONS ---- */
.pw-btn-blue-solid {
  background: linear-gradient(135deg, #137CB4 0%, #33bfff 100%);
  color: #ffffff;
  border-radius: 999px;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 14px 28px rgba(0, 174, 239, 0.25);
}

.pw-btn-blue-solid:hover {
  color: #ffffff;
  transform: translateY(-3px);
}

.pw-btn-ghost-blue {
  border: 2px solid rgba(0, 174, 239, 0.25);
  color: #137CB4;
  background: #ffffff;
  border-radius: 999px;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease;
}

.pw-btn-ghost-blue:hover {
  background: rgba(0, 174, 239, 0.08);
  color: #0F2341;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .pw-method-sticky-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pw-method-sticky-side {
    position: static;
  }

  .pw-method-sticky-content {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .pw-method-steps {
    grid-template-columns: 1fr;
  }

  .pw-method-info-card {
    padding: 24px;
  }

  .pw-method-visual {
    height: 200px;
  }
}