/* ============================================================
   Boris Foucaud — CSS partagé
   Extrait de la home + extensions pour /methode/ et /formation/
   ============================================================ */

:root {
    --noir: #1a1a1a;
    --encre: #2c2c2c;
    --graphite: #4a4a4a;
    --ardoise: #6b6b6b;
    --cendre: #999;
    --brume: #d4d0cb;
    --ivoire: #f5f2ed;
    --blanc: #fafaf8;
    --accent: #8b6914;
    --accent-clair: #b8941f;
    --accent-subtil: rgba(139, 105, 20, 0.08);
    --accent-borderhover: rgba(139, 105, 20, 0.2);
    --bleu-logo: #1a2a3a;
}

/* ============================================================
   Scroll fluide + animation d'arrivée sur cible (option 2)
   ------------------------------------------------------------
   scroll-behavior: smooth existe déjà plus bas dans le fichier.
   On ajoute ici scroll-padding-top (compensation nav fixe) et
   l'animation visuelle d'arrivée. Combiné au JS de focus auto
   sur le premier champ de formulaire (cf. footer.php).
   ============================================================ */

html {
    scroll-padding-top: 80px; /* compense la nav fixe en haut */
}

@keyframes pulse-arrival {
    0%   { box-shadow: 0 0 0 0 rgba(184, 148, 31, 0); }
    25%  { box-shadow: 0 0 0 8px rgba(184, 148, 31, 0.18); }
    100% { box-shadow: 0 0 0 0 rgba(184, 148, 31, 0); }
}

.form-pdf-wrap:target,
section:target {
    animation: pulse-arrival 1.4s ease-out;
}

/* Respect des préférences d'accessibilité : si l'utilisateur a activé
   "reduce motion" dans son OS, on désactive l'animation et le scroll
   fluide pour ne pas le déranger. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .form-pdf-wrap:target,
    section:target { animation: none; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 300;
    color: var(--encre);
    background-color: var(--blanc);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent-clair); }

/* ===== HEADER ===== */
header {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--brume);
    position: sticky;
    top: 0;
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.header-name-block {
    display: flex;
    align-items: center;
}

.header-logo {
    width: 75px;
    height: 75px;
    margin-right: 0.6rem;
    vertical-align: middle;
    border-radius: 50%;
}

.header-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--noir);
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-name:hover { color: var(--noir); }

.header-name span {
    font-weight: 400;
    color: var(--ardoise);
    font-size: 0.85rem;
    font-family: 'Libre Franklin', sans-serif;
    margin-left: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.header-nav a {
    color: var(--graphite);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.2rem;
}

.header-nav a:hover {
    color: var(--accent);
}

.header-nav a.active {
    color: var(--accent);
}

.header-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent);
}

.header-contact {
    /* deprecated — header refactored, contact moved to footer */
    display: none;
}

/* ===== DROPDOWN NAV ===== */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-dropdown-trigger {
    color: var(--graphite);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.2rem;
    cursor: pointer;
    white-space: nowrap;
}

.nav-dropdown-trigger::after {
    content: ' ▾';
    font-size: 0.65rem;
    vertical-align: middle;
    opacity: 0.6;
}

.nav-dropdown-trigger:hover,
.nav-dropdown.active .nav-dropdown-trigger {
    color: var(--accent);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--blanc);
    border: 1px solid var(--border-light);
    border-radius: 3px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    min-width: 230px;
    z-index: 200;
    padding: 8px 0;
}

/* Pont invisible entre le trigger et le menu pour éviter la coupure au survol */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 9px 20px;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--graphite);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: none;
    transition: background 0.15s, color 0.15s;
}

.nav-dropdown-menu a:first-child {
    color: var(--accent);
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 4px;
    padding-bottom: 12px;
}

.nav-dropdown-menu a:hover {
    background: var(--ivoire);
    color: var(--accent);
}

