/* ==================================================================
   voola.pet — estilos
   Assinatura: a chapinha de coleira. Paleta: coleira, papel,
   brinquedo, osso, relva, céu.
   ================================================================== */

/* ---------- Fontes (self-hosted, sem pedidos a terceiros) ---------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque-latin-standard-normal.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-latin-wght-italic.woff2') format('woff2-variations');
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #1b2a4a;
  --navy-2: #2a3d66;
  --paper: #f5f7fb;
  --white: #ffffff;
  --toy: #ff6b35;
  --toy-ink: #c2410c;
  --bone: #ffd166;
  --grass: #2e9e6e;
  --grass-ink: #1f7a53;
  --sky: #d9e8ff;
  --sky-2: #eaf2ff;
  --steel: #c9d2e3;

  --ink: var(--navy);
  --ink-soft: #46557a;
  --ink-mute: #5f6c8c;
  --line: #dde3ef;
  --surface: var(--white);
  --bg: var(--paper);

  --font-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --t-xs: 0.78rem;
  --t-sm: 0.92rem;
  --t-base: 1.0625rem;
  --t-lg: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem);
  --t-xl: clamp(1.45rem, 1.2rem + 1vw, 1.95rem);
  --t-2xl: clamp(1.9rem, 1.4rem + 2vw, 2.9rem);
  --t-3xl: clamp(2.5rem, 1.5rem + 4.4vw, 5.4rem);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgb(27 42 74 / 0.06), 0 2px 6px rgb(27 42 74 / 0.05);
  --shadow: 0 2px 4px rgb(27 42 74 / 0.05), 0 12px 32px -8px rgb(27 42 74 / 0.16);
  --shadow-lg: 0 4px 8px rgb(27 42 74 / 0.06), 0 30px 60px -20px rgb(27 42 74 / 0.28);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --hdr-h: 72px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  color-scheme: light;
}

/* Transições suaves entre páginas (navegadores compatíveis) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-h) + 24px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
a {
  color: inherit;
}
button {
  font: inherit;
}
:focus-visible {
  outline: 3px solid var(--toy);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: var(--bone);
  color: var(--navy);
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus {
  top: 16px;
}
.icon {
  flex: none;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow {
  max-width: calc(780px + var(--gutter) * 2);
}
.section {
  padding-block: clamp(64px, 9vw, 120px) 0;
}
.section--tight {
  padding-block: clamp(48px, 6vw, 80px) 0;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(28px, 4vw, 44px);
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: var(--t-2xl);
  max-width: 20ch;
}
.section-head p:not(.eyebrow) {
  color: var(--ink-soft);
  max-width: 52ch;
  margin-top: 14px;
}
.section-head--stack {
  display: block;
}
.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 24px);
}
.grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
}

/* ---------- Peças ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.eyebrow a {
  text-decoration: none;
}
.eyebrow a:hover {
  color: var(--toy-ink);
}

/* Chapinha: etiqueta com o furo da argola */
.chapa {
  --chapa-bg: var(--bone);
  --chapa-fg: var(--navy);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 4px 22px;
  border-radius: 6px 999px 999px 6px;
  background: var(--chapa-bg);
  color: var(--chapa-fg);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.5;
  text-decoration: none;
}
.chapa::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px rgb(27 42 74 / 0.22);
}
/* Tons "-ink" em fundo: contraste AA com texto branco pequeno */
.chapa--toy {
  --chapa-bg: var(--toy-ink);
  --chapa-fg: var(--white);
}
.chapa--grass {
  --chapa-bg: var(--grass-ink);
  --chapa-fg: var(--white);
}
.chapa--sky {
  --chapa-bg: var(--sky);
}
.chapa--navy {
  --chapa-bg: var(--navy);
  --chapa-fg: var(--white);
}
.chapa--steel {
  --chapa-bg: #e3e8f2;
}
a.chapa:hover {
  --chapa-bg: var(--bone);
}

