/* Généré par build-content.mjs — styles du hub /guide-prenoms et des articles */
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-link { font-size: 14px; font-weight: 600; color: var(--text-soft); text-decoration: none; }
.nav-link:hover { color: var(--primary); }
@media (max-width: 600px) { .nav-link { display: none; } .nav-right { gap: 0; } }

.article-wrap, .guide-wrap { max-width: 780px; margin: 0 auto; padding: 28px 24px 80px; }

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--text-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--border); }
.breadcrumb span[aria-current] { color: var(--muted); }

.article-kicker { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); background: var(--primary-light); border: 1px solid var(--border); padding: 4px 12px; border-radius: var(--radius-full); margin-bottom: 16px; }

.article-head h1, .guide-hero h1 { font-size: clamp(28px, 5vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; color: var(--text); margin-bottom: 16px; }
.article-lead { font-size: 19px; line-height: 1.6; color: var(--text-soft); margin-bottom: 12px; }
.article-meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }

.article-body { margin-top: 32px; }
.article-body h2 { font-size: clamp(22px, 3.4vw, 28px); font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin: 40px 0 14px; }
.article-body p { font-size: 17px; line-height: 1.75; color: var(--text-soft); margin-bottom: 16px; }
.article-body a { color: var(--primary); font-weight: 600; text-decoration: none; }
.article-body a:hover { text-decoration: underline; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-list { margin: 0 0 18px; padding-left: 22px; }
.article-list li { font-size: 17px; line-height: 1.7; color: var(--text-soft); margin-bottom: 8px; }

.name-grid { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 8px 0 24px; padding: 0; }
.name-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.name-card details > summary { list-style: none; cursor: pointer; padding: 14px 18px; display: flex; flex-direction: column; gap: 4px; }
.name-card details > summary::-webkit-details-marker { display: none; }
.nc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.nc-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.name-card-name { font-family: 'Outfit', sans-serif; font-size: 19px; font-weight: 700; color: var(--text); }
.name-card-origin { font-size: 11px; font-weight: 600; color: var(--primary); background: var(--primary-light); border-radius: var(--radius-full); padding: 2px 9px; white-space: nowrap; }
.nc-chev { color: var(--muted); font-size: 22px; line-height: 1; transition: transform .2s ease; transform: rotate(90deg); }
.name-card details[open] .nc-chev { transform: rotate(270deg); }
.name-card-gloss { font-size: 13.5px; line-height: 1.5; color: var(--text-soft); margin: 0; }
.nc-body { padding: 4px 18px 16px; }
.nc-body > *:first-child { border-top: 1px solid var(--border); padding-top: 12px; }
.nc-meaning { font-size: 14px; line-height: 1.65; color: var(--text-soft); margin: 0 0 10px; }
.nc-celebs { font-size: 13px; line-height: 1.5; color: var(--text-soft); margin: 0 0 12px; }
.nc-celebs strong { color: var(--text); }
.nc-link { display: inline-block; font-size: 14px; font-weight: 700; color: var(--primary); text-decoration: none; }
.nc-link:hover { text-decoration: underline; }

/* ── Fiche prénom (/prenom/<slug>) ── */
.pn-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #12b56b 0%, #03A55A 55%, #017a42 100%); border-radius: var(--radius-lg); padding: 30px 30px 26px; margin: 6px 0 26px; color: #fff; }
.pn-hero-mark { position: absolute; right: 6px; top: -46px; font-family: 'Outfit', sans-serif; font-size: 210px; font-weight: 800; line-height: 1; color: rgba(255,255,255,.13); pointer-events: none; user-select: none; }
.pn-kicker { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.85); }
.pn-hero h1 { font-family: 'Outfit', sans-serif; font-size: 52px; font-weight: 800; letter-spacing: -1.5px; margin: 4px 0 16px; color: #fff; }
.pn-pills { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.pn-pill { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.32); border-radius: var(--radius-full); padding: 5px 14px; font-size: 13px; font-weight: 600; }
.pn-chart { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 18px 10px; margin: 6px 0 16px; }
.pn-chart-cap { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; text-align: center; }
@media (max-width: 560px) { .pn-hero h1 { font-size: 42px; } .pn-hero-mark { font-size: 160px; top: -30px; } }

/* ── Page « Tous les prénoms » (/prenoms) ── */
.bp-wrap { max-width: 1000px; margin: 0 auto; padding: 24px 20px 80px; }
.bp-hero { text-align: center; margin: 6px 0 22px; }
.bp-hero h1 { font-family: 'Outfit', sans-serif; font-size: 42px; font-weight: 800; letter-spacing: -1.2px; color: var(--text); margin: 0 0 8px; }
.bp-hero p { font-size: 16px; color: var(--text-soft); max-width: 640px; margin: 0 auto; line-height: 1.5; }
.bp-controls { position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 14px 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; border-bottom: 1px solid var(--border); }
.bp-search { flex: 1 1 260px; max-width: 360px; height: 46px; border: 1.5px solid var(--border); border-radius: var(--radius-full); background: var(--card); padding: 0 18px; font-size: 15px; font-family: inherit; color: var(--text); }
.bp-search:focus { outline: none; border-color: var(--primary); }
.bp-gender { display: flex; gap: 4px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-full); padding: 3px; }
.bp-gender button { border: none; background: none; border-radius: var(--radius-full); padding: 8px 14px; font-size: 13.5px; font-weight: 600; color: var(--text-soft); cursor: pointer; font-family: inherit; }
.bp-gender button.on { background: var(--primary); color: #fff; }
.bp-origin { height: 46px; border: 1.5px solid var(--border); border-radius: var(--radius-full); background: var(--card); padding: 0 16px; font-size: 14px; font-family: inherit; color: var(--text); cursor: pointer; }
.bp-az { display: flex; flex-wrap: wrap; gap: 2px; justify-content: center; margin: 16px 0 4px; }
.bp-az a { font-size: 13px; font-weight: 700; color: var(--primary); text-decoration: none; padding: 4px 8px; border-radius: var(--radius-sm); }
.bp-az a:hover { background: var(--primary-light); }
.bp-count { text-align: center; font-size: 13px; color: var(--muted); margin: 8px 0 18px; }
.bp-sec { margin: 0 0 22px; scroll-margin-top: 76px; }
.bp-letter { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; color: var(--primary); margin: 0 0 10px; padding-bottom: 4px; border-bottom: 2px solid var(--border); }
.bp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.bp-item { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 10px 14px; text-decoration: none; }
.bp-item:hover { border-color: var(--primary); }
.bp-name { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 700; color: var(--text); }
.bp-o { font-size: 11px; font-weight: 600; color: var(--primary); white-space: nowrap; }
@media (max-width: 560px) { .bp-hero h1 { font-size: 32px; } .bp-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }

/* ── Badge App Store officiel Apple ── */
.appstore-badge { display: inline-block; line-height: 0; text-decoration: none; }
.appstore-badge img { height: 50px; width: auto; display: block; }
.appstore-badge:hover { opacity: .9; }

/* ── Barre CTA sticky mobile ── */
.app-cta-bar { display: none; }
.acb-logo { border-radius: 10px; flex-shrink: 0; }
.acb-txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; flex: 1; }
.acb-txt strong { font-family: 'Outfit', sans-serif; font-size: 15px; color: var(--text); }
.acb-txt span { font-size: 12px; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acb-btn { flex-shrink: 0; background: var(--primary); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; padding: 9px 16px; border-radius: 999px; }
.acb-close { flex-shrink: 0; background: none; border: none; color: var(--muted); font-size: 24px; line-height: 1; padding: 2px 6px; cursor: pointer; }
@media (max-width: 768px) {
  .app-cta-bar { display: flex; align-items: center; gap: 12px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 50; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 10px 12px; box-shadow: 0 8px 30px rgba(0,0,0,.16); }
  .article-wrap, .guide-wrap, .bp-wrap { padding-bottom: 96px; }
}

.article-faq { margin-top: 48px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card); margin-bottom: 10px; padding: 0 18px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; font-size: 16px; color: var(--text); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--primary); font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 0 16px; }
.faq-answer p { font-size: 15.5px; line-height: 1.7; color: var(--text-soft); margin: 0; }