/* ===== HERO ===== */
.hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 2rem 5rem;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--noir);
    margin-bottom: 1.5rem;
    max-width: 800px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--graphite);
    max-width: 680px;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.15s forwards;
}

.hero-meta {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
}

.hero-meta-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--cendre);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.hero-meta-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--encre);
}

/* ===== LIGNE ===== */
.divider {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.divider hr {
    border: none;
    height: 1px;
    background: var(--brume);
}

/* ===== SECTIONS GÉNÉRIQUES ===== */
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-ivoire {
    background: var(--ivoire);
}

.section-ivoire .section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-noir {
    background: var(--noir);
    color: var(--blanc);
    margin-top: 2rem;
    margin-bottom: 0;
}

.section-noir .section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--noir);
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin-top: 0.75rem;
}

.section-noir .section-title {
    color: var(--blanc);
}

.section-noir .section-title::after {
    background: #d4b665;
}

.section-noir p,
.section-noir li,
.section-noir .prose p,
.section-noir .prose li,
.section-noir .bullets-inline li {
    color: #e8e5df;
}

.section-noir strong,
.section-noir .prose strong {
    color: var(--blanc);
}

.section-noir em,
.section-noir .prose em {
    color: #d4b665;
    font-style: italic;
}

/* ===== PAGE RÉFÉRENCES ===== */

/* Stats clients */
.refs-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--encre);
    margin: 3rem 0;
}

.refs-stat {
    background: var(--blanc);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.refs-stat-nombre {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--encre);
    margin-bottom: 0.6rem;
}

.refs-stat-label {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--encre);
    opacity: 0.7;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .refs-stats { grid-template-columns: repeat(2, 1fr); }
    .refs-stat-nombre { font-size: 2.2rem; }
}

/* Cas client emblématique - format étendu */
.refs-cas {
    border-top: 1px solid #e0d8cc;
    padding: 3rem 0;
}

.refs-cas:first-of-type { border-top: none; padding-top: 1rem; }

.refs-cas-eyebrow {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 0.8rem;
}

.refs-cas h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--encre);
    margin: 0 0 1.2rem 0;
    line-height: 1.2;
}

.refs-cas h3 em {
    font-style: italic;
    color: var(--accent);
}

.refs-cas-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #efe8de;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.82rem;
    color: var(--encre);
    opacity: 0.75;
}

.refs-cas-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.refs-cas-meta strong {
    color: var(--accent);
    font-weight: 600;
}

.refs-cas p {
    font-family: 'Crimson Text', serif;
    font-size: 1.08rem;
    line-height: 1.65;
    color: var(--encre);
    margin: 0 0 1rem 0;
}

.refs-cas-resultat {
    background: var(--ivoire);
    border-left: 3px solid var(--accent);
    padding: 1rem 1.4rem;
    margin: 1.2rem 0 0 0;
    font-family: 'Crimson Text', serif;
    font-size: 1rem;
}

.refs-cas-resultat strong {
    font-weight: 700;
    color: var(--encre);
}

/* Listes de clients en chips */
.refs-clients-section {
    margin: 3rem 0;
}

.refs-clients-titre {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--encre);
    opacity: 0.65;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #e0d8cc;
}

