/* Alidiane Sampaio: site styles (taste pass, 2026-10-12)
   Radius rule: interactive = full pill, media + panels = 28px, small surfaces = 18px.
   Accent rule: rose-deep is the only accent (CTAs, emphasis). Sky + blush are background tints only. */

:root {
  --ink: #0c303f;          /* text on light: 13.1:1 on cream */
  --ink-2: #3e5c69;        /* secondary text: 6.7:1 */
  --rose: #e5729f;         /* logo pink: decorative on light, text on dark (4.8:1) */
  --rose-deep: #b23c6d;    /* the accent: buttons (white text 5.6:1), emphasis */
  --rose-deeper: #9c315f;
  --blush: #fbe6ee;
  --sky: #c6e9f6;
  --sky-tint: #e9f5fa;
  --cream: #fff7f0;
  --surface: #fffdfb;
  --dark: #0c303f;
  --dark-2: #12465a;
  --on-dark: #fff7f0;
  --on-dark-2: #b8cdd6;    /* 8.4:1 on dark */
  --line: rgba(12, 48, 63, 0.12);
  --line-dark: rgba(255, 247, 240, 0.16);

  --font-display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(12, 48, 63, 0.05), 0 4px 14px rgba(12, 48, 63, 0.06);
  --shadow: 0 2px 6px rgba(12, 48, 63, 0.05), 0 18px 44px rgba(12, 48, 63, 0.12);

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 10vw, 136px);
  --header-h: 72px;
  --divider-h: clamp(40px, 6vw, 88px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 240ms;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Paper texture over the whole document (scrolls with the page, sits above sections AND dividers,
   so wave boundaries stay seamless). Two tiles: soft mottling (shown 4x) + fibres/grain (1:1). */
body { position: relative; }
body::before {
  content: ""; position: absolute; inset: 0; z-index: 80; pointer-events: none;
  background-image: url("/assets/textures/paper-grain.webp"), url("/assets/textures/paper-cloud.webp");
  background-size: 384px 384px, 1024px 1024px;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--rose); }
p { margin: 0 0 1em; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.accent { color: var(--rose-deep); }
:focus-visible { outline: 3px solid var(--rose-deep); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--blush); color: var(--ink); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: 12px; }
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }

.eyebrow {
  margin: 0 0 22px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose-deep);
}
.section-title { font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.6rem); }
.lead { font-size: clamp(1.1rem, 1rem + 0.35vw, 1.25rem); color: var(--ink-2); line-height: 1.6; max-width: 46ch; }

