*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold:        #B8953A;
  --gold-light:  #D4AD58;
  --gold-pale:   #F5EDD8;
  --gold-line:   #E0C97A;
  --gold-shine:  #FFE082;
  --ink:         #16140F;
  --ink2:        #2A2620;
  --ink3:        #1D1B16;
  --txt:         rgba(255,255,255,.78);
  --txt-soft:    rgba(255,255,255,.52);
  --txt-faint:   rgba(255,255,255,.3);
  --line:        rgba(255,255,255,.07);
  --line-gold:   rgba(184,149,58,.22);
}

html { scroll-behavior: smooth; background: var(--ink); }
body {
  background: var(--ink); color: var(--txt);
  font-family: 'DM Sans', sans-serif; font-weight: 300; line-height: 1.7;
  overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
::selection { background: rgba(184,149,58,.35); color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--gold-line); }

@keyframes shimmer { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rotateSlow { to { transform: rotate(360deg); } }

/* ── Nav (comme l'accueil : transparente sur le haut de page) ── */
.bnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 2rem 5rem; background: transparent;
  border-bottom: 1px solid transparent;
  transition: padding .4s ease, background .4s ease, border-color .4s ease;
}
.bnav.scrolled {
  padding: 1rem 5rem; background: rgba(22,20,15,.9);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--line-gold);
}
.bnav-logo {
  font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 600;
  letter-spacing: .12em; color: #fff; text-decoration: none;
}
.bnav-logo span { color: var(--gold-line); font-weight: 300; margin-left: .15em; }
.bnav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.bnav-links a {
  font-size: .72rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.75); text-decoration: none; transition: color .3s; position: relative;
}
.bnav-links a:not(.bnav-cta)::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 1px;
  background: var(--gold-line); transform: scaleX(0); transform-origin: right; transition: transform .3s;
}
.bnav-links a:hover { color: #fff; }
.bnav-links a:hover::after, .bnav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.bnav-links a.active { color: var(--gold-line); }
.bnav-cta {
  color: var(--ink) !important; background: var(--gold-line); padding: .72rem 1.7rem;
  font-weight: 500 !important; letter-spacing: .16em !important;
  transition: background .3s, box-shadow .3s !important;
}
.bnav-cta:hover { background: var(--gold-light); box-shadow: 0 6px 24px rgba(184,149,58,.4); }

/* ── Header ──────────────────────────────────────────── */
.bhead {
  padding: 11rem 5rem 6rem; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.bhead::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 85% 30%, rgba(184,149,58,.12) 0%, transparent 55%);
}
.bhead-panel {
  position: absolute; top: 0; right: 0; width: 34%; height: 100%; pointer-events: none;
  background: linear-gradient(160deg, rgba(184,149,58,.09) 0%, rgba(184,149,58,.02) 100%);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  border-left: 1px solid var(--line-gold);
}
.bhead-orn {
  position: absolute; right: 5rem; bottom: 4rem; width: 110px; height: 110px;
  border: 1px solid rgba(184,149,58,.22); animation: rotateSlow 55s linear infinite; pointer-events: none;
}
.bhead-orn::before { content: ''; position: absolute; inset: 18px; border: 1px solid rgba(184,149,58,.14); transform: rotate(45deg); }
.bhead-orn::after  { content: ''; position: absolute; inset: 36px; border: 1px solid rgba(184,149,58,.09); }
.bhead-inner { max-width: 860px; position: relative; animation: fadeUp .9s ease both .1s; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  font-size: .66rem; font-weight: 500; letter-spacing: .32em;
  text-transform: uppercase; color: var(--gold-line); margin-bottom: 1.6rem;
}
.eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold-line); }
.bhead h1 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400; color: #fff;
  font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.06; margin-bottom: 1.6rem;
}
.bhead h1 em, .gold-em {
  font-style: italic;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-shine) 45%, var(--gold) 90%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; animation: shimmer 4.5s linear infinite;
}
.bhead p { color: var(--txt-soft); font-size: 1rem; line-height: 1.95; max-width: 580px; }
.bhead-meta {
  display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 2.2rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line); max-width: 580px;
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--txt-faint);
}
.bhead-meta span:first-child { color: var(--gold-line); }

