/* =========================================================
   Votre Achat Immobilier · Guides offerts
   Design system aligné sur les ebooks (bleu ardoise, encre,
   Montserrat / Cormorant Garamond / Inter)
   ========================================================= */

:root {
  --ink: #1e2329;
  --ink-2: #39434b;
  --muted: #5b6870;
  --brand: #99b3bb;
  --brand-deep: #4f6d77;
  --brand-tint: #e7eef0;
  --brand-soft: #c9d8dc;
  --paper: #f6f8f8;
  --white: #ffffff;
  --line: #d8e1e4;
  --error: #b42318;
  --ok: #2f6b4f;

  --f-display: "Montserrat", system-ui, sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-body: "Inter", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --radius: 14px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --shadow-sm: 0 1px 2px rgba(30, 35, 41, 0.06), 0 2px 8px rgba(30, 35, 41, 0.05);
  --shadow-md: 0 2px 4px rgba(30, 35, 41, 0.05), 0 12px 32px -8px rgba(30, 35, 41, 0.16);
  --shadow-lg: 0 4px 8px rgba(30, 35, 41, 0.06), 0 32px 64px -16px rgba(30, 35, 41, 0.28);
  --header-h: 76px;

  /* Toit : la forme signature des couvertures et du logo */
  --roof: polygon(0 18%, 50% 0, 100% 18%, 100% 100%, 0 100%);
}

/* ---------- Transitions entre pages (View Transitions API) ---------- */
@view-transition { navigation: auto; }

::view-transition-old(root) {
  animation: vt-out 160ms var(--ease-out) both;
}
::view-transition-new(root) {
  animation: vt-in 300ms var(--ease-out) both;
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

::view-transition-group(site-header) { animation: none; z-index: 10; }
::view-transition-old(site-header), ::view-transition-new(site-header) { animation: none; }

::view-transition-group(book-vendeur),
::view-transition-group(book-acheteur) {
  animation-duration: 420ms;
  animation-timing-function: var(--ease-in-out);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--brand-soft); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600; transition: transform 200ms var(--ease-out);
}
.skip-link:focus { transform: translateY(76px); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typographie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-weight: 600; font-size: 11.5px;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-2);
  margin: 0 0 20px;
}
.eyebrow::after { content: ""; width: 40px; height: 1px; background: currentColor; opacity: 0.45; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { content: ""; width: 40px; height: 1px; background: currentColor; opacity: 0.45; }

h1, h2, h3 { margin: 0; font-family: var(--f-display); color: var(--ink); text-wrap: balance; }
.h-display {
  font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em;
  font-size: clamp(32px, 5.2vw, 58px); line-height: 1.02;
}
.h-section {
  font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em;
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.08;
}
.h-card { font-weight: 700; font-size: 20px; line-height: 1.3; }
.serif-accent {
  display: block; font-family: var(--f-serif); font-style: italic; font-weight: 500;
  text-transform: none; letter-spacing: 0; line-height: 1.05;
  font-size: 1.04em; margin-top: 0.12em; color: var(--white);
}
.serif-accent.dark { color: var(--brand-deep); }
.lead { font-family: var(--f-serif); font-style: italic; font-size: clamp(19px, 2vw, 22px); line-height: 1.45; color: var(--ink-2); margin: 20px 0 0; }
.text-muted { color: var(--muted); }
p { margin: 0 0 1em; text-wrap: pretty; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; view-transition-name: site-header;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid transparent;
  transition: background-color 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}
.on-brand .site-header:not(.is-scrolled) { background: var(--brand); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-link { display: inline-flex; align-items: center; flex: none; }
.brand-link img { height: 52px; width: auto; }
.brand-link .logo-onlight { display: none; }
.is-scrolled .brand-link .logo-onbrand { display: none; }
.is-scrolled .brand-link .logo-onlight { display: block; }
body:not(.on-brand) .brand-link .logo-onbrand { display: none; }
body:not(.on-brand) .brand-link .logo-onlight { display: block; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative; text-decoration: none; font-weight: 500; font-size: 14.5px;
  padding: 10px 14px; border-radius: 999px; color: var(--ink-2);
  transition: color 160ms ease, background-color 160ms ease;
}
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--ink); border-radius: 2px;
}
@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover { color: var(--ink); background: rgba(30, 35, 41, 0.06); }
}
.header-cta { display: flex; align-items: center; gap: 10px; }
.phone-link {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 600; font-size: 14.5px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid rgba(30, 35, 41, 0.22);
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out);
}
.phone-link:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .phone-link:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
}
.phone-link svg { width: 16px; height: 16px; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px;
  cursor: pointer; position: relative;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 240ms var(--ease-out), opacity 160ms ease;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
  background: var(--white); border-bottom: 1px solid var(--line);
  padding: 12px var(--gutter) 24px;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
  transition: opacity 200ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s linear 260ms;
}
.menu-open .mobile-menu {
  opacity: 1; transform: none; pointer-events: auto; visibility: visible;
  transition: opacity 200ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s;
}
.mobile-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; border-bottom: 1px solid var(--line);
  text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 17px;
}
.mobile-menu a[aria-current="page"] { color: var(--brand-deep); }
.mobile-menu .btn { margin-top: 20px; width: 100%; justify-content: center; border-bottom: 0; }