/* Buttons */
.btn {
  --btn-bg: var(--rose-deep); --btn-fg: #fff; --btn-bg-hover: var(--rose-deeper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; white-space: nowrap;
  border: 1.5px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: background-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
  box-shadow: 0 8px 22px rgba(178, 60, 109, 0.24);
}
.btn:hover { background: var(--btn-bg-hover); color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(178, 60, 109, 0.3); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .icon { width: 22px; height: 22px; }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 0.95rem; box-shadow: none; }
.btn-sm .icon { width: 20px; height: 20px; }
.btn-light { --btn-bg: var(--cream); --btn-fg: var(--ink); --btn-bg-hover: #fff; box-shadow: none; }
.btn-light:hover { box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; color: var(--ink); text-decoration: none;
}
.link-arrow .icon { width: 20px; height: 20px; color: var(--rose-deep); transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.site-header.is-scrolled, .site-header:has(.nav.is-open) {
  background: rgba(255, 247, 240, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line); box-shadow: 0 8px 28px rgba(12, 48, 63, 0.07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: auto; height: 48px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: 0.97rem; font-weight: 500; color: var(--ink); text-decoration: none;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; border-radius: 2px;
  background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn { margin-left: 14px; }
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -8px; padding: 0;
  border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer;
}
.menu-toggle .icon { width: 28px; height: 28px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .brand img { height: 40px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(12, 48, 63, 0.1);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav a:not(.btn) { min-height: 54px; padding: 0 4px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: 18px 0 0; }
}

/* Shape dividers (shape-dividers skill): inside the section they close, filled with the neighbour's colour */
.divider { position: absolute; left: 0; bottom: -1px; width: 100%; overflow: hidden; line-height: 0; pointer-events: none; z-index: 3; }
.divider svg { display: block; width: 100%; height: var(--divider-h); }
.divider-top { top: -1px; bottom: auto; }
.divider-top svg { transform: rotate(180deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(28px, 5vw, 64px));
  background:
    radial-gradient(ellipse 46% 62% at 82% 26%, rgba(198, 233, 246, 0.95), rgba(198, 233, 246, 0) 70%),
    radial-gradient(ellipse 38% 46% at 6% 22%, rgba(251, 230, 238, 0.95), rgba(251, 230, 238, 0) 70%),
    linear-gradient(180deg, #fbfaf8 0%, #eef6f9 78%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.hero-copy { padding-bottom: calc(var(--divider-h) + clamp(48px, 7vw, 104px)); align-self: center; }
.hero h1 { font-size: clamp(2.5rem, 1.3rem + 3vw, 3.75rem); line-height: 1.04; }
.hero-sub { margin: 26px 0 0; max-width: 36ch; font-size: clamp(1.15rem, 1.02rem + 0.45vw, 1.35rem); line-height: 1.55; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 36px; }

.hero-visual { position: relative; width: min(100% + 120px, 580px); justify-self: center; aspect-ratio: 980 / 1100; margin-bottom: -76px; }
.hero-arch {
  position: absolute; left: 19%; right: 15%; bottom: 0; height: 80%;
  border-radius: 999px 999px 0 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 45%),
    linear-gradient(165deg, #d7eff9 0%, #a9d8ec 100%);
}
.hero-arch::before {
  content: ""; position: absolute; inset: -16px -16px 0 -16px; border-radius: inherit;
  border: 1.5px solid var(--rose); opacity: 0.6;
}
/* Cutout stands in front of the arch, arms free beyond its edges */
.hero-cutout {
  position: absolute; left: 0; bottom: 0; width: 100%; height: auto;
  filter: drop-shadow(0 18px 30px rgba(12, 48, 63, 0.16));
}
.hero-mark {
  position: absolute; z-index: 2; right: 4%; top: 22%; width: 92px; padding: 16px;
  background: var(--surface); border-radius: 50%; box-shadow: var(--shadow);
  transform: rotate(-8deg);
}

/* Hero entrance (load-in stagger) */
@media (prefers-reduced-motion: no-preference) {
  .hero-in { opacity: 0; transform: translateY(18px); animation: rise 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 80ms); }
  .hero-visual.hero-in { transform: translateY(32px); }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 12px; }
  .hero-copy { padding-bottom: 8px; }
  .hero h1 { max-width: 14ch; }
  .hero-visual { width: min(100%, 420px); }
}
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
  .hero-mark { width: 72px; padding: 12px; }
}

/* Sections */
.section { position: relative; padding: var(--section-y) 0; }

/* Warm bokeh background from the original book page, on the light sections.
   Fades to flat cream at the top and bottom so the wave dividers stay seamless. */
.about, #livros, .faq, .learn {
  background:
    linear-gradient(180deg, var(--cream) 0%, rgba(255, 247, 240, 0) 16%, rgba(255, 247, 240, 0) 84%, var(--cream) 100%),
    url("/assets/photos/fundo-bokeh-1920.webp") var(--bokeh-pos, center) / cover no-repeat,
    var(--cream);
}
@media (max-width: 860px) {
  .about, #livros, .faq, .learn {
    background:
      linear-gradient(180deg, var(--cream) 0%, rgba(255, 247, 240, 0) 10%, rgba(255, 247, 240, 0) 90%, var(--cream) 100%),
      linear-gradient(rgba(255, 247, 240, 0.35), rgba(255, 247, 240, 0.35)),
      url("/assets/photos/fundo-bokeh-960.webp") var(--bokeh-pos, center) / cover no-repeat,
      var(--cream);
  }
}

/* About */
.about { --bokeh-pos: 50% 20%; }
.about { background-image: linear-gradient(180deg, var(--cream) 0%, rgba(255, 247, 240, 0) 16%, rgba(255, 247, 240, 0) 84%, var(--cream) 100%), url("/assets/photos/fundo-bokeh-espelhado-1920.webp"); }
@media (max-width: 860px) {
  .about { background-image: linear-gradient(180deg, var(--cream) 0%, rgba(255, 247, 240, 0) 10%, rgba(255, 247, 240, 0) 90%, var(--cream) 100%), linear-gradient(rgba(255, 247, 240, 0.35), rgba(255, 247, 240, 0.35)), url("/assets/photos/fundo-bokeh-espelhado-960.webp"); }
}
.about-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.about-media { position: relative; }
.about-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.about-quote {
  position: absolute; right: clamp(-48px, -4vw, -16px); bottom: clamp(-40px, -3vw, -16px); max-width: 300px; margin: 0;
  padding: 26px 28px; border-radius: var(--r-sm);
  background: var(--rose-deep); color: #fff;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; line-height: 1.32; letter-spacing: -0.01em;
  box-shadow: 0 18px 40px rgba(178, 60, 109, 0.3);
}
.about-copy h2 { margin-bottom: 26px; }
.about-copy > p { color: var(--ink-2); max-width: 58ch; }
.about-copy a { font-weight: 600; color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 28px clamp(28px, 4vw, 56px); margin: 34px 0 0; padding: 0; list-style: none; }
.facts strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem); line-height: 1; letter-spacing: -0.03em; color: var(--rose-deep); }
.facts span { display: block; margin-top: 8px; font-size: 0.95rem; line-height: 1.35; color: var(--ink-2); }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 440px; }
  .about-quote { right: -8px; bottom: -64px; max-width: 250px; font-size: 1.1rem; padding: 20px 22px; }
  .about-copy { margin-top: 84px; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  .facts li { display: grid; grid-template-columns: 9.2rem 1fr; align-items: baseline; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
  .facts li:last-child { border-bottom: 1px solid var(--line); }
  .facts strong { font-size: 1.6rem; }
  .facts span { margin-top: 0; }
}

/* Consultation: photo backdrop with a floating panel */
.consult { min-height: 720px; display: flex; align-items: center; padding: calc(var(--divider-h) + 72px) 0; isolation: isolate; }
.consult-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.consult::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(233, 245, 250, 0) 35%, rgba(233, 245, 250, 0.55) 100%);
}
.consult-panel {
  margin-left: auto; width: min(100%, 520px); padding: clamp(28px, 4vw, 48px);
  background: rgba(255, 253, 251, 0.94); border-radius: var(--r-lg); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.consult-panel h2 { margin-bottom: 10px; }
.consult-panel .lead { margin: 0 0 26px; }
.consult-facts { display: grid; gap: 18px; margin: 0 0 30px; }
.consult-facts > div { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.consult-facts .icon { width: 26px; height: 26px; color: var(--rose-deep); margin-top: 2px; }
.consult-facts h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; letter-spacing: 0; line-height: 1.35; margin: 0 0 4px; }
.consult-facts p { margin: 0; font-size: 0.98rem; line-height: 1.55; color: var(--ink-2); }
.consult-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.consult-cta a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); font-weight: 600; text-decoration: none; }
.consult-cta a:not(.btn):hover { color: var(--rose-deep); }
@media (max-width: 860px) {
  .consult { display: block; min-height: 0; padding: 0 0 calc(var(--divider-h) + 48px); }
  .consult-bg { position: relative; z-index: 0; height: 420px; }
  .consult::before { display: none; }
  .consult-panel { position: relative; margin: -120px auto 0; }
}