/* ── Liste des articles ──────────────────────────────── */
.blist { padding: 6rem 5rem 8rem; }
.blist-grid {
  display: grid; grid-template-columns: repeat(3,1fr); max-width: 1240px; margin: 0 auto;
  border: 1px solid var(--line);
}
.bcard {
  display: flex; flex-direction: column; text-decoration: none; position: relative;
  padding: 3rem 2.6rem 2.6rem; background: transparent;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .35s;
}
.bcard:nth-child(3n) { border-right: none; }
.bcard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-shine), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .55s cubic-bezier(.16,1,.3,1);
}
.bcard:hover { background: rgba(184,149,58,.05); }
.bcard:hover::before { transform: scaleX(1); }
.bcard-meta { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-line); margin-bottom: 1.3rem; }
.bcard-title { font-family: 'Cormorant Garamond', serif; font-size: 1.65rem; font-weight: 400; color: #fff; line-height: 1.22; margin-bottom: 1.1rem; }
.bcard-desc { font-size: .88rem; color: var(--txt-soft); line-height: 1.85; flex: 1; }
.bcard-read {
  margin-top: 2rem; display: inline-flex; align-items: center; gap: .7rem;
  font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--txt-faint);
  transition: color .3s, gap .3s;
}
.bcard-read::after { content: '→'; font-size: .85rem; }
.bcard:hover .bcard-read { color: var(--gold-line); gap: 1rem; }

/* État vide */
.bempty { max-width: 640px; margin: 0 auto; text-align: center; padding: 1rem 0 2rem; }
.bempty-decor { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-bottom: 2.4rem; }
.bempty-line { width: 60px; height: 1px; background: rgba(184,149,58,.35); }
.bempty-diamond { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); opacity: .7; }
.bempty h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300; font-style: italic;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: rgba(255,255,255,.85); line-height: 1.3; margin-bottom: 1.2rem;
}
.bempty p { color: var(--txt-soft); font-size: .95rem; line-height: 1.9; margin-bottom: 2.6rem; }

/* ── Article ─────────────────────────────────────────── */
.barticle { padding: 5.5rem 1.5rem 7rem; }
.prose { max-width: 720px; margin: 0 auto; font-size: 1.06rem; color: var(--txt); line-height: 1.95; }
.prose > * + * { margin-top: 1.4rem; }
.prose > p:first-child { font-size: 1.16rem; color: rgba(255,255,255,.88); }
.prose h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 2.1rem;
  color: #fff; line-height: 1.2; margin-top: 3.4rem; padding-top: 2.4rem; border-top: 1px solid var(--line);
}
.prose h3 { font-size: 1.05rem; font-weight: 500; color: var(--gold-line); margin-top: 2.2rem; letter-spacing: .02em; }
.prose strong { font-weight: 500; color: #fff; }
.prose a { color: var(--gold-line); text-decoration: underline; text-decoration-color: rgba(224,201,122,.4); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--gold-line); }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: .55rem; }
.prose li::marker { color: var(--gold); }
.prose blockquote {
  border-left: 1px solid var(--gold); padding: .3rem 0 .3rem 1.6rem;
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.45rem; color: rgba(255,255,255,.85); line-height: 1.5;
}
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose .table-wrap { overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .85rem 1rem .85rem 0; text-align: left; vertical-align: top; }
.prose th { color: var(--gold-line); font-weight: 400; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; border-bottom-color: var(--line-gold); }
.prose hr { border: none; height: 1px; background: var(--line); margin: 3rem 0; }
.prose code { font-size: .9em; background: rgba(255,255,255,.06); padding: .1em .35em; }

.bnote {
  max-width: 720px; margin: 4rem auto 0; padding-top: 1.6rem; border-top: 1px solid var(--line);
  font-size: .8rem; color: var(--txt-faint); line-height: 1.8;
}
.bcta {
  max-width: 720px; margin: 3.5rem auto 0; padding: 3rem 2.8rem; position: relative;
  border: 1px solid var(--line-gold);
  background: linear-gradient(150deg, rgba(184,149,58,.1) 0%, rgba(184,149,58,.02) 100%);
}
.bcta::before {
  content: ''; position: absolute; top: -1px; left: 2.8rem; right: 2.8rem; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-shine), var(--gold));
  background-size: 200% auto; animation: shimmer 3.5s linear infinite;
}
.bcta h2 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 1.95rem; color: #fff; line-height: 1.25; margin-bottom: .8rem; }
.bcta p { color: var(--txt-soft); font-size: .93rem; margin-bottom: 1.9rem; }
.btn-gold {
  display: inline-block; padding: 1rem 2.5rem; background: var(--gold); color: #fff;
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  position: relative; overflow: hidden; transition: background .3s, box-shadow .3s;
}
.btn-gold::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.18) 50%, transparent 80%);
  transform: translateX(-100%); transition: transform .55s ease;
}
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 10px 36px rgba(184,149,58,.42); }
.btn-gold:hover::after { transform: translateX(100%); }
.bback { max-width: 720px; margin: 3rem auto 0; }
.bback a { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--txt-faint); text-decoration: none; transition: color .3s; }
.bback a:hover { color: var(--gold-line); }

