/* Fontaine & Associés — maquette « Essentiel » CabinetJuridique (CroisierWeb) */
:root {
  --night: #12162a; --night-2: #1b2140; --ivory: #f7f3ea; --paper: #fffdf8; --gold: #b8963e; --gold-2: #d4b56a;
  --ink: #1a1d2e; --muted: #5d6175; --line: rgba(26, 29, 46, .12); --line-l: rgba(247, 243, 234, .14);
  --serif: "Cormorant", Georgia, serif; --sans: "Jost", system-ui, sans-serif;
  --mk-accent: var(--gold); --mk-accent-fg: var(--night); --mk-radius: 2px; --mk-font: var(--sans);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 1.06rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.05; }
p { margin: 0 0 1em; }
a { color: inherit; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 44px); }
.section { padding: clamp(90px, 11vw, 140px) 0; }
.kicker { font: 500 .8rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36rem; }
.section-head { max-width: 680px; margin-bottom: 50px; }
.section-head h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); }

/* Boutons */
.btn-gold, .btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; font: 500 .82rem var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid var(--gold); transition: background .35s, color .35s, transform .35s var(--ease); }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: transparent; color: var(--gold-2); }
.btn-line { background: transparent; color: var(--ivory); border-color: var(--line-l); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-line.dark { color: var(--ink); border-color: var(--line); margin-top: 36px; }
.btn-line.dark:hover { border-color: var(--gold); color: var(--gold); }
.btn-wide { width: 100%; }

/* En-tête */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--ivory); transition: background .35s, box-shadow .35s; }
.site-header.is-scrolled, .site-header.solid { background: rgba(18, 22, 42, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-l); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 86px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--gold); color: var(--gold); font: 600 1.6rem var(--serif); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font: 600 1.45rem var(--serif); letter-spacing: .01em; }
.brand-text small { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.main-nav a { position: relative; text-decoration: none; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; opacity: .8; transition: opacity .2s, color .2s; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.main-nav a:hover, .main-nav a[aria-current] { opacity: 1; }
.main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.main-nav .nav-tel { opacity: 1; padding: 10px 18px; border: 1px solid var(--gold); color: var(--gold-2); }
.main-nav .nav-tel::after { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line-l); background: transparent; position: relative; cursor: pointer; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--ivory); transition: transform .3s, top .3s; }
.nav-toggle span:first-child { top: 19px; } .nav-toggle span:last-child { top: 26px; }
.mk-nav-open .nav-toggle span { top: 22px; } .mk-nav-open .nav-toggle span:first-child { transform: rotate(45deg); } .mk-nav-open .nav-toggle span:last-child { transform: rotate(-45deg); }

/* Héros */
.hero { position: relative; overflow: hidden; background: radial-gradient(90% 80% at 85% 10%, var(--night-2), var(--night) 65%); color: var(--ivory); padding: 180px 0 0; }
.hero-lines span { position: absolute; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent, var(--line-l), transparent); }
.hero-lines span:nth-child(1) { left: 25%; } .hero-lines span:nth-child(2) { left: 50%; } .hero-lines span:nth-child(3) { left: 75%; }
.hero-inner { position: relative; }
.hero h1 { font-size: clamp(4rem, 11vw, 9.5rem); font-weight: 500; line-height: .92; margin-bottom: 40px; }
.hero h1::first-line { font-style: normal; }
.hero-bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px; padding-bottom: 70px; border-bottom: 1px solid var(--line-l); }
.hero .lead { color: rgba(247, 243, 234, .7); margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 34px 0 40px; border-right: 1px solid var(--line-l); padding-left: 30px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font: 500 3.6rem/1 var(--serif); color: var(--gold-2); }
.stat span { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(247, 243, 234, .6); }

