/* =====================================================================
   AfroScience — feuille de style principale
   Palette et typographie alignées sur les pages éditoriales du site
   ===================================================================== */
:root {
  --ink: #0d0a07; --cream: #f5f0e8; --parchment: #ede5d0; --paper: #fffdf8;
  --gold: #c9922a; --gold-lt: #e8b84b; --crimson: #8b1a2e; --wine: #5e1020;
  --deep: #1a0d05; --rust: #b54a22; --muted: #6b5c4a; --line: #e4d9c0;
  --ff-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ff-caps: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --ff-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --maxw: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--ff-body); font-weight: 400; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
.as-ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }
.as-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.as-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.as-wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.as-skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--ink); padding: 10px 16px; z-index: 999; font-weight: 600; }
.as-skip:focus { left: 8px; top: 8px; }
.kente { height: 8px; background: repeating-linear-gradient(90deg, #8b1a2e 0 18px, #c9922a 18px 30px, #0d0a07 30px 44px, #b54a22 44px 56px, #e8b84b 56px 68px, #8b1a2e 68px 80px); }
:focus-visible { outline: 3px solid var(--gold-lt); outline-offset: 2px; }

/* ---------- Barre supérieure ---------- */
.as-topbar { background: var(--deep); color: #d9cdb6; font: 500 12.5px/1 var(--ff-caps); letter-spacing: .12em; text-transform: uppercase; }
.as-topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.as-topbar-tag { color: var(--gold-lt); }
.as-topbar-r { display: flex; align-items: center; gap: 6px; }
.as-soc { display: inline-grid; place-items: center; width: 30px; height: 30px; color: #d9cdb6; border-radius: 50%; transition: .25s; }
.as-soc:hover { color: var(--ink); background: var(--gold-lt); }
.as-soc .as-ico { width: 16px; height: 16px; }
.as-lang { display: flex; margin-left: 10px; border: 1px solid rgba(232, 184, 75, .5); border-radius: 999px; overflow: hidden; }
.as-lang a { padding: 6px 12px; color: #d9cdb6; text-decoration: none; transition: .2s; }
.as-lang a.on { background: var(--gold-lt); color: var(--ink); font-weight: 700; }
.as-lang a:not(.on):hover { background: rgba(255, 255, 255, .1); }

/* ---------- Bannière (images des scientifiques) + logo ---------- */
.as-banner { position: relative; z-index: 65; height: clamp(104px, 14.5vw, 204px); background: var(--deep) var(--banner) center top / auto 100% repeat-x; --logo: clamp(112px, 14vw, 186px); --lap: 18px; }
.as-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 13, 5, .04) 40%, rgba(26, 13, 5, .38)); pointer-events: none; }
/* Logo : badge rond à cheval sur la bannière et le menu */
.as-logo { position: absolute; z-index: 2; bottom: calc(var(--lap) * -1); left: max(18px, calc((100% - var(--maxw)) / 2 + 24px)); width: var(--logo); height: var(--logo); border-radius: 50%; background: #790027; border: 4px solid var(--gold-lt); box-shadow: 0 12px 30px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(26, 13, 5, .35); overflow: hidden; display: grid; place-items: center; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.as-logo:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 38px rgba(0, 0, 0, .55), inset 0 0 0 2px rgba(26, 13, 5, .35); }
.as-logo img { display: block; width: 118%; max-width: none; height: auto; }

/* ---------- Navigation ---------- */
.as-nav { position: sticky; top: 0; z-index: 60; border-top: 4px solid var(--gold); background: linear-gradient(180deg, #9a1d34, #75122a); border-bottom: 3px solid var(--gold); box-shadow: 0 6px 20px rgba(26, 13, 5, .25); }
.as-nav-in { display: flex; align-items: stretch; justify-content: center; position: relative; }
@media (min-width: 1280px) { .as-searchbtn { position: absolute; right: 24px; top: 0; bottom: 0; } }
@media (max-width: 1279px) { .as-nav-in { justify-content: space-between; } }
.as-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; }
.as-menu > li { position: relative; }
.as-menu > li > a { display: flex; align-items: center; gap: 6px; height: 52px; white-space: nowrap; padding: 0 11px; color: #fff; text-decoration: none; font: 600 14px/1 var(--ff-caps); letter-spacing: .07em; text-transform: uppercase; transition: background .2s, color .2s; }
.as-menu > li > a:hover, .as-menu > li:focus-within > a { background: rgba(255, 255, 255, .13); }
.as-menu > li.on > a { background: var(--gold-lt); color: var(--ink); }
.as-menu .sub-ico { width: 13px; height: 13px; transition: transform .25s; }
@media (min-width: 1001px) and (max-width: 1600px) { .as-menu > li > a { padding: 0 7px; font-size: 12.5px; letter-spacing: .04em; } }
.as-sub { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--paper); border-top: 3px solid var(--gold); box-shadow: 0 18px 40px rgba(26, 13, 5, .28); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s var(--ease); z-index: 5; }
.as-sub a { display: block; padding: 9px 20px; color: var(--ink); text-decoration: none; font: 500 15px/1.35 var(--ff-body); border-left: 3px solid transparent; transition: .15s; }
.as-sub a:hover, .as-sub li.on a { background: var(--parchment); color: var(--crimson); border-left-color: var(--crimson); }
.has-sub:hover > .as-sub, .has-sub:focus-within > .as-sub, .has-sub.open > .as-sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .sub-ico { transform: rotate(180deg); }
.as-searchbtn { background: none; border: 0; color: #fff; width: 52px; cursor: pointer; display: grid; place-items: center; transition: .2s; }
.as-searchbtn:hover { background: rgba(255, 255, 255, .13); }
.as-searchbtn .as-ico { width: 20px; height: 20px; }
.as-burger { display: none; background: none; border: 0; color: #fff; font: 600 14px var(--ff-caps); letter-spacing: .12em; text-transform: uppercase; align-items: center; gap: 10px; padding: 0 4px; height: 52px; cursor: pointer; }
.as-burger .as-ico { width: 24px; height: 24px; }
.as-searchbar { background: var(--deep); border-top: 1px solid rgba(255, 255, 255, .08); }
.as-searchbar[hidden] { display: none; }
.as-searchbar form { display: flex; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; color: var(--gold-lt); }
.as-searchbar input { flex: 1; background: transparent; border: 0; border-bottom: 2px solid rgba(232, 184, 75, .5); color: #fff; font: 400 20px var(--ff-display); padding: 8px 4px; min-width: 0; }
.as-searchbar input:focus { outline: 0; border-bottom-color: var(--gold-lt); }
.as-searchbar button { background: var(--gold-lt); color: var(--ink); border: 0; padding: 10px 20px; font: 700 13px var(--ff-caps); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; border-radius: 3px; }

/* ---------- Messages flash ---------- */
.as-flash { padding: 14px 0; font-weight: 500; }
.as-flash.ok { background: #e7f3e7; color: #1e5a1e; border-bottom: 2px solid #8cc58c; }
.as-flash.err { background: #fbe9e7; color: #8c1f17; border-bottom: 2px solid #e09b95; }

/* ---------- Boutons, puces ---------- */
.as-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--crimson); color: #fff; border: 0; padding: 15px 30px; font: 600 14.5px/1 var(--ff-caps); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; border-radius: 2px; transition: .3s var(--ease); box-shadow: 0 6px 18px rgba(139, 26, 46, .3); }
.as-btn:hover { background: var(--wine); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(139, 26, 46, .4); }
.as-btn .as-ico { transition: transform .3s; }
.as-btn:hover .as-ico { transform: translateX(4px); }
.as-chip { display: inline-block; background: var(--gold-lt); color: var(--ink); font: 700 11px/1 var(--ff-caps); letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px 4px; border-radius: 2px; }
.as-eyebrow { display: inline-block; font: 600 14px/1 var(--ff-caps); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.as-eyebrow::before { content: ""; display: inline-block; width: 34px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 12px; }
.as-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.as-chips a { display: inline-block; padding: 7px 14px; border: 1px solid rgba(232, 184, 75, .55); color: var(--gold-lt); text-decoration: none; font: 600 12.5px/1 var(--ff-caps); letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; transition: .2s; }
.as-chips a:hover { background: var(--gold-lt); color: var(--ink); }
.as-chips.sm { margin-top: 0; }
.as-chips.sm a { padding: 6px 12px; font-size: 11.5px; }

/* ---------- Placeholders / images ---------- */
.as-ph { position: absolute; inset: 0; display: grid; place-items: center; font: 600 clamp(36px, 6vw, 72px)/1 var(--ff-display); color: rgba(255, 255, 255, .55); background: linear-gradient(135deg, var(--c1, #8b1a2e), var(--c2, #1a0d05)); letter-spacing: .04em; }
.as-ph + img, .as-tile-bg img, .as-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
:nth-child(4n+2) > * > .as-ph, :nth-child(4n+2) > .as-ph { --c1: #b54a22; --c2: #4a1020; }
:nth-child(4n+3) > * > .as-ph, :nth-child(4n+3) > .as-ph { --c1: #2a5480; --c2: #0d1e33; }
:nth-child(4n+4) > * > .as-ph, :nth-child(4n+4) > .as-ph { --c1: #c9922a; --c2: #5e1020; }

/* ---------- Tuiles (texte sur image) ---------- */
.as-tile { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; background: var(--deep); isolation: isolate; }
.as-tile-bg { position: absolute; inset: 0; z-index: -2; }
.as-tile-bg img { transition: transform 1.1s var(--ease); }
.as-tile:hover .as-tile-bg img { transform: scale(1.07); }
.as-tile-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 10, 7, 0) 30%, rgba(13, 10, 7, .88) 100%); transition: opacity .4s; }
.as-tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.as-tile-date { font: 500 12px/1 var(--ff-caps); letter-spacing: .14em; text-transform: uppercase; color: #e8dcc2; opacity: .9; }
.as-tile .as-chip { position: absolute; top: -9999px; }
.as-tile-body .as-chip { position: static; }
.as-tile-title { font: 600 clamp(19px, 1.7vw, 24px)/1.15 var(--ff-display); text-shadow: 0 2px 12px rgba(0, 0, 0, .6); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.as-tile.big .as-tile-title { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; -webkit-line-clamp: 4; }
.as-tile.big .as-tile-body { padding: 36px 40px; }
.as-tile-ex { font-size: 15px; color: #e5dac2; max-width: 560px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.as-tile::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--gold-lt); transition: width .5s var(--ease); }
.as-tile:hover::after { width: 100%; }

/* ---------- Héros accueil ---------- */
.as-hero { background: var(--deep); padding: 10px 0 10px; }
.as-hero .as-wrap { padding: 0 10px; max-width: calc(var(--maxw) + 20px); }
.as-hero-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 270px 270px; gap: 8px; }
.as-hero-grid .big { grid-row: 1 / 3; grid-column: 1; }

/* ---------- Bande d'introduction ---------- */
.as-intro { background: var(--cream); text-align: center; position: relative; }
.as-intro-in { max-width: 900px; padding: 76px 24px 80px; }
.as-intro h1 { font: 600 clamp(32px, 4.6vw, 56px)/1.08 var(--ff-display); margin: 0 0 22px; color: var(--deep); }
.as-intro p { font-size: 19px; line-height: 1.7; color: #4a3d30; margin: 0 auto 34px; max-width: 760px; }
.as-intro .as-eyebrow::after { content: ""; display: inline-block; width: 34px; height: 2px; background: currentColor; vertical-align: middle; margin-left: 12px; }

/* ---------- Explorer ---------- */
.as-explore { background: var(--parchment); padding: 76px 0 84px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.as-sect-sub { text-align: center; color: var(--muted); margin: -10px auto 40px; max-width: 620px; font-size: 17px; }
.as-explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.as-ecard { --rc: var(--gold); position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--paper); padding: 30px 28px 26px; text-decoration: none; color: var(--ink); border-top: 4px solid var(--rc); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(26, 13, 5, .35); transition: transform .4s var(--ease), box-shadow .4s; }
.as-ecard:nth-child(6n+2) { --rc: var(--crimson); } .as-ecard:nth-child(6n+3) { --rc: var(--rust); }
.as-ecard:nth-child(6n+4) { --rc: #2a5480; } .as-ecard:nth-child(6n+5) { --rc: #2f6b4f; } .as-ecard:nth-child(6n+6) { --rc: #5b3a7a; }
.as-ecard:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -20px rgba(26, 13, 5, .45); }
.as-eicon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--rc) 14%, white); color: var(--rc); margin-bottom: 6px; }
.as-eicon .as-ico { width: 26px; height: 26px; }
.as-ecard strong { font: 600 25px/1.15 var(--ff-display); }
.as-ex { color: var(--muted); font-size: 15.5px; line-height: 1.55; flex: 1; }
.as-ecta { display: inline-flex; align-items: center; gap: 8px; color: var(--rc); font: 700 13px/1 var(--ff-caps); letter-spacing: .14em; text-transform: uppercase; margin-top: 8px; }
.as-ecta .as-ico { transition: transform .3s; } .as-ecard:hover .as-ecta .as-ico { transform: translateX(5px); }

/* ---------- Blocs & titres de section ---------- */
.as-block { padding: 72px 0 24px; }
.as-block-alt { background: var(--paper); padding-bottom: 76px; margin-top: 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.as-block:last-of-type { padding-bottom: 84px; }
.as-sect-t { position: relative; display: flex; align-items: center; justify-content: center; margin: 0 0 36px; }
.as-sect-t h2 { display: flex; align-items: center; gap: 26px; width: 100%; margin: 0; font: 600 clamp(26px, 3.4vw, 40px)/1 var(--ff-display); letter-spacing: .12em; text-transform: uppercase; color: var(--deep); }
.as-sect-t h2::before, .as-sect-t h2::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, transparent, var(--gold)); }
.as-sect-t h2::after { background: linear-gradient(270deg, transparent, var(--gold)); }
.as-sect-t h2 span { white-space: normal; text-align: center; }
.as-more { position: absolute; right: 0; bottom: -28px; display: inline-flex; align-items: center; gap: 8px; color: var(--crimson); text-decoration: none; font: 700 13px/1 var(--ff-caps); letter-spacing: .14em; text-transform: uppercase; }
.as-more:hover { color: var(--wine); } .as-more .as-ico { transition: transform .3s; } .as-more:hover .as-ico { transform: translateX(4px); }
.as-tiles-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 46px; }
.as-tile.md { height: 320px; }
.as-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 46px; }
.as-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* ---------- Cartes ---------- */
.as-card { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.as-block-alt .as-card { background: var(--cream); }
.as-card:hover { transform: translateY(-5px); box-shadow: 0 22px 36px -22px rgba(26, 13, 5, .5); border-color: var(--gold); }
.as-card-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--deep); }
.as-card-img img { transition: transform .9s var(--ease); }
.as-card:hover .as-card-img img { transform: scale(1.06); }
.as-card-b { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.as-meta { display: flex; align-items: center; gap: 10px; font: 500 12px/1 var(--ff-caps); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); flex-wrap: wrap; }
.as-card-t { margin: 0; font: 600 22px/1.18 var(--ff-display); }
.as-card-t a { color: var(--deep); text-decoration: none; background: linear-gradient(var(--crimson), var(--crimson)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease), color .2s; }
.as-card:hover .as-card-t a { color: var(--crimson); background-size: 100% 2px; }
.as-card-ex { margin: 0; color: #5a4c3d; font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- En-têtes de pages (catégorie, recherche) ---------- */
.as-pagehead { position: relative; background: radial-gradient(ellipse 60% 120% at 85% 0%, rgba(201, 146, 42, .22), transparent 60%), radial-gradient(ellipse 40% 90% at 5% 100%, rgba(139, 26, 46, .45), transparent 65%), var(--deep); color: var(--cream); }
.as-pagehead .as-wrap { padding-top: 46px; padding-bottom: 56px; }
.as-pagehead h1 { margin: 0 0 6px; font: 600 clamp(38px, 6vw, 76px)/1.02 var(--ff-display); }
.as-count { margin: 0; color: #cdbf9f; font: 500 15px var(--ff-caps); letter-spacing: .14em; text-transform: uppercase; }
.as-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 13px/1 var(--ff-caps); letter-spacing: .12em; text-transform: uppercase; color: #bfae8c; margin-bottom: 26px; }
.as-crumbs a { color: #e8dcc2; text-decoration: none; } .as-crumbs a:hover { color: var(--gold-lt); } .as-crumbs em { font-style: normal; color: var(--gold-lt); }
.as-empty { text-align: center; color: var(--muted); font-size: 18px; padding: 40px 0 60px; }
.as-bigsearch { display: flex; align-items: center; gap: 12px; margin-top: 26px; max-width: 640px; border-bottom: 2px solid var(--gold); padding-bottom: 8px; color: var(--gold-lt); }
.as-bigsearch input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: 400 24px var(--ff-display); padding: 6px 2px; } .as-bigsearch input:focus { outline: 0; }
.as-bigsearch .as-btn { padding: 12px 20px; box-shadow: none; }

/* ---------- Pagination ---------- */
.as-pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin: 56px 0 8px; }
.as-pg { min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font: 600 14px var(--ff-caps); letter-spacing: .1em; text-transform: uppercase; transition: .2s; }
a.as-pg:hover { background: var(--crimson); color: #fff; border-color: var(--crimson); } .as-pg.cur { background: var(--deep); color: var(--gold-lt); border-color: var(--deep); }

/* ---------- Article ---------- */
.as-ahead { background: radial-gradient(ellipse 55% 110% at 90% 10%, rgba(201, 146, 42, .24), transparent 60%), radial-gradient(ellipse 40% 90% at 0% 100%, rgba(139, 26, 46, .5), transparent 65%), var(--deep); color: var(--cream); }
.as-ahead-in { display: grid; grid-template-columns: 1fr 330px; gap: 64px; align-items: center; padding-top: 44px; padding-bottom: 64px; }
.as-ahead-in.nopic { grid-template-columns: 1fr; }
.as-ahead h1 { margin: 20px 0 22px; font: 600 clamp(32px, 4.6vw, 60px)/1.05 var(--ff-display); text-wrap: balance; }
.as-ameta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: #cdbf9f; font: 500 13.5px/1 var(--ff-caps); letter-spacing: .12em; text-transform: uppercase; }
.as-ameta .as-ico { color: var(--gold-lt); }
.as-draft { color: var(--ink); background: var(--gold-lt); padding: 4px 8px; }
.as-portrait { position: relative; margin: 0; aspect-ratio: 4 / 5; background: var(--wine); }
.as-portrait::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 2px solid var(--gold); z-index: 0; }
.as-portrait .as-ph, .as-portrait img { z-index: 1; }
.as-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); }
.as-alayout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; padding-top: 58px; padding-bottom: 90px; }
.as-amain { min-width: 0; }
.as-prose { font-size: 19px; line-height: 1.82; color: #2b2119; max-width: 720px; }
.as-prose p { margin: 0 0 1.35em; }
.as-prose > p:first-of-type::first-letter { float: left; font: 600 4.5em/.82 var(--ff-display); color: var(--crimson); padding: .06em .1em 0 0; }
.as-prose h2, .as-prose h3 { font-family: var(--ff-display); font-weight: 600; line-height: 1.15; margin: 1.8em 0 .6em; color: var(--deep); }
.as-prose h2 { font-size: 2em; } .as-prose h3 { font-size: 1.5em; }
.as-prose a { color: var(--crimson); text-decoration-thickness: 1px; text-underline-offset: 3px; } .as-prose a:hover { color: var(--wine); }
.as-prose img { display: block; height: auto; margin: 1.6em auto; border: 6px solid #fff; box-shadow: 0 14px 34px -16px rgba(26, 13, 5, .5); }
.as-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--gold); font: italic 500 1.35em/1.45 var(--ff-display); color: var(--wine); }
.as-prose ul, .as-prose ol { margin: 0 0 1.4em; padding-left: 1.3em; } .as-prose li { margin-bottom: .4em; }
.as-prose .wp-caption, .as-prose figure { margin: 1.6em 0; } .as-prose figcaption, .as-prose .wp-caption-text { font-size: 14px; color: var(--muted); text-align: center; }
.as-notice { background: #fff5dc; border-left: 4px solid var(--gold); padding: 12px 16px; margin: 0 0 28px; color: #6b4a0c; font-size: 15px; }
.as-notice-bar { margin: 0; border-left: 0; border-bottom: 3px solid var(--gold); padding: 10px 0; text-align: center; }
.as-share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 44px 0 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.as-share strong { font: 700 13px var(--ff-caps); letter-spacing: .16em; text-transform: uppercase; margin-right: 8px; }
.as-share a, .as-share button { display: inline-flex; align-items: center; gap: 8px; height: 40px; min-width: 40px; justify-content: center; padding: 0 12px; border: 1px solid var(--line); background: var(--paper); color: var(--deep); border-radius: 999px; cursor: pointer; font: 600 13px var(--ff-body); transition: .25s; }
.as-share a:hover, .as-share button:hover { background: var(--crimson); border-color: var(--crimson); color: #fff; transform: translateY(-2px); }
.as-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.as-prevnext a { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--deep); transition: .3s; }
.as-prevnext a:hover { border-color: var(--gold); transform: translateY(-3px); }
.as-prevnext .n { text-align: right; align-items: flex-end; grid-column: 2; }
.as-prevnext small { font: 700 12px var(--ff-caps); letter-spacing: .14em; text-transform: uppercase; color: var(--crimson); display: inline-flex; gap: 6px; align-items: center; }
.as-prevnext span { font: 600 19px/1.2 var(--ff-display); }
.as-aside { position: sticky; top: 76px; align-self: start; display: flex; flex-direction: column; gap: 24px; }
.as-box { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); padding: 22px 22px 24px; }
.as-box h3 { margin: 0 0 16px; font: 700 14px var(--ff-caps); letter-spacing: .18em; text-transform: uppercase; color: var(--crimson); }
.as-box .as-chips a { color: var(--crimson); border-color: #d9c9a8; } .as-box .as-chips a:hover { background: var(--crimson); color: #fff; border-color: var(--crimson); }
.as-rel { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.as-rel a { display: flex; gap: 14px; text-decoration: none; color: var(--deep); font: 600 17px/1.2 var(--ff-display); }
.as-rel a:hover { color: var(--crimson); }
.as-rel small { display: block; font: 500 11.5px var(--ff-caps); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.as-rel-img { position: relative; flex: none; width: 84px; height: 84px; overflow: hidden; background: var(--deep); }
.as-rel-img .as-ph { font-size: 28px; } .as-rel-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.as-box-nl { background: var(--deep); color: var(--cream); border-color: var(--gold); } .as-box-nl h3 { color: var(--gold-lt); } .as-box-nl p { margin: 0 0 14px; font-size: 15px; color: #d9cdb6; }

/* ---------- Newsletter (formulaire) ---------- */
.as-nl { display: flex; flex-direction: column; gap: 10px; }
.as-nl input[type=email] { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .07); color: #fff; font: 400 15px var(--ff-body); border-radius: 2px; }
.as-nl input::placeholder { color: #a99b82; } .as-nl input:focus { outline: 2px solid var(--gold-lt); }
.as-nl button { background: var(--gold-lt); color: var(--ink); border: 0; padding: 13px; font: 700 13px var(--ff-caps); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: .25s; border-radius: 2px; }
.as-nl button:hover { background: #fff; }

/* ---------- Contact ---------- */
.as-contact { background: var(--cream); padding: 84px 0 96px; border-top: 8px solid var(--crimson); }
.as-contact-in { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.as-contact-head h2 { font: 600 clamp(32px, 4vw, 52px)/1.05 var(--ff-display); margin: 0 0 14px; color: var(--deep); }
.as-contact-head p { color: var(--muted); font-size: 18px; margin: 0; }
.as-form { display: flex; flex-direction: column; gap: 18px; background: var(--paper); padding: 34px; border: 1px solid var(--line); border-top: 4px solid var(--gold); box-shadow: 0 30px 50px -34px rgba(26, 13, 5, .5); }
.as-form .as-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.as-form label span { display: block; font: 700 12px var(--ff-caps); letter-spacing: .16em; text-transform: uppercase; color: var(--crimson); margin-bottom: 6px; }
.as-form input, .as-form textarea { width: 100%; box-sizing: border-box; padding: 13px 14px; border: 1px solid #d6c9aa; background: #fff; font: 400 16px var(--ff-body); border-radius: 2px; transition: .2s; }
.as-form input:focus, .as-form textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 146, 42, .25); }
.as-form .as-btn { align-self: flex-start; }

/* ---------- 404 ---------- */
.as-404 { background: var(--deep); color: var(--cream); text-align: center; }
.as-404 .as-wrap { padding-top: 70px; padding-bottom: 100px; }
.as-404-n { font: 600 clamp(110px, 22vw, 260px)/1 var(--ff-display); background: linear-gradient(180deg, var(--gold-lt), var(--crimson)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.as-404 h1 { font: 600 clamp(30px, 4vw, 46px) var(--ff-display); margin: 0 0 10px; } .as-404 p { color: #cdbf9f; margin: 0 0 30px; font-size: 18px; }

/* ---------- Pied de page ---------- */
.as-footer { background: #1b0f18; color: #d9cdb6; margin-top: 0; }
.as-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-top: 60px; padding-bottom: 52px; }
.as-footer h4 { margin: 0 0 18px; font: 700 14px var(--ff-caps); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-lt); }
.as-foot-brand img { height: 84px; width: auto; display: block; margin-bottom: 16px; }
.as-foot-brand p { margin: 0 0 16px; font-size: 15px; color: #b9ab90; max-width: 340px; }
.as-foot-soc { display: flex; gap: 6px; margin-left: -6px; }
.as-foot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.as-foot-list a { display: block; color: #efe6d2; text-decoration: none; font: 600 17px/1.22 var(--ff-display); transition: color .2s; }
.as-foot-list a:hover { color: var(--gold-lt); }
.as-foot-list span { display: block; font: 500 11px var(--ff-caps); letter-spacing: .14em; text-transform: uppercase; color: #8f8068; margin-bottom: 3px; }
.as-foot-nl { margin: 0 0 14px; font-size: 15px; color: #b9ab90; }
.as-foot-strip { height: 6px; background: repeating-linear-gradient(90deg, #8b1a2e 0 18px, #c9922a 18px 30px, #0d0a07 30px 44px, #b54a22 44px 56px, #e8b84b 56px 68px, #8b1a2e 68px 80px); opacity: .85; }
.as-foot-bottom { background: #12080f; font-size: 13.5px; }
.as-foot-bottom .as-wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 18px; padding-bottom: 18px; }
.as-foot-links { display: flex; gap: 22px; } .as-foot-links a { color: #b9ab90; text-decoration: none; font: 600 12.5px var(--ff-caps); letter-spacing: .14em; text-transform: uppercase; } .as-foot-links a:hover { color: var(--gold-lt); }

/* ---------- Apparition au défilement ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .as-tile-bg img, .as-card-img img { transition: none; } }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .as-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .as-foot-grid { grid-template-columns: 1fr 1fr; }
  .as-alayout { grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; }
  .as-ahead-in { grid-template-columns: 1fr 280px; gap: 44px; }
}
@media (max-width: 960px) {
  .as-banner { --lap: 0px; --logo: clamp(92px, 24vw, 130px); }
  .as-logo { left: 50%; bottom: 6px; margin-left: calc(var(--logo) / -2); }
  .as-burger { display: inline-flex; }
  .as-nav-in { flex-wrap: wrap; position: relative; }
  .as-searchbtn { order: 2; }
  .as-menu { order: 3; display: none; width: 100%; flex-direction: column; flex-wrap: nowrap; border-top: 1px solid rgba(255, 255, 255, .15); }
  .as-nav.open .as-menu { display: flex; }
  .as-menu > li > a { height: auto; padding: 15px 8px; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .as-sub { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; background: rgba(0, 0, 0, .2); border: 0; padding: 4px 0; }
  .as-sub a { color: #f3e9d6; padding-left: 24px; } .as-sub a:hover, .as-sub li.on a { background: rgba(255, 255, 255, .1); color: #fff; }
  .has-sub.open > .as-sub { display: block; } .has-sub.open .sub-ico { transform: rotate(180deg); }
  .has-sub:hover > .as-sub { display: none; } .has-sub.open:hover > .as-sub { display: block; }
  .as-hero-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 380px 230px 230px; }
  .as-hero-grid .big { grid-column: 1 / 3; grid-row: 1; }
  .as-explore-grid, .as-tiles-3, .as-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .as-alayout { grid-template-columns: 1fr; } .as-aside { position: static; }
  .as-ahead-in { grid-template-columns: 1fr; } .as-portrait { max-width: 300px; margin: 10px 16px 16px 0; }
  .as-contact-in { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .as-wrap { padding: 0 18px; }
  .as-topbar-tag { display: none; } .as-topbar-in { justify-content: flex-end; }
  .as-hero .as-wrap { padding: 0 6px; }
  .as-hero-grid { grid-template-columns: 1fr; grid-template-rows: 360px repeat(4, 210px); gap: 6px; }
  .as-hero-grid .big { grid-column: 1; }
  .as-tile.big .as-tile-body { padding: 24px 22px; }
  .as-explore-grid, .as-tiles-3, .as-grid-3, .as-grid-4 { grid-template-columns: 1fr; }
  .as-block { padding-top: 54px; } .as-explore { padding: 56px 0; } .as-intro-in { padding: 54px 18px 58px; }
  .as-sect-t h2 { gap: 14px; letter-spacing: .06em; } .as-more { position: static; margin-top: 12px; }
  .as-sect-t { flex-direction: column; } .as-tiles-3, .as-grid-4 { margin-top: 26px; }
  .as-foot-grid { grid-template-columns: 1fr; gap: 34px; padding-top: 44px; }
  .as-form { padding: 22px; } .as-form .as-row { grid-template-columns: 1fr; }
  .as-prose { font-size: 17.5px; } .as-prevnext { grid-template-columns: 1fr; } .as-prevnext .n { grid-column: 1; }
  .as-foot-bottom .as-wrap { flex-direction: column; text-align: center; }
}
@media print {
  .as-topbar, .as-banner, .as-nav, .as-footer, .as-share, .as-aside, .as-prevnext { display: none !important; }
  .as-ahead { background: none; color: #000; } .as-ahead h1 { color: #000; }
}