.refs-clients-liste {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.refs-client-chip {
    display: inline-block;
    padding: 0.55rem 1.1rem;
    background: var(--blanc);
    border: 1px solid #d8cebe;
    border-radius: 999px;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.82rem;
    color: var(--encre);
    transition: all 0.2s ease;
}

.refs-client-chip:hover {
    background: var(--encre);
    color: var(--blanc);
    border-color: var(--encre);
}

/* Témoignage (format à venir) */
.refs-temoignage {
    background: var(--blanc);
    border: 1px solid #e0d8cc;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.refs-temoignage-citation {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--encre);
    margin: 0 0 1.2rem 0;
    padding-left: 1.2rem;
    border-left: 2px solid var(--accent);
}

.refs-temoignage-signature {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.85rem;
    color: var(--encre);
    opacity: 0.75;
}

.refs-temoignage-signature strong {
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
}

/* ===== FIN PAGE RÉFÉRENCES ===== */
.section-consulting {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: var(--blanc);
    padding: 5rem 2rem;
    margin-top: 4rem;
}

.consulting-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.consulting-header {
    text-align: center;
    margin-bottom: 3rem;
}

.consulting-eyebrow {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: #d4b665;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.consulting-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--blanc);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.consulting-header h2 em {
    color: #d4b665;
    font-style: italic;
}

.consulting-header p {
    font-size: 1.05rem;
    color: #e8e5df;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.65;
}

.consulting-livrables {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.consulting-livrable {
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid var(--accent);
    padding: 1.5rem 1.8rem;
    transition: all 0.3s ease;
}

.consulting-livrable:hover {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: var(--accent-clair);
}

.consulting-livrable-numero {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.62rem;
    color: #d4b665;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.6rem;
}

.consulting-livrable h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--blanc);
    margin-bottom: 0.8rem;
    line-height: 1.25;
}

.consulting-livrable p {
    font-size: 0.88rem;
    color: #e8e5df;
    line-height: 1.6;
    margin: 0;
}

.consulting-cta {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.consulting-cta p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: #e8e5df;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .consulting-livrables {
        grid-template-columns: 1fr;
    }
    .consulting-header h2 {
        font-size: 1.8rem;
    }
}

/* ===== HUB FORMATIONS ===== */

/* Frise progressive 5 étapes */
.frise-progressive {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.frise-progressive::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 4rem;
    right: 4rem;
    height: 1px;
    background: var(--brume);
    z-index: 0;
}

.frise-etape {
    text-align: center;
    padding: 0 0.5rem;
    position: relative;
    z-index: 1;
}

.frise-numero {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--blanc);
    border: 2px solid var(--brume);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ardoise);
}

.frise-etape-active .frise-numero {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--blanc);
    box-shadow: 0 0 0 4px var(--accent-subtil);
}

.frise-titre {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--noir);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.frise-etape-active .frise-titre {
    color: var(--accent);
}

.frise-desc {
    font-size: 0.78rem;
    color: var(--ardoise);
    line-height: 1.5;
}

/* Grille des 4 formations */
.formations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.formation-card {
    display: block;
    background: var(--blanc);
    border: 1px solid var(--brume);
    padding: 2rem;
    text-decoration: none;
    color: var(--encre);
    transition: all 0.4s ease;
    position: relative;
}

.formation-card:hover {
    border-color: var(--accent);
    background: var(--accent-subtil);
    transform: translateY(-2px);
    color: var(--encre);
}

.formation-card-active {
    border-color: var(--accent);
    border-width: 2px;
}

.formation-card-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--accent);
    color: var(--blanc);
    padding: 0.25rem 0.6rem;
    font-weight: 500;
}

.formation-card-active .formation-card-tag {
    background: var(--accent);
}

.formation-card:not(.formation-card-active) .formation-card-tag {
    background: var(--graphite);
}

.formation-card-numero {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--cendre);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.formation-card-titre {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--noir);
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.formation-card-soustitre {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-style: italic;
    color: var(--accent);
    margin-bottom: 1rem;
}

.formation-card-desc {
    font-size: 0.88rem;
    color: var(--graphite);
    line-height: 1.65;
    margin-bottom: 1.2rem;
}

.formation-card-modules {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
    border-top: 1px solid var(--brume);
    padding-top: 1rem;
}

.formation-card-modules li {
    font-size: 0.8rem;
    color: var(--ardoise);
    padding: 0.25rem 0 0.25rem 1rem;
    position: relative;
    line-height: 1.5;
}

.formation-card-modules li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.formation-card-cta {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 0.03em;
    border-top: 1px solid var(--brume);
    padding-top: 1rem;
    margin-top: auto;
}