/* Books: two-tile bento with different materials */
#livros { --bokeh-pos: 30% 60%; }
.books-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.books-head .lead { margin-top: 18px; }
.books { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.book {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg); text-decoration: none;
  transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
}
.book:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.book-dark { background: var(--dark); color: var(--on-dark); }
.book-sky { background: var(--sky-tint); color: var(--ink); }
.book-media { padding: 22px 22px 0; }
.book-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-sm); transition: transform 700ms var(--ease-out); }
.book:hover .book-media img { transform: scale(1.02); }
.book-body { display: flex; flex: 1; flex-direction: column; padding: 28px clamp(24px, 3vw, 40px) 34px; }
.book h3 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); margin-bottom: 12px; color: inherit; }
.book p { margin: 0 0 24px; font-size: 1rem; max-width: 48ch; }
.book-dark p { color: var(--on-dark-2); }
.book-sky p { color: var(--ink-2); }
.book .link-arrow { margin-top: auto; color: inherit; }
.book-dark .link-arrow .icon { color: var(--rose); }
@media (max-width: 860px) { .books { grid-template-columns: 1fr; } }

/* Testimonials: one marquee (breadth device), pauses on hover/focus */
.testimonials-section {
  background:
    radial-gradient(ellipse 36% 40% at 84% 36%, rgba(229, 114, 159, 0.2), rgba(229, 114, 159, 0) 70%),
    radial-gradient(ellipse 40% 40% at 14% 60%, rgba(255, 247, 240, 0.7), rgba(255, 247, 240, 0) 70%),
    var(--blush);
  overflow: hidden; padding-bottom: calc(var(--divider-h) + 64px); }
