/* LyLygo — « Lilas joyeux » */
:root {
  --bg: #fffaf4;
  --surface: #ffffff;
  --ink: #2e1a33;
  --muted: #5a4560;
  --plum: #9a2c86;
  --plum-hover: #7d2170;
  --plum-soft: #c23a8c;
  --lilac-50: #f8f0ff;
  --lilac-100: #f0e2ff;
  --lilac-200: #e0c8fb;
  --lilac-300: #c8a2f2;
  --sage-50: #eafaf3;
  --sage-100: #d2f3e5;
  --sage-200: #a6e5cc;
  --sage-700: #1d7558;
  --blush-50: #fff2ec;
  --blush-100: #ffdccd;
  --blush-200: #ffbea5;
  --sun-100: #fff0b8;
  --sun-200: #ffdc66;
  --sun-700: #8a5a00;
  --line: #f1e3ea;
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 28px;
  --shadow: 0 24px 48px -32px rgba(46, 31, 51, .35);
  --display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --sans: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; color: var(--ink); letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1em; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
blockquote { margin: 0; }
:focus-visible { outline: 2px solid var(--plum); 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; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 359px) { .container { padding: 0 16px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: 20px; height: 20px; }
.icon--xs { width: 16px; height: 16px; }

/* Eyebrow label */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 6px 14px 6px 10px; border: 1px solid var(--lilac-200); border-radius: 999px; background: var(--surface); font-size: .875rem; font-weight: 500; letter-spacing: .01em; color: var(--plum); line-height: 1.4; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--plum-soft); box-shadow: 10px 0 0 var(--sun-200); margin-right: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 24px; border-radius: 999px; border: 1px solid transparent; font-family: var(--sans); font-weight: 500; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.btn--primary { background: var(--plum); color: #fff; }
.btn--primary:hover { background: var(--plum-hover); transform: translateY(-1px); }
.btn--ghost { background: var(--surface); color: var(--plum); border-color: var(--lilac-300); }
.btn--ghost:hover { border-color: var(--plum); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: .95rem; white-space: nowrap; }
.btn--lg { min-height: 60px; padding: 14px 34px; font-size: 1.125rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; color: var(--plum); font-weight: 500; text-decoration: underline; text-decoration-color: var(--lilac-300); text-underline-offset: 6px; text-decoration-thickness: 1px; }
.link-arrow:hover { text-decoration-color: var(--plum); }
.link-arrow .icon { transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 244, .96); border-bottom: 1px solid transparent; transition: border-color .25s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin-right: auto; font-family: var(--display); font-size: 1.45rem; font-weight: 500; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.logo__mark { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--plum); background: radial-gradient(circle at 50% 50%, var(--lilac-300) 0 4px, transparent 4.5px); flex: none; }
.site-nav { display: flex; width: 100%; order: 5; gap: 4px 20px; padding-bottom: 8px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 500; color: var(--ink); }
.site-nav a:hover { color: var(--plum); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--lilac-300); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--lilac-200); background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; padding: 0; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .js .site-header__inner { flex-wrap: nowrap; }
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; width: auto; flex-direction: column; gap: 0; padding: 8px 20px 16px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -24px rgba(46, 31, 51, .45); }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav a { min-height: 54px; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
  .js .site-nav a:last-child { border-bottom: 0; }
}
@media (max-width: 379px) {
  .site-header__inner { gap: 8px 6px; }
  .logo { font-size: 1.25rem; gap: 6px; }
  .logo__mark { width: 16px; height: 16px; }
  .site-header .btn--sm { padding: 8px 12px; font-size: .875rem; }
}
@media (min-width: 900px) {
  .site-header__inner { flex-wrap: nowrap; gap: 28px; }
  .site-nav { width: auto; order: 0; padding: 0; gap: 30px; margin-left: auto; }
  .logo { margin-right: 0; }
}

/* Hero */
.hero { padding: 28px 0 64px; }
.hero__grid { display: grid; grid-template-areas: "text" "visual" "meta"; gap: 28px; }
.hero__text { grid-area: text; }
.hero__visual { grid-area: visual; }
.hero__meta { grid-area: meta; }
.hero h1 { font-size: clamp(2.45rem, 9.6vw, 4.6rem); font-weight: 300; line-height: 1.04; letter-spacing: -.035em; margin-bottom: 20px; }
.hero h1 span { color: var(--plum-soft); }
.hero__lead { font-size: 1.0625rem; color: var(--muted); max-width: 40ch; margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9375rem; color: var(--muted); }
.hero__meta li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); line-height: 1.4; }

