/* =========================================================
   Abdelfattah Louzaoui — feuille de style principale
   Charte : bleu nuit & or (filiation Cabinet EVEIL CONSEIL)
   ========================================================= */

:root {
  --navy: #0f1e33;
  --navy-2: #172a47;
  --navy-3: #22385c;
  --gold: #b48a4e;
  --gold-light: #d8bf95;
  --gold-pale: #f3ead9;
  --ink: #1a2232;
  --muted: #5a6478;
  --paper: #faf8f4;
  --white: #ffffff;
  --line: #e7e1d6;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 30, 51, .05), 0 12px 32px -12px rgba(15, 30, 51, .18);
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--navy-3); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow { max-width: 760px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Logo signature ---------- */
.signature {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--navy);
  line-height: 1;
}
.signature__name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.signature__name em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.signature__title {
  margin-top: 6px;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.signature__title::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}
.signature--light { color: #fff; }
.signature--light .signature__title { color: var(--gold-light); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--gold);
  transition: right .25s ease;
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--navy); }
.nav .btn { padding: 10px 18px; }
.nav a.btn--primary,
.nav a.btn--primary[aria-current="page"] { color: #fff; }
.nav a.btn--primary:hover { color: #fff; }
.nav .btn::after { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 44px; height: 44px;
  cursor: pointer;
  color: var(--navy);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: currentColor;
  margin: 0 auto; position: relative; transition: transform .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 14px; text-align: center; border-bottom: 0; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-3); color: #fff; }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #9c763f; color: #fff; }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--navy); }

/* ---------- Typo utilitaires ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: #d9dfea; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 9vw, 120px); position: relative; }
.hero .container {
  display: grid;
  grid-template-columns: 1.3fr .85fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-card {
  position: relative;
  background: var(--navy);
  color: #fff;
  border-radius: 22px;
  padding: clamp(32px, 4vw, 48px);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-card::before {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid rgba(216, 191, 149, .35);
  border-radius: 14px;
  pointer-events: none;
}
.hero-card__monogram {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(4.5rem, 9vw, 7rem);
  line-height: .9;
  color: var(--gold-light);
  margin-bottom: 26px;
}
.hero-card__big {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 4.4rem);
  line-height: 1;
  color: #fff;
}
.hero-card__big sup { color: var(--gold-light); font-size: .5em; vertical-align: super; }
.hero-card p { color: #c7cfdd; margin: 10px 0 26px; max-width: 280px; }
.hero-card__meta {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 18px;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero-photo {
  position: relative;
  margin: 0;
  padding: 0 0 28px 28px;
}
.hero-photo::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 78%; height: 78%;
  border: 1px solid var(--gold);
  border-radius: 22px;
  pointer-events: none;
}
.hero-photo img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 8%;
  max-height: min(72vh, 600px);
  border-radius: 22px;
  box-shadow: var(--shadow);
  background: var(--navy);
}
.hero-photo__badge {
  position: absolute;
  left: 0;
  bottom: 56px;
  background: var(--navy);
  color: #c7cfdd;
  border-radius: 14px;
  padding: 18px 22px;
  max-width: 220px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(216, 191, 149, .35);
}
.hero-photo__badge strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 1;
  color: #fff;
  margin-bottom: 6px;
}
.hero-photo__badge sup { color: var(--gold-light); font-size: .5em; }
.hero-photo__badge span { font-size: .85rem; line-height: 1.4; display: block; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-photo { max-width: 460px; }
}
@media (max-width: 560px) {
  .hero-photo { padding: 0 0 20px 20px; }
  .hero-photo__badge { bottom: 36px; padding: 14px 16px; max-width: 180px; }
  .hero-photo__badge strong { font-size: 1.9rem; }
}

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-light); }
.card__num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 14px;
  display: block;
}
.card h3 { margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.card li { padding: 8px 0 8px 22px; position: relative; border-top: 1px solid var(--line); font-size: .95rem; }
.card li::before { content: ""; position: absolute; left: 0; top: 18px; width: 10px; height: 1px; background: var(--gold); }

.audience {
  padding: 30px 28px;
  border-top: 2px solid var(--gold);
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
}
.audience h3 { font-size: 1.2rem; }
.audience p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- Articles ---------- */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-light); color: inherit; }
.post-card__tag {
  font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.post-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.post-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.post-card__meta { font-size: .85rem; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; }
.post-card__more { color: var(--navy); font-weight: 600; }

/* ---------- Bloc cabinet ---------- */
.cabinet {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 48px);
}
.cabinet__mark {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 1.9rem;
  letter-spacing: .04em;
}
.cabinet h3 { font-size: 1.6rem; margin-bottom: 8px; }
.cabinet p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .cabinet { grid-template-columns: 1fr; } }

/* ---------- Bandeau "prochainement" ---------- */
.upcoming {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.upcoming__item {
  border: 1px dashed var(--gold-light);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--gold-pale);
}
.upcoming__item .badge { margin-bottom: 14px; }
.upcoming__item h3 { margin-bottom: 8px; }
.upcoming__item p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .upcoming { grid-template-columns: 1fr; } }

