/* ==========================================================
   Natu Park — Home
   Cores tiradas do logo (kids.png)
   ========================================================== */

/* ---------- Fontes ---------- */
@font-face {
  font-family: "Breakers";
  src: url("../fonts/breakers-thin.woff2") format("woff2");
  font-weight: 250;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Breakers";
  src: url("../fonts/breakers-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Breakers";
  src: url("../fonts/breakers-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Breakers";
  src: url("../fonts/breakers-black.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Breakers";
  src: url("../fonts/breakers-ultra.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cyan: #00e8ff;
  --magenta: #ff2ee6;
  --orange: #ff7a00;
  --pink: #ff1466;
  --green: #4dff88;
  --purple: #7b2cff;

  --bg: #0b0710;
  --bg-2: #150c1d;
  --bg-3: #1f1229;
  --text: #ffffff;
  --muted: #c9bfd6;

  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 112px;

  --font-title: "Breakers", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 20px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.1; margin: 0; }
p { margin: 0; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
svg .fill { fill: currentColor; stroke: none; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 40px); }
.center { text-align: center; margin-top: 48px; }

/* ---------- Logo (texto, até termos o arquivo vetorial) ---------- */
.logo { display: inline-block; flex-shrink: 0; }
.logo img { display: block; height: 60px; width: auto; }
.logo--lg img { height: 96px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .3px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--green);
  color: #0b0710;
  box-shadow: 0 0 0 0 rgba(77,255,136,.0), 0 6px 20px rgba(77,255,136,.35);
}
.btn--primary:hover { box-shadow: 0 0 24px rgba(77,255,136,.7); }
.btn--ghost {
  border-color: var(--magenta);
  color: #fff;
  box-shadow: inset 0 0 10px rgba(255,46,230,.25), 0 0 10px rgba(255,46,230,.25);
}
.btn--ghost:hover { background: var(--magenta); }
.btn--dark { background: var(--bg); color: #fff; }
.btn--dark:hover { box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.btn--lg { font-size: 17px; padding: 15px 30px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, box-shadow .3s;
}
/* degradê atrás do menu enquanto a página está no topo */
.header::before {
  content: ""; position: absolute; inset: 0 0 auto; z-index: -1;
  height: calc(100% + 48px);
  background: linear-gradient(180deg, rgba(11,7,16,.85) 0%, rgba(11,7,16,.55) 55%, rgba(11,7,16,0) 100%);
  pointer-events: none;
  transition: opacity .3s;
}
.header.is-scrolled::before { opacity: 0; }
.topbar {
  background: linear-gradient(90deg, var(--purple), var(--pink));
  font-size: 13px;
  font-weight: 700;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 32px; }
.topbar__icon { display: inline-flex; font-size: 18px; }
.topbar__link:hover, .topbar__icon:hover { opacity: .8; }

.navbar { position: relative; transition: background .3s; }
.header.is-scrolled .navbar { background: rgba(11,7,16,.92); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0,0,0,.4); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }

.menu { display: flex; align-items: center; gap: 32px; }
.menu > a {
  font-family: var(--font-title); font-weight: 600; font-size: 17px; position: relative; padding: 4px 0;
}
.menu > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px;
  background: var(--green); transform: scaleX(0); transition: transform .25s;
}
.menu > a:hover::after, .menu > a.is-active::after { transform: scaleX(1); }
.menu__ctas { display: none; }

.navbar__actions { display: flex; align-items: center; gap: 12px; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 3px; border-radius: 3px; background: #fff; margin: 5px 0; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img, .hero__bg video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 100%; }
/* Trama de pontos sobre o vídeo: disfarça compressão/baixa resolução */
.hero__bg video { filter: blur(1.5px) saturate(1.1); transform: scale(1.03); }
.hero__bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(rgba(11,7,16,.55) 1px, transparent 1.3px);
  background-size: 3px 3px;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgba(11,7,16,.95) 0%, rgba(11,7,16,.75) 40%, rgba(11,7,16,.1) 75%),
    linear-gradient(0deg, var(--bg) 0%, transparent 25%);
}
.hero__content { max-width: 1200px; }
.hero__title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 700;
  max-width: 690px;
  text-wrap: balance;
  text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.hero__title .hl { white-space: nowrap; }
.hl { color: var(--cyan); }
.hl--green { color: var(--green); }
.hl--cyan { color: var(--cyan); }
.hl--orange { color: var(--orange); }
.hero__subtitle { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 34ch; margin-top: 20px; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__info {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px;
  font-weight: 700; font-size: 15px; color: #fff;
}
.hero__info span { display: inline-flex; align-items: center; gap: 8px; }
.hero__info svg { color: var(--green); }

/* ---------- Seções ---------- */
.section { padding: 110px 0; position: relative; }
.section__head { text-align: center; margin-bottom: 48px; }
.section__head p { color: var(--muted); font-size: 19px; margin-top: 14px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-title); font-weight: 600; font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 12px;
}
.eyebrow--dark { color: var(--bg); opacity: .75; }
.title { font-size: clamp(34px, 4.4vw, 54px); font-weight: 700; }

/* ---------- O espaço ---------- */
.espaco { background: radial-gradient(1000px 500px at 90% 0%, rgba(123,44,255,.25), transparent 60%), var(--bg); }
.espaco__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.espaco__text .title { max-width: 430px; }
.espaco__text p { color: var(--muted); font-size: 19px; margin-top: 22px; }
.espaco__text strong { color: #fff; }
.espaco__photo {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3;
  box-shadow: 0 0 0 3px var(--green), 0 20px 60px rgba(77,255,136,.2);
  transform: rotate(2deg);
}
.espaco__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }

.atracoes {
  list-style: none; padding: 0; margin: 80px 0 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
}
.card {
  --c: var(--cyan);
  background: var(--bg-2);
  border: 2px solid color-mix(in srgb, var(--c) 45%, transparent);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px) rotate(-1deg); border-color: var(--c); box-shadow: 0 0 30px color-mix(in srgb, var(--c) 35%, transparent); }
.card--cyan { --c: var(--cyan); }
.card--pink { --c: var(--pink); }
.card--orange { --c: var(--orange); }
.card--green { --c: var(--green); }
.card--magenta { --c: var(--magenta); }
.card__icon {
  display: inline-grid; place-items: center;
  width: 76px; height: 76px; border-radius: 24px;
  background: var(--c); color: var(--bg);
  margin-bottom: 18px;
}
.card__icon svg { width: 44px; height: 44px; stroke-width: 2.6; }
.card h3 { font-size: 22px; font-weight: 600; color: var(--c); }
.card p { color: var(--muted); font-size: 16px; margin-top: 8px; }

/* ---------- Galeria ---------- */
.galeria { background: var(--bg-2); }
.mosaico {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  grid-auto-flow: dense;
  gap: 14px;
}
.mosaico__item {
  position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-3);
  cursor: zoom-in;
}
.mosaico__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mosaico__item:hover img { transform: scale(1.06); }
.mosaico__item--big { grid-column: span 2; grid-row: span 2; }
.mosaico__item--tall { grid-row: span 2; }
.mosaico__item--wide { grid-column: span 2; min-height: 280px; }