.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 700 var(--t-base) / 1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease-spring),
    box-shadow 0.25s var(--ease-out),
    background-color 0.2s,
    color 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease-spring);
}
.btn:hover .icon {
  transform: translateX(3px);
}
.btn--toy {
  --btn-bg: var(--toy-ink);
}
.btn--toy:hover {
  --btn-bg: #a8380a;
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  box-shadow: inset 0 0 0 2px var(--navy);
}
.btn--ghost:hover {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 2px solid var(--bone);
  padding-bottom: 2px;
  transition: border-color 0.2s;
  white-space: nowrap;
}
.link-arrow:hover {
  border-color: var(--toy);
}
.link-arrow .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease-spring);
}
.link-arrow:hover .icon {
  transform: translateX(3px);
}
.link-btn {
  border: 0;
  background: none;
  padding: 0;
  color: var(--toy-ink);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.empty {
  padding: 40px 24px;
  text-align: center;
  color: var(--ink-soft);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
}
.empty a {
  color: var(--toy-ink);
  font-weight: 700;
}
.fineprint {
  margin-top: 32px;
  font-size: var(--t-sm);
  color: var(--ink-mute);
  max-width: 70ch;
}
.fineprint a {
  color: var(--toy-ink);
  font-weight: 700;
}

/* ---------- Logótipo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
}
.logo__mark {
  width: 30px;
  height: 36px;
  overflow: visible;
}
.logo__ring {
  stroke: var(--steel);
}
.logo__disc {
  fill: var(--bone);
}
.logo__hole {
  fill: var(--paper);
}
.logo__paw {
  fill: var(--navy);
}
.logo__tag {
  transform-origin: 20px 7px;
  transform-box: view-box;
}
a:hover > .logo .logo__tag {
  animation: tag-swing 1.1s var(--ease-out);
}
.logo__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
  line-height: 1;
}
.logo__tld {
  color: var(--toy-ink);
}
.logo--invert {
  color: var(--white);
}
.logo--invert .logo__tld {
  color: var(--toy);
}
.logo--invert .logo__hole {
  fill: var(--navy);
}
@keyframes tag-swing {
  0% { transform: rotate(0); }
  20% { transform: rotate(14deg); }
  45% { transform: rotate(-9deg); }
  68% { transform: rotate(5deg); }
  85% { transform: rotate(-2deg); }
  100% { transform: rotate(0); }
}

/* ---------- Cabeçalho ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(245 247 251 / 0.85);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
  view-transition-name: hdr;
}
.admin-bar .hdr {
  top: 32px;
}
.hdr.is-scrolled {
  border-color: var(--line);
}
.hdr__in {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--hdr-h);
}
.hdr__home {
  text-decoration: none;
  margin-right: auto;
}
.hdr__nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hdr__nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hdr__nav a {
  position: relative;
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s, background-color 0.2s;
}
.hdr__nav a:hover {
  color: var(--navy);
  background: var(--white);
}
.hdr__nav a[aria-current='page'] {
  color: var(--navy);
}
.hdr__nav a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--toy);
}
.hdr__search {
  position: relative;
  display: flex;
}
.hdr__search input {
  width: 44px;
  height: 42px;
  padding: 0 0 0 42px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: var(--t-sm);
  cursor: pointer;
  transition: width 0.35s var(--ease-out), background-color 0.2s, box-shadow 0.2s;
}
.hdr__search input::placeholder {
  color: transparent;
}
.hdr__search input:hover {
  background: var(--white);
}
.hdr__search input:focus,
.hdr__search input:not(:placeholder-shown) {
  width: 230px;
  padding-right: 14px;
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--line);
  cursor: text;
  outline: none;
}
.hdr__search input:focus::placeholder {
  color: var(--ink-mute);
}
.hdr__search input:focus-visible {
  box-shadow: inset 0 0 0 2px var(--toy);
}
.hdr__search button {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  color: var(--navy);
  pointer-events: none;
}
.hdr__cta {
  min-height: 42px;
  padding: 10px 18px;
  font-size: var(--t-sm);
}
.hdr__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  place-items: center;
}
.hdr__toggle .i-close {
  display: none;
}
.hdr__toggle[aria-expanded='true'] .i-open {
  display: none;
}
.hdr__toggle[aria-expanded='true'] .i-close {
  display: block;
}
@media (max-width: 960px) {
  .hdr__cta {
    display: none;
  }
}
@media (max-width: 860px) {
  .hdr__toggle {
    display: grid;
  }
  .hdr__nav {
    position: absolute;
    inset: var(--hdr-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
  }
  .hdr.is-open .hdr__nav {
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .hdr__nav ul {
    flex-direction: column;
  }
  .hdr__nav a {
    padding: 14px 4px;
    font-family: var(--font-display);
    font-size: 1.6rem;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    color: var(--navy);
  }
  .hdr__nav a:hover {
    background: none;
  }
  .hdr__nav a[aria-current='page']::after {
    left: auto;
    right: 4px;
    top: 50%;
    bottom: auto;
    margin-top: -4px;
    width: 8px;
    height: 8px;
  }
  .hdr__search {
    margin-top: 16px;
  }
  .hdr__search input,
  .hdr__search input:focus,
  .hdr__search input:not(:placeholder-shown) {
    width: 100%;
    height: 48px;
    padding-right: 14px;
    background: var(--white);
    box-shadow: inset 0 0 0 1.5px var(--line);
    cursor: text;
  }
  .hdr__search input::placeholder {
    color: var(--ink-mute);
  }
  .hdr__search button {
    height: 48px;
  }
}
@media (max-width: 782px) {
  .admin-bar .hdr {
    top: 46px;
  }
}
@media (max-width: 600px) {
  .admin-bar .hdr {
    top: 0;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(32px, 5vw, 72px) clamp(24px, 4vw, 48px);
  overflow: hidden;
}
.hero::before {
  /* Painel céu atrás da chapinha */
  content: '';
  position: absolute;
  inset: 0 0 8% 52%;
  background:
    radial-gradient(circle at 1px 1px, rgb(27 42 74 / 0.09) 1px, transparent 0) 0 0 / 22px 22px,
    var(--sky-2);
  border-radius: 0 0 0 var(--radius-lg);
  z-index: -1;
}
.hero__in {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.hero__title {
  font-size: var(--t-3xl);
  font-weight: 800;
  font-stretch: 90%;
  line-height: 0.96;
  letter-spacing: -0.028em;
  max-width: 11ch;
}
.hero__title em {
  font-style: normal;
  color: var(--toy-ink);
  position: relative;
  white-space: nowrap;
}
.hero__title em::after {
  /* Traço de trela por baixo */
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.04em;
  height: 0.12em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 40 2, 80 12, 120 6 S 180 4, 198 7' fill='none' stroke='%23ffd166' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: -1;
  transform-origin: left;
  animation: draw 1s var(--ease-out) 0.9s both;
}
@keyframes draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.hero__lede {
  margin-top: 24px;
  font-size: var(--t-lg);
  color: var(--ink-soft);
  max-width: 50ch;
}
.hero__doors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  max-width: 560px;
}
.door {
  --door: var(--bone);
  position: relative;
  display: grid;
  gap: 2px;
  padding: 16px 16px 14px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
}
.door::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--door);
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.door:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.door:hover::after {
  transform: scaleX(1);
}
.door--toy {
  --door: var(--toy);
}
.door--grass {
  --door: var(--grass);
}
.door__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--door) 22%, white);
  color: var(--navy);
}
.door__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.1;
}
.door__count {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--ink-mute);
}
.hero__art {
  position: relative;
}
.hero__hint {
  margin-top: 6px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
@media (max-width: 900px) {
  .hero__art {
    margin-top: 8px;
  }
  .hero::before {
    inset: auto 0 0 0;
    height: 46%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .hero__in {
    grid-template-columns: 1fr;
  }
  .hero__art {
    max-width: 320px;
    width: 72%;
    margin-inline: auto;
  }
}
@media (max-width: 520px) {
  .hero__doors {
    grid-template-columns: 1fr;
  }
  .door {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
  }
  .door__icon {
    margin: 0;
  }
}

/* ---------- Chapinha do hero ----------
   Unidades cqw = % da largura do .rig. Geometria (ver voola_hanging_tag):
   coleira 128cqw × 40cqw (1 unidade do SVG = 0.2cqw), fundo da argola em D a 34.4cqw,
   argola pequena pendurada aí, furo da chapinha no fundo da argola pequena. */
.rig {
  --pivot-y: 34.4cqw;
  --tag-size: 62cqw;
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 100 / 104;
  margin-inline: auto;
  container-type: inline-size;
  user-select: none;
  -webkit-user-select: none;
}
.rig__collar {
  position: absolute;
  top: 0;
  left: -14cqw;
  width: 128cqw;
  max-width: none; /* a regra global svg { max-width: 100% } descentrava a coleira */
  height: 40cqw;
  overflow: visible;
  filter: drop-shadow(0 2.4cqw 2.6cqw rgb(194 65 12 / 0.24));
}
.rig__strap {
  fill: none;
  stroke: url(#rig-strap);
  stroke-width: 56;
  stroke-linecap: round;
}
.rig__shine {
  fill: none;
  stroke: rgb(255 255 255 / 0.22);
  stroke-width: 7;
  stroke-linecap: round;
}
.rig__stitch {
  fill: none;
  stroke: rgb(255 255 255 / 0.6);
  stroke-width: 2.6;
  stroke-dasharray: 11 8;
  stroke-linecap: round;
}
.rig__dring {
  fill: none;
  stroke: url(#rig-metal);
  stroke-width: 8;
  stroke-linejoin: round;
}
.rig__pivot {
  --angle: 0deg;
  --twist: 0deg;
  position: absolute;
  left: calc(50% - var(--tag-size) / 2);
  top: var(--pivot-y);
  width: var(--tag-size);
  rotate: var(--angle);
  transform-origin: 50% 0;
  perspective: 900px;
  will-change: rotate;
}
/* Argola pequena: o arame de cima passa no fundo da argola em D, o de baixo no furo da chapinha */
.rig__ring {
  position: absolute;
  left: 50%;
  top: -0.75cqw;
  z-index: 2;
  width: 9cqw;
  aspect-ratio: 1;
  margin-left: -4.5cqw;
  border-radius: 50%;
  border: 1.5cqw solid #b8c3d8;
  border-top-color: #e6ebf3;
  box-shadow:
    inset 0 0.3cqw 0 rgb(255 255 255 / 0.6),
    0 0.6cqw 1.2cqw rgb(27 42 74 / 0.22);
  pointer-events: none;
}
.tag {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  margin-top: 2.3cqw;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: grab;
  touch-action: pan-y;
  transform: rotateY(var(--twist));
  transform-style: preserve-3d;
  -webkit-tap-highlight-color: transparent;
}
.tag.is-dragging {
  cursor: grabbing;
}
.tag:focus-visible {
  outline-offset: 8px;
  border-radius: 50%;
}
.tag__face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.8s cubic-bezier(0.3, 1.45, 0.55, 1);
  background:
    radial-gradient(circle at 32% 26%, rgb(255 255 255 / 0.65), transparent 38%),
    radial-gradient(circle at 70% 80%, rgb(194 120 0 / 0.18), transparent 50%),
    linear-gradient(145deg, #ffe08f, #ffd166 45%, #f4b942);
  box-shadow:
    inset 0 0 0 1.6cqw rgb(255 255 255 / 0.35),
    inset 0 -1.2cqw 2.8cqw rgb(160 100 0 / 0.25),
    0 6cqw 10cqw -4cqw rgb(27 42 74 / 0.45);
}
/* Furo da argola (centro a 5.2cqw do topo da chapinha) */
.tag__face::before {
  content: '';
  position: absolute;
  top: 3cqw;
  left: 50%;
  width: 4.4cqw;
  aspect-ratio: 1;
  margin-left: -2.2cqw;
  border-radius: 50%;
  background: var(--sky-2);
  box-shadow: inset 0 0.4cqw 0.6cqw rgb(27 42 74 / 0.35);
}
/* Reflexo metálico: desliza com o balanço e varre a face ao virar */
.tag__face::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 38%, rgb(255 255 255 / 0.5) 50%, transparent 62%) no-repeat;
  background-size: 300% 100%;
  background-position: calc(50% - var(--swing, 0) * 1.6%) 0;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.tag.is-shine .tag__face::after {
  animation: tag-shine 0.9s var(--ease-out);
}
@keyframes tag-shine {
  from { background-position: 100% 0; }
  to { background-position: 0% 0; }
}
.tag__back {
  transform: rotateY(180deg);
  align-content: center;
  gap: 1.2cqw;
  padding: 18%;
  text-align: center;
  color: var(--navy);
}
.tag[aria-pressed='true'] .tag__front {
  transform: rotateY(-180deg);
}
.tag[aria-pressed='true'] .tag__back {
  transform: rotateY(0);
}
.tag__ring-text {
  position: absolute;
  inset: 6%;
  width: 88%;
  height: 88%;
  overflow: visible;
}
.tag__ring-text text {
  font-family: var(--font-mono);
  font-size: 11.2px;
  font-weight: 600;
  fill: rgb(27 42 74 / 0.62);
}
.tag__paw {
  width: 42%;
  fill: var(--navy);
  filter: drop-shadow(0 1px 0 rgb(255 255 255 / 0.6));
}
.tag__back-small {
  font-family: var(--font-mono);
  font-size: max(0.66rem, 2.3cqw);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}
.tag__back-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 6.2cqw;
  line-height: 1;
  letter-spacing: -0.03em;
}
/* Entrada: a chapinha cai na argola; o balanço que se segue é a física do main.js */
@media (prefers-reduced-motion: no-preference) {
  html.js .rig__pivot {
    animation: tag-drop 0.7s cubic-bezier(0.3, 1.3, 0.5, 1) 0.25s both;
  }
}
@keyframes tag-drop {
  from { translate: 0 -10cqw; opacity: 0; }
  to { translate: 0 0; opacity: 1; }
}

/* ---------- Cartão de oferta ---------- */
.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.offer:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.offer[hidden] {
  display: none;
}
.offer__visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 50% 60%, rgb(255 255 255 / 0.6), transparent 60%),
    var(--tint);
  color: var(--tint-ink);
}
.offer--compact .offer__visual {
  aspect-ratio: 16 / 8;
}
.offer__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  mix-blend-mode: multiply;
}
.offer__icon {
  width: 28%;
  height: auto;
  stroke-width: 1.4;
  transition: transform 0.6s var(--ease-spring);
}
.offer:hover .offer__icon {
  transform: rotate(-8deg) scale(1.06);
}
/* Furo da etiqueta com cordel: balança ao passar o rato */
.offer__hole {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 1px 3px rgb(27 42 74 / 0.3);
}
.offer__hole::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 2px;
  height: 44px;
  margin-left: -1px;
  background: currentColor;
  opacity: 0.35;
  border-radius: 2px;
  transform-origin: 50% 100%;
  transform: rotate(24deg);
  transition: transform 0.7s var(--ease-spring);
}
.offer:hover .offer__hole::after {
  transform: rotate(-14deg);
}
.offer__cat {
  position: absolute;
  left: 16px;
  top: 16px;
}
.offer__deal {
  position: absolute;
  left: 16px;
  bottom: 16px;
}
.offer__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 22px;
  flex: 1;
}
.offer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.offer__title {
  font-size: 1.28rem;
  line-height: 1.15;
}
.offer__blurb {
  color: var(--ink-soft);
  font-size: var(--t-sm);
}
.offer__hl {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: var(--t-sm);
}
.offer__hl li {
  display: flex;
  gap: 8px;
  align-items: start;
}
.offer__hl .icon {
  margin-top: 4px;
  color: var(--grass);
}
.offer__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.offer__store {
  font-size: var(--t-sm);
  color: var(--ink-mute);
}
.offer__store strong {
  color: var(--ink);
}
.offer__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.offer__price strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.offer__price s {
  color: var(--ink-mute);
}
.offer__price small {
  flex-basis: 100%;
  font-size: var(--t-xs);
  color: var(--ink-mute);
}
.offer__cta {
  min-height: 44px;
  padding: 10px 18px;
  font-size: var(--t-sm);
}
/* Dentro de um guia */
.offer-embed {
  margin: 2em 0;
}
.offer-embed .offer {
  display: grid;
  grid-template-columns: 220px 1fr;
}
.offer-embed .offer__visual {
  aspect-ratio: auto;
  min-height: 100%;
}
.offer-embed .offer__title {
  margin: 0;
}
.offer-embed .offer:hover {
  transform: none;
}
@media (max-width: 640px) {
  .offer-embed .offer {
    grid-template-columns: 1fr;
  }
  .offer-embed .offer__visual {
    aspect-ratio: 16 / 7;
  }
}

