@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');
:root {
  --paper: #fffcf6;
  --ink: #253c3c;
  --muted: #465c5a;
  --deep: #284d4b;
  --aqua: #88c4c2;
  --yellow: #fdd689;
  --lilac: #debedc;
  --pink: #e4a3b9;
  --green: #d9e8c2;
  --line: #d7ded7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 1rem/1.6 Nunito, system-ui, sans-serif; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid #825371; outline-offset: 5px; }
.wrap { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; top: 0; left: 1rem; background: white; z-index: 3; padding: .5rem; transform: translateY(-150%); }
.skip:focus { transform: none; }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header { min-height: 104px; border-bottom: 1px solid var(--line); }
.brand { display: block; flex: none; }
.brand img { display: block; width: 93px; height: auto; }
nav { display: flex; align-items: center; gap: 30px; font-size: .95rem; font-weight: 800; }
nav a { text-decoration: none; }
nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.outline, .button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; border-radius: 40px; padding: 10px 18px; }
.outline { border: 1px solid var(--deep); }
.button { background: var(--deep); color: white; text-decoration: none; font-weight: 800; padding: 14px 24px; }
.button:hover { background: #386763; }
.hero { display: grid; grid-template-columns: 1.03fr 1fr; gap: clamp(30px, 6vw, 82px); align-items: center; padding-block: 64px 78px; }
.label { margin: 0 0 14px; color: var(--deep); text-transform: uppercase; font-weight: 900; font-size: .74rem; letter-spacing: .13em; }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -.045em; font-weight: 900; text-wrap: balance; }
h1 { font-size: clamp(3.35rem, 6.4vw, 6.2rem); }
h2 { font-size: clamp(2.45rem, 5vw, 4.5rem); }
h3 { font-size: clamp(1.65rem, 3.1vw, 2.55rem); }
em { color: #346c69; font-style: normal; }
.lede, .body, .contact p:not(.label) { font-size: 1.115rem; }
.lede { max-width: 43ch; color: var(--muted); margin: 22px 0 27px; }
.hero-art { position: relative; isolation: isolate; display: grid; place-items: center; min-width: 0; aspect-ratio: 1.06; overflow: hidden; border-radius: 46% 46% 12% 12%; background: var(--aqua); }
.sun-frame { display: grid; place-items: center; width: 76%; aspect-ratio: 1; background: var(--paper); border-radius: 49% 51% 42% 58% / 51% 41% 59% 49%; }
.sun-frame img { width: 85%; height: auto; transform: rotate(-9deg); }
.shape { position: absolute; z-index: -1; }
.shape-lilac { width: 66%; aspect-ratio: 1; top: -33%; left: -18%; background: var(--lilac); border-radius: 42%; transform: rotate(33deg); }
.shape-green { width: 69%; aspect-ratio: 1; right: -34%; bottom: -19%; background: var(--green); border-radius: 47%; transform: rotate(-22deg); }
.shape-pink { width: 19%; aspect-ratio: 1; bottom: 5%; left: 5%; border-radius: 50%; background: var(--pink); }
.about, .section, .faq, .contact { padding-block: clamp(57px, 8vw, 104px); }
.about { background: var(--aqua); border-radius: 46px 46px 0 0; }
.about em { color: var(--deep); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(24px, 7vw, 110px); }
.body p, .contact .split > div:last-child > p:first-child { margin-top: 0; }
.body p:last-child, .contact p:last-child { margin-bottom: 0; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
article { background: var(--yellow); padding: clamp(27px, 4vw, 49px); border-radius: 32px; }
article:nth-child(2) { background: var(--lilac); }
article p { color: var(--ink); max-width: 44ch; margin-bottom: 0; }
.ornament { display: block; width: 37px; height: 37px; margin-bottom: 22px; border: 2px solid var(--deep); }
.circle { border-radius: 50%; box-shadow: 6px 4px 0 -2px var(--yellow), 6px 4px 0 var(--deep); }
.arch { border-radius: 50% 50% 4px 4px; }
.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details:first-child { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 800; }
details p { margin-bottom: 0; color: var(--muted); }
.contact { background: var(--green); border-radius: 46px 46px 0 0; }
.status { font-weight: 800; }
.footer { padding-block: 25px; font-size: .9rem; }
.footer .brand img { width: 74px; }
@media (max-width: 800px) {
  .wrap { width: calc(100% - 44px); }
  nav { gap: 15px; }
  .hero { gap: 28px; }
}
@media (max-width: 650px) {
  .header { min-height: 68px; flex-wrap: wrap; gap: 0; padding-block: 8px; }
  .header .brand img { width: 72px; }
  .toggle:not([hidden]) { display: block; background: none; border: 1px solid var(--deep); border-radius: 30px; padding: 6px 17px; }
  nav { width: 100%; flex-wrap: wrap; padding-block: 14px 5px; }
  nav[hidden] { display: none; }
  .hero, .split, .cards { grid-template-columns: 1fr; }
  .hero { padding-block: 40px 46px; }
  .hero-art { max-width: 440px; width: 100%; justify-self: center; }
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.hero-actions .outline { text-decoration: none; font-weight: 800; }
.hero-actions .outline:hover, .resource-preview:hover { background: #fff; }
.resource-library { padding-block: clamp(54px, 8vw, 104px); background: #f0f5e8; border-radius: 46px 46px 0 0; }
.library-intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px 40px; align-items: end; margin-bottom: 30px; }
.library-intro p { max-width: 36ch; margin: 0; font-size: 1.08rem; }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(13px, 2vw, 23px); }
.resource-grid .resource-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.resource-art { aspect-ratio: 16 / 10; overflow: hidden; }
.resource-art > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.resource-art.garden { background: var(--yellow); }
.resource-art.garden img { object-position: center 49%; }
.resource-art.robot { background: var(--green); }
.resource-art.music { display: flex; align-items: center; justify-content: center; gap: 4%; padding: 5%; background: var(--lilac); }
.resource-art.music img { width: 28%; height: auto; border-radius: 15%; box-shadow: 0 3px 0 #23423b18; }
.music img:first-child { transform: rotate(-8deg); }
.music img:last-child { transform: rotate(8deg); }
.resource-body { display: flex; flex-direction: column; align-items: flex-start; flex-grow: 1; padding: clamp(17px, 2.3vw, 25px); }
.resource-body h3 { font-size: clamp(1.46rem, 2.75vw, 2.32rem); text-wrap: initial; }
.resource-body p { margin: 9px 0 17px; }
.resource-body .resource-note { margin: 0 0 8px; font-weight: 800; font-size: .82rem; color: var(--deep); }
.resource-body a { margin-top: auto; text-decoration: none; min-height: 45px; font-weight: 800; padding: 8px 15px; }
@media (max-width: 650px) {
  .library-intro, .resource-grid { grid-template-columns: 1fr; }
  .resource-library { border-radius: 29px 29px 0 0; }
  .resource-art { aspect-ratio: 16 / 8; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.catalog-hero { display: block; text-align: center; padding-block: clamp(40px, 7vw, 92px); }
.catalog-hero .hero-copy { max-width: 780px; margin-inline: auto; }
.catalog-hero h1 { font-size: clamp(3.15rem, 7vw, 6.1rem); }
.catalog-hero .lede { margin-inline: auto; max-width: 48ch; }
.catalog-hero .hero-actions { justify-content: center; gap: 8px 11px; }
.catalog-hero .hero-actions a { gap: 9px; }
.resource-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -9px 0 22px; }
.resource-filters[hidden], .resource-grid .resource-card[hidden] { display: none; }
.resource-filters button { border: 1px solid var(--deep); border-radius: 100px; background: var(--paper); color: var(--deep); padding: 8px 15px; min-height: 43px; font-weight: 800; cursor: pointer; }
.resource-filters button[aria-pressed="true"] { background: var(--deep); color: white; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.resource-body .resource-format { color: var(--deep); font-size: .77rem; line-height: 1.3; font-weight: 850; margin: 0 0 8px; }
.application-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 26px 0 0; list-style: none; }
.application-steps li { border-top: 4px solid var(--aqua); padding: 15px 0 0; }
.application-steps li:nth-child(2) { border-color: var(--lilac); }
.application-steps li:nth-child(3) { border-color: var(--yellow); }
.application-steps strong { font-size: 1.22rem; }
.application-steps p { margin: 6px 0 0; }
.founder { background: #f2e7f1; border-radius: 46px 46px 0 0; padding-block: clamp(45px, 7vw, 88px); }
.founder-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.2fr); align-items: center; gap: clamp(23px, 6vw, 85px); }
.founder-photo { display: block; width: 100%; max-width: 390px; height: auto; border-radius: 28px; justify-self: center; }
.founder-bio { max-width: 59ch; }
.founder-bio .label { margin: 0 0 10px; color: var(--deep); }
.founder-bio h2 { text-wrap: balance; }
.founder-crp { margin: 9px 0 16px; color: var(--deep); font-weight: 850; }
.founder-role { font-size: 1.11rem; font-weight: 800; }
.founder-bio p:last-child { margin-bottom: 0; }
@media (max-width: 650px) {
  .founder { border-radius: 29px 29px 0 0; }
  .founder-layout { grid-template-columns: 1fr; }
  .founder-photo { max-width: 285px; justify-self: start; border-radius: 21px; }
}

@media (max-width: 650px) { .application-steps { grid-template-columns: 1fr; } }
.application-band { background: #fff5de; }
.application-intro { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.application-intro img { width: clamp(56px, 9vw, 100px); height: auto; flex-shrink: 0; }
.application-steps { counter-reset: application; }
.application-steps li { counter-increment: application; border: 0; border-radius: 17px; background: #fff; padding: 18px; }
.application-steps li::before { content: counter(application); display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: var(--aqua); color: var(--deep); font-weight: 850; margin-bottom: 10px; }
.application-steps li:nth-child(2)::before { background: var(--lilac); }
.application-steps li:nth-child(3)::before { background: var(--yellow); }
.site-footer { background: var(--paper); border-top: 1px solid var(--line); }
.site-footer .footer nav { flex-wrap: wrap; justify-content: flex-end; gap: 10px 19px; }
@media (max-width: 650px) { .site-footer .footer nav { justify-content: flex-start; padding-top: 0; } }

/* ---------- Loja ---------- */
.hero-trust { display: inline-flex; align-items: center; gap: 10px; margin: 26px 0 0; font-size: .92rem; color: var(--muted); }
.hero-trust img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center 18%; }
.shop { padding-block: clamp(54px, 8vw, 104px); background: #fff5de; border-radius: 46px 46px 0 0; }
.library-intro .label { margin-bottom: 10px; }
.product-list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.2vw, 26px); }
.product { display: flex; flex-direction: column; padding: 0; overflow: hidden; background: var(--paper); border: 1px solid #efe2c4; border-radius: 28px; }
.product:nth-child(2) { background: var(--paper); }
.product-pages { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; padding: 26px 20px 0; height: 250px; overflow: hidden; border: 0; cursor: zoom-in; background: var(--aqua); }
.product[data-produto="estampas"] .product-pages { background: var(--lilac); }
.product-pages img { width: 44%; height: auto; border-radius: 6px 6px 0 0; box-shadow: 0 6px 18px #23423b30; transition: transform .25s ease; }
.product-pages img:first-child { transform: rotate(-4deg) translate(10px, 10px); z-index: 1; }
.product-pages img:nth-child(2) { transform: rotate(4deg) translate(-10px, 18px); }
.product-pages:hover img:first-child { transform: rotate(-6deg) translate(4px, 0); }
.product-pages:hover img:nth-child(2) { transform: rotate(6deg) translate(-4px, 8px); }
.pages-hint { position: absolute; right: 14px; top: 14px; z-index: 2; background: #fff; color: var(--deep); font-weight: 800; font-size: .8rem; padding: 6px 12px; border-radius: 99px; }
.product-body { display: flex; flex-direction: column; align-items: flex-start; flex-grow: 1; padding: clamp(20px, 2.6vw, 30px); }
.product-body h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.product-body > p:not(.resource-format):not(.price) { margin: 10px 0 16px; }
.price { margin: auto 0 14px; font-size: 1.9rem; font-weight: 900; letter-spacing: -.03em; color: var(--deep); }
.product-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.product-actions .button, .product-actions .outline { min-height: 48px; font-weight: 800; gap: 10px; text-decoration: none; }
.product-actions .outline, .preview-close { background: none; color: var(--deep); cursor: pointer; }
.product-actions .outline:hover { background: #fff; }
.buy-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; counter-reset: compra; }
.buy-steps li { counter-increment: compra; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; padding: 16px; border-radius: 18px; background: #fffcf6aa; border: 1px dashed #e6cf9c; }
.buy-steps li::before { content: counter(compra); grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); font-weight: 900; color: var(--deep); }
.buy-steps strong { font-size: 1.02rem; }
.buy-steps span { font-size: .93rem; color: var(--muted); }
.tag { display: inline-block; margin-right: 6px; padding: 2px 9px; border-radius: 99px; background: var(--green); color: var(--deep); font-weight: 900; }
.resource-art.story { background: #f3e6f1; }
.resource-library { border-radius: 46px 46px 0 0; margin-top: -46px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.contact-actions:empty { display: none; }
.contact-actions a { text-decoration: none; font-weight: 800; }
.contact-actions .outline:hover { background: #fff; }

/* Prévia */
.preview-dialog { width: min(980px, calc(100% - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 26px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px #0005; }
.preview-dialog::backdrop { background: #253c3cb0; }
.preview-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px 0; }
.preview-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.preview-close { width: 44px; height: 44px; flex: none; border: 1px solid var(--deep); border-radius: 50%; font-size: 1.6rem; line-height: 1; }
.preview-note { margin: 6px 24px 14px; color: var(--muted); font-size: .92rem; }
.preview-pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0 24px; }
.preview-pages img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.preview-foot { position: sticky; bottom: 0; display: flex; justify-content: flex-end; align-items: center; gap: 18px; padding: 16px 24px; margin-top: 16px; background: var(--paper); border-top: 1px solid var(--line); }
.preview-foot .price { margin: 0; font-size: 1.5rem; }
.preview-foot .button { gap: 10px; }

@media (max-width: 800px) {
  .product-list, .buy-steps { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .shop { border-radius: 29px 29px 0 0; }
  .resource-library { margin-top: -29px; border-radius: 29px 29px 0 0; }
  .product-pages { height: 210px; }
  .preview-pages { grid-template-columns: 1fr; padding: 0 16px; }
  .preview-head { padding: 16px 16px 0; }
  .preview-note { margin-inline: 16px; }
  .preview-foot { padding: 14px 16px; }
  .hero-trust { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { .product-pages img { transition: none; } }
