/* ============================================================
   École Pratique — Landing page filières
   CSS production — version définitive consolidée
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── Variables ───────────────────────────────────────────── */
:root {
  --bg: #FAF7F2;
  --bg-warm: #F4EFE6;
  --ink: #0E1330;
  --ink-soft: #2A2F4F;
  --muted: #6B6F8A;
  --line: rgba(14, 19, 48, 0.08);
  --primary: #353cec;
  --primary-deep: #2229cc;
  --primary-soft: #e7e8fc;
  --accent: #ffff00;
  --accent-on: #0E1330;
  --c-commerce: #ade010;  --on-commerce: #1a2500;
  --c-finance:  #1be0bf;  --on-finance:  #003830;
  --c-it:       #ffa000;  --on-it:       #2a1a00;
  --c-immo:     #f93898;  --on-immo:     #ffffff;
  --c-batiment: #273582;  --on-batiment: #ffffff;
  --font-display: "Fira Sans", system-ui, sans-serif;
  --font-text:    "Fira Sans", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;
  --radius: 18px;
  --radius-lg: 28px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-pad: 88px;
}

/* ── Reset ───────────────────────────────────────────────── */
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp h1, .lp h2, .lp h3, .lp p, .lp ul { margin: 0; padding: 0; }

.lp {
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
}

.lp h1, .lp h2, .lp h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lp h2 { font-size: clamp(32px, 4.5vw, 52px); }

/* em dans h2 = soulignement jaune sur fond clair */
.lp h2 em {
  font-style: italic;
  background: linear-gradient(180deg, transparent 58%, var(--accent) 58%);
  padding: 0 4px;
  color: inherit;
}

/* em dans h2 sur fond bleu = jaune plein */
#stats h2 em,
#metier-finder h2 em,
.lp-faq h2 em {
  background: none;
  color: var(--accent);
  padding: 0;
}

.lp .wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.lp section { padding: var(--section-pad) 0; }

.lp-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  display: block;
}

