/* =========================================================================
   LC Formation — apps.lc-formation.com
   Charte : technique du spectacle. Noir de salle, orange faisceau, chrome.
   ========================================================================= */

/* ---- Tokens ---- */
:root {
  --noir:        #1A1A1D;   /* fond principal — noir de salle */
  --anthracite:  #2B292C;   /* sections, cartes — fond du logo */
  --anthracite2: #232225;   /* variante */
  --orange:      #E67E22;   /* accent — faisceau, marque */
  --orange-clair:#F39C4A;   /* hover, dégradés */
  --orange-sombre:#B5651A;
  --chrome:      #C0C0C8;   /* détails techniques, le "LC" métal */
  --chrome-fonce:#7A7A82;
  --blanc:       #EDEDF0;   /* texte principal */
  --gris:        #9A9AA2;   /* texte secondaire */
  --gris-bord:   #3A383C;   /* bordures discrètes */

  --max:         1180px;
  --rayon:       10px;
  --t:           220ms cubic-bezier(.4,.0,.2,1);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
}

/* ---- Reset léger ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--noir);
  color: var(--blanc);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Utilitaires ---- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange);
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px;
  background: var(--orange); display: inline-block;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--anthracite); }

/* faisceau lumineux réutilisable (signature) */
.beam {
  position: absolute; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at center,
              rgba(230,126,34,.16) 0%, rgba(230,126,34,0) 70%);
}

/* =========================================================================
   Header / nav
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(43,41,44,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gris-bord);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 96px;
}
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo img {
  height: 72px; width: auto;
}
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  font-size: .95rem; color: var(--gris);
  transition: color var(--t); position: relative;
}
.nav__links a:hover { color: var(--blanc); }
.nav__links a.is-active { color: var(--blanc); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--orange);
  transition: width var(--t);
}
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span {
  display: block; width: 24px; height: 2px; background: var(--blanc);
  margin: 5px 0; transition: var(--t);
}

/* =========================================================================
   Boutons
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: 14px 28px; border-radius: var(--rayon);
  cursor: pointer; border: 1px solid transparent;
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t);
  white-space: nowrap;
}
.btn--primary,
.btn--primary:link,
.btn--primary:visited,
.btn--primary:hover,
.btn--primary:active {
  color: #14110A !important;
}
.btn--primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-clair) 100%);
  font-weight: 700;
  box-shadow: 0 6px 26px -8px rgba(230,126,34,.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -8px rgba(230,126,34,.75); }
.btn--ghost { border-color: var(--gris-bord); color: var(--blanc); background: transparent; }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn--lg { padding: 17px 36px; font-size: 1.05rem; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; padding: 120px 0 100px; overflow: hidden; }
.hero__beam1 { width: 900px; height: 700px; top: -260px; right: -200px; }
.hero__beam2 { width: 600px; height: 500px; bottom: -200px; left: -160px;
  background: radial-gradient(ellipse at center, rgba(192,192,200,.07) 0%, rgba(192,192,200,0) 70%); }
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center;
}
.hero__title {
  font-size: clamp(2.6rem, 5.2vw, 4.3rem); margin: 22px 0 20px;
}
.hero__title .accent {
  color: var(--orange);
  text-shadow: 0 0 40px rgba(230,126,34,.45);
}
.hero__lead { font-size: 1.2rem; color: var(--gris); max-width: 33ch; margin-bottom: 36px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero__visual img { width: 76%; filter: drop-shadow(0 30px 50px rgba(0,0,0,.55)); animation: float 6s ease-in-out infinite; }
.hero__visual::after {
  content: ""; position: absolute; inset: -10%;
  background: radial-gradient(circle at 50% 45%, rgba(230,126,34,.28) 0%, rgba(230,126,34,0) 62%);
  z-index: -1;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* =========================================================================
   Bandeau confiance
   ========================================================================= */
.trust { border-top: 1px solid var(--gris-bord); border-bottom: 1px solid var(--gris-bord); background: var(--anthracite2); }
.trust__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; padding: 26px 0; flex-wrap: wrap;
}
.trust__item { display: flex; align-items: center; gap: 12px; color: var(--gris); font-size: .96rem; }
.trust__item svg { width: 22px; height: 22px; stroke: var(--orange); flex-shrink: 0; }