.formation-card:hover .formation-card-cta {
    color: var(--accent-clair);
}

/* Grille secteurs */
.secteurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.secteur-card {
    background: var(--blanc);
    border: 1px solid var(--brume);
    padding: 1.5rem 1.8rem;
    transition: all 0.4s ease;
}

.secteur-card:hover {
    border-color: var(--accent);
    background: var(--accent-subtil);
}

.secteur-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 0.8rem;
    line-height: 1;
}

.secteur-titre {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--noir);
    margin-bottom: 0.6rem;
}

.secteur-desc {
    font-size: 0.82rem;
    color: var(--ardoise);
    line-height: 1.6;
}

/* Pills de contenus */
.contenus-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.5rem;
}

.contenu-pill {
    background: var(--blanc);
    border: 1px solid var(--brume);
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
    color: var(--encre);
    border-left: 2px solid var(--accent);
    transition: all 0.3s ease;
}

.contenu-pill:hover {
    background: var(--accent-subtil);
    border-color: var(--accent);
}

.contenu-pill strong {
    color: var(--noir);
    font-weight: 600;
}

/* ===== ENCARTS WEB (méthode, formations) ===== */

/* Encart "À retenir" — fin de section, fond ivoire */
.encart-retenir {
    background: var(--ivoire);
    border-left: 3px solid var(--accent);
    padding: 1.8rem 2rem;
    margin: 2.5rem 0;
}

.encart-retenir-titre {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.8rem;
}

.encart-retenir h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--noir);
    margin-bottom: 0.8rem;
}

.encart-retenir ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.encart-retenir li {
    font-size: 0.95rem;
    color: var(--encre);
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    line-height: 1.6;
}

.encart-retenir li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

/* Encart "Vous vous reconnaissez si" — checklist auto-diagnostic */
.encart-checklist {
    background: var(--blanc);
    border: 1px solid var(--brume);
    padding: 1.8rem 2rem;
    margin: 2.5rem 0;
    border-top: 3px solid var(--accent);
}

.encart-checklist-titre {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.6rem;
}

.encart-checklist h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--noir);
    margin-bottom: 1rem;
}

.encart-checklist ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.encart-checklist li {
    font-size: 0.95rem;
    color: var(--encre);
    padding: 0.6rem 0 0.6rem 2rem;
    position: relative;
    line-height: 1.6;
    border-bottom: 1px dashed var(--brume);
}

.encart-checklist li:last-child {
    border-bottom: none;
}

.encart-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 14px;
    height: 14px;
    border: 1.5px solid var(--accent);
    background: transparent;
}

/* Encart "Exemple concret" — cas client en encart */
.encart-exemple {
    background: var(--noir);
    color: var(--blanc);
    padding: 2rem;
    margin: 2.5rem 0;
}

.encart-exemple-titre {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-clair);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.8rem;
}

.encart-exemple h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--blanc);
    margin-bottom: 1rem;
}

.encart-exemple p,
.prose .encart-exemple p {
    font-size: 0.95rem;
    color: #e8e5df;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.encart-exemple p:last-child {
    margin-bottom: 0;
}

.encart-exemple em,
.prose .encart-exemple em {
    color: #d4b665;
    font-style: italic;
}

/* Encart "Pour les équipes [persona]" — ciblage métier */
.encart-persona {
    background: var(--ivoire);
    border-left: 3px solid var(--accent);
    padding: 1.8rem 2rem;
    margin: 2.5rem 0;
}

.encart-persona::before {
    content: 'Pour votre métier';
    display: block;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.8rem;
}

.encart-persona h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--noir);
    margin-bottom: 0.8rem;
}