/* ── Boutons ─────────────────────────────────────────────── */
.lp .btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-family: var(--font-text); font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.lp .btn-primary { background: var(--primary); color: #fff; }
.lp .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(53,60,236,.30); }
.lp .btn-ghost { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.lp .btn-ghost:hover { background: var(--primary); color: #fff; }

/* ── Reveal on scroll ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.lp-hero { padding-top: 48px; padding-bottom: 0; overflow: hidden; }
.lp-hero h1 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 24px; }
.lp-hero .highlight {
  background: linear-gradient(180deg, transparent 60%, var(--accent) 60%);
  padding: 0 4px;
}
.lp-hero .lead { font-size: clamp(16px, 2vw, 20px); color: var(--ink-soft); max-width: 560px; margin-bottom: 32px; }
.lp-hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 980px) { .lp-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; } }

.lp-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 20px;
}
.lp-badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); animation: lp-pulse 1.5s ease-in-out infinite;
}
@keyframes lp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

.lp-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 32px; }

.lp-hero-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.lp-hero-photo { position: relative; width: 100%; max-width: 420px; }
.lp-hero-placeholder {
  width: 100%; aspect-ratio: 3/4; border-radius: 28px;
  background-color: var(--bg-warm); border: 1.5px solid var(--line);
  overflow: hidden; position: relative;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 12px, rgba(14,19,48,.04) 12px, rgba(14,19,48,.04) 13px);
}
.lp-hero-placeholder::before {
  content: "portrait étudiant — placeholder";
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px; color: var(--muted); white-space: nowrap; opacity: .6;
}
.lp-hero-placeholder-silhouette { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 70%; height: 80%; }
.lp-hero-placeholder-silhouette::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 38%; aspect-ratio: 1; border-radius: 50%; background: rgba(14,19,48,.12);
}
.lp-hero-placeholder-silhouette::after {
  content: ""; position: absolute; top: calc(38% + 4px); left: 50%; transform: translateX(-50%);
  width: 70%; height: 62%; border-radius: 50% 50% 0 0/20% 20% 0 0; background: rgba(14,19,48,.08);
}

.lp-badge-float {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; border-radius: 999px;
  font-family: var(--font-text); font-size: 13px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(14,19,48,.14);
  animation: lp-badge-float 3s ease-in-out infinite;
}
.lp-badge-float__icon { font-family: var(--font-mono); font-size: 12px; opacity: .8; }
.lp-badge-float--commerce { background: var(--c-commerce); color: var(--on-commerce); top: 8%;    left: -8%;   animation-delay: 0s; }
.lp-badge-float--finance  { background: var(--c-finance);  color: var(--on-finance);  top: 22%;   right: -10%; animation-delay: .6s; }
.lp-badge-float--it       { background: var(--c-it);       color: var(--on-it);       top: 45%;   left: -12%;  animation-delay: 1.2s; }
.lp-badge-float--immo     { background: var(--c-immo);     color: var(--on-immo);     top: 62%;   right: -8%;  animation-delay: .3s; }
.lp-badge-float--batiment { background: var(--c-batiment); color: var(--on-batiment); bottom: 12%; left: -6%;  animation-delay: .9s; }
@keyframes lp-badge-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@media (max-width: 979px) {
  .lp-hero-photo { max-width: 320px; margin: 0 auto; }
  .lp-badge-float { font-size: 11px; padding: 7px 11px; }
  .lp-badge-float--commerce { left: 2%; } .lp-badge-float--finance { right: 2%; }
  .lp-badge-float--it { left: 0%; } .lp-badge-float--immo { right: 0%; }
  .lp-badge-float--batiment { left: 4%; }
}

/* ════════════════════════════════════════════════════════════
   KEYSTATS SECTION
   ════════════════════════════════════════════════════════════ */
.lp-keystats-section { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.lp-keystats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.lp-keystat-item { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 0 32px; border-left: 1px solid var(--line); }
.lp-keystat-item:first-child { border-left: 0; padding-left: 0; }
.lp-keystat-item__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 20px; margin-bottom: 4px; }
.lp-keystat-item__value { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.lp-keystat-item__label { font-size: 14px; color: var(--ink-soft); line-height: 1.4; max-width: 200px; }
@media (max-width: 760px) {
  .lp-keystats-row { grid-template-columns: 1fr 1fr; gap: 24px; }
  .lp-keystat-item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .lp-keystat-item:first-child, .lp-keystat-item:nth-child(2) { border-top: 0; padding-top: 0; }
}

/* ════════════════════════════════════════════════════════════
   MARQUEE
   ════════════════════════════════════════════════════════════ */
.lp-marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.lp-marquee-track { display: flex; gap: 48px; white-space: nowrap; animation: lp-marquee 40s linear infinite; width: max-content; }
@keyframes lp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ════════════════════════════════════════════════════════════
   FILIÈRES — TIMELINE
   ════════════════════════════════════════════════════════════ */
#filieres .lp-eyebrow       { margin-bottom: 12px; }
#filieres h2                { margin-bottom: 12px; }
#filieres .lead             { margin-bottom: 28px; color: var(--ink-soft); }
#filieres .lp-filiere-tabs  { margin-top: 8px; margin-bottom: 32px; }

.lp-filiere-tabs { display: flex; gap: 8px; flex-wrap: wrap; overflow-x: auto; padding-bottom: 4px; }
.lp-filiere-tab {
  padding: 10px 16px; border-radius: 999px;
  background: transparent; color: var(--ink); border: 1.5px solid var(--line);
  font-family: var(--font-text); font-weight: 600; font-size: 14px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap; transition: all .15s;
}
.lp-filiere-tab.is-active[data-filiere="commerce"] { background: var(--c-commerce); color: var(--on-commerce); border-color: transparent; }
.lp-filiere-tab.is-active[data-filiere="finance"]  { background: var(--c-finance);  color: var(--on-finance);  border-color: transparent; }
.lp-filiere-tab.is-active[data-filiere="it"]       { background: var(--c-it);       color: var(--on-it);       border-color: transparent; }
.lp-filiere-tab.is-active[data-filiere="immo"]     { background: var(--c-immo);     color: var(--on-immo);     border-color: transparent; }
.lp-filiere-tab.is-active[data-filiere="batiment"] { background: var(--c-batiment); color: var(--on-batiment); border-color: transparent; }

.lp-filiere-header { display: flex; align-items: center; gap: 16px; padding: 20px 28px; border-radius: 14px; margin-bottom: 28px; }
.lp-filiere-header[data-filiere="commerce"] { background: var(--c-commerce); color: var(--on-commerce); }
.lp-filiere-header[data-filiere="finance"]  { background: var(--c-finance);  color: var(--on-finance); }
.lp-filiere-header[data-filiere="it"]       { background: var(--c-it);       color: var(--on-it); }
.lp-filiere-header[data-filiere="immo"]     { background: var(--c-immo);     color: var(--on-immo); }
.lp-filiere-header[data-filiere="batiment"] { background: var(--c-batiment); color: var(--on-batiment); }

.lp-timeline { padding: 32px; border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.lp-timeline-track { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.lp-timeline-col { min-width: 280px; flex: 0 0 auto; scroll-snap-align: start; padding: 0 12px; position: relative; }
.lp-timeline-col + .lp-timeline-col { border-left: 1px dashed currentColor; }
.lp-timeline-card { padding: 14px; border-radius: 14px; background: var(--bg-warm); border: 1px solid var(--line); margin-bottom: 16px; }
.lp-timeline-card h4 { margin-bottom: 6px; font-size: 15px; font-weight: 700; }
.lp-timeline-short { font-family: var(--font-mono); font-size: 11px; opacity: .65; margin-bottom: 10px; display: block; }
.lp-metier-list { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-metier-chip { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; border: 1px solid rgba(0,0,0,.06); }

/* ════════════════════════════════════════════════════════════
   MÉTIER FINDER
   ════════════════════════════════════════════════════════════ */
#metier-finder { background: var(--primary); color: var(--bg); }
#metier-finder .lp-eyebrow { color: var(--accent); margin-bottom: 14px; }
#metier-finder h2 { color: var(--bg); margin-bottom: 16px; }
#metier-finder > .wrap > p { color: rgba(250,247,242,.8); margin-bottom: 0; }

.lp-finder-wrap { margin-top: 28px; display: flex; flex-direction: column; gap: 20px; }

.lp-finder-input {
  width: 100%; padding: 20px 24px; border-radius: 14px; border: 0;
  background: var(--bg); font-family: var(--font-text); font-size: 17px;
  font-weight: 500; color: var(--ink); outline: none;
  box-shadow: 0 2px 20px rgba(14,19,48,.12); transition: box-shadow .2s;
}
.lp-finder-input:focus { box-shadow: 0 4px 28px rgba(14,19,48,.2); }
.lp-finder-input::placeholder { color: var(--muted); }

.lp-finder-results { display: flex; flex-direction: column; gap: 16px; }

.lp-metier-suggestions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lp-metier-suggestions__label { font-size: 13px; color: rgba(250,247,242,.55); font-weight: 500; }
.lp-metier-chip-suggest {
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(250,247,242,.12); color: var(--bg);
  border: 1px solid rgba(250,247,242,.2);
  font-family: var(--font-text); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: background .15s, border-color .15s;
}
.lp-metier-chip-suggest:hover { background: rgba(250,247,242,.22); border-color: rgba(250,247,242,.4); }

.lp-metier-results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }

.lp-metier-result {
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  padding: 16px 20px; border-radius: 14px; border: 0;
  cursor: pointer; text-align: left; font-family: var(--font-text);
  transition: transform .15s, box-shadow .15s;
}
.lp-metier-result:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(14,19,48,.2); }
.lp-metier-result.is-active { outline: 3px solid rgba(255,255,255,.8); outline-offset: 2px; }
.lp-metier-result__name { font-size: 15px; font-weight: 700; line-height: 1.2; display: block; }
.lp-metier-result__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; opacity: .75; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.lp-metier-empty { font-size: 15px; color: rgba(250,247,242,.6); font-style: italic; }

.lp-parcours-card { padding: 28px 32px; border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 16px; animation: lp-fadeup .25s ease; }
@keyframes lp-fadeup { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.lp-parcours-card__eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.lp-parcours-card__title { font-family: var(--font-display); font-size: clamp(20px, 3vw, 28px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin: 0; }
.lp-parcours-card__cta { align-self: flex-start; margin-top: 4px; }

/* ════════════════════════════════════════════════════════════
   SALARY CARDS
   ════════════════════════════════════════════════════════════ */
#salaires .lp-eyebrow { margin-bottom: 12px; }
#salaires h2 { margin-bottom: 32px; }

.lp-highlight-mint { font-style: italic; background: linear-gradient(180deg, transparent 58%, var(--c-finance) 58%); padding: 0 4px; }

.lp-salary-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.lp-salary-card {
  background: var(--bg); color: var(--ink);
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  border-left: 4px solid var(--card-color);
  padding: 24px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 2px 12px rgba(14,19,48,.05);
  transition: transform .15s, box-shadow .15s;
}
.lp-salary-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(14,19,48,.10); }
.lp-salary-card__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lp-salary-card__filiere, .lp-salary-card__level { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); opacity: .7; }
.lp-salary-card__level::before { content: "·"; margin-right: 8px; }
.lp-salary-card__job { font-family: var(--font-display); font-size: clamp(18px, 2.5vw, 22px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
.lp-salary-card__figures { display: flex; gap: 24px; margin-top: auto; }
.lp-salary-card__label { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; opacity: .6; margin-bottom: 4px; }
.lp-salary-card__value { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--primary); }

/* ════════════════════════════════════════════════════════════
   STATS
   ════════════════════════════════════════════════════════════ */
#stats { background: var(--primary); color: var(--bg); }
#stats .lp-eyebrow { color: var(--accent); margin-bottom: 12px; }
#stats h2 { color: var(--bg); }

.lp-stats-headline { margin-bottom: 48px; }
.lp-stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px 48px; border-top: 1px solid rgba(250,247,242,.12); padding-top: 48px; }
.lp-stat-item { display: flex; flex-direction: column; gap: 12px; }
.lp-stat-num { font-family: var(--font-display); font-size: clamp(56px, 9vw, 88px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--accent); }
.lp-stat-desc { font-size: 15px; color: rgba(250,247,242,.65); line-height: 1.45; max-width: 220px; }
.lp-stat-accent { font-style: italic; color: var(--accent); }

/* ════════════════════════════════════════════════════════════
   TÉMOIGNAGES
   ════════════════════════════════════════════════════════════ */
#temoignages .lp-eyebrow { margin-bottom: 12px; }
#temoignages h2 { margin-bottom: 32px; }

.lp-temoignages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.lp-temoignage {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .15s, box-shadow .15s;
}
.lp-temoignage:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(14,19,48,.08); }
.lp-temoignage__header { display: flex; align-items: center; gap: 14px; }
.lp-temoignage__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-warm); color: var(--ink); border: 1.5px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 18px; font-weight: 800; flex-shrink: 0;
}
.lp-temoignage__nom { font-weight: 600; font-size: 15px; color: var(--ink); }
.lp-temoignage__diplome { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .05em; margin-top: 2px; opacity: .8; }
.lp-temoignage__texte { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

/* ════════════════════════════════════════════════════════════
   FORMULAIRE CONTACT
   ════════════════════════════════════════════════════════════ */
#contact .lp-eyebrow { margin-bottom: 12px; }
#contact h2 { margin-bottom: 20px; }

/* ════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════ */
.lp-faq { background: var(--primary); color: var(--bg); }
#faq .lp-eyebrow { color: var(--accent); margin-bottom: 12px; }
#faq h2 { margin-bottom: 36px; color: var(--bg); }

.lp-faq-item { background: rgba(250,247,242,.08); border: 1px solid rgba(250,247,242,.15); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.lp-faq-q {
  width: 100%; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between;
  background: transparent; border: 0; color: var(--bg);
  font-family: var(--font-text); font-size: 17px; font-weight: 600; text-align: left; cursor: pointer;
}
.lp-faq-toggle { width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--primary); display: grid; place-items: center; font-size: 18px; transition: transform .2s; flex-shrink: 0; }
.lp-faq-item.is-open .lp-faq-toggle { transform: rotate(45deg); }
.lp-faq-a { display: none; padding: 4px 24px 28px; font-size: 15px; line-height: 1.55; opacity: .92; max-width: 760px; }
.lp-faq-item.is-open .lp-faq-a { display: block; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 760px) {
  :root { --section-pad: 56px; }
  .lp { font-size: 15px; }
  .lp .btn { padding: 12px 18px; font-size: 14px; }
  .lp-salary-grid, .lp-temoignages-grid { grid-template-columns: 1fr; }
  .lp-stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .lp-stat-num { font-size: 52px; }
  .lp-metier-results-grid { grid-template-columns: 1fr; }
  .lp-parcours-card { padding: 20px; }
  .lp-finder-input { font-size: 15px; padding: 16px 18px; }
}

/* ── Filière header immo & bâtiment — texte blanc forcé sur tous les enfants */
.lp-filiere-header[data-filiere="immo"] *,
.lp-filiere-header[data-filiere="batiment"] * {
  color: #ffffff;
}

/* ── FAQ — corrections ───────────────────────────────────── */

/* 1. Toggle centré verticalement */
.lp-faq-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

/* 2. "On y répond" — jaune au lieu de vert */
.lp-faq h2 em,
#faq h2 em {
  background: none;
  color: var(--accent);
  padding: 0;
  font-style: italic;
}

/* ── Keystats section — fond bleu primary ────────────────── */
.lp-keystats-section {
  background: var(--primary);
  border-top: 0;
  border-bottom: 0;
}
.lp-keystat-item {
  border-left-color: rgba(255,255,255,.15);
}
.lp-keystat-item:first-child { border-left: 0; }
.lp-keystat-item__icon { display: none; }
.lp-keystat-item__value {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.lp-keystat-item__label {
  color: rgba(255,255,255,.65);
}

/* ════════════════════════════════════════════════════════════════════
   NAV LANDING — sticky onepager
   ════════════════════════════════════════════════════════════════════ */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--primary);
  box-shadow: 0 2px 16px rgba(53,60,236,.25);
}

