/* =========================================================
   Maître Ruiz — Avocate Droit Public — Montpellier
   Feuille de style 2026
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* palette : ivoire chaud, encre profonde, laiton */
  --bg:            #f6f2ec;
  --bg-tint:       #efe8de;
  --surface:       #fffdf9;
  --surface-2:     #f1ebe2;
  --ink:           #14110f;
  --ink-2:         #3b3531;
  --muted:         #6f665e;
  --line:          rgba(20, 17, 15, .10);
  --line-strong:   rgba(20, 17, 15, .18);
  --accent:        #b4824a;
  --accent-2:      #c9a26b;
  --accent-ink:    #14110f;
  --dark:          #14110f;
  --dark-2:        #1d1915;
  --on-dark:       #f6f2ec;
  --on-dark-muted: rgba(246, 242, 236, .64);
  /* blocs inversés (pied de page, cartes sombres) : restent sombres dans les deux thèmes */
  --block-bg:      #14110f;
  --block-fg:      #f6f2ec;
  --block-muted:   rgba(246, 242, 236, .6);
  --block-line:    rgba(246, 242, 236, .12);

  --shadow-sm: 0 1px 2px rgba(20,17,15,.06), 0 2px 8px rgba(20,17,15,.05);
  --shadow-md: 0 8px 30px rgba(20,17,15,.10), 0 2px 6px rgba(20,17,15,.05);
  --shadow-lg: 0 30px 70px rgba(20,17,15,.22);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: .6s;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:            #0f0d0b;
    --bg-tint:       #15120f;
    --surface:       #1a1612;
    --surface-2:     #221d18;
    --ink:           #f3ede5;
    --ink-2:         #d9d1c6;
    --muted:         #a1978b;
    --line:          rgba(243, 237, 229, .10);
    --line-strong:   rgba(243, 237, 229, .20);
    --accent:        #c9a26b;
    --accent-2:      #e0bf8c;
    --dark:          #0a0908;
    --dark-2:        #12100d;
    --block-bg:      #060504;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-md: 0 8px 30px rgba(0,0,0,.45);
    --shadow-lg: 0 30px 70px rgba(0,0,0,.6);
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--block-bg); color: var(--block-fg);
  padding: 10px 16px; border-radius: 8px; z-index: 1000;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; color: var(--accent);
}
.section__num {
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: .2em; color: var(--accent);
  margin-bottom: 14px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -.015em;
  font-variation-settings: "opsz" 144;
}
.section__kicker { margin-top: 14px; color: var(--muted); font-size: 15px; }
.section__intro {
  margin-top: 18px; max-width: 58ch; color: var(--ink-2); font-size: 18px;
}
.section__intro em { font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 1.1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 500; font-size: 15px; line-height: 1;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--ink); color: var(--bg); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { border-color: var(--line-strong); color: inherit; background: transparent; }
.btn--ghost:hover { border-color: currentColor; }
.btn--small { padding: 10px 16px; font-size: 14px; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 86%, transparent); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--block-bg); color: var(--accent-2); border: 1px solid var(--block-line);
  font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: .02em;
  flex: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand__name { font-family: var(--font-display); font-size: 19px; font-weight: 500; }