.hero__panel { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: center; padding: 40px 20px 48px; border-radius: var(--r-lg); background: var(--sun-100); border: 1px solid var(--sun-200); }
.hero__circle { position: absolute; z-index: -1; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--blush-100); left: 50%; top: 50%; transform: translate(-50%, -46%); }
.hero__ring { position: absolute; z-index: -1; width: 90%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--lilac-300); left: 50%; top: 50%; transform: translate(-43%, -52%); }

@media (max-width: 559px) {
  .hero__actions .btn { width: 100%; }
}
@media (min-width: 900px) {
  .hero { padding: 48px 0 40px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; grid-template-areas: "text visual" "meta visual"; column-gap: 64px; row-gap: 32px; align-items: end; }
  .hero__text { padding-top: 24px; }
  .hero__meta { align-self: start; }
  .hero__lead { font-size: 1.1875rem; }
  .hero__panel { padding: 64px 40px 72px; min-height: 560px; }
}

/* 3D book */
.book { position: relative; z-index: 1; width: min(58vw, 250px); perspective: 1600px; }
.book__inner { position: relative; transform: rotateY(-12deg) rotateX(2deg); transform-style: preserve-3d; transition: transform .6s ease; }
.book:hover .book__inner { transform: rotateY(-6deg) rotateX(1deg); }
.book__cover { position: relative; z-index: 2; width: 100%; border-radius: 3px 8px 8px 3px; box-shadow: 0 30px 50px -22px rgba(46, 31, 51, .55), 0 10px 18px -10px rgba(46, 31, 51, .3); }
.book__inner picture { position: relative; display: block; }
.book__inner picture::after { content: ""; position: absolute; z-index: 3; top: 0; bottom: 0; left: 0; width: 7%; border-radius: 3px 0 0 3px; background: linear-gradient(90deg, rgba(46, 31, 51, .2), rgba(255, 255, 255, .25) 35%, rgba(46, 31, 51, .07) 60%, transparent); pointer-events: none; }
.book__pages { position: absolute; z-index: 1; top: 1.2%; bottom: 1.2%; right: -9px; width: 18px; border-radius: 0 6px 6px 0; background: repeating-linear-gradient(90deg, #fffdfb 0 2px, #e8e1ea 2px 3px); box-shadow: 4px 8px 16px -8px rgba(46, 31, 51, .4); }
@media (min-width: 900px) { .book { width: 320px; } }
@media (min-width: 1200px) { .book { width: 340px; } }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tint { background: var(--lilac-50); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: grid; gap: 18px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2.05rem, 6.4vw, 3.4rem); font-weight: 300; letter-spacing: -.03em; max-width: 18ch; }
.section-head__lead { margin: 0; font-size: 1.0625rem; color: var(--muted); max-width: 52ch; }
@media (min-width: 960px) {
  .section-head { grid-template-columns: 1.15fr .85fr; column-gap: 64px; align-items: end; margin-bottom: 64px; }
  .section-head__lead { font-size: 1.125rem; padding-bottom: 6px; }
}

/* Timeline */
.timeline { position: relative; }
.tl { position: relative; display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; align-content: start; padding-bottom: 34px; }
.tl::before { content: ""; position: absolute; left: 23.5px; top: 52px; bottom: 4px; width: 1px; background: var(--lilac-300); }
.tl:last-child { padding-bottom: 0; }
.tl:last-child::before { display: none; }
.tl__num { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--lilac-300); font-family: var(--display); font-size: .95rem; font-weight: 500; color: var(--plum); }
.tl:nth-child(1) .tl__num { background: var(--sun-100); border-color: var(--sun-200); }
.tl:nth-child(2) .tl__num { background: var(--blush-100); border-color: var(--blush-200); }
.tl:nth-child(3) .tl__num { background: var(--sage-100); border-color: var(--sage-200); }
.tl:nth-child(4) .tl__num { background: var(--lilac-100); border-color: var(--lilac-300); }
.tl:last-child .tl__num { background: var(--plum); border-color: var(--plum); color: #fff; }
.tl__when { font-size: 1.3rem; font-weight: 500; letter-spacing: -.015em; margin: 10px 0 6px; }
.tl__sub { font-style: italic; color: var(--plum-soft); margin: 0 0 6px; }
.tl__text { margin: 0; color: var(--muted); }
@media (min-width: 1000px) {
  .timeline { display: grid; grid-template-columns: repeat(5, 1fr); column-gap: 28px; }
  .tl { grid-template-columns: 1fr; padding-bottom: 0; }
  .tl::before { left: 60px; right: -16px; top: 23.5px; bottom: auto; width: auto; height: 1px; }
  .tl__when { margin-top: 24px; font-size: 1.25rem; }
  .tl__sub, .tl__text { font-size: 1rem; }
}

/* Pourquoi ce livre */
.why { display: grid; gap: 16px; margin-top: 64px; }
.why__photo { border-radius: var(--r-lg); overflow: hidden; background: var(--lilac-100); }
.why__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 55% 40%; }
.why__card { display: flex; flex-direction: column; padding: 32px 24px; border-radius: var(--r-lg); background: var(--blush-50); border: 1px solid var(--blush-200); }
.why__card h3 { font-size: clamp(1.6rem, 5vw, 2.1rem); font-weight: 400; margin-bottom: 16px; }
.why__card > p { color: var(--muted); font-size: 1.0625rem; max-width: 50ch; }
.why__quote { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--blush-200); }
.why__quote p { font-family: var(--display); font-weight: 300; font-size: clamp(1.45rem, 4.6vw, 2rem); line-height: 1.25; letter-spacing: -.02em; color: var(--plum); margin: 0 0 12px; }
.why__quote footer { font-size: .9375rem; font-weight: 500; color: var(--muted); }
@media (min-width: 860px) {
  .why { grid-template-columns: 5fr 7fr; gap: 24px; margin-top: 88px; }
  .why__photo { position: relative; min-height: 420px; }
  .why__photo img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .why__card { padding: 48px 52px; }
  .why__card > p { font-size: 1.125rem; margin-bottom: 40px; }
}