.lp-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}

/* Logo */
.lp-nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.lp-nav__logo img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.lp-nav__logo-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

/* Ancres */
.lp-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}
.lp-nav__link {
  display: block;
  padding: 8px 16px;
  border-radius: 999px;
  color: rgba(255,255,255,.8);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.lp-nav__link:hover,
.lp-nav__link.is-active {
  background: rgba(255,255,255,.15);
  color: #fff;
}

/* CTA */
.lp-nav__cta {
  background: #fff;
  color: var(--primary);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s, transform .15s;
}
.lp-nav__cta:hover {
  background: var(--accent);
  color: var(--accent-on);
  transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 760px) {
  .lp-nav__links { display: none; }
  .lp-nav__inner { justify-content: space-between; }
}

/* ── Nav landing — contrainte largeur ────────────────────── */
.lp-nav__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Nav — alignement vertical des ancres ────────────────── */
.lp-nav__links {
  align-items: center;
}
.lp-nav__links li {
  display: flex;
  align-items: center;
}
.lp-nav__link {
  display: flex;
  align-items: center;
  line-height: 1;
}

/* ── Nav — neutralise le margin du thème sur li + li ─────── */
.lp-nav__links li + li {
  margin: 0 !important;
}

/* ── Filière header — éléments internes ─────────────────── */
.lp-filiere-icon-lg {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}

.lp-filiere-info {
  flex: 1;
  min-width: 0;
}

.lp-filiere-info h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 6px;
  color: inherit;
}

