/* ==========================================================================
   MAESTRIA — Sua Casa de Festas Infantis
   Paleta institucional: creme #FFFEEC · azuis #86C1DF / #45C9E0 · amarelo #FFEA73
   ========================================================================== */

:root {
  /* Cores institucionais */
  --cream: #FFFEEC;
  --blue-1: #86C1DF;
  --blue-2: #45C9E0;
  --yellow: #FFEA73;

  /* Derivadas (contraste e profundidade) */
  --ink: #123C55;
  --ink-soft: #3A6079;
  --yellow-deep: #E8C93E;

  /* Tintas de seção */
  --blue-tint: #E7F4FA;
  --blue-mist: #F1F9FC;
  --yellow-tint: #FFF8D6;
  --sky: #CDE9F5;       /* faixa dos reels — pastel lúdico */
  --sky-deep: #B9DFF0;  /* rodapé — pastel um tom acima */

  /* Confete controlado (cores do logo, uso pontual) */
  --pink: #F2A0BE;
  --orange: #F6A45C;
  --green: #8FC98F;
  --purple: #A98BD3;

  /* WhatsApp */
  --wa: #22B05A;

  /* Tipografia */
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;

  /* Ritmo */
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1160px;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, .61, .36, 1);

  --shadow-soft: 0 10px 30px rgba(18, 60, 85, .08);
  --shadow-lift: 0 18px 44px rgba(18, 60, 85, .14);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }
button { font: inherit; color: inherit; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- Contêineres e seções ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}
.container--narrow { max-width: 860px; }

.section {
  position: relative;
  padding-block: clamp(72px, 10vw, 128px);
}
.section--blue   { background: var(--blue-tint); }
.section--yellow { background: var(--yellow-tint); }
.section--mist   { background: var(--blue-mist); }
.section--sky    { background: var(--sky); }

/* Ondas divisórias */
.wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  line-height: 0;
  pointer-events: none;
}
.wave svg { width: 100%; height: clamp(40px, 6vw, 90px); display: block; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #2E93AE;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: balance;
}
.section-title em {
  font-style: normal;
  color: #1FA3BF;
  position: relative;
  white-space: nowrap;
}
.section-title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .04em;
  height: .32em;
  background: var(--yellow);
  border-radius: 99px;
  z-index: -1;
  opacity: .85;
}

.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-sub { color: var(--ink-soft); margin-top: 14px; font-size: 1.08rem; }
.section-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink-soft);
  opacity: .55;
  margin-top: 4px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: .85em 1.7em;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--spring), box-shadow .25s var(--ease-out), background-color .2s, color .2s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(1px) scale(.97); }
.btn:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; }

.btn--primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(232, 201, 62, .45);
}
.btn--primary:hover { box-shadow: 0 12px 26px rgba(232, 201, 62, .55); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(18, 60, 85, .25);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(18, 60, 85, .04); }

.btn--lg { font-size: 1.08rem; padding: .95em 1.9em; }

/* ---------- Navegação ---------- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(255, 254, 236, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s var(--ease-out);
}
.nav.is-scrolled { box-shadow: 0 4px 24px rgba(18, 60, 85, .08); }

.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 12px clamp(20px, 5vw, 40px);
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__logo { display: flex; align-items: center; margin-right: auto; }
.nav__logo img { height: 48px; width: auto; }

.nav__links { display: flex; gap: 26px; }
.nav__links a {
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color .2s;
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 3px;
  border-radius: 99px;
  background: var(--blue-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav__burger span {
  width: 24px; height: 3px;
  border-radius: 99px;
  background: var(--ink);
  transition: transform .3s var(--spring), opacity .2s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Placeholders de mídia ---------- */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border-radius: inherit;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(134, 193, 223, .55), transparent 60%),
    radial-gradient(110% 100% at 85% 90%, rgba(69, 201, 224, .4), transparent 55%),
    linear-gradient(160deg, #DCEFF8, #C3E4F2);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px dashed rgba(18, 60, 85, .28);
  border-radius: calc(var(--radius-md) - 6px);
}
.ph__tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--ink-soft);
  background: rgba(255, 254, 236, .85);
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 1;
  text-align: center;
}

