/* ==========================================================================
   LF Tax & Consulting — feuille de style principale
   Site statique HTML/CSS, sans dépendance externe.
   ========================================================================== */

/* ---------- Polices (auto-hébergées) ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("../fonts/cormorant-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("../fonts/cormorant-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("../fonts/cormorant-500i.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --ink: #0e1a2b;          /* bleu nuit */
  --ink-2: #16263d;
  --ink-soft: #3c4a5e;
  --muted: #6b7686;
  --line: #e4e0d7;
  --line-dark: rgba(255, 255, 255, 0.12);
  --paper: #ffffff;
  --stone: #f6f3ee;        /* fond chaud */
  --stone-2: #efeae1;
  --gold: #a8844f;         /* accent laiton */
  --gold-light: #c9a86f;

  --serif: "Cormorant", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8rem);
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.75rem, 6.5vw, 5rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); font-weight: 600; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--gold); color: #fff; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--sans);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: ""; width: 2rem; height: 1px; background: currentColor;
}

.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.65; color: var(--ink-soft); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.6rem;
  font-family: var(--sans); font-size: .875rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 1rem; height: 1rem; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #8f6f3f; }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  color: #fff;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
}
.site-header.is-solid,
.site-header--solid {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}

.brand {
  display: inline-flex; align-items: center; gap: .85rem;
  text-decoration: none; color: inherit;
}
.brand__mark {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid currentColor;
  font-family: var(--serif); font-size: 1.05rem; font-weight: 600; letter-spacing: .04em;
}
.brand__text { white-space: nowrap; display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: .01em; }
.brand__tag { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }

.nav { display: flex; align-items: center; gap: 2.25rem; }
.nav__list { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  position: relative;
  font-size: .82rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; color: inherit; opacity: .85;
  padding-block: .4rem;
  white-space: nowrap;
  transition: opacity .2s;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--gold);
  transition: right .35s var(--ease);
}
.nav__list a:hover,
.nav__list a.is-active,
.nav__list a[aria-current="page"] { opacity: 1; }
.nav__list a:hover::after,
.nav__list a.is-active::after,
.nav__list a[aria-current="page"]::after { right: 0; }

.lang {
  display: flex; gap: .15rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em;
  border-left: 1px solid currentColor; padding-left: 1.5rem;
  border-color: color-mix(in srgb, currentColor 25%, transparent);
}
.lang a, .lang span { padding: .3rem .45rem; text-decoration: none; color: inherit; }
.lang span { color: var(--gold); }
.lang a { opacity: .6; }
.lang a:hover { opacity: 1; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; color: inherit; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 1.5px; margin: 6px auto;
  background: currentColor; transition: transform .35s var(--ease), opacity .2s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; position: relative; z-index: 110; }
  .nav {
    position: fixed; inset: 0; z-index: 105;
    flex-direction: column; justify-content: center; gap: 2.5rem;
    background: var(--ink); color: #fff;
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .site-header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__list { flex-direction: column; align-items: center; gap: 1.5rem; }
  .nav__list a { font-family: var(--serif); font-size: 1.9rem; text-transform: none; letter-spacing: 0; }
  .lang { border: 0; padding: 0; font-size: .9rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 920px);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 4rem) 0 clamp(4rem, 9vw, 7rem);
  color: #fff;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
}
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 70%;
  opacity: .55;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,26,43,.85) 0%, rgba(14,26,43,.35) 45%, rgba(14,26,43,.92) 100%),
    linear-gradient(90deg, rgba(14,26,43,.75) 0%, rgba(14,26,43,0) 70%);
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero h1 { color: #fff; max-width: 14ch; margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero .lead { color: rgba(255,255,255,.8); max-width: 38rem; margin-bottom: 2.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 2.5rem;
  display: flex; align-items: center; gap: .75rem;
  writing-mode: vertical-rl;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.6); text-decoration: none;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 56px; background: rgba(255,255,255,.35);
}
@media (max-width: 720px) { .hero__scroll { display: none; } }