.lp-filiere-info p {
  font-size: 14px;
  opacity: .85;
  line-height: 1.4;
  color: inherit;
}

.lp-filiere-stats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
  text-align: right;
}

.lp-filiere-stats .lp-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
}

.lp-filiere-stats strong {
  font-size: 15px;
  font-weight: 700;
  color: inherit;
}

/* Timeline — niveau label et dot */
.lp-timeline-level {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-top: 4px;
}

.lp-timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.lp-timeline-level-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--ink);
}

/* ════════════════════════════════════════════════════════════════════
   TIMELINE AMÉLIORÉE — responsive (Claude Design update)
   Remplace les anciennes règles .lp-timeline-track / .lp-timeline-col
   ════════════════════════════════════════════════════════════════════ */

/* Chips — couleur héritée de la filière via --filiere-color */
.lp-metier-chip {
  background: var(--filiere-color, var(--bg-warm));
  color: var(--filiere-on, var(--ink));
  border: 1px solid rgba(0,0,0,0.06);
}

.lp-timeline-card {
  padding: 14px;
  border-radius: 14px;
  background: var(--bg-warm);
  border: 1px solid var(--line);
}
.lp-timeline-card h4 {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  margin-bottom: 4px;
}
.lp-timeline-short {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 10px;
  display: block;
}
.lp-metier-list { display: flex; flex-wrap: wrap; gap: 4px; }
.lp-timeline-cards { display: flex; flex-direction: column; gap: 16px; }
.lp-timeline-level {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ─── DESKTOP : horizontal ──────────────────────────────── */
.lp-timeline-h { display: none; }

.lp-timeline-h-col {
  flex: 1;
  min-width: 0;
  position: relative;
  padding: 0 12px;
}
.lp-timeline-h-col + .lp-timeline-h-col {
  border-left: 1px dashed var(--filiere-color);
}
.lp-timeline-h-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.lp-timeline-h-head .lp-timeline-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--filiere-color);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--filiere-color);
  flex-shrink: 0;
}
.lp-timeline-h-head .lp-timeline-level { font-size: 20px; }