/* ---------- Cartão de guia ---------- */
.guide {
  height: 100%;
}
.guide[hidden] {
  display: none;
}
.guide__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.guide__link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.guide__cover {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: var(--tint);
  color: var(--tint-ink);
  overflow: hidden;
}
/* Pegadas a atravessar a capa */
.guide__prints {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80'%3E%3Cg fill='%231b2a4a'%3E%3Cg transform='translate(14 46) rotate(80) scale(.55)'%3E%3Cellipse cx='12' cy='16' rx='4.6' ry='3.8'/%3E%3Ccircle cx='6' cy='10.4' r='2.1'/%3E%3Ccircle cx='9.5' cy='6.2' r='2.1'/%3E%3Ccircle cx='14.5' cy='6.2' r='2.1'/%3E%3Ccircle cx='18' cy='10.4' r='2.1'/%3E%3C/g%3E%3Cg transform='translate(46 22) rotate(100) scale(.55)'%3E%3Cellipse cx='12' cy='16' rx='4.6' ry='3.8'/%3E%3Ccircle cx='6' cy='10.4' r='2.1'/%3E%3Ccircle cx='9.5' cy='6.2' r='2.1'/%3E%3Ccircle cx='14.5' cy='6.2' r='2.1'/%3E%3Ccircle cx='18' cy='10.4' r='2.1'/%3E%3C/g%3E%3Cg transform='translate(80 52) rotate(80) scale(.55)'%3E%3Cellipse cx='12' cy='16' rx='4.6' ry='3.8'/%3E%3Ccircle cx='6' cy='10.4' r='2.1'/%3E%3Ccircle cx='9.5' cy='6.2' r='2.1'/%3E%3Ccircle cx='14.5' cy='6.2' r='2.1'/%3E%3Ccircle cx='18' cy='10.4' r='2.1'/%3E%3C/g%3E%3Cg transform='translate(112 28) rotate(100) scale(.55)'%3E%3Cellipse cx='12' cy='16' rx='4.6' ry='3.8'/%3E%3Ccircle cx='6' cy='10.4' r='2.1'/%3E%3Ccircle cx='9.5' cy='6.2' r='2.1'/%3E%3Ccircle cx='14.5' cy='6.2' r='2.1'/%3E%3Ccircle cx='18' cy='10.4' r='2.1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 240px 160px;
  transition: background-position 1.4s var(--ease-out);
}
.guide__link:hover .guide__prints {
  background-position: 60px 0;
}
.guide__icon {
  position: relative;
  width: 24%;
  height: auto;
  stroke-width: 1.3;
  transition: transform 0.6s var(--ease-spring);
}
.guide__link:hover .guide__icon {
  transform: translateY(-4px) rotate(-6deg);
}
.guide__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 24px 24px;
  flex: 1;
}
.guide__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.guide__title {
  font-size: 1.4rem;
  line-height: 1.12;
  transition: color 0.2s;
}
.guide__link:hover .guide__title {
  color: var(--toy-ink);
}
.guide__desc {
  color: var(--ink-soft);
  font-size: var(--t-sm);
}
.guide__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--ink-mute);
}
.guide__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.guide--lg .guide__link {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
}
.guide--lg .guide__cover {
  aspect-ratio: auto;
  min-height: 100%;
}
.guide--lg .guide__body {
  padding: clamp(24px, 3.5vw, 44px);
  justify-content: center;
}
.guide--lg .guide__title {
  font-size: var(--t-xl);
}
.guide--lg .guide__desc {
  font-size: var(--t-base);
}
.guide--row .guide__link {
  display: grid;
  grid-template-columns: 108px 1fr;
  border-radius: var(--radius);
}
.guide--row .guide__cover {
  aspect-ratio: auto;
  min-height: 100%;
}
.guide--row .guide__icon {
  width: 44%;
}
.guide--row .guide__body {
  padding: 16px 18px;
  gap: 8px;
}
.guide--row .guide__title {
  font-size: 1.1rem;
}
.guide--row .chapa--steel {
  display: none;
}
.guides-home {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(16px, 2.2vw, 24px);
}
.guides-home__list {
  display: grid;
  gap: 16px;
  align-content: start;
}
@media (max-width: 960px) {
  .guides-home {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .guide--lg .guide__link {
    grid-template-columns: 1fr;
  }
  .guide--lg .guide__cover {
    aspect-ratio: 16 / 9;
  }
}

/* ---------- Locais: cartão ---------- */
.place[hidden] {
  display: none;
}
.place__link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.2s;
}
.place__link:hover,
.place.is-hot .place__link {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}
.place__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--tint-ink);
  transition: transform 0.5s var(--ease-spring);
}
.place__link:hover .place__icon,
.place.is-hot .place__icon {
  transform: rotate(-8deg) scale(1.05);
}
.place__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.place__kicker {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.place__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.15;
}
.place__summary {
  font-size: var(--t-sm);
  color: var(--ink-soft);
}
.place__rules {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.place__rules li {
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--paper);
  font-size: var(--t-xs);
  font-weight: 700;
}
.place__coord {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.04em;
  color: var(--ink-mute);
}
.place-list {
  display: grid;
  gap: 12px;
}
.place-list--grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
}