.testimonials-section .section-title { max-width: 16ch; margin-bottom: clamp(36px, 5vw, 56px); }
.marquee { display: flex; width: max-content; gap: 20px; padding: 6px 0 12px; }
.marquee-group { display: flex; gap: 20px; }
.quote {
  display: flex; flex-direction: column; width: min(80vw, 460px); margin: 0; padding: 30px 30px 26px;
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.quote .icon { width: 30px; height: 30px; color: var(--rose); margin-bottom: 14px; }
.quote blockquote { margin: 0 0 22px; font-size: 1.04rem; line-height: 1.6; color: var(--ink); }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-weight: 700; }
.avatar {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--sky); color: var(--ink); font-family: var(--font-display); font-weight: 600;
}
@media (prefers-reduced-motion: no-preference) {
  .marquee { animation: marquee 80s linear infinite; }
  .marquee:hover, .marquee:focus-within { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
}
.swipe-hint { display: none; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 0.92rem; font-weight: 600; color: var(--ink-2); }
.swipe-hint .icon { width: 18px; height: 18px; color: var(--rose-deep); }
@media (max-width: 760px) {
  .marquee { animation: none !important; width: auto; padding: 6px var(--gutter) 16px; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .marquee-wrap { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); scrollbar-width: none; }
  .marquee-wrap::-webkit-scrollbar { display: none; }
  .quote { width: 84vw; scroll-snap-align: start; padding: 26px 24px 22px; }
  .swipe-hint { display: flex; margin-bottom: 18px; }
  .testimonials-section .section-title, .proof .section-title { margin-bottom: 10px; }
  .testimonials-section { padding-bottom: calc(var(--divider-h) + 40px); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-wrap { overflow-x: auto; scroll-snap-type: x mandatory; }
  .marquee { width: auto; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .quote { scroll-snap-align: start; }
}

/* FAQ */
.faq { --bokeh-pos: 50% 40%; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq-intro .lead { margin-top: 18px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border-radius: var(--r-sm); box-shadow: var(--shadow-sm); transition: box-shadow var(--dur) var(--ease-out); }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 68px; padding: 16px 20px 16px 26px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 1.02rem + 0.35vw, 1.28rem); letter-spacing: -0.015em; line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 22px; height: 22px; padding: 9px; box-sizing: content-box; border-radius: 50%; background: var(--blush); color: var(--rose-deep); transition: transform var(--dur) var(--ease-out); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 64px 24px 26px; color: var(--ink-2); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-item p { padding-right: 26px; } }

/* Footer: the page's one deliberate colour block (contact CTA + legal bar) */
.site-footer {
  position: relative; overflow: hidden; color: var(--on-dark-2);
  padding: calc(var(--divider-h) + clamp(64px, 8vw, 112px)) 0 36px;
  background:
    radial-gradient(ellipse 40% 60% at 92% 10%, rgba(229, 114, 159, 0.22), rgba(229, 114, 159, 0) 70%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(198, 233, 246, 0.14), rgba(198, 233, 246, 0) 70%),
    var(--dark);
}
.site-footer .divider path { fill: var(--footer-above, var(--cream)); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-copy h2 { color: var(--on-dark); font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.8rem); }
.contact-copy p { margin: 22px 0 32px; max-width: 40ch; font-size: 1.15rem; line-height: 1.6; }
.contact-links { margin: 0; padding: 0; list-style: none; }
.contact-links li + li { border-top: 1px solid var(--line-dark); }
.contact-links a {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 18px;
  padding: 22px 4px; color: var(--on-dark); text-decoration: none;
}
.contact-links .icon { width: 26px; height: 26px; color: var(--rose); }
.contact-links strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem); letter-spacing: -0.015em; line-height: 1.25; overflow-wrap: anywhere; }
.contact-links small { display: block; font-size: 0.88rem; color: var(--on-dark-2); }
.contact-links .go { width: 20px; height: 20px; color: var(--on-dark-2); transition: transform var(--dur) var(--ease-out), color var(--dur) var(--ease-out); }
.contact-links a:hover .go { transform: translate(3px, -3px); color: var(--rose); }
.footer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; margin-top: clamp(56px, 8vw, 96px); padding-top: 26px; border-top: 1px solid var(--line-dark); font-size: 0.92rem; }
.footer-bar p { margin: 0; display: flex; align-items: center; gap: 14px; }
.footer-bar img { width: 40px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark-2); text-decoration: none; }
.footer-links a:hover { color: var(--on-dark); text-decoration: underline; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Book sales pages (same system as the home) ---------- */
.book-hero .hero-grid { align-items: center; }
.book-hero .hero-copy { padding-bottom: calc(var(--divider-h) + clamp(40px, 6vw, 88px)); }
.book-hero .hero-sub { max-width: 40ch; }
.book-price-hint { margin: 18px 0 0; font-size: 0.98rem; color: var(--ink-2); }
.book-price-hint strong { color: var(--ink); }
.book-visual { position: relative; justify-self: center; width: min(100%, 500px); padding-bottom: calc(var(--divider-h) + 24px); }
@media (max-width: 900px) { .book-hero .hero-copy { padding-bottom: 0; } .book-visual { width: min(100% - 24px, 340px); } }
.book-visual .hero-arch { left: 6%; right: 6%; top: 4%; bottom: auto; height: auto; aspect-ratio: 1; border-radius: 50%; }
.book-visual .hero-arch::before { inset: -14px; border-radius: 50%; }
.book-visual img { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 30px 40px rgba(12, 48, 63, 0.25)); }
.book-visual .book-photo { width: 82%; margin: 0 auto; border-radius: var(--r-lg); transform: rotate(-3deg); box-shadow: var(--shadow); filter: none; }