/* Foto real dentro de molduras */
.frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* enquadramentos específicos */
.frame-img--salao { object-position: 60% 62%; }
.exp-card__media .frame-img { object-position: center 42%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(140px, 18vw, 190px) 0 clamp(110px, 13vw, 160px);
  overflow: hidden;
}
.hero__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .04em;
  color: #4E93A9;
  background: rgba(69, 201, 224, .08);
  border: 1px solid rgba(69, 201, 224, .2);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5.6vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  color: #1FA3BF;
  position: relative;
  z-index: 0;
  white-space: nowrap;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%; bottom: .05em;
  height: .34em;
  background: var(--yellow);
  border-radius: 99px;
  z-index: -1;
}
.hero__dot { color: #1FA3BF; }

.hero__sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 34px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__media { position: relative; }

.arch-frame {
  border-radius: 46% 46% var(--radius-lg) var(--radius-lg) / 34% 34% var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow-lift);
  background: var(--blue-tint);
}
.arch-frame .ph { border-radius: 0; }
.arch-frame--soft { box-shadow: var(--shadow-soft); }

.hero__mascot {
  position: absolute;
  right: -22px;
  bottom: -14px;
  width: clamp(92px, 10vw, 140px);
  filter: drop-shadow(0 12px 20px rgba(18, 60, 85, .2));
  z-index: 2;
}

.hero__badge {
  position: absolute;
  left: -18px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-lift);
}
.hero__badge .icon { width: 1.6em; height: 1.6em; color: var(--yellow-deep); }
.hero__badge strong { font-family: var(--font-display); font-size: 1rem; display: block; line-height: 1.2; }
.hero__badge span { font-size: .85rem; color: var(--ink-soft); }

/* Confete de hexágonos */
.hero__confetti, .contact__confetti { position: absolute; inset: 0; pointer-events: none; }
.hex { position: absolute; opacity: .8; }
.hex--1 { width: 34px; top: 18%; left: 6%;  animation: drift 7s ease-in-out infinite; }
.hex--2 { width: 22px; top: 30%; left: 46%; animation: drift 9s ease-in-out infinite 1s; }
.hex--3 { width: 18px; top: 15%; right: 8%; animation: drift 8s ease-in-out infinite .5s; }
.hex--4 { width: 26px; bottom: 24%; left: 3%; animation: drift 10s ease-in-out infinite 2s; }
.hex--5 { width: 16px; bottom: 30%; right: 4%; animation: drift 7.5s ease-in-out infinite 1.5s; }
.hex--a { width: 28px; top: 14%; left: 8%; animation: drift 8s ease-in-out infinite; }
.hex--b { width: 20px; top: 22%; right: 10%; animation: drift 9s ease-in-out infinite 1s; }
.hex--c { width: 24px; bottom: 18%; left: 14%; animation: drift 7s ease-in-out infinite .7s; }
.hex--d { width: 16px; top: 40%; left: 4%; animation: drift 9.5s ease-in-out infinite 1.6s; }
.hex--e { width: 18px; top: 12%; right: 26%; animation: drift 8.5s ease-in-out infinite .4s; }
.hex--f { width: 14px; bottom: 34%; right: 6%; animation: drift 7.5s ease-in-out infinite 2.2s; }
.hex--g { width: 22px; bottom: 12%; right: 20%; animation: drift 10s ease-in-out infinite 1.2s; }

/* Confete de hexágonos nas seções internas */
.section__confetti { position: absolute; inset: 0; pointer-events: none; }
.hex--s1 { width: 26px; top: 12%; right: 7%; animation: drift 8s ease-in-out infinite .3s; }
.hex--s2 { width: 16px; top: 46%; left: 4%; animation: drift 9s ease-in-out infinite 1.4s; }
.hex--s3 { width: 20px; bottom: 14%; right: 12%; animation: drift 7.5s ease-in-out infinite .9s; }
.hex--x1 { width: 24px; top: 14%; right: 9%; animation: drift 8.5s ease-in-out infinite .6s; }
.hex--x2 { width: 15px; top: 38%; left: 5%; animation: drift 9.5s ease-in-out infinite 1.8s; }
.hex--x3 { width: 19px; bottom: 16%; left: 10%; animation: drift 7s ease-in-out infinite 1.1s; }

@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-16px) rotate(12deg); }
}

.float      { animation: floaty 5s ease-in-out infinite; }
.float-slow { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ---------- Sobre ---------- */
.about__grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(44px, 7vw, 88px);
  align-items: center;
}

.about__media { position: relative; }

.blob-frame {
  border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
  box-shadow: var(--shadow-lift);
}
.blob-frame .ph { border-radius: 0; }