/* ---------- Mapa ---------- */
.ptmap {
  margin: 0;
  position: relative;
}
.ptmap svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.ptmap__grid line {
  stroke: rgb(27 42 74 / 0.08);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}
.ptmap__grid text {
  font-family: var(--font-mono);
  font-size: 9px;
  fill: rgb(27 42 74 / 0.4);
}
.ptmap__land {
  fill: var(--white);
  stroke: var(--navy);
  stroke-width: 1.4;
  stroke-linejoin: round;
  filter: drop-shadow(0 18px 24px rgb(27 42 74 / 0.12));
}
.pin {
  cursor: pointer;
  outline: none;
}
.pin__g {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.35s var(--ease-spring), opacity 0.3s;
}
.pin__dot {
  fill: var(--pin);
  stroke: var(--white);
  stroke-width: 2.2;
}
.pin__pulse {
  fill: var(--pin);
  opacity: 0;
}
.pin:hover .pin__g,
.pin:focus-visible .pin__g,
.pin.is-hot .pin__g,
.pin.is-current .pin__g {
  transform: scale(1.6);
}
.pin:focus-visible .pin__dot {
  stroke: var(--toy);
  stroke-width: 3;
}
.pin.is-hot .pin__pulse,
.pin.is-current .pin__pulse {
  animation: pulse 1.6s var(--ease-out) infinite;
}
.pin.is-off .pin__g {
  opacity: 0.18;
  transform: scale(0.7);
}
.ptmap--focus .pin:not(.is-current) .pin__g {
  opacity: 0.35;
}
@keyframes pulse {
  0% { opacity: 0.45; transform: scale(0.6); }
  100% { opacity: 0; transform: scale(2.2); }
}
.pin__pulse {
  transform-box: fill-box;
  transform-origin: center;
}
/* Pinos a cair no mapa quando aparece */
@media (prefers-reduced-motion: no-preference) {
  html.js .ptmap:not(.is-in) .pin__g {
    opacity: 0;
    transform: translateY(-14px);
  }
  html.js .ptmap.is-in .pin__g {
    transition-delay: calc(var(--i) * 35ms + 200ms);
  }
  html.js .ptmap.is-in .pin:hover .pin__g,
  html.js .ptmap.is-in .pin.is-hot .pin__g {
    transition-delay: 0ms;
  }
}

