/* Blog Orthalab : pages statiques, même charte que le site (nuit, violet, Figtree). */
:root {
  --nuit: #07050D; --encre: #140E2E; --violet: #6D4FD0; --indigo: #4C2FA8; --lilas: #F5F3FF; --filet: #E6E0FA;
  --texte: #322B4C; --doux: #5F5878; --pale: #7F7898; --fond: #FBFAFF; --teal: #5EEAD4;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Figtree, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--texte); background: #fff; -webkit-font-smoothing: antialiased; font-feature-settings: "ss01"; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.conteneur { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* en-tête */
.entete { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(230,224,250,.8); }
.entete-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--encre); font-size: 21px; letter-spacing: -.02em; }
.logo svg { width: 23px; height: 23px; }
.logo b { font-weight: 800; }
.logo span { font-weight: 400; }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--doux); padding: 8px 14px; border-radius: 999px; }
.nav a:hover { background: var(--lilas); color: var(--encre); }
.actions { display: flex; gap: 8px; }
.btn, .btn-ligne { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; font-size: 14px; border-radius: 999px; padding: 10px 18px; white-space: nowrap; transition: transform .2s; }
.btn { color: #fff; background: linear-gradient(135deg, #4C2FA8, #6D4FD0 55%, #8B5CF6); box-shadow: 0 10px 30px -10px rgba(139,92,246,.9); }
.btn:hover { transform: translateY(-1px); }
.btn-ligne { color: var(--encre); box-shadow: inset 0 0 0 1px var(--filet); font-weight: 600; }
@media (max-width: 860px) { .nav, .btn-ligne { display: none; } .actions { margin-left: auto; } }

/* pastilles */
.sur { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.cat, .pro { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.cat { background: var(--lilas); color: var(--indigo); box-shadow: inset 0 0 0 1px var(--filet); }
.pro { background: #140E2E; color: #C4B5FD; }
.pro.pat { background: #ECFDF5; color: #047857; }

/* index */
.blog-hero { background: radial-gradient(55% 70% at 85% 0%, rgba(139,92,246,.42), transparent 70%), radial-gradient(45% 60% at 5% 40%, rgba(76,47,168,.35), transparent 70%), var(--nuit); color: #fff; padding: 72px 0 56px; margin-bottom: 48px; }
.eyebrow { display: inline-block; margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #C4B5FD; background: #1B1240; box-shadow: 0 0 0 1px rgba(139,92,246,.45), 0 0 18px rgba(139,92,246,.35); padding: 5px 12px; border-radius: 999px; }
.blog-hero h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1; letter-spacing: -.045em; font-weight: 900; margin: 22px 0 0; max-width: 900px; }
.blog-hero h1 span { background: linear-gradient(90deg, #A78BFA, #5EEAD4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.blog-hero p:not(.eyebrow) { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.66); max-width: 640px; margin: 20px 0 0; }
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.filtres button { font: inherit; font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.75); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); padding: 8px 15px; border-radius: 999px; cursor: pointer; }
.filtres button:hover { background: rgba(255,255,255,.14); }
.filtres button.actif { background: #fff; color: var(--nuit); border-color: #fff; }

.cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; padding-bottom: 80px; }
.carte { display: flex; flex-direction: column; text-decoration: none; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--filet); transition: transform .25s, box-shadow .25s; }
.carte:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #C4B5FD, 0 30px 60px -30px rgba(76,47,168,.4); }
.carte[hidden] { display: none; }
.carte img { aspect-ratio: 1200 / 630; object-fit: cover; }
.carte-txt { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.carte h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.015em; font-weight: 800; color: var(--encre); margin: 12px 0 8px; }
.carte .desc { font-size: 14.5px; line-height: 1.55; color: var(--doux); margin: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.carte .meta { font-size: 12.5px; font-weight: 600; color: var(--pale); margin: 14px 0 0; }

/* article */
.conteneur-article { max-width: 1120px; margin: 0 auto; padding: 36px 20px 40px; }
.ariane { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--pale); margin-bottom: 26px; }
.ariane a { text-decoration: none; font-weight: 600; }
.ariane a:hover { color: var(--violet); }
.conteneur-article h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.04; letter-spacing: -.04em; font-weight: 900; color: var(--encre); margin: 18px 0 0; max-width: 900px; }
.chapo-meta { font-size: 14px; color: var(--pale); margin: 18px 0 28px; }
.couv { width: 100%; border-radius: 26px; aspect-ratio: 21 / 8; object-fit: cover; margin-bottom: 44px; }
.grille-article { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 960px) { .grille-article { grid-template-columns: 1fr; gap: 0; } .sommaire { display: none; } }
.sommaire { position: sticky; top: 96px; font-size: 14px; }
.sommaire p { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pale); margin: 0 0 12px; }
.sommaire ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--filet); }
.sommaire li a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--doux); line-height: 1.35; }
.sommaire li a:hover { color: var(--indigo); border-left-color: var(--violet); }

