/* Zona de Estudo — one stylesheet, no build.
   Voice: the flyer. Dotted notebook paper, the owl on a light-blue blob,
   a hand-drawn marker frame around the prices, a highlighter stroke on one word.
   Display = Caveat (a teacher's hand). Body = Nunito (rounded, reads well on phones). */

@font-face { font-family: "Caveat"; font-weight: 700; font-display: swap; src: url("/fonts/caveat-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 400 800; font-display: swap; src: url("/fonts/nunito-var.woff2") format("woff2"); }

:root {
  --blue: #3697CA;        /* the owl */
  --blue-deep: #1F6E9E;   /* links, hover */
  --sky: #CFE3EE;         /* the flyer's blob */
  --sky-soft: #EAF3F8;
  --ink: #2B2B2A;         /* the glasses */
  --muted: #5C6670;
  --yellow: #FABB46;      /* the feet → highlighter */
  --paper: #FCFDFE;
  --dot: #D3E0E9;
  --wa: #25D366;
  --wa-deep: #1DA851;
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --body: "Nunito", -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  --wrap: 68rem;
  --r: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 6.2vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.hand { font-family: var(--hand); font-weight: 700; }
.eyebrow { font-family: var(--hand); font-size: clamp(1.5rem, 4.5vw, 2rem); color: var(--blue); margin: 0 0 .25rem; line-height: 1.1; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* highlighter stroke — the yellow feet, used once */
.hl { background: linear-gradient(180deg, transparent 58%, rgba(250,187,70,.75) 58%, rgba(250,187,70,.75) 92%, transparent 92%); padding: 0 .1em; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(252,253,254,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--sky); }
.top .wrap { display: flex; align-items: center; gap: .75rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 2.4rem; height: auto; }
.brand span { font-family: var(--hand); font-size: 1.75rem; line-height: 1; color: var(--blue); white-space: nowrap; }
.lang { display: inline-flex; border: 2px solid var(--sky); border-radius: 999px; overflow: hidden; font-weight: 800; font-size: .8rem; letter-spacing: .06em; }
.lang a, .lang span { padding: .35rem .65rem; text-decoration: none; color: var(--muted); }
.lang span { background: var(--sky); color: var(--ink); }
.lang a:hover { color: var(--ink); }
.top .btn-wa { padding: .5rem .8rem; font-size: .95rem; }
.top .btn-wa .lbl { display: none; }
@media (min-width: 40em) { .top .btn-wa .lbl { display: inline; } }
.nav { display: flex; gap: .4rem; overflow-x: auto; padding: .5rem 1.25rem .7rem; scrollbar-width: none; max-width: var(--wrap); margin: 0 auto; }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: 0 0 auto; text-decoration: none; color: var(--ink); background: var(--sky-soft); border-radius: 999px; padding: .35rem .85rem; font-weight: 700; font-size: .92rem; }
.nav a:hover { background: var(--sky); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.3rem; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid transparent; transition: transform .12s ease, background .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-deep); color: #fff; }
.btn-ghost { border-color: var(--blue); color: var(--blue-deep); background: transparent; }
.btn-ghost:hover { background: var(--sky-soft); }
.btn-big { width: 100%; justify-content: center; padding: 1.05rem 1.3rem; font-size: 1.1rem; }
@media (min-width: 40em) { .btn-big { width: auto; } }

/* ---------- hero: dotted paper + blob + owl ---------- */
.hero { position: relative; overflow: hidden; background-image: radial-gradient(var(--dot) 1.3px, transparent 1.4px); background-size: 22px 22px; }
.hero .wrap { display: grid; gap: 2rem; padding-top: 2.5rem; padding-bottom: 2.5rem; align-items: center; }
@media (min-width: 52em) { .hero .wrap { grid-template-columns: 1.15fr .85fr; padding-top: 3.5rem; padding-bottom: 3.5rem; } }
.hero p.lead { font-size: 1.15rem; max-width: 34rem; }
.hero .cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.owl-stage { position: relative; display: grid; place-items: center; min-height: 18rem; }
.owl-stage::before { content: ""; position: absolute; inset: 6% 8%; background: var(--sky); border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%; transform: rotate(-6deg); }
.owl-stage img { position: relative; width: min(60%, 18rem); }
.owl-stage .note { position: absolute; right: 4%; bottom: 4%; font-family: var(--hand); font-size: 1.5rem; color: var(--ink); transform: rotate(-4deg); }

/* ---------- sections ---------- */
.section { padding: 3.25rem 0; }
.section-alt { background: var(--sky-soft); }
.section h2 { max-width: 30ch; }

/* why: four marker-written figures */
.tiles { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); margin: 1.5rem 0; }
@media (min-width: 52em) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { background: #fff; border: 1.5px solid var(--sky); border-radius: var(--r); padding: 1.1rem 1rem; }
.tile b { display: block; font-family: var(--hand); font-size: 2.6rem; line-height: 1; color: var(--blue); }
.tile span { display: block; font-weight: 700; margin-top: .3rem; }
.tile small { display: block; color: var(--muted); font-size: .9rem; margin-top: .15rem; }

/* prices: the flyer's box — blob + hand-drawn double frame */
.flyer { position: relative; max-width: 36rem; margin: 1.5rem auto 0; padding: 2rem 1.25rem; text-align: center; }
.flyer::before { content: ""; position: absolute; inset: -4% -6%; background: var(--sky); border-radius: 62% 38% 48% 52% / 44% 56% 44% 56%; z-index: 0; }
.frame { position: relative; z-index: 1; border: 2.5px solid var(--ink); border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; padding: 1.6rem 1.2rem 1.4rem; background: rgba(252,253,254,.55); }
.frame::after { content: ""; position: absolute; inset: -7px; border: 2px solid var(--ink); border-radius: 15px 225px 15px 255px / 255px 15px 225px 15px; transform: rotate(.6deg); pointer-events: none; }
.frame .hand { font-size: 2.2rem; color: var(--ink); margin: 0 0 .75rem; line-height: 1; }
.plist { list-style: none; margin: 0; padding: 0; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 1.02rem; }
.plist li { padding: .45rem 0; border-top: 1.5px dashed rgba(43,43,42,.25); }
.plist li:first-child { border-top: 0; }
.plist .price { color: var(--blue-deep); white-space: nowrap; }
.frame .fine { margin: .9rem 0 0; font-size: .95rem; color: var(--muted); letter-spacing: 0; text-transform: none; }
.prices-note { max-width: 36rem; margin: 2.5rem auto 0; text-align: center; color: var(--muted); }

.workshops { max-width: 36rem; margin: 2.5rem auto 0; background: #fff; border: 1.5px solid var(--sky); border-radius: var(--r); padding: 1.1rem 1.4rem; }
.workshops h3 { margin-bottom: .35rem; }
.workshops p { margin: 0; color: #3b444c; }

/* how: a real sequence */
.steps { list-style: none; counter-reset: s; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 52em) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; background: #fff; border-radius: var(--r); padding: 1.2rem 1.2rem 1.2rem 4rem; position: relative; border: 1.5px solid var(--sky); }
.steps li::before { content: counter(s); position: absolute; left: 1.1rem; top: .85rem; font-family: var(--hand); font-size: 2.4rem; line-height: 1; color: var(--blue); }
.steps b { display: block; margin-bottom: .2rem; }

/* photos */
.photos { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); margin-top: 1.5rem; }
@media (min-width: 52em) { .photos { grid-template-columns: 1.4fr 1fr 1fr; } }
.photos figure { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--sky); }
.photos img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photos figure:first-child { grid-column: 1 / -1; }
@media (min-width: 52em) { .photos figure:first-child { grid-column: auto; grid-row: span 1; } }
.photos figcaption { font-size: .85rem; color: var(--muted); padding: .4rem .2rem 0; }

/* reviews */
.rating { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.stars { color: var(--yellow); letter-spacing: .1em; font-size: 1.25rem; }
.reviews { display: grid; gap: 1rem; }
@media (min-width: 52em) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { background: #fff; border: 1.5px solid var(--sky); border-radius: var(--r); padding: 1.25rem; margin: 0; }
.review p { font-size: 1rem; }
.review footer { font-size: .9rem; color: var(--muted); font-weight: 700; }

/* faq */
.faq { max-width: 44rem; }
.faq details { border-top: 1.5px solid var(--sky); padding: .35rem 0; }
.faq details:last-child { border-bottom: 1.5px solid var(--sky); }
.faq summary { cursor: pointer; font-weight: 800; padding: .7rem 2rem .7rem 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: .45rem; font-family: var(--hand); font-size: 1.9rem; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1rem; color: #3b444c; }

/* contact */
.contact { display: grid; gap: 2rem; }
@media (min-width: 52em) { .contact { grid-template-columns: 1fr 1fr; align-items: start; } }
.wa-list { display: grid; gap: .75rem; margin: 1.25rem 0; }
.wa-list .btn { justify-content: flex-start; }
.wa-list small { font-weight: 700; opacity: .9; margin-left: auto; }
.card { background: #fff; border: 1.5px solid var(--sky); border-radius: var(--r); padding: 1.4rem; }
.card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .55rem 1rem; }
.card dt { font-weight: 800; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; padding-top: .15rem; }
.card dd { margin: 0; }
.hours { list-style: none; padding: 0; margin: 0; }

/* footer */
.foot { border-top: 1.5px solid var(--sky); padding: 2rem 0 2.5rem; color: var(--muted); font-size: .92rem; }
.foot .wrap { display: grid; gap: .9rem; }
.foot .brand span { font-size: 1.4rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }

/* legal page */
.legal { max-width: 44rem; padding: 2.5rem 0 3rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }

/* 404 */
.lost { text-align: center; padding: 4rem 0; }
.lost img { width: 9rem; margin: 0 auto 1rem; }