@media (max-width: 980px) {
  .main-nav, .header-cta .phone-link span { display: none; }
  .menu-toggle { display: block; }
  .phone-link { padding: 10px 12px; }
}
@media (max-width: 420px) { .brand-link img { height: 38px; } }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--white);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn .arrow { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #0f1317; box-shadow: 0 8px 20px -8px rgba(30, 35, 41, 0.55); }
  .btn:hover .arrow { transform: translateX(3px); }
  .btn-ghost:hover { background: rgba(30, 35, 41, 0.07); box-shadow: none; }
  .btn-light:hover { background: var(--brand-tint); }
}
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-light { --btn-bg: var(--white); --btn-fg: var(--ink); }
.btn-block { width: 100%; justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
  color: var(--ink); background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 2px;
}
.text-link svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .text-link:hover svg { transform: translateX(3px); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-tight { padding-block: clamp(56px, 7vw, 88px); }
.bg-paper { background: var(--paper); }
.bg-brand { background: var(--brand); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-ink h2, .bg-ink h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 16px; }
.section-head-split { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(40px, 5vw, 56px); padding-bottom: 24px; border-bottom: 1px solid var(--ink); }
.section-head-split .lead { margin: 0; max-width: 340px; text-align: right; font-size: 19px; }
@media (max-width: 760px) { .section-head-split { flex-direction: column; align-items: start; } .section-head-split .lead { text-align: left; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--brand); padding: clamp(32px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy .lead { color: var(--ink); max-width: 520px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.hero-points svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--ink); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-family: var(--f-display); font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-2); margin-right: 14px; opacity: 0.5; }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.roof-photo {
  position: absolute; inset: 0 0 0 0; clip-path: var(--roof); border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden; background: var(--brand-deep);
}
.roof-photo img { width: 100%; height: 100%; object-fit: cover; }
.roof-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 35, 41, 0) 40%, rgba(30, 35, 41, 0.35)); }
.roof-line { position: absolute; left: -2%; right: -2%; top: -1px; height: 18.5%; pointer-events: none; z-index: 1; }
.roof-line svg { width: 100%; height: 100%; overflow: visible; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; }
}

/* Révélation du toit au chargement */
@media (prefers-reduced-motion: no-preference) {
  .js .roof-photo { clip-path: polygon(0 100%, 50% 100%, 100% 100%, 100% 100%, 0 100%); animation: roof-in 900ms var(--ease-in-out) 120ms forwards; }
  .js .roof-photo img { transform: scale(1.06); animation: settle 1400ms var(--ease-out) 120ms forwards; }
  .js .roof-line { clip-path: inset(0 50% 0 50%); animation: roof-draw 800ms var(--ease-in-out) 560ms forwards; }
}
@keyframes roof-in { to { clip-path: var(--roof); } }
@keyframes settle { to { transform: scale(1); } }
@keyframes roof-draw { to { clip-path: inset(0 0 0 0); } }