.section--map .mapband {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 1px 1px, rgb(27 42 74 / 0.08) 1px, transparent 0) 0 0 / 22px 22px,
    var(--sky-2);
}
.mapband__map {
  max-width: 330px;
  justify-self: center;
  width: 100%;
}
.mapband__copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}
.mapband__copy .section-head {
  margin-bottom: 0;
}
.mapband__copy .place-list {
  width: 100%;
}
@media (max-width: 860px) {
  .section--map .mapband {
    grid-template-columns: 1fr;
    padding: 28px 16px 20px;
    margin-inline: calc(var(--gutter) * -1 + 8px);
  }
  .mapband__map {
    max-width: 190px;
  }
}

.places-layout > * {
  min-width: 0;
}
.places-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.places-layout__map {
  position: sticky;
  top: calc(var(--hdr-h) + 24px);
  padding: 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 1px 1px, rgb(27 42 74 / 0.08) 1px, transparent 0) 0 0 / 22px 22px,
    var(--sky-2);
}
.places-layout__map .ptmap {
  max-height: calc(100svh - var(--hdr-h) - 96px);
  aspect-ratio: 1 / 2;
  margin-inline: auto;
}
.places-layout__map .ptmap svg {
  height: 100%;
}
@media (max-width: 860px) {
  .places-layout {
    grid-template-columns: 1fr;
  }
  .places-layout__map {
    position: relative;
    top: 0;
  }
  .places-layout__map {
    padding: 16px;
  }
  .places-layout__map .ptmap {
    max-height: 340px;
  }
}