.brand__sub { font-size: 12px; color: var(--muted); letter-spacing: .04em; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links > a:not(.btn) {
  padding: 10px 14px; border-radius: 999px; font-size: 15px; color: var(--ink-2); white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav__links > a:not(.btn):hover,
.nav__links > a.is-active { background: var(--surface-2); color: var(--ink); }
.nav__cta { margin-left: 10px; }

.nav__toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__toggle span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s;
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links > a:not(.btn) { padding: 14px 16px; font-size: 17px; }
  .nav__cta { margin: 10px 0 0; justify-content: center; }
  .brand__sub { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: flex; align-items: center;
  color: var(--on-dark);
  isolation: isolate;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--dark); }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(18px) saturate(.7) brightness(.55);
  transform: scale(1.15);
  animation: heroZoom 24s ease-in-out infinite alternate;
}
@keyframes heroZoom { to { transform: scale(1.25) translate(-1%, 1%); } }
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% 20%, rgba(201,162,107,.22), transparent 60%),
    linear-gradient(180deg, rgba(20,17,15,.35) 0%, rgba(20,17,15,.55) 55%, rgba(20,17,15,.92) 100%);
}
.hero__grain {
  position: absolute; inset: 0; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__inner {
  display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding-block: clamp(64px, 10vh, 120px);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(54px, 8.5vw, 112px);
  line-height: .95; letter-spacing: -.025em;
  margin-top: 18px;
  font-variation-settings: "opsz" 144;
}
.hero__title em { font-style: italic; font-weight: 400; color: var(--accent-2); }
.hero__discipline {
  margin-top: 22px;
  font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 400; letter-spacing: .06em; text-transform: uppercase;
  color: var(--on-dark);
  display: inline-flex; align-items: center; gap: 16px;
}
.hero__discipline::before { content: ""; width: 48px; height: 1px; background: var(--accent-2); }
.hero__lead { margin-top: 24px; max-width: 54ch; font-size: 18px; color: var(--on-dark-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .btn--primary { background: var(--accent-2); color: var(--accent-ink); }
.hero .btn--primary:hover { background: #fff; }
.hero .btn--ghost { color: var(--on-dark); border-color: rgba(246,242,236,.3); }
.hero .btn--ghost:hover { border-color: var(--on-dark); background: rgba(246,242,236,.06); }
.hero__phone { margin-top: 28px; display: flex; gap: 10px; align-items: baseline; font-size: 15px; color: var(--on-dark-muted); }
.hero__phone a {
  font-family: var(--font-display); font-size: 22px; color: var(--on-dark);
  border-bottom: 1px solid var(--accent-2); transition: color .2s;
}
.hero__phone a:hover { color: var(--accent-2); }

.hero__card {
  background: rgba(246,242,236,.08);
  border: 1px solid rgba(246,242,236,.16);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  display: grid; gap: 22px;
  justify-self: end; width: min(100%, 380px);
  transition-delay: .25s;
}
.portrait {
  width: 128px; height: 128px; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--accent-2);
  box-shadow: 0 0 0 8px rgba(201,162,107,.14);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15) contrast(1.04); }
.hero__card-name { font-family: var(--font-display); font-size: 24px; font-weight: 500; }
.hero__card-role { color: var(--on-dark-muted); font-size: 14px; margin-top: 4px; }
.hero__card-facts { margin: 20px 0 0; display: grid; gap: 12px; }
.hero__card-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(246,242,236,.12); font-size: 14px; }
.hero__card-facts dt { color: var(--on-dark-muted); }
.hero__card-facts dd { margin: 0; color: var(--on-dark); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 999px; border: 1px solid rgba(246,242,236,.35);
  display: grid; justify-items: center; padding-top: 7px;
}
.hero__scroll span { width: 3px; height: 8px; border-radius: 3px; background: var(--accent-2); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0%,100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(14px); opacity: 0; } }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { justify-self: start; }
  .hero__scroll { display: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--block-bg); color: var(--block-fg);
  overflow: hidden; border-block: 1px solid rgba(255,255,255,.06);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  padding: 16px 0;
  animation: marquee 50s linear infinite;
  font-family: var(--font-display); font-size: 15px; letter-spacing: .04em;
}
.marquee__track i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee__track, .hero__bg img, .hero__scroll span { animation: none; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section--tinted { background: var(--bg-tint); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark .section__intro { color: var(--on-dark-muted); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--split {
  max-width: none;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start;
}
.section__grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(32px, 7vw, 110px); align-items: start; }
.section__aside { position: sticky; top: 110px; }
@media (max-width: 900px) {
  .section__grid, .section__head--split { grid-template-columns: 1fr; }
  .section__aside { position: static; }
}

.pullquote {
  margin: 36px 0 0; padding-left: 20px; border-left: 2px solid var(--accent);
  font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.35; color: var(--ink-2);
}

/* ---------- Prose ---------- */
.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--ink-2); }
.prose__lead { font-size: 20px; line-height: 1.55; color: var(--ink) !important; font-weight: 500; }
.prose--compact .prose__lead { font-family: var(--font-display); font-size: 26px; font-weight: 400; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.values { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.values li {
  display: grid; gap: 14px; padding: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.values svg { width: 24px; height: 24px; fill: var(--accent); }
.values strong { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 500; }
.values span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (max-width: 700px) { .values { grid-template-columns: 1fr; } }

/* ---------- Bento compétences ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card:hover::after { opacity: 1; }
.card--wide { grid-column: span 2; }
.card--accent { background: var(--block-bg); color: var(--block-fg); border-color: var(--block-line); }
.card--accent .card__icon { background: rgba(255,255,255,.08); }
.card--accent .card__icon svg { fill: var(--accent-2); }
.card--accent li { color: var(--block-muted); }
.card--accent li::before { background: var(--accent-2); }
.card__tag { position: absolute; top: 24px; right: 24px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); font-weight: 600; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--surface-2);
}
.card__icon svg { width: 24px; height: 24px; fill: var(--accent); }
.card h3 { font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 1.2; letter-spacing: -.01em; }
.card ul { display: grid; gap: 9px; margin-top: 4px; }
.card li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } .card--wide { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .card--wide { grid-column: span 1; } .card { padding: 24px; } }

/* ---------- Honoraires ---------- */
.fees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fee {
  position: relative; padding: 32px 28px 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.fee:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.fee__index {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px;
  border-radius: 12px; background: var(--block-bg); color: var(--accent-2); border: 1px solid var(--block-line);
  font-family: var(--font-display); font-size: 18px; font-weight: 500;
}
.fee h3 { margin-top: 20px; font-family: var(--font-display); font-weight: 500; font-size: 24px; }
.fee p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; }
.fees__note {
  margin: 40px auto 0; max-width: 72ch; text-align: center;
  font-family: var(--font-display); font-size: 22px; line-height: 1.4; color: var(--ink);
}
.coverage { margin-top: 40px; display: grid; grid-template-columns: 1fr; gap: 18px; }
.coverage__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 6px; }
.coverage__cols p { margin-top: 0; }
@media (max-width: 900px) { .coverage__cols { grid-template-columns: 1fr; gap: 12px; } .coverage__cols p + p { margin-top: 8px; } }
.coverage__item {
  padding: 34px; border-radius: var(--radius-lg);
  background: var(--bg-tint); border: 1px solid var(--line);
}
.coverage__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; }
.coverage__icon svg { width: 22px; height: 22px; fill: var(--accent); }
.coverage__item h3 { margin-top: 18px; font-family: var(--font-display); font-weight: 500; font-size: 26px; }
.coverage__item p { margin-top: 12px; color: var(--ink-2); font-size: 15.5px; }
.coverage__item a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.checklist { margin-top: 14px; display: grid; gap: 10px; }
.checklist li {
  position: relative; padding: 14px 16px 14px 44px; border-radius: var(--radius-sm);
  background: var(--surface); font-size: 15px; color: var(--ink-2); line-height: 1.5;
}
.checklist li::before {
  content: ""; position: absolute; left: 16px; top: 17px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='%23fff' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='%23fff' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.checklist strong { color: var(--ink); }
@media (max-width: 900px) { .fees { grid-template-columns: 1fr; } }

/* ---------- Plan d'accès ---------- */
.access { display: grid; grid-template-columns: 1.5fr .8fr; gap: 18px; align-items: stretch; }
.access__map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--surface-2); }
.access__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(.85) contrast(1.02); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .access__map iframe { filter: invert(.92) hue-rotate(180deg) saturate(.6); } }
.access__card {
  padding: 34px; border-radius: var(--radius-lg);
  background: var(--block-bg); color: var(--block-fg); border: 1px solid var(--block-line);
  display: flex; flex-direction: column; gap: 18px;
}
.access__label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); font-weight: 600; }
.access__card address { font-size: 17px; line-height: 1.6; }
.access__card address strong { font-family: var(--font-display); font-size: 24px; font-weight: 500; display: block; margin-bottom: 4px; }
.access__list { display: grid; gap: 10px; margin-top: 6px; }
.access__list li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding-top: 10px; border-top: 1px solid var(--block-line); font-size: 15px; }
.access__list span { color: var(--block-muted); }
.access__list a:hover { color: var(--accent-2); }
.access__card .btn--primary { margin-top: auto; background: var(--accent-2); color: var(--accent-ink); }
.access__card .btn--primary:hover { background: #fff; }
@media (max-width: 900px) { .access { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact .section__title { font-size: clamp(30px, 3.6vw, 44px); }
.contact__details { margin-top: 32px; display: grid; gap: 14px; color: var(--ink-2); }
.contact__name { font-family: var(--font-display); font-size: 26px; color: var(--ink); line-height: 1.2; }
.contact__name span { font-family: var(--font-body); font-size: 14px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.contact__details a { border-bottom: 1px solid var(--line-strong); transition: border-color .2s, color .2s; }
.contact__details a:hover { color: var(--accent); border-color: var(--accent); }

.form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow-sm);
  display: grid; gap: 18px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 14px 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #c0392b; }
.form__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form__hint { font-size: 13px; color: var(--muted); max-width: 36ch; }
.form.is-sending .btn { opacity: .7; pointer-events: none; }

/* ---------- Boîte « Message envoyé » ---------- */
.toast {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); color: var(--ink);
  padding: 36px 32px 30px; width: min(92vw, 420px);
  text-align: center; box-shadow: var(--shadow-lg);
  margin: auto;
}
.toast::backdrop { background: rgba(20,17,15,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.toast[open] { animation: toastIn .45s var(--ease) both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.toast__icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; background: var(--accent-2); color: var(--accent-ink);
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent-2) 22%, transparent);
}
.toast__icon svg { width: 30px; height: 30px; fill: currentColor; }
.toast h3 { font-family: var(--font-display); font-weight: 500; font-size: 28px; }
.toast p { margin: 10px 0 24px; color: var(--ink-2); font-size: 15.5px; }
@media (prefers-reduced-motion: reduce) { .toast[open] { animation: none; } }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--block-bg); color: var(--block-fg); padding-block: 48px 36px; border-top: 1px solid var(--block-line); }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer .brand__mark { background: rgba(246,242,236,.08); border-color: transparent; }
.footer__name { font-family: var(--font-display); font-size: 20px; font-weight: 500; }
.footer__sub { font-size: 13px; color: var(--block-muted); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: 14px; }
.footer__links a { color: var(--block-muted); transition: color .2s; }
.footer__links a:hover { color: var(--accent-2); }
.footer__copy { font-size: 13px; color: var(--block-muted); white-space: nowrap; }
@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .08s; }
.hero .reveal:nth-child(3) { transition-delay: .16s; }
.hero .reveal:nth-child(4) { transition-delay: .24s; }
.hero .reveal:nth-child(5) { transition-delay: .32s; }
.hero .reveal:nth-child(6) { transition-delay: .4s; }
.bento .reveal:nth-child(2n) { transition-delay: .08s; }
.bento .reveal:nth-child(3n) { transition-delay: .16s; }
.fees .reveal:nth-child(2) { transition-delay: .1s; }
.fees .reveal:nth-child(3) { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Selection ---------- */
::selection { background: var(--accent-2); color: var(--accent-ink); }