/* =========================================================================
   Produits (vitrine accueil)
   ========================================================================= */
.section__head { max-width: 640px; margin-bottom: 56px; }
.section__head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 18px 0 14px; }
.section__head p { color: var(--gris); font-size: 1.1rem; }

.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.product-card {
  position: relative; background: var(--anthracite2);
  border: 1px solid var(--gris-bord); border-radius: 14px;
  padding: 36px; transition: transform var(--t), border-color var(--t);
  overflow: hidden;
}
.product-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
  opacity: 0; transition: opacity var(--t);
}
.product-card:hover { transform: translateY(-4px); border-color: var(--orange-sombre); }
.product-card:hover::before { opacity: 1; }
.product-card.is-soon { opacity: .72; }
.product-card__tag {
  display: inline-block; font-family: var(--font-display); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; padding: 5px 11px;
  border-radius: 100px; margin-bottom: 18px;
}
.tag--live { background: rgba(230,126,34,.16); color: var(--orange-clair); border: 1px solid rgba(230,126,34,.35); }
.tag--soon { background: rgba(192,192,200,.1); color: var(--chrome); border: 1px solid rgba(192,192,200,.25); }
.product-card h3 { font-size: 1.7rem; margin-bottom: 10px; }
.product-card__pitch { color: var(--orange-clair); font-size: .95rem; margin-bottom: 16px; font-family: var(--font-display); }
.product-card p { color: var(--gris); margin-bottom: 24px; }
.product-card__link {
  font-family: var(--font-display); font-weight: 600; color: var(--blanc);
  display: inline-flex; align-items: center; gap: 8px; transition: gap var(--t);
}
.product-card__link svg { width: 18px; height: 18px; stroke: var(--orange); transition: transform var(--t); }
.product-card:hover .product-card__link svg { transform: translateX(4px); }

/* =========================================================================
   Features (page produit)
   ========================================================================= */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature {
  background: var(--anthracite2); border: 1px solid var(--gris-bord);
  border-radius: 12px; padding: 30px;
}
.feature__icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: rgba(230,126,34,.12); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature__icon svg { width: 24px; height: 24px; stroke: var(--orange); }
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature p { color: var(--gris); font-size: .97rem; }

/* =========================================================================
   Étapes (comment ça marche)
   ========================================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 18px; }
.step__num {
  font-family: var(--font-display); font-size: 3rem; font-weight: 700;
  color: var(--gris-bord); line-height: 1; margin-bottom: 12px;
}
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { color: var(--gris); }

/* =========================================================================
   Tarifs
   ========================================================================= */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--anthracite2); border: 1px solid var(--gris-bord);
  border-radius: 16px; padding: 38px 32px;
  transition: transform var(--t), border-color var(--t);
}
.plan:hover { transform: translateY(-4px); }
.plan--featured {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange), 0 20px 50px -20px rgba(230,126,34,.4);
}
.plan--featured::before {
  content: "Le plus choisi"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange), var(--orange-clair));
  color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: .76rem; letter-spacing: .04em; padding: 6px 16px; border-radius: 100px;
  white-space: nowrap;
}
.plan__name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; margin-bottom: 6px; }
.plan__desc { color: var(--gris); font-size: .92rem; margin-bottom: 24px; min-height: 42px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan__price .amount { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--blanc); }
.plan__price .currency { font-size: 1.4rem; color: var(--blanc); }
.plan__price .period { color: var(--gris); font-size: .95rem; }
.plan__note { color: var(--orange-clair); font-size: .85rem; margin-bottom: 28px; min-height: 20px; }
.plan__features { display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; flex-grow: 1; }
.plan__features li { display: flex; align-items: flex-start; gap: 11px; color: var(--gris); font-size: .95rem; }
.plan__features svg { width: 19px; height: 19px; stroke: var(--orange); flex-shrink: 0; margin-top: 2px; }
.plan .btn { width: 100%; justify-content: center; }

