:root{--navy:#002046;--turq:#02CAD4;--coral:#FE3432;--yellow:#FEB020;--white:#FDFEFE;--muted:#3D5170}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--white);color:var(--navy);font-family:"Nunito",system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.55;text-align:center;position:relative;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:var(--navy)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:3px solid var(--turq);outline-offset:3px;border-radius:6px}

.site-header{padding:clamp(40px,8vw,96px) 20px 8px}
.logo-toonlab{width:clamp(200px,34vw,400px);margin:0 auto}
.site-header.small{padding:32px 20px 0}.site-header.small .logo-toonlab{width:150px}

.hero{max-width:820px;margin:0 auto;padding:24px 24px 56px}
h1{font-weight:800;font-size:clamp(2rem,4.6vw,3.25rem);line-height:1.15;margin:0 0 20px}
.lead{font-size:clamp(1.05rem,1.8vw,1.25rem);margin:0 auto 14px;max-width:620px;font-weight:600}
.sub{font-size:1rem;color:var(--muted);margin:0 auto;max-width:560px}

.dots{display:flex;gap:10px;justify-content:center;margin-top:36px}
.dots i{width:9px;height:9px;border-radius:50%;background:var(--turq)}
.dots i:nth-child(2){background:var(--yellow)}.dots i:nth-child(3){background:var(--coral)}

.projects{padding:24px 20px 88px}
h2{font-weight:800;font-size:clamp(1.5rem,3vw,2rem);margin:0 0 28px}
.card{background:#fff;max-width:600px;width:100%;margin:0 auto;padding:clamp(28px,4vw,44px) clamp(20px,4vw,48px);border-radius:24px;border:1px solid rgba(0,32,70,.08);box-shadow:0 6px 24px rgba(0,32,70,.06)}
.logo-kids{width:min(100%,380px);margin:0 auto 24px}
.card h3{font-size:1.2rem;font-weight:800;margin:0 0 10px}
.card p{color:var(--muted);margin:0 auto 26px;max-width:420px}
.btn{display:inline-block;background:var(--coral);color:#fff;text-decoration:none;font-weight:800;font-size:1.2rem;padding:14px 28px;border-radius:999px;transition:transform .15s,background .15s}
.btn:hover{transform:translateY(-2px);background:#e52b29}

.teaser{background:rgba(2,202,212,.07);padding:72px 24px 96px;position:relative}
.teaser .dots{margin:0 0 24px}
.teaser p{color:var(--muted);max-width:560px;margin:0 auto}

.site-footer{background:var(--navy);color:var(--white);padding:26px 20px;font-size:.9rem}
.site-footer p{margin:0}.site-footer a{color:var(--white);opacity:.85}

/* decoração 2D nas bordas */
.deco{position:absolute;inset:0;pointer-events:none;z-index:-1;overflow:hidden}
.d{position:absolute;border-radius:50%;opacity:.35}
.c1{width:44px;height:44px;background:var(--turq);top:28px;left:8%}
.c2{width:16px;height:16px;background:var(--coral);top:64px;left:15%}
.c3{width:34px;height:34px;background:var(--turq);top:88px;right:6%}
.c4{width:30px;height:30px;background:var(--yellow);top:62%;right:4%}
.s1{width:12px;height:12px;background:var(--yellow);border-radius:2px;top:150px;right:12%}
.t1{width:0;height:0;border-radius:0;border-left:9px solid transparent;border-right:9px solid transparent;border-bottom:16px solid var(--coral);top:40px;right:12%}

/* aviso de cookies */
.cookie{position:fixed;left:16px;right:16px;bottom:16px;max-width:760px;margin:0 auto;background:#fff;border:1px solid rgba(0,32,70,.15);box-shadow:0 8px 30px rgba(0,32,70,.15);border-radius:16px;padding:16px 20px;display:flex;gap:16px;align-items:center;justify-content:space-between;text-align:left;z-index:10;font-size:.95rem}
.cookie[hidden]{display:none}
.cookie p{margin:0}
.cookie-actions{display:flex;gap:8px;flex-shrink:0}
.btn-pri,.btn-sec{font:inherit;font-weight:700;border-radius:999px;padding:9px 18px;cursor:pointer;border:2px solid var(--navy)}
.btn-pri{background:var(--navy);color:#fff}
.btn-sec{background:#fff;color:var(--navy)}

.page{text-align:left}
.text{max-width:680px;margin:0 auto;padding:24px 24px 64px}
.text h1{font-size:2rem;text-align:center}.text h2{font-size:1.2rem;margin:28px 0 8px}

@media (max-width:600px){
  .cookie{flex-direction:column;align-items:stretch}
  .cookie-actions{justify-content:flex-end}
  .card{border-radius:20px}
  .btn{font-size:1.2rem;padding:14px 22px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
