/* ============================================================
   BMA Joaillerie — bma-custom.css
   Emplacement : /wp-content/themes/academie-child/assets/css/
   ============================================================ */

/* ── Variables globales ── */
:root {
  --bma-bordeaux:  #6B1C23;
  --bma-ivoire:    #FBF8F3;
  --bma-creme:     #F0EBE1;
  --bma-creme2:    #E5DED2;
  --bma-bronze:    #B8956A;
  --bma-gris:      #36454F;
  --bma-noir:      #1C1B1A;
  --bma-ff-texte:  "Lato", sans-serif;
  --bma-ff-titre:  "Bodoni Moda", Georgia, serif;
}

/* ============================================================
   SECTION — L'essentiel de la formation
   ============================================================ */

.bma-essentiel {
  margin-bottom: 3rem;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0;
  max-width: 100%;
  width: 100% !important;
  box-sizing: border-box;
}

.bma-essentiel .bma-tabs-nav {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 0;
  padding-left: 0;
  margin-left: 0;
}

.bma-essentiel .bma-tab-btn {
  padding: 11px 20px;
  border: 1px solid rgba(184,149,106,0.4);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  background-color: transparent;
  color: var(--bma-gris);
  font-family: var(--bma-ff-texte);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  bottom: -1px;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.bma-essentiel .bma-tab-btn:hover:not(.bma-active) {
  background-color: var(--bma-creme);
  color: var(--bma-bordeaux);
}

.bma-essentiel .bma-tab-btn.bma-active {
  background-color: var(--bma-bordeaux);
  color: var(--bma-ivoire);
  border-color: var(--bma-bordeaux);
  font-weight: 600;
  z-index: 1;
}

.bma-essentiel .bma-tabs-body {
  border: 1px solid rgba(184,149,106,0.3);
  border-radius: 0 8px 8px 8px;
  background-color: var(--bma-ivoire);
  padding: 32px 36px;
  position: relative;
  z-index: 0;
}

.bma-essentiel .bma-tab-panel {
  display: none;
  animation: bmaFadeIn 0.25s ease;
}

.bma-essentiel .bma-tab-panel.bma-active { display: block; }

@keyframes bmaFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bma-essentiel .bma-tab-panel p {
  font-family: var(--bma-ff-texte);
  font-size: 1rem;
  color: var(--bma-gris);
  line-height: 1.8;
}

.bma-essentiel .bma-tab-panel p + p { margin-top: 14px; }

.bma-essentiel .bma-tab-panel ul {
  font-family: var(--bma-ff-texte);
  font-size: 1rem;
  color: var(--bma-gris);
  line-height: 1.8;
  padding-left: 20px;
  margin-top: 16px;
}

.bma-essentiel .bma-tab-panel ul li {
  margin-bottom: 8px;
  padding-left: 6px;
}

.bma-essentiel .bma-tab-panel ul li::marker { color: var(--bma-bronze); }

.bma-essentiel .bma-tab-panel strong {
  color: var(--bma-noir);
  font-weight: 600;
}

.bma-essentiel .bma-tab-panel a {
  color: var(--bma-bordeaux);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bma-essentiel .bma-tab-panel a:hover { text-decoration: none; }

@media (max-width: 768px) {
  .bma-essentiel .bma-tab-btn {
    padding: 10px 14px;
    font-size: 0.82rem;
  }
  .bma-essentiel .bma-tabs-body {
    padding: 22px 20px;
  }
}



/* ============================================================
   SECTION — Choisissez votre parcours (BMA)
   À ajouter à la suite dans : bma-custom.css
   ============================================================ */

.bma-parcours {
  margin-bottom: 3rem;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.bma-parcours-toggle {
  display: flex;
  margin-bottom: 20px;
}

.bma-parcours-btn {
  flex: 1;
  padding: 18px 25px;
  border: none;
  background-color: var(--bma-creme2);
  color: var(--bma-gris);
  font-family: var(--bma-ff-texte);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.bma-parcours-btn:first-child { border-radius: 8px 0 0 8px; }
.bma-parcours-btn:last-child  { border-radius: 0 8px 8px 0; }
.bma-parcours-btn:not(:first-child):not(:last-child) { border-radius: 0; }

.bma-parcours-btn.bma-active {
  background-color: var(--bma-bordeaux);
  color: var(--bma-ivoire);
}

.bma-parcours-btn:hover:not(.bma-active) {
  background-color: var(--bma-creme);
  color: var(--bma-bordeaux);
}

.bma-parcours-body {
  background-color: var(--bma-ivoire) !important;
  border-radius: 12px;
  padding: 30px;
  border: 1px solid var(--bma-bronze) !important;
}

.bma-parcours-panel {
  display: none;
  animation: bmaParcoursFadeIn 0.25s ease;
}

.bma-parcours-panel.bma-active { display: block; }

@keyframes bmaParcoursFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bma-parcours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.bma-parcours-item {
  background-color: var(--bma-ivoire);
  border-radius: 8px;
  padding: 16px 18px;
}

.bma-item-label {
  font-family: var(--bma-ff-texte);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bma-bronze);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.bma-item-value {
  font-family: var(--bma-ff-texte);
  font-size: 1rem;
  color: var(--bma-noir);
  line-height: 1.5;
}

.bma-gratuit {
  color: var(--bma-bordeaux);
  font-weight: 500;
}

.bma-financement {
  font-size: 0.85rem;
  color: var(--bma-gris);
  font-weight: 400;
}

.bma-parcours-public {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(184,149,106,0.25);
}

@media (max-width: 768px) {
  .bma-parcours-grid { grid-template-columns: 1fr; gap: 18px; }
  .bma-parcours-btn  { padding: 14px 12px; font-size: 0.85rem; }
}

/* ── Liste des métiers visés (3e onglet) ── */
.bma-metiers-list { margin-top: 20px; }

.bma-metiers-ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.bma-metiers-ul li {
  font-family: var(--bma-ff-texte);
  font-size: 0.9rem;
  color: var(--bma-noir);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}

.bma-metiers-ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--bma-bronze);
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .bma-metiers-ul { grid-template-columns: 1fr; }
}


/* ============================================================
   SECTION — Vos repères de formation (BMA)
   À ajouter à la suite dans : bma-custom.css
   ============================================================ */

.bma-reperes { margin-bottom: 3rem; }

.bma-reperes-header { margin-bottom: 35px; }

.bma-reperes-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--bma-ff-texte);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--bma-bordeaux);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.bma-reperes-ligne {
  display: inline-block;
  width: 30px;
  height: 1px;
  background-color: var(--bma-bordeaux);
}