.badge {
  display: inline-block;
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  background: var(--navy); color: var(--gold-light);
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--navy);
  border-radius: 24px;
  padding: clamp(36px, 6vw, 72px);
  color: #d4dbe7;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.newsletter::after {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 340px; height: 340px; border-radius: 50%;
  border: 1px solid rgba(216, 191, 149, .22);
  pointer-events: none;
}
.newsletter h2 { color: #fff; }
.newsletter h2 em { color: var(--gold-light); font-weight: 400; }
.newsletter p { margin: 0; }
@media (max-width: 900px) { .newsletter { grid-template-columns: 1fr; } }

.subscribe { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.subscribe__row { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe input[type="email"],
.subscribe input[type="text"],
.subscribe select {
  flex: 1 1 220px;
  min-width: 0;
  padding: 15px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.07);
  color: #fff;
  font: inherit;
  font-size: .97rem;
}
.subscribe select option { color: var(--ink); }
.subscribe input::placeholder { color: #9aa6ba; }
.subscribe small { color: #9aa6ba; font-size: .8rem; line-height: 1.5; }
.subscribe small a { color: var(--gold-light); }

/* ---------- Formulaires (clair) ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font: inherit;
  font-size: .97rem;
  color: var(--ink);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(180,138,78,.15); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--navy); }

.form-feedback {
  display: none;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: .92rem;
  background: var(--gold-pale);
  color: var(--navy);
  border: 1px solid var(--gold-light);
}
.form-feedback.is-visible { display: block; }

/* ---------- En-tête de page intérieure ---------- */
.page-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 860px; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }

/* ---------- À propos ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.portrait-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 20%, rgba(216,191,149,.25), transparent 55%),
    var(--navy);
  display: grid;
  place-items: center;
  color: var(--gold-light);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(4rem, 10vw, 7rem);
  position: relative;
  position: sticky;
  top: 110px;
}
.portrait-placeholder span {
  position: absolute; bottom: 18px; left: 0; right: 0; text-align: center;
  font-family: var(--sans); font-style: normal; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #8e9ab0;
}
@media (max-width: 900px) { .portrait-placeholder { position: relative; top: 0; max-width: 360px; } }

.portrait { margin: 0; position: sticky; top: 110px; }
.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 22px;
  box-shadow: var(--shadow);
  background: var(--navy);
}
.portrait figcaption {
  margin-top: 16px;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy);
}
.portrait figcaption span {
  display: block;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
@media (max-width: 900px) { .portrait { position: relative; top: 0; max-width: 420px; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 36px 0; }
.stats div { background: var(--white); padding: 24px 20px; }
.stats strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--navy); line-height: 1.1; }
.stats span { font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }

.values { display: grid; gap: 0; margin-top: 12px; }
.values div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.values div:last-child { border-bottom: 1px solid var(--line); }
.values strong { font-family: var(--serif); font-weight: 500; color: var(--navy); font-size: 1.15rem; }
.values p { margin: 0; color: var(--muted); }
@media (max-width: 640px) { .values div { grid-template-columns: 1fr; gap: 6px; } }

.to-complete {
  border: 1px dashed var(--gold);
  background: var(--gold-pale);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: .9rem;
  color: #7a5a2b;
  margin: 0 0 1.1em;
}
.to-complete::before { content: "À compléter — "; font-weight: 700; }

/* ---------- Expertise détaillée ---------- */
.expertise-block {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
}
.expertise-block:first-of-type { border-top: 0; padding-top: 0; }
.expertise-block__num { font-family: var(--serif); font-style: italic; font-size: 3.4rem; line-height: 1; color: var(--gold); margin-bottom: 10px; }
.expertise-block h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.checklist li { padding: 12px 0 12px 28px; border-top: 1px solid var(--line); position: relative; font-size: .97rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
@media (max-width: 900px) {
  .expertise-block { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
}

/* ---------- Article ---------- */
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; color: var(--muted); margin-top: 18px; }
.prose { font-size: 1.08rem; line-height: 1.8; }
.prose h2 { font-size: 1.7rem; margin-top: 2em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--navy); }
.callout {
  border-left: 3px solid var(--gold);
  background: var(--white);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.8em 0;
  font-size: 1rem;
}
.callout p:last-child { margin: 0; }
.disclaimer { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 3em; }

.author-box {
  display: flex; gap: 20px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; margin-top: 36px;
}
.author-box__mark {
  flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%;
  background: var(--navy); color: var(--gold-light);
  display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 1.5rem;
}
.author-box p { margin: 0; font-size: .95rem; color: var(--muted); }
.author-box strong { color: var(--navy); font-family: var(--serif); font-weight: 500; font-size: 1.1rem; }

/* ---------- Filtres blog ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter {
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  padding: 9px 18px; border-radius: 999px; font: inherit; font-size: .9rem; cursor: pointer;
}
.filter.is-active, .filter:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside { background: var(--navy); color: #c9d1de; border-radius: 22px; padding: 36px; }
.contact-aside h3 { color: #fff; }
.contact-aside dl { margin: 22px 0 0; }
.contact-aside dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-top: 18px; }
.contact-aside dd { margin: 4px 0 0; color: #fff; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy); color: #9aa6ba; padding: 72px 0 28px; font-size: .93rem; }
.site-footer .container > .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-footer h4 {
  font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #c9d1de; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer p { margin: 18px 0 0; max-width: 320px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .84rem; }
@media (max-width: 900px) { .site-footer .container > .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .container > .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .post-card { transition: none; }
}

.author-box__photo {
  flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; object-position: center 12%;
  border: 2px solid var(--gold-light);
}