/* Slideshow automático dentro da moldura oval */
.blob-slides { position: relative; }
.blob-slides .frame-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: blob-fade 12s infinite;
}
.blob-slides .frame-img:nth-child(2) { animation-delay: 4s; }
.blob-slides .frame-img:nth-child(3) { animation-delay: 8s; }

@keyframes blob-fade {
  0%    { opacity: 0; }
  6%    { opacity: 1; }
  33.3% { opacity: 1; }
  40%   { opacity: 0; }
  100%  { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .blob-slides .frame-img { animation: none; }
  .blob-slides .frame-img:first-child { opacity: 1; }
}

.about__text p + p { margin-top: 16px; }
.about__text { color: var(--ink-soft); margin-top: 18px; }
.about__text strong { color: var(--ink); }

.about__stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.about__stats li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--spring), box-shadow .3s var(--ease-out);
}
.about__stats li:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.about__stats .icon { width: 1.35em; height: 1.35em; color: #1FA3BF; }
.about__stats strong {
  font-family: var(--font-display);
  font-size: .92rem;
  display: block;
  line-height: 1.2;
}
.about__stats span { font-size: .78rem; color: var(--ink-soft); line-height: 1.3; display: block; }

/* ---------- Espaços / Tour das atrações ---------- */
.tour {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: stretch;
}

.tour__stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  min-height: 420px;
  background: var(--blue-tint);
}

.tour__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s var(--ease-out);
}
.tour__slide.is-active { opacity: 1; }
.tour__slide .ph { border-radius: 0; min-height: 100%; }

.tour__slide-label {
  position: absolute;
  left: 20px; top: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
  background: rgba(255, 254, 236, .92);
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  z-index: 2;
}

.tour__panel {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
}
.tour__panel h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.tour__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.tour__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  background: transparent;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .25s var(--spring);
}
.tour__item:hover { background: rgba(69, 201, 224, .1); transform: translateX(3px); }
.tour__item:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; }
.tour__item.is-active {
  background: rgba(69, 201, 224, .14);
  border-color: rgba(69, 201, 224, .45);
}
.tour__item.is-active .tour__progress { opacity: 1; }

.attraction__dot {
  width: 13px; height: 13px;
  border-radius: 4px;
  background: var(--dot, var(--blue-2));
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Janelinha de descrição */
.tour__popover {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 5;
  background: var(--cream);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  padding: 20px 48px 20px 22px;
  animation: pop-in .35s var(--spring);
}
.tour__popover h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.tour__popover p { color: var(--ink-soft); font-size: .95rem; }

.tour__pop-close {
  position: absolute;
  top: 12px; right: 12px;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 60, 85, .08);
  cursor: pointer;
  transition: background-color .2s, transform .25s var(--spring);
}
.tour__pop-close:hover { background: rgba(18, 60, 85, .16); transform: scale(1.08); }
.tour__pop-close .icon { width: 1em; height: 1em; }

@keyframes pop-in {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Sala sensorial ---------- */
.sensory { overflow: hidden; }

.sensory__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(44px, 7vw, 88px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.sensory__tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: #1FA3BF;
  font-style: italic;
  margin-top: 14px;
}

.sensory__lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-top: 14px;
  max-width: 48ch;
}
.sensory__lead strong { color: #1FA3BF; }

.sensory__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  max-width: 46ch;
}
.sensory__items li {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  background: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.sensory__note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  background: #fff;
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow-soft);
  max-width: 48ch;
}
.sensory__note .icon { width: 1.4em; height: 1.4em; color: var(--blue-1); margin-top: 2px; }
.sensory__note p { color: var(--ink-soft); font-size: .92rem; }
.sensory__note strong { color: var(--ink); }

/* Peças de quebra-cabeça decorativas (inclusão, sutil) */
.puzzle {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.puzzle--big {
  width: clamp(220px, 26vw, 360px);
  right: -60px;
  top: 40px;
  color: var(--ink);
  opacity: .06;
  transform: rotate(14deg);
}
.puzzle--small {
  width: 56px;
  left: 4%;
  bottom: 18%;
  color: var(--blue-1);
  opacity: .5;
  transform: rotate(-10deg);
}

/* ---------- Experiências ---------- */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}
.exp-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--spring), box-shadow .35s var(--ease-out);
}
.exp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.exp-card__media { height: 210px; }
.exp-card__media .ph { border-radius: 0; min-height: 210px; }
.exp-card__body { padding: 26px 28px 30px; }
.exp-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.exp-card__body p { color: var(--ink-soft); margin-bottom: 12px; }