/* Video */
.video-section { background: var(--cream); padding-top: clamp(56px, 7vw, 96px); }
.video-section .lead { margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.video-card {
  position: relative; display: block; width: min(100%, 880px); margin: 0 auto; padding: 0; overflow: hidden;
  aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-lg); background: var(--dark); box-shadow: var(--shadow); cursor: pointer;
}
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.video-card:hover img { transform: scale(1.02); }
.video-card video { display: block; width: 100%; height: 100%; background: #000; }

/* Split story block (image + text) */
.story-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.story-grid img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.story-grid h2 { margin-bottom: 22px; }
.story-grid p { color: var(--ink-2); max-width: 58ch; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } .story-grid img { max-width: 440px; } }

/* What you'll learn */
.learn-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.learn-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.learn-grid > img { width: 100%; max-width: 460px; justify-self: center; filter: drop-shadow(0 26px 36px rgba(12, 48, 63, 0.22)); }
.learn-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.learn-list li {
  display: grid; grid-template-columns: 30px 1fr; gap: 16px; padding: 22px 24px;
  background: rgba(255, 253, 251, 0.86); border-radius: var(--r-sm); box-shadow: var(--shadow-sm);
}
.learn-list .icon { width: 28px; height: 28px; color: var(--rose-deep); }
.learn-list strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 4px; }
.learn-list span { color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.outcomes { display: flex; flex-wrap: wrap; gap: 10px; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; list-style: none; justify-content: center; }
.outcomes li {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: var(--surface); box-shadow: var(--shadow-sm); font-weight: 600; font-size: 0.98rem;
}
.outcomes .icon { width: 20px; height: 20px; color: var(--rose-deep); }
@media (max-width: 860px) { .learn-grid { grid-template-columns: 1fr; } .learn-grid > img { max-width: 320px; } }

/* Bonus lessons: media list */
.bonus { background: var(--blush); }
.bonus-head { max-width: 620px; margin-bottom: clamp(32px, 5vw, 48px); }
.bonus-head .lead { margin-top: 16px; }
.bonus-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.bonus-list li {
  display: grid; grid-template-columns: 168px 1fr; gap: clamp(20px, 3vw, 36px); align-items: center;
  padding: 18px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.bonus-list img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); }