/* ── Footer (identique à l'accueil) ──────────────────── */
footer { background: var(--ink); position: relative; }
footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 25%, var(--gold-shine) 50%, var(--gold) 75%, transparent 100%);
  opacity: .3;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 3rem;
  padding: 4rem 5rem 2.5rem; border-bottom: 1px solid rgba(255,255,255,.05);
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 500; color: rgba(255,255,255,.85); letter-spacing: .13em; margin-bottom: .4rem; }
.footer-logo span { color: var(--gold-line); font-weight: 300; }
.footer-tagline { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.25); }
.footer-cols { display: flex; gap: 5rem; }
.footer-col-title { font-size: .62rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.25); margin-bottom: 1.2rem; }
.footer-col-links { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.footer-col-links a { font-size: .78rem; color: rgba(255,255,255,.4); text-decoration: none; transition: color .25s; }
.footer-col-links a:hover { color: var(--gold-line); }
.footer-col-text { font-size: .78rem; color: rgba(255,255,255,.38); line-height: 1.7; }
.footer-bottom { padding: 1.8rem 5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: .68rem; letter-spacing: .08em; color: rgba(255,255,255,.2); }
.footer-legal { font-size: .68rem; letter-spacing: .06em; color: rgba(255,255,255,.16); }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .bnav, .bnav.scrolled { padding-left: 2.5rem; padding-right: 2.5rem; }
  .bhead { padding: 9rem 2.5rem 5rem; }
  .bhead-panel { width: 45%; opacity: .7; }
  .bhead-orn { display: none; }
  .blist { padding: 5rem 2.5rem 6rem; }
  .blist-grid { grid-template-columns: 1fr 1fr; }
  .bcard:nth-child(3n) { border-right: 1px solid var(--line); }
  .bcard:nth-child(2n) { border-right: none; }
  .footer-top { padding: 3rem 2.5rem 2rem; }
  .footer-bottom { padding: 1.5rem 2.5rem; }
  .footer-cols { gap: 3rem; }
}
@media (max-width: 768px) {
  .bnav, .bnav.scrolled { padding: 1rem 1.2rem; }
  .bnav-links { gap: 1.2rem; }
  .bnav-links li.hide-sm { display: none; }
  .bnav-cta { padding: .6rem 1.1rem; }
  .bhead { padding: 7.5rem 1.2rem 4rem; }
  .bhead-panel { display: none; }
  .blist { padding: 3.5rem 1.2rem 5rem; }
  .blist-grid { grid-template-columns: 1fr; border: none; }
  .bcard { border: 1px solid var(--line) !important; border-bottom: none !important; padding: 2.4rem 1.8rem; }
  .bcard:last-child { border-bottom: 1px solid var(--line) !important; }
  .barticle { padding: 3.5rem 1.2rem 5rem; }
  .prose { font-size: 1rem; }
  .prose > p:first-child { font-size: 1.08rem; }
  .prose h2 { font-size: 1.7rem; }
  .bcta { padding: 2.2rem 1.5rem; }
  .bcta::before { left: 1.5rem; right: 1.5rem; }
  .footer-top { padding: 2.5rem 1.5rem 2rem; flex-direction: column; gap: 1.5rem; }
  .footer-cols { flex-direction: column; gap: 2rem; }
  .footer-bottom { padding: 1.3rem 1.5rem; flex-direction: column; text-align: center; gap: .6rem; }
}
@media (max-width: 420px) {
  .bnav-logo { font-size: 1.2rem; }
  .bnav-links li.hide-xs { display: none; }
}

/* ── Pages légales ───────────────────────────────────── */
.bhead-sm { padding-bottom: 4rem; }
.bhead-sm h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
.prose.legal { font-size: .98rem; }
.prose.legal h2 { font-size: 1.75rem; margin-top: 2.8rem; padding-top: 2rem; }
.prose.legal > h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose.legal > p:first-child { font-size: 1.04rem; }

/* ── Accessibilité ───────────────────────────────────── */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 1000;
  background: var(--ink); color: #fff; padding: .9rem 1.4rem;
  font-size: .8rem; letter-spacing: .08em; text-decoration: none;
  border: 1px solid var(--gold-line); transition: top .2s;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--gold-line); outline-offset: 3px; }
main:focus { outline: none; }
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--gold-line); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .bhead-orn { display: none; }
}

/* Contrastes AA */
.footer-tagline, .footer-col-title, .footer-copy, .footer-legal { color: rgba(255,255,255,.5); }
.footer-col-text, .footer-col-links a { color: rgba(255,255,255,.62); }
.bcard-read, .bback a, .bhead-meta, .bnote { color: rgba(255,255,255,.5); }
