/* Polices auto-hébergées (SIL Open Font License) */
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Cormorant Garamond";font-style:italic;font-weight:500;font-display:swap;src:url(../fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2")}
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/manrope-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/manrope-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/manrope-latin-600-normal.woff2) format("woff2")}

/* =========================================================
   LEVI EGEA & Associés — Feuille de style principale
   Palette : bordeaux / ivoire / or discret
   ========================================================= */

:root {
  --bordeaux-950: #2a0617;
  --bordeaux-900: #3d0a22;
  --bordeaux-800: #530e2f;
  --bordeaux: #6e1240;
  --prune: #7b0046;
  --prune-soft: #9a2f69;
  --gold: #b8955a;
  --gold-soft: #d9c39a;
  --ivory: #faf7f2;
  --sand: #f1ebe2;
  --line: #e4dbcf;
  --ink: #1f1a1c;
  --text: #3b3336;
  --muted: #6f6569;
  --white: #ffffff;

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Manrope", "Segoe UI", Arial, sans-serif;

  --radius: 4px;
  --shadow: 0 18px 40px -22px rgba(42, 6, 23, .45);
  --container: 1180px;
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--prune); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bordeaux-800); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
p { margin: 0 0 1.1em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--prune); color: #fff; padding: .7rem 1rem; z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Surtitre & ornements ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--sans);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--prune);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.on-dark .eyebrow, .eyebrow.light { color: var(--gold-soft); }

.lead { font-size: 1.15rem; color: var(--muted); }
.on-dark .lead { color: rgba(255,255,255,.82); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem;
  font-family: var(--sans); font-size: .9rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn-primary { background: var(--prune); color: #fff; }
.btn-primary:hover { background: var(--bordeaux-800); color: #fff; transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--bordeaux-950); }
.btn-gold:hover { background: var(--gold-soft); color: var(--bordeaux-950); }
.btn-outline { border-color: var(--prune); color: var(--prune); background: transparent; }
.btn-outline:hover { background: var(--prune); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

.link-arrow {
  font-weight: 600; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; display: inline-flex; gap: .5rem; align-items: center;
}
.link-arrow::after { content: "→"; transition: transform .25s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Bandeau supérieur ---------- */
.topbar {
  background: var(--bordeaux-950);
  color: rgba(255,255,255,.78);
  font-size: .82rem;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; min-height: 40px; flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,.9); text-decoration: none; }
.topbar a:hover { color: var(--gold-soft); }
.topbar-items { display: flex; gap: 1.6rem; flex-wrap: wrap; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,242,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 46px; height: 46px; flex: none;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--prune);
  letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--ink); }
.brand-tag { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.6rem; }
.main-nav a {
  color: var(--ink); text-decoration: none;
  font-size: .9rem; font-weight: 500; letter-spacing: .02em;
  padding: .4rem 0; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1px; background: var(--prune); transition: right .3s;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.main-nav a[aria-current="page"] { color: var(--prune); }
.main-nav .btn { padding: .75rem 1.2rem; color: #fff; font-size: .8rem; }
.main-nav .btn::after { display: none; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  width: 46px; height: 46px; border-radius: var(--radius); cursor: pointer; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 1.5px; background: var(--ink);
  margin: 0 auto; position: relative; transition: transform .3s, background .3s;
}
.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; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Héros (accueil) ---------- */
.hero {
  position: relative;
  background: var(--bordeaux-900);
  color: #fff;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  min-height: min(82vh, 720px);
}
.hero-content {
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.25rem, 5vw, 4rem) clamp(3.5rem, 8vw, 6rem) 0;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
}
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--gold-soft); font-weight: 500; }
.hero .lead { max-width: 560px; margin-bottom: 2.2rem; }
.hero-media { position: relative; }
.hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bordeaux-900) 0%, rgba(61,10,34,.35) 35%, rgba(61,10,34,.1) 100%);
}
.hero-wrap { position: relative; }
.hero-wrap::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 50vw;
  background: var(--bordeaux-900); z-index: 0;
}

.hero-facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 3rem; padding-top: 1.8rem; gap: 1.5rem; max-width: 600px;
}
.hero-facts strong {
  display: block; font-family: var(--serif); font-size: 2.3rem; font-weight: 500;
  color: var(--gold-soft); line-height: 1;
}
.hero-facts span { font-size: .82rem; color: rgba(255,255,255,.72); letter-spacing: .04em; }

/* ---------- En-tête de page intérieure ---------- */
.page-hero {
  position: relative; color: #fff;
  background: var(--bordeaux-900);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
}
.page-hero picture, .page-hero .bg { position: absolute; inset: 0; }
.page-hero picture img, .page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(42,6,23,.96) 0%, rgba(61,10,34,.85) 55%, rgba(83,14,47,.6) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 860px; }
.page-hero .lead { max-width: 700px; margin: 0; }