.bonus-list h3 { font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); margin-bottom: 8px; }
.bonus-list p { margin: 0; color: var(--ink-2); max-width: 62ch; }
.bonus-tag { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 0.85rem; font-weight: 700; color: var(--rose-deep); }
.bonus-tag .icon { width: 18px; height: 18px; }
@media (max-width: 640px) { .bonus-list li { grid-template-columns: 1fr; gap: 16px; } .bonus-list img { aspect-ratio: 1 / 1; } .bonus-list li > div { padding: 0 6px 8px; } }

/* Reader proof: three phone screenshots */
.proof { background: var(--cream); }
.proof .section-title { max-width: 18ch; margin-bottom: clamp(36px, 5vw, 56px); }
.proof-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); align-items: start; max-width: 1000px; }
.proof-row img { width: 100%; border-radius: 34px; box-shadow: var(--shadow); }
.proof-row figure { margin: 0; }
.proof-row figure:nth-child(2) { margin-top: 48px; }
.proof-row figure:nth-child(3) { margin-top: 18px; }
@media (max-width: 760px) {
  .proof-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 4px var(--gutter) 24px; margin: 0 calc(-1 * var(--gutter)); scroll-padding-left: var(--gutter); scrollbar-width: none; }
  .proof-row::-webkit-scrollbar { display: none; }
  .proof-row figure { flex: 0 0 82%; scroll-snap-align: start; margin-top: 0 !important; }
}

/* Author (shared by both book pages) */
.author-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.author-grid img { width: 100%; max-width: 380px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.author-grid h2 { margin-bottom: 20px; }
.author-grid p { color: var(--ink-2); max-width: 58ch; }
.author-grid .link-arrow { margin-top: 6px; }
@media (max-width: 860px) { .author-grid { grid-template-columns: 1fr; } .author-grid img { max-width: 300px; } }

/* Offer */
.offer { background: var(--sky-tint); }
.offer-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.offer-card { padding: clamp(28px, 4vw, 48px); background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.offer-card h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); margin-bottom: 20px; }
.offer-includes { display: grid; gap: 10px; margin: 0 0 26px; padding: 0 0 24px; list-style: none; border-bottom: 1px solid var(--line); }
.offer-includes li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink-2); }
.offer-includes .icon { width: 22px; height: 22px; color: var(--rose-deep); margin-top: 2px; }
.offer-price { margin: 0 0 24px; }
.offer-price s { display: block; color: var(--ink-2); font-size: 1rem; }
.offer-price strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 2.2rem + 1.6vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); }
.offer-price span { display: block; margin-top: 4px; color: var(--ink-2); }
.offer-card .btn { width: 100%; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 0.88rem; color: var(--ink-2); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .icon { width: 18px; height: 18px; color: var(--ink-2); }
.guarantee { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; }
.guarantee .icon { width: 64px; height: 64px; padding: 14px; border-radius: 50%; background: var(--surface); color: var(--rose-deep); box-shadow: var(--shadow-sm); box-sizing: border-box; }
.guarantee h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); margin-bottom: 12px; }
.guarantee p { margin: 0; color: var(--ink-2); max-width: 46ch; }
@media (max-width: 860px) { .offer-grid { grid-template-columns: 1fr; } }