.bma-reperes-titre {
  font-family: var(--bma-ff-titre);
  font-size: 46px;
  font-weight: 400;
  color: var(--bma-noir);
  margin-bottom: 12px;
  line-height: 1.2;
}

.bma-reperes-sous-titre {
  font-family: var(--bma-ff-texte);
  font-size: 1rem;
  font-style: italic;
  color: var(--bma-bronze);
  line-height: 1.6;
}

.bma-reperes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(184,149,106,0.3);
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--bma-ivoire);
  margin-bottom: 20px;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.bma-reperes-col { padding: 28px 28px 32px; }

.bma-reperes-col + .bma-reperes-col {
  border-left: 1px solid rgba(184,149,106,0.25);
}

.bma-reperes-col-header { margin-bottom: 14px; }

.bma-reperes-col-titre {
  font-family: var(--bma-ff-titre);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--bma-noir);
  margin-bottom: 3px;
}

.bma-reperes-col-count {
  font-family: var(--bma-ff-texte);
  font-size: 0.85rem;
  color: var(--bma-gris);
}

.bma-reperes-separator {
  height: 1px;
  background-color: rgba(184,149,106,0.4);
  margin-bottom: 18px;
}

.bma-reperes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bma-reperes-item { border-radius: 6px; }

.bma-reperes-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--bma-bordeaux);
  transition: background-color 0.2s ease;
}

.bma-reperes-link:hover {
  background-color: var(--bma-creme2);
  text-decoration: none;
}

.bma-reperes-nom {
  font-family: var(--bma-ff-texte);
  font-size: 0.9rem;
  color: var(--bma-noir);
  flex: 1;
}

.bma-badge {
  font-family: var(--bma-ff-texte);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}

.bma-badge-pdf {
  background-color: var(--bma-creme2);
  color: var(--bma-gris);
}

.bma-reperes-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bma-reperes-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--bma-ff-texte);
  font-size: 0.85rem;
  color: var(--bma-gris);
}

.bma-reperes-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--bma-bronze);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .bma-reperes-grid { grid-template-columns: 1fr; }
  .bma-reperes-col + .bma-reperes-col {
    border-left: none;
    border-top: 1px solid rgba(184,149,106,0.25);
  }
  .bma-reperes-titre { font-size: 32px; }
}

/* ============================================================
   SECTION — Les points forts (BMA)
   À ajouter à la suite dans : bma-custom.css
   ============================================================ */

.bma-points-forts {
  background-color: var(--bma-creme);
  border-radius: 8px;
  padding: 52px 48px;
  margin-bottom: 3rem;
}

.bma-pf-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--bma-ff-texte);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--bma-bronze);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.bma-pf-ligne {
  display: inline-block;
  width: 28px;
  height: 1px;
  background-color: var(--bma-bronze);
  flex-shrink: 0;
}

.bma-pf-titre {
  font-family: var(--bma-ff-titre);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--bma-bordeaux);
  margin-bottom: 32px;
  line-height: 1.15;
}

.bma-pf-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.bma-pf-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: white;
  border-radius: 8px;
  padding: 20px 24px;
  border-left: 3px solid var(--bma-bronze);
}

.bma-pf-num {
  font-family: var(--bma-ff-titre);
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 300;
  color: var(--bma-bronze);
  line-height: 1;
  flex-shrink: 0;
  min-width: 24px;
  margin-top: 20px;
}

.bma-pf-text {
  font-family: var(--bma-ff-texte);
  font-size: 0.92rem;
  color: var(--bma-gris);
  line-height: 1.7;
  padding-top: 4px;
}