/* Carrossel no telemóvel (ofertas na página inicial) */
@media (max-width: 700px) {
  .grid--rail {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 20px;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .grid--rail::-webkit-scrollbar {
    display: none;
  }
  .grid--rail > * {
    scroll-snap-align: start;
  }
  .place__link {
    padding: 16px;
    gap: 14px;
  }
  .place__icon {
    width: 42px;
    height: 42px;
  }
}

/* ---------- Filtros ---------- */
.filters {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}
.filters__row {
  display: flex;
  align-items: center;
  gap: 8px 14px;
  flex-wrap: wrap;
}
.filters__label {
  min-width: 76px;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.filters__status {
  min-height: 1.6em;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--ink-mute);
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 16px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--line);
  font: 700 var(--t-sm) / 1 var(--font-body);
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.25s var(--ease-spring);
}
.chip:hover {
  box-shadow: inset 0 0 0 1.5px var(--navy);
}
.chip:active {
  transform: scale(0.96);
}
.chip[aria-pressed='true'] {
  background: var(--navy);
  color: var(--white);
  box-shadow: none;
}
.chip .count {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  opacity: 0.7;
}
@media (max-width: 640px) {
  .filters__row {
    flex-direction: column;
    align-items: stretch;
  }
  .filters__row .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(var(--gutter) * -1);
    padding: 2px var(--gutter) 6px;
    scrollbar-width: none;
  }
  .filters__row .chips::-webkit-scrollbar {
    display: none;
  }
  .chip {
    flex: none;
  }
}

