/* Shared styles for the Lilou Books academy pages (/academy, /free, /courses).
   Palette and fonts match workshop-16-10.html. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #fdf8f2;
  --paper: #ffffff;
  --warm-brown: #5c3d2e;
  --gold: #c9a96e;
  --soft-rose: #e8d5c4;
  --pink: #FFB6C1;
  --text: #3a2a1e;
  --light-text: #7a6458;
  --line: #eadfd2;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Heebo', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.75;
  font-size: 18px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--warm-brown); }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
section { padding: 56px 0; }
section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Top bar */
.topbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.topbar .wrap-wide { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.topbar .brand { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.25rem; color: var(--warm-brown); text-decoration: none; letter-spacing: .5px; }
.topbar nav a { margin-inline-start: 18px; text-decoration: none; font-size: .95rem; color: var(--light-text); }
.topbar nav a:hover { color: var(--warm-brown); }
@media (max-width: 600px) { .topbar nav a:not(.keep) { display: none; } }

/* Type */
.eyebrow { display: inline-block; font-size: .85rem; letter-spacing: 1px; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.25; color: var(--warm-brown); font-weight: 700; margin-bottom: 18px; }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); line-height: 1.3; color: var(--warm-brown); margin-bottom: 18px; }
h3 { font-size: 1.2rem; color: var(--warm-brown); margin-bottom: 8px; }
p + p { margin-top: 14px; }
.lead { font-size: 1.15rem; color: var(--light-text); }
.center { text-align: center; }
.latin { font-family: 'Playfair Display', serif; }
strong { color: var(--warm-brown); }

/* Hero */
.hero { padding: 64px 0 48px; text-align: center; }
.hero .lead { max-width: 620px; margin: 0 auto 28px; }
.hero-img { max-width: 360px; margin: 32px auto 0; border-radius: 18px; box-shadow: 0 14px 40px rgba(92,61,46,.15); }

/* Buttons */
.btn {
  display: inline-block; background: var(--warm-brown); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1.1rem; padding: 16px 36px; border-radius: 50px; border: 0; cursor: pointer;
  box-shadow: 0 8px 22px rgba(92,61,46,.25); transition: transform .15s, box-shadow .15s; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(92,61,46,.3); }
.btn.secondary { background: transparent; color: var(--warm-brown); border: 2px solid var(--warm-brown); box-shadow: none; }
.btn.small { font-size: .95rem; padding: 10px 22px; }
.btn-note { display: block; margin-top: 10px; font-size: .9rem; color: var(--light-text); }

/* Proof strip */
.proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: .95rem; color: var(--light-text); margin-top: 22px; }
.proof span::before { content: '✦ '; color: var(--gold); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.card .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .price { font-weight: 700; color: var(--warm-brown); font-size: 1.1rem; }
.card .body .btn { margin-top: auto; align-self: flex-start; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 12px; border-radius: 50px; background: var(--soft-rose); color: var(--warm-brown); align-self: flex-start; }
.tag.soon { background: #eee; color: #777; }

/* Lists */
.checks { list-style: none; }
.checks li { padding-inline-start: 34px; position: relative; margin-bottom: 12px; }
.checks li::before { content: '✓'; position: absolute; inset-inline-start: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--soft-rose); color: var(--warm-brown); font-weight: 700; display: grid; place-items: center; font-size: .85rem; margin-top: 4px; }
.crosses li::before { content: '✕'; background: #f3e6e6; color: #a14b4b; }

/* Modules */
.module { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin-bottom: 16px; }
.module .num { font-family: 'Playfair Display', serif; color: var(--gold); font-size: .95rem; font-weight: 700; }
.module ul { margin-top: 8px; padding-inline-start: 20px; color: var(--light-text); }

/* Bonus */
.bonus { border: 2px dashed var(--gold); border-radius: 16px; padding: 20px 24px; margin-bottom: 14px; background: #fffaf2; }
.bonus .label { color: var(--gold); font-weight: 700; font-size: .9rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.gallery img { border-radius: 14px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }

/* Price box */
.pricebox { background: var(--paper); border: 2px solid var(--gold); border-radius: 22px; padding: 34px 26px; text-align: center; box-shadow: 0 14px 40px rgba(92,61,46,.08); }
.pricebox .was { text-decoration: line-through; color: #a99; font-size: 1.1rem; }
.pricebox .now { font-size: 3rem; font-weight: 700; color: var(--warm-brown); line-height: 1.1; margin: 6px 0; }
.pricebox .now small { font-size: 1.2rem; }
.pricebox .terms { color: var(--light-text); font-size: .95rem; margin-bottom: 22px; }
.pricebox .launch { display: inline-block; background: var(--soft-rose); color: var(--warm-brown); font-weight: 700; padding: 4px 16px; border-radius: 50px; font-size: .9rem; margin-bottom: 10px; }
.includes { text-align: start; max-width: 420px; margin: 0 auto 24px; }

/* Testimonials (placeholders until real ones are added) */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px; font-size: 1rem; }
.quote .who { margin-top: 10px; font-weight: 700; color: var(--warm-brown); font-size: .9rem; }

/* FAQ */
details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; color: var(--warm-brown); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: '+'; display: inline-block; width: 22px; color: var(--gold); font-weight: 700; }
details[open] summary::before { content: '−'; }
details p { margin-top: 10px; color: var(--light-text); }

/* About */
.about { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; }
.about img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 200px; border: 6px solid var(--paper); box-shadow: 0 10px 30px rgba(92,61,46,.15); }
@media (max-width: 640px) { .about { grid-template-columns: 1fr; text-align: center; } .about img { margin: 0 auto; } }

/* Gift form host */
.gift-box { background: var(--paper); border-radius: 22px; padding: 30px 22px; text-align: center; border: 1px solid var(--line); }
[data-gift-form]:not([hidden]) + .gift-fallback { display: none; }

/* Lesson list (student area) */
.lesson { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 14px; overflow: hidden; }
.lesson summary { padding: 16px 20px; }
.lesson .content { padding: 0 20px 20px; }
.video { position: relative; aspect-ratio: 16/9; background: #eee5da; border-radius: 12px; overflow: hidden; display: grid; place-items: center; color: var(--light-text); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

footer { text-align: center; padding: 36px 20px 60px; color: var(--light-text); font-size: .9rem; }
footer a { color: var(--light-text); }

.sticky-cta { position: fixed; bottom: 0; inset-inline: 0; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); padding: 10px 16px; display: none; justify-content: center; align-items: center; gap: 14px; z-index: 50; backdrop-filter: blur(6px); }
.sticky-cta.show { display: flex; }
.sticky-cta .p { font-weight: 700; color: var(--warm-brown); }
