/* ============================================================
   INTERFACE3 — HOME PAGE
   Style : Bold Editorial · District Quint inspired
   ============================================================ */

/* ============================================================
   HERO — SPLIT LAYOUT
   ============================================================ */
.hero {
  min-height: 80vh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

/* Grain texture subtil */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.hero__main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  z-index: 1;
}

/* ---- PANNEAU GAUCHE ---- */
.hero__left {
  /*padding: var(--s16) var(--gutter) var(--s16) var(--gutter);*/
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 860px;
  margin-left: auto;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: 4rem;
 padding-top: 1rem; /* ajuste : 0.5rem → 1rem si besoin */
}
.hero__eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero__eyebrow-text {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__title {
  font-family: var(--font-display);
  
font-size: clamp(4rem, 8vw, 7.5rem);
  max-width: 11ch;

  font-weight: 900;
  line-height: 0.93;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--s8);
  padding: 0;
}
.hero__title-line {
  display: block;
  overflow: hidden;
}
.hero__title-word {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.8s var(--ease-out);
}
.hero__title-word.is-visible { transform: translateY(0); }
.hero__title-word--accent {
  /*color: transparent;
  -webkit-text-stroke: 2px var(--text-primary);*/
   display: inline-block;
  background: #FFE600;
  line-height: 0.88;
  padding: 0.02em 0.1em 0.04em;

}
[data-theme="dark"] .hero__title-word--accent {
  -webkit-text-stroke: 2px var(--yellow);
}

.hero__sub {
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  color: var(--text-secondary);
  max-width: 46ch;
  margin-bottom: var(--s10);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  align-items: center;
}

/* ---- PANNEAU DROIT — SPLIT en 2 ENTRÉES ---- */
.hero__right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  border-left: 1.5px solid var(--border);
}

/* ---- juste pour grand écran ---- */
@media (min-width: 1024px) {
  .hero__right {
    margin: 6em;
  }
}


.hero__entry {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--s10) var(--s10);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t-slow);
}
.hero__entry::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--t-slow);
  z-index: 0;
}
.hero__entry:hover::before { opacity: 1; }
.hero__entry > * { position: relative; z-index: 1; }

/* Séparateur entre les 2 entrées */
.hero__entry:first-child {
  border-bottom: 1.5px solid var(--border);
}

/* Entrée "Se former" */
.hero__entry--former::before { background: var(--violet); }
.hero__entry--former { background: var(--bg-alt); margin: 1em; }

/* Entrée "Employeur" */
.hero__entry--employer::before { background: var(--yellow); }
.hero__entry--employer { background: var(--text-primary);margin: 1em; }
[data-theme="dark"] .hero__entry--employer { background: #1a1a1a; }

.hero__entry-number {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: var(--s6);
  transition: color var(--t-base);
}
.hero__entry--employer .hero__entry-number { color: rgba(250,249,246,0.35); }

.hero__entry-kicker {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s3);
  transition: color var(--t-base);
}
.hero__entry--employer .hero__entry-kicker { color: rgba(250,249,246,0.45); }
.hero__entry--former:hover .hero__entry-kicker { color: rgba(250,249,246,0.7); }
.hero__entry--employer:hover .hero__entry-kicker { color: rgba(250,249,246,0.7); }

.hero__entry-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, var(--text-5xl));
  font-weight: 900;
  text-transform: uppercase;
  line-height: var(--leading-snug);
  color: var(--text-primary);
  margin-bottom: var(--s6);
  transition: color var(--t-base);
}
.hero__entry--employer .hero__entry-title { color: var(--text-inverse); }
.hero__entry--former:hover .hero__entry-title,
.hero__entry--employer:hover .hero__entry-title { color: var(--text-inverse); }

.hero__entry-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}
.hero__entry-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 28ch;
  transition: color var(--t-base);
}
.hero__entry--employer .hero__entry-desc { color: rgba(250,249,246,0.45); }
.hero__entry--former:hover .hero__entry-desc,
.hero__entry--employer:hover .hero__entry-desc { color: rgba(250,249,246,0.7); }

.hero__entry-arrow {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform var(--t-base), background var(--t-base), color var(--t-base);
}
.hero__entry--former .hero__entry-arrow {
  background: var(--text-primary);
  color: var(--bg);
}
.hero__entry--employer .hero__entry-arrow {
  background: var(--yellow);
  color: var(--text-on-yellow);
}
.hero__entry:hover .hero__entry-arrow {
  transform: translateX(4px) scale(1.1);
  background: var(--yellow);
  color: var(--text-on-yellow);
}
.hero__entry--employer:hover .hero__entry-arrow {
  background: var(--white);
  color: var(--text-on-yellow);
}

/* ---- STATS STRIP ---- */
.hero__stats {
  border-top: 1.5px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}
.hero__stat {
  padding: var(--s6) var(--gutter);
  border-right: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}
.hero__stat:last-child { border-right: none; }
.hero__stat-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}
.hero__stat-num--accent { color: var(--violet); }
[data-theme="dark"] .hero__stat-num--accent { color: var(--yellow); }
.hero__stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   hero sonia
   ============================================================ */


/* ============================================================
   ALIGNEMENT GLOBAL HERO = CONTAINER
   (sans changer la structure HTML)
   ============================================================ */

/* 1. On définit la même largeur max que .container */



.hero__main,
.hero__stats {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  margin-top: 2em;
}

/* 2. On empêche le texte d’influencer l’alignement */
.hero__left {
  max-width: none;
  margin-left: 0;
}

/* 3. On garde une largeur éditoriale interne stable */
.hero__left > * {
  max-width: 860px;
}


/* Ajustement vertical hero → stats */
.hero__stats {
  margin-top: 0;
}

