/* ============================================
   TELEPILOTE SAS - Custom Design System
   Charte graphique du catalogue officiel
   ============================================ */

/* Google Font Exo */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600;700&display=swap');

/* ============================================
   VARIABLES CHARTE
   Texte: #575756 | Bleu: #2587c9 | Bleu fonce: #174e6e
   Vert BTP: #71b02c | Orange Media: #f39200
   Turquoise: #08b5c1 | Vert-jaune: #d1d934
   ============================================ */

/* ============================================
   TYPOGRAPHIE GLOBALE
   ============================================ */
body,
.item-page,
.article-content,
.t3-mainbody {
  font-family: 'Exo 2', Arial, 'Helvetica Neue', sans-serif;
  color: #575756;
}

h1, h2, h3, h4, h5, h6,
.page-title,
.page-header h2 {
  font-family: 'Exo 2', Arial, sans-serif;
  color: #174e6e;
  font-weight: 700;
}

h2 {
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 3px solid #08b5c1;
}

h3 {
  font-size: 18px;
  color: #2587c9;
  font-weight: 600;
  margin-top: 20px;
}

/* ============================================
   BLOC INFO FORMATION
   Commun a toutes les pages formation
   ============================================ */
.tp-formation-info {
  background: linear-gradient(135deg, #f8f9fa 0%, #eef5f9 100%);
  border-left: 5px solid #2587c9;
  border-radius: 0 8px 8px 0;
  padding: 25px 30px;
  margin: 25px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.tp-formation-info .info-row {
  display: flex;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid rgba(23,78,110,0.08);
}

.tp-formation-info .info-row:last-child {
  border-bottom: none;
}

.tp-formation-info .info-label {
  font-weight: 700;
  color: #174e6e;
  min-width: 140px;
  font-size: 14px;
}

.tp-formation-info .info-value {
  color: #575756;
  font-size: 14px;
}

.tp-formation-info .info-price {
  font-size: 18px;
  font-weight: 700;
  color: #2587c9;
}

/* Bandeau secteur */
.tp-sector-badge {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  color: #fff;
}

.tp-sector-btp {
  background-color: #71b02c;
}

.tp-sector-media {
  background-color: #f39200;
}

.tp-sector-all {
  background-color: #2587c9;
}

.tp-sector-security {
  background-color: #174e6e;
}

/* ============================================
   SECTIONS FORMATION (Points forts, Objectifs, Programme)
   ============================================ */
.tp-section-title {
  font-family: 'Exo 2', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #174e6e;
  margin-top: 25px;
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 4px solid #08b5c1;
}

.tp-points-forts {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin: 15px 0;
}

.tp-points-forts li {
  padding: 4px 0;
  list-style: none;
  position: relative;
  padding-left: 20px;
}

.tp-points-forts li:before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #71b02c;
  font-weight: 700;
}

/* Media sector uses orange checkmarks */
.tp-sector-media-content .tp-points-forts li:before {
  color: #f39200;
}

/* ============================================
   CTA BOUTONS
   ============================================ */
.tp-cta-primary {
  display: inline-block;
  background: linear-gradient(135deg, #2587c9 0%, #174e6e 100%);
  color: #fff !important;
  padding: 14px 30px;
  border-radius: 6px;
  font-family: 'Exo 2', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none !important;
  text-align: center;
  margin: 20px 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37,135,201,0.3);
}

.tp-cta-primary:hover {
  background: linear-gradient(135deg, #174e6e 0%, #0d3a52 100%);
  box-shadow: 0 6px 16px rgba(23,78,110,0.4);
  transform: translateY(-1px);
  color: #fff !important;
}

.tp-cta-secondary {
  display: inline-block;
  background: transparent;
  color: #2587c9 !important;
  padding: 12px 25px;
  border: 2px solid #2587c9;
  border-radius: 6px;
  font-family: 'Exo 2', Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  margin: 10px 10px 10px 0;
  transition: all 0.3s ease;
}

.tp-cta-secondary:hover {
  background: #2587c9;
  color: #fff !important;
}

.tp-phone {
  font-size: 18px;
  font-weight: 700;
  color: #174e6e;
  margin-left: 15px;
}

.tp-phone:before {
  content: "\260E";
  margin-right: 5px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.tp-faq {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 2px solid #eef5f9;
}

.tp-faq h2 {
  color: #174e6e;
  border-bottom-color: #d1d934;
}

.tp-faq h3 {
  font-size: 15px;
  color: #2587c9;
  margin-top: 20px;
  margin-bottom: 5px;
  font-weight: 600;
}

.tp-faq p {
  color: #575756;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* ============================================
   PAGES HORS-FORMATION
   ============================================ */
.tp-page-header {
  background: linear-gradient(135deg, #174e6e 0%, #2587c9 100%);
  color: #fff;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.tp-page-header h2 {
  color: #fff;
  border-bottom-color: #d1d934;
  margin-top: 0;
}

.tp-info-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease;
}

.tp-info-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.tp-info-card h3 {
  color: #174e6e;
  margin-top: 0;
}

/* Trust badges row */
.tp-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  margin: 20px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.tp-trust-badges img {
  height: 45px;
  width: auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .tp-formation-info {
    padding: 15px 20px;
  }

  .tp-formation-info .info-row {
    flex-direction: column;
  }

  .tp-formation-info .info-label {
    min-width: auto;
    margin-bottom: 2px;
  }

  .tp-cta-primary {
    display: block;
    text-align: center;
  }

  .tp-phone {
    display: block;
    margin-left: 0;
    margin-top: 10px;
  }

  h2 {
    font-size: 20px;
  }
}
