@font-face { font-family: "Fredoka"; font-weight: 500; font-display: swap; src: url("fonts/fredoka-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 600; font-display: swap; src: url("fonts/fredoka-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url("fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("fonts/nunito-latin-800-normal.woff2") format("woff2"); }

:root {
  --cream: #fdfae9;
  --cream-deep: #fbf1d0;
  --white: #ffffff;
  --navy: #0e3a7b;
  --ink: #24304a;
  --muted: #55607a;
  --red: #d81e4a;
  --yellow: #fdcb2c;
  --green: #2f7d3a;
  --green-soft: #57ab4d;
  --teal: #1f8a7a;
  --blue: #0a78b8;
  --purple: #6a3fa0;
  --whats: #137a3c;
  --radius: 22px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); }
h1, h2, h3 { font-family: "Fredoka", "Nunito", sans-serif; color: var(--navy); line-height: 1.15; margin: 0; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.35rem; font-weight: 500; }
p { margin: 0; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 30; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* Cabeçalho */
.top { position: sticky; top: 0; z-index: 20; background: var(--cream); border-bottom: 1px solid var(--cream-deep); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a:not(.btn) { color: var(--navy); font-weight: 700; text-decoration: none; }
.nav a:not(.btn):hover { color: var(--red); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px; border-radius: 999px;
  font-weight: 800; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-whats { background: var(--whats); color: #fff; }
.btn-whats:hover { background: #0f6631; }
.btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn svg { width: 20px; height: 20px; flex: none; fill: currentColor; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* Abertura */
.hero { position: relative; overflow: hidden; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; position: relative; padding: 56px 0 190px; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.slide .hero-in > div { transform: translateX(-40px); opacity: 0; transition: transform .5s cubic-bezier(.2,.8,.2,1) .05s, opacity .4s ease .05s; }
.slide.is-active .hero-in > div { transform: none; opacity: 1; }
.slide .hero-pic, .slide .hero-logo { transform: translateX(40px) scale(.94); opacity: 0; transition: transform .55s cubic-bezier(.2,.8,.2,1) .12s, opacity .4s ease .12s; }
.slide.is-active .hero-pic, .slide.is-active .hero-logo { transform: none; opacity: 1; }
.slide .sticker { transition: transform .5s cubic-bezier(.3,1.6,.5,1) .35s; }
.slide:not(.is-active) .sticker { transform: scale(0) rotate(-40deg); }
.s-home { background: var(--cream); }
.s-matr { background: radial-gradient(circle at 85% 30%, #fff1b8 0, transparent 55%), linear-gradient(160deg, #fdfae9 0%, #fdeec0 100%); }
.s-ferias { background: radial-gradient(circle at 12% 18%, #fff6c9 0, transparent 40%), linear-gradient(180deg, #d9f1ff 0%, #f2fbff 55%, #fdfae9 100%); }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.big-year { display: inline-block; color: var(--red); font-size: 1.25em; transform: rotate(-4deg); text-shadow: 3px 3px 0 var(--yellow); }
.fun { color: var(--teal); background: linear-gradient(transparent 62%, #ffd95e 62%); padding: 0 .1em; }
.tag.tag-red { background: var(--red); color: #fff; }
.tag.tag-blue { background: var(--blue); color: #fff; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; }
.chips li { color: #fff; font-weight: 800; padding: 6px 14px; border-radius: 999px; font-size: .95rem; }
.chips .k1 { background: var(--red); } .chips .k2 { background: #f29a00; } .chips .k3 { background: var(--green); } .chips .k4 { background: var(--blue); }
.shout { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.9rem; color: #e8264f; margin: -8px 0 18px; transform: rotate(-3deg); display: inline-block; }
.hero-pic { position: relative; margin: 0; justify-self: center; width: min(100%, 480px); }
.hero-pic img { width: 100%; height: auto; border-radius: 28px; border: 8px solid #fff; box-shadow: 0 14px 34px rgba(14, 58, 123, .2); }
.tilt-r img { transform: rotate(2deg); } .tilt-l img { transform: rotate(-2deg); }
.hero-pic figcaption { position: absolute; right: 18px; bottom: 16px; font-size: .72rem; color: #fff; background: rgba(14, 58, 123, .55); padding: 2px 8px; border-radius: 999px; }
.sticker { position: absolute; top: -18px; left: -18px; width: 108px; height: 108px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; text-align: center; font-family: "Fredoka", sans-serif; font-weight: 600; line-height: 1.1; font-size: 1.02rem; transform: rotate(-12deg); box-shadow: 0 6px 16px rgba(14, 58, 123, .2); }
.sticker-sun { left: auto; right: -14px; top: -22px; width: 118px; height: 118px; font-size: .92rem; background: #ff8a3d; color: #fff; padding: 10px; transform: rotate(10deg); }
.confetti i { position: absolute; width: 12px; height: 18px; border-radius: 3px; opacity: .85; }
.confetti i:nth-child(1) { background: var(--red); top: 12%; left: 6%; transform: rotate(25deg); }
.confetti i:nth-child(2) { background: var(--yellow); top: 30%; left: 46%; transform: rotate(-30deg); }
.confetti i:nth-child(3) { background: var(--green-soft); top: 70%; left: 3%; transform: rotate(60deg); }
.confetti i:nth-child(4) { background: var(--blue); top: 8%; left: 58%; transform: rotate(-15deg); }
.confetti i:nth-child(5) { background: #e8264f; top: 18%; right: 4%; transform: rotate(40deg); }
.confetti i:nth-child(6) { background: var(--purple); top: 62%; left: 50%; transform: rotate(12deg); }
.confetti i:nth-child(7) { background: #f29a00; top: 48%; right: 2%; transform: rotate(-50deg); }
.confetti i:nth-child(8) { background: var(--teal); top: 5%; left: 30%; transform: rotate(70deg); }
.sun { position: absolute; top: 26px; right: 6%; width: 90px; height: 90px; border-radius: 50%; background: #ffd23f; box-shadow: 0 0 0 14px rgba(255, 210, 63, .25), 0 0 0 30px rgba(255, 210, 63, .12); }
.bubbles i { position: absolute; border-radius: 50%; border: 2px solid rgba(10, 120, 184, .35); background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(255,255,255,.15) 60%); }
.bubbles i:nth-child(1) { width: 34px; height: 34px; top: 20%; left: 4%; }
.bubbles i:nth-child(2) { width: 18px; height: 18px; top: 12%; left: 40%; }
.bubbles i:nth-child(3) { width: 46px; height: 46px; top: 58%; left: 47%; }
.bubbles i:nth-child(4) { width: 22px; height: 22px; top: 70%; left: 8%; }
.bubbles i:nth-child(5) { width: 28px; height: 28px; top: 40%; right: 3%; }
.hero-ctrl { position: absolute; z-index: 3; left: 50%; bottom: 132px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .85); padding: 6px 10px; border-radius: 999px; box-shadow: 0 4px 14px rgba(14, 58, 123, .15); }
.hc-btn { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 3px; }
.hc-btn:hover { background: var(--yellow); }
.hc-pause { font-size: .7rem; letter-spacing: -1px; padding: 0; }
.hc-dots { display: flex; gap: 8px; }
.hc-dots button { position: relative; overflow: hidden; width: 12px; height: 12px; border-radius: 999px; border: 0; padding: 0; background: #c7cfdf; cursor: pointer; transition: width .3s ease; }
.hc-dots button[aria-current="true"] { width: 34px; background: #f6b8c6; }
.hc-dots button[aria-current="true"]::after { content: ""; position: absolute; inset: 0; background: var(--red); transform-origin: left; animation: hc-fill var(--hc-delay, 4.5s) linear forwards; }
.hero.is-paused .hc-dots button[aria-current="true"]::after { animation-play-state: paused; }
@keyframes hc-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .slide, .slide.is-active, .slide .hero-in > div, .slide .hero-pic, .slide .hero-logo, .slide .sticker, .hc-dots button { transition: none; }
  .slide .hero-in > div, .slide .hero-pic, .slide .hero-logo { transform: none; opacity: 1; }
  .hc-dots button[aria-current="true"]::after { animation: none; transform: none; }
}
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.tag { display: inline-block; background: var(--yellow); color: var(--navy); font-weight: 800; padding: 6px 16px; border-radius: 999px; margin-bottom: 18px; }
.hero p.lead { font-size: 1.2rem; margin: 18px 0 26px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-logo { justify-self: center; width: min(100%, 378px); }
.s-matr .actions .btn-whats, .s-ferias .actions .btn-whats { display: inline-flex; }
.hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 130px; display: block; }
.dot { position: absolute; border-radius: 50%; }
.dot.a { width: 26px; height: 26px; background: #e8264f; top: 40px; right: 7%; }
.dot.b { width: 32px; height: 32px; background: #feb220; top: 46%; left: 2.5%; }
.dot.c { width: 22px; height: 22px; background: #1596c9; bottom: 170px; right: 4%; }

/* Seções */
.section { padding: 72px 0; }
.section.white { background: var(--white); }
.head { max-width: 40em; margin-bottom: 34px; }
.head p { margin-top: 10px; color: var(--muted); }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.class { border-radius: var(--radius); padding: 24px 20px; color: #fff; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.class h3 { color: #fff; }
.class p { font-weight: 800; }
.c1 { background: var(--red); }
.c2 { background: #a65c00; }
.c3 { background: var(--green); }
.c4 { background: var(--blue); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.panel { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: 0 1px 0 var(--cream-deep); }
.section.white .panel { background: var(--cream); }
.panel h3 { margin-bottom: 10px; font-size: 1.55rem; }
.panel p + p { margin-top: 10px; }
.panel.hotel h3 { color: var(--purple); }
.panel.contra h3 { color: var(--teal); }

.hours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.hour { background: var(--white); border: 2px solid var(--cream-deep); border-radius: var(--radius); padding: 20px 22px; }
.hour strong { display: block; font-family: "Fredoka", sans-serif; font-weight: 500; font-size: 1.5rem; color: var(--navy); }
.note { margin-top: 16px; color: var(--muted); }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.about img { border-radius: var(--radius); width: 100%; }
.about p { margin-top: 14px; }
.sign { font-weight: 800; color: var(--navy); }

.gallery { position: relative; margin-bottom: 22px; }
.gallery-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: var(--radius); }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img { flex: none; height: 440px; width: auto; max-width: 100%; border-radius: var(--radius); scroll-snap-align: start; object-fit: cover; background: var(--cream-deep); }
.gallery-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--white); color: var(--navy); font-size: 2rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(14, 58, 123, .22); display: grid; place-items: center; padding-bottom: 4px; }
.gallery-btn.prev { left: 12px; }
.gallery-btn.next { right: 12px; }
.gallery-btn:disabled { opacity: 0; pointer-events: none; }
.gallery-btn:hover { background: var(--yellow); }
@media (prefers-reduced-motion: reduce) { .gallery-track { scroll-behavior: auto; } }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.values li { background: var(--white); border-radius: var(--radius); padding: 22px 20px; font-weight: 800; color: var(--navy); border-top: 6px solid var(--yellow); line-height: 1.35; }
.values li:nth-child(2) { border-top-color: #e8264f; }
.values li:nth-child(3) { border-top-color: var(--green-soft); }
.values li:nth-child(4) { border-top-color: #1596c9; }

/* Matrículas */
.enroll { background: var(--navy); color: #fff; padding: 64px 0; }
.enroll-in { display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: center; }
.enroll img { width: 240px; border-radius: 120px 120px 26px 26px; border: 6px solid var(--yellow); }
.enroll h2 { color: #fff; }
.enroll p { margin: 12px 0 22px; max-width: 34em; }

/* Contato */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 22px; align-items: stretch; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.map { min-height: 420px; border-radius: var(--radius); overflow: hidden; background: var(--cream-deep); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.contact .panel h3 { font-size: 1.25rem; }
.contact address { font-style: normal; }
.contact a { font-weight: 700; font-size: .98rem; overflow-wrap: anywhere; }

/* Rodapé */
.foot { background: var(--cream-deep); padding: 30px 0 34px; font-size: .95rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }

/* Política */
.doc { padding: 48px 0 72px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 8px; }
.doc h2 { font-size: 1.45rem; margin: 30px 0 8px; }
.doc ul { padding-left: 22px; }

/* WhatsApp fixo no celular */
.float { display: none; }

@media (max-width: 900px) {
  .nav a:not(.btn) { display: none; }
  .slide { padding: 36px 0 200px; }
  .hero-ctrl { bottom: 118px; }
  .hero-pic { order: -1; width: min(100%, 420px); }
  .sticker { width: 86px; height: 86px; font-size: .85rem; top: -12px; left: -8px; }
  .sticker-sun { left: auto; right: -6px; width: 96px; height: 96px; font-size: .78rem; }
  .sun { width: 60px; height: 60px; }
  .hero-in { grid-template-columns: 1fr; gap: 26px; }
  .hero-logo { order: -1; width: min(70%, 270px); }
  .grid-4, .values { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .about, .contact-layout, .hours { grid-template-columns: minmax(0, 1fr); }
  .map, .map iframe { min-height: 340px; }
  .enroll-in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .enroll p { margin-inline: auto; }
  .section { padding: 56px 0; }
  .dot.b { display: none; }
}

@media (max-width: 560px) {
  .top .btn { display: none; }
  .top-in { justify-content: center; min-height: 68px; }
  .brand img { height: 54px; }
  .actions .btn { width: 100%; }
  .actions .btn-whats { display: none; }
  .hero-logo { width: 190px; }
  .hero p.lead { font-size: 1.1rem; margin-bottom: 20px; }
  .panel { padding: 24px 22px; }
  .contact a { font-size: .88rem; }
  .gallery-track { gap: 10px; }
  .gallery-track img { height: 300px; }
  .gallery-btn { width: 40px; height: 40px; font-size: 1.7rem; }
  .foot { padding-bottom: 92px; font-size: .9rem; }
  .float {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 25;
    box-shadow: 0 6px 18px rgba(14, 58, 123, .28);
  }
}

@media (max-width: 380px) {
  .grid-4, .values { grid-template-columns: 1fr; }
  .class { min-height: 0; }
}