/* ---------- Páginas interiores ---------- */
.page-hero {
  padding-block: clamp(48px, 7vw, 96px) clamp(28px, 4vw, 48px);
}
.page-hero h1 {
  font-size: var(--t-3xl);
  font-weight: 800;
  font-stretch: 90%;
  letter-spacing: -0.025em;
  max-width: 15ch;
}
.page-hero .lede {
  margin-top: 20px;
  font-size: var(--t-lg);
  color: var(--ink-soft);
  max-width: 58ch;
}
.page-hero .lede p + p {
  margin-top: 0.8em;
}
.bigsearch {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin-top: 28px;
}
.bigsearch input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--line);
  font: inherit;
  color: var(--navy);
}
.bigsearch input:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--toy);
}

.crumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.crumbs a {
  text-decoration: none;
  color: var(--ink-soft);
}
.crumbs a:hover {
  color: var(--toy-ink);
}

/* ---------- Guia (artigo) ---------- */
.readbar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 60;
  height: 3px;
  pointer-events: none;
}
.admin-bar .readbar {
  top: 32px;
}
.readbar__fill {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--toy);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}
.article__head {
  padding-block: clamp(40px, 6vw, 80px) clamp(24px, 3vw, 40px);
}
.article__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.article__title {
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.9rem);
  font-weight: 800;
  font-stretch: 90%;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.article__lede {
  margin-top: 20px;
  font-size: var(--t-lg);
  color: var(--ink-soft);
}
.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--steel);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--ink-mute);
}
.article__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article__cover img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-top: 32px;
}
@media (min-width: 961px) {
  /* Com índice lateral, o cabeçalho alinha com a coluna do texto */
  .article--toc .article__head > .wrap--narrow {
    max-width: calc(220px + clamp(24px, 5vw, 72px) + 720px + var(--gutter) * 2);
    padding-left: calc(var(--gutter) + 220px + clamp(24px, 5vw, 72px));
  }
}
.article__grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  justify-content: center;
  gap: clamp(24px, 5vw, 72px);
}
.article__grid > .prose:only-child {
  grid-column: 1 / -1;
  max-width: 720px;
  justify-self: center;
  width: 100%;
}
.toc__in {
  position: sticky;
  top: calc(var(--hdr-h) + 32px);
}
.toc__title {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
}
.toc a {
  display: block;
  padding: 7px 0 7px 16px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  font-size: var(--t-sm);
  line-height: 1.35;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.toc a:hover {
  color: var(--navy);
}
.toc a.is-active {
  color: var(--navy);
  font-weight: 700;
  border-color: var(--toy);
}
@media (max-width: 960px) {
  .article__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .toc {
    display: none;
  }
}

/* Texto corrido */
.prose {
  font-size: 1.12rem;
  line-height: 1.72;
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  font-size: var(--t-xl);
  margin-top: 2em;
  line-height: 1.12;
}
.prose h3 {
  font-size: 1.3rem;
  margin-top: 1.6em;
  line-height: 1.2;
}
.prose h2 + *,
.prose h3 + * {
  margin-top: 0.6em;
}
.prose a {
  color: var(--toy-ink);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.prose a:hover {
  color: var(--navy);
}
/* Botões e cartões dentro do texto mantêm o seu estilo */
.prose a.btn,
.prose a.btn:hover {
  color: var(--btn-fg);
  text-decoration: none;
}
.prose .offer ul,
.prose .place ul {
  padding-left: 0;
}
.prose .offer li + li {
  margin-top: 0;
}
.prose .offer p,
.prose .offer h3 {
  margin: 0;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li + li {
  margin-top: 0.4em;
}
.prose ul li::marker {
  color: var(--toy);
}
.prose ol li::marker {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--toy-ink);
}
.prose strong {
  color: var(--navy);
}
.prose blockquote {
  margin-inline: 0;
  padding-left: 20px;
  border-left: 4px solid var(--bone);
  font-style: italic;
  color: var(--ink-soft);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-sm);
  display: block;
  overflow-x: auto;
}
.prose th,
.prose td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose th {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.prose img {
  border-radius: var(--radius);
}
.prose hr {
  border: 0;
  border-top: 1px dashed var(--steel);
  margin-block: 2.4em;
}
.prose--page {
  padding-bottom: 24px;
}

.disclosure {
  display: flex;
  gap: 10px;
  align-items: start;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--sky-2);
  font-size: var(--t-sm);
  line-height: 1.5;
  color: var(--ink-soft);
}
.disclosure .icon {
  margin-top: 2px;
  color: var(--navy);
}

/* Caixas [voola_dica] */
.callout {
  --c: var(--grass-ink);
  --c-bg: #e6f6ee;
  position: relative;
  margin-block: 1.8em;
  padding: 18px 20px 18px 22px;
  border-radius: var(--radius);
  background: var(--c-bg);
  font-size: 1.02rem;
}
.callout::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--c);
}
.callout--atencao {
  --c: var(--toy-ink);
  --c-bg: #fff0e8;
}
.callout--vet {
  --c: #1d5fb0;
  --c-bg: var(--sky-2);
}
.callout__title {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c);
  margin-bottom: 6px;
}
.callout__body > * + * {
  margin-top: 0.6em;
}

