/* ============================================
   LAMA.CSS — Page L'Académie
   ============================================ */


/* ============================================
   BANDEAU ANCRES
============================================ */
.lama-ancres-nav {
  background: #3A1A1D;
  padding: 14px 40px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.lama-ancres-label {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251,248,243,0.4);
  flex-shrink: 0;
}

.lama-ancres-sep {
  width: 1px;
  height: 14px;
  background: rgba(184,149,106,0.3);
  flex-shrink: 0;
}

.lama-ancres-nav a {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: rgba(251,248,243,0.7);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.lama-ancres-nav a:hover {
  color: #B8956A;
}

/* ============================================
   2. HERO — FOND ABSOLU
   ============================================ */

.lama-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.lama-hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,149,106,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,149,106,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
}

.lama-hero-annee {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28rem;
  font-weight: 700;
  font-style: italic;
  color: rgba(184,149,106,0.055);
  line-height: 1;
  user-select: none;
  white-space: nowrap;
  margin: 0;
  pointer-events: none;
}


/* ============================================
   3. HERO — CONTENU
   ============================================ */

.lama-hero-subtitle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lama-hero-subtitle-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, #B8956A, transparent);
}

.lama-hero-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 1.2rem;
  color: #DEBF92;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0;
}

.lama-hero-intro {
  max-width: 620px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* ============================================
   L'ACADÉMIE — HERO STATS
   ============================================ */
.campus-hero-stats {
    display: flex;
    gap: 1px;
    background-color: #B8956A;
    max-width: 900px;
    margin: 0 auto;
}

.chs-stat {
    background-color: #ebe4da !important;
    flex: 1;
    padding: 0.7rem 0.9rem;
    text-align: center;
}

.chs-n {
    font-family: 'Bodoni Moda', Georgia, serif !important;
    font-style: italic !important;
    color: #6B1C23 !important;
    font-size: clamp(1.3rem, 2vw, 1.8rem) !important;
    margin: 0 0 0.3rem 0 !important;
}

.chs-l {
    font-family: 'Lato', sans-serif !important;
    font-size: 16px !important;
    color: #3A3632 !important;
    opacity: 0.85;
    margin: 0 !important;
}

/* ============================================
   NOTRE HISTOIRE - CITATION
   ============================================ */
.lama-citation {
  border-left: 3px solid #B8956A;
  padding-left: 20px;
  margin: 24px 0;
}

.lama-citation p {
  font-family: 'Bodoni Moda', Georgia, serif !important;
  font-style: italic !important;
  font-size: 1.15rem !important;
  color: #6B1C23 !important;
  line-height: 1.6 !important;
}

/* ============================================
   MISSION — ONGLETS
   ============================================ */
.lama-mission-tabs {
  margin-bottom: 3rem;
}

.lama-mission-tabs-nav {
  display: flex;
  border-bottom: 2px solid rgba(184,149,106,0.2);
  margin-bottom: 0;
}

.lama-mission-btn {
  padding: 14px 24px;
  border: none;
  background: transparent;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #5C5550;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.lama-mission-btn.lama-active {
  color: #6B1C23;
  border-bottom-color: #6B1C23;
}

.lama-mission-btn:hover:not(.lama-active) {
  color: #6B1C23;
}

.lama-mission-panels {
  padding: 32px 0;
}

.lama-mission-panel {
  display: none;
  animation: lamaFadeIn 0.25s ease;
}

.lama-mission-panel.lama-active {
  display: block;
}

.lama-mission-panel h4 {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #6B1C23;
  margin-bottom: 16px;
}

.lama-mission-panel p {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: #5C5550;
  line-height: 1.75;
  margin-bottom: 14px;
  max-width: 680px;
}

.lama-mission-panel p strong {
  color: #6B1C23;
}

.lama-conviction-texte {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
  color: #6B1C23;
  border-left: 3px solid #B8956A;
  padding-left: 20px;
  max-width: 640px;
  line-height: 1.6;
}

@keyframes lamaFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ============================================
   6. CONVICTION
   ============================================ */

.lama-conviction {
  border-left: 4px solid #6B1C23;
  padding: 28px 36px;
  background-color: #ebe4da;
  width: 60%;
}

.lama-conviction p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  color: #3A3632;
  line-height: 1.75;
  margin: 0;
}


/* ============================================
   LE MOT DE LA PRSÉSIDENTE
   ============================================ */

.lama-presidente img {
    position: relative;
    left: 2px;
}


/* ============================================
   7. TIMELINE
   ============================================ */
.lama-timeline {
  display: flex;
  flex-direction: column;
}

.lama-tl-item {
  display: grid;
  grid-template-columns: 56px 1fr;
}

.lama-tl-year {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  font-weight: 400;
  color: #B8956A;
  padding: 16px 0;
  border-right: 1px solid rgba(184,149,106,0.25);
  position: relative;
}

.lama-tl-year::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 22px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #6B1C23;
  border: 2px solid #FBF8F3;
}

.lama-tl-content {
  padding: 14px 0 14px 20px;
  border-bottom: 1px solid rgba(184,149,106,0.12);
}

.lama-tl-item:last-child .lama-tl-content {
  border-bottom: none;
}

.lama-tl-content p {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  color: #5C5550;
  line-height: 1.55;
}

.lama-tl-content strong {
  color: #6B1C23;
  font-weight: 700;
}

/* ============================================
   8. CARD — SECTIONS CE QUI NOUS DISTINGUE
   ============================================ */

.lama-distingue-card {
  width: 100%;
  height: 300px !important;
  box-sizing: border-box !important;
}


/* ============================================
   10. SECTION DISTINGUE — CARDS
   ============================================ */

.lama-distingue .wp-block-column .wp-block-group {
  width: 280px;
  height: 380px;
}


/* ============================================
   11. RESPONSIVE — TABLETTE (max 1024px)
   ============================================ */

@media (max-width: 1024px) {
  .lama-distingue .wp-block-column .wp-block-group {
    width: 100%;
    height: 345px;
  }
}


/* ============================================
   12. RESPONSIVE — TABLETTE (max 900px)
   ============================================ */

@media (max-width: 900px) {
  .lama-hero-wrapper { padding: 60px 30px; }
  .lama-hero-annee { font-size: 12rem; }
  .lama-wm { font-size: 6rem; }
  .lama-mission-grid { grid-template-columns: 1fr; }
}


/* ============================================
   13. RESPONSIVE — MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {

  /* Stats */
  .campus-hero-stats {
    flex-wrap: wrap !important;
    gap: 0 !important;
    background-color: transparent !important;
    max-width: 100% !important;
  }

  .chs-stat {
    flex: 0 0 50% !important;
    width: 50% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 16px 10px !important;
  }

  .lama-hero-wrapper {
    padding: 80px 40px !important;
    min-height: auto !important;
  }

  /* Cards distingue */
  .lama-distingue .wp-block-column .wp-block-group {
    width: 100%;
    height: auto;
  }

  .lama-distingue-card {
    width: 100% !important;
    height: auto !important;
  }

  .lama-presidente .wp-block-columns {
    margin-top: 32px;
  }

  .lama-ancres-nav{
  display:none;
  }

}



/* ============================================
   POURQUOI NOUS CHOISIR — GRID
   ============================================ */
.lama-pourquoi-grid .wp-block-column .wp-block-group {
    width: 100%;
}

.lama-nos-lieux .wp-block-paragraph {
    margin-bottom: 4px!important;
}