/* =========================================================
   ISMB — Page Formations BTS & Présentation
   Styles optimisés avec une lisibilité et taille de texte augmentées
   ========================================================= */

.bts-page-hero {
  min-height: 320px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,76,53,.98) 0%, rgba(0,90,60,.88) 48%, rgba(0,90,60,.38) 100%),
    url("images/slide4.jpg") center/cover no-repeat;
}

.bts-page-hero .site-width {
  min-height: 320px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.bts-hero-copy {
  max-width: 760px;
  color: #fff;
  padding: 40px 0;
}

/* Sur-titre Kicker */
.bts-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-size: 13px; /* Augmenté de 12px */
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.bts-kicker span {
  width: 5px;
  height: 22px;
  background: var(--orange);
  display: inline-block;
}

/* Titre Principal Hero */
.bts-hero-copy h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 12px 0;
  font-weight: 900;
  letter-spacing: -1px;
}

.bts-hero-copy h1 strong {
  color: var(--orange);
}

/* Texte descriptif Hero */
.bts-hero-copy p {
  max-width: 660px;
  font-size: 15px; /* Augmenté de 13px */
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, .9);
}

/* Fil d'Ariane (Breadcrumb) */
.bts-breadcrumb {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px; /* Augmenté de 9px */
  color: rgba(255, 255, 255, .85);
}

.bts-breadcrumb a {
  color: #fff;
  font-weight: 700;
}

.bts-breadcrumb i {
  font-size: 10px;
  color: var(--orange);
}

/* --- SECTION INTRO & PRÉSENTATION --- */
.bts-intro {
  background: #fff;
  padding: 45px 0 30px;
}

.bts-intro-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: center;
}

.bts-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-size: 12px; /* Augmenté de 10px */
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .7px;
}

.bts-section-label span {
  width: 4px;
  height: 18px;
  background: var(--green);
  display: inline-block;
}

.bts-intro h2 {
  color: var(--green);
  font-size: 28px; /* Augmenté de 25px */
  line-height: 1.2;
  margin: 10px 0 14px;
  font-weight: 900;
}

.bts-intro p {
  font-size: 14px; /* Augmenté de 11px */
  line-height: 1.7;
  color: #52635e;
  margin: 0;
  max-width: 720px;
}

/* Carte encadrée d'introduction */
.bts-intro-card {
  background: var(--pale);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  padding: 22px 20px;
  box-shadow: 0 7px 22px rgba(0,70,50,.06);
}

.bts-intro-card strong {
  display: block;
  color: var(--green);
  font-size: 16px; /* Augmenté de 13px */
  margin-bottom: 10px;
}

.bts-intro-card span {
  display: block;
  color: #52635e;
  font-size: 13px; /* Augmenté de 10px */
  line-height: 1.6;
}

.bts-intro-card .bts-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 16px;
  gap: 10px;
}

.bts-mini-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  text-align: center;
}

.bts-mini-stat b {
  display: block;
  color: var(--orange);
  font-size: 22px; /* Augmenté de 18px */
  line-height: 1;
}

.bts-mini-stat small {
  font-size: 11px; /* Augmenté de 7px */
  color: #52635e;
  font-weight: 600;
}

/* --- LISTE DES CARTES --- */
.bts-list-section {
  background: #f5f7f6;
  padding: 35px 0 45px;
}

.bts-list-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 22px;
}

.bts-list-head h2 {
  color: var(--green);
  font-size: 26px; /* Augmenté de 22px */
  margin: 0;
  font-weight: 900;
}

.bts-list-head p {
  color: #52635e;
  font-size: 13px; /* Augmenté de 9px */
  margin: 6px 0 0;
}

.bts-list-badge {
  background: var(--green);
  color: #fff;
  border-radius: 18px;
  padding: 8px 15px;
  font-size: 12px; /* Augmenté de 9px */
  font-weight: 800;
  white-space: nowrap;
}

.bts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bts-card {
  background: #fff;
  border: 1px solid #e0e8e4;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 13px rgba(0,70,50,.05);
  transition: .22s ease;
}

.bts-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0,70,50,.12);
  border-color: rgba(255,121,0,.4);
}