/* Phases (two parts of the product) */
.phases { display: grid; gap: 40px; isolation: isolate; }
.phase { position: relative; display: flex; flex-direction: column; padding: 28px 22px 30px; border-radius: var(--r-lg); border: 1px solid; }
.phase::before { content: ""; position: absolute; z-index: -1; left: 16px; right: 16px; bottom: -11px; height: 48px; border-radius: 0 0 var(--r) var(--r); border: 1px solid; border-top: 0; }
.phase--lilac { background: var(--lilac-100); border-color: var(--lilac-200); }
.phase--lilac::before { background: var(--lilac-50); border-color: var(--lilac-200); }
.phase--sage { background: var(--sage-100); border-color: var(--sage-200); }
.phase--sage::before { background: var(--sage-50); border-color: var(--sage-200); }
.phase__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.phase__tag { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: var(--surface); font-size: .875rem; font-weight: 600; color: var(--plum); line-height: 1.4; }
.phase--sage .phase__tag { color: var(--sage-700); }
.phase__num { font-family: var(--display); font-weight: 300; font-size: 3.2rem; line-height: 1; letter-spacing: -.04em; color: var(--plum-soft); opacity: .45; }
.phase--sage .phase__num { color: var(--sage-700); }
.phase__title { font-size: clamp(1.75rem, 5.4vw, 2.3rem); font-weight: 400; margin-bottom: 8px; }
.phase__sub { font-weight: 500; color: var(--plum); margin-bottom: 14px; }
.phase--sage .phase__sub { color: var(--sage-700); }
.phase > p { color: var(--muted); }
.sheet { margin: 6px 0 18px; padding: 20px 20px 10px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.sheet__title { font-size: .875rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.sheet__list li { position: relative; padding: 12px 0 12px 22px; border-top: 1px solid var(--line); line-height: 1.45; }
.sheet__list li:first-child { border-top: 0; }
.sheet__list li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--plum-soft); }
.sheet__list--icons li { display: flex; gap: 14px; align-items: center; padding: 14px 0; font-size: 1.0625rem; }
.sheet__list--icons li::before { display: none; }
.sheet__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sage-100); color: var(--sage-700); flex: none; }
.phase__note { margin: auto 0 0; padding-top: 4px; font-size: 1rem; font-style: italic; color: var(--muted); }
.phase > .phase__note { color: var(--muted); }
@media (min-width: 860px) {
  .phases { grid-template-columns: 1fr 1fr; gap: 24px; }
  .phase { padding: 36px 36px 36px; }
}

/* Sub-headings inside the ebook section */
.subhead { margin: 104px 0 28px; }
.subhead h3 { font-size: clamp(1.75rem, 5vw, 2.4rem); font-weight: 300; letter-spacing: -.03em; }
.subhead p { margin: 6px 0 0; color: var(--muted); }

