/* ==========================================================================
   PARTIE 1 : STYLES PAGE D'ACCUEIL & SITE GLOBAL (RESTAURÉS)
   Cartes d'Orientation, Bouton Menu CTA & Overlay Image de fond
   ========================================================================== */

:root {
  --innozh-card-bg: #ffffff;
  --innozh-card-border: #e2e8f0;
  --innozh-card-border-hover: #000000;
  --innozh-text-primary: #000000;
  --innozh-text-secondary: #4a5568;
  --innozh-radius: 20px;
  --innozh-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. CARTES D'ORIENTATION (PAGE D'ACCUEIL) */
.innozh-card {
  position: relative; 
  overflow: hidden;   
  display: flex;
  flex-direction: column;
  background-color: var(--innozh-card-bg);
  border: 2px solid var(--innozh-card-border);
  border-radius: var(--innozh-radius);
  padding: 38px 24px 28px 24px; 
  width: 100%;
  box-sizing: border-box;
  transition: var(--innozh-transition);
}

.innozh-card:hover {
  border-color: var(--innozh-card-border-hover);
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

/* Badge noir en haut à gauche */
.innozh-card__badge {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  background-color: #000000;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 0 0 12px 0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  z-index: 2;
}

/* En-tête : Picto & Titre */
.innozh-card__header-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  margin-bottom: 14px;
}

.innozh-card__media {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.innozh-card__img {
  width: 58px;
  height: auto;
  display: block;
  transition: var(--innozh-transition);
}

.innozh-card:hover .innozh-card__img {
  transform: scale(1.08);
}

.innozh-card__title {
  color: var(--innozh-text-primary);
  font-size: 1.85rem;
  font-weight: 700;
  margin: 0 !important;
  padding: 0;
  line-height: 1.25;
  text-align: center;
}

.innozh-card__desc {
  color: var(--innozh-text-secondary);
  font-size: 1.3rem;
  line-height: 1.45;
  margin: 0 0 20px 0;
  width: 100%;
  text-align: center;
  flex-grow: 1;
}

.innozh-card__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  width: 100%;
  margin-top: auto;
}

.innozh-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--innozh-btn-bg, #000000);
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 22px;
  border-radius: 30px;
  transition: var(--innozh-transition);
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
}

.innozh-card__btn:hover {
  background-color: var(--innozh-btn-hover, #222222);
  transform: scale(1.02);
  color: #ffffff !important;
}

.innozh-card__subtitle {
  font-size: 1.15rem;
  color: var(--innozh-text-secondary);
  font-weight: 500;
}

@media (max-width: 576px) {
  .innozh-card {
    padding: 36px 18px 24px 18px;
  }
  .innozh-card__title {
    font-size: 1.3rem;
  }
}

/* 2. STYLE BOUTON CTA MENU PRINCIPAL HEADER (Rouge puis Noir au survol) */
.headerInner .header__nav ul.firstLevel > li.menu-cta > a {
  background-color: #d92323 !important;
  color: #ffffff !important;
  border-color: #d92323 !important;
  transition: all 0.2s ease-in-out !important;
}

.headerInner .header__nav ul.firstLevel > li.menu-cta:hover > a,
.headerInner .header__nav ul.firstLevel > li.menu-cta.current_page_item > a,
.headerInner .header__nav ul.firstLevel > li.menu-cta.current_page_ancestor > a {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
  position: relative;
  z-index: 100;
}

/* 3. ANNULATION OVERLAY GRIS SUR BLOCS IMAGE DE FOND */
.bloc.bg-picture.no-overlay::before {
  background-color: transparent !important;
}


/* ==========================================================================
   PARTIE 2 : LANDING PAGE PRÉ-INCUBATION (CHARTE INNOZH OPTIMISÉE)
   Variables isolées, composant .innozh-preinc-card & Grille
   ========================================================================== */

:root {
  --innozh-p-primary: #000000;
  --innozh-p-primary-hover: #222222;
  --innozh-p-accent-red: #d92323;
  --innozh-p-border: #e2e8f0;
  --innozh-p-text-dark: #0f172a;
  --innozh-p-text-muted: #334155;
  --innozh-p-white: #ffffff;
  --innozh-p-radius: 20px;
  --innozh-p-radius-btn: 40px;
  --innozh-p-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Structure générale des sections Pré-incubation */
.innozh-section {
  position: relative;
  width: 100% !important;
  padding: 30px 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-sizing: border-box !important;
}

.innozh-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* En-têtes de sections */
.innozh-header {
  text-align: center !important;
  margin-bottom: 40px !important;
  width: 100% !important;
}

.innozh-header__tag {
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--innozh-p-accent-red);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 8px;
}

.innozh-header__title {
  font-size: 3.2rem !important;
  font-weight: 900 !important;
  line-height: 1.18 !important;
  margin: 0 auto 16px auto !important;
  color: var(--innozh-p-text-dark) !important;
  max-width: 1080px !important;
}

.innozh-header__desc {
  color: var(--innozh-p-text-muted) !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  font-size: 1.35rem !important;
  line-height: 1.5 !important;
}

.innozh-subheading {
  font-size: 2.2rem !important;
  font-weight: 800 !important;
  color: var(--innozh-p-text-dark) !important;
  text-align: center !important;
  margin: 40px 0 24px 0 !important;
  line-height: 1.25 !important;
}

/* Système de Grille Réutilisable */
.innozh-grid {
  display: grid !important;
  gap: 28px !important;
  align-items: stretch !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.innozh-grid--3 {
  grid-template-columns: repeat(3, 1fr) !important;
}

.innozh-grid--2 {
  grid-template-columns: repeat(2, 1fr) !important;
}

/* Cartes Pré-incubation (Nommées .innozh-preinc-card pour éviter le conflit avec l'accueil) */
.innozh-preinc-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  background: var(--innozh-p-white) !important;
  border: 2px solid var(--innozh-p-border) !important;
  border-radius: var(--innozh-p-radius) !important;
  padding: 32px 26px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04) !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  box-sizing: border-box !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.innozh-preinc-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08) !important;
  border-color: var(--innozh-p-primary) !important;
}

