/* CELESTARS — contenu des pages Blog, articles et pages légales.
   Menu, pied de page, boutons et polices : assets/theme.css (même design que l'accueil). */
:root {
  --gray: var(--muted); --fg: var(--ink); --bg: var(--white); --card: var(--white); --text: #2a2622;
}
.label { font-family: var(--sans); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-dark); display: inline-flex; align-items: center; gap: 10px; }
.label::before { content: "✦"; color: var(--gold); font-size: 11px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold-dark); }
[hidden] { display: none !important; }

/* CARTES D'ARTICLES (même style que « Nos conseils » sur l'accueil) */
.card { display: flex; flex-direction: column; background: var(--card); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); transition: transform 1.3s var(--ease); }
.card .ci { border-radius: var(--r-card); overflow: hidden; }
.card:hover img { transform: scale(1.07); }
.card .b { padding: 16px 2px 0; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 24px; line-height: 1.2; margin: 8px 0 8px; transition: color .3s; }
.card:hover h3 { color: var(--gold-dark); }
.card p { font-size: 14px; color: var(--gray); line-height: 1.55; }
.meta { font-size: 12px; color: var(--gray); margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; gap: 1rem; }
.meta b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
@media (max-width: 960px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }

/* PAGE BLOG */
.blog-head { text-align: center; padding: 48px 20px 28px; }
.blog-head h1 { font-size: clamp(42px, 6vw, 68px); line-height: 1.05; margin: 14px 0 14px; }
.blog-head p { font-size: 16px; color: var(--gray); max-width: 620px; margin: auto; line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; }
.chips button { font-size: 13px; font-weight: 500; border: 1px solid var(--line); background: var(--white); padding: 10px 18px; border-radius: var(--pill); color: var(--gray); cursor: pointer; transition: border-color .3s, color .3s, background .3s; }
.chips button:hover { border-color: var(--gold); color: var(--ink); }
.chips button.on { background: var(--ink); color: var(--white); border-color: var(--ink); }
main.wrap { max-width: var(--max); margin: 0 auto; padding: 16px 20px 72px; }
.feat { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; margin-bottom: 40px; transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.feat:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.feat img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; transition: transform 1.3s var(--ease); }
.feat:hover img { transform: scale(1.05); }
.feat .fi { overflow: hidden; }
.feat .b { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.feat h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.12; margin: 14px 0 14px; }
.feat p { font-size: 15px; color: var(--gray); line-height: 1.65; }
.feat .meta { margin-top: 24px; }
@media (max-width: 860px) { .feat { grid-template-columns: 1fr; } .feat img { min-height: 0; aspect-ratio: 3/2; } .feat .b { padding: 24px; } }

/* PAGE ARTICLE */
.cover { position: relative; height: clamp(340px, 58vh, 520px); width: min(var(--max), calc(100% - 32px)); margin: 0 auto; border-radius: 24px; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6); }
.cover .t { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding: 0 24px 44px; color: #fff; }
.cover .label { color: rgba(255,255,255,.85); }
.cover h1 { font-size: clamp(36px, 5.4vw, 62px); font-weight: 300; max-width: 900px; line-height: 1.05; margin: 14px 0 16px; }
.cover .m { font-size: 12px; letter-spacing: .04em; opacity: 0.85; }
.crumb { max-width: 760px; margin: 28px auto 0; font-size: 12px; color: var(--gray); padding: 0 20px; }
.crumb a:hover { color: var(--gold-dark); }
article { max-width: 760px; margin: 0 auto; padding: 22px 20px 16px; font-size: 16.5px; line-height: 1.8; color: var(--text); }
article .intro { font-family: var(--display); font-size: 25px; line-height: 1.5; color: var(--fg); font-style: italic; }
article h2 { font-size: 36px; line-height: 1.15; margin: 44px 0 12px; color: var(--fg); }
article h3 { font-size: 26px; font-weight: 500; margin: 28px 0 6px; color: var(--fg); }
article p { margin: 0 0 18px; }
article ul { margin: 0 0 20px 20px; padding: 0; }
article li { margin-bottom: 8px; }
article strong { color: var(--fg); font-weight: 600; }
article a { color: var(--gold-dark); border-bottom: 1px solid rgba(201,167,124,0.5); }
article a:hover { color: var(--ink); border-color: var(--ink); }
article figure { margin: 28px 0; }
article figure img { width: 100%; border-radius: var(--r-card); }
article figcaption { font-size: 12px; color: var(--gray); text-align: center; margin-top: 10px; }
article table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; }
article th, article td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
article th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.note { background: var(--fog); border-left: 3px solid var(--gold); padding: 18px 22px; margin: 24px 0; border-radius: 0 var(--r-card) var(--r-card) 0; }
.box { max-width: 760px; margin: 28px auto 64px; background: var(--ink); color: #fff; border-radius: 24px; padding: 44px 24px; text-align: center; }
.box h3 { font-size: clamp(32px, 4vw, 44px); font-weight: 300; margin: 0 0 10px; }
.box h3 em { color: var(--gold-light); }
.box p { font-size: 15px; opacity: 0.75; margin: 0 0 24px; }
.box a { display: inline-flex; align-items: center; gap: 10px; background: var(--gold); color: var(--ink); font-weight: 600; font-size: 15px; padding: 16px 26px; border-radius: var(--pill); transition: background .4s var(--ease), color .4s var(--ease); }
.box a:hover { background: var(--white); }
.more { max-width: var(--max); margin: 0 auto; padding: 0 20px 72px; text-align: center; }
.more h2 { font-size: clamp(34px, 4vw, 48px); margin: 12px 0 32px; }
.more .grid { text-align: left; }
@media (min-width: 961px) { .more .grid.two { grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; } }

/* PAGES LÉGALES */
.legal-head { text-align: center; padding: 48px 20px 8px; }
.legal-head h1 { font-size: clamp(38px, 5vw, 56px); font-weight: 300; margin: 14px 0 0; }
.legal-head p { font-size: 12px; color: var(--gray); margin-top: 12px; }
article.legal { padding-bottom: 64px; font-size: 15.5px; }
article.legal h2 { font-size: 28px; margin-top: 36px; }
.card .ci, .feat .fi { display: block; overflow: hidden; }
.card .ci { border-radius: var(--r-card); }
.card .ci img { border-radius: 0; }