.bts-card-top {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: linear-gradient(135deg, #fff, #f7faf8);
}

.bts-card:nth-child(even) .bts-card-top {
  background: linear-gradient(135deg, #fffaf5, #fff);
}

.bts-card-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px; /* Augmenté de 18px */
  box-shadow: 0 5px 12px rgba(0,90,60,.15);
}

.bts-card:nth-child(even) .bts-card-icon {
  background: var(--orange);
  box-shadow: 0 5px 12px rgba(255,121,0,.18);
}

.bts-card-code {
  margin: 0 0 4px;
  color: var(--orange);
  font-size: 12px; /* Augmenté de 10px */
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.bts-card h3 {
  margin: 0;
  color: var(--green);
  font-size: 16px; /* Augmenté de 14px */
  line-height: 1.25;
  font-weight: 900;
}

.bts-card-body {
  padding: 15px;
  border-top: 1px solid #edf1ef;
}

.bts-card-body p {
  font-size: 13px; /* Augmenté de 11px */
  line-height: 1.6;
  color: #52635e;
  min-height: 48px;
  margin: 0;
}

.bts-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.bts-domain {
  font-size: 12px; /* Augmenté de 10px */
  color: #52635e;
  font-weight: 700;
}

.bts-domain i {
  color: var(--orange);
  margin-right: 5px;
}

.bts-details {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 12px; /* Augmenté de 10px */
  font-weight: 900;
}

.bts-details i {
  font-size: 11px;
  transition: .2s;
}

.bts-card:hover .bts-details i {
  transform: translateX(3px);
  color: var(--orange);
}

/* --- BANNIÈRE DE MISE EN AVANT --- */
.bts-highlight {
  background: var(--green);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.bts-highlight:after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 2px solid rgba(255,121,0,.18);
  border-radius: 50%;
  right: -80px;
  top: -130px;
}

.bts-highlight-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.bts-highlight-copy {
  color: #fff;
}

.bts-highlight-copy h2 {
  font-size: 26px; /* Augmenté de 22px */
  margin: 0 0 8px;
  font-weight: 900;
}

.bts-highlight-copy p {
  font-size: 14px; /* Augmenté de 10px */
  line-height: 1.6;
  color: rgba(255, 255, 255, .88);
  margin: 0;
  max-width: 680px;
}

.bts-highlight .orange-button {
  white-space: nowrap;
}

/* --- ÉTAPES DU PARCOURS --- */
.bts-process {
  padding: 45px 0;
  background: #fff;
}

.bts-process-head {
  text-align: center;
  margin-bottom: 30px;
}

.bts-process-head h2 {
  font-size: 26px; /* Augmenté de 22px */
  color: var(--green);
  margin: 8px 0;
  font-weight: 900;
}

.bts-process-head p {
  font-size: 13px; /* Augmenté de 9px */
  color: #52635e;
  margin: 0;
}

.bts-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bts-step {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 20px;
  background: #fff;
  position: relative;
}

.bts-step-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px; /* Augmenté de 10px */
  font-weight: 900;
  margin-bottom: 12px;
}

.bts-step h3 {
  color: var(--green);
  font-size: 16px; /* Augmenté de 11px */
  margin: 0 0 8px;
  font-weight: 900;
}

.bts-step p {
  color: #52635e;
  font-size: 13px; /* Augmenté de 9px */
  line-height: 1.6;
  margin: 0;
}

/* --- RESPONSIVE MOBILE --- */
@media(max-width:900px){
  .bts-intro-grid{ grid-template-columns: 1fr; }
  .bts-intro-card{ max-width: 600px; }
  .bts-grid{ grid-template-columns: repeat(2,1fr); }
  .bts-highlight-inner{ align-items: flex-start; flex-direction: column; }
  .bts-steps{ grid-template-columns: 1fr 1fr; }
}

@media(max-width:640px){
  .bts-page-hero, .bts-page-hero .site-width{ min-height: 370px; }
  .bts-hero-copy h1{ font-size: 32px; }
  .bts-hero-copy p{ font-size: 13px; }
  .bts-list-head{ align-items: flex-start; flex-direction: column; }
  .bts-list-badge{ align-self: flex-start; }
  .bts-grid{ grid-template-columns: 1fr; }
  .bts-card-body p{ min-height: 0; }
  .bts-steps{ grid-template-columns: 1fr; }
}