/* ---------- Bandeau de faits ---------- */
.facts {
  background: var(--ink-2);
  color: #fff;
  border-top: 1px solid var(--line-dark);
}
.facts__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.fact {
  padding: 2.25rem 1.5rem 2.25rem 0;
  border-right: 1px solid var(--line-dark);
}
.fact + .fact { padding-left: 1.75rem; }
.fact:last-child { border-right: 0; }
.fact__value {
  display: block;
  font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 500; line-height: 1.1;
  color: var(--gold-light);
  margin-bottom: .4rem;
}
.fact__label { font-size: .85rem; color: rgba(255,255,255,.7); line-height: 1.5; }
@media (max-width: 860px) {
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .fact { padding: 1.75rem 1rem 1.75rem 0; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(3) { padding-left: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--stone { background: var(--stone); }
.section--dark { background: var(--ink); color: rgba(255,255,255,.75); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.section-head {
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.section-head h2 { margin: 0; }
.section-head--center { display: block; text-align: center; max-width: 46rem; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center h2 { margin-bottom: 1.25rem; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ---------- Cartes de services ---------- */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(2rem, 3vw, 2.75rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .6s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(14,26,43,.25); border-color: transparent; }
.card:hover::before { width: 100%; }
.card__num {
  font-family: var(--serif); font-size: 1rem; font-style: italic; color: var(--gold);
  margin-bottom: 2rem;
}
.card__icon {
  width: 48px; height: 48px; margin-bottom: 1.5rem; color: var(--ink);
}
.card h3 { margin-bottom: 1rem; }
.card p { font-size: .98rem; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Conformité fiscale : liste numérotée ---------- */
.compliance {
  display: grid; grid-template-columns: 4fr 7fr; gap: clamp(2.5rem, 7vw, 7rem);
}
.compliance__intro { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
.compliance__intro .btn { margin-top: 2rem; }
@media (max-width: 960px) {
  .compliance { grid-template-columns: 1fr; }
  .compliance__intro { position: static; }
}

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: 1px solid var(--line); }
.step {
  counter-increment: step;
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 1.6rem; font-style: italic; color: var(--gold); line-height: 1.2;
}
.step h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.step p { font-size: .98rem; }
.step ul { margin: .75rem 0 1rem; padding: 0; list-style: none; }
.step li { position: relative; padding-left: 1.5rem; margin-bottom: .4rem; font-size: .98rem; }
.step li::before {
  content: ""; position: absolute; left: 0; top: .8em; width: .6rem; height: 1px; background: var(--gold);
}
@media (max-width: 560px) { .step { grid-template-columns: 1fr; gap: .25rem; } }

/* ---------- Family Office ---------- */
.fo-intro {
  display: grid; grid-template-columns: 6fr 5fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
.fo-intro h2 { margin-bottom: 1.5rem; }
.fo-tasks {
  padding: 2.25rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
}
.fo-tasks h3 { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.25rem; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative; padding: .6rem 0 .6rem 2rem;
  border-bottom: 1px solid var(--line-dark);
  font-size: .95rem; line-height: 1.5;
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem;
  width: .8rem; height: .45rem;
  border-left: 1.5px solid var(--gold-light); border-bottom: 1.5px solid var(--gold-light);
  transform: rotate(-45deg);
}
@media (max-width: 960px) { .fo-intro { grid-template-columns: 1fr; } }

.fo-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-dark);
}
.fo-block {
  padding: clamp(2rem, 4vw, 3.25rem) clamp(0rem, 3vw, 3rem) clamp(2rem, 4vw, 3.25rem) 0;
  border-bottom: 1px solid var(--line-dark);
}
.fo-block:nth-child(odd) { border-right: 1px solid var(--line-dark); }
.fo-block:nth-child(even) { padding-left: clamp(1.5rem, 3vw, 3rem); padding-right: 0; }
.fo-block__num { font-family: var(--serif); font-style: italic; color: var(--gold-light); font-size: 1.1rem; display: block; margin-bottom: 1rem; }
.fo-block h3 { margin-bottom: 1rem; }
.fo-block p { font-size: .98rem; }
.fo-block .checklist { margin-top: 1rem; }
.fo-block .checklist li { font-size: .92rem; }
.questions { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.questions li {
  font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.4; color: #fff;
  padding: .6rem 0 .6rem 1.25rem; border-left: 1px solid var(--gold);
  margin-bottom: .6rem;
}
@media (max-width: 860px) {
  .fo-grid { grid-template-columns: 1fr; }
  .fo-block, .fo-block:nth-child(even) { padding-inline: 0; border-right: 0; }
  .fo-block:nth-child(odd) { border-right: 0; }
}

.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.tag {
  font-size: .8rem; padding: .45rem .85rem;
  border: 1px solid var(--line-dark); border-radius: 999px;
  color: rgba(255,255,255,.85);
}

/* ---------- Parcours / à propos ---------- */
.about {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start;
}
.about__quote {
  font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.3; color: var(--ink);
  font-style: italic;
  margin: 0 0 2rem;
  padding-left: 1.5rem; border-left: 2px solid var(--gold);
}
.logos {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  margin-top: 2.5rem;
}
.logos li {
  list-style: none;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 96px; padding: 1.1rem 1.25rem;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.logos strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.logos span { font-size: .78rem; color: var(--muted); }
.logos { padding: 0; }
@media (max-width: 960px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .logos { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Contact ---------- */
.contact {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--stone);
  padding-block: var(--section);
}
.contact__bg {
  position: absolute; inset: auto 0 0 0; z-index: -1;
  height: 100%;
}
.contact__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; opacity: .55; mix-blend-mode: multiply; }
.contact__inner { max-width: 46rem; margin-inline: auto; text-align: center; }
.contact .eyebrow { justify-content: center; }
.contact h2 { margin-bottom: 1.25rem; }
.contact__mail {
  display: inline-block; margin: 2rem 0 2.5rem;
  font-family: var(--serif); font-size: clamp(1.8rem, 4.5vw, 3rem); color: var(--ink);
  text-decoration: none;
  background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 100% / 100% 1px;
  transition: background-size .4s var(--ease), color .3s;
}
.contact__mail:hover { color: var(--gold); }
.contact__meta {
  display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem 2.5rem;
  font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,.6);
  padding: 4rem 0 2rem;
  font-size: .9rem;
}
.footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark);
}
.site-footer .brand { color: #fff; margin-bottom: 1.25rem; }
.site-footer h4 { color: #fff; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.25rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold-light); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 2rem; font-size: .8rem;
}
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Page CV ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(3.5rem, 8vw, 6rem)) 0 clamp(3.5rem, 7vw, 5rem);
  background: var(--stone);
  border-bottom: 1px solid var(--line);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 80%; opacity: .6; mix-blend-mode: multiply; }
.page-hero h1 { margin-bottom: .75rem; }
.page-hero .lead { max-width: 40rem; }
.breadcrumb { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

.cv {
  display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2.5rem, 7vw, 7rem);
}
.cv__aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
.cv__card {
  padding: 2rem; background: var(--stone); border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.cv__card h2 { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.cv__card ul { list-style: none; margin: 0; padding: 0; }
.cv__card li { padding: .7rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.cv__card li:last-child { border-bottom: 0; padding-bottom: 0; }
.cv__card li:first-child { padding-top: 0; }
.cv__card li strong { color: var(--ink); font-weight: 600; }
.cv__card li span { color: var(--muted); text-align: right; }
@media (max-width: 960px) {
  .cv { grid-template-columns: 1fr; }
  .cv__aside { position: static; order: 2; }
}

.cv h2.cv__title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1.5rem; }
.expertise { list-style: none; margin: 0 0 4rem; padding: 0; }
.expertise li {
  position: relative; padding: 1rem 0 1rem 2.25rem;
  border-bottom: 1px solid var(--line);
}
.expertise li::before {
  content: ""; position: absolute; left: 0; top: 1.75rem; width: 1.1rem; height: 1px; background: var(--gold);
}

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 7.5rem; top: .5rem; bottom: 2.75rem; width: 1px; background: var(--line);
}
.timeline li {
  position: relative;
  display: grid; grid-template-columns: 7.5rem 1fr; gap: 2.5rem;
  padding: 0 0 2.25rem;
}
.timeline li::before {
  content: ""; position: absolute; left: calc(7.5rem - 5px); top: .55rem;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--gold);
}
.timeline li.is-current::before { background: var(--gold); }
.timeline__date { font-size: .85rem; font-weight: 600; color: var(--gold); letter-spacing: .03em; padding-top: .15rem; }
.timeline__org { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); line-height: 1.2; display: block; }
.timeline__role { font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 560px) {
  .timeline::before { left: 5px; }
  .timeline li { grid-template-columns: 1fr; gap: .25rem; padding-left: 2rem; }
  .timeline li::before { left: 0; }
}

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Sans JavaScript, tout reste visible */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Impression ---------- */
@media print {
  .site-header, .hero__scroll, .nav-toggle, .contact__bg, .page-hero__bg, .hero__bg { display: none !important; }
  .hero, .section--dark, .facts, .site-footer { background: #fff !important; color: #000 !important; }
  .hero h1, .section--dark h2, .section--dark h3 { color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Page 404 ---------- */
.page-hero--404 { min-height: 80vh; display: flex; align-items: center; border: 0; }
.page-hero--404 .hero__actions { margin-top: 2rem; }

/* ---------- Cartes cliquables (pages de services) ---------- */
.cards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .cards--4 { grid-template-columns: 1fr; } }
.card--link h2, .card--link h3 { font-size: clamp(1.35rem, 2vw, 1.55rem); }
.card__link { color: inherit; text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__link:focus-visible { outline: none; }
.card--link:focus-within { outline: 2px solid var(--gold); outline-offset: 3px; }
.card__more {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: auto; padding-top: 1.25rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold);
}
.card__more svg { width: 1rem; height: 1rem; transition: transform .3s var(--ease); }
.card--link:hover .card__more svg { transform: translateX(4px); }

/* Titres du pied de page (h2 pour une hiérarchie correcte) */
.site-footer .footer__title {
  font-family: var(--sans); color: #fff; font-size: .75rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.25rem;
}
