/* hub.css — pages de section (Guides Literie / Conseils Sommeil / Culture Nocturne).
   Landing pages éditoriales. DA nocturne dark, consomme les tokens du styles.css du front. */

/* Hero avec lueur douce (signature "halo" de la DA) */
.hub-hero { position: relative; padding: 4.5rem 0 2rem; text-align: center; overflow: hidden; }
.hub-hero::before {
    content: ""; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
    width: 520px; height: 320px; pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(201,162,75,.22) 0%, rgba(201,162,75,0) 70%);
}
.hub-hero > .container { position: relative; z-index: 1; }
.hub-hero .overline { color: var(--primary, #C9A24B); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.hub-hero .overline::before, .hub-hero .overline::after { content: ""; width: 24px; height: 1px; background: var(--border, #2E4163); }
.hub-hero h1 { font-size: 3rem; max-width: 800px; margin: 0 auto 1.1rem; line-height: 1.12; }
.hub-hero .lead { max-width: 660px; margin: 0 auto; color: var(--text-light, var(--text-muted, #9AA3B5)); font-size: 1.2rem; line-height: 1.7; }

.hub-wrap { max-width: 980px; margin: 0 auto 4rem; padding: 0 20px; }

/* Intro éditoriale + points clés */
.hub-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: start; margin: 2.5rem 0 1rem; }
@media (max-width: 720px) { .hub-intro { grid-template-columns: 1fr; gap: 1.25rem; } }
.hub-intro .prose p { line-height: 1.85; margin-bottom: 1.1rem; color: var(--text, #F4EFE6); }
.hub-intro .prose p:last-child { margin-bottom: 0; }
.hub-keys { background: var(--surface, #1A2C4E); border: 1px solid var(--border, #2E4163); border-radius: var(--radius, 12px); padding: 1.4rem 1.5rem; }
.hub-keys h2 { font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted, #9AA3B5); margin-bottom: 1rem; }
.hub-keys ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.hub-keys li { padding-left: 1.7rem; position: relative; line-height: 1.5; font-size: .95rem; color: var(--text-secondary, #C8CEDA); }
.hub-keys li::before { content: "\2605"; position: absolute; left: 0; top: .05rem; color: var(--primary, #C9A24B); }
.hub-keys b { color: var(--text, #F4EFE6); }

.hub-ymyl { background: #2A2410; color: #E8C77A; border: 1px solid #4A3F1C; border-radius: 8px; padding: .9rem 1.2rem; margin: 1.25rem 0 0; font-size: .88rem; line-height: 1.6; }

/* Guide phare mis en avant */
.hub-featured { display: flex; gap: 1.5rem; align-items: center; margin: 2.75rem 0; padding: 1.75rem; border-radius: var(--radius, 12px);
    background: linear-gradient(135deg, var(--secondary, #1A2C4E) 0%, var(--bg, #11203F) 100%);
    border: 1px solid var(--border, #2E4163); }
@media (max-width: 600px) { .hub-featured { flex-direction: column; text-align: center; gap: 1rem; } }
.hub-featured .ic { font-size: 3rem; flex: 0 0 auto; }
.hub-featured .ft-body { flex: 1; }
.hub-featured .k { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--primary, #C9A24B); display: block; margin-bottom: .4rem; }
.hub-featured h2 { font-size: 1.6rem; margin: 0 0 .5rem; }
.hub-featured p { color: var(--text-secondary, #C8CEDA); line-height: 1.6; margin: 0 0 1rem; }

/* Parcours "par où commencer" — bande pleine largeur */
.hub-steps { position: relative; padding: 2.75rem 0; margin: 2.5rem 0; }
.hub-steps > * { position: relative; z-index: 1; }
.hub-steps::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; margin-left: -50vw; width: 100vw; background: linear-gradient(180deg, #151A36 0%, #11182E 100%); z-index: 0; }
.hub-steps::after { content: ""; position: absolute; top: 0; left: 50%; margin-left: -50vw; width: 100vw; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,162,75,.4), transparent); z-index: 1; }
.hub-steps h2 { font-size: 1.6rem; margin-bottom: 1.25rem; }
.hub-steps ol { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: .8rem; }
.hub-steps li { counter-increment: step; position: relative; padding: 1.1rem 1.3rem 1.1rem 3.6rem; border: 1px solid var(--border, #2E4163); border-radius: 10px; background: var(--surface, #1A2C4E); }
.hub-steps li::before { content: counter(step); position: absolute; left: 1rem; top: 1.05rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--primary, #C9A24B); color: var(--on-primary, #11203F); font-family: var(--font-serif, 'Fraunces', serif); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.hub-steps li b { display: block; margin-bottom: .15rem; }
.hub-steps li span { color: var(--text-secondary, #C8CEDA); font-size: .92rem; line-height: 1.5; }
.hub-steps li a { color: var(--primary, #C9A24B); font-weight: 600; }

/* Blocs de cartes */
.hub-block { margin: 2.75rem 0; }
.hub-block h2 { font-size: 1.5rem; margin-bottom: 1.1rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.hub-block h2 .k { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--on-primary, #11203F); background: var(--primary, #C9A24B); padding: .22rem .65rem; border-radius: 999px; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 1rem; }
.hub-card { display: flex; gap: .9rem; align-items: flex-start; padding: 1.2rem 1.35rem; border: 1px solid var(--border, #2E4163); border-radius: var(--radius, 12px); background: var(--surface, #1A2C4E); color: var(--text, #F4EFE6); transition: all .18s ease; }
.hub-card:hover { border-color: var(--primary, #C9A24B); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.hub-ic { font-size: 1.5rem; flex: 0 0 auto; line-height: 1.2; }
.hub-card b { display: block; font-size: 1.05rem; margin-bottom: .2rem; }
.hub-card span { font-size: .9rem; color: var(--text-secondary, #C8CEDA); line-height: 1.5; }

/* FAQ — bande pleine largeur (ton plus profond) */
.hub-faq { position: relative; padding: 2.5rem 0 2.75rem; margin: 2.5rem 0 0; }
.hub-faq > * { position: relative; z-index: 1; }
.hub-faq::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; margin-left: -50vw; width: 100vw; background: #0C1428; z-index: 0; }
.hub-faq > h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.hub-faq details { border-bottom: 1px solid var(--border, #2E4163); padding: .9rem 0; }
.hub-faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.hub-faq summary::-webkit-details-marker { display: none; }
.hub-faq summary::after { content: "+"; color: var(--primary, #C9A24B); font-size: 1.4rem; line-height: 1; }
.hub-faq details[open] summary::after { content: "\2013"; }
.hub-faq p { margin: .8rem 0 .2rem; color: var(--text-secondary, #C8CEDA); line-height: 1.7; }

/* CTA blog */
.hub-blog { background: var(--surface, #1A2C4E); border: 1px solid var(--border, #2E4163); border-left: 4px solid var(--primary, #C9A24B); border-radius: 0 var(--radius,12px) var(--radius,12px) 0; padding: 1.75rem; text-align: center; margin-top: 1.5rem; }
.hub-blog h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.hub-blog p { color: var(--text-light, #9AA3B5); margin-bottom: 1.1rem; }

@media (max-width: 600px) { .hub-hero h1 { font-size: 2.2rem; } }