.encart-persona p,
.prose .encart-persona p {
    font-size: 0.95rem;
    color: var(--encre);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.encart-persona p:last-child,
.prose .encart-persona p:last-child {
    margin-bottom: 0;
}

.encart-persona ul {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0 1rem 0;
}

.encart-persona li {
    font-size: 0.95rem;
    color: var(--encre);
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    line-height: 1.6;
}

.encart-persona li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

/* Micro-bullets inline (paragraphes-listes) */
.bullets-inline {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem 0;
}

.bullets-inline li {
    font-size: 1rem;
    color: var(--encre);
    padding: 0.5rem 0 0.5rem 1.8rem;
    position: relative;
    line-height: 1.6;
}

.bullets-inline li strong {
    color: var(--noir);
    font-weight: 600;
}

.bullets-inline li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

/* Compteur de section "5 min de lecture" / "4 composantes" */
.compteur-section {
    display: inline-block;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    background: var(--accent-subtil);
    padding: 0.3rem 0.8rem;
    margin-bottom: 1rem;
}

/* Headline scannable - phrase en gras au début d'un paragraphe */
.headline-para {
    color: var(--noir);
    font-weight: 600;
}

/* ===== PROSE (texte d'essai) ===== */
.prose {
    max-width: 720px;
    margin: 0 auto;
}

.prose p {
    font-size: 1.05rem;
    color: var(--encre);
    margin-bottom: 1.4rem;
    line-height: 1.75;
}

.prose p.lead {
    font-size: 1.2rem;
    color: var(--graphite);
    font-weight: 300;
    margin-bottom: 2rem;
}

.prose h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--noir);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.prose h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--noir);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.prose em {
    font-style: italic;
    color: var(--encre);
}

.prose strong {
    font-weight: 600;
    color: var(--noir);
}

.prose blockquote {
    border-left: 3px solid var(--accent);
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin: 2rem 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--graphite);
    line-height: 1.5;
}

.prose ul, .prose ol {
    margin: 1.2rem 0 1.6rem 1.5rem;
}

.prose li {
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
    color: var(--encre);
    line-height: 1.7;
}

/* ===== CHIFFRE-PHARE INLINE (3,8×) ===== */
.chiffre-phare {
    display: block;
    text-align: center;
    margin: 3rem 0;
    padding: 2.5rem;
    background: var(--ivoire);
    border-left: 3px solid var(--accent);
}

.chiffre-phare-nombre {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.chiffre-phare-texte {
    font-size: 1rem;
    color: var(--graphite);
    margin-top: 1rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== DOMAINES (HOME) ===== */
.domaines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.domaine-card {
    padding: 2rem;
    border: 1px solid var(--brume);
    transition: all 0.4s ease;
    position: relative;
    background: var(--blanc);
}

.domaine-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s ease;
}

.domaine-card:hover {
    border-color: var(--accent);
    background: var(--accent-subtil);
}

.domaine-card:hover::before { width: 100%; }

.domaine-numero {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--cendre);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.domaine-titre {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--noir);
    margin-bottom: 0.75rem;
}

.domaine-desc {
    font-size: 0.85rem;
    color: var(--ardoise);
    line-height: 1.65;
}

/* ===== CHIFFRES PARCOURS ===== */
.parcours-chiffres {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.chiffre {
    text-align: center;
}

.chiffre-nombre {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.chiffre-texte {
    font-size: 0.8rem;
    color: var(--ardoise);
    margin-top: 0.5rem;
    letter-spacing: 0.03em;
}

/* ===== RÉFÉRENCES TAGS ===== */
.references-liste {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 2rem;
}

.ref-tag {
    font-size: 0.72rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--brume);
    color: var(--graphite);
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.ref-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.ref-tag.institutionnel {
    background: var(--accent-subtil);
    border-color: var(--accent-borderhover);
}

/* ===== CONTACT ===== */
.contact-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-texte {
    font-size: 0.95rem;
    color: var(--brume);
    line-height: 1.8;
}

.contact-infos {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--cendre);
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.contact-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--blanc);
}