/* Domaines */
.domain-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.domain-list a { display: grid; grid-template-columns: 80px 1fr 1.3fr 40px; align-items: center; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .5s var(--ease), background .4s; }
.domain-list a:hover { padding-left: 20px; background: var(--paper); }
.dl-n { font: 500 1.4rem var(--serif); color: var(--gold); }
.dl-t { font: 600 clamp(1.7rem, 3vw, 2.4rem)/1.1 var(--serif); }
.dl-d { color: var(--muted); }
.dl-a { font-size: 1.4rem; color: var(--gold); transition: transform .4s var(--ease); }
.domain-list a:hover .dl-a { transform: translateX(8px); }

/* Approche */
.approach { background: var(--paper); }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.quote { margin: 0; }
.quote p { font: 500 italic clamp(2.2rem, 4.4vw, 3.6rem)/1.15 var(--serif); }
.quote footer { color: var(--gold); letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; }
.steps li { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.steps span { font: 500 2.6rem/1 var(--serif); color: var(--gold); }
.steps h3 { font-size: 1.8rem; margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }

/* Équipe */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.partner-pic { position: relative; aspect-ratio: 3 / 4; display: grid; place-items: center; margin-bottom: 22px; background: linear-gradient(160deg, var(--night-2), var(--night)); overflow: hidden; }
.partner-pic::before { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(184, 150, 62, .35); transition: inset .6s var(--ease); }
.partner:hover .partner-pic::before { inset: 26px; }
.partner-pic span { font: 500 5rem var(--serif); color: var(--gold-2); opacity: .8; }
.partner h3 { font-size: 1.8rem; }
.partner-role { color: var(--gold); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin: 4px 0 6px; }
.partner-spec { color: var(--muted); }

/* CTA */
.cta-section { padding: clamp(90px, 11vw, 140px) 0; background: var(--night); color: var(--ivory); text-align: center; }
.cta-inner { max-width: 760px; }
.cta-inner h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 18px; }
.cta-inner p { color: rgba(247, 243, 234, .7); margin-bottom: 34px; }

/* Pages intérieures */
.page-hero { padding: 190px 0 90px; background: radial-gradient(80% 90% at 90% 0%, var(--night-2), var(--night) 65%); color: var(--ivory); }
.page-hero h1 { font-size: clamp(3.4rem, 8vw, 6.4rem); margin-bottom: 18px; font-weight: 500; }
.page-hero .lead { color: rgba(247, 243, 234, .7); }
.domains-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.domain-card { padding: 44px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s; }
.domain-card:hover { background: var(--paper); }
.dc-n { font: 500 1.3rem var(--serif); color: var(--gold); }
.domain-card h2 { font-size: 2rem; margin: 30px 0 12px; }
.domain-card p { color: var(--muted); margin: 0; }
.fees { margin-top: 70px; padding: 50px; background: var(--night); color: var(--ivory); display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.fees h2 { font-size: 2.4rem; color: var(--gold-2); }
.fees p { margin: 0; color: rgba(247, 243, 234, .75); }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.contact-info dl { margin: 0; }
.contact-info dt { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-top: 22px; }
.contact-info dd { margin: 6px 0 0; font: 500 1.35rem/1.4 var(--serif); }
.contact-info dd a { text-decoration: none; }
.confidential-note { margin-top: 34px; padding: 18px 20px; border-left: 2px solid var(--gold); background: var(--paper); color: var(--muted); font-size: .95rem; }
.contact-form { padding: clamp(26px, 4vw, 46px); background: var(--paper); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; font: 400 1.05rem var(--sans); color: var(--ink); border-radius: 0; transition: border-color .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { resize: vertical; }

/* Pied de page */
.site-footer { background: #0c0f1e; color: rgba(247, 243, 234, .65); font-size: .95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-top: 60px; padding-bottom: 36px; }
.footer-name { font: 600 1.8rem var(--serif); color: var(--ivory); }
.footer-h { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 30px; border-top: 1px solid var(--line-l); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.mk-legal { padding-top: 140px; }