/* =========================================================================
   CTA final
   ========================================================================= */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band__beam { width: 800px; height: 600px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; position: relative; z-index: 1; }
.cta-band p { color: var(--gris); font-size: 1.15rem; margin-bottom: 34px; max-width: 50ch; margin-inline: auto; position: relative; z-index: 1; }
.cta-band .hero__cta { justify-content: center; position: relative; z-index: 1; }

/* =========================================================================
   Footer
   ========================================================================= */
.footer { background: var(--anthracite); border-top: 1px solid var(--gris-bord); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer__brand img { height: 56px; margin-bottom: 16px; }
.footer__brand p { color: var(--gris); font-size: .92rem; max-width: 30ch; }
.footer__col h4 { font-family: var(--font-display); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--chrome); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--gris); font-size: .94rem; padding: 5px 0; transition: color var(--t); }
.footer__col a:hover { color: var(--orange); }
.footer__bottom {
  border-top: 1px solid var(--gris-bord); padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  color: var(--chrome-fonce); font-size: .87rem;
}

/* =========================================================================
   Page intérieure (header simple)
   ========================================================================= */
.page-hero { padding: 80px 0 50px; position: relative; overflow: hidden; }
.page-hero__beam { width: 700px; height: 500px; top: -200px; right: -150px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin: 16px 0 16px; position: relative; z-index: 1; }
.page-hero p { color: var(--gris); font-size: 1.15rem; max-width: 58ch; position: relative; z-index: 1; }

/* =========================================================================
   Téléchargement
   ========================================================================= */
.download-card {
  background: var(--anthracite2); border: 1px solid var(--gris-bord);
  border-radius: 16px; padding: 44px; display: grid;
  grid-template-columns: auto 1fr auto; gap: 30px; align-items: center;
}
.download-card__icon { width: 72px; height: 72px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(230,126,34,.2), rgba(230,126,34,.05));
  display: flex; align-items: center; justify-content: center; }
.download-card__icon svg { width: 38px; height: 38px; stroke: var(--orange); }
.download-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.download-card p { color: var(--gris); font-size: .94rem; }
.download-card__meta { color: var(--chrome-fonce); font-size: .84rem; margin-top: 6px; }

.notice {
  display: flex; gap: 14px; padding: 20px 24px; border-radius: 12px;
  background: rgba(230,126,34,.07); border: 1px solid rgba(230,126,34,.25);
  margin-top: 28px;
}
.notice svg { width: 22px; height: 22px; stroke: var(--orange); flex-shrink: 0; margin-top: 2px; }
.notice p { color: var(--gris); font-size: .94rem; }
.notice strong { color: var(--blanc); }

/* formulaire (placeholder structurel) */
.form-card {
  background: var(--anthracite2); border: 1px solid var(--gris-bord);
  border-radius: 16px; padding: 40px; max-width: 620px;
}
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-size: .9rem; color: var(--blanc); margin-bottom: 8px; font-family: var(--font-display); }
/* Marqueur visuel des champs obligatoires. Asterisque dans l'orange accent
   du theme, jamais en dur dans le HTML : si la teinte du theme change, le
   marqueur suit. Classe appliquee aux labels required uniquement. */
.label-required::after { content: " *"; color: var(--orange); font-weight: 700; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 13px 16px; border-radius: 9px;
  background: var(--noir); border: 1px solid var(--gris-bord);
  color: var(--blanc); font-family: var(--font-body); font-size: 1rem;
  transition: border-color var(--t);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--orange);
}
.form-row textarea { resize: vertical; min-height: 100px; }

/* =========================================================================
   Pages légales
   ========================================================================= */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 14px; color: var(--blanc); }