/* ─── MOBILE : vertical ─────────────────────────────────── */
.lp-timeline-v {
  position: relative;
  padding-left: 32px;
}
.lp-timeline-v-line {
  position: absolute;
  left: 11px; top: 8px; bottom: 8px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--filiere-color) 0 6px, transparent 6px 10px);
  opacity: 0.6;
}
.lp-timeline-v-row {
  position: relative;
  margin-bottom: 24px;
}
.lp-timeline-v-row:last-child { margin-bottom: 0; }
.lp-timeline-v-node {
  position: absolute;
  left: -32px; top: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--filiere-color);
  box-shadow: 0 0 0 4px var(--bg);
  z-index: 2;
}
.lp-timeline-v-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  margin-top: -2px;
}
.lp-timeline-v-head .lp-timeline-level { font-size: 22px; line-height: 1; }
.lp-timeline-v-head .lp-timeline-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

/* ─── Switch desktop ↔ mobile ───────────────────────────── */
@media (min-width: 880px) {
  .lp-timeline-h { display: flex; padding-bottom: 8px; }
  .lp-timeline-v { display: none; }
}

/* ── Filière header — mobile : layout vertical ───────────── */
@media (max-width: 760px) {
  .lp-filiere-header {
    flex-wrap: wrap;
    gap: 12px;
  }
  .lp-filiere-icon-lg {
    display: none;
  }
  .lp-filiere-info {
    flex: 0 0 100%;
  }
  .lp-filiere-stats {
    flex-direction: row;
    gap: 20px;
    text-align: left;
    flex: 0 0 100%;
  }
}

