/*
 Theme Name: Ton Theme Child
 Template: astra
 Version: 1.0
 Description: Thème enfant pour SynerTech Academy (CPT Formations)
 Author: SynerTech
*/

 /* Tu peux mettre ton CSS ici ou dans Apparence > Personnaliser > CSS additionnel */

.synertech-card a:hover { opacity:.92; }
.synertech-archive .pagination .page-numbers { display:inline-block; margin:0 4px; padding:8px 12px; border:1px solid #e5e7eb; border-radius:8px; text-decoration:none; }
.synertech-archive .pagination .current { background:#111827; color:#fff; border-color:#111827; }


.ast-builder-menu-mobile .main-navigation .menu-item.current-menu-item > .menu-link {
  color: #334155 !important;
}

.ast-builder-menu-mobile .main-navigation .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle {
  color: #334155 !important;
}

.ast-builder-menu-mobile .main-navigation .menu-item.current-menu-ancestor > .menu-link {
  color: #334155 !important;
}

.ast-builder-menu-mobile .main-navigation .inline-on-mobile .menu-item.current-menu-ancestor > .ast-menu-toggle {
  color: #334155 !important;
}













/* Section Pourquoi SynerTech */
.why-synertech {
  background: #f8fafc;
  padding: 60px 20px;
  text-align: center;
}

.why-synertech h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #1e293b;   /* le titre devient blanc */
}

.why-synertech h2 span {
  color: #1e293b;   /* le mot Academy reste aussi blanc */
}

.why-synertech .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.why-synertech .card {
  background: #4FB992;   /* nouveau fond vert */
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-synertech .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.why-synertech .card h3 {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  margin: 0 0 8px 0;
  color: #ffffff;   /* titre des cartes en blanc */
}

.why-synertech .card h3 img {
  width: 28px;
  height: 28px;
  margin-right: 10px;
}

.why-synertech .card p {
  font-size: 0.95rem;
  color: #ffffff;   /* texte aussi en blanc pour contraste */
  line-height: 1.5;
  margin: 0;
}







.training-types {
  background: #f8fafc;
  padding: 60px 20px;
  text-align: center;
}

.training-types h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #1e293b;
  font-weight: 700;
}

.training-types .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.training-types .card {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.training-types .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.training-types img {
  width: 64px;
  height: 64px;
  margin-bottom: 15px;
}

.training-types h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #334155;
  font-weight: 600;
}

.training-types p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.5;
}








.training-types .card {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 12px;
  border: 2px solid #4FB992;   /* contour vert */
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center; /* par défaut en desktop */
}



/* Icône au-dessus du titre (desktop) */
.training-types img {
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
}





  .training-types h3 {
    margin: 0 0 6px 0;
    font-size: 1.1rem;
  }

  .training-types p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
  }
}






/* Bouton Découvrir (dans chaque carte) */
.formations-phares .card .btn {
  display: inline-block;
  padding: 10px 22px;
  border: 2px solid #4FB992;
  background: transparent;
  color: #4FB992;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-align: center;
}

.formations-phares .card .btn:hover {
  background: #4FB992;
  color: #ffffff;
}

/* Bouton global Voir toutes les formations */
.formations-phares .cta .btn-main {
  display: inline-block;
  padding: 12px 28px;
  background: #4FB992;
  color: #ffffff;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.formations-phares .cta .btn-main:hover {
  background: #3e9b77; /* un vert légèrement plus sombre au hover */
}






/* Boutons Découvrir dans chaque carte */
.formations-phares .card a.btn {
  display: inline-block;
  margin: 12px 16px 16px 16px;
  padding: 8px 14px;
  border: 2px solid #4FB992; /* contour vert */
  color: #4FB992 !important; /* forcer la couleur */
  background: transparent !important;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s ease;
}

.formations-phares .card a.btn:hover {
  background: #4FB992 !important;
  color: #fff !important;
}












/* Boutons Voir la formation dans archive formations */
.synertech-card a.btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 14px;
  border: 2px solid #4FB992; /* contour vert */
  color: #4FB992 !important;
  background: transparent !important;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s ease;
}

.synertech-card a.btn:hover {
  background: #4FB992 !important;
  color: #fff !important;
}












/* Fond blanc pour la page archive formations */
.synertech-archive {
  background: #ffffff;
}






/* Contour vert pour les cartes de formations */
.synertech-card {
  border: 2px solid #4FB992 !important; /* vert SynerTech */
  border-radius: 14px;
  background: #ffffff;
  transition: all .3s ease;
}

/* Hover plus élégant */
.synertech-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(79, 185, 146, 0.15);
}












/* Cartes formations avec contour vert + shadow */
.synertech-card {
  border: 2px solid #4FB992; /* contour vert SynerTech */
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* ombre douce */
  transition: all .3s ease;
}

/* Effet hover encore plus marqué */
.synertech-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(79, 185, 146, 0.25); /* ombre verte légère */
  border-color: #4FB992;
}