.legal p, .legal li { color: var(--gris); margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal__placeholder {
  padding: 30px; border: 1px dashed var(--gris-bord); border-radius: 12px;
  color: var(--chrome-fonce); font-style: italic; text-align: center;
}

/* =========================================================================
   Reveal animation
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 96px 0 auto 0; flex-direction: column;
    background: var(--anthracite); padding: 24px; gap: 4px;
    border-bottom: 1px solid var(--gris-bord);
    transform: translateY(-130%); transition: transform var(--t); z-index: 99;
  }
  .nav__links.is-open { transform: none; }
  .nav__links a { padding: 12px 0; width: 100%; }
  .nav__burger { display: block; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; max-width: 360px; margin: 0 auto; }
  .products, .features, .steps, .pricing { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 1fr; text-align: center; }
  .download-card__icon { margin: 0 auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .section { padding: 72px 0; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================================
   Bloc vidéo (YouTube)
   ========================================================================= */
.video-section { text-align: center; }
.video-wrap {
  position: relative; max-width: 900px; margin: 0 auto;
  aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--gris-bord);
  background: var(--anthracite2);
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Placeholder quand pas encore de vidéo */
.video-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  background: radial-gradient(circle at 50% 40%, rgba(230,126,34,.1), transparent 65%), var(--anthracite2);
  color: var(--gris);
}
.video-placeholder__play {
  width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-clair));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(230,126,34,.6);
}
.video-placeholder__play svg { width: 30px; height: 30px; fill: #14110A; margin-left: 4px; }
.video-placeholder p { font-size: .95rem; }
.video-placeholder .meta { color: var(--chrome-fonce); font-size: .82rem; font-family: var(--font-display); }

/* =========================================================================
   THÈME CLAIR (variante page produit — ex: CourseBuilder)
   À activer via <body class="theme-light">
   ========================================================================= */
body.theme-light {
  --noir:        #F5F3EF;   /* fond principal — crème clair */
  --anthracite:  #ECE8E1;   /* sections alternées */
  --anthracite2: #FFFFFF;   /* cartes — blanc */
  --blanc:       #1F1D1A;   /* texte principal — anthracite */
  --gris:        #5A554E;   /* texte secondaire */
  --gris-bord:   #DAD4CA;   /* bordures */
  --chrome:      #8A8478;
  --chrome-fonce:#A39C8E;
  background: var(--noir);
  color: var(--blanc);
}
/* Header clair translucide */
body.theme-light .site-header {
  background: rgba(245,243,239,.85);
  border-bottom: 1px solid var(--gris-bord);
}
/* Le logo garde le même traitement qu'en thème sombre (mêmes proportions,
   pas de fond ajouté). */
/* Le titre hero : l'accent orange garde sa lueur, mais douce sur fond clair */
body.theme-light .hero__title .accent { text-shadow: 0 0 30px rgba(230,126,34,.25); }
/* Les faisceaux : plus discrets sur fond clair */
body.theme-light .beam { opacity: .5; }
/* Cartes et features : ombre douce au lieu de bordure sombre */
body.theme-light .feature,
body.theme-light .plan,
body.theme-light .product-card,
body.theme-light .download-card,
body.theme-light .form-card,
body.theme-light .video-wrap {
  box-shadow: 0 4px 20px -8px rgba(31,29,26,.12);
}
/* Plan featured : garde l'orange */
body.theme-light .plan--featured {
  box-shadow: 0 0 0 1px var(--orange), 0 20px 50px -20px rgba(230,126,34,.3);
}
/* Bouton ghost : texte foncé lisible sur clair */
body.theme-light .btn--ghost { color: var(--blanc); border-color: var(--gris-bord); }
body.theme-light .btn--ghost:hover { color: var(--orange); border-color: var(--orange); }
/* Champs de formulaire : fond blanc, bordure visible */
body.theme-light .form-row input,
body.theme-light .form-row select,
body.theme-light .form-row textarea {
  background: #FFFFFF; border-color: var(--gris-bord); color: var(--blanc);
}
/* Footer : reste sombre pour ancrer le bas de page (cohérence marque) */
body.theme-light .footer {
  background: #1A1A1D;
  --blanc: #EDEDF0; --gris: #9A9AA2; --chrome: #C0C0C8; --gris-bord: #3A383C;
  color: var(--blanc);
}
/* Step numbers plus visibles sur clair */
body.theme-light .step__num { color: var(--gris-bord); }