.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123C55' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list--compact li { margin-bottom: 9px; font-size: .98rem; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li {
  font-weight: 700;
  font-size: .88rem;
  background: rgba(69, 201, 224, .14);
  color: #17708A;
  border: 1px solid rgba(69, 201, 224, .3);
  padding: 5px 13px;
  border-radius: 999px;
}

/* ---------- Reels / Instagram ---------- */
.reels .section-head { margin-inline: auto; text-align: center; }
.reels__sub { color: var(--ink-soft); margin-top: 14px; }

.reels__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
  max-width: 860px;
  margin-inline: auto;
}
.reel-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 9 / 14;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(18, 60, 85, .2);
  transition: transform .35s var(--spring), box-shadow .35s var(--ease-out);
  background: #fff;
}
.reel-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 24px 48px rgba(18, 60, 85, .28); }
.reel-card:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.reel-card .ph {
  min-height: 100%;
  border-radius: 0;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(255, 234, 115, .4), transparent 60%),
    radial-gradient(110% 100% at 85% 90%, rgba(69, 201, 224, .45), transparent 55%),
    linear-gradient(160deg, #A8D8ED, #8CC8E4);
}

.reel-card__cta {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink);
  background: var(--cream);
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transition: background-color .2s, transform .25s var(--spring);
}
.reel-card:hover .reel-card__cta { background: var(--yellow); transform: translateY(-2px); }

.reels__follow { text-align: center; margin-top: clamp(36px, 5vw, 52px); }

/* ---------- Contato ---------- */
.contact {
  overflow: hidden;
  /* espaço extra na base para o mascote não disputar lugar com os botões */
  padding-bottom: clamp(190px, 18vw, 230px);
}
.contact .section-head { text-align: center; margin-inline: auto; }
.contact__sub {
  color: var(--ink-soft);
  font-size: 1.15rem;
  margin-top: 28px;
  max-width: 46ch;
  margin-inline: auto;
}

/* Mascote festeiro + confetes soprados da corneta (canto inferior direito) */
.party-mascot {
  position: absolute;
  right: clamp(16px, 6vw, 110px);
  bottom: clamp(26px, 3.5vw, 44px);
  width: clamp(104px, 12vw, 150px);
  z-index: 1;
}
.party-mascot img {
  width: 100%;
  filter: drop-shadow(0 12px 22px rgba(18, 60, 85, .18));
}

.confetti {
  position: absolute;
  /* origem: boca da corneta (lado esquerdo superior do mascote) */
  left: 8%;
  top: 34%;
  width: 7px;
  height: 11px;
  border-radius: 2px;
  opacity: 0;
  background: var(--pink);
  animation: blow 2.8s cubic-bezier(.18, .6, .35, 1) infinite;
  will-change: transform, opacity;
}
.confetti--1  { --dx: -74px;  --dy: -52px; --rot: 320deg;  background: var(--pink);        animation-delay: 0s; }
.confetti--2  { --dx: -96px;  --dy: -18px; --rot: -260deg; background: var(--blue-2);      animation-delay: .35s; }
.confetti--3  { --dx: -60px;  --dy: -74px; --rot: 220deg;  background: var(--yellow-deep); animation-delay: .7s; width: 6px; height: 6px; border-radius: 50%; }
.confetti--4  { --dx: -110px; --dy: -44px; --rot: -340deg; background: var(--green);       animation-delay: 1.05s; }
.confetti--5  { --dx: -84px;  --dy: 16px;  --rot: 280deg;  background: var(--purple);      animation-delay: 1.4s; width: 6px; height: 9px; }
.confetti--6  { --dx: -122px; --dy: -70px; --rot: -220deg; background: var(--orange);      animation-delay: 1.75s; }
.confetti--7  { --dx: -52px;  --dy: -30px; --rot: 180deg;  background: var(--blue-1);      animation-delay: 2.1s; width: 6px; height: 6px; border-radius: 50%; }
.confetti--8  { --dx: -100px; --dy: 34px;  --rot: -300deg; background: var(--yellow-deep); animation-delay: 2.45s; }
.confetti--9  { --dx: -132px; --dy: -12px; --rot: 260deg;  background: var(--pink);        animation-delay: .95s; width: 5px; height: 8px; }
.confetti--10 { --dx: -68px;  --dy: 44px;  --rot: -200deg; background: var(--green);       animation-delay: 1.9s; width: 6px; height: 6px; border-radius: 50%; }