/* Legal + 404 pages */
.page-hero {
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(36px, 5vw, 56px);
  background:
    radial-gradient(ellipse 50% 90% at 92% 0%, rgba(198, 233, 246, 0.9), rgba(198, 233, 246, 0) 70%),
    radial-gradient(ellipse 40% 80% at 0% 0%, rgba(251, 230, 238, 0.8), rgba(251, 230, 238, 0) 70%);
}
.page-hero h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); }
.prose { max-width: 70ch; padding-bottom: var(--section-y); color: var(--ink-2); }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); margin: 2.2em 0 0.6em; }
.prose p { margin: 0 0 1.1em; }
.prose a { color: var(--ink); font-weight: 600; }
.not-found { padding-bottom: var(--section-y); }
.not-found h1 { max-width: 15ch; }
.not-found .lead { margin-top: 20px; }
.not-found .hero-actions { margin-top: 32px; }

/* Linktree page (/linktree): link-in-bio for Instagram, no header/footer */
.page-links { min-height: 100vh; min-height: 100dvh; overflow-x: hidden; }
.page-links::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42rem 28rem at 50% -6rem, var(--sky) 0%, rgba(198, 233, 246, 0) 70%),
    radial-gradient(30rem 24rem at 100% 100%, var(--blush) 0%, rgba(251, 230, 238, 0) 70%);
}
.links-page { width: min(100% - 2 * var(--gutter), 520px); margin-inline: auto; padding: clamp(40px, 8vw, 72px) 0 40px; }
.links-head { text-align: center; }
.links-avatar {
  width: 148px; height: 148px; margin: 0 auto 22px; border-radius: 50%; overflow: hidden;
  background: var(--sky-tint); box-shadow: 0 0 0 6px var(--cream), 0 0 0 8px var(--rose), var(--shadow);
}
.links-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.links-head h1 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.5rem); }
.links-head p { max-width: 34ch; margin: 12px auto 0; color: var(--ink-2); line-height: 1.55; text-wrap: balance; }
.links-cta { display: flex; width: 100%; margin-top: 30px; }
.links-list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.links-list a {
  display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 10px 18px 10px 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-sm);
  text-decoration: none; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.links-list a:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(178, 60, 109, 0.3); }
.links-list a:active { transform: scale(0.99); }
.links-list img, .links-icon { width: 56px; height: 56px; flex: none; border-radius: 12px; object-fit: cover; }
.links-icon { display: grid; place-items: center; background: var(--sky-tint); color: var(--rose-deep); }
.links-icon .icon { width: 26px; height: 26px; }
.links-list span:not(.links-icon) { flex: 1; min-width: 0; }
.links-list small { display: block; font-size: 0.85rem; color: var(--ink-2); line-height: 1.3; }
.links-list strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.015em; line-height: 1.25; }
.links-list .go { width: 20px; height: 20px; flex: none; color: var(--ink-2); transition: transform var(--dur) var(--ease-out), color var(--dur) var(--ease-out); }
.links-list a:hover .go { transform: translateX(3px); color: var(--rose-deep); }
.links-foot { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 40px; color: var(--ink-2); font-size: 0.85rem; }
.links-foot img { width: 40px; }
.links-foot p { margin: 0; }

/* Reveal on scroll (IntersectionObserver adds .is-visible) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
