/* ---------- Base ---------- */
:root {
  --navy: #0f3b52;
  --navy-deep: #0a2a3b;
  --gold: #a8844e;
  --gold-light: #c9a979;
  --ink: #1c2329;
  --muted: #5b6670;
  --line: #e2ddd4;
  --paper: #ffffff;
  --cream: #f7f4ee;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 4px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .6em;
  color: var(--navy);
}
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1em; }
a { color: var(--navy); }
a:hover { color: var(--gold); }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.lead { font-size: 1.15rem; max-width: 40em; }
.tagline {
  margin: -.2em 0 1.4rem;
  font: 500 clamp(1.3rem, 2.2vw, 1.6rem)/1.3 var(--serif);
  font-style: italic;
  color: var(--gold);
}
.small { font-size: .85rem; }
.muted { color: var(--muted); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .85em 1.6em;
  font: 600 .9rem/1 var(--sans);
  letter-spacing: .03em;
  color: #fff;
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn-small { padding: .65em 1.1em; font-size: .85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand-mark {
  display: block;
  width: auto;
  height: 44px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 600 1.35rem var(--serif); color: var(--navy); }
.brand-sub { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) {
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: .3em 0;
  border-bottom: 1px solid transparent;
}
.nav a:not(.btn):hover, .nav a.active { color: var(--navy); border-bottom-color: var(--gold); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding: 3rem 16px 0;
  background:
    linear-gradient(rgba(10,42,59,.5), rgba(10,42,59,.62)),
    url("../img/hero-lyon-2400.jpg") center 65% / cover no-repeat var(--navy-deep);
}
.hero-inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  max-width: 1100px;
}
.hero-logo {
  display: block;
  width: clamp(260px, 38vw, 480px);
  max-height: 55vh;
  max-height: 55svh;
  object-fit: contain;
  height: auto;
}
.hero-title {
  margin: 0;
  flex-shrink: 0;
}
.hero-motto {
  max-width: 380px;
  color: #fff;
}
.motto-words {
  margin: 0;
  font: 600 clamp(2.2rem, 4.4vw, 3.6rem)/1.08 var(--serif);
}
.motto-words span { display: block; }
.motto-accent { color: var(--gold-light); }
.motto-text {
  margin: 0;
  font-size: clamp(.9rem, 1.3vw, 1rem);
  line-height: 1.6;
  color: #c9d4db;
}
.motto-text::before {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  margin: 1.6rem 0;
  background: var(--gold-light);
}
.hero-band {
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 2.5rem -16px 0;
  padding: 1.6rem 16px;
  list-style: none;
  background: rgba(10,42,59,.78);
  border-top: 1px solid rgba(201,169,121,.45);
}
.hero-band li {
  padding: .2rem clamp(1rem, 3vw, 2.5rem);
  text-align: center;
}
.hero-band li + li { border-left: 1px solid rgba(201,169,121,.45); }
.band-title {
  margin: 0 0 .35rem;
  font: 600 clamp(1.15rem, 1.8vw, 1.45rem)/1.2 var(--serif);
  color: var(--gold-light);
}
.band-text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.5;
  color: #c9d4db;
}
.band-places {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .hero-inner {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .hero-logo { width: clamp(200px, 60vw, 300px); }
  .motto-text::before { margin: 1.4rem auto; }
  .hero-band { grid-template-columns: 1fr; padding: .4rem 16px; }
  .hero-band li { padding: 1.1rem 0; }
  .hero-band li + li {
    border-left: 0;
    border-top: 1px solid rgba(201,169,121,.3);
  }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section-alt { background: var(--cream); }
.section-head { max-width: 40em; margin-bottom: 3rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.note {
  margin: 2rem 0 0;
  padding: 1.1rem 1.4rem;
  border-left: 2px solid var(--gold);
  background: var(--cream);
  font-size: .95rem;
  color: var(--muted);
}

.portrait {
  position: relative;
  margin: 0 0 0 auto;
  max-width: 440px;
}
.portrait::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
}
.portrait img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
}
.portrait figcaption {
  position: relative;
  margin-top: 1.6rem;
  font: 600 1.15rem var(--serif);
  color: var(--navy);
}

/* ---------- Domaines ---------- */
.domains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.domain {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  padding: 2rem 2rem 1.2rem;
}
.domain-num { font: 600 .85rem var(--sans); letter-spacing: .12em; color: var(--gold); margin-bottom: .5rem; }
.domain > p { color: var(--muted); font-size: .95rem; }

details { border-top: 1px solid var(--line); }
summary {
  list-style: none;
  cursor: pointer;
  padding: .85rem 2rem .85rem 0;
  position: relative;
  font-weight: 500;
  font-size: .95rem;
  color: var(--navy);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  position: absolute; right: .3rem; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { font-size: .92rem; color: var(--muted); padding-bottom: .4rem; }

/* ---------- Honoraires ---------- */
.fees { display: grid; gap: 1.2rem; }
.fee { border: 1px solid var(--line); padding: 1.8rem; }
.fee p { font-size: .95rem; color: var(--muted); }
.fee-main { background: var(--navy); border-color: var(--navy); }
.fee-main p { color: #c9d4db; }
.fee .fee-label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
.fee-main .fee-label { font-size: 1rem; color: var(--gold-light); margin-bottom: .8rem; }
.fee .fee-price { font: 600 clamp(2.2rem, 4.5vw, 2.6rem)/1 var(--serif); color: #fff; margin-bottom: 1.4rem; }
.fee-price span { font-size: .4em; color: #aebcc5; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 1.4rem; font-size: .95rem; margin-top: .35rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--gold); }

/* ---------- Contact ---------- */
.section-dark { background: var(--navy-deep); color: #c9d4db; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--gold-light); }
.section-dark a { color: #fff; }
.section-dark a:hover { color: var(--gold-light); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.office h3 { font-size: 1.3rem; margin-bottom: .4em; }
address { font-style: normal; }

.contact-lines { margin: 0; }
.contact-lines div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .9rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact-lines dt { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); padding-top: .25em; }
.contact-lines dd { margin: 0; overflow-wrap: anywhere; }
.contact-lines div:first-child { border-top: 0; padding-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #071d29; color: #8fa1ad; font-size: .85rem; padding: 1.6rem 0; }
.site-footer p { margin: 0; }
.site-footer a { color: #c9d4db; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }

/* ---------- Page légale ---------- */
.legal { padding: clamp(3rem, 8vw, 5rem) 0; }
.legal .container { max-width: 760px; }
.legal h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.legal p, .legal li { color: var(--muted); }
.todo { background: #fff4d6; color: #6b4e00; padding: 0 .3em; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split, .contact-grid, .domains { grid-template-columns: 1fr; }
  .portrait { margin: 0 auto; width: calc(100% - 18px); }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: .5rem 16px 1.2rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; text-align: center; }

  .hero {
    background:
      linear-gradient(rgba(10,42,59,.58), rgba(10,42,59,.68)),
      url("../img/hero-lyon-1200.jpg") 70% center / cover no-repeat var(--navy-deep);
  }

  .offices { grid-template-columns: 1fr; }
  .domain { padding: 1.6rem 1.3rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