@keyframes blow {
  0%   { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(.4); }
  12%  { opacity: 1; transform: translate(calc(var(--dx) * .25), calc(var(--dy) * .3)) rotate(calc(var(--rot) * .25)) scale(1); }
  60%  { opacity: 1; transform: translate(calc(var(--dx) * .78), calc(var(--dy) * .9)) rotate(calc(var(--rot) * .7)) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) + 26px)) rotate(var(--rot)) scale(.9); }
}

/* ---------- Localização ---------- */
.map-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  transition: transform .3s var(--spring), box-shadow .3s var(--ease-out);
}
.map-card:hover { transform: translateY(-4px); box-shadow: 0 24px 52px rgba(18, 60, 85, .2); }
.map-card iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 38vw, 440px);
  border: 0;
  pointer-events: none; /* o clique é do overlay, que abre o Google Maps */
}
.map-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}
.map-card__overlay:focus-visible { outline: 3px solid var(--blue-2); outline-offset: -3px; }
.map-card__chip {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
  background: var(--cream);
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-lift);
  pointer-events: none;
  white-space: nowrap;
  transition: background-color .2s;
}
.map-card:hover .map-card__chip { background: var(--yellow); }

.contact__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 28px);
  max-width: 760px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}
.wa-btn {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 2px solid rgba(34, 176, 90, .25);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--spring), box-shadow .3s var(--ease-out), border-color .2s;
}
.wa-btn:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: var(--wa);
}
.wa-btn:active { transform: translateY(0) scale(.98); }
.wa-btn:focus-visible { outline: 3px solid var(--wa); outline-offset: 3px; }

.wa-btn__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  flex-shrink: 0;
  transition: transform .3s var(--spring);
}
.wa-btn__icon .icon { width: 1.7em; height: 1.7em; }
.wa-btn:hover .wa-btn__icon { transform: scale(1.08) rotate(6deg); }

.wa-btn__text { flex: 1; }
.wa-btn__text small {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: .02em;
}
.wa-btn__text strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
}
.wa-btn__arrow { color: var(--wa); transition: transform .25s var(--ease-out); }
.wa-btn:hover .wa-btn__arrow { transform: translateX(5px); }

/* ---------- Rodapé ---------- */
.footer {
  background: var(--sky-deep);
  color: var(--ink-soft);
  padding: clamp(32px, 4.5vw, 48px) 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(24px, 3vw, 36px);
  align-items: center;
}
.footer__logo { width: min(170px, 100%); height: auto; }

.footer__col h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.footer__col a, .footer__col p {
  display: block;
  font-size: .96rem;
  text-decoration: none;
  color: var(--ink-soft);
  margin-bottom: 7px;
  transition: color .2s;
}
.footer__col a:hover { color: var(--ink); text-decoration: underline; }

.footer__bottom {
  border-top: 1px solid rgba(18, 60, 85, .16);
  padding: 14px 0;
  font-size: .85rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- Botão flutuante WhatsApp ---------- */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 28px rgba(34, 176, 90, .45);
  transition: transform .3s var(--spring), opacity .3s, visibility .3s;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
}
.wa-fab.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.wa-fab:hover { transform: translateY(-4px) scale(1.06); }
.wa-fab:active { transform: scale(.94); }
.wa-fab .icon { width: 1.9em; height: 1.9em; }

/* ---------- Animações de entrada (scroll reveal) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal--delay-1 { transition-delay: .12s; }
.reveal--delay-2 { transition-delay: .24s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 480px; margin-inline: auto; }
  .about__grid, .sensory__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 440px; }
  .sensory__media { max-width: 440px; order: -1; }
  .exp-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .tour { grid-template-columns: 1fr; }
  .tour__stage { min-height: 340px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    box-shadow: 0 20px 40px rgba(18, 60, 85, .12);
    padding: 12px 0;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px clamp(20px, 5vw, 40px); }
  .nav__links a::after { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__logo img { height: 42px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { padding-top: 120px; }
  .hex--1, .hex--2, .hex--b { display: none; }
  .hero__badge { left: 8px; bottom: 16px; padding: 12px 16px; }
  .hero__mascot { right: -6px; width: 86px; }
  .reels__grid { grid-template-columns: 1fr; max-width: 320px; }
  .contact__buttons { grid-template-columns: 1fr; }
  .party-mascot { width: 88px; right: 14px; bottom: 18px; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-fab { right: 16px; bottom: 16px; }
  .tour__stage { min-height: 300px; }
  .puzzle--big { right: -100px; opacity: .05; }
}

/* ---------- Acessibilidade: movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
