/**
 * Planexpo Product Pages — CSS global
 * Version 1.0 — 2025-04-30
 * 
 * Chargé conditionnellement sur les pages produit, tarifs, déploiement, cas clients
 * Préfixe unifié : .pp-* (Planexpo Product)
 * 
 * Palette officielle :
 * - Texte corps   : #3D4466 (gris-bleu)
 * - Texte secondaire : #7A82A6
 * - Bordures claires : #EEF0F7
 * - Bordures moyennes : #C4C9DC
 * - Bleu navy primaire : #1A2B6B
 * - Bleu navy dégradé : linear-gradient(135deg, #0e1c62 0%, #172880 60%, #1a2d82 100%)
 * - Rouge accent : #E84B3A
 * - Saumon eyebrow : #FFB4AB
 */

/* ===============================================================
   PAGE WRAPPER
   =============================================================== */
.pp-page {
  max-width: 100%;
  font-family: inherit;
}

/* ===============================================================
   HERO
   =============================================================== */
.pp-hero {
  background: linear-gradient(135deg, #0e1c62 0%, #172880 60%, #1a2d82 100%);
  color: #fff;
  padding: 56px 48px;
  border-radius: 16px;
  margin: 0 0 48px 0;
  position: relative;
  overflow: hidden;
}
.pp-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,75,58,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.pp-hero > * {
  position: relative;
  z-index: 1;
}
.pp-hero .pp-eyebrow {
  display: inline-block;
  font-size: 0.8em;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFB4AB;
  margin-bottom: 18px;
}
.pp-hero h1,
.pp-hero.pp-hero h1 {
  font-size: 2.6em;
  font-weight: 800;
  color: #fff !important;
  line-height: 1.08;
  letter-spacing: -0.5px;
  margin: 0 0 20px 0;
  max-width: 820px;
}
.pp-hero .pp-promise {
  font-size: 1.2em;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  max-width: 780px;
  margin: 0 0 32px 0;
}
.pp-hero .pp-promise strong {
  color: #fff;
}
.pp-hero .pp-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.pp-hero .pp-btn-primary,
.pp-hero a.pp-btn-primary {
  display: inline-block;
  background: #E84B3A;
  color: #fff !important;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 1em;
  box-shadow: 0 4px 14px rgba(232,75,58,0.35);
  transition: opacity 0.2s, transform 0.2s;
}
.pp-hero .pp-btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.pp-hero .pp-btn-secondary,
.pp-hero a.pp-btn-secondary {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: #fff !important;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 1em;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: background 0.2s;
}
.pp-hero .pp-btn-secondary:hover {
  background: rgba(255,255,255,0.18);
}

/* ===============================================================
   INTRO PARAGRAPH
   =============================================================== */
.pp-intro {
  font-size: 1.15em;
  line-height: 1.6;
  color: #3D4466;
  max-width: 860px;
  margin: 0 auto 48px auto;
  text-align: center;
}
.pp-intro strong {
  color: #1A2B6B;
  font-weight: 800;
}

/* ===============================================================
   SECTION (avec border-top rouge)
   =============================================================== */
.pp-section {
  margin: 64px 0 40px;
  padding-top: 24px;
  border-top: 3px solid #E84B3A;
}
.pp-section-label {
  display: inline-block;
  font-size: 0.8em;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #E84B3A;
  margin-bottom: 8px;
}
.pp-section h2,
.pp-section.pp-section h2 {
  font-size: 1.9em;
  font-weight: 800;
  color: #1A2B6B !important;
  letter-spacing: -0.3px;
  margin: 0 0 16px 0;
  line-height: 1.2;
  max-width: 820px;
}
.pp-section-intro {
  color: #3D4466;
  font-size: 1.05em;
  line-height: 1.6;
  max-width: 820px;
  margin-bottom: 32px;
}
.pp-section-intro strong {
  color: #1A2B6B;
  font-weight: 700;
}

/* ===============================================================
   PILLARS — 3 piliers de bénéfices (cards bleu navy)
   =============================================================== */
.pp-pillars-wrap {
  background: linear-gradient(135deg, #0e1c62 0%, #172880 60%, #1a2d82 100%);
  border-radius: 16px;
  padding: 56px 48px;
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}
.pp-pillars-wrap::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,75,58,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.pp-pillars-wrap > * {
  position: relative;
  z-index: 1;
}
.pp-pillars-wrap .pp-section-label {
  color: #FFB4AB;
}
.pp-pillars-wrap h2 {
  color: #fff !important;
}
.pp-pillars-wrap .pp-section-intro {
  color: rgba(255,255,255,0.92);
}
.pp-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 760px) {
  .pp-pillars {
    grid-template-columns: 1fr;
  }
}
.pp-pillar {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 30px 28px 28px;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
/* Halo radial subtil au coin (apparaît au hover) */
.pp-pillar::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 180px; height: 180px;
  background: radial-gradient(circle at top right, rgba(232,75,58,0.20) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
/* Grand chiffre en filigrane en arrière-plan (généré par CSS, pas besoin de modifier le HTML) */
.pp-pillar::after {
  position: absolute;
  bottom: -28px;
  right: 14px;
  font-size: 8em;
  font-weight: 900;
  color: rgba(255,180,171,0.07);
  line-height: 1;
  letter-spacing: -4px;
  pointer-events: none;
  font-family: inherit;
}
.pp-pillar:nth-child(1)::after { content: '01'; }
.pp-pillar:nth-child(2)::after { content: '02'; }
.pp-pillar:nth-child(3)::after { content: '03'; }
.pp-pillar:nth-child(4)::after { content: '04'; }
.pp-pillar:nth-child(5)::after { content: '05'; }
.pp-pillar > * { position: relative; z-index: 1; }
.pp-pillar:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(232,75,58,0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.20);
}
.pp-pillar:hover::before { opacity: 1; }
/* Le numéro devient un cercle saumon avec le chiffre dedans */
.pp-pillar-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(232,75,58,0.18);
  border: 1px solid rgba(232,75,58,0.4);
  border-radius: 50%;
  font-size: 1.05em;
  font-weight: 900;
  color: #FFB4AB;
  letter-spacing: 0;
  margin-bottom: 18px;
  text-transform: none;
}
.pp-pillar h3,
.pp-pillar.pp-pillar h3 {
  font-size: 1.2em;
  font-weight: 800;
  color: #fff !important;
  margin: 0 0 12px 0;
  letter-spacing: -0.2px;
  line-height: 1.25;
}
.pp-pillar p {
  font-size: 0.95em;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin: 0;
}

/* ===============================================================
   FEATURES — 6 fonctionnalités en grille
   =============================================================== */
.pp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
@media (max-width: 960px) {
  .pp-features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .pp-features {
    grid-template-columns: 1fr;
  }
}
.pp-feature {
  background: #fff;
  border: 1px solid #EEF0F7;
  border-radius: 14px;
  padding: 28px 26px;
  transition: all 0.25s ease;
}
.pp-feature:hover {
  border-color: #1A2B6B;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26,43,107,0.10);
}
.pp-feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #FFF1ED 0%, #FEF8F6 60%, #fff 100%);
  border: 1px solid rgba(232,75,58,0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(232,75,58,0.06);
}
.pp-feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: #E84B3A;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pp-feature h3,
.pp-feature.pp-feature h3 {
  font-size: 1.1em;
  font-weight: 800;
  color: #1A2B6B !important;
  margin: 0 0 10px 0;
  letter-spacing: -0.2px;
  line-height: 1.25;
}
.pp-feature p {
  font-size: 0.93em;
  color: #3D4466;
  line-height: 1.6;
  margin: 0;
}
.pp-feature p strong {
  color: #1A2B6B;
  font-weight: 700;
}

/* ===============================================================
   TEMOIGNAGE — citation client
   =============================================================== */
.pp-temo {
  background: linear-gradient(135deg, #FAFBFD 0%, #F7F9FC 100%);
  border: 1px solid #EEF0F7;
  border-radius: 16px;
  padding: 48px 56px;
  margin: 32px 0;
  position: relative;
}
.pp-temo-qdeco {
  position: absolute;
  top: 24px;
  left: 32px;
  font-size: 6em;
  font-family: Georgia, serif;
  color: #E84B3A;
  opacity: 0.18;
  line-height: 1;
  font-weight: 900;
}
.pp-temo-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}
.pp-temo-content {
  font-size: 1.18em;
  font-style: italic;
  color: #1A2B6B;
  line-height: 1.55;
  margin: 0 0 24px 0;
  font-weight: 500;
}
.pp-temo-author {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95em;
  color: #3D4466;
}
.pp-temo-author strong {
  color: #1A2B6B;
  font-weight: 800;
}
.pp-temo-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #EEF0F7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3em;
  font-weight: 900;
  color: #1A2B6B;
}
@media (max-width: 640px) {
  .pp-temo {
    padding: 32px 24px;
  }
  .pp-temo-content {
    font-size: 1.05em;
  }
}