.hero__stat {
  padding-top: var(--s4);
  padding-bottom: var(--s4);
}


/* Alignement vertical cohérent des 2 colonnes du hero */
.hero__main {
  align-items: start;
}


@media (min-width: 1024px) {
  .hero__right {
    margin-top: 0;
    margin-right: 0em;
    margin-bottom: 6em;
    margin-left: 6em;
  }
}

/* ============================================================
   MARQUEE SECTION
   ============================================================ */
.marquee-section { border-top: 1.5px solid var(--border); border-bottom: 1.5px solid var(--border); }

/* ============================================================
   FORMATIONS PREVIEW
   ============================================================ */
.formations-preview { background: var(--bg); }
.formations-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s8);
  margin-bottom: var(--s12);
  flex-wrap: wrap;
}

/* Grid asymétrique à la District Quint */
.formations-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--s4);
}
.f-card--span2 { grid-row: span 2; }

/* ============================================================
   MÉTHODE SECTION
   ============================================================ */
.method-section { background: var(--bg-alt); }
.method-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
  margin-top: var(--s10);
}
.method-step {
  padding: var(--s8);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.method-step__num {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  transition: color var(--t-base);
}
.method-step:hover .method-step__num { color: var(--yellow); }
.method-step__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-primary);
}
.method-step__desc { font-size: var(--text-sm); color: var(--text-secondary); }

/* ============================================================
   MISSION / EDITO SECTION — fond noir total
   ============================================================ */
.mission-section {
  background: var(--text-primary);
  color: var(--text-inverse);
  padding-block: var(--s40);
  overflow: hidden;
  position: relative;
}
[data-theme="dark"] .mission-section { background: #000; }
.mission-section .section-label::before { background: var(--yellow); }
.mission-section .section-label span { color: rgba(250,249,246,0.5); }
.mission__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--text-inverse);
  margin-bottom: var(--s10);
}
.mission__title .highlight { color: var(--text-on-yellow); }
.mission__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: start;

}


.highlight {
  display: inline-block;
  background: #FFE600;
  line-height: 0.88;
  padding: 0.02em 0.1em 0.04em;

}  






.mission__text {
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  color: rgba(250,249,246,0.75);
}
.mission__values {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.mission__value-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
  padding: var(--s5);
  border: 1px solid rgba(250,249,246,0.12);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.mission__value-item:hover {
  border-color: var(--yellow);
  background: rgba(245,227,45,0.04);
}
.mission__value-icon {
  font-size: var(--text-2xl);
  flex-shrink: 0;
}
.mission__value-content h4 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-inverse);
  margin-bottom: 2px;
}
.mission__value-content p {
  font-size: var(--text-sm);
  color: rgba(250,249,246,0.55);
}

/* ============================================================
   EMPLOYEURS TEASER
   ============================================================ */
.employer-teaser {
  background: violet;
  padding: var(--s16) var(--gutter);

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s6);
  position: relative;
  overflow: hidden;
}
.employer-teaser__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s12);
  align-items: center;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}
.employer-teaser__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, var(--text-7xl));
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text-on-yellow);
  line-height: var(--leading-tight);
}
.employer-teaser__body {
  display: flex;
  flex-direction: column;
  gap: var(--s6);
}
.employer-teaser__text {
  font-size: var(--text-lg);
  color: rgba(13,13,13,0.75);
}
.employer-teaser__actions { display: flex; flex-wrap: wrap; gap: var(--s4); }

/* ============================================================
   AGENDA TEASER
   ============================================================ */
.agenda-teaser {
  background: var(--bg-alt);
}
.agenda-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.agenda-item {
  display: flex;
  align-items: center;
  gap: var(--s6);
  padding: var(--s6) 0;
  border-bottom: 1.5px solid var(--border);
  text-decoration: none;
  color: var(--text-primary);
  transition: padding-left var(--t-base), background var(--t-fast);
}
.agenda-item:hover { padding-left: var(--s4); }
.agenda-item__date {
  flex-shrink: 0;
  width: 5rem;
  text-align: center;
}
.agenda-item__day {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}
.agenda-item__month {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.agenda-item__divider {
  width: 1.5px;
  height: 2.5rem;
  background: var(--border);
  flex-shrink: 0;
}
.agenda-item__content { flex: 1; }
.agenda-item__type {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--violet);
  margin-bottom: 2px;
}
.agenda-item__title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
}
.agenda-item__meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.agenda-item__arrow {
  font-size: var(--text-xl);
  color: var(--text-muted);
  transition: transform var(--t-fast), color var(--t-fast);
  flex-shrink: 0;
}
.agenda-item:hover .agenda-item__arrow {
  transform: translateX(4px);
  color: var(--text-primary);
}

/* ============================================================
   HOME RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero__main { grid-template-columns: 1fr; }
  .hero__right {
    border-left: none;
    border-top: 1.5px solid var(--border);
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
  }
  .hero__entry:first-child {
    border-bottom: none;
    border-right: 1.5px solid var(--border);
  }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stat:nth-child(2) { border-right: none; }
  .hero__stat:nth-child(3) { border-top: 1.5px solid var(--border); }
  .formations-grid { grid-template-columns: 1fr 1fr; }
  .f-card--span2 { grid-row: span 1; }
  .method-steps { grid-template-columns: 1fr 1fr; }
  .mission__body { grid-template-columns: 1fr; gap: var(--s10); }
  .employer-teaser__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero__right { grid-template-columns: 1fr; }
  .hero__entry:first-child { border-right: none; border-bottom: 1.5px solid var(--border); }
  .hero__entry { min-height: 220px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .formations-grid { grid-template-columns: 1fr; }
  .method-steps { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__stat { padding: var(--s4) var(--s4); }
}



@media (max-width: 768px) {
  .hero__left {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