/* ---------- Livre (mockup 3D) ---------- */
.book-stage { perspective: 1400px; display: grid; place-items: center; position: relative; z-index: 2; }
.book {
  --rx: 0deg; --ry: -16deg;
  position: relative; width: clamp(200px, 24vw, 300px); aspect-ratio: 900 / 1274;
  transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry));
  border-radius: 2px 6px 6px 2px;
  will-change: transform;
}
.book-cover {
  position: absolute; inset: 0; border-radius: 2px 6px 6px 2px; overflow: hidden;
  box-shadow: 18px 26px 40px -12px rgba(15, 20, 25, 0.5), 2px 2px 4px rgba(15, 20, 25, 0.18);
  transform: translateZ(10px);
  background: var(--brand);
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover::before { /* reliure */
  content: ""; position: absolute; inset: 0 auto 0 0; width: 7%; z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,0.18), rgba(255,255,255,0.18) 40%, rgba(0,0,0,0.06) 70%, rgba(0,0,0,0));
}
.book-cover::after { /* reflet */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 38%);
  opacity: var(--gloss, 0.7);
}
.book-pages { /* tranche */
  position: absolute; top: 1.2%; bottom: 1.2%; right: 0; width: 20px;
  transform: translateX(10px) rotateY(90deg) ; transform-origin: right center;
  background: repeating-linear-gradient(90deg, #f3f1ec 0 1px, #dcd8cf 1px 2px);
}
.book-back { position: absolute; inset: 0; transform: translateZ(-10px); background: #dfe5e7; border-radius: 2px 6px 6px 2px; box-shadow: 30px 40px 60px -20px rgba(15,20,25,0.45); }
.book-shadow { position: absolute; left: 6%; right: -6%; bottom: -22px; height: 30px; background: radial-gradient(closest-side, rgba(15,20,25,0.35), rgba(15,20,25,0)); filter: blur(4px); transform: translateZ(-40px); }
.book-tag {
  position: absolute; z-index: 3; top: 14%; left: -18px; transform: translateZ(30px) rotate(-6deg);
  background: var(--ink); color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; padding: 9px 14px; border-radius: 6px; box-shadow: var(--shadow-md);
}

.book[data-vt="vendeur"] { view-transition-name: book-vendeur; }
.book[data-vt="acheteur"] { view-transition-name: book-acheteur; }

/* Duo de livres sur l'accueil */
.book-duo { position: relative; width: 100%; height: 100%; min-height: 460px; }
.book-duo .book-stage { position: absolute; }
.book-duo .duo-a { left: 6%; top: 18%; }
.book-duo .duo-b { right: 4%; top: 30%; }
.book-duo .duo-a .book { --ry: 18deg; width: clamp(170px, 19vw, 240px); }
.book-duo .duo-b .book { --ry: -18deg; width: clamp(170px, 19vw, 240px); }
@media (max-width: 900px) {
  .book-duo { min-height: 400px; }
  .book-duo .duo-a { left: 4%; top: 22%; }
  .book-duo .duo-b { right: 4%; top: 30%; }
  .book-duo .duo-a .book, .book-duo .duo-b .book { width: clamp(140px, 38vw, 210px); }
}

/* ---------- Formulaire ---------- */
.form-card {
  background: var(--white); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-lg); position: relative; z-index: 3;
}
.form-card h2 { font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; }
.form-card .form-intro { font-size: 15px; color: var(--muted); margin: 8px 0 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select {
  width: 100%; height: 50px; padding: 0 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--paper);
  font: 500 16px/1 var(--f-body); color: var(--ink);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%231e2329' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input::placeholder { color: #8b979d; font-weight: 400; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px rgba(153, 179, 187, 0.35); }
.field.has-error input { border-color: var(--error); background: #fff8f7; }
.field-error { font-size: 13px; color: var(--error); min-height: 0; display: none; align-items: center; gap: 6px; }
.field.has-error .field-error { display: flex; animation: err-in 200ms var(--ease-out); }
@keyframes err-in { from { opacity: 0; transform: translateY(-3px); } }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 4px; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.consent a { color: var(--ink-2); }
.consent.has-error { color: var(--error); }
.form-foot { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-top: 14px; justify-content: center; }
.form-foot svg { width: 14px; height: 14px; flex: none; }

/* Bouton d'envoi : morphing d'état avec flou */
.btn-submit { margin-top: 18px; overflow: hidden; }
.btn-submit .label { display: inline-flex; align-items: center; gap: 10px; transition: opacity 200ms ease, filter 200ms ease, transform 200ms var(--ease-out); }
.btn-submit .state { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; filter: blur(4px); transform: translateY(6px); transition: opacity 200ms ease, filter 200ms ease, transform 240ms var(--ease-out); }
.btn-submit.is-loading .label, .btn-submit.is-done .label { opacity: 0; filter: blur(4px); transform: translateY(-6px); }
.btn-submit.is-loading .state-loading, .btn-submit.is-done .state-done { opacity: 1; filter: blur(0); transform: none; }
.btn-submit.is-done { background: var(--ok); }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff; animation: spin 600ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.state-done svg { width: 22px; height: 22px; }
.form-status { font-size: 14px; color: var(--error); margin: 12px 0 0; display: none; }
.form-status.show { display: block; }

/* ---------- Bandeau citation / chiffres ---------- */
.quote-band { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.big-quote { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: clamp(30px, 4vw, 48px); line-height: 1.12; margin: 0; color: var(--ink); text-wrap: balance; }
.quote-by { margin-top: 20px; font-family: var(--f-display); font-size: 11.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.signature { font-family: var(--f-serif); font-style: italic; font-size: 30px; color: var(--ink); margin: 24px 0 0; }
@media (max-width: 860px) { .quote-band { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.stat { padding: 26px 12px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.1; }
.stat span { display: block; margin-top: 8px; font-family: var(--f-display); font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 520px) { .stat { padding: 20px 6px; } .stat span { letter-spacing: 0.12em; } }
.stats.vertical { grid-template-columns: 1fr; border: 0; }
.stats.vertical .stat { text-align: left; padding: 20px 0; border-top: 1px solid var(--line); }
.stats.vertical .stat + .stat { border-left: 0; }

/* ---------- Choix du parcours (accueil) ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } }
.path-card {
  position: relative; display: grid; grid-template-rows: auto 1fr; text-decoration: none;
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: box-shadow 260ms var(--ease-out), transform 260ms var(--ease-out);
}
.path-card:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) {
  .path-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
  .path-card:hover .path-photo img { transform: scale(1.03); }
  .path-card:hover .text-link svg { transform: translateX(3px); }
}
.path-photo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--brand); clip-path: polygon(0 0, 100% 0, 100% 86%, 50% 100%, 0 86%); }
.path-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.path-body { padding: 8px clamp(22px, 3vw, 36px) clamp(26px, 3vw, 36px); display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: start; }
.path-body .eyebrow { margin: 18px 0 10px; grid-column: 1 / -1; }
.path-body h3 { font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.08; }
.path-body h3 em { display: block; font-family: var(--f-serif); font-weight: 500; text-transform: none; font-size: 1.05em; color: var(--brand-deep); margin-top: 4px; }
.path-body ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; grid-column: 1; color: var(--ink-2); font-size: 15px; }
.path-body li { display: flex; gap: 10px; }
.path-body li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--brand-deep); }
.path-book { grid-column: 2; grid-row: 2 / span 2; margin-top: -86px; }
.path-book .book { --ry: -14deg; width: clamp(110px, 12vw, 150px); }
.path-card .text-link { grid-column: 1; }
@media (max-width: 520px) {
  .path-body { grid-template-columns: 1fr; }
  .path-book { display: none; }
}

/* ---------- Atouts ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }
.feature { border-top: 1px solid var(--ink); padding-top: 24px; }
.feature .num { font-family: var(--f-serif); font-size: 44px; line-height: 1; color: var(--brand-deep); }
.feature h3 { font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; margin: 14px 0 10px; }
.feature p { color: var(--muted); margin: 0; }

/* ---------- Sommaire interactif ---------- */
.toc { border-top: 1px solid var(--ink); }
.toc details { border-bottom: 1px solid var(--line); }
.toc summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center;
  padding: 22px 4px; -webkit-tap-highlight-color: transparent;
}
.toc summary::-webkit-details-marker { display: none; }
.toc .n { font-family: var(--f-serif); font-size: 34px; line-height: 1; color: var(--brand-deep); }
.toc .n.plus { font-family: var(--f-display); font-size: 13px; font-weight: 700; width: 36px; height: 36px; display: grid; place-items: center; background: var(--brand); color: var(--ink); border-radius: 6px; }
.toc .kicker { display: block; font-family: var(--f-display); font-size: 10.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.toc .t { font-family: var(--f-display); font-weight: 700; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.3; }
.toc .chev { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform 260ms var(--ease-out), background-color 160ms ease, border-color 160ms ease; }
.toc .chev svg { width: 16px; height: 16px; }
.toc details[open] .chev { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: var(--white); }
@media (hover: hover) and (pointer: fine) { .toc summary:hover .chev { border-color: var(--ink); } }
.toc .body { padding: 0 4px 26px 92px; max-width: 760px; color: var(--ink-2); }
.toc .body ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.toc .body li { display: flex; gap: 10px; font-size: 15px; }
.toc .body li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; background: var(--brand-deep); transform: rotate(45deg); }
.toc details[open] .body { animation: toc-in 280ms var(--ease-out); }
@keyframes toc-in { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 600px) {
  .toc summary { grid-template-columns: 48px 1fr auto; gap: 12px; }
  .toc .n { font-size: 28px; }
  .toc .body { padding-left: 4px; }
}

/* ---------- Aperçu des pages ---------- */
.preview-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 860px) {
  .preview-rail { grid-template-columns: repeat(4, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .preview-rail::-webkit-scrollbar { display: none; }
  .preview-rail > * { scroll-snap-align: center; }
}
.page-thumb {
  position: relative; display: block; padding: 0; border: 0; background: var(--white); cursor: zoom-in;
  border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 900 / 1274;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.page-thumb img { width: 100%; height: 100%; object-fit: cover; }
.page-thumb .cap { position: absolute; left: 10px; bottom: 10px; background: rgba(30,35,41,0.86); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 6px; backdrop-filter: blur(6px); }
.page-thumb:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .page-thumb:hover { transform: translateY(-4px) rotate(-0.6deg); box-shadow: var(--shadow-lg); } }
.page-thumb.locked img { filter: blur(5px) saturate(0.7); transform: scale(1.06); }
.page-thumb.locked { cursor: pointer; }
.page-thumb.locked .lock { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; background: rgba(153,179,187,0.55); font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; padding: 16px; }
.page-thumb.locked .lock svg { width: 26px; height: 26px; }

/* Lightbox (dialog) */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 640px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 24, 28, 0.72); backdrop-filter: blur(4px); opacity: 0; transition: opacity 220ms ease; }
.lightbox[open]::backdrop { opacity: 1; }
.lightbox img { max-height: 86vh; width: auto; border-radius: 4px; box-shadow: var(--shadow-lg); }
.lightbox[open] .lb-frame { animation: lb-in 240ms var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.96); } }
@starting-style { .lightbox[open]::backdrop { opacity: 0; } }
.lb-frame { position: relative; }
.lb-close, .lb-nav { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-md); transition: transform 160ms var(--ease-out); }
.lb-close:active, .lb-nav:active { transform: scale(0.94); }
.lb-close { top: -14px; right: -14px; }
.lb-nav { top: 50%; margin-top: -22px; }
.lb-prev { left: -22px; } .lb-next { right: -22px; }
.lb-close svg, .lb-nav svg { width: 18px; height: 18px; }
.lb-count { position: absolute; left: 50%; bottom: -40px; transform: translateX(-50%); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; }
@media (max-width: 600px) { .lb-prev { left: 6px; } .lb-next { right: 6px; } .lb-close { right: 6px; top: 6px; } }

/* ---------- Pièges / erreurs ---------- */
.pitfalls { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(24px, 4vw, 56px); counter-reset: none; }
@media (max-width: 760px) { .pitfalls { grid-template-columns: 1fr; } }
.pitfall { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.pitfall .n { font-family: var(--f-serif); font-size: 36px; line-height: 1; color: var(--brand-deep); }
.pitfall h3 { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.35; margin: 4px 0 8px; }
.pitfall p { color: var(--muted); margin: 0; font-size: 15px; }
.pitfall.is-locked h3 { margin-bottom: 0; }
.pitfall.is-locked .lockline { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.pitfall.is-locked .lockline svg { width: 14px; height: 14px; }
.pitfall.highlight { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 26px; border: 0; margin-top: 14px; align-self: start; }
.pitfall.highlight h3 { color: var(--white); }
.pitfall.highlight p { color: rgba(255,255,255,0.78); }
.pitfall.highlight .n { color: var(--brand); font-family: var(--f-display); font-size: 28px; }

/* ---------- Outil (checklist / fiche) ---------- */
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .tool-grid { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 4px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checkbox { flex: none; width: 22px; height: 22px; border: 1.5px solid var(--ink); border-radius: 4px; display: grid; place-items: center; margin-top: 1px; background: var(--white); transition: background-color 200ms ease; }
.checkbox svg { width: 14px; height: 14px; color: var(--white); stroke-dasharray: 24; stroke-dashoffset: 24; }
.checklist li.is-checked .checkbox { background: var(--ink); }
.checklist li.is-checked .checkbox svg { stroke-dashoffset: 0; transition: stroke-dashoffset 360ms var(--ease-out) 60ms; }
.tool-sheet { position: relative; justify-self: center; width: min(100%, 420px); }
.tool-sheet .sheet { border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(2deg); }
.tool-sheet .sheet.back { position: absolute; inset: 0; transform: rotate(-4deg) translate(-18px, 10px); opacity: 0.9; box-shadow: var(--shadow-md); }

/* ---------- Cross-sell ---------- */
.cross { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--brand); border-radius: calc(var(--radius) + 4px); padding: clamp(28px, 4vw, 48px); text-decoration: none; transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out); }
.cross:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) { .cross:hover { box-shadow: var(--shadow-md); } .cross:hover .btn .arrow { transform: translateX(3px); } }
.cross .book { --ry: -14deg; width: clamp(110px, 12vw, 150px); }
.cross h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.cross p { margin: 10px 0 0; color: var(--ink-2); }
@media (max-width: 760px) { .cross { grid-template-columns: 1fr; text-align: left; } .cross .book-stage { justify-self: start; } }

/* ---------- CTA final ---------- */
.final-cta { position: relative; overflow: hidden; color: var(--white); background: var(--ink); }
.final-cta .bg { position: absolute; inset: 0; }
.final-cta .bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.final-cta .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,35,41,0.4), rgba(30,35,41,0.85)); }
.final-cta .container { position: relative; text-align: center; }
.final-cta h2 { color: var(--white); }
.final-cta .serif-accent { color: var(--brand); }
.final-cta p { color: rgba(255,255,255,0.82); max-width: 560px; margin: 20px auto 0; }
.final-cta .btn-row { justify-content: center; }
.final-cta .eyebrow { color: rgba(255,255,255,0.8); }
.final-cta .btn-ghost { --btn-fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.6); }
@media (hover: hover) and (pointer: fine) { .final-cta .btn-ghost:hover { background: rgba(255,255,255,0.1); } }

