/* Legalis & Partners — cabinet d'avocats (maquette CroisierWeb) */
:root {
    --wine: #3d0d15; --wine2: #5a1621; --gold: #c8a45c; --gold-l: #e2c97e;
    --ivory: #f6f1e8; --paper: #fbf8f2; --ink: #1d1a17; --muted: #6c6259; --line: rgba(29, 26, 23, .12);
    --serif: "Cormorant", Georgia, serif; --sans: "Jost", system-ui, sans-serif;
    --mk-accent: #5a1621; --mk-accent-fg: #f6f1e8; --mk-surface: #fbf8f2; --mk-fg: #1d1a17; --mk-radius: 2px; --mk-font: "Jost", system-ui, sans-serif;
    --mk-back: #7f1d1d; --mk-back-fg: #e2c97e;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.04rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
svg { display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--gold-l); }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 44px); margin-inline: auto; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; font: 500 .82rem var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.btn-gold { background: var(--gold); color: var(--wine); }
.btn-gold:hover { background: var(--gold-l); }
.btn-line { border-color: rgba(226, 201, 126, .45); color: var(--ivory); }
.btn-line:hover { border-color: var(--gold-l); color: var(--gold-l); }
.btn-wine { background: var(--wine); color: var(--ivory); }
.btn-wine:hover { background: var(--wine2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-gold { display: inline-block; color: var(--wine2); font: 500 .82rem var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 4px; }

.kicker { display: flex; align-items: center; gap: 14px; font: 500 .78rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 26px; }
.kicker.dark { color: var(--wine2); }
.rule { width: 44px; height: 1px; background: currentColor; }

/* En-tête */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--ivory); transition: background .4s, color .4s, box-shadow .4s; }
.site-header.is-scrolled, .site-header.solid { background: var(--wine); box-shadow: 0 1px 0 rgba(200, 164, 92, .25); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 88px; transition: height .4s; }
.is-scrolled .header-inner { height: 72px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.monogram { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border: 1px solid var(--gold); font: 600 1.05rem var(--serif); color: var(--gold-l); letter-spacing: .02em; white-space: nowrap; flex: none; }
.monogram i { font-style: italic; font-size: .8em; margin: 0 1px; }
.brand-text strong { display: block; font: 600 1.4rem/1 var(--serif); letter-spacing: .01em; }
.brand-text small { display: block; margin-top: 5px; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; opacity: .7; }
.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.main-nav > a { position: relative; font-size: .88rem; letter-spacing: .06em; text-decoration: none; padding: 6px 0; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.main-nav > a:hover::after, .main-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { padding: 10px 20px !important; border: 1px solid var(--gold); color: var(--gold-l); transition: background .3s, color .3s; }
.nav-cta:hover, .nav-cta[aria-current="page"] { background: var(--gold); color: var(--wine); }
.lang-switcher { display: flex; gap: 8px; font-size: .74rem; letter-spacing: .1em; }
.lang-switcher a { text-decoration: none; opacity: .55; }
.lang-switcher a.active { opacity: 1; color: var(--gold-l); }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid rgba(200, 164, 92, .5); background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--gold-l); transition: transform .3s; }
.nav-toggle span:first-child { top: 19px; } .nav-toggle span:last-child { top: 26px; }
.mk-nav-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.mk-nav-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 150px 0 0; color: var(--ivory); background: radial-gradient(ellipse at 75% 30%, #6b1b28 0%, transparent 55%), linear-gradient(160deg, #4a1019 0%, var(--wine) 45%, #220609 100%); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 120px); pointer-events: none; }
.hero-art { position: absolute; right: max(2vw, calc(50% - 640px)); top: 50%; width: min(36vw, 440px); color: var(--gold); opacity: .35; transform: translateY(-50%); }
.hero-art svg { width: 100%; height: auto; }
.hero-inner { position: relative; z-index: 1; max-width: 1180px; }
.hero h1 { font-size: clamp(2.9rem, 7vw, 6rem); font-weight: 500; max-width: 900px; margin-bottom: 28px; }
.hero-sub { max-width: 580px; font-size: 1.1rem; color: rgba(246, 241, 232, .78); margin-bottom: 38px; }
.figures { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(60px, 9vh, 110px); border-top: 1px solid rgba(200, 164, 92, .3); }
.figures div { padding: 30px 24px 36px 0; }
.figures div + div { padding-left: 24px; border-left: 1px solid rgba(200, 164, 92, .2); }
.fig-n { font: 500 clamp(2.2rem, 4vw, 3.2rem)/1 var(--serif); color: var(--gold-l); margin-bottom: 8px; }
.figures p:last-child { margin: 0; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }

/* Sections */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-ivory { background: var(--ivory); }
.section-head { max-width: 720px; margin-bottom: 60px; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head h2, .approach h2 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); font-weight: 500; }

.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.exp-card { position: relative; padding: 44px 36px 50px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background .45s, color .45s; }
.exp-card:hover { background: var(--wine); color: var(--ivory); }
.exp-card:hover p { color: rgba(246, 241, 232, .75); }
.roman { display: block; font: italic 500 1.5rem var(--serif); color: var(--gold); margin-bottom: 40px; }
.exp-card h3 { font-size: 1.85rem; }
.exp-card p { color: var(--muted); margin: 0; transition: color .45s; }
.more { position: absolute; right: 30px; top: 40px; color: var(--gold); font-size: 1.2rem; transition: transform .35s; }
.exp-card:hover .more { transform: translateX(6px); }

