/* ==========================================================
   prose.css - Diversao Familiar, Coimbra
   one file, sections marked below; properties in alphabetical order
   ========================================================== */

/* ---------- fonts ---------- */
@font-face {
  font-display: swap;
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 300 700;
  src: url("../fonts/comfortaa-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-display: swap;
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 300 700;
  src: url("../fonts/quicksand-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* metric-matched local fallbacks: size-adjust measured at weight 400 */
@font-face {
  ascent-override: 88%;
  descent-override: 23%;
  font-family: "Comfortaa Fallback";
  line-gap-override: 0%;
  size-adjust: 117.5%;
  src: local("Arial");
}

@font-face {
  ascent-override: 100%;
  descent-override: 25%;
  font-family: "Quicksand Fallback";
  line-gap-override: 0%;
  size-adjust: 104.1%;
  src: local("Arial");
}

/* ---------- tokens (named after the hall: foam, nets, trampoline canvas) ---------- */
:root {
  --canto: 20px;
  --canto-btn: 16px;
  --canto-lg: 24px;
  --corda: #5A6785;
  --espuma: #FFFFFF;
  --labirinto: #2450E0;
  --letra-titulo: "Comfortaa", "Comfortaa Fallback", "Trebuchet MS", sans-serif;
  --letra-texto: "Quicksand", "Quicksand Fallback", "Segoe UI", sans-serif;
  --lona: #14213D;
  --nuvem: #EEF4FF;
  --passo: clamp(72px, 9vw, 120px);
  --rede: #D5DEEE;
  --rampa: 4vw;
  --sombra: 0 18px 40px -22px #13254A47, 0 4px 14px -8px #13254A26;
  --trampolim: #FF6B1A;
  --trampolim-fundo: #C2470A;
  --tunel: #13254A;
  --tunel-luz: #F3F6FF;
}

/* ---------- reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--espuma);
  color: var(--lona);
  font-family: var(--letra-texto);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

svg {
  flex-shrink: 0;
}

address {
  font-style: normal;
}

h1,
h2,
h3 {
  font-family: var(--letra-titulo);
  font-weight: 500;
  line-height: 1.18;
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.9rem);
}

h3 {
  font-size: clamp(1.18rem, 1.6vw, 1.36rem);
}

p {
  margin: 0 0 16px;
}

a {
  color: var(--labirinto);
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--tunel);
}

:focus-visible {
  outline: 3px solid var(--labirinto);
  outline-offset: 3px;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
}

.sr-only {
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.skip-link {
  background: var(--lona);
  border-radius: 12px;
  color: var(--espuma);
  left: 16px;
  padding: 12px 18px;
  position: absolute;
  top: -100px;
  z-index: 400;
}

.skip-link:focus {
  color: var(--espuma);
  top: 12px;
}

.container {
  margin-left: auto;
  margin-right: auto;
  max-width: 1240px;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
  width: 100%;
}

/* ---------- section rhythm: one equal step everywhere ---------- */
.band {
  padding-bottom: var(--passo);
  padding-top: var(--passo);
  position: relative;
}

.band-tint {
  background: var(--nuvem);
  /* slanted top + bottom edges = diagonal flow */
  clip-path: polygon(0 0, 100% var(--rampa), 100% 100%, 0 calc(100% - var(--rampa)));
  padding-bottom: calc(var(--passo) + var(--rampa));
  padding-top: calc(var(--passo) + var(--rampa));
}

.band-dark {
  background: var(--tunel);
  clip-path: polygon(0 var(--rampa), 100% 0, 100% calc(100% - var(--rampa)), 0 100%);
  color: var(--tunel-luz);
  padding-bottom: calc(var(--passo) + var(--rampa));
  padding-top: calc(var(--passo) + var(--rampa));
}

.band-dark h2,
.band-dark h3,
.band-dark p,
.band-dark li,
.band-dark strong,
.band-dark b {
  color: var(--tunel-luz);
}

.band-dark a {
  color: var(--trampolim);
}

.band-dark a:hover,
.band-dark a:focus-visible {
  color: var(--tunel-luz);
}

.band-dark .eyebrow {
  color: var(--trampolim);
}

.eyebrow {
  color: var(--trampolim-fundo);
  font-family: var(--letra-titulo);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.lead {
  color: var(--corda);
  font-size: clamp(1.06rem, 1.4vw, 1.22rem);
  max-width: 62ch;
}

.band-dark .lead {
  color: var(--tunel-luz);
}

.section-top {
  display: grid;
  gap: 8px 48px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

/* thick marker line under key words */
.mark {
  background-image: linear-gradient(var(--trampolim), var(--trampolim));
  background-position: 0 92%;
  background-repeat: no-repeat;
  background-size: 100% 0.24em;
  padding: 0 0.06em;
}

.mark-blue {
  background-image: linear-gradient(var(--labirinto), var(--labirinto));
}

.band-dark .mark {
  background-image: linear-gradient(var(--trampolim), var(--trampolim));
}

/* ---------- buttons ---------- */
.btn-heavy {
  align-items: center;
  background: var(--trampolim);
  border: 0;
  border-radius: var(--canto-btn);
  box-shadow: 0 10px 22px -16px #13254A80;
  color: var(--lona);
  cursor: pointer;
  display: flex;
  font-family: var(--letra-titulo);
  font-size: 1.08rem;
  font-weight: 700;
  gap: 12px;
  justify-content: space-between;
  min-height: 60px;
  padding: 16px 24px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  width: 100%;
}

.btn-heavy:hover,
.btn-heavy:focus-visible {
  background: var(--trampolim-fundo);
  color: var(--espuma);
}

.btn-heavy svg {
  height: 22px;
  width: 22px;
}

.btn-blue {
  background: var(--labirinto);
  color: var(--espuma);
}

.btn-blue:hover,
.btn-blue:focus-visible {
  background: var(--tunel);
  color: var(--espuma);
}

.band-dark .btn-heavy {
  color: var(--lona);
}

.band-dark .btn-heavy:hover,
.band-dark .btn-heavy:focus-visible {
  background: var(--tunel-luz);
  color: var(--lona);
}

.link-arrow {
  align-items: center;
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
  min-height: 48px;
}

/* ---------- header (menu left, logo right) ---------- */
.site-head {
  background: var(--espuma);
  border-bottom: 1px solid var(--rede);
  position: sticky;
  top: 0;
  z-index: 300;
}

.head-row {
  align-items: center;
  display: flex;
  gap: 16px;
  min-height: 76px;
}

.brand {
  align-items: center;
  color: var(--lona);
  display: flex;
  font-family: var(--letra-titulo);
  font-size: 1.2rem;
  font-weight: 700;
  gap: 12px;
  margin-left: auto;
  min-height: 48px;
  order: 2;
  position: relative;
  text-decoration: none;
  z-index: 2;
}

.brand:hover,
.brand:focus-visible {
  color: var(--labirinto);
}

.brand img {
  height: 40px;
  width: 40px;
}

.menu-toggle {
  align-items: center;
  background: var(--nuvem);
  border: 0;
  border-radius: 14px;
  color: var(--lona);
  cursor: pointer;
  display: flex;
  font-weight: 700;
  gap: 10px;
  min-height: 48px;
  order: 0;
  padding: 0 16px;
  position: relative;
  z-index: 2;
}

.menu-toggle svg {
  height: 22px;
  width: 22px;
}

.menu-toggle .bar-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .bar-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .bar-close {
  display: block;
}

.main-nav {
  background: var(--espuma);
  inset: 0;
  order: 1;
  overflow-y: auto;
  padding: 104px 24px 40px;
  position: fixed;
  transform: translateX(-100%);
  transition: transform 0.28s ease, visibility 0s linear 0.28s;
  visibility: hidden;
  z-index: 1;
}

.main-nav.shown {
  transform: none;
  transition: transform 0.28s ease;
  visibility: visible;
}

.main-nav ul {
  display: grid;
  gap: 4px;
  list-style: none;
}

.main-nav a {
  border-bottom: 3px solid transparent;
  color: var(--lona);
  display: flex;
  font-family: var(--letra-titulo);
  font-size: 1.5rem;
  font-weight: 500;
  min-height: 56px;
  padding: 10px 0;
  text-decoration: none;
}

.main-nav a[aria-current="page"] {
  border-bottom-color: var(--trampolim);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--labirinto);
}

.nav-contact {
  border-top: 1px solid var(--rede);
  color: var(--corda);
  margin-top: 28px;
  padding-top: 20px;
}

/* ---------- hero (index) ---------- */
.hero {
  isolation: isolate;
  overflow: hidden;
  padding-bottom: clamp(40px, 6vw, 72px);
  padding-top: clamp(8px, 1.6vw, 24px);
  position: relative;
}

.hero-shapes {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.shape {
  animation: hop 3.6s ease-in-out infinite;
  display: block;
  position: absolute;
  transition: translate 0.5s ease-out;
}

/* parallax uses the separate translate property, the bounce keeps transform */
.shape-ball {
  background: var(--trampolim);
  border-radius: 50%;
  height: 120px;
  left: 2%;
  top: 6%;
  width: 120px;
}

.shape-pill {
  animation-delay: -1.2s;
  animation-duration: 4.4s;
  background: var(--labirinto);
  border-radius: 999px;
  height: 64px;
  right: 3%;
  rotate: -16deg;
  top: 4%;
  width: 190px;
}

.shape-arc {
  animation-delay: -0.6s;
  animation-duration: 3.2s;
  border: 18px solid var(--trampolim);
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  height: 150px;
  right: 6%;
  rotate: 20deg;
  top: 40%;
  width: 150px;
}

.shape-dot {
  animation-delay: -2s;
  animation-duration: 2.8s;
  background: var(--labirinto);
  border-radius: 50%;
  height: 46px;
  left: 9%;
  top: 46%;
  width: 46px;
}

.shape-ring {
  animation-delay: -1.7s;
  animation-duration: 4s;
  border: 14px solid var(--labirinto);
  border-radius: 50%;
  bottom: 9%;
  height: 96px;
  right: 2%;
  width: 96px;
}

.shape-half {
  animation-delay: -0.3s;
  animation-duration: 3.8s;
  background: var(--trampolim);
  border-radius: 999px 999px 0 0;
  bottom: 14%;
  height: 60px;
  left: 1%;
  width: 120px;
}

.shape-mini {
  animation-delay: -2.6s;
  animation-duration: 2.4s;
  background: var(--trampolim);
  border-radius: 50%;
  height: 26px;
  left: 30%;
  top: 2%;
  width: 26px;
}

@keyframes hop {
  0%,
  100% {
    transform: translateY(0) scale(1, 1);
  }
  40% {
    transform: translateY(-22px) scale(0.97, 1.03);
  }
  70% {
    transform: translateY(0) scale(1.05, 0.95);
  }
}

.hero-word {
  color: var(--trampolim);
  font-family: var(--letra-titulo);
  font-size: clamp(3.9rem, 15.4vw, 13.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.92;
  margin: -0.12em 0 -0.04em;
  /* room for the tilde: background-clip paints only the border box */
  padding-top: 0.26em;
  text-align: center;
  user-select: none;
  white-space: nowrap;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-word {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pan 26s ease-in-out infinite alternate;
    background-clip: text;
    background-color: var(--trampolim);
    background-image: linear-gradient(180deg, #13254A8C 0%, #2450E04D 55%, #FF6B1A4D 100%), url("../img/salao-trampolins.webp");
    background-position: 0% 62%;
    background-size: 100% auto, 135% auto;
    color: transparent;
  }
}

@keyframes pan {
  0% {
    background-position: 0 0, 0% 62%;
  }
  100% {
    background-position: 0 0, 100% 48%;
  }
}

.hero-strip {
  background: var(--nuvem);
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
  /* kept low so the hero card (h1, address, phone) clears the consent card on 1280x800 */
  height: clamp(190px, 24vh, 340px);
  position: relative;
}

.hero-strip img {
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  width: 100%;
}

/* slanted veil over the photo */
.hero-strip::after {
  background: linear-gradient(100deg, #2450E047 0%, #2450E000 38%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-card {
  background: var(--espuma);
  border-radius: var(--canto-lg);
  box-shadow: var(--sombra);
  display: grid;
  gap: 24px;
  margin-top: -84px;
  padding: clamp(22px, 3vw, 36px);
  position: relative;
}

.hero-card h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.75rem);
  margin-bottom: 14px;
  max-width: 24ch;
}

.hero-facts {
  color: var(--corda);
  display: grid;
  gap: 6px;
  list-style: none;
}

.hero-facts li {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.hero-facts svg {
  color: var(--labirinto);
  height: 22px;
  margin-top: 2px;
  width: 22px;
}

.today-line {
  color: var(--lona);
  font-weight: 700;
}

.hero-actions {
  align-content: end;
  display: grid;
  gap: 12px;
}

.tel-link {
  align-items: center;
  border-bottom: 1px solid var(--rede);
  color: var(--lona);
  display: flex;
  font-family: var(--letra-titulo);
  font-size: 1.2rem;
  font-weight: 700;
  gap: 12px;
  min-height: 56px;
  text-decoration: none;
}

.tel-link svg {
  color: var(--trampolim-fundo);
  height: 24px;
  width: 24px;
}

.tel-link small {
  color: var(--corda);
  display: block;
  font-family: var(--letra-texto);
  font-size: 0.86rem;
  font-weight: 500;
}

/* ---------- age tiles ---------- */
.age-grid {
  display: grid;
  list-style: none;
}

.age-tile {
  border-top: 1px solid var(--rede);
  display: grid;
  gap: 14px;
  padding: 24px 0;
}

.age-tile img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.age-num {
  color: var(--labirinto);
  font-family: var(--letra-titulo);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
}

.age-tile:nth-child(even) .age-num {
  color: var(--trampolim-fundo);
}

.age-tile p {
  color: var(--corda);
  margin: 0;
}

/* ---------- playbill rows ---------- */
.bill {
  border-bottom: 1px solid var(--rede);
  list-style: none;
}

.bill-row {
  border-top: 1px solid var(--rede);
}

.bill-head {
  align-items: center;
  background: none;
  border: 0;
  color: var(--lona);
  cursor: pointer;
  display: grid;
  gap: 6px 20px;
  grid-template-columns: 52px 1fr auto;
  min-height: 84px;
  padding: 18px 8px;
  text-align: left;
  text-decoration: none;
  transition: background-color 0.2s ease;
  width: 100%;
}

.bill-head:hover,
.bill-head:focus-visible {
  background: var(--nuvem);
  color: var(--lona);
}

.bill-icon {
  align-items: center;
  background: var(--nuvem);
  border-radius: 50%;
  color: var(--labirinto);
  display: flex;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.bill-row:nth-child(even) .bill-icon {
  color: var(--trampolim-fundo);
}

.bill-icon svg {
  height: 28px;
  width: 28px;
}

.bill-name {
  font-family: var(--letra-titulo);
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
  font-weight: 500;
}

.bill-name small {
  color: var(--corda);
  display: block;
  font-family: var(--letra-texto);
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 4px;
}

.bill-age {
  background: var(--lona);
  border-radius: 999px;
  color: var(--espuma);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 6px 12px;
  white-space: nowrap;
}

.bill-head .chev {
  height: 22px;
  transition: rotate 0.2s ease;
  width: 22px;
}

.bill-head[aria-expanded="true"] .chev {
  rotate: 180deg;
}

.bill-ends {
  align-items: center;
  display: flex;
  gap: 12px;
  grid-column: 2 / 4;
  justify-self: start;
}

.bill-panel {
  padding: 4px 8px 32px;
}

.bill-panel[hidden] {
  display: none;
}

.bill-card {
  background: var(--nuvem);
  border-radius: var(--canto-lg);
  display: grid;
  gap: 24px;
  padding: clamp(14px, 2vw, 22px);
}

.bill-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.bill-card .wide {
  aspect-ratio: 21 / 9;
}

.bill-card p {
  color: var(--lona);
}

/* ---------- chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-top: 8px;
}

.chips li {
  background: var(--espuma);
  border-radius: 999px;
  color: var(--lona);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 8px 14px;
}

.band-tint .chips li {
  background: var(--espuma);
}

.band-dark .chips li {
  background: #F3F6FF1F;
  color: var(--tunel-luz);
}

/* ---------- deck tabs (party packs) ---------- */
.deck {
  display: grid;
  gap: 20px;
}

.deck-tabs {
  display: grid;
  gap: 10px;
}

.deck-tab {
  align-items: baseline;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #F3F6FF40;
  color: var(--tunel-luz);
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  justify-content: space-between;
  min-height: 64px;
  padding: 16px 18px;
  text-align: left;
}

.deck-tab b {
  font-family: var(--letra-titulo);
  font-size: 1.25rem;
  font-weight: 500;
}

.deck-tab span {
  font-size: 0.95rem;
}

.deck-tab:hover,
.deck-tab:focus-visible {
  background: #F3F6FF14;
}

.deck-tab[aria-selected="true"] {
  background: var(--trampolim);
  border-bottom-color: transparent;
  border-radius: var(--canto);
  color: var(--lona);
}

.band-dark .deck-tab[aria-selected="true"] b {
  color: var(--lona);
}

.deck-panel {
  background: var(--espuma);
  border-radius: var(--canto-lg);
  box-shadow: var(--sombra);
  color: var(--lona);
  display: grid;
  gap: 20px;
  padding: clamp(20px, 3vw, 36px);
}

.deck-panel[hidden] {
  display: none;
}

.band-dark .deck-panel h3,
.band-dark .deck-panel p,
.band-dark .deck-panel li,
.band-dark .deck-panel strong {
  color: var(--lona);
}

.band-dark .deck-panel a {
  color: var(--labirinto);
}

.band-dark .deck-panel a:hover,
.band-dark .deck-panel a:focus-visible {
  color: var(--tunel);
}

.deck-price {
  color: var(--trampolim-fundo);
  font-family: var(--letra-titulo);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.deck-price small {
  color: var(--corda);
  display: block;
  font-family: var(--letra-texto);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: normal;
}

.band-dark .deck-price small {
  color: var(--corda);
}

.tick-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.tick-list li {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.tick-list li::before {
  background: var(--trampolim);
  border-radius: 50%;
  content: "";
  flex-shrink: 0;
  height: 12px;
  margin-top: 8px;
  width: 12px;
}

.deck-panel .tick-list li::before {
  background: var(--labirinto);
}

/* ---------- compare table ---------- */
.table-wrap {
  min-width: 0;
  overflow-x: auto;
  scrollbar-color: var(--trampolim) transparent;
  scrollbar-width: thin;
}

.price-table {
  border-collapse: collapse;
  min-width: 320px;
  width: 100%;
}

.price-table caption {
  color: var(--corda);
  font-size: 0.95rem;
  padding-bottom: 12px;
  text-align: left;
}

.price-table th,
.price-table td {
  border-bottom: 1px solid var(--rede);
  padding: 16px 12px;
  text-align: left;
  vertical-align: top;
}

.price-table thead th {
  color: var(--corda);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.price-table tbody th {
  font-weight: 700;
}

.price-table td.price {
  font-family: var(--letra-titulo);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.price-table thead th:last-child {
  text-align: right;
}

.price-table tr.pick {
  background: var(--nuvem);
}

.price-table tr.pick th {
  box-shadow: inset 6px 0 0 var(--trampolim);
}

.table-card {
  background: var(--espuma);
  border-radius: var(--canto-lg);
  box-shadow: var(--sombra);
  padding: clamp(16px, 3vw, 32px);
}

/* ---------- hours ---------- */
.hours-card {
  background: var(--labirinto);
  border-radius: var(--canto-lg);
  color: var(--espuma);
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 36px);
}

.hours-card h3,
.hours-card p,
.hours-card dt,
.hours-card dd {
  color: var(--espuma);
}

.hours-card a {
  color: var(--espuma);
}

.hours-card a:hover,
.hours-card a:focus-visible {
  color: var(--tunel-luz);
}

.hours-list {
  display: grid;
  margin: 0;
}

.hours-list div {
  border-top: 1px solid #F3F6FF4D;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  justify-content: space-between;
  padding: 12px 0;
}

.hours-list dt {
  font-weight: 700;
}

.hours-list dd {
  font-family: var(--letra-titulo);
  font-weight: 700;
  margin: 0;
}

.hours-list .hot {
  background: var(--trampolim);
  border-radius: 14px;
  border-top-color: transparent;
  color: var(--lona);
  padding: 12px 14px;
}

.hours-list .hot dt,
.hours-list .hot dd {
  color: var(--lona);
}

/* ---------- voices (initials only) ---------- */
.voices {
  display: grid;
  list-style: none;
}

.voice {
  border-top: 1px solid var(--rede);
  margin: 0;
  padding: 28px 0;
}

.voice blockquote {
  font-size: 1.1rem;
  margin: 0 0 14px;
}

.voice blockquote::before {
  color: var(--trampolim);
  content: "\201C";
  display: block;
  font-family: var(--letra-titulo);
  font-size: 4rem;
  font-weight: 700;
  height: 0.6em;
  line-height: 1;
}

.voice .who {
  color: var(--corda);
  font-weight: 700;
  margin: 0;
}

/* ---------- faq ---------- */
.faq {
  display: grid;
}

.faq details {
  border-top: 1px solid var(--rede);
}

.faq details:last-child {
  border-bottom: 1px solid var(--rede);
}

.faq summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-family: var(--letra-titulo);
  font-size: clamp(1.06rem, 1.5vw, 1.25rem);
  font-weight: 500;
  gap: 16px;
  justify-content: space-between;
  list-style: none;
  min-height: 72px;
  padding: 16px 4px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  color: var(--trampolim-fundo);
  content: "+";
  font-size: 1.8rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  color: var(--corda);
  margin: 0;
  max-width: 70ch;
  padding: 0 4px 24px;
}

/* ---------- map on click ---------- */
.map-box {
  background-color: var(--nuvem);
  background-image: linear-gradient(#D5DEEE 1px, transparent 1px), linear-gradient(90deg, #D5DEEE 1px, transparent 1px);
  background-size: 34px 34px;
  border-radius: var(--canto-lg);
  display: grid;
  min-height: 340px;
  overflow: hidden;
  place-items: center;
  position: relative;
}

.map-cover {
  background: var(--espuma);
  border-radius: var(--canto);
  box-shadow: var(--sombra);
  display: grid;
  gap: 12px;
  margin: 24px;
  max-width: 420px;
  padding: 24px;
}

.map-cover[hidden] {
  display: none;
}

.map-cover svg {
  color: var(--trampolim);
  height: 40px;
  width: 40px;
}

.map-cover p {
  margin: 0;
}

.map-box iframe {
  border: 0;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.place-grid {
  display: grid;
  gap: 28px;
}

.place-card {
  display: grid;
  gap: 18px;
}

.place-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.place-card dl div {
  border-top: 1px solid var(--rede);
  padding: 12px 0;
}

.place-card dt {
  color: var(--corda);
  font-size: 0.9rem;
  font-weight: 700;
}

.place-card dd {
  margin: 0;
}

/* ---------- inner page head ---------- */
.page-head {
  background: var(--nuvem);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--rampa)));
  overflow: hidden;
  padding-bottom: calc(48px + var(--rampa));
  padding-top: 48px;
  position: relative;
}

/* big bright plane, the colour field of the page */
.page-head::before {
  background: var(--trampolim);
  content: "";
  height: 150%;
  position: absolute;
  right: -30%;
  rotate: -14deg;
  top: -40%;
  width: 52%;
}

.page-head::after {
  background: var(--labirinto);
  border-radius: 50%;
  bottom: 18%;
  content: "";
  height: 90px;
  position: absolute;
  right: 6%;
  width: 90px;
}

.page-head .container {
  position: relative;
  z-index: 1;
}

.page-head h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  max-width: 20ch;
}

.page-head .lead {
  color: var(--lona);
  margin: 0;
  max-width: 46ch;
}

.crumbs {
  color: var(--corda);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.crumbs a {
  color: var(--corda);
}

/* ---------- generic blocks ---------- */
.split {
  align-items: center;
  display: grid;
  gap: clamp(28px, 4vw, 64px);
}

.split-text > :last-child {
  margin-bottom: 0;
}

.photo {
  margin: 0;
  position: relative;
}

.photo img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.photo.wide img {
  aspect-ratio: 21 / 9;
}

.photo-veil {
  position: relative;
}

.photo-veil::after {
  background: linear-gradient(115deg, transparent 62%, #FF6B1A59 62%, #FF6B1A59 72%, transparent 72%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.photo figcaption {
  border-left: 4px solid var(--trampolim);
  color: var(--corda);
  font-size: 0.92rem;
  margin-top: 12px;
  padding-left: 12px;
}

.portrait img {
  aspect-ratio: 10 / 16;
  max-width: min(320px, 100%);
  object-fit: cover;
}

.fact-grid {
  display: grid;
  gap: 0;
  list-style: none;
}

.fact-grid li {
  border-top: 1px solid var(--rede);
  display: grid;
  gap: 4px;
  padding: 20px 0;
}

.fact-grid b {
  font-family: var(--letra-titulo);
  font-size: 1.2rem;
  font-weight: 500;
}

.fact-grid span {
  color: var(--corda);
}

.band-dark .fact-grid li {
  border-top-color: #F3F6FF33;
}

.band-dark .fact-grid span {
  color: var(--tunel-luz);
}

.steps {
  counter-reset: passo;
  display: grid;
  gap: 0;
  list-style: none;
}

.steps li {
  border-top: 1px solid #F3F6FF33;
  counter-increment: passo;
  display: grid;
  gap: 4px 20px;
  grid-template-columns: 64px 1fr;
  padding: 20px 0;
}

.steps li::before {
  color: var(--trampolim);
  content: counter(passo, decimal-leading-zero);
  font-family: var(--letra-titulo);
  font-size: 2.2rem;
  font-weight: 700;
  grid-row: span 2;
  line-height: 1;
}

.steps b {
  font-family: var(--letra-titulo);
  font-weight: 500;
}

.band:not(.band-dark) .steps li {
  border-top-color: var(--rede);
}

.band:not(.band-dark) .steps li::before {
  color: var(--labirinto);
}

.plate {
  background: var(--espuma);
  border-radius: var(--canto-lg);
  box-shadow: var(--sombra);
  padding: clamp(20px, 3vw, 36px);
}

.plate > :last-child {
  margin-bottom: 0;
}

.plate-orange {
  background: var(--trampolim);
  box-shadow: none;
  color: var(--lona);
}

.plate-orange a {
  color: var(--lona);
}

.plate-orange a:hover,
.plate-orange a:focus-visible {
  color: var(--tunel);
}

.plate-tint {
  background: var(--nuvem);
  box-shadow: none;
}

.big-figure {
  color: var(--labirinto);
  display: block;
  font-family: var(--letra-titulo);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
}

.plate-orange .big-figure {
  color: var(--lona);
}

/* light plates inside the dark band need their own text colour */
.band-dark .plate,
.band-dark .plate h3,
.band-dark .plate p,
.band-dark .plate li {
  color: var(--lona);
}

.band-dark .plate a {
  color: var(--labirinto);
}

.band-dark .plate a:hover,
.band-dark .plate a:focus-visible {
  color: var(--tunel);
}

.duo {
  display: grid;
  gap: 24px;
  list-style: none;
}

/* grid cells holding tables/forms must be allowed to shrink */
.duo > *,
.split > *,
.place-grid > *,
.legal-flow > *,
.book-layout > *,
.book-col > * {
  min-width: 0;
}

.plate > svg {
  color: var(--trampolim-fundo);
  height: 34px;
  margin-bottom: 12px;
  width: 34px;
}

.duo > li:nth-child(even) > svg {
  color: var(--labirinto);
}

.band-dark .rule-grid li {
  border-top-color: #F3F6FF33;
}

.rule-grid {
  counter-reset: regra;
  display: grid;
  gap: 0;
  list-style: none;
}

.rule-grid li {
  border-top: 1px solid var(--rede);
  counter-increment: regra;
  display: grid;
  gap: 16px;
  grid-template-columns: 48px 1fr;
  padding: 20px 0;
}

.rule-grid li::before {
  align-items: center;
  background: var(--trampolim);
  border-radius: 50%;
  color: var(--lona);
  content: counter(regra);
  display: flex;
  font-family: var(--letra-titulo);
  font-weight: 700;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.rule-grid li:nth-child(even)::before {
  background: var(--labirinto);
  color: var(--espuma);
}

.rule-grid p {
  margin: 0;
}

/* ---------- team ---------- */
.team {
  display: grid;
  gap: 40px;
  list-style: none;
}

.team li {
  display: grid;
  gap: 20px;
}

.team-name {
  font-family: var(--letra-titulo);
  font-size: 1.3rem;
  margin-bottom: 2px;
}

.team-role {
  color: var(--trampolim-fundo);
  font-weight: 700;
}

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  gap: 16px;
  grid-auto-flow: dense;
  list-style: none;
}

.gallery figure {
  background: var(--nuvem);
  border-radius: var(--canto);
  margin: 0;
  padding: 10px 10px 14px;
}

.band-tint .gallery figure {
  background: var(--espuma);
}

.gallery img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.gallery .g-wide img {
  aspect-ratio: 21 / 9;
}

.gallery .g-tall img {
  aspect-ratio: 10 / 16;
  max-width: min(320px, 100%);
}

.gallery figcaption {
  border-left: 4px solid var(--trampolim);
  color: var(--corda);
  font-size: 0.92rem;
  margin-top: 10px;
  padding-left: 10px;
}

.gallery li:nth-child(3n) figcaption {
  border-left-color: var(--labirinto);
}

/* ---------- booking (#marcar) ---------- */
.book {
  display: grid;
  gap: 28px;
}

.book[hidden] {
  display: none;
}

.book-step {
  background: var(--espuma);
  border-radius: var(--canto-lg);
  box-shadow: var(--sombra);
  padding: clamp(18px, 2.6vw, 30px);
}

.book-step h3 {
  align-items: center;
  display: flex;
  gap: 12px;
}

.step-no {
  align-items: center;
  background: var(--labirinto);
  border-radius: 50%;
  color: var(--espuma);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.cal-bar {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cal-title {
  font-family: var(--letra-titulo);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  text-transform: capitalize;
}

.cal-nav {
  align-items: center;
  background: var(--nuvem);
  border: 0;
  border-radius: 12px;
  color: var(--lona);
  cursor: pointer;
  display: flex;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.cal-nav:disabled {
  color: var(--rede);
  cursor: default;
}

.cal-nav svg {
  height: 20px;
  width: 20px;
}

.cal-grid {
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.cal-dow {
  color: var(--corda);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 0;
  text-align: center;
}

.cal-day {
  align-items: center;
  background: var(--nuvem);
  border: 2px solid transparent;
  border-radius: 12px;
  color: var(--lona);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-weight: 700;
  gap: 2px;
  justify-content: center;
  min-height: 52px;
  padding: 4px 0;
}

.cal-day.weekend {
  background: #FF6B1A2E;
}

.cal-day:hover:not(:disabled),
.cal-day:focus-visible {
  border-color: var(--labirinto);
}

.cal-day:disabled {
  background: transparent;
  color: #5A678599;
  cursor: default;
}

.cal-day[aria-pressed="true"] {
  background: var(--labirinto);
  color: var(--espuma);
}

.cal-blank {
  min-height: 52px;
}

.dots {
  display: flex;
  gap: 3px;
  height: 7px;
}

.dots i {
  background: var(--trampolim-fundo);
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.cal-day[aria-pressed="true"] .dots i {
  background: var(--espuma);
}

.cal-legend {
  color: var(--corda);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.88rem;
  gap: 8px 18px;
  list-style: none;
  margin-top: 14px;
}

.cal-legend li {
  align-items: center;
  display: flex;
  gap: 8px;
}

.cal-legend .sw {
  background: var(--nuvem);
  border-radius: 4px;
  height: 14px;
  width: 14px;
}

.cal-legend .sw-we {
  background: #FF6B1A2E;
}

.cal-legend .sw-dot {
  background: var(--trampolim-fundo);
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

.hour-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}

.hour-btn {
  background: var(--nuvem);
  border: 2px solid transparent;
  border-radius: 14px;
  color: var(--lona);
  cursor: pointer;
  display: grid;
  font-weight: 700;
  gap: 2px;
  min-height: 64px;
  padding: 10px 14px;
  text-align: left;
}

.hour-btn b {
  font-family: var(--letra-titulo);
  font-size: 1.2rem;
}

.hour-btn span {
  color: var(--corda);
  font-size: 0.88rem;
}

.hour-btn:hover:not(:disabled),
.hour-btn:focus-visible {
  border-color: var(--labirinto);
}

.hour-btn:disabled {
  background: transparent;
  border-color: var(--rede);
  color: #5A678599;
  cursor: default;
  text-decoration: line-through;
}

.hour-btn[aria-pressed="true"] {
  background: var(--labirinto);
  color: var(--espuma);
}

.hour-btn[aria-pressed="true"] span {
  color: var(--espuma);
}

.hint {
  color: var(--corda);
  margin: 0;
}

.pack-pick {
  display: grid;
  gap: 10px;
}

.pack-btn {
  align-items: center;
  background: var(--nuvem);
  border: 2px solid transparent;
  border-radius: 16px;
  color: var(--lona);
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  justify-content: space-between;
  min-height: 60px;
  padding: 12px 16px;
  text-align: left;
}

.pack-btn b {
  font-family: var(--letra-titulo);
  font-weight: 700;
}

.pack-btn:hover,
.pack-btn:focus-visible {
  border-color: var(--labirinto);
}

.pack-btn[aria-pressed="true"] {
  background: var(--trampolim);
  color: var(--lona);
}

.stepper-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
}

.stepper {
  align-items: center;
  background: var(--nuvem);
  border-radius: 16px;
  display: flex;
  gap: 6px;
  padding: 6px;
}

.stepper button {
  align-items: center;
  background: var(--espuma);
  border: 0;
  border-radius: 12px;
  color: var(--lona);
  cursor: pointer;
  display: flex;
  font-size: 1.5rem;
  font-weight: 700;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.stepper button:disabled {
  color: var(--rede);
  cursor: default;
}

.stepper output {
  font-family: var(--letra-titulo);
  font-size: 1.6rem;
  font-weight: 700;
  min-width: 56px;
  text-align: center;
}

.estimate {
  color: var(--corda);
  margin: 0;
}

.estimate b {
  color: var(--trampolim-fundo);
  font-family: var(--letra-titulo);
  font-size: 1.6rem;
}

.summary {
  background: var(--tunel);
  border-radius: var(--canto-lg);
  color: var(--tunel-luz);
  margin: 0;
  padding: 20px 24px;
}

.summary b {
  color: var(--trampolim);
  display: block;
  font-family: var(--letra-titulo);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.book-layout {
  display: grid;
  gap: 24px;
}

.book-col {
  display: grid;
  gap: 24px;
}

.done-card {
  background: var(--espuma);
  border-radius: var(--canto-lg);
  border-top: 10px solid var(--trampolim);
  box-shadow: var(--sombra);
  padding: clamp(24px, 4vw, 48px);
}

.done-card[hidden] {
  display: none;
}

.done-card h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* ---------- form fields ---------- */
.fields {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 700;
}

.field input,
.field textarea {
  background: var(--espuma);
  border: 2px solid var(--rede);
  border-radius: 14px;
  color: var(--lona);
  font: inherit;
  min-height: 52px;
  padding: 12px 14px;
  width: 100%;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--labirinto);
  outline: none;
}

.opt {
  color: var(--corda);
  font-weight: 500;
}

.consent-check {
  align-items: flex-start;
  display: flex;
  font-size: 0.95rem;
  font-weight: 500;
  gap: 12px;
  text-transform: none;
}

.consent-check input {
  accent-color: var(--labirinto);
  flex-shrink: 0;
  height: 22px;
  margin: 2px 0 0;
  width: 22px;
}

/* honeypot: off-screen, still in the DOM */
.trap {
  height: 1px;
  left: -5000px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.form-msg {
  color: var(--trampolim-fundo);
  font-weight: 700;
  margin: 0;
}

.form-msg[hidden] {
  display: none;
}

/* ---------- legal ---------- */
.legal-table {
  border-collapse: collapse;
  width: 100%;
}

.legal-table th,
.legal-table td {
  border-bottom: 1px solid var(--rede);
  overflow-wrap: anywhere;
  padding: 14px 12px 14px 0;
  text-align: left;
  vertical-align: top;
}

.table-wrap .legal-table {
  min-width: 560px;
}

.legal-table th[scope="row"] {
  color: var(--corda);
  font-weight: 700;
  width: 34%;
}

.legal-table thead th {
  color: var(--corda);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.legal-cards {
  display: grid;
  gap: 20px;
  list-style: none;
}

.legal-cards li {
  background: var(--nuvem);
  border-left: 6px solid var(--labirinto);
  border-radius: var(--canto);
  padding: 22px 24px;
}

.legal-cards li:nth-child(even) {
  border-left-color: var(--trampolim);
}

.legal-cards h3 {
  font-size: 1.15rem;
}

.legal-cards p:last-child {
  margin-bottom: 0;
}

.legal-flow {
  display: grid;
  gap: 32px;
}

/* ---------- footer (stacked, mobile first) ---------- */
.site-foot {
  background: var(--tunel);
  color: var(--tunel-luz);
  padding-bottom: 40px;
  padding-top: 64px;
}

.foot-stack {
  display: grid;
  gap: 32px;
}

.foot-brand {
  align-items: center;
  color: var(--tunel-luz);
  display: flex;
  font-family: var(--letra-titulo);
  font-size: 1.3rem;
  font-weight: 700;
  gap: 12px;
}

.foot-brand img {
  height: 44px;
  width: 44px;
}

.site-foot p,
.site-foot li,
.site-foot address {
  color: var(--tunel-luz);
}

.site-foot h2 {
  color: var(--trampolim);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.site-foot ul {
  display: grid;
  gap: 2px;
  list-style: none;
}

.site-foot a {
  color: var(--tunel-luz);
  display: inline-flex;
  min-height: 40px;
  padding: 8px 0;
  text-decoration: none;
}

.site-foot a:hover,
.site-foot a:focus-visible {
  color: var(--trampolim);
  text-decoration: underline;
}

.foot-legal {
  border-top: 1px solid #F3F6FF33;
  font-size: 0.9rem;
  padding-top: 24px;
}

.foot-legal p {
  margin: 0 0 8px;
}

.complaints {
  align-items: center;
  border: 2px solid #F3F6FF66;
  border-radius: 14px;
  gap: 10px;
  padding: 8px 14px;
}

/* ---------- consent notice: fixed corner card, no overlay ---------- */
.consent-notice {
  background: var(--espuma);
  border-radius: var(--canto);
  bottom: 16px;
  box-shadow: 0 18px 44px -18px #13254A8C;
  color: var(--lona);
  display: grid;
  gap: 10px;
  left: 12px;
  padding: 12px 14px;
  position: fixed;
  right: 12px;
  z-index: 250;
}

.consent-notice[hidden] {
  display: none;
}

.consent-notice p {
  color: var(--lona);
  font-size: 0.8rem;
  line-height: 1.45;
  margin: 0;
}

.consent-notice a {
  color: var(--labirinto);
  display: inline;
  min-height: 0;
  padding: 0;
}

.consent-notice a:hover,
.consent-notice a:focus-visible {
  color: var(--tunel);
}

.consent-close {
  align-items: center;
  background: var(--lona);
  border: 0;
  border-radius: 12px;
  color: var(--espuma);
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
  justify-self: start;
  min-height: 48px;
  padding: 0 18px;
}

.consent-close:hover,
.consent-close:focus-visible {
  background: var(--labirinto);
}

.consent-close svg {
  height: 18px;
  width: 18px;
}

/* ---------- reveal (class added by js only) ---------- */
.reveal-wait {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-wait.visible-now {
  opacity: 1;
  transform: none;
}

/* ---------- tablet ---------- */
@media (min-width: 700px) {
  .age-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .age-tile {
    padding: 28px 24px 28px 0;
  }

  .age-tile:nth-child(even) {
    border-left: 1px solid var(--rede);
    padding-left: 24px;
  }

  .voices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .voice {
    border-top: 0;
    padding: 8px 28px 8px 0;
  }

  .voice + .voice {
    border-left: 1px solid var(--rede);
    padding-left: 28px;
  }

  .bill-head {
    grid-template-columns: 52px 1fr auto auto;
  }

  .bill-ends {
    display: contents;
  }

  .bill-card {
    align-items: center;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery .g-wide {
    grid-column: 1 / -1;
  }

  .duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact-grid {
    column-gap: 32px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rule-grid {
    column-gap: 40px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* wide, low corner card: text and Fechar side by side */
  .consent-notice {
    align-items: center;
    bottom: 12px;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: 600px;
    padding: 12px 14px 12px 18px;
    right: auto;
  }

  .hero-card {
    align-items: end;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }
}

/* ---------- desktop ---------- */
@media (min-width: 1000px) {
  .menu-toggle {
    display: none;
  }

  .main-nav {
    background: transparent;
    inset: auto;
    overflow: visible;
    padding: 0;
    position: static;
    transform: none;
    transition: none;
    visibility: visible;
  }

  .main-nav ul {
    display: flex;
    gap: clamp(14px, 1.8vw, 28px);
  }

  .main-nav a {
    align-items: center;
    font-family: var(--letra-texto);
    font-size: 1rem;
    font-weight: 700;
    min-height: 48px;
    padding: 12px 0 9px;
  }

  .nav-contact {
    display: none;
  }

  .section-top {
    align-items: end;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .section-top .lead {
    margin-bottom: 0;
  }

  .age-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .age-tile,
  .age-tile:nth-child(even) {
    border-left: 1px solid var(--rede);
    border-top: 0;
    padding: 0 24px;
  }

  .age-tile:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .deck {
    align-items: start;
    gap: 32px;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .deck-panel {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }

  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .split-flip > :first-child {
    order: 2;
  }

  .place-grid {
    align-items: stretch;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .book-layout {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .page-head {
    --rampa: 56px;
    align-items: center;
    display: flex;
    /* fixed desktop height (measured max: 2-line h1 + 2-line lead) so inner pages do not jump */
    min-height: 500px;
  }

  .page-head::before {
    right: -18%;
    width: 40%;
  }

  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery .g-wide {
    grid-column: span 2;
  }

  .team li {
    align-items: start;
    /* fixed photo column: an auto track takes the 640px intrinsic width */
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .foot-stack {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }

  .foot-legal {
    grid-column: 1 / -1;
  }

  .legal-flow {
    gap: 40px;
  }

  .legal-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- small screens: simpler shapes, same bounce ---------- */
@media (max-width: 699px) {
  .shape-ball {
    height: 64px;
    left: -2%;
    top: 3%;
    width: 64px;
  }

  .shape-pill {
    height: 36px;
    top: 2%;
    width: 104px;
  }

  .shape-arc {
    border-width: 10px;
    height: 80px;
    right: 2%;
    top: 30%;
    width: 80px;
  }

  .shape-dot {
    height: 28px;
    left: 4%;
    top: 30%;
    width: 28px;
  }

  .shape-ring,
  .shape-half {
    display: none;
  }

  .shape-mini {
    left: 46%;
  }

  .hero-card {
    margin-top: -48px;
  }

  .page-head::before {
    right: -46%;
    width: 70%;
  }

  .page-head::after {
    height: 56px;
    width: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shape,
  .hero-word {
    animation: none;
  }

  .reveal-wait {
    transition: none;
  }

  .main-nav,
  .main-nav.shown {
    transition: none;
  }
}