/* ===============================================================
   CTA FINAL — bandeau bleu navy avec CTA
   =============================================================== */
.pp-cta-final {
  background: linear-gradient(135deg, #0e1c62 0%, #172880 60%, #1a2d82 100%);
  color: #fff;
  padding: 52px 56px;
  border-radius: 16px;
  margin: 56px 0 24px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pp-cta-final::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(232,75,58,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.pp-cta-final > * {
  position: relative;
  z-index: 1;
}
.pp-cta-final h2,
.pp-cta-final.pp-cta-final h2 {
  font-size: 2em;
  font-weight: 800;
  color: #fff !important;
  margin: 0 0 16px 0;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.pp-cta-final p,
.pp-cta-final.pp-cta-final p {
  color: rgba(255,255,255,0.92) !important;
  font-size: 1.1em;
  line-height: 1.5;
  margin: 0 auto 28px auto;
  max-width: 640px;
}
.pp-cta-final .pp-final-btn,
.pp-cta-final a.pp-final-btn {
  display: inline-block;
  background: #E84B3A;
  color: #fff !important;
  padding: 16px 36px;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 1.05em;
  box-shadow: 0 4px 14px rgba(232,75,58,0.35);
  transition: opacity 0.2s, transform 0.2s;
}
.pp-cta-final .pp-final-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* ===============================================================
   DIFFERENTIATION — bloc "Ce qui nous distingue" (2 colonnes)
   =============================================================== */
.pp-diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 760px) {
  .pp-diff-grid {
    grid-template-columns: 1fr;
  }
}
.pp-diff-item {
  background: #fff;
  border: 1px solid #EEF0F7;
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 0.2s ease;
}
.pp-diff-item:hover {
  border-color: #C4C9DC;
}
.pp-diff-item-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: #E84B3A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 0.85em;
}
.pp-diff-item-content h4,
.pp-diff-item .pp-diff-item-content h4 {
  font-size: 1em;
  font-weight: 800;
  color: #1A2B6B !important;
  margin: 0 0 4px 0;
  letter-spacing: -0.1px;
}
.pp-diff-item-content p {
  font-size: 0.9em;
  color: #3D4466;
  line-height: 1.55;
  margin: 0;
}

/* ===============================================================
   RESPONSIVE — adjustements globaux
   =============================================================== */
@media (max-width: 640px) {
  .pp-hero {
    padding: 40px 28px;
  }
  .pp-hero h1 {
    font-size: 2em;
  }
  .pp-hero .pp-promise {
    font-size: 1.05em;
  }
  .pp-cta-final {
    padding: 40px 28px;
  }
  .pp-cta-final h2 {
    font-size: 1.6em;
  }
  .pp-pillars-wrap {
    padding: 36px 24px;
  }
  .pp-section h2 {
    font-size: 1.55em;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SAFETY BELT ANTI-WPAUTOP
   
   Au cas où la désactivation PHP de wpautop n'est pas appliquée (cache, plugin
   tiers qui le réactive…), on rend les <p> injectés "transparents" via
   display:contents. Comme ça les enfants directs des grilles ne sont plus 
   wrappés et le grid layout fonctionne correctement.
   ═══════════════════════════════════════════════════════════════════════════ */
.pp-pillars > p:not(.pp-pillar),
.pp-features > p:not(.pp-feature),
.pp-diff-grid > p,
.pp-temo-grid > p {
  display: contents !important;
}
.pp-pillars > p:empty,
.pp-features > p:empty,
.pp-diff-grid > p:empty,
.pp-temo-grid > p:empty {
  display: none !important;
}