.breadcrumb { font-size: .82rem; margin-bottom: 1.4rem; color: rgba(255,255,255,.7); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--gold-soft); }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-soft); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-sm { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--bordeaux-900); color: rgba(255,255,255,.85); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 3.2rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.split-media.wide img { aspect-ratio: 4/3; }
.split-media::before {
  content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1px solid var(--gold); z-index: -1; border-radius: var(--radius);
}
.split-media-wrap { position: relative; z-index: 0; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.value { border-top: 1px solid var(--gold); padding-top: 1rem; }
.value h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.value p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---------- Cartes des pôles ---------- */
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.practice-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.practice-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); color: inherit; }
.practice-card figure { margin: 0; aspect-ratio: 16/10; overflow: hidden; }
.practice-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.practice-card:hover figure img { transform: scale(1.04); }
.practice-body { padding: 1.7rem 1.7rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.practice-body .num { font-family: var(--serif); color: var(--gold); font-size: 1rem; letter-spacing: .1em; }
.practice-body h3 { margin: .3rem 0 .6rem; }
.practice-body p { font-size: .95rem; color: var(--muted); flex: 1; }
.practice-body .link-arrow { color: var(--prune); }

/* ---------- Étapes ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid rgba(255,255,255,.2); padding-top: 1.4rem; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 2.4rem; color: var(--gold-soft); display: block; line-height: 1; margin-bottom: .8rem;
}
.steps h3 { font-size: 1.3rem; }
.steps p { font-size: .92rem; margin: 0; }
.section:not(.section-dark) .steps li { border-top-color: var(--line); }
.section:not(.section-dark) .steps li::before { color: var(--gold); }
.section:not(.section-dark) .steps p { color: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.timeline li {
  counter-increment: step; position: relative;
  padding: 0 0 2.6rem 5rem; border-left: 1px solid var(--line); margin-left: 1.6rem;
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: -1.6rem; top: -.2rem;
  width: 3.2rem; height: 3.2rem; display: grid; place-items: center;
  background: var(--ivory); border: 1px solid var(--gold); border-radius: 50%;
  font-family: var(--serif); font-size: 1.25rem; color: var(--prune);
}
.timeline h2, .timeline h3 { font-size: 1.6rem; margin-bottom: .4rem; }

/* ---------- Équipe ---------- */
.team-group + .team-group { margin-top: 4.5rem; }
.team-group > h2 {
  font-size: 1.9rem; display: flex; align-items: center; gap: 1.2rem; margin-bottom: 2rem;
}
.team-group > h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.8rem; }
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.team-card .photo { aspect-ratio: 4/5; background: var(--sand); overflow: hidden; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(.92); transition: transform .6s; }
.team-card:hover .photo img { transform: scale(1.03); }
.team-card .monogram {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--bordeaux) 0%, var(--bordeaux-900) 100%);
  font-family: var(--serif); font-size: 3.4rem; color: var(--gold-soft); letter-spacing: .06em;
}
.team-card .info { padding: 1.3rem 1.4rem 1.5rem; }
.team-card h3 { font-size: 1.35rem; margin-bottom: .2rem; }
.team-card .role { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: .5rem; }
.team-card .domain { font-size: .93rem; color: var(--muted); margin-bottom: .7rem; }
.team-card a { font-size: .88rem; word-break: break-all; }

.mini-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.mini-member { display: flex; gap: 1rem; align-items: center; background: var(--white); border: 1px solid var(--line); padding: .8rem; border-radius: var(--radius); }
.mini-member img, .mini-member .monogram { width: 64px; height: 64px; object-fit: cover; object-position: center top; border-radius: 50%; flex: none; }
.mini-member .monogram { display: grid; place-items: center; background: var(--bordeaux); color: var(--gold-soft); font-family: var(--serif); font-size: 1.3rem; }
.mini-member strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); font-weight: 600; line-height: 1.2; }
.mini-member span { font-size: .82rem; color: var(--muted); }

/* ---------- Contenu éditorial ---------- */
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.4em; }
.prose ul li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 1px; background: var(--gold); }

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.aside-card {
  position: sticky; top: calc(var(--header-h) + 1.5rem);
  background: var(--bordeaux-900); color: rgba(255,255,255,.85);
  padding: 2rem; border-radius: var(--radius);
}
.aside-card h2, .aside-card h3 { color: #fff; font-size: 1.6rem; }
.aside-card p { font-size: .95rem; }
.aside-card a:not(.btn) { color: var(--gold-soft); }
.aside-card .btn { width: 100%; margin-top: .6rem; }
.aside-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.15); margin: 1.5rem 0; }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links li { border-bottom: 1px solid rgba(255,255,255,.12); }
.aside-links a { display: block; padding: .6rem 0; text-decoration: none; font-size: .95rem; }

.callout {
  border-left: 2px solid var(--gold); background: var(--white);
  padding: 1.4rem 1.6rem; margin: 2rem 0; border-radius: 0 var(--radius) var(--radius) 0;
}
.callout p:last-child { margin: 0; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.3rem 2.5rem 1.3rem 0; position: relative;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--prune); transition: transform .3s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 1.4rem; color: var(--muted); }