.article-cta { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); border-radius: var(--radius-xl); padding: 40px 32px; text-align: center; margin: 56px 0 40px; }
.article-cta h2 { color: #fff; font-size: 26px; font-weight: 700; margin: 0 0 10px; letter-spacing: -0.02em; }
.article-cta p { color: rgba(255,255,255,0.88); font-size: 17px; line-height: 1.6; margin: 0 auto 24px; max-width: 460px; }
.article-cta .btn-appstore { background: #fff; color: var(--primary-dark); }
.article-cta .btn-appstore:hover { opacity: 0.92; }
.article-cta .cta-soon { display: block; margin-top: 14px; font-size: 13px; color: rgba(255,255,255,0.6); }

.related { margin-top: 16px; }
.related h2 { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related-card, .guide-card { display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; text-decoration: none; transition: box-shadow 0.15s, transform 0.15s; }
.related-card:hover, .guide-card:hover { box-shadow: 0 8px 24px rgba(61,155,107,0.12); transform: translateY(-2px); }
.related-kicker, .guide-card-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); }
.related-title, .guide-card-title { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.3; }
@media (max-width: 560px) { .related-grid { grid-template-columns: 1fr; } }

.guide-hero { margin-bottom: 24px; }
.guide-group { margin-top: 44px; }
.guide-group h2 { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.guide-card-desc { font-size: 14px; color: var(--text-soft); line-height: 1.55; }
.guide-card-go { font-size: 13px; font-weight: 600; color: var(--primary); margin-top: 4px; }
@media (max-width: 640px) { .guide-grid { grid-template-columns: 1fr; } }

/* ── Palmarès / Top prénoms (build-tops.mjs) ─────────────────────────────── */
.tops-list { list-style: none; margin: 8px 0 18px; padding: 0; counter-reset: none; }
.tops-row { display: flex; align-items: center; gap: 14px; padding: 11px 6px; border-bottom: 1px solid var(--border); }
.tops-row:last-child { border-bottom: none; }
.tops-rank { flex: 0 0 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; color: var(--text-soft); background: var(--primary-light); border-radius: var(--radius-full); }
.tops-top3 .tops-rank { color: #fff; background: var(--primary); }
.tops-name { flex: 1; font-size: 18px; font-weight: 600; }
.tops-name a { color: var(--text); text-decoration: none; }
.tops-name a:hover { color: var(--primary); text-decoration: underline; }
.tops-g { display: inline-block; margin-left: 10px; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: var(--radius-full); vertical-align: middle; }
.tops-g.g-F { background: #FCE7F1; color: #C43D7E; }
.tops-g.g-M { background: #E6F3FB; color: var(--gem); }
.tops-g.g-N { background: var(--primary-light); color: var(--primary); }
.tops-births { flex: 0 0 auto; text-align: right; font-weight: 700; color: var(--text); font-size: 15px; }
.tops-births small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); }
.tops-note { font-size: 13px; color: var(--muted); margin: 4px 0 24px; }
.tops-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.tops-col h2 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.tops-more { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--primary); text-decoration: none; }
.tops-more:hover { text-decoration: underline; }
@media (max-width: 640px) { .tops-cols { grid-template-columns: 1fr; gap: 24px; } .tops-name { font-size: 17px; } }