/* ---------- Página de local ---------- */
.placepage__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 48px);
}
.placepage__tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.placepage__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--tint-ink);
}
.placepage h1 {
  font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4.2rem);
  font-weight: 800;
  font-stretch: 88%;
  letter-spacing: -0.035em;
}
.placepage__where {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  color: var(--ink-mute);
}
.placepage__lede {
  margin-top: 20px;
  font-size: var(--t-lg);
  color: var(--ink-soft);
  max-width: 54ch;
}
.placepage__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.placepage__map {
  max-width: 280px;
  justify-self: center;
  width: 100%;
  padding: 20px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 1px 1px, rgb(27 42 74 / 0.08) 1px, transparent 0) 0 0 / 22px 22px,
    var(--sky-2);
}
.placepage__coord {
  margin-top: 10px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.placepage__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.factcard {
  position: sticky;
  top: calc(var(--hdr-h) + 24px);
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.factcard h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.factcard__rules {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.factcard__rules li {
  display: flex;
  gap: 10px;
  align-items: start;
  font-weight: 700;
}
.factcard__rules .icon {
  margin-top: 3px;
  color: var(--grass);
}
.factcard dl {
  display: grid;
  gap: 0;
  margin: 0;
}
.factcard dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px dashed var(--line);
  font-size: var(--t-sm);
}
.factcard dt {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 2px;
}
.factcard dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}
.factcard dd a {
  color: var(--toy-ink);
}
.factcard__note {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  font-size: var(--t-xs);
  color: var(--ink-mute);
}
@media (max-width: 860px) {
  .placepage__grid,
  .placepage__body {
    grid-template-columns: 1fr;
  }
  .placepage__map {
    max-width: 220px;
  }
  .factcard {
    position: relative;
    top: 0;
  }
}

/* ---------- Promessa ---------- */
.promise {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px 32px;
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.promise h2 {
  font-size: var(--t-xl);
  max-width: 24ch;
}
.promise p:not(.eyebrow) {
  margin-top: 10px;
  color: var(--ink-soft);
  max-width: 64ch;
}
.promise__tag {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--bone);
  color: var(--navy);
  box-shadow: inset 0 0 0 6px rgb(255 255 255 / 0.4);
}
@media (max-width: 760px) {
  .promise {
    grid-template-columns: 1fr;
  }
  .promise__tag {
    width: 64px;
    height: 64px;
  }
}

/* ---------- 404 ---------- */
.lost {
  padding-block: clamp(64px, 10vw, 140px) 0;
  text-align: center;
}
.lost h1 {
  font-size: var(--t-3xl);
  font-weight: 800;
  font-stretch: 88%;
}
.lost .lede {
  margin: 20px auto 0;
  font-size: var(--t-lg);
  color: var(--ink-soft);
  max-width: 46ch;
}
.lost__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.lost__trail {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 32px;
  color: var(--steel);
}
.lost__trail span {
  transform: rotate(90deg) translateX(calc(var(--i) * -1px));
}
.lost__trail span:nth-child(odd) {
  margin-top: 18px;
}
@media (prefers-reduced-motion: no-preference) {
  .lost__trail span {
    animation: step 3.6s var(--ease-out) infinite;
    animation-delay: calc(var(--i) * 0.3s);
    opacity: 0;
  }
}
@keyframes step {
  0%, 10% { opacity: 0; }
  20%, 60% { opacity: 1; color: var(--ink-mute); }
  100% { opacity: 0; }
}

/* ---------- Paginação ---------- */
.pagination {
  margin-top: 40px;
}
.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.page-numbers {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--line);
  text-decoration: none;
  font-weight: 700;
}
.page-numbers.current {
  background: var(--navy);
  color: var(--white);
  box-shadow: none;
}

/* ---------- Rodapé ---------- */
.ftr {
  margin-top: clamp(80px, 10vw, 140px);
  background: var(--navy);
  color: #c9d3e8;
  padding-block: clamp(56px, 7vw, 88px) 32px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.ftr a {
  text-decoration: none;
}
.ftr__top {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr;
  gap: 48px;
}
.ftr__brand p {
  margin-top: 18px;
  max-width: 38ch;
}
.ftr__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ftr h2 {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 14px;
}
.ftr ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.ftr ul a {
  color: var(--white);
  font-weight: 700;
  transition: color 0.2s;
}
.ftr ul a:hover {
  color: var(--bone);
}
.ftr__legal {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  display: grid;
  gap: 8px;
  font-size: var(--t-sm);
  color: #aab5ce;
}
.ftr__copy {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
}
@media (max-width: 760px) {
  .ftr__top {
    grid-template-columns: 1fr;
  }
  .ftr__cols {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Movimento ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
  transition-delay: calc(var(--reveal-i, 0) * 70ms);
}
html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition-delay: 0s, 0s, 0s;
}
/* Depois de aparecer, os cartões voltam às suas próprias transições */
html.js .offer.is-in,
html.js .guide.is-in,
html.js .place.is-in {
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), opacity 0.7s var(--ease-out);
}
html.js .offer.is-in:hover {
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .offer:hover,
  .guide__link:hover,
  .place__link:hover {
    transform: none;
  }
}
/* Ecrãs táteis: o :hover fica "preso" depois do toque, por isso os cartões não levantam */
@media (hover: none) {
  .btn:hover,
  .door:hover,
  .offer:hover,
  html.js .offer.is-in:hover,
  .guide__link:hover,
  .place__link:hover {
    transform: none;
  }
  .btn:hover .icon,
  .link-arrow:hover .icon {
    transform: none;
  }
}
@media (max-width: 782px) {
  .admin-bar .readbar {
    top: 46px;
  }
}

/* Pegadas da 404: preenchidas */
.lost__trail .icon {
  fill: currentColor;
  stroke: none;
}