/* Pillars */
.pillars { display: grid; gap: 14px; }
.pillar { padding: 24px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.pillar__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; margin-bottom: 18px; color: var(--plum); }
.pillar__icon--lilac { background: var(--lilac-100); }
.pillar__icon--sage { background: var(--sage-100); color: var(--sage-700); }
.pillar__icon--blush { background: var(--blush-100); color: #a4361f; }
.pillar__icon--sun { background: var(--sun-100); color: var(--sun-700); }
.pillar h4 { font-size: 1.3rem; font-weight: 500; letter-spacing: -.015em; margin-bottom: 8px; }
.pillar p { margin: 0; color: var(--muted); }
@media (min-width: 600px) { .pillars { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 980px) { .pillars { grid-template-columns: repeat(3, 1fr); } .pillar { padding: 28px 28px 30px; } }

/* Exercises */
.exos { display: grid; gap: 14px; }
.exo { padding: 24px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.exo__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 16px; margin-bottom: 12px; }
.exo h4 { font-size: 1.3rem; font-weight: 500; letter-spacing: -.015em; flex: 1 1 14ch; }
.exo p { margin: 0; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--sage-100); color: var(--sage-700); font-size: .875rem; font-weight: 600; line-height: 1.4; white-space: nowrap; }
@media (min-width: 760px) { .exos { grid-template-columns: 1fr 1fr; gap: 16px; } .exo { padding: 28px 30px; } }

/* Photo + big quote */
.joy { display: grid; gap: 16px; margin-top: 104px; }
.joy__photo { border-radius: var(--r-lg); overflow: hidden; background: var(--sun-100); }
.joy__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; }
@media (min-width: 860px) {
  .joy { grid-template-columns: 1fr 1fr; gap: 24px; }
  .joy__photo { position: relative; min-height: 420px; }
  .joy__photo img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .joy .bigquote { display: flex; flex-direction: column; justify-content: center; padding: 56px 52px; }
  .joy .bigquote p { font-size: clamp(2rem, 3.4vw, 2.9rem); }
}

/* Big quote */
.bigquote { margin: 0; padding: 44px 24px; border-radius: var(--r-lg); background: var(--blush-100); position: relative; overflow: hidden; }
.bigquote::after { content: ""; position: absolute; width: 220px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--blush-200); right: -70px; bottom: -90px; }
.bigquote p { position: relative; margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(1.9rem, 6.6vw, 3.6rem); line-height: 1.12; letter-spacing: -.03em; color: var(--plum); max-width: 20ch; }
.bigquote figcaption { position: relative; margin-top: 20px; font-size: .9375rem; font-weight: 500; color: var(--muted); }
@media (min-width: 860px) { .bigquote { padding: 72px 72px; } .bigquote::after { width: 340px; right: -60px; bottom: -150px; } }