.contact-value a {
    color: var(--blanc);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value a:hover { color: var(--accent-clair); }

.contact-lieux {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.contact-lieu {
    display: flex;
    flex-direction: column;
}

/* ===== CTA (boutons d'appel à l'action) ===== */
.cta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: var(--blanc);
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Libre Franklin', sans-serif;
}

.btn:hover {
    background: var(--accent-clair);
    border-color: var(--accent-clair);
    color: var(--blanc);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
}

.btn-secondary:hover {
    background: var(--accent-subtil);
    color: var(--accent);
}

.btn-noir {
    background: var(--noir);
    border-color: var(--noir);
}

.btn-noir:hover {
    background: var(--encre);
    border-color: var(--encre);
}

/* ===== NIVEAUX DE FORMATION (page formation) ===== */
.niveaux-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.niveau-card {
    background: var(--blanc);
    border: 1px solid var(--brume);
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.niveau-card.featured {
    border-color: var(--accent);
    background: var(--accent-subtil);
    transform: scale(1.02);
}

.niveau-card.featured::before {
    content: 'recommandé';
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--accent);
    color: var(--blanc);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.8rem;
}

.niveau-nom {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--cendre);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.niveau-titre {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--noir);
    margin-bottom: 1rem;
}

.niveau-format {
    font-size: 0.85rem;
    color: var(--graphite);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.niveau-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex: 1;
}

.niveau-features li {
    font-size: 0.88rem;
    color: var(--encre);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--brume);
    position: relative;
    padding-left: 1.5rem;
}

.niveau-features li:last-child { border-bottom: none; }

.niveau-features li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.niveau-finance {
    font-size: 0.75rem;
    color: var(--ardoise);
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--brume);
    font-style: italic;
}

/* ===== FORMULAIRE PDF ===== */
.form-pdf-wrap {
    background: var(--noir);
    color: var(--blanc);
    padding: 4rem 0;
}

.form-pdf-wrap .bullets-inline li {
    color: var(--brume);
}

.form-pdf-wrap .bullets-inline li::before {
    color: var(--accent-clair);
}

.form-pdf-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2rem;
}

.form-pdf-inner h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--blanc);
    margin-bottom: 1.5rem;
}

.form-pdf-inner p {
    color: var(--brume);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.form-pdf form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-pdf form label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cendre);
    margin-bottom: 0.4rem;
}

.form-pdf form input, .form-pdf form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: transparent;
    border: 1px solid var(--graphite);
    color: var(--blanc);
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-pdf form input:focus, .form-pdf form textarea:focus {
    outline: none;
    border-color: var(--accent-clair);
}

.form-pdf form .form-field-full {
    grid-column: span 2;
}

.form-pdf form button {
    grid-column: span 2;
    padding: 1rem 2rem;
    background: var(--accent);
    color: var(--blanc);
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: 'Libre Franklin', sans-serif;
}

.form-pdf form button:hover {
    background: var(--accent-clair);
}

.form-pdf .form-mention {
    font-size: 0.72rem;
    color: var(--ardoise);
    margin-top: 1rem;
}

/* ===== SIGNATURE D'AUTEUR (page méthode) ===== */
.signature-auteur {
    background: var(--ivoire);
    padding: 4rem 0;
}

.signature-auteur-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3rem;
    align-items: start;
}

.signature-portrait {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(20%);
}

.signature-bio h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--noir);
    margin-bottom: 0.5rem;
}

