:root {
  --paper: #f9f4ea;
  --paper-2: #f2e9d6;
  --card: #fffdf8;
  --ink: #1b2a4a;
  --ink-soft: #4a5775;
  --blue: #1f4e9e;
  --blue-soft: #dfe8f7;
  --green: #2f7a3b;
  --green-soft: #e1eed9;
  --orange: #e2522b;
  --orange-soft: #fbe2d7;
  --sun: #f2a516;
  --sun-soft: #fdefc9;

  --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);

  --f-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --f-body: "Nunito", system-ui, sans-serif;
  --f-hand: "Caveat", cursive;

  --r: 22px;
  --shadow-page: 0 1px 2px rgba(27, 42, 74, 0.08), 0 12px 32px -8px rgba(27, 42, 74, 0.22);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .47 0 0 0 0 .33 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }

button, a, [role="button"], [role="radio"], summary, label {
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

.c-blue { color: var(--blue); }
.c-green { color: var(--green); }
.c-orange { color: var(--orange); }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(34px, 5vw, 58px); }
h3 { font-size: 22px; line-height: 1.15; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }

.eyebrow {
  display: inline-block;
  font: 700 13px/1 var(--f-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.note {
  font: 700 26px/0.95 var(--f-hand);
  color: var(--orange);
  position: absolute;
  transform: rotate(-6deg);
  pointer-events: none;
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  background: var(--bg);
  color: #fff;
  font: 800 17px/1 var(--f-body);
  text-decoration: none;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12) inset, 0 -3px 0 rgba(0, 0, 0, 0.14) inset, 0 8px 20px -8px rgba(226, 82, 43, 0.7);
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--ghost {
  --bg: transparent;
  color: var(--blue);
  box-shadow: inset 0 0 0 2px var(--blue);
}
.btn--blue { --bg: var(--blue); box-shadow: 0 -3px 0 rgba(0,0,0,.14) inset, 0 8px 20px -8px rgba(31,78,158,.7); }
.btn--light { --bg: var(--paper); color: var(--blue); box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.btn--wa { --bg: #1f8f4e; box-shadow: 0 -3px 0 rgba(0,0,0,.14) inset, 0 8px 20px -8px rgba(31,143,78,.7); }
.btn--wa svg { width: 22px; height: 22px; fill: currentColor; }

.icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--card);
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 0 0 1.5px rgba(31, 78, 158, 0.18), 0 6px 16px -8px rgba(27, 42, 74, 0.35);
  transition: transform 160ms var(--ease-out), background-color 200ms ease, opacity 200ms ease;
}
.icon-btn:active { transform: scale(0.94); }
.icon-btn:disabled { opacity: 0.35; cursor: default; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { --bg: #cc4521; }
  .btn--ghost:hover { --bg: var(--blue-soft); }
  .btn--light:hover { --bg: #fff; }
  .btn--wa:hover { --bg: #197a42; }
  .btn--blue:hover { --bg: #183f82; }
  .icon-btn:hover { background: var(--blue-soft); }
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 240ms ease, box-shadow 240ms ease;
}
.nav[data-scrolled="true"] {
  background: rgba(249, 244, 234, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 rgba(27, 42, 74, 0.08);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a {
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--blue); } }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand span { font: 800 17px/0.95 var(--f-display); color: var(--blue); }
.brand em { font-style: normal; color: var(--green); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 32px 0 64px; overflow: clip; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }

.hero h1 { font-size: clamp(46px, 7.2vw, 92px); line-height: 0.95; margin-bottom: 26px; }
.hero h1 > span { display: inline; }
.hero h1 > .scribble { display: inline-block; }
.h1-sub { display: block !important; font-size: 0.5em; line-height: 1.05; margin-top: 30px; font-weight: 700; }

.scribble { position: relative; white-space: nowrap; display: inline-block; line-height: 0.95; }
.scribble svg {
  position: absolute;
  left: -2%;
  bottom: -0.1em;
  width: 104%;
  height: 0.16em;
  overflow: visible;
}
.scribble path {
  fill: none;
  stroke: var(--sun);
  stroke-width: max(4px, 0.075em);
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 900ms var(--ease-out) 700ms forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.lede { font-size: 19px; color: var(--ink-soft); max-width: 34ch; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--ink-soft); font-size: 15px; }
.hero__facts strong { color: var(--blue); font-weight: 800; }

.hero__book { position: relative; aspect-ratio: 1 / 1.05; }
.fan {
  position: absolute;
  margin: 0;
  width: 70%;
  top: 6%;
  left: 15%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-page);
  background: var(--card);
  transform-origin: 50% 90%;
  transition: transform 500ms var(--ease-out);
  animation: fan-in 900ms var(--ease-out) backwards;
}
.fan img { width: 100%; }
.fan--1 { --r: -9deg; --x: -18%; --y: 4%; animation-delay: 120ms; }
.fan--2 { --r: 7deg; --x: 17%; --y: 2%; animation-delay: 200ms; }
.fan--3 { --r: -1.5deg; --x: 0%; --y: 0%; animation-delay: 280ms; }
.fan { transform: translate(var(--x), var(--y)) rotate(var(--r)); }
@keyframes fan-in {
  from { opacity: 0; transform: translate(0, 10%) rotate(0deg) scale(0.94); }
}
@media (hover: hover) and (pointer: fine) {
  .hero__book:hover .fan--1 { transform: translate(-26%, 5%) rotate(-13deg); }
  .hero__book:hover .fan--2 { transform: translate(25%, 3%) rotate(11deg); }
  .hero__book:hover .fan--3 { transform: translate(0, -2%) rotate(-1deg) scale(1.02); }
}
.note--hero { right: -2%; bottom: 4%; transform: rotate(-8deg); }

/* ---------- living elements ---------- */
main { overflow-x: clip; }
.fx {
  position: absolute;
  z-index: 1;
  width: calc(var(--w) * 1px);
  pointer-events: none;
  translate: calc(var(--px, 0) * 1px) calc(var(--py, 0) * 1px);
  rotate: calc(var(--pr, 0) * 1deg);
  will-change: translate, rotate;
}
.fx img { width: 100%; }
.js .fx {
  opacity: 0;
  scale: 0.5;
  transition: opacity 500ms var(--ease-out), scale 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: var(--d, 0ms);
}
.js .fx[data-in="true"] { opacity: 1; scale: 1; }
.js .fx--grow { scale: 1 0; transform-origin: 50% 100%; transition-duration: 400ms, 900ms; }
.js .fx--grow[data-in="true"] { scale: 1; }
.fx--final { z-index: 2; }
.moment .fx { z-index: 2; }

.idle-bob { animation: bob 4.2s var(--ease-in-out) infinite alternate; }
.idle-sway { transform-origin: 50% 100%; animation: sway 3.6s var(--ease-in-out) infinite alternate; }
.idle-drift { animation: drift 9s var(--ease-in-out) infinite alternate; }
.idle-fly { animation: fly 7s var(--ease-in-out) infinite alternate; }
.idle-spin { animation: spin 60s linear infinite; }
.idle-flutter { animation: flutter 380ms var(--ease-in-out) infinite alternate; }
.fx:nth-of-type(2n) img { animation-delay: -1.7s; }

@keyframes bob { to { transform: translateY(-12px) rotate(3deg); } }
@keyframes sway { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@keyframes drift { to { transform: translateX(28px); } }
@keyframes fly { from { transform: translate(0, 0) rotate(-4deg); } to { transform: translate(-22px, 16px) rotate(6deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flutter { to { transform: scaleX(0.72) translateY(-3px); } }
.hero__grid { position: relative; z-index: 1; }

/* ---------- moment ---------- */
.moment { position: relative; padding-bottom: 96px; }
.moment__art {
  width: min(1320px, 100% - 24px);
  margin-inline: auto;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16 / 8;
}
.moment__copy {
  position: relative;
  margin-top: -110px;
  background: var(--card);
  border-radius: 28px;
  padding: 48px clamp(24px, 5vw, 64px);
  width: min(880px, 100% - 40px);
  box-shadow: 0 24px 60px -30px rgba(27, 42, 74, 0.35);
  text-align: center;
}
.moment blockquote { margin: 0 0 20px; font: 800 clamp(26px, 3.4vw, 40px)/1.12 var(--f-display); color: var(--blue); }
.moment blockquote p + p { margin-top: 6px; }
.moment__body { color: var(--ink-soft); font-size: 18px; max-width: 58ch; margin-inline: auto; }

/* ---------- section head ---------- */
section { position: relative; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.sec-head p:not(.eyebrow) { color: var(--ink-soft); font-size: 18px; margin-top: 16px; }
.sec-head--left { text-align: left; margin-left: 0; }

/* ---------- how ---------- */
.how { padding: 72px 0 110px; }
.how__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  --tint: var(--blue-soft);
  --accent: var(--blue);
  position: relative;
  background: var(--card);
  border-radius: var(--r);
  padding: 22px 22px 28px;
  box-shadow: 0 0 0 1.5px rgba(27, 42, 74, 0.06), 0 18px 40px -26px rgba(27, 42, 74, 0.35);
}
.card--green { --tint: var(--green-soft); --accent: var(--green); }
.card--orange { --tint: var(--orange-soft); --accent: var(--orange); }
.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: 14px;
  background: var(--tint);
  margin-bottom: 22px;
}
.card h3 { color: var(--accent); margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 16px; }
.card__num {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font: 800 22px/1 var(--f-display);
  box-shadow: 0 0 0 5px var(--card);
  z-index: 1;
}

/* ---------- placeholder ---------- */
.placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 30%, rgba(242,165,22,.22) 0 18%, transparent 19%),
    radial-gradient(circle at 78% 70%, rgba(47,122,59,.18) 0 16%, transparent 17%),
    var(--blue-soft);
  box-shadow: inset 0 0 0 2px rgba(31,78,158,.18);
}
.placeholder span {
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px dashed rgba(31,78,158,.4);
  font: 700 26px/1 var(--f-hand);
  color: var(--blue);
  background: rgba(255,253,248,.7);
}
.placeholder--sun { background-color: var(--sun-soft); }

/* ---------- books ---------- */
.books { padding: 40px 0 120px; }
.books__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.book {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 0 0 1.5px rgba(27,42,74,.07), 0 30px 60px -36px rgba(27,42,74,.45);
}
.book__body { padding: 32px 36px 36px; }
.book__age {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}
.book--livro .book__age { background: var(--sun); color: var(--ink); }
.book h3 { font-size: clamp(28px, 3vw, 36px); color: var(--blue); margin-bottom: 8px; }
.book__lede { color: var(--ink-soft); font-size: 17px; margin-bottom: 22px; }
.book .checks { margin: 0; }


/* ---------- teachers ---------- */
.teach { padding: 40px 0 120px; }
.teach__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.teach__img { margin: 0; position: relative; }
.teach__img img { border-radius: 8px; box-shadow: var(--shadow-page); transform: rotate(-2deg); }
.teach__img::after {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: 120px;
  height: 30px;
  transform: translateX(-50%) rotate(-3deg);
  background: repeating-linear-gradient(90deg, rgba(95,158,221,.75) 0 14px, rgba(126,178,232,.75) 14px 28px);
  border-radius: 2px;
}
.teach__copy h2 { margin-bottom: 22px; }
.teach__copy > p:not(.eyebrow) { color: var(--ink-soft); font-size: 18px; margin-bottom: 22px; }

.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; font-weight: 700; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checks--sun li::before { background-color: var(--sun); }

/* ---------- inside ---------- */
.inside { padding: 100px 0; background: var(--blue); color: #fff; border-radius: 48px; width: min(1320px, 100% - 24px); margin-inline: auto; }
.inside .eyebrow { color: var(--sun); }
.inside h2 .c-blue { color: #fff; }
.inside h2 .c-orange { color: #ffb08f; }
.inside h2 .c-green { color: #a9dc8f; }
.common { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.common__img {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--paper);
  box-shadow: 0 16px 30px -18px rgba(0,0,0,.5);
  transform: rotate(var(--tilt, -1.5deg));
}
.common li:nth-child(even) .common__img { --tilt: 1.5deg; }
.common__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.common__img--low img { object-position: 50% 100%; }
.common h3 { font-size: 22px; margin-bottom: 6px; }
.common p { color: rgba(255,255,255,.8); font-size: 16px; }


/* ---------- turma ---------- */
.turma { padding: 110px 0 40px; }
.turma__card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 48px 56px 48px 200px;
  border-radius: 32px;
  background: var(--sun-soft);
  box-shadow: inset 0 0 0 2px rgba(242, 165, 22, 0.35);
}
.turma__card h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 12px; }
.turma__card p:not(.eyebrow) { color: var(--ink-soft); max-width: 52ch; }
.turma__tucano { position: absolute; left: 18px; bottom: 18px; width: 170px; }

/* ---------- pricing ---------- */
.price { padding: 100px 0 110px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; align-items: start; }
.plan {
  position: relative;
  background: var(--card);
  border-radius: 28px;
  padding: 40px 36px 32px;
  box-shadow: 0 0 0 1.5px rgba(27, 42, 74, 0.07), 0 30px 60px -36px rgba(27, 42, 74, 0.45);
}
.plan--jardim { box-shadow: 0 0 0 3px var(--green), 0 30px 60px -30px rgba(47, 122, 59, 0.45); }
.plan--livro { box-shadow: 0 0 0 3px var(--sun), 0 30px 60px -30px rgba(242, 165, 22, 0.5); }
.plan__badge {
  position: absolute;
  top: -15px;
  left: 32px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.plan--jardim .plan__badge { background: var(--green); }
.plan__badge--sun { background: var(--sun); color: var(--ink); }
.plan h3 { font-size: 30px; color: var(--blue); }
.plan__desc { color: var(--ink-soft); margin: 6px 0 18px; }
.plan__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.plan__price s { color: var(--ink-soft); font-weight: 700; }
.plan__price strong { font: 800 54px/1 var(--f-display); color: var(--orange); letter-spacing: -0.02em; }
.plan__fine { text-align: center; color: var(--ink-soft); font-size: 14px; margin-top: 14px; }

.gift {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 44px;
  font: 700 28px/1.1 var(--f-hand);
  color: var(--green);
  text-align: center;
}
.gift img { width: 44px; }

/* ---------- faq ---------- */
.faq { padding: 40px 0 120px; }
.faq__wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
.faq__list { display: grid; gap: 12px; }
details {
  background: var(--card);
  border-radius: 18px;
  box-shadow: 0 0 0 1.5px rgba(27, 42, 74, 0.07);
}
summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 60px 20px 24px;
  font-weight: 800;
  font-size: 18px;
  color: var(--blue);
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sun-soft);
  color: var(--orange);
  font-size: 22px;
  transition: transform 220ms var(--ease-out);
}
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 24px 22px; color: var(--ink-soft); }
details::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 260ms var(--ease-out), content-visibility 260ms allow-discrete;
}
details[open]::details-content { block-size: auto; }
:root { interpolate-size: allow-keywords; }

/* ---------- final ---------- */
.final { position: relative; min-height: 88svh; display: grid; align-items: end; overflow: hidden; margin: 0 12px; border-radius: 48px 48px 0 0; }
.final__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 34, 68, 0) 30%, rgba(20, 34, 68, 0.72) 100%);
}
.final__copy { position: relative; z-index: 2; padding: 0 0 80px; color: #fff; text-align: center; }
.final h2 { font-size: clamp(40px, 6vw, 76px); margin-bottom: 12px; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.final p { font-size: 20px; margin-bottom: 30px; opacity: 0.92; }

/* ---------- footer ---------- */
.foot { background: var(--blue); color: rgba(255, 255, 255, 0.8); padding: 40px 0 calc(40px + env(safe-area-inset-bottom, 0px)); margin: 0 12px; }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; }
.foot .brand span, .foot .brand em { color: #fff; }
.foot a { text-decoration: none; }

/* ---------- sticky bar (mobile) ---------- */
.bar {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(calc(100% + 30px));
  transition: transform 320ms var(--ease-drawer);
}
.bar strong { font: 800 20px/1 var(--f-display); }
.bar small { opacity: 0.7; font-size: 13px; margin-right: 4px; }
.bar[data-show="true"] { transform: translateY(0); }

/* ---------- reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js .reveal[data-in="true"] { opacity: 1; transform: none; }
.js .reveal-clip { clip-path: inset(8% 8% 8% 8% round 28px); transition: clip-path 1100ms var(--ease-in-out); }
.js .reveal-clip img { transform: scale(1.08); transition: transform 1400ms var(--ease-out); }
.js .reveal-clip[data-in="true"] { clip-path: inset(0 0 0 0 round 28px); }
.js .reveal-clip[data-in="true"] img { transform: scale(1); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__inner { justify-content: space-between; }
  .hero__grid, .teach__grid, .faq__wrap, .books__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 8px; }
  .hero__book { max-width: 520px; width: 100%; margin: 12px auto 0; }
  .fx { width: calc(var(--w) * 0.62px); }
  .fx--sm-hide { display: none; }
  .hero .fx--sol { top: auto !important; bottom: 40%; right: 6% !important; }
  .how__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .common { grid-template-columns: 1fr 1fr; }
  .books__grid { max-width: 560px; margin: 0 auto; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .turma__card { grid-template-columns: 1fr; padding: 150px 28px 32px; }
  .turma__tucano { top: 18px; bottom: auto; width: 130px; }
  .teach__img { max-width: 480px; margin: 0 auto; }
  .moment__art { aspect-ratio: 4 / 3; }
  .moment__copy { margin-top: -60px; padding: 36px 24px; }
  .bar { display: flex; }
  .turma .btn { width: 100%; white-space: nowrap; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__cta .btn { width: 100%; }
  .inside { border-radius: 32px; }
  .common { grid-template-columns: 1fr; }
  .book__body { padding: 26px 24px 28px; }
  .inside { padding: 72px 0; }
  .final { border-radius: 32px 32px 0 0; min-height: 76svh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fx img, .fan, .scribble path { animation: none !important; }
  .fx { translate: none; rotate: none; }
  .js .fx { scale: 1; transition: opacity 300ms ease; }
  .scribble path { stroke-dashoffset: 0; }
  .js .reveal { transform: none; transition: opacity 300ms ease; }
  .js .reveal-clip, .js .reveal-clip img { clip-path: none; transform: none; transition: none; }
  .bar { transition: opacity 200ms ease; }
}
