/* ============================================================
   AKTIVA NUMÉRIQUE — STYLES LANDING FORMATION (9 modules)
   ============================================================
   Charge sur formation.php (template dynamique)
   ============================================================ */

/* ===== HERO LANDING ===== */
.landing-hero {
    background: var(--sable-tres-clair);
    padding: 4.5rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}
.landing-hero::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 226, 213, 0.5) 0%, transparent 70%);
    pointer-events: none;
}
.landing-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}
.landing-eyebrow {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--terracotta);
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.landing-title {
    font-family: var(--font-titre);
    font-weight: 400;
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    line-height: 1.1;
    color: var(--bleu-profond);
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}
.landing-excerpt {
    font-family: var(--font-lecture);
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--gris-texte);
    font-style: italic;
    margin-bottom: 2.5rem;
}

/* Méta-données (public, durée, tarif, format) */
.landing-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.75rem;
    background: var(--blanc);
    border-radius: 4px;
    border-left: 4px solid var(--terracotta);
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(27, 58, 92, 0.04);
}
.landing-meta-item { display: flex; flex-direction: column; }
.landing-meta-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gris-doux);
    font-weight: 500;
    margin-bottom: 0.35rem;
}
.landing-meta-value {
    font-family: var(--font-titre);
    font-size: 0.98rem;
    color: var(--bleu-profond);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.landing-hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Carte latérale référence */
.landing-hero-card {
    background: var(--bleu-profond);
    color: var(--blanc);
    padding: 2.25rem;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(27, 58, 92, 0.12);
}
.landing-hero-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(198, 107, 78, 0.2) 0%, transparent 70%);
    pointer-events: none;
}
.landing-hero-card-eyebrow {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--sable);
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}
.landing-hero-card-ref {
    font-family: var(--font-titre);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--blanc);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.landing-hero-card-badge {
    display: inline-block;
    background: var(--terracotta);
    color: var(--blanc);
    padding: 0.35rem 0.75rem;
    border-radius: 2px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}
.landing-hero-card-divider {
    height: 1px;
    background: rgba(232, 226, 213, 0.2);
    margin: 1.5rem 0;
}
.landing-hero-card-section {
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}
.landing-hero-card-section:last-child { margin-bottom: 0; }
.landing-hero-card-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sable);
    font-weight: 500;
    margin-bottom: 0.3rem;
}
.landing-hero-card-value {
    font-size: 0.95rem;
    color: var(--blanc);
    line-height: 1.4;
}

/* ===== SECTIONS GÉNÉRIQUES LANDING ===== */
.landing-section { padding: 5rem 2rem; scroll-margin-top: 100px; }
.landing-section-alt { background: var(--sable-clair); }
.landing-section-dark {
    background: var(--bleu-profond);
    color: var(--blanc);
    position: relative;
    overflow: hidden;
}
.landing-section-dark::before {
    content: "";
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(198, 107, 78, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.landing-section-inner {
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.landing-section-inner-narrow {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.landing-section-header { margin-bottom: 3rem; max-width: 720px; }
.landing-section-header-light { color: var(--blanc); }
.landing-section-eyebrow {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--terracotta);
    font-weight: 600;
    margin-bottom: 1rem;
}
.landing-section-header-light .landing-section-eyebrow { color: var(--sable); }
.landing-section-title {
    font-family: var(--font-titre);
    font-weight: 400;
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    line-height: 1.15;
    color: var(--bleu-profond);
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}
.landing-section-header-light .landing-section-title { color: var(--blanc); }
.landing-section-title em { font-style: italic; font-weight: 300; }
.landing-section-header-light .landing-section-title em { color: var(--sable); }
.landing-section-lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--gris-doux);
}
.landing-section-header-light .landing-section-lead { color: rgba(255, 255, 255, 0.85); }

/* ===== INTRO ===== */
.landing-intro-content {
    max-width: 820px;
    margin: 0 auto;
}
.landing-intro-content p {
    font-family: var(--font-lecture);
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--gris-texte);
    margin-bottom: 1.4rem;
}
.landing-intro-content p:first-child::first-letter {
    font-family: var(--font-titre);
    font-size: 4rem;
    font-weight: 400;
    float: left;
    line-height: 0.9;
    margin-right: 0.5rem;
    margin-top: 0.3rem;
    color: var(--terracotta);
}
.landing-intro-content p strong { font-weight: 500; color: var(--bleu-profond); }

/* ===== PROBLÉMATIQUES ===== */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.problem-card {
    background: var(--blanc);
    padding: 2rem;
    border-radius: 4px;
    border-left: 3px solid var(--terracotta);
    transition: transform 0.2s;
}
.problem-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(27, 58, 92, 0.06); }
.problem-num {
    font-family: var(--font-titre);
    font-size: 0.78rem;
    color: var(--terracotta);
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 0.85rem;
}
.problem-title {
    font-family: var(--font-titre);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--bleu-profond);
    line-height: 1.3;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}
.problem-text {
    font-family: var(--font-lecture);
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--gris-texte);
}