/* Buy box */
.buy { display: grid; margin-top: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.buy__visual { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--lilac-100); overflow: hidden; }
.buy__circle { position: absolute; z-index: -1; width: 240px; aspect-ratio: 1; border-radius: 50%; background: var(--sun-200); }
.buy__cover { width: min(46vw, 190px); border-radius: 3px 7px 7px 3px; box-shadow: 0 24px 40px -20px rgba(46, 31, 51, .5); }
.buy__body { padding: 30px 22px 32px; }
.buy__title { font-size: clamp(1.9rem, 6vw, 2.6rem); font-weight: 400; margin-bottom: 6px; }
.buy__content { color: var(--muted); margin-bottom: 20px; }
.buy__facts { display: grid; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.buy__facts li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.buy__facts .icon { color: var(--sage-700); stroke-width: 2; margin-top: 1px; }
.buy__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin: 26px 0 18px; }
.buy__price { margin: 0; font-family: var(--display); font-weight: 400; font-size: 3rem; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.buy__guarantee { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 1rem; color: var(--muted); }
.buy__guarantee .icon { color: var(--sage-700); margin-top: 1px; }
@media (max-width: 559px) { .buy__row .btn { width: 100%; } }
@media (min-width: 860px) {
  .buy { grid-template-columns: 5fr 7fr; }
  .buy__visual { padding: 56px 40px; }
  .buy__circle { width: 340px; }
  .buy__cover { width: 230px; }
  .buy__body { padding: 52px 56px; }
}

/* About & contact */
.about { display: grid; grid-template-areas: "text" "photo" "contact"; gap: 24px; }
.about__text { grid-area: text; }
.about__photo { grid-area: photo; border-radius: var(--r-lg); overflow: hidden; background: var(--lilac-100); }
.about__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
.contact-card { grid-area: contact; }
.about__text > p { font-size: 1.0625rem; color: var(--ink); max-width: 56ch; }
.about__quote { margin-top: 28px; padding: 4px 0 4px 22px; border-left: 2px solid var(--lilac-300); }
.about__quote p { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(1.4rem, 4.4vw, 1.9rem); line-height: 1.28; letter-spacing: -.02em; color: var(--plum); }

.contact-card { display: grid; gap: 24px; padding: 30px 22px; border-radius: var(--r-lg); background: var(--sage-100); border: 1px solid var(--sage-200); }
.contact-card h3 { font-size: clamp(1.6rem, 5vw, 2.1rem); font-weight: 400; margin-bottom: 12px; }
.contact-card__intro p { margin: 0; color: var(--muted); }
.contact-card__list { display: grid; gap: 4px; margin-top: 14px; }
.contact-card__list a { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-weight: 500; color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-card__list a:hover { color: var(--plum); text-decoration: underline; text-underline-offset: 5px; }
.contact-card__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); color: var(--sage-700); flex: none; }
/* Contact form */
.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .9375rem; font-weight: 500; color: var(--ink); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--sage-200); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(154, 44, 134, .15); }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__note { margin: 0; font-size: .875rem; color: var(--muted); }
.form-notice { margin: 0; padding: 14px 18px; border-radius: var(--r-sm); font-weight: 500; }
.form-notice--ok { background: var(--surface); border: 1px solid var(--sage-200); color: var(--ink); }
.form-notice--erreur { background: #fff1f3; border: 1px solid #f2c4cf; color: #8a1f3c; }
@media (min-width: 900px) {
  .contact-form .btn--block { width: auto; justify-self: start; }
}
@media (min-width: 900px) {
  .about { grid-template-columns: 7fr 5fr; grid-template-areas: "text photo" "contact photo"; column-gap: 24px; row-gap: 24px; align-items: stretch; }
  .about__text { padding: 8px 40px 16px 0; }
  .about__text > p { font-size: 1.125rem; }
  .about__photo { position: relative; min-height: 460px; }
  .about__photo img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .contact-card { gap: 26px; padding: 40px 44px; align-self: end; }
  .contact-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
  .contact-card__actions .btn--block { width: auto; }
  .contact-card__list { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 0; }
}

/* Legal pages */
.page-legal { display: flex; flex-direction: column; min-height: 100vh; }
.page-legal main { flex: 1; }
.legal { padding: 48px 0 96px; }
.legal__card { max-width: 760px; padding: 36px 24px 40px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.legal h1 { font-size: clamp(2.1rem, 7vw, 3.4rem); font-weight: 300; letter-spacing: -.03em; margin-bottom: 22px; }
.legal__lead { font-size: 1.125rem; color: var(--ink); }
.legal p { color: var(--muted); }
.legal p a { display: inline-flex; align-items: center; min-height: 44px; color: var(--plum); font-weight: 500; text-underline-offset: 4px; word-break: break-word; }
.legal .btn { margin-top: 12px; }
.legal__aside { display: none; }
@media (min-width: 900px) {
  .legal { padding: 64px 0 120px; }
  .legal__card { max-width: none; display: grid; grid-template-columns: 7fr 5fr; padding: 0; overflow: hidden; }
  .legal__body { padding: 64px 64px 68px; }
  .legal__aside { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; padding: 48px; background: var(--lilac-100); border-left: 1px solid var(--line); overflow: hidden; }
  .legal__circle { position: absolute; z-index: -1; width: 300px; aspect-ratio: 1; border-radius: 50%; background: var(--blush-100); }
  .legal__aside img { width: 190px; border-radius: 3px 7px 7px 3px; box-shadow: 0 24px 40px -20px rgba(46, 31, 51, .5); }
}

/* Footer */
.site-footer { background: #3b1638; color: #e9e0ee; padding: 56px 0 28px; }
.site-footer__grid { display: grid; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(233, 224, 238, .18); }
.site-footer__logo { display: flex; align-items: center; gap: 9px; margin: 0 0 8px; font-family: var(--display); font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; color: #fff; }
.site-footer__logo .logo__mark { border-color: #e9e0ee; background: radial-gradient(circle at 50% 50%, var(--lilac-300) 0 4px, transparent 4.5px); }
.site-footer__tagline { margin: 0; color: #c9bccf; max-width: 30ch; }
.site-footer__title { margin: 0 0 6px; font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #c9bccf; }
.site-footer__col ul { display: grid; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; word-break: break-word; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-footer__copy { margin: 24px 0 0; font-size: .9375rem; color: #c9bccf; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; } }

/* Reveal (only with JS) — opacity/transform only, never clip-path */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .book__inner, .btn, .link-arrow .icon { transition: none; }
}
