/* ============================================================
   CAUCHEMAR — Design system « Rose & Glace »
   Palette dérivée du logo phénix (feu/glace), retravaillée en rose.
   Feuille de style partagée par toutes les pages.
   ============================================================ */
:root {
  /* Encres — fonds profonds, presque noirs */
  --ink:        #030305;
  --ink-2:      #08080d;
  --line:       #ffffff1f;
  --text:       #f6f6f9;
  --muted:      #8b8f9c;

  /* Rose (côté chaud) */
  --fire-1:     #ff0a6c;
  --fire-2:     #ff2d95;
  --fire-3:     #ff6ec7;

  /* Glace (côté froid) */
  --ice-1:      #00c7fa;
  --ice-2:      #1a4dff;
  --ice-3:      #07123f;

  /* Dégradé signature rose → glace */
  --grad: linear-gradient(115deg, var(--fire-1) 0%, var(--fire-2) 20%, var(--fire-3) 36%, var(--ice-1) 62%, var(--ice-2) 82%, var(--ice-3) 100%);

  --r: 18px;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Halos d'ambiance : rose en haut-gauche, glace en bas-droite */
body::before, body::after {
  content: ""; position: fixed; z-index: 0; pointer-events: none;
  width: 62vw; height: 62vw; border-radius: 50%; filter: blur(130px); opacity: .28;
}
body::before { top: -22vw; left: -16vw; background: radial-gradient(circle, var(--fire-1), transparent 62%); }
body::after  { bottom: -26vw; right: -16vw; background: radial-gradient(circle, var(--ice-2), transparent 62%); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

/* Typo display */
h1, h2, h3, .display { font-family: "Big Shoulders Inline Display", "Big Shoulders Display", sans-serif; line-height: .92; letter-spacing: .5px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
a { color: inherit; text-decoration: none; }

/* Boutons pilules */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Big Shoulders Display", sans-serif; font-weight: 800;
  font-size: 1.05rem; letter-spacing: .6px; text-transform: uppercase;
  padding: 15px 30px; border-radius: 999px; cursor: pointer; border: 0;
  transition: transform .2s ease, box-shadow .3s ease, filter .3s ease;
}
.btn-fire {
  background: var(--grad); background-size: 200% 100%; background-position: 0 0;
  color: #07000a; box-shadow: 0 8px 34px #ff0a6c55, 0 0 0 1px #ffffff14 inset;
}
.btn-fire:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 14px 48px #1a4dff66, 0 0 24px #ff2d9555; }
.btn-ghost { background: transparent; color: var(--text); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--fire-2); color: #fff; transform: translateY(-2px); }

/* ===================== HEADER ===================== */
header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: #07080ccc; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: "Big Shoulders Inline Display"; font-weight: 900; font-size: 1.5rem; letter-spacing: 1px; }
.brand img { width: 42px; height: 42px; filter: drop-shadow(0 0 12px #ff2d9577); }
nav ul { display: flex; gap: 30px; list-style: none; align-items: center; }
nav a:not(.btn) { font-family: "Big Shoulders Display"; font-weight: 600; font-size: 1.05rem; letter-spacing: .5px; color: var(--muted); transition: color .2s; position: relative; }
nav a:not(.btn):hover, nav a.is-active { color: #fff; }
nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--grad); transition: width .25s; }
nav a:not(.btn):hover::after, nav a.is-active::after { width: 100%; }
.nav-cta { padding: 10px 22px; font-size: .95rem; }
.burger { display: none; background: none; border: 0; color: #fff; font-size: 1.8rem; cursor: pointer; line-height: 1; }

/* ===================== HERO (accueil) ===================== */
.hero { position: relative; padding: 90px 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: "Big Shoulders Display"; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--grad); }
.hero h1 { font-size: clamp(3.4rem, 9vw, 7rem); font-weight: 900; text-transform: uppercase; margin-bottom: 18px; }
.hero .lead { font-family: "Big Shoulders Display"; font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--text); max-width: 30ch; margin-bottom: 14px; }
.hero p.sub { color: var(--muted); font-size: 1.1rem; max-width: 46ch; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual .glow { position: absolute; inset: -10%; background: var(--grad); filter: blur(70px); opacity: .42; border-radius: 50%; animation: pulse 6s ease-in-out infinite; }
.hero-visual img { position: relative; width: min(420px, 80%); animation: float 7s ease-in-out infinite; filter: drop-shadow(0 30px 70px #000c) drop-shadow(0 0 30px #ff2d9533); }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(2deg); } }
@keyframes pulse { 0%,100% { opacity: .4; transform: scale(1); } 50% { opacity: .62; transform: scale(1.07); } }

/* ===================== PAGE HERO (pages intérieures) ===================== */
.page-hero { position: relative; text-align: center; padding: 90px 0 70px; overflow: hidden; }
.page-hero h1 { font-size: clamp(3rem, 8vw, 6rem); font-weight: 900; text-transform: uppercase; margin-bottom: 18px; }
.page-hero p { color: var(--muted); font-size: 1.18rem; max-width: 56ch; margin: 0 auto; }
.page-hero .eyebrow { justify-content: center; }

/* Marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; overflow: hidden; white-space: nowrap; margin-top: 60px; }
.marquee span { display: inline-block; font-family: "Big Shoulders Inline Display"; font-weight: 700; font-size: 1.6rem; text-transform: uppercase; letter-spacing: 2px; padding-right: 40px; color: var(--muted); animation: scroll 22s linear infinite; }
.marquee span b { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===================== SECTIONS génériques ===================== */
section.block { padding: 100px 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 900; text-transform: uppercase; margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.12rem; }

/* Manifeste / conversion (fond fumée) */
.soul { position: relative; text-align: center; padding: 120px 0; overflow: hidden; }
.soul-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .3; }
.soul-veil { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(80% 70% at 50% 50%, transparent 35%, var(--ink) 80%),
    linear-gradient(180deg, var(--ink) 0%, transparent 30%, transparent 70%, var(--ink) 100%); }
.soul .card { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 60px 40px; background: linear-gradient(180deg, #ffffff0d, #ffffff05); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 40px 120px #000c; backdrop-filter: blur(6px); }
.soul h2 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 900; text-transform: uppercase; margin-bottom: 20px; }
.soul p { color: var(--muted); font-size: 1.25rem; max-width: 44ch; margin: 0 auto 32px; }

/* Cartes services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card-svc { padding: 36px 30px; border-radius: var(--r); background: linear-gradient(180deg, #ffffff07, #ffffff02); border: 1px solid var(--line); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; position: relative; overflow: hidden; }
.card-svc::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); opacity: .8; }
.card-svc:hover { transform: translateY(-6px); border-color: #ffffff2a; box-shadow: 0 24px 60px #0008; }
.card-svc .num { font-family: "Big Shoulders Inline Display"; font-weight: 900; font-size: 2.4rem; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; margin-bottom: 14px; }
.card-svc h3 { font-family: "Big Shoulders Display"; font-weight: 800; font-size: 1.6rem; text-transform: uppercase; margin-bottom: 10px; }
.card-svc p { color: var(--muted); font-size: 1rem; }
.card-svc ul { list-style: none; margin-top: 14px; }
.card-svc ul li { color: var(--muted); font-size: .95rem; padding-left: 20px; position: relative; margin-bottom: 6px; }
.card-svc ul li::before { content: "✦"; position: absolute; left: 0; color: var(--fire-2); }

/* Process / étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { padding: 30px 26px; border-radius: var(--r); background: linear-gradient(180deg, #ffffff07, #ffffff02); border: 1px solid var(--line); }
.step .n { font-family: "Big Shoulders Inline Display"; font-weight: 900; font-size: 3rem; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; line-height: 1; }
.step h3 { font-family: "Big Shoulders Display"; font-weight: 800; font-size: 1.4rem; text-transform: uppercase; margin: 8px 0 8px; }
.step p { color: var(--muted); font-size: .98rem; }

/* Équipe */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 50px; }
.member { text-align: center; }
.member .photo { position: relative; aspect-ratio: 3/4; border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, #161a26, #0b0d14); border: 1px solid var(--line); margin-bottom: 18px; }
.member .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, #07080cdd); }
.member .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .4s ease; }
.member:hover .photo img { transform: scale(1.05); }
.member h3 { font-family: "Big Shoulders Display"; font-weight: 800; font-size: 1.5rem; text-transform: uppercase; }
.member .role { font-family: "Big Shoulders Display"; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: .95rem; }
.member .bio { color: var(--muted); font-size: .95rem; margin-top: 10px; }
.team-copy { max-width: 720px; margin: 0 auto; text-align: center; color: var(--muted); font-size: 1.1rem; }
.team-copy p { margin-bottom: 16px; }

/* Valeurs */
.values { display: grid; gap: 22px; max-width: 900px; margin: 0 auto; }
.value { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; padding: 30px 34px; border-radius: var(--r); background: linear-gradient(180deg, #ffffff07, #ffffff02); border: 1px solid var(--line); transition: border-color .25s, transform .25s; }
.value:hover { border-color: #ffffff2a; transform: translateX(6px); }
.value .n { font-family: "Big Shoulders Inline Display"; font-weight: 900; font-size: 3.4rem; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; line-height: .8; }
.value h3 { font-family: "Big Shoulders Display"; font-weight: 800; font-size: 1.7rem; text-transform: uppercase; margin-bottom: 8px; }
.value p { color: var(--muted); }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article { border-radius: var(--r); overflow: hidden; background: linear-gradient(180deg, #ffffff07, #ffffff02); border: 1px solid var(--line); transition: transform .25s, border-color .25s, box-shadow .25s; display: flex; flex-direction: column; }
.article:hover { transform: translateY(-6px); border-color: #ffffff2a; box-shadow: 0 24px 60px #0008; }
.article .thumb { aspect-ratio: 16/10; background: var(--grad); position: relative; overflow: hidden; }
.article .thumb span { position: absolute; inset: 0; display: grid; place-items: center; font-family: "Big Shoulders Inline Display"; font-weight: 900; font-size: 3.4rem; color: #ffffff22; text-transform: uppercase; }
.article .body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article .meta { display: flex; gap: 12px; font-family: "Big Shoulders Display"; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: .78rem; color: var(--muted); }
.article .meta .cat { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.article h3 { font-family: "Big Shoulders Display"; font-weight: 800; font-size: 1.45rem; text-transform: uppercase; line-height: 1; }
.article p { color: var(--muted); font-size: .98rem; flex: 1; }
.article .more { font-family: "Big Shoulders Display"; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: .9rem; color: var(--fire-2); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; text-transform: uppercase; margin-bottom: 18px; }
.contact-info p { color: var(--muted); margin-bottom: 26px; max-width: 42ch; }
.contact-list { list-style: none; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; color: var(--text); }
.contact-list .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(180deg, #ffffff0d, #ffffff04); border: 1px solid var(--line); font-size: 1.2rem; }
.contact-list small { display: block; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: 1px; }
form.card { background: linear-gradient(180deg, #ffffff0a, #ffffff03); border: 1px solid var(--line); border-radius: 24px; padding: 34px; display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-family: "Big Shoulders Display"; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: .82rem; color: var(--muted); }
.field input, .field textarea, .field select { background: #ffffff08; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: var(--text); font-family: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--fire-2); box-shadow: 0 0 0 3px #ff2d9522; }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { color: var(--muted); font-size: .85rem; }

/* CTA final */
.cta-band { text-align: center; padding: 110px 0; }
.cta-band h2 { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 900; text-transform: uppercase; margin-bottom: 14px; }
.cta-band p { color: var(--muted); font-size: 1.2rem; margin-bottom: 32px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 60px 0 40px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.foot-grid .brand { font-size: 1.4rem; margin-bottom: 16px; }
.foot-about p { color: var(--muted); font-size: .96rem; max-width: 34ch; }
.foot-col h4 { font-family: "Big Shoulders Display"; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: .9rem; color: var(--text); margin-bottom: 16px; }
.foot-col ul { list-style: none; display: grid; gap: 10px; }
.foot-col a { color: var(--muted); transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.socials { display: flex; gap: 12px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); transition: border-color .2s, color .2s; font-size: .95rem; }
.socials a:hover { border-color: var(--fire-2); color: var(--fire-2); }

/* Animations au scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 880px) {
  /* Menu mobile */
  .burger { display: block; }
  nav { position: fixed; inset: 76px 0 auto 0; background: #06070bf2; backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s ease; z-index: 49; }
  header.nav-open nav { transform: translateY(0); }
  nav ul { flex-direction: column; gap: 0; padding: 14px 28px 26px; align-items: stretch; }
  nav ul li { border-bottom: 1px solid var(--line); }
  nav ul li:last-child { border-bottom: 0; padding-top: 14px; }
  nav a:not(.btn) { display: block; padding: 16px 0; font-size: 1.3rem; }
  .nav-cta { text-align: center; justify-content: center; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .eyebrow, .hero-cta { justify-content: center; }
  .hero .lead, .hero p.sub { margin-left: auto; margin-right: auto; }
  .hero-visual { order: -1; }
  .hero-visual img { width: min(280px, 64%); }

  .cards, .cards.two, .team, .news-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .value { grid-template-columns: 1fr; gap: 8px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  section.block { padding: 70px 0; }
}

/* ===================== BLOG (injection API) ===================== */
/* États de chargement / erreur / vide */
.state { text-align: center; padding: 60px 20px; color: var(--muted); }
.state .spin { width: 34px; height: 34px; margin: 0 auto 16px; border-radius: 50%; border: 3px solid #ffffff22; border-top-color: var(--fire-2); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Article à la une */
.featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); margin-bottom: 50px; background: linear-gradient(180deg, #ffffff07, #ffffff02); transition: border-color .25s, box-shadow .25s; }
.featured:hover { border-color: #ffffff2a; box-shadow: 0 24px 60px #0008; }
.featured .cover { position: relative; min-height: 300px; background: var(--grad); overflow: hidden; }
.featured .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured .cover .ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: "Big Shoulders Inline Display"; font-weight: 900; font-size: 5rem; color: #ffffff22; }
.featured .body { padding: 44px 40px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.featured .meta { display: flex; gap: 12px; font-family: "Big Shoulders Display"; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: .82rem; color: var(--muted); }
.featured .meta .cat { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.featured h2 { font-family: "Big Shoulders Display"; font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.8rem); text-transform: uppercase; line-height: .95; }
.featured p { color: var(--muted); font-size: 1.05rem; }

/* Le <a> qui enveloppe les cartes (article cliquable) */
a.article { color: inherit; }
.article .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Filtres par catégorie */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.chip { font-family: "Big Shoulders Display"; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: transparent; cursor: pointer; transition: all .2s; }
.chip:hover { color: #fff; border-color: #ffffff2a; }
.chip.active { color: #07000a; background: var(--grad); border-color: transparent; }

/* ===================== LECTURE D'ARTICLE ===================== */
.post { max-width: 760px; margin: 0 auto; }
.post .back { display: inline-flex; align-items: center; gap: 8px; font-family: "Big Shoulders Display"; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: .88rem; color: var(--muted); margin-bottom: 30px; transition: color .2s; }
.post .back:hover { color: var(--fire-2); }
.post .meta { display: flex; gap: 14px; font-family: "Big Shoulders Display"; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.post .meta .cat { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.post h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900; text-transform: uppercase; margin-bottom: 18px; line-height: .95; }
.post .lede { color: var(--text); font-size: 1.25rem; margin-bottom: 30px; }
.post .cover { aspect-ratio: 16/8; border-radius: var(--r); overflow: hidden; background: var(--grad); margin-bottom: 40px; position: relative; }
.post .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-content { color: #d7dae2; font-size: 1.08rem; line-height: 1.8; }
.post-content > * + * { margin-top: 22px; }
.post-content h2 { font-family: "Big Shoulders Display"; font-weight: 800; font-size: 1.9rem; text-transform: uppercase; color: var(--text); margin-top: 44px; }
.post-content h3 { font-family: "Big Shoulders Display"; font-weight: 700; font-size: 1.4rem; color: var(--text); margin-top: 32px; }
.post-content a { color: var(--fire-2); text-decoration: underline; text-underline-offset: 3px; }
.post-content ul, .post-content ol { padding-left: 22px; }
.post-content li { margin-top: 8px; }
.post-content blockquote { border-left: 3px solid var(--fire-2); padding: 6px 22px; color: var(--text); font-style: italic; background: #ffffff06; border-radius: 0 12px 12px 0; }
.post-content img { max-width: 100%; border-radius: var(--r); }
.post-content code { background: #ffffff10; padding: 2px 7px; border-radius: 6px; font-size: .92em; }
.post-author { display: flex; align-items: center; gap: 14px; margin-top: 50px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); }
.post-author .av { width: 48px; height: 48px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-family: "Big Shoulders Display"; font-weight: 800; color: #07000a; }

@media (max-width: 880px) {
  .featured { grid-template-columns: 1fr; }
  .featured .cover { min-height: 200px; }
}

/* ===================== ADMIN ===================== */
.admin-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.admin-bar h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; text-transform: uppercase; }
.admin-grid { display: grid; grid-template-columns: 340px 1fr; gap: 30px; align-items: start; }
.admin-aside { position: sticky; top: 96px; }
.admin-aside .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.admin-aside h2 { font-family: "Big Shoulders Display"; font-weight: 800; font-size: 1.3rem; text-transform: uppercase; }
.admin-list { display: grid; gap: 10px; max-height: 70vh; overflow: auto; padding-right: 4px; }
.admin-item { text-align: left; width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #ffffff05; cursor: pointer; transition: border-color .2s, background .2s; color: var(--text); }
.admin-item:hover { border-color: #ffffff2a; background: #ffffff09; }
.admin-item.active { border-color: var(--fire-2); }
.admin-item .t { font-family: "Big Shoulders Display"; font-weight: 700; font-size: 1.05rem; text-transform: uppercase; line-height: 1.1; }
.admin-item .s { color: var(--muted); font-size: .8rem; margin-top: 4px; display: flex; gap: 8px; }
.admin-item .s .cat { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; font-weight: 600; }
.editor { background: linear-gradient(180deg, #ffffff0a, #ffffff03); border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: grid; gap: 18px; }
.editor .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.editor .actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.editor .preview { border: 1px dashed var(--line); border-radius: 16px; padding: 24px; }
.editor .preview .lbl { font-family: "Big Shoulders Display"; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: .78rem; color: var(--muted); margin-bottom: 12px; }
.editor-status { font-size: .9rem; color: var(--muted); }
.btn-danger { background: transparent; border: 2px solid #ff3b6e55; color: #ff6ec7; }
.btn-danger:hover { border-color: #ff3b6e; color: #fff; }

/* Porte d'accès (saisie du token) */
.gate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: #030305f2; backdrop-filter: blur(8px); }
.gate .box { width: min(420px, 90vw); background: linear-gradient(180deg, #ffffff0d, #ffffff04); border: 1px solid var(--line); border-radius: 22px; padding: 36px; text-align: center; }
.gate h2 { font-family: "Big Shoulders Inline Display"; font-weight: 900; font-size: 2.2rem; text-transform: uppercase; margin-bottom: 8px; }
.gate p { color: var(--muted); margin-bottom: 22px; font-size: .95rem; }
.gate input { width: 100%; background: #ffffff08; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: var(--text); font-family: inherit; font-size: 1rem; margin-bottom: 16px; text-align: center; }
.gate input:focus { outline: none; border-color: var(--fire-2); }

@media (max-width: 880px) {
  .admin-grid { grid-template-columns: 1fr; }
  .admin-aside { position: static; }
  .editor .row { grid-template-columns: 1fr; }
}