/* ===== OBJECTIFS ===== */
.objectives-list {
    list-style: none;
    padding: 0;
    max-width: 820px;
    margin: 0;
}
.objectives-list li {
    font-family: var(--font-lecture);
    font-size: 1.08rem;
    line-height: 1.65;
    color: var(--gris-texte);
    padding: 1.25rem 0 1.25rem 3rem;
    border-bottom: 1px solid var(--sable);
    position: relative;
}
.objectives-list li:last-child { border-bottom: none; }
.objectives-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1.2rem;
    width: 28px;
    height: 28px;
    background: var(--terracotta);
    color: var(--blanc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

/* ===== PROGRAMME ===== */
.program-list { max-width: 820px; margin: 0 auto; }
.program-step {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 2.5rem;
    padding: 2rem 0;
    border-top: 1px solid var(--sable);
}
.program-step:first-child { border-top: none; padding-top: 0; }
.program-step-num {
    font-family: var(--font-titre);
    font-size: 0.78rem;
    color: var(--terracotta);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding-top: 0.35rem;
}
.program-step-title {
    font-family: var(--font-titre);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--bleu-profond);
    line-height: 1.25;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}
.program-step-duration {
    font-size: 0.82rem;
    color: var(--gris-doux);
    margin-bottom: 1rem;
    font-style: italic;
}
.program-step-text {
    font-family: var(--font-lecture);
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--gris-texte);
    margin-bottom: 0.85rem;
}
.program-step-items {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}
.program-step-items li {
    font-size: 0.96rem;
    line-height: 1.55;
    color: var(--gris-doux);
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
}
.program-step-items li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--terracotta);
}

/* ===== CONTENU LIBRE ===== */
.landing-content {
    max-width: 820px;
    margin: 0 auto;
    font-family: var(--font-lecture);
}
.landing-content h2 {
    font-family: var(--font-titre);
    font-weight: 400;
    font-size: 1.85rem;
    color: var(--bleu-profond);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}
.landing-content h3 {
    font-family: var(--font-titre);
    font-weight: 500;
    font-size: 1.3rem;
    color: var(--bleu-profond);
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}
.landing-content p {
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--gris-texte);
    margin-bottom: 1.4rem;
}
.landing-content p strong { font-weight: 500; color: var(--bleu-profond); }
.landing-content ul { padding-left: 1.5rem; margin-bottom: 1.4rem; }
.landing-content ul li {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gris-texte);
    margin-bottom: 0.4rem;
}
.landing-content ul li::marker { color: var(--terracotta); }

/* ===== MODALITÉS PRATIQUES (sombre) ===== */
.modalities-grid-light {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.modality-card-light {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(232, 226, 213, 0.2);
    padding: 1.75rem;
    border-radius: 3px;
}
.modality-card-light h4 {
    font-family: var(--font-titre);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--sable);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.modality-card-light p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== FAQ ===== */
.faq-list {
    margin-top: 2rem;
}
.faq-item {
    background: var(--blanc);
    border-radius: 4px;
    padding: 1.5rem 2rem;
    margin-bottom: 0.85rem;
    border-left: 3px solid var(--sable);
    transition: border-left-color 0.2s;
}
.faq-item:hover { border-left-color: var(--terracotta); }
.faq-question {
    font-family: var(--font-titre);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--bleu-profond);
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.faq-answer {
    font-family: var(--font-lecture);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--gris-texte);
}
.faq-answer p { margin-bottom: 0.6rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ===== CROSS-SELL ===== */
.cross-sell-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.cross-sell-card {
    background: var(--blanc);
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid var(--sable);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.cross-sell-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--terracotta);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.cross-sell-card:hover::before { transform: scaleX(1); }
.cross-sell-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(27, 58, 92, 0.08);
    border-color: rgba(27, 58, 92, 0.15);
}
.cross-sell-num {
    font-family: var(--font-titre);
    font-size: 0.78rem;
    color: var(--terracotta);
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}
.cross-sell-card h3 {
    font-family: var(--font-titre);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--bleu-profond);
    line-height: 1.3;
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}
.cross-sell-card p {
    font-family: var(--font-lecture);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gris-doux);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}
.cross-sell-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--sable);
    color: var(--gris-doux);
}
.cross-sell-meta span:last-child {
    color: var(--bleu-profond);
    font-weight: 600;
}
.cross-sell-link {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--bleu-profond);
    font-weight: 500;
}

/* ===== ARTICLES LIÉS ===== */
.related-articles-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.related-article-card {
    background: var(--sable-tres-clair);
    padding: 1.75rem 2rem;
    border-radius: 4px;
    border-left: 3px solid var(--terracotta);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    display: block;
}
.related-article-card:hover {
    background: var(--blanc);
    transform: translateX(3px);
    box-shadow: 0 8px 24px rgba(27, 58, 92, 0.06);
}
.related-article-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--terracotta);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.related-article-card h3 {
    font-family: var(--font-titre);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--bleu-profond);
    line-height: 1.3;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}
.related-article-card p {
    font-family: var(--font-lecture);
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--gris-doux);
    margin-bottom: 0.85rem;
}
.related-article-link {
    font-size: 0.88rem;
    color: var(--bleu-profond);
    font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
    .landing-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .problems-grid { grid-template-columns: 1fr; }
    .program-step { grid-template-columns: 1fr; gap: 0.5rem; }
    .modalities-grid-light { grid-template-columns: 1fr 1fr; }
    .cross-sell-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .landing-meta { grid-template-columns: 1fr; gap: 1rem; padding: 1.25rem; }
    .modalities-grid-light { grid-template-columns: 1fr; }
    .landing-section { padding: 3.5rem 1.5rem; }
}