/* ---------- Cartes de contact ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.info-card { background: var(--white); border: 1px solid var(--line); padding: 2rem; border-radius: var(--radius); }
.info-card h2, .info-card h3 { font-size: 1.5rem; }
.info-card p { margin-bottom: .5rem; }
.info-card .icon { width: 44px; height: 44px; border: 1px solid var(--gold); display: grid; place-items: center; margin-bottom: 1.2rem; color: var(--prune); }
.info-card .icon svg { width: 20px; height: 20px; }

.directory { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); }
.directory th, .directory td { text-align: left; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.directory th { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--sand); }
.directory td:first-child { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); font-weight: 600; }

/* ---------- Bandeau d'appel ---------- */
.cta-band {
  background: linear-gradient(110deg, var(--bordeaux-950) 0%, var(--bordeaux) 100%);
  color: #fff; padding: clamp(3.5rem, 7vw, 5rem) 0;
}
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .3rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,.78); }

/* ---------- Formulaire ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius); }
.form-card fieldset { border: 0; padding: 0; margin: 0 0 2.4rem; }
.form-card legend {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--ink);
  padding: 0; margin-bottom: 1.2rem; width: 100%; border-bottom: 1px solid var(--line); padding-bottom: .6rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .03em; color: var(--ink); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink);
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .8rem .95rem; transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--prune); background: #fff; }
.field textarea { min-height: 170px; resize: vertical; }
.field input[readonly] { color: var(--muted); }
.form-note { font-size: .85rem; color: var(--muted); }
.form-success { display: none; margin-top: 1.5rem; }
.form-success.show { display: block; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--bordeaux-950); color: rgba(255,255,255,.72); font-size: .93rem; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; padding: 4.5rem 0 3rem; }
.site-footer h2 { color: #fff; font-size: 1.25rem; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer address { font-style: normal; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-mark { color: var(--gold-soft); }
.site-footer .brand-tag { color: rgba(255,255,255,.55); }
.footer-about { margin-top: 1.3rem; max-width: 330px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; font-size: .82rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- 404 ---------- */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 5rem 0; }
.error-page .code { font-family: var(--serif); font-size: 7rem; color: var(--gold); line-height: 1; }

/* ---------- Animation d'apparition ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
  .reveal.visible { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav ul { gap: 1.1rem; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--ivory);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s; overflow-y: auto;
    border-top: 1px solid var(--line);
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.25rem 2rem; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: 1rem 0; font-size: 1.05rem; }
  .main-nav a::after { display: none; }
  .main-nav li:last-child { border: 0; padding-top: 1.2rem; }
  .main-nav .btn { width: 100%; padding: 1rem; font-size: .85rem; }
  .nav-open { overflow: hidden; }

  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-wrap::before { display: none; }
  .hero-media { height: 300px; order: -1; }
  .hero-media::after { background: linear-gradient(0deg, var(--bordeaux-900) 0%, rgba(61,10,34,.2) 60%); }
  .hero-content { padding: 2.5rem 0 3.5rem; }

  .split, .layout-aside { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .split-media { max-width: 520px; }
  .aside-card { position: static; }
  .practice-grid, .info-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar .hide-sm { display: none; }
  .brand-name { font-size: 1.2rem; }
  .brand-tag { letter-spacing: .16em; }
  .brand-mark { width: 40px; height: 40px; font-size: 1rem; }
  .practice-grid, .info-grid, .values, .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); gap: .8rem; }
  .hero-facts strong { font-size: 1.8rem; }
  .footer-main { grid-template-columns: 1fr; }
  .split-media::before { inset: .8rem -.8rem -.8rem .8rem; }
  .timeline li { padding-left: 3.6rem; margin-left: 1.2rem; }
  .timeline li::before { left: -1.2rem; width: 2.4rem; height: 2.4rem; font-size: 1rem; }
  .directory thead { display: none; }
  .directory tr { display: block; border-bottom: 1px solid var(--line); padding: .8rem 0; }
  .directory td { display: block; border: 0; padding: .2rem 1.2rem; }
}

@media print {
  .topbar, .site-header, .site-footer, .cta-band { display: none; }
}

mark { background: #fbe9c6; color: var(--bordeaux-800); padding: 0 .3em; }

@media (min-width: 961px) {
  .hero-media { margin-right: calc((100vw - min(100vw - 2.5rem, var(--container))) / -2); }
}

.page-hero .lead { color: rgba(255,255,255,.84); }
.team-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.team-duo .team-group + .team-group { margin-top: 0; }
@media (max-width: 760px) { .team-duo { grid-template-columns: 1fr; } .team-duo .team-group + .team-group { margin-top: 4.5rem; } }
.team-duo + .team-group { margin-top: 4.5rem; }
