/* ================================================================
   trajectoires_mobpro_licence.css — Page Licence & paternités
   ================================================================
   Chargé après global.css + trajectoires_mobpro_shared.css
   + trajectoires_mobpro_theater.css.
   La page licence utilise le body .cv-page (pas .cv-theater) pour
   hériter du fond beige --bg-main global, cohérent avec les pages
   editorial / département. Contient uniquement les styles propres
   à la page licence : centrage, titres, blocs, badges de licence,
   exposants ®. Convention ?v= : bump dans template_licence.html.
   Palette & contraste (WCAG AA vérifié) :
     - textes courants : var(--secondary) sur beige (#E4DABF) → ~4.8:1
     - titres / strong : var(--primary) (#0E3E49) → ~13:1
     - liens : texte en var(--primary), souligné en var(--accent-data)
       (contraste texte ~13:1 AAA, soulignement décoratif)
     - badges : texte foncé sur fond teinté clair (AAA)
   ================================================================ */

/* ── CONTENEUR PRINCIPAL ─────────────────────────────────────── */
.lic-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
    color: var(--secondary);
}

/* ── TITRES ──────────────────────────────────────────────────── */
.lic-h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-data), var(--accent-territory));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
}

.lic-lede {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--secondary);
    max-width: 720px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

/* ── BLOCS (cartes par section) ─────────────────────────────── */
.lic-block {
    background: white;
    border: 1px solid rgba(14, 62, 73, 0.08);
    border-radius: 14px;
    padding: 2rem 2.25rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 24px rgba(14, 62, 73, 0.05);
}

.lic-block h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.lic-block h3 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-data);
    margin: 1.5rem 0 0.6rem;
}

.lic-block p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.lic-block p:last-child { margin-bottom: 0; }

.lic-block ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.lic-block ul li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.5rem;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--secondary);
}

.lic-block ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-data);
}

.lic-block a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--accent-data);
    text-underline-offset: 2px;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.lic-block a:hover {
    color: var(--accent-data);
}

.lic-block strong {
    color: var(--primary);
    font-weight: 600;
}

.lic-block code {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.82rem;
    color: var(--secondary);
    background: rgba(14, 62, 73, 0.05);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-data);
    line-height: 1.6;
    margin: 0.5rem 0 1rem;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ── EXPOSANT ® ─────────────────────────────────────────────── */
/* Sur fond blanc/cartes, ® en couleur primary pour bon contraste. */
.lic-reg {
    font-size: 0.6em;
    vertical-align: super;
    font-weight: 400;
    color: var(--primary);
}

/* ── BADGES DE LICENCE ──────────────────────────────────────── */
/* Texte foncé sur fond teinté clair (AAA sur blanc). */
.lic-badge {
    display: inline-flex;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    white-space: nowrap;
}

.lic-badge-data {
    color: #1b5e20;
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.4);
}

.lic-badge-visuel {
    color: #4a148c;
    background: rgba(186, 104, 200, 0.15);
    border: 1px solid rgba(186, 104, 200, 0.4);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .lic-page { padding: 3rem 1.25rem 4rem; }
    .lic-block { padding: 1.5rem 1.25rem; }
    .lic-lede { margin-bottom: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    .lic-block a { transition: none; }
}