.bma-pf-diplome {
  background: var(--bma-bordeaux);
  border-radius: 8px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.bma-pf-diplome-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(184,149,106,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bma-pf-diplome-text {
  font-family: var(--bma-ff-texte);
  font-size: 0.82rem;
  color: rgba(240,235,225,0.75);
  line-height: 1.5;
}

.bma-pf-diplome-text strong {
  color: var(--bma-creme);
  font-weight: 600;
  display: block;
  margin-bottom: 3px;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .bma-points-forts { padding: 36px 24px; }
  .bma-pf-titre      { font-size: 1.8rem; }
  .bma-pf-item       { padding: 16px 18px; }
}

/* ============================================================
   SECTION — Les points forts (BMA)
   À ajouter à la suite dans : bma-custom.css
   ============================================================ */

.bma-points-forts {
  background-color: var(--bma-creme);
  border-radius: 8px;
  padding: 52px 48px;
  margin-bottom: 3rem;
}

.bma-pf-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--bma-ff-texte);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--bma-bronze);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.bma-pf-ligne {
  display: inline-block;
  width: 28px;
  height: 1px;
  background-color: var(--bma-bronze);
  flex-shrink: 0;
}

.bma-pf-titre {
  font-family: var(--bma-ff-titre);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--bma-bordeaux);
  margin-bottom: 32px;
  line-height: 1.15;
}

.bma-pf-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.bma-pf-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: white;
  border-radius: 8px;
  padding: 20px 24px;
  border-left: 3px solid var(--bma-bronze);
}

.bma-pf-num {
  font-family: var(--bma-ff-titre);
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 300;
  color: var(--bma-bronze);
  line-height: 1;
  flex-shrink: 0;
  min-width: 24px;
  margin-top: 4px;
}

.bma-pf-text {
  font-family: var(--bma-ff-texte);
  font-size: 0.92rem;
  color: var(--bma-gris);
  line-height: 1.7;
  padding-top: 4px;
}

.bma-pf-diplome {
  background: var(--bma-bordeaux);
  border-radius: 8px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.bma-pf-diplome-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(184,149,106,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bma-pf-diplome-text {
  font-family: var(--bma-ff-texte);
  font-size: 0.82rem;
  color: rgba(240,235,225,0.75);
  line-height: 1.5;
}

.bma-pf-diplome-text strong {
  color: var(--bma-creme);
  font-weight: 600;
  display: block;
  margin-bottom: 3px;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .bma-points-forts { padding: 36px 24px; }
  .bma-pf-titre      { font-size: 1.8rem; }
  .bma-pf-item       { padding: 16px 18px; }
}


/* ============================================================
   SIDEBAR — Informations officielles (BMA)
   ============================================================ */
.bma-infos {
  background-color: #E2DDD7;
  border: none;
  border-radius: 12px;
  padding: 25px;
}
.bma-infos-titre {
  font-family: var(--bma-ff-texte);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--bma-gris);
  margin-bottom: 20px;
}
.bma-infos-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.bma-infos-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.bma-infos-label {
  font-family: var(--bma-ff-texte);
  font-size: 0.75rem;
  color: var(--bma-bronze);
}
.bma-infos-value {
  font-family: var(--bma-ff-texte);
  font-size: 0.9rem;
  font-weight: 500;
  color: #3A3632;
}
.bma-infos-footer {
  border-top: 1px solid rgba(184,149,106,0.3);
  padding-top: 16px;
}
.bma-infos-footer p {
  font-family: var(--bma-ff-texte);
  font-size: 0.78rem;
  color: #5C5550;
  line-height: 1.6;
}
.bma-infos-link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--bma-ff-texte);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bma-bordeaux);
  text-decoration: none;
}
.bma-infos-link:hover { text-decoration: underline; }

/* ============================================================
   SIDEBAR — En bref (BMA)
   ============================================================ */
.bma-enbref {
  background-color: #3A3632;
  border-radius: 12px;
  padding: 28px;
  color: var(--bma-ivoire);
  margin-bottom: 20px;
}
.bma-enbref-titre {
  font-family: var(--bma-ff-titre);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--bma-bronze);
  margin-bottom: 22px;
}
.bma-enbref-list { display: flex; flex-direction: column; }
.bma-enbref-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bma-gris);
}
.bma-enbref-row:last-child { border-bottom: none; }
.bma-enbref-label {
  font-family: var(--bma-ff-texte);
  font-size: 0.85rem;
  color: rgba(251,248,243,0.5);
  flex-shrink: 0;
}
.bma-enbref-value {
  font-family: var(--bma-ff-texte);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bma-ivoire);
  text-align: right;
}
.bma-enbref-stat {
  background-color: var(--bma-creme);
  border: 2px solid var(--bma-bordeaux);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  margin-top: 22px;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}
.bma-enbref-stat-value {
  font-family: var(--bma-ff-titre);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--bma-bordeaux);
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.bma-enbref-stat-label {
  font-family: var(--bma-ff-texte);
  font-size: 0.85rem;
  color: var(--bma-gris);
}