.innozh-preinc-card--dark {
  border-color: var(--innozh-p-text-dark) !important;
  padding: 36px 30px !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06) !important;
}

.innozh-preinc-card--dark:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12) !important;
}

.innozh-preinc-card__title {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  margin: 0 0 14px 0 !important;
  color: var(--innozh-p-text-dark) !important;
  line-height: 1.3 !important;
  padding: 0 !important;
}

.innozh-preinc-card__desc {
  font-size: 1.18rem !important;
  color: var(--innozh-p-text-muted) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hero Section Pré-incubation */
.innozh-preinc-hero {
  position: relative;
  width: 100%;
  padding: 0px 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-sizing: border-box;
}

.innozh-preinc-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  background: transparent !important;
  box-sizing: border-box;
}

.innozh-hero-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-bottom: 20px;
  background: transparent !important;
}

.innozh-hero-logo--left {
  height: auto;
  max-height: 120px !important;
  width: auto;
  display: block;
  object-fit: contain;
}

.innozh-hero-logo--right {
  height: auto;
  max-height: 110px !important;
  width: auto;
  display: block;
  object-fit: contain;
}

.innozh-preinc-hero__badge-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.innozh-preinc-badge {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.innozh-preinc-badge--black {
  background-color: var(--innozh-p-primary);
  color: var(--innozh-p-white);
}

.innozh-preinc-badge--green {
  background-color: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.innozh-preinc-hero__title {
  font-size: 3.6rem !important;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 14px 0 !important;
  color: var(--innozh-p-text-dark);
  max-width: 1080px;
}

.innozh-preinc-hero__subtitle {
  font-size: 1.45rem !important;
  color: var(--innozh-p-text-muted);
  max-width: 920px;
  margin: 0 auto 24px auto !important;
  line-height: 1.5;
}

.innozh-preinc-hero__cartouche {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  background-color: var(--innozh-p-accent-red) !important;
  color: #ffffff !important;
  border-radius: 24px;
  padding: 24px 36px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 28px auto !important;
  box-shadow: 0 12px 30px rgba(217, 35, 35, 0.22);
  box-sizing: border-box;
}

.innozh-preinc-hero__metric-item {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
}

.innozh-preinc-hero__metric-icon {
  width: 80px !important;
  height: 80px !important;
  min-width: 80px !important;
  min-height: 80px !important;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.innozh-preinc-hero__metric-text {
  font-size: 1.3rem !important;
  color: #ffffff !important;
  line-height: 1.35;
}

.innozh-preinc-hero__metric-text strong {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88) !important;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

/* cibler les conteneurs des pictos dans le cartouche */
.innozh-preinc-hero__cartouche .picto-wrapper,
.innozh-preinc-hero__cartouche img,
.innozh-preinc-hero__cartouche svg {
    width: 36px;            /* Fixer la largeur */
    height: 36px;           /* Fixer la hauteur */
    object-fit: contain;    /* Garantit que l'icône rentre sans déformation */
    flex-shrink: 0;         /* Empêche Flexbox d'écraser un SVG si le texte à côté est long */
    display: inline-block;
}

/* Responsive Mobile & Tablette (< 992px) */
@media (max-width: 992px) {
  .innozh-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .innozh-header__title {
    font-size: 2.1rem !important;
  }

  .innozh-subheading {
    font-size: 1.7rem !important;
    margin: 30px 0 18px 0 !important;
  }

  .innozh-preinc-card {
    padding: 24px 20px !important;
  }

  .innozh-preinc-hero__title {
    font-size: 2rem !important;
  }

  .innozh-preinc-hero__subtitle {
    font-size: 1.15rem !important;
  }

  .innozh-preinc-hero__cartouche {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
  }

  .innozh-hero-logo--left {
    max-height: 70px !important;
  }

  .innozh-hero-logo--right {
    max-height: 60px !important;
  }

  .innozh-preinc-hero__metric-icon {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
  }

  .btn {
    width: 100% !important;
    font-size: 1.1rem !important;
    padding: 16px 24px !important;
  }
}

/* ==========================================================================
   BARRE DE LOGOS "TOP RÉASSURANCE" HERO (ESPACEMENT IMAGE/TEXTE ZÉRO)
   ========================================================================== */

/* 1. Conteneur principal (Marges haut/bas minimes) */
.innozh-hero-reassurance {
  margin-top: 10px !important;             /* Marge haute minimale */
  margin-bottom: 0px !important;            /* Aucune marge en bas */
  padding: 10px 14px 6px 14px !important;   /* Padding haut/bas ultra-compact */
  background-color: #ffffff !important;
  border-radius: 20px 20px 0 0 !important;  /* Arrondi HAUT uniquement */
  border: 1px solid #e2e8f0 !important;
  border-bottom: none !important;
  width: 100% !important;
  max-width: 1140px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0px !important;                      /* Espace réduit entre le titre et les logos */
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.02) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* 2. Titre de l'en-tête de réassurance */
.innozh-hero-reassurance__label {
  font-size: 1.20rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #0f172a !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

/* 3. Rangée des 8 partenaires (1 seule ligne) */
.innozh-hero-reassurance__logos {
  display: flex !important;
  flex-wrap: nowrap !important;             /* Maintien strict sur 1 seule ligne */
  align-items: flex-end !important;         /* Aligne la base des images de logos */
  justify-content: space-between !important;
  gap: 6px !important;                      /* Interstice minimal entre les colonnes */
  width: 100% !important;
}

/* 4. Item individuel : Logo + Texte collés (GAP ZERO) */
.innozh-reassurance-item {
  flex: 1 1 0 !important;                  /* Largeurs strictement équitables */
  min-width: 0 !important;                 /* Évite tout débordement Flexbox */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  text-align: center !important;
  gap: 0px !important;                     /* ESPACEMENT NEUTRE (0px) ENTRE IMAGE ET TEXTE */
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.innozh-reassurance-item:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* Style des visuels de logos */
.innozh-reassurance-img {
  height: 80px !important;                 /* Hauteur d'image ajustée */
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  display: block !important;               /* Annule le décalage de ligne de base HTML (Baseline Gap) */
  margin: 0 0 0 0 !important;              /* Marge basse stricte à 0 */
  padding: 0 !important;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.innozh-reassurance-item:hover .innozh-reassurance-img {
  filter: grayscale(0%);                   /* Restitution des couleurs au survol */
  opacity: 1;
}

/* Style du nom du partenaire (Fixé à 1rem) */
.innozh-reassurance-text {
  font-size: 1rem !important;              /* Taille exacte à 16px */
  font-weight: 600 !important;
  color: #334155 !important;
  line-height: 1.05 !important;            /* Hauteur de ligne ultra-serrée pour coller au logo */
  margin: 0 !important;                    /* Suppression des marges parasites */
  padding: 0 !important;
  white-space: normal !important;
  word-break: break-word !important;
}

/* ==========================================================================
   RESPONSIVE MOBILE & TABLETTE (< 768PX)
   Défilement tactile pour préserver l'alignement sur 1 ligne
   ========================================================================== */
@media (max-width: 768px) {
  .innozh-hero-reassurance {
    margin-top: 6px !important;
    padding: 8px 10px 6px 10px !important;
    border-radius: 16px 16px 0 0 !important;
    gap: 6px !important;
  }

  .innozh-hero-reassurance__logos {
    overflow-x: auto !important;           /* Scroll horizontal sur smartphone */
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px !important;
    justify-content: flex-start !important;
    gap: 12px !important;
  }

  /* Masquage de la barre de scroll visuelle */
  .innozh-hero-reassurance__logos::-webkit-scrollbar {
    display: none !important;
  }
  .innozh-hero-reassurance__logos {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .innozh-reassurance-item {
    flex: 0 0 115px !important;           /* Largeur suffisante pour accueillir les textes longs sur mobile */
    min-width: 115px !important;
    gap: 0px !important;
  }

  .innozh-reassurance-img {
    height: 28px !important;
  }

  .innozh-reassurance-text {
    font-size: 0.85rem !important;         /* Ajustement léger sur smartphone pour éviter les coupures brutes */
  }
}

/* ==========================================================================
   CARTE PASSERELLE "INCUBATION" (VERSION GRIS CLAIR & LISERÉ ROUGE)
   ========================================================================== */

/* 1. Conteneur principal externe */
.innozh-nextstep-card {
  width: 100% !important;
  max-width: 1140px !important;
  margin: 24px auto 16px auto !important; /* Marge d'espacement aérée */
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* 2. Boîte interne sur FOND GRIS CLAIR avec bordure subtile */
.innozh-nextstep-card__inner {
  background-color: #f8fafc !important;                 /* Fond gris clair très doux */
  border: 1px solid #e2e8f0 !important;                 /* Contour gris très fin */
  border-radius: 14px !important;                       /* Angles arrondis doux */
  padding: 20px 24px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03) !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Liseré vertical ROUGE INNOZH sur le côté gauche */
.innozh-nextstep-card__inner::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 4px !important;                                /* Épaisseur du liseré */
  height: 100% !important;
  background-color: #dc2626 !important;                 /* Rouge marque INNOZH */
}

/* 3. Zone de texte & Badge */
.innozh-nextstep-card__content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 6px !important;
  max-width: 720px !important;
}

/* Badge "Étape Suivante" pastel rouge */
.innozh-nextstep-card__badge {
  display: inline-flex !important;
  align-items: center !important;
  background-color: #fef2f2 !important;                 /* Fond rouge pastel léger */
  color: #dc2626 !important;                            /* Texte rouge INNOZH */
  border: 1px solid #fca5a5 !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 3px 9px !important;
  border-radius: 20px !important;
  margin: 0 !important;
}

/* Titre de l'accroche (Sombre et lisible) */
.innozh-nextstep-card__title {
  color: #0f172a !important;                           /* Texte sombre lisible */
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: -0.01em !important;
}

/* 4. Unique Bouton CTA interactif */
.innozh-nextstep-card__action {
  flex-shrink: 0 !important;
}

.innozh-nextstep-card__btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background-color: #0f172a !important;                 /* Bouton sombre chic */
  color: #ffffff !important;                            /* Texte blanc */
  font-size: 0.90rem !important;
  font-weight: 700 !important;
  padding: 10px 18px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.2s ease-in-out !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
  white-space: nowrap !important;
}

.innozh-nextstep-card__btn:hover {
  background-color: #dc2626 !important;                 /* Bascule en rouge INNOZH au survol */
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25) !important;
}

/* Animation de la flèche SVG au survol */
.innozh-nextstep-card__arrow {
  transition: transform 0.2s ease !important;
}

.innozh-nextstep-card__btn:hover .innozh-nextstep-card__arrow {
  transform: translateX(3px) !important;
}

/* ==========================================================================
   RESPONSIVE MOBILE & TABLETTE (< 768PX)
   ========================================================================== */
@media (max-width: 768px) {
  .innozh-nextstep-card__inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 16px 18px !important;
    gap: 14px !important;
  }

  .innozh-nextstep-card__title {
    font-size: 0.98rem !important;
  }

  .innozh-nextstep-card__action {
    width: 100% !important;
  }

  .innozh-nextstep-card__btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px 14px !important;
    font-size: 0.88rem !important;
  }
}