/* ---------- Festa ---------- */
.festa { padding-top: 150px; overflow-x: clip; }
.festa__band {
  position: relative;
  border-radius: 32px;
  padding: 80px 64px;
  color: var(--bg);
  background:
    radial-gradient(circle at 78% 55%, rgba(255,255,255,.35), transparent 38%),
    linear-gradient(120deg, var(--orange) 0%, #ff9d2e 55%, var(--pink) 130%);
}
.festa__content { position: relative; z-index: 2; max-width: min(560px, 48%); }
.festa__content p { font-size: 19px; font-weight: 600; margin: 20px 0 32px; }

/* bolo "saindo" do card */
.festa__cake {
  position: absolute; z-index: 1;
  right: 6%; bottom: 28px;
  width: min(42%, 480px);
  pointer-events: none;
}
.festa__cake::before { /* sombra no "chão" */
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -10px; height: 28px;
  background: radial-gradient(closest-side, rgba(60,10,0,.45), transparent);
  animation: shadow 3.2s ease-in-out infinite;
}
.festa__cake img {
  position: relative;
  filter: drop-shadow(0 18px 30px rgba(90,20,0,.35));
  animation: float 3.2s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}
@keyframes shadow {
  0%, 100% { transform: scaleX(1); opacity: 1; }
  50% { transform: scaleX(.8); opacity: .6; }
}

/* confete */
.festa__confetti { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.confetti {
  position: absolute; top: -20px;
  width: var(--w, 10px); height: var(--h, 6px);
  background: var(--c);
  border-radius: var(--r, 2px);
  opacity: .9;
  animation: fall var(--d, 6s) linear var(--delay, 0s) infinite;
}
@keyframes fall {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(var(--drift, 30px), var(--fall, 600px), 0) rotate(var(--spin, 540deg)); }
}

/* botão com brilho pulsante */
.btn--glow { animation: glow 2.6s ease-in-out infinite; }
.btn--glow:hover { animation: none; }
@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(11,7,16,.45); }
  50% { box-shadow: 0 0 0 10px rgba(11,7,16,0); }
}

/* ---------- Dúvidas ---------- */
.meia {
  display: flex; gap: 20px; align-items: flex-start;
  background: linear-gradient(135deg, rgba(77,255,136,.15), rgba(0,232,255,.1));
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-bottom: 36px;
  font-size: 18px;
}
.meia__icon { font-size: 42px; line-height: 1; }
.meia .price { color: var(--green); white-space: nowrap; }