.signature-bio .titre {
    font-size: 0.95rem;
    color: var(--graphite);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.signature-bio p {
    font-size: 0.95rem;
    color: var(--encre);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.signature-bio .liens-auteur {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.signature-bio .liens-auteur a {
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 2px;
}

.signature-bio .liens-auteur a:hover {
    color: var(--accent-clair);
    border-color: var(--accent-clair);
}

/* ===== DIAGRAMMES SVG INLINE ===== */
.diagramme {
    margin: 3rem auto;
    max-width: 640px;
    text-align: center;
}

.diagramme svg {
    max-width: 100%;
    height: auto;
}

.diagramme-legende {
    font-size: 0.75rem;
    color: var(--ardoise);
    font-style: italic;
    margin-top: 1rem;
    letter-spacing: 0.02em;
}

/* ===== FAQ ===== */
.faq-item {
    border-bottom: 1px solid var(--brume);
    padding: 1.5rem 0;
}

.faq-item h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--noir);
    margin-bottom: 0.6rem;
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--graphite);
    line-height: 1.7;
}

/* ===== PAGES LÉGALES (prose dense) ===== */
.legal-hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

.legal-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--noir);
    margin-bottom: 0.5rem;
}

.legal-hero .legal-sub {
    font-size: 0.85rem;
    color: var(--ardoise);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.legal-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

.legal-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--noir);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--brume);
}

.legal-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--noir);
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
}

.legal-content p {
    font-size: 0.95rem;
    color: var(--encre);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
    margin: 0.8rem 0 1.2rem 1.5rem;
}

.legal-content li {
    font-size: 0.95rem;
    color: var(--encre);
    margin-bottom: 0.5rem;
    line-height: 1.65;
}

.legal-content strong {
    color: var(--noir);
    font-weight: 600;
}

.legal-content .legal-coords {
    background: var(--ivoire);
    padding: 1.5rem 1.8rem;
    border-left: 3px solid var(--accent);
    margin: 2rem 0;
    font-size: 0.92rem;
    line-height: 1.8;
}

.legal-content .legal-signature {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--brume);
    font-style: italic;
    color: var(--graphite);
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
footer {
    border-top: 1px solid #333;
    background: var(--noir);
    padding: 4rem 0 2rem 0;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-col {
    color: var(--ardoise);
}

.footer-col-titre {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--blanc);
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #333;
    letter-spacing: 0.02em;
}

.footer-col p {
    font-size: 0.78rem;
    color: var(--ardoise);
    line-height: 1.7;
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.footer-col a {
    color: var(--cendre);
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-col a:hover {
    color: var(--accent-clair);
    border-bottom-color: var(--accent-clair);
}

.footer-bas {
    max-width: 1100px;
    margin: 3rem auto 0 auto;
    padding: 1.5rem 2rem 0 2rem;
    border-top: 1px solid #2c2c2c;
    text-align: center;
}

.footer-bas p {
    font-size: 0.7rem;
    color: var(--graphite);
    letter-spacing: 0.05em;
    margin: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
    .header-inner {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    html { font-size: 16px; }

    .hero h1 { font-size: 2.4rem; }

    .hero {
        padding: 4rem 1.5rem 3rem;
    }

    .hero-meta { gap: 1.5rem; }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .domaines-grid {
        grid-template-columns: 1fr;
    }

    .parcours-chiffres {
        grid-template-columns: repeat(2, 1fr);
    }

    .niveau-card.featured {
        transform: none;
    }

    .form-pdf form {
        grid-template-columns: 1fr;
    }

    .form-pdf form .form-field-full,
    .form-pdf form button {
        grid-column: span 1;
    }

    .signature-auteur-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .signature-portrait {
        margin: 0 auto;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Hub formations responsive */
    .frise-progressive {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .frise-progressive::before {
        display: none;
    }
    .frise-etape {
        display: grid;
        grid-template-columns: 60px 1fr;
        gap: 1rem;
        align-items: center;
        text-align: left;
    }
    .frise-numero {
        margin: 0;
    }
    .frise-titre, .frise-desc {
        text-align: left;
    }

    .formations-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }

    .header-name span {
        display: block;
        margin-left: 0;
        margin-top: 0.2rem;
    }

    .contact-lieux {
        flex-direction: column;
        gap: 1rem;
    }

    .header-nav {
        gap: 1.2rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}