.texte { max-width: 720px; font-size: 18px; line-height: 1.75; }
.texte > p:first-child { font-size: 20.5px; line-height: 1.6; color: var(--encre); font-weight: 500; }
.texte h2 { font-size: clamp(25px, 3vw, 31px); line-height: 1.2; letter-spacing: -.025em; font-weight: 800; color: var(--encre); margin: 56px 0 14px; }
.texte h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.015em; font-weight: 800; color: var(--encre); margin: 34px 0 8px; }
.texte p { margin: 0 0 20px; }
.texte a { color: var(--indigo); text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: #C4B5FD; }
.texte a:hover { text-decoration-color: var(--indigo); }
.texte ul, .texte ol { padding-left: 24px; margin: 0 0 22px; }
.texte li { margin: 0 0 8px; padding-left: 4px; }
.texte li::marker { color: var(--violet); font-weight: 700; }
.texte strong { color: var(--encre); font-weight: 700; }
.texte blockquote { margin: 28px 0; padding: 18px 24px; border-left: 4px solid var(--violet); background: var(--lilas); border-radius: 0 16px 16px 0; color: var(--encre); }
.texte blockquote p:last-child { margin: 0; }
.texte hr { border: 0; height: 1px; background: var(--filet); margin: 40px 0; }
.tableau { overflow-x: auto; margin: 0 0 26px; border-radius: 16px; box-shadow: 0 0 0 1px var(--filet); }
.texte table { border-collapse: collapse; width: 100%; font-size: 15.5px; line-height: 1.5; }
.texte th { background: var(--lilas); color: var(--encre); text-align: left; font-weight: 800; }
.texte th, .texte td { padding: 12px 16px; border-bottom: 1px solid var(--filet); vertical-align: top; }
.texte tr:last-child td { border-bottom: 0; }
.texte .faq-q { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--filet); }

.sources { margin-top: 56px; padding: 24px 26px; background: var(--fond); border-radius: 20px; box-shadow: 0 0 0 1px var(--filet); }
.sources h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--pale); margin: 0 0 12px; }
.sources ul { margin: 0; padding-left: 18px; font-size: 14.5px; line-height: 1.6; }
.sources li { margin-bottom: 6px; }
.sources a { color: var(--doux); }

.avertissement { margin-top: 26px; padding: 18px 22px; border-radius: 18px; background: #FFFBEB; box-shadow: 0 0 0 1px #FDE68A; font-size: 15px; line-height: 1.6; color: #78350F; }
.appel { margin-top: 36px; padding: 32px; border-radius: 26px; color: #fff; background: radial-gradient(60% 80% at 100% 0%, rgba(139,92,246,.5), transparent 70%), var(--nuit); }
.appel p { margin: 0 0 10px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.7); }
.appel .appel-sur { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.appel .appel-titre { font-size: 26px; line-height: 1.15; letter-spacing: -.03em; font-weight: 900; color: #fff; }
.appel .btn { margin-top: 10px; font-size: 15px; padding: 13px 22px; }

.a-lire { background: var(--fond); padding: 64px 0 0; border-top: 1px solid var(--filet); }
.a-lire h2 { font-size: 30px; letter-spacing: -.03em; font-weight: 900; color: var(--encre); margin: 0 0 26px; }

/* pied */
.pied { border-top: 1px solid var(--filet); background: #fff; }
.pied-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-top: 48px; padding-bottom: 28px; }
.pied p { color: var(--doux); font-size: 14px; max-width: 320px; line-height: 1.6; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; align-content: flex-start; }
.pied nav a { text-decoration: none; color: var(--doux); }
.pied nav a:hover { color: var(--indigo); }
.copy { font-size: 12.5px; color: var(--pale); padding-bottom: 28px; }