/* ── Corrections permanentes ─────────────────────────────── */

/* 1. Keystats value — 22px */
.lp-keystat-item__value { font-size: 22px; }

/* 2. Badge rentrée — fond bleu primary */
.lp-badge { background: var(--primary); }

/* ── FAQ mobile — corrections ────────────────────────────── */
@media (max-width: 760px) {
  .lp-faq-q {
    padding: 16px 18px;
    font-size: 15px;
    align-items: flex-start;
    gap: 12px;
  }
  .lp-faq-toggle {
    flex-shrink: 0;
    margin-top: 2px;
  }
  .lp-faq-a {
    padding: 0 18px 20px;
    font-size: 14px;
  }
  .lp-faq-item {
    margin-bottom: 8px;
  }
}

/* ── FAQ mobile — fix question multi-lignes ──────────────── */
@media (max-width: 760px) {
  .lp-faq-q {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 12px;
    padding: 16px 18px;
    font-size: 15px;
    line-height: 1.4;
    width: 100%;
  }
  .lp-faq-q span:first-child {
    /* texte question */
    word-break: break-word;
  }
  .lp-faq-toggle {
    margin-top: 0;
    flex-shrink: 0;
    align-self: start;
  }
  .lp-faq-a {
    display: none;
    padding: 0 18px 20px;
    font-size: 14px;
    line-height: 1.55;
    clear: both;
  }
  .lp-faq-item.is-open .lp-faq-a {
    display: block;
  }
}

/* ════════════════════════════════════════════════════════════════════
   GRAVITY FORMS — Formulaire lead complet (ID 25)
   ════════════════════════════════════════════════════════════════════ */

}