.approach { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.approach .muted { max-width: 460px; margin-bottom: 28px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 30px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li > span { font: italic 500 2.2rem/1 var(--serif); color: var(--gold); }
.steps h3 { font-size: 1.7rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); }

.quote-band { padding: clamp(80px, 11vw, 130px) 0; background: var(--wine); color: var(--ivory); text-align: center; position: relative; overflow: hidden; }
.quote-band::before { content: "§"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 500 32rem/1 var(--serif); color: rgba(200, 164, 92, .06); pointer-events: none; }
.quote-band blockquote { position: relative; max-width: 900px; margin: 0 auto 24px; font: italic 500 clamp(1.7rem, 3.6vw, 2.8rem)/1.3 var(--serif); }
.quote-by { position: relative; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); margin: 0; }

.pub-list { border-top: 1px solid var(--line); }
.pub-row { position: relative; display: grid; grid-template-columns: 160px 200px 1fr 40px; gap: 24px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .35s, background .35s; }
.pub-row:hover { background: var(--ivory); padding-inline: 20px; }
.pub-row time { font-size: .86rem; color: var(--muted); }
.pub-cat { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wine2); }
.pub-row h3 { font-size: 1.6rem; margin: 0; }
.pub-row .more { position: static; }

/* Page hero */
.page-hero { position: relative; padding: 190px 0 90px; color: var(--ivory); background: radial-gradient(ellipse at 80% 20%, #6b1b28, transparent 60%), linear-gradient(160deg, #4a1019, var(--wine) 60%, #220609); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 120px); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 500; }
.page-hero .hero-sub { margin: 0; }

.exp-list { display: grid; }
.exp-row { display: grid; grid-template-columns: 110px 1fr minmax(240px, .7fr); gap: 40px; padding: 50px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.exp-row:last-child { border-bottom: 1px solid var(--line); }
.roman.big { font-size: 3.4rem; line-height: 1; margin: 0; }
.exp-row h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.exp-items { list-style: none; margin: 0; padding: 0; }
.exp-items li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: .96rem; }
.exp-items li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 1px; background: var(--gold); }

.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 7vw, 100px); }
.about-body p { font-size: 1.15rem; }
.dropcap::first-letter { float: left; font: 500 5.2rem/.8 var(--serif); color: var(--wine2); margin: 8px 12px 0 0; }
.facts { margin: 0; border-top: 2px solid var(--wine); }
.facts div { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font: 600 1.2rem var(--serif); text-align: right; }

.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.portrait { position: relative; aspect-ratio: 3 / 4; margin-bottom: 18px; overflow: hidden; display: grid; place-items: end start; padding: 16px; background: linear-gradient(170deg, #5a1621, #2a070d); }
.portrait::before { content: ""; position: absolute; left: 50%; top: 20%; width: 40%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: linear-gradient(160deg, rgba(226, 201, 126, .35), rgba(226, 201, 126, .1)); box-shadow: 0 120px 0 46px rgba(226, 201, 126, .12); }
.portrait span { position: relative; font: italic 500 1.6rem var(--serif); color: var(--gold-l); }
.t1 { background: linear-gradient(170deg, #3a2a20, #15100c); } .t2 { background: linear-gradient(170deg, #263238, #0e1417); } .t3 { background: linear-gradient(170deg, #4a3a2a, #1c140d); } .t4 { background: linear-gradient(170deg, #3d0d15, #160307); }
.member h3 { font-size: 1.35rem; margin-bottom: 2px; }
.role { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wine2); margin-bottom: 4px; }
.member .muted { font-size: .92rem; }

.pub-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.pub-cover { display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: 22px; background: var(--wine); position: relative; }
.pub-cover::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(200, 164, 92, .4); }
.pub-cover span { font: italic 500 4rem var(--serif); color: var(--gold-l); }
.pub-cover.c1 { background: #263238; } .pub-cover.c2 { background: #3a2a20; }
.pub-meta { font-size: .86rem; color: var(--muted); margin-bottom: 10px; }
.pub-card h2 { font-size: 1.7rem; }
.fictif { margin-top: 50px; font-size: .86rem; color: var(--muted); font-style: italic; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.f { display: block; margin-bottom: 22px; }
.f > span { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.f input, .f select, .f textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(29, 26, 23, .3); border-radius: 0; background: transparent; font: inherit; color: var(--ink); transition: border-color .3s; }
.f select { appearance: none; background: linear-gradient(45deg, transparent 50%, var(--gold) 50%) right 6px center / 6px 6px no-repeat, transparent; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-bottom-color: var(--wine2); }
.f textarea { resize: vertical; }
.secret { display: flex; gap: 10px; align-items: center; margin-top: 22px; font-size: .88rem; color: var(--muted); }
.secret svg { flex: none; color: var(--gold); }
.contact-side { display: grid; gap: 30px; }
.side-block { padding-top: 22px; border-top: 2px solid var(--wine); }
.side-block a { text-decoration: none; }
.map-art { position: relative; background: var(--wine); padding: 0 0 18px; }
.map-art svg { width: 100%; height: auto; }
.map-art span { display: block; padding: 0 20px; color: var(--gold-l); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }

/* Bandeau CTA + pied de page */
.cta-band { background: var(--ivory); padding: 70px 0; border-top: 1px solid var(--line); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-title { font: 500 clamp(1.9rem, 3.6vw, 2.8rem)/1.1 var(--serif); margin: 0; }
.cta-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.cta-tel { font: 600 1.3rem var(--serif); text-decoration: none; color: var(--wine2); }
.site-footer { background: #1f070b; color: rgba(246, 241, 232, .75); padding: 80px 0 30px; font-size: .95rem; }
.site-footer .brand { color: var(--ivory); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-h { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--gold-l); }
.footer-nav { display: grid; gap: 6px; align-content: start; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(200, 164, 92, .2); font-size: .84rem; }
.footer-bottom p { margin: 0; }

.mk-legal { padding-top: 140px; }
.mk-legal a { color: var(--wine2); }