.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--bg-2);
  border: 2px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  transition: border-color .2s;
}
.faq details[open] { border-color: var(--magenta); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-title); font-weight: 600; font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 28px; line-height: 1; color: var(--magenta);
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }
.faq details p strong { color: #fff; }
.duvidas__final { text-align: center; margin-top: 36px; font-size: 18px; color: var(--muted); }
.duvidas__final a { color: var(--green); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Rodapé ---------- */
.footer { background: var(--bg-2); border-top: 4px solid; border-image: linear-gradient(90deg, var(--cyan), var(--magenta), var(--orange), var(--pink), var(--green)) 1; }
.footer__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; padding: 72px 0; }
.footer__logos { display: flex; align-items: center; gap: 28px; }
.logo-natuice {
  font-family: var(--font-title); font-weight: 700; font-size: 20px; line-height: 1.05;
  padding-left: 28px; border-left: 2px solid rgba(255,255,255,.15); color: var(--muted);
}
.footer__info { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 12px; color: var(--muted); }
.footer__info li { display: flex; align-items: center; gap: 10px; }
.footer__info svg { color: var(--green); }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 800; }
.footer__links a:hover { color: var(--green); }
.footer__map { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; }
.footer__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }
.footer__map .btn { position: absolute; left: 20px; bottom: 20px; }
.footer__bottom { background: var(--bg); font-size: 14px; color: var(--muted); }
.footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 18px 0; }
.footer__bottom a:hover { color: #fff; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .2s;
  animation: pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 34px; height: 34px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5,3,8,.94);
  display: grid; place-items: center;
  padding: 40px 70px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: 100%; border-radius: var(--radius-sm); }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 54px; line-height: 1; padding: 10px 16px; }
.lightbox button:hover { color: var(--green); }
.lightbox__close { top: 10px; right: 14px; }
.lightbox__nav--prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float { animation: none; }
  .festa__cake img, .festa__cake::before, .btn--glow { animation: none; }
  .festa__confetti { display: none; }
}

/* ==========================================================
   Responsivo
   ========================================================== */

@media (max-width: 1100px) {
  .menu { gap: 22px; }
  .atracoes { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 96px; }
  .navbar__inner { height: 64px; }
  .logo img { height: 48px; }
  .hide-mobile { display: none; }
  .burger { display: block; }
  .navbar__actions .btn { padding: 9px 16px; font-size: 13px; }

  .menu {
    /* absoluto em relação à .navbar: o backdrop-filter dela vira o
       containing block de filhos fixed, o que deslocava o menu */
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11,7,16,.98);
    padding: 12px 20px 28px;
    border-bottom: 2px solid var(--magenta);
    transform: translateY(-150%);
    visibility: hidden;
    transition: transform .35s ease, visibility .35s;
  }
  .menu.is-open { transform: none; visibility: visible; }
  .menu > a { font-size: 20px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .menu > a::after { display: none; }
  .menu__ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }

  .hero { align-items: flex-end; }
  .hero__bg img, .hero__bg video { object-position: 60% 30%; }
  .hero__bg::after {
    background: linear-gradient(0deg, var(--bg) 0%, rgba(11,7,16,.92) 50%, rgba(11,7,16,.6) 80%, rgba(11,7,16,.45) 100%);
  }

  .section { padding: 80px 0; }
  .espaco__grid { grid-template-columns: 1fr; gap: 40px; }
  .espaco__photo { transform: none; }
  .atracoes { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }

  .mosaico { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(160px, auto); }
  .mosaico__item--wide { min-height: 220px; }

  .festa { padding-top: 80px; }
  .festa__band { padding: 56px 28px 0; }
  .festa__content { max-width: none; }
  .festa__cake {
    position: relative; right: auto; bottom: auto;
    width: min(72%, 320px); margin: 32px auto -24px;
  }

  .footer__grid { grid-template-columns: 1fr; gap: 40px; padding: 56px 0; }

  .header::before {
    height: calc(100% + 72px);
    background: linear-gradient(180deg, rgba(11,7,16,.95) 0%, rgba(11,7,16,.7) 55%, rgba(11,7,16,0) 100%);
  }

  /* textos e botões centralizados no mobile */
  .hero__content { text-align: center; }
  .hero__title, .hero__subtitle { margin-inline: auto; }
  .hero__ctas, .hero__info { justify-content: center; }
  .espaco__text { text-align: center; }
  .espaco__text .title { margin-inline: auto; }
  .festa__content { text-align: center; }
}

@media (max-width: 520px) {
  .container, .container--narrow { width: calc(100% - 32px); }
  body { font-size: 16px; }
  .logo img { height: 42px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .atracoes .card:last-child { grid-column: span 2; }
  .card { padding: 22px 14px; }
  .card h3 { font-size: 19px; }
  .card__icon { width: 64px; height: 64px; }
  .meia { flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 22px; }
  .faq summary { font-size: 17px; padding: 18px; }
  .faq details p { padding: 0 18px 18px; }
  .lightbox { padding: 60px 12px; }
  .lightbox__nav { top: auto !important; bottom: 10px; transform: none !important; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}