/* ════════════════════════════════════════════════════════════════════
   FOOTER MINI — landing page
   ════════════════════════════════════════════════════════════════════ */
.lp-footer-mini {
  background: var(--ink);
  color: rgba(250,247,242,.6);
  padding: 32px 0;
  font-size: 13px;
}

.lp-footer-mini__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.lp-footer-mini__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
}
.lp-footer-mini__contact strong {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.lp-footer-mini__contact a {
  color: rgba(250,247,242,.6);
  text-decoration: none;
  transition: color .15s;
}
.lp-footer-mini__contact a:hover { color: #fff; }

.lp-footer-mini__legal {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-footer-mini__legal a {
  color: rgba(250,247,242,.6);
  text-decoration: none;
  transition: color .15s;
}
.lp-footer-mini__legal a:hover { color: #fff; }
.lp-footer-mini__sep { opacity: .4; }

.lp-footer-mini__copy {
  color: rgba(250,247,242,.4);
  font-size: 12px;
  width: 100%;
}

@media (max-width: 760px) {
  .lp-footer-mini__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .lp-footer-mini__contact { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ── Footer mini — overrides thème ──────────────────────── */
.lp-footer-mini,
body .lp-footer-mini {
  background: #0E1330 !important;
  color: rgba(250,247,242,.6) !important;
  padding: 32px 0 !important;
  font-size: 13px !important;
  font-family: "Fira Sans", system-ui, sans-serif !important;
}
.lp-footer-mini .lp-footer-mini__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.lp-footer-mini .lp-footer-mini__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
}
.lp-footer-mini .lp-footer-mini__contact strong {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
}
.lp-footer-mini .lp-footer-mini__contact a,
.lp-footer-mini .lp-footer-mini__contact span {
  color: rgba(250,247,242,.6);
  text-decoration: none;
}
.lp-footer-mini .lp-footer-mini__contact a:hover { color: #ffffff; }
.lp-footer-mini .lp-footer-mini__legal {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-footer-mini .lp-footer-mini__legal a {
  color: rgba(250,247,242,.6);
  text-decoration: none;
}
.lp-footer-mini .lp-footer-mini__legal a:hover { color: #ffffff; }
.lp-footer-mini .lp-footer-mini__sep { opacity: .4; color: rgba(250,247,242,.6); }
.lp-footer-mini .lp-footer-mini__copy {
  color: rgba(250,247,242,.4);
  font-size: 12px;
  width: 100%;
}
@media (max-width: 760px) {
  .lp-footer-mini .lp-footer-mini__inner { flex-direction: column; align-items: flex-start; }
  .lp-footer-mini .lp-footer-mini__contact { flex-direction: column; align-items: flex-start; gap: 6px; }
}


/* ── Témoignages + Reel — layout définitif ───────────────── */
/* Ordre DOM : 1=Reel, 2=Card Mihaela, 3=Card Stella, 4=Card Marie */
.lp-temoignages-grid--with-reel {
  display: grid;
  grid-template-columns: 380px 1fr;
  grid-template-rows: auto auto auto;
  gap: 16px;
  align-items: start;
}

/* Reel — colonne 1, span 3 lignes */
.lp-temoignage-reel {
  grid-column: 1;
  grid-row: 1 / 4;
  border-radius: 14px;
  overflow: hidden;
}

/* Cards — colonne 2, empilées */
.lp-temoignages-grid--with-reel .lp-temoignage:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}
.lp-temoignages-grid--with-reel .lp-temoignage:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}
.lp-temoignages-grid--with-reel .lp-temoignage:nth-child(4) {
  grid-column: 2;
  grid-row: 3;
}

/* Contenir l'embed Instagram */
.lp-temoignage-reel .instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
}

@media (max-width: 880px) {
  .lp-temoignages-grid--with-reel {
    grid-template-columns: 1fr;
  }
  .lp-temoignage-reel,
  .lp-temoignages-grid--with-reel .lp-temoignage:nth-child(2),
  .lp-temoignages-grid--with-reel .lp-temoignage:nth-child(3),
  .lp-temoignages-grid--with-reel .lp-temoignage:nth-child(4) {
    grid-column: 1;
    grid-row: auto;
  }
}

/* ── Filières GF — couleur au clic via classe JS ─────────── */