/* ---------- Agence ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split-photo { position: relative; aspect-ratio: 4 / 5; clip-path: var(--roof); overflow: hidden; border-radius: 0 0 var(--radius) var(--radius); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 56px); }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }
.pillar { border-top: 1px solid var(--ink); padding: 22px 0 30px; }
.pillar .num { font-family: var(--f-display); font-weight: 700; font-size: 13px; color: var(--brand-deep); letter-spacing: 0.1em; }
.pillar h3 { font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; margin: 8px 0 10px; }
.pillar p { margin: 0; color: var(--muted); }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .services { grid-template-columns: 1fr; } }
.service { background: var(--white); padding: 24px 22px; }
.service h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.service p { margin: 0; font-size: 14px; color: var(--muted); }
.communes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.communes span { padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.contact-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: clamp(24px, 3vw, 36px); display: grid; gap: 20px; }
.contact-row { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-row .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); display: grid; place-items: center; }
.contact-row .ic svg { width: 20px; height: 20px; }
.contact-row small { display: block; font-family: var(--f-display); font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-row a { text-decoration: none; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .contact-row a:hover { text-decoration: underline; text-underline-offset: 3px; } }

/* ---------- Merci ---------- */
.thanks { min-height: calc(100vh - var(--header-h)); display: grid; align-items: center; padding-block: 56px 88px; }
.thanks-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 860px) { .thanks-grid { grid-template-columns: 1fr; } .thanks-grid .book-stage { order: -1; } }
.check-badge { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; margin-bottom: 28px; }
.check-badge svg { width: 30px; height: 30px; color: var(--white); }
@media (prefers-reduced-motion: no-preference) {
  .check-badge { animation: badge-in 420ms var(--ease-out) 150ms both; }
  .check-badge path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw-check 420ms var(--ease-out) 420ms forwards; }
}
@keyframes badge-in { from { opacity: 0; transform: scale(0.85); } }
@keyframes draw-check { to { stroke-dashoffset: 0; } }
.next-step { margin-top: 40px; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: grid; gap: 6px; }
.next-step h2 { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.next-step p { margin: 0; color: var(--muted); }
.next-step .btn-row { margin-top: 16px; }

/* ---------- Légal ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.todo { background: #fff4d6; padding: 0 4px; border-radius: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.78); padding: 64px 0 32px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img { height: 54px; width: auto; margin-bottom: 18px; }
.site-footer h3 { color: var(--white); font-size: 11.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: rgba(255,255,255,0.78); transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { color: var(--white); } }
.footer-quote { font-family: var(--f-serif); font-style: italic; font-size: 20px; color: var(--white); margin: 0; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.6); }

/* ---------- Barre CTA mobile ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: none; transform: translateY(calc(100% + 24px)); transition: transform 320ms var(--ease-drawer);
}
.mobile-cta .btn { width: 100%; justify-content: center; box-shadow: var(--shadow-lg); }
.mobile-cta.is-visible { transform: none; }
@media (max-width: 860px) { .mobile-cta { display: block; } }

/* ---------- Révélations au scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .hero [data-reveal] { transition-duration: 700ms, 800ms; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation-duration: 120ms !important; }
  ::view-transition-new(root) { animation-name: vt-fade; }
  .book { transform: none !important; }
  *, *::before, *::after { transition-duration: 1ms !important; }
}
@keyframes vt-fade { from { opacity: 0; } }

/* ---------- Ajustements ---------- */
.serif-accent { color: var(--ink); }
.hero-side { position: relative; padding-top: 48px; }
.hero-side .roof-photo { inset: 0 0 auto 0; height: 380px; }
.hero-side .roof-line { height: calc(380px * 0.185); }
.hero-side .book-stage { margin-bottom: -64px; }
.hero-side .book { width: clamp(180px, 18vw, 230px); }
@media (max-width: 900px) {
  .hero-side .roof-photo { height: 320px; }
  .hero-side .roof-line { height: calc(320px * 0.185); }
}
.hero-side { padding-top: 0; }
.hero-side .roof-photo { height: 400px; }
.hero-side .roof-line { height: calc(400px * 0.185); }
.hero-side .book-stage { margin: 0; padding-top: 74px; height: 400px; align-items: start; }
.hero-side .book { width: 196px; }
.hero-side .book-tag { left: -26px; }
.hero-side .form-card { margin-top: -48px; }
@media (max-width: 900px) {
  .hero-side .roof-photo, .hero-side .book-stage { height: 340px; }
  .hero-side .roof-line { height: calc(340px * 0.185); }
  .hero-side .book-stage { padding-top: 64px; }
  .hero-side .book { width: 160px; }
}
.toc { border-top: 0; }
.final-cta .eyebrow { margin: 0 0 20px; }
.tool-sheet .sheet:not(.back) { position: relative; z-index: 1; }
@media (max-width: 520px) {
  .eyebrow { letter-spacing: 0.2em; font-size: 11px; }
  .eyebrow::after { display: none; }
  .eyebrow.center::before { display: none; }
  .hero-meta { letter-spacing: 0.14em; gap: 6px 14px; }
  .hero-meta span + span::before { margin-right: 10px; }
}
.hero-side .roof-photo, .hero-side .book-stage { height: 340px; }
.hero-side .roof-line { height: calc(340px * 0.185); }
.hero-side .book-stage { padding-top: 62px; }
.hero-side .book { width: 172px; }
.hero-side .book-tag { top: auto; bottom: 16%; left: -30px; }
@media (min-width: 901px) { .hero:has(.hero-side) { padding-top: 40px; } .hero:has(.hero-side) .hero-grid { align-items: start; } .hero:has(.hero-side) .hero-copy { padding-top: 72px; } }
.menu-open .mobile-cta { transform: translateY(calc(100% + 24px)); }
