/* ==========================================================================
   Cruise Padel — microsite
   Identidade: azul royal + navy (mar), lime (bola de padel), coral (rota),
   creme (convés / linho). Tipografia Barlow + Barlow Condensed itálico.
   ========================================================================== */

:root {
  --navy: #050B3D;
  --navy-2: #0A1252;
  --blue: #07199B;
  --blue-2: #13248F;
  --line: #2C3DB0;
  --lime: #CAFE2D;
  --coral: #FF5A36;
  --coral-2: #E8471F;
  --cream: #F3EEE4;
  --cream-2: #E7DFCF;
  --mist: #DCE0F5;
  --haze: #B7BCDF;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", Arial, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --section-y: clamp(72px, 10vw, 136px);
}

@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 220ms; animation-timing-function: ease; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--navy); }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--lime); color: var(--navy); font-weight: 600; text-decoration: none;
  transform: translateY(-160%);
  transition: transform 200ms var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- Tipografia ---------- */

.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(52px, 9vw, 128px); font-weight: 900; }
h2 { font-size: clamp(40px, 6vw, 80px); }
h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1; }
.hl { color: var(--lime); }
.hl-coral { color: var(--coral); }
.hl-blue { color: var(--blue); }

p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--mist); max-width: 46ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-style: normal;
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--lime);
}

.pill {
  display: inline-block;
  padding: 6px 14px 5px;
  border-radius: 999px;
  background: var(--lime); color: var(--navy);
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
}
.pill--coral { background: var(--coral); color: var(--navy); }
.pill--ghost { background: transparent; color: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }

.num { font-variant-numeric: tabular-nums; }

/* ---------- Botões ---------- */

.btn {
  --btn-bg: var(--lime); --btn-fg: var(--navy);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  cursor: pointer;
  user-select: none; -webkit-user-select: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(243, 238, 228, 0.35); }
.btn--navy { --btn-bg: var(--navy); --btn-fg: var(--cream); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 16px; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { box-shadow: 0 10px 30px -12px rgba(202, 254, 45, 0.55); }
  .btn:hover svg { transform: translateX(3px); }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--cream); }
  .btn--navy:hover { box-shadow: 0 10px 30px -12px rgba(5, 11, 61, 0.6); }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none;
  color: var(--lime);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover svg { transform: translateX(4px); } }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color 240ms ease, box-shadow 240ms ease, backdrop-filter 240ms ease;
}
.site-header.is-solid {
  background: rgba(5, 11, 61, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(183, 188, 223, 0.12);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 128px; height: auto; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 8px 14px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; color: var(--mist);
  transition: color 160ms ease;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--lime); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--ease-out);
}
.nav a[aria-current="page"] { color: var(--cream); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--cream); }
  .nav a:hover::after { transform: scaleX(1); }
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px; padding: 0;
  border: 0; border-radius: 999px;
  background: rgba(243, 238, 228, 0.08);
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.menu-toggle:active { transform: scale(0.94); }
.menu-toggle span {
  display: block; width: 18px; height: 2px; margin: 0 auto;
  background: var(--cream); border-radius: 2px;
  transition: transform 260ms var(--ease-out), opacity 160ms ease;
}
.menu-toggle span + span { margin-top: 5px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 45;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column;
  background: var(--navy);
  background-image: radial-gradient(120% 60% at 100% 0%, rgba(7, 25, 155, 0.9), transparent 70%);
  visibility: hidden;
  transform: translateY(-100%);
  transition: transform 420ms var(--ease-drawer), visibility 0s linear 420ms;
}
.mobile-nav.is-open {
  visibility: visible;
  transform: none;
  transition: transform 480ms var(--ease-drawer), visibility 0s;
}
.mobile-nav a.m-link {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(183, 188, 223, 0.16);
  font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: clamp(40px, 11vw, 56px); line-height: 1; text-transform: uppercase;
  text-decoration: none;
  opacity: 0; transform: translateY(12px);
  transition: opacity 300ms ease, transform 400ms var(--ease-out);
}
.mobile-nav a.m-link small { font-size: 14px; font-style: normal; letter-spacing: 0.2em; color: var(--haze); }
.mobile-nav a.m-link[aria-current="page"] { color: var(--lime); }
.mobile-nav.is-open a.m-link { opacity: 1; transform: none; transition-delay: calc(120ms + var(--i, 0) * 50ms); }
.mobile-nav .btn { margin-top: auto; width: 100%; }

/* ---------- Secções ---------- */

.section { position: relative; padding-block: var(--section-y); }
.section--cream { background: var(--cream); color: var(--navy); }
.section--cream .lead { color: #3A3F66; }
.section--cream .eyebrow { color: var(--blue); }
.section--blue { background: var(--blue); }
.section--navy { background: var(--navy); }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 820px; }
.section-head--split {
  max-width: none;
  grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px;
}

/* linhas de court como textura */
.court-lines { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.court-lines svg { position: absolute; width: 120%; max-width: none; left: -10%; top: 50%; transform: translateY(-50%); opacity: 0.055; }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(48px, 6vw, 88px);
  display: flex; align-items: center;
  background:
    radial-gradient(90% 70% at 85% 30%, rgba(19, 36, 143, 0.95) 0%, transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--blue) 120%);
  overflow: hidden;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy { display: grid; gap: 28px; justify-items: start; }
.hero h1 { font-size: clamp(60px, 10vw, 150px); }
.hero h1 .line { display: block; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  padding-top: 24px; border-top: 1px solid rgba(183, 188, 223, 0.18);
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--haze);
}
.hero-facts b { color: var(--cream); font-weight: 800; }

.hero-media { position: relative; }
.photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 900 / 868;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  transform: rotate(1.5deg);
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 11, 61, 0) 55%, rgba(5, 11, 61, 0.65) 100%);
}
.photo-card figcaption {
  position: absolute; right: 20px; bottom: 16px; z-index: 1;
  font-size: 13px; letter-spacing: 0.06em; color: var(--mist);
}
.hero-media .selo {
  position: absolute; left: -36px; bottom: -32px;
  width: clamp(104px, 12vw, 148px);
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.35));
}
.selo .ring { transform-origin: 50% 50%; animation: spin 28s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.ball {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #E6FF8A, var(--lime) 45%, #9FCC14 100%);
  box-shadow: inset -6px -8px 14px rgba(0, 0, 0, 0.18);
}
.ball::before, .ball::after {
  content: ""; position: absolute; inset: 8%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  clip-path: inset(0 55% 0 0);
}
.ball::after { clip-path: inset(0 0 0 55%); }
.hero .ball { width: 64px; height: 64px; right: -18px; top: -22px; }

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  background: var(--lime); color: var(--navy);
  padding-block: 14px;
  border-block: 2px solid var(--navy);
}
.marquee--coral { background: var(--coral); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span {
  padding-right: 28px;
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: clamp(22px, 2.4vw, 30px); letter-spacing: 0.03em; text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track i { font-style: normal; padding: 0 18px; opacity: 0.55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Page hero (interiores) ---------- */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(80% 90% at 90% 0%, rgba(19, 36, 143, 0.95), transparent 70%),
    var(--navy);
  overflow: hidden;
}
.page-hero .wrap { position: relative; display: grid; gap: 24px; justify-items: start; }
.page-hero h1 { font-size: clamp(56px, 10vw, 140px); }
.breadcrumb {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--haze);
}
.breadcrumb a { text-decoration: none; color: var(--haze); transition: color 160ms ease; }
.breadcrumb a:hover { color: var(--cream); }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }

/* ---------- Grelhas e cartões ---------- */

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split--pass { grid-template-columns: 0.8fr 1.2fr; }
.stack { display: grid; gap: 22px; justify-items: start; align-content: start; }

.pillar {
  position: relative;
  padding: 32px 28px 30px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(5, 11, 61, 0.06), 0 24px 48px -32px rgba(5, 11, 61, 0.35);
  display: grid; gap: 14px; align-content: start;
}
.pillar .icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--navy); color: var(--lime);
}
.pillar .icon svg { width: 28px; height: 28px; }
.pillar h3 { color: var(--navy); }
.pillar p { color: #3A3F66; font-size: 16px; }
.pillar .n {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: 44px; line-height: 1; color: var(--cream-2);
}

.incl-card {
  position: relative;
  min-height: 190px;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--coral-2);
  color: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  overflow: hidden;
  isolation: isolate;
}
.incl-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, 0.18), transparent 60%);
}
.incl-card svg { width: 36px; height: 36px; }
.incl-card h3 { font-size: clamp(24px, 2.2vw, 30px); }
.incl-card p { font-size: 15px; color: rgba(243, 238, 228, 0.85); }
.incl-card .pill { position: absolute; top: 20px; right: 20px; font-size: 12px; padding: 4px 10px 3px; }

.card-dark {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(243, 238, 228, 0.04);
  box-shadow: inset 0 0 0 1px rgba(183, 188, 223, 0.14);
  display: grid; gap: 12px; align-content: start;
}
.card-dark p { color: var(--mist); font-size: 16px; }
.card-dark > svg { width: 32px; height: 32px; color: var(--lime); margin-bottom: 6px; }
.card-dark[data-port] { transition: box-shadow 200ms ease, background-color 200ms ease; }
.card-dark.is-active { background: rgba(202, 254, 45, 0.06); box-shadow: inset 0 0 0 1.5px var(--lime); }

/* ---------- Mapa / rota ---------- */

.map-frame {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--navy);
  padding: clamp(16px, 2vw, 28px);
  box-shadow: inset 0 0 0 1px rgba(183, 188, 223, 0.12), 0 40px 80px -40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.map-frame .map-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  padding: 4px 6px 16px;
}
.map-frame .map-head .display { font-size: clamp(26px, 3vw, 40px); }
.route-map { width: 100%; height: auto; border-radius: 14px; overflow: visible; }
.route-map .land { fill: #13248F; stroke: #2C3DB0; stroke-width: 1.5; }
.route-map .sea { fill: #0B1660; }
.route-map .route { fill: none; stroke: var(--coral); stroke-width: 5; stroke-linecap: round; }
.route-map .port circle { fill: var(--lime); stroke: var(--navy); stroke-width: 4; }
.route-map .port .halo { fill: var(--lime); stroke: none; opacity: 0; }
.route-map .port text {
  font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: 40px; letter-spacing: 1px; fill: var(--cream);
}
.route-map .port { transform-box: fill-box; transform-origin: center; }
.route-map .port.is-active .halo { opacity: 0.25; }

html.js .route-map .route { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .route-map .port { opacity: 0; transform: scale(0.7); }
html.js .route-map.is-in .route { stroke-dashoffset: 0; transition: stroke-dashoffset 900ms var(--ease-in-out) calc(var(--d) * 1ms); }
html.js .route-map.is-in .port {
  opacity: 1; transform: none;
  transition: opacity 300ms ease calc(var(--d) * 1ms), transform 500ms var(--ease-out) calc(var(--d) * 1ms);
}
.route-map .halo { transition: opacity 200ms ease; }

/* Carimbos de porto */
.stamps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stamp {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: rgba(5, 11, 61, 0.4);
  box-shadow: inset 0 0 0 1px rgba(183, 188, 223, 0.16);
  display: grid; gap: 4px;
  text-align: left;
  border: 0; color: inherit; cursor: default;
  transition: background-color 200ms ease, box-shadow 200ms ease;
}
.stamp .d { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.18em; color: var(--lime); text-transform: uppercase; }
.stamp .c { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; }
.stamp .k { font-size: 13px; color: var(--haze); font-variant-numeric: tabular-nums; }
.stamp.is-active { background: rgba(202, 254, 45, 0.08); box-shadow: inset 0 0 0 1.5px var(--lime); }

/* ---------- Cartão de embarque ---------- */

.pass {
  --notch: 18px;
  --stub: 168px;
  position: relative;
  display: grid; grid-template-columns: 1fr var(--stub);
  border-radius: 22px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 50px 90px -40px rgba(5, 11, 61, 0.55), 0 2px 0 rgba(5, 11, 61, 0.05);
  -webkit-mask:
    radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask:
    radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.pass-main { padding: 28px 32px 30px; display: grid; gap: 22px; }
.pass-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pass-top img { width: 112px; }
.pass-top .eyebrow { color: var(--blue); }
.pass-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; }
.pass-route .code { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(44px, 5vw, 64px); line-height: 0.9; }
.pass-route .code small { display: block; font-size: 13px; font-style: normal; font-weight: 700; letter-spacing: 0.18em; color: #5A5F86; margin-top: 6px; }
.pass-route .path { position: relative; height: 2px; background: repeating-linear-gradient(90deg, var(--navy) 0 6px, transparent 6px 12px); }
.pass-route .path svg { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; transform: translate(-50%, -50%); background: #fff; padding: 0 4px; color: var(--blue); }
.pass-via { margin-top: -8px; text-align: center; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #5A5F86; font-weight: 600; }
.pass-fields { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px dashed rgba(5, 11, 61, 0.2); }
.pass-fields dt { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #5A5F86; font-weight: 600; }
.pass-fields dd { margin: 2px 0 0; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 21px; text-transform: uppercase; white-space: nowrap; }
.pass-stub {
  position: relative;
  padding: 28px 24px;
  border-left: 2px dashed rgba(5, 11, 61, 0.2);
  background: var(--lime);
  border-radius: 0 22px 22px 0;
  display: grid; align-content: space-between; gap: 18px;
}
.pass-stub .big { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 80px; line-height: 0.8; }
.pass-stub .barcode {
  height: 56px;
  background: repeating-linear-gradient(90deg,
    var(--navy) 0 2px, transparent 2px 4px, var(--navy) 4px 7px, transparent 7px 8px,
    var(--navy) 8px 9px, transparent 9px 12px, var(--navy) 12px 15px, transparent 15px 17px);
}
.pass-stub small { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }

/* ---------- Contagem decrescente ---------- */

.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.countdown div {
  padding: 18px 10px 14px;
  border-radius: 14px;
  background: var(--navy); color: var(--cream);
  text-align: center;
}
.countdown b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(38px, 4.4vw, 56px); line-height: 0.9; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--haze); font-weight: 600; }

/* ---------- Números ---------- */

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat {
  padding: 26px 24px 22px;
  border-radius: var(--radius);
  background: var(--navy); color: var(--cream);
  display: grid; gap: 8px; align-content: end;
  min-height: 190px;
}
.stat b { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(72px, 8vw, 112px); line-height: 0.8; color: var(--lime); }
.stat span { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist); }
.stat:nth-child(2) { background: var(--blue); }
.stat:nth-child(3) { background: var(--coral-2); }
.stat:nth-child(3) b { color: var(--navy); }
.stat:nth-child(3) span { color: var(--cream); }
.stat:nth-child(4) { background: var(--lime); }
.stat:nth-child(4) b, .stat:nth-child(4) span { color: var(--navy); }

.manifesto {
  font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: clamp(38px, 5.6vw, 80px); line-height: 0.98; text-transform: uppercase;
  max-width: 20ch; text-wrap: balance;
}

/* ---------- Edições ---------- */

.edition {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center;
}
.edition + .edition { margin-top: clamp(64px, 8vw, 112px); }
.edition--flip > :first-child { order: 2; }
.edition .tag-year {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: clamp(96px, 16vw, 220px); line-height: 0.8; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 2px rgba(202, 254, 45, 0.6);
}
.edition-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4; }
.edition-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.edition-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.edition-facts li {
  list-style: none;
  padding: 7px 14px 6px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(183, 188, 223, 0.3);
  font-size: 14px; color: var(--mist);
}
.edition-facts { padding: 0; margin: 0; }

.ed-card-next {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius-lg);
  background: radial-gradient(90% 90% at 80% 10%, #1A33C9, var(--blue) 60%);
  display: grid; place-items: center;
  overflow: hidden;
}
.ed-card-next .selo-big { width: 58%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35)); }
.selo .ring { transform-box: view-box; }

/* timeline de edições */
.ed-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; margin-bottom: clamp(56px, 7vw, 96px); }
.ed-timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: rgba(183, 188, 223, 0.2); }
.ed-timeline li { list-style: none; position: relative; padding-top: 38px; display: grid; gap: 4px; }
.ed-timeline li::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy); box-shadow: inset 0 0 0 2px var(--haze);
}
.ed-timeline li.done::before { background: var(--haze); }
.ed-timeline li.now::before { background: var(--lime); box-shadow: 0 0 0 6px rgba(202, 254, 45, 0.18); }
.ed-timeline b { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 28px; text-transform: uppercase; line-height: 1; }
.ed-timeline span { font-size: 14px; color: var(--haze); }
.ed-timeline { padding: 0; margin-top: 0; }

/* ---------- Programa dia a dia ---------- */

.days { display: grid; gap: 0; counter-reset: day; }
.day {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: start;
  padding: 28px 0;
  border-top: 1px solid rgba(5, 11, 61, 0.14);
}
.day:last-child { border-bottom: 1px solid rgba(5, 11, 61, 0.14); }
.day .when { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.14em; font-size: 13px; text-transform: uppercase; color: var(--blue); }
.day .when b { display: block; font-style: italic; font-weight: 900; font-size: 46px; line-height: 0.9; letter-spacing: 0; color: var(--navy); }
.day h3 { color: var(--navy); margin-bottom: 8px; }
.day p { color: #3A3F66; font-size: 16px; max-width: 60ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.tag {
  padding: 5px 12px 4px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--navy); color: var(--cream);
}
.tag--play { background: var(--lime); color: var(--navy); }
.tag--fun { background: var(--coral); color: var(--navy); }
.tag--sea { background: var(--blue); color: var(--cream); }
.tag--incl { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }

.note {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 28px; padding: 18px 20px;
  border-radius: 14px;
  background: rgba(7, 25, 155, 0.06);
  color: #3A3F66; font-size: 15px;
}
.note svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }

/* ---------- Formato do torneio ---------- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step {
  position: relative;
  padding: 30px 26px 28px;
  border-radius: var(--radius);
  background: var(--navy-2);
  box-shadow: inset 0 0 0 1px rgba(183, 188, 223, 0.12);
  display: grid; gap: 12px; align-content: start;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: 64px; line-height: 0.85; color: var(--lime);
}
.step p { color: var(--mist); font-size: 16px; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.check-list li {
  display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start;
  padding: 16px 0; border-top: 1px solid rgba(5, 11, 61, 0.12);
}
.check-list li:last-child { border-bottom: 1px solid rgba(5, 11, 61, 0.12); }
.check-list svg { width: 26px; height: 26px; color: var(--blue); }
.check-list b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 22px; text-transform: uppercase; line-height: 1.1; }
.check-list span { color: #3A3F66; font-size: 15px; }

/* ---------- Galeria ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter {
  min-height: 42px; padding: 0 18px;
  border: 0; border-radius: 999px;
  background: rgba(243, 238, 228, 0.06);
  box-shadow: inset 0 0 0 1px rgba(183, 188, 223, 0.2);
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist);
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.filter:active { transform: scale(0.97); }
.filter[aria-pressed="true"] { background: var(--lime); color: var(--navy); box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  .filter[aria-pressed="false"]:hover { color: var(--cream); box-shadow: inset 0 0 0 1px var(--haze); }
}

/* índice de álbuns */
.albums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin-bottom: 8px; }
.album {
  position: relative;
  display: grid; grid-template-rows: auto 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-2);
  box-shadow: inset 0 0 0 1px rgba(183, 188, 223, 0.14);
  text-decoration: none; color: var(--cream);
  transition: transform 200ms var(--ease-out), box-shadow 200ms ease;
}
.album:active { transform: scale(0.99); }
.album-media { position: relative; }
.album-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.album-cover > img, .album-cover > .ph-art { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; transition: transform 700ms var(--ease-out); }
.album-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 18, 82, 0) 45%, rgba(10, 18, 82, 0.92) 100%); }
.album-cover--soon { display: grid; place-items: center; background: radial-gradient(90% 100% at 80% 10%, #1A33C9, var(--blue) 65%); }
.album-cover--soon .selo { width: 34%; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.35)); transition: transform 700ms var(--ease-out); }
.album-yr {
  position: absolute; left: clamp(20px, 2.4vw, 30px); bottom: clamp(14px, 2vw, 22px); z-index: 1;
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: clamp(72px, 9vw, 128px); line-height: 0.8; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(202, 254, 45, 0.85);
  pointer-events: none;
}
.album-body {
  position: relative;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px 20px;
  padding: clamp(20px, 2.4vw, 30px);
}
.album-body h2 { font-size: clamp(34px, 3.6vw, 48px); }
.album-body p { margin-top: 8px; font-size: 15px; color: var(--haze); }
.album-body .link-arrow { grid-column: 1 / -1; }
.album-thumbs { display: flex; gap: 6px; }
.album-thumb {
  width: 52px; height: 52px; border-radius: 10px; overflow: hidden; flex-shrink: 0;
  display: grid; place-items: center;
  box-shadow: 0 0 0 2px var(--navy-2);
}
.album-thumb > img, .album-thumb > .ph-art { width: 100%; height: 100%; object-fit: cover; }
.album-thumb .ph-art::after, .album-thumb .ph-art::before { display: none; }
.album-thumb .ph-art svg { width: 55%; }
.album-thumb--more {
  background: rgba(243, 238, 228, 0.08);
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 18px; color: var(--lime);
}
@media (hover: hover) and (pointer: fine) {
  .album:hover { box-shadow: inset 0 0 0 1px rgba(202, 254, 45, 0.5); }
  .album:hover .album-cover > img, .album:hover .album-cover > .ph-art, .album:hover .album-cover--soon .selo { transform: scale(1.04); }
  .album:hover .link-arrow svg { transform: translateX(4px); }
}

/* página de uma edição */
.filters--days {
  margin: -12px 0 32px; padding: 14px;
  border-radius: 18px;
  background: rgba(202, 254, 45, 0.06);
  box-shadow: inset 0 0 0 1px rgba(202, 254, 45, 0.18);
}
.filters--days[hidden] { display: none; }
.filter--day {
  display: grid; gap: 2px; text-align: left; justify-items: start;
  min-height: 0; padding: 10px 16px 9px; border-radius: 12px;
}
.filter--day b { font-style: italic; font-weight: 800; font-size: 18px; letter-spacing: 0.04em; line-height: 1; }
.filter--day span { font-family: var(--font-body); font-size: 12px; letter-spacing: 0; text-transform: none; opacity: 0.75; }

.g-group[hidden] { display: none; }
.g-group + .g-group { margin-top: clamp(40px, 5vw, 64px); }
.g-group-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px;
  padding-bottom: 16px; margin-bottom: 20px;
  border-bottom: 1px solid rgba(183, 188, 223, 0.14);
}
.g-group-head .pill { align-self: center; font-size: 12px; padding: 4px 10px 3px; color: var(--lime); }
.g-group-head h3 { font-size: clamp(30px, 3.4vw, 44px); }
.g-group-head p { font-size: 15px; color: var(--haze); }
.g-group[data-group-cat="torneio"] .g-group-head h3 { color: var(--lime); }

.g-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-bottom: 28px; }
.g-toolbar .filters { margin-bottom: 0; }
.g-count { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--haze); }

.ed-pager {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: clamp(48px, 6vw, 72px); padding-top: 32px;
  border-top: 1px solid rgba(183, 188, 223, 0.16);
}
.ed-pager-link {
  display: grid; gap: 6px; padding: 22px 24px;
  border-radius: var(--radius);
  background: rgba(243, 238, 228, 0.04);
  box-shadow: inset 0 0 0 1px rgba(183, 188, 223, 0.14);
  text-decoration: none;
  transition: transform 160ms var(--ease-out), box-shadow 200ms ease;
}
.ed-pager-link:active { transform: scale(0.98); }
.ed-pager-link span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lime); }
.ed-pager-link span svg { width: 16px; height: 16px; }
.ed-pager-link b { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); text-transform: uppercase; line-height: 1; }
.ed-pager-link--next { text-align: right; justify-items: end; }
@media (hover: hover) and (pointer: fine) { .ed-pager-link:hover { box-shadow: inset 0 0 0 1px var(--lime); } }

.g-soon {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3vw, 40px);
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--radius-lg);
  background: radial-gradient(90% 140% at 100% 0%, #1A33C9, var(--blue) 60%);
}
.g-soon .selo { width: clamp(96px, 10vw, 128px); filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.3)); }
.g-soon h3 { font-size: clamp(28px, 3vw, 38px); }
.g-soon p { color: var(--mist); max-width: 52ch; }
.g-soon-actions { display: flex; flex-direction: column; gap: 10px; }

.g-empty {
  padding: 40px 24px; border-radius: 16px; text-align: center;
  color: var(--haze); box-shadow: inset 0 0 0 1px rgba(183, 188, 223, 0.16);
}
.g-empty[hidden] { display: none; }

.gallery { columns: 3 300px; column-gap: 16px; }
.g-item {
  break-inside: avoid;
  margin: 0 0 16px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--navy-2);
  transition: opacity 240ms ease, transform 240ms var(--ease-out);
}
.g-item[hidden] { display: none; }
.g-item button { all: unset; display: block; width: 100%; cursor: zoom-in; }
.g-item button:focus-visible { outline: 2px solid var(--lime); outline-offset: -4px; border-radius: 16px; }
.g-item img { width: 100%; height: auto; transition: transform 600ms var(--ease-out); }
.g-item figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 40px 18px 14px;
  background: linear-gradient(180deg, transparent, rgba(5, 11, 61, 0.85));
  font-size: 14px; color: var(--cream);
  display: flex; justify-content: space-between; gap: 12px; align-items: end;
  pointer-events: none;
}
.g-item figcaption em { font-style: normal; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .g-item:hover img, .g-item:hover .ph-art svg { transform: scale(1.03); }
}

/* placeholders de fotografia (substituir por <img>) */
.ph-art {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: var(--ar, 4 / 3);
  background: var(--ph-bg, var(--blue));
  color: var(--ph-fg, var(--lime));
  overflow: hidden;
}
.ph-art svg { width: 38%; height: auto; transition: transform 600ms var(--ease-out); }
.ph-art::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.ph-art::after {
  content: "Fotografia em breve";
  position: absolute; top: 14px; left: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.7;
}
.ph--navy { --ph-bg: var(--navy-2); --ph-fg: var(--lime); }
.ph--blue { --ph-bg: var(--blue); --ph-fg: var(--cream); }
.ph--coral { --ph-bg: var(--coral-2); --ph-fg: var(--navy); }
.ph--cream { --ph-bg: var(--cream-2); --ph-fg: var(--blue); }
.ph--lime { --ph-bg: var(--lime); --ph-fg: var(--navy); }

.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 30%);
  gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip > * { scroll-snap-align: start; margin: 0; }
.strip .ph-art, .strip img { aspect-ratio: 4 / 5; border-radius: 16px; width: 100%; height: auto; object-fit: cover; }

/* Lightbox */
.lightbox {
  width: min(1100px, 100vw - 32px); max-width: none;
  max-height: calc(100svh - 32px);
  padding: 0; border: 0;
  background: transparent; color: var(--cream);
  overflow: visible;
}
.lightbox::backdrop { background: rgba(3, 6, 36, 0.88); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lb-in 260ms var(--ease-out); }
.lightbox[open]::backdrop { animation: fade-in 260ms ease; }
.lightbox.is-closing { animation: lb-out 160ms ease forwards; }
.lightbox.is-closing::backdrop { animation: fade-out 160ms ease forwards; }
@keyframes lb-in { from { opacity: 0; transform: scale(0.96); } }
@keyframes lb-out { to { opacity: 0; transform: scale(0.98); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.lb-stage { border-radius: 18px; overflow: hidden; background: var(--navy-2); }
.lb-stage img, .lb-stage .ph-art { width: 100%; max-height: calc(100svh - 140px); object-fit: contain; }
.lb-stage .ph-art { aspect-ratio: 16 / 10; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 14px; }
.lb-bar p { font-size: 15px; color: var(--mist); }
.lb-controls { display: flex; gap: 8px; }
.icon-btn {
  width: 46px; height: 46px; padding: 0;
  display: grid; place-items: center;
  border: 0; border-radius: 999px;
  background: rgba(243, 238, 228, 0.1); color: var(--cream);
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: rgba(243, 238, 228, 0.18); } }

/* ---------- Formulário da lista prioritária (LeadConnector) ---------- */

.lead-form { position: relative; }
.lead-form.has-consent { min-height: 953px; }
.lead-form iframe { position: relative; z-index: 1; display: block; min-height: 953px; }
.lead-form iframe[hidden] { display: none; }
/* antes do consentimento: explicação + botão, sem o espaço do formulário */
.lead-form-consent {
  display: grid; gap: 14px; justify-items: start;
  padding: clamp(24px, 3.4vw, 36px); border-radius: var(--radius-lg);
  background: #fff; box-shadow: 0 1px 0 rgba(5, 11, 61, 0.06), 0 24px 60px -30px rgba(5, 11, 61, 0.35);
  color: var(--navy);
}
.lead-form-consent > svg { width: 28px; height: 28px; color: var(--blue); }
.lead-form-consent p { margin: 0; color: #3A3F66; }
.lead-form-consent .lead-form-fallback { text-align: left; margin: 0; }
.lead-form.has-consent .lead-form-consent,
.lead-form:not(.has-consent) .lead-form-loading,
.lead-form:not(.has-consent) > .lead-form-fallback { display: none; }
.lead-form-loading {
  position: absolute; inset: 0 0 auto 0; height: 953px; z-index: 0;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  border-radius: 11px;
  background: var(--blue); color: var(--mist);
  font-size: 15px;
  transition: opacity 200ms ease;
}
.lead-form.is-loaded .lead-form-loading { opacity: 0; }
.spinner {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(243, 238, 228, 0.25); border-top-color: var(--lime);
  animation: spin 650ms linear infinite;
}
.lead-form-fallback { margin-top: 12px; font-size: 14px; color: #5A5F86; text-align: center; }
.lead-form-fallback a { color: var(--blue); font-weight: 600; }

/* ---------- Páginas legais ---------- */

.legal { max-width: 760px; color: #2A2F55; font-size: 17px; }
.legal h2 { margin: 2.2em 0 0.5em; font-size: clamp(24px, 2.6vw, 30px); color: var(--navy); }
.legal h2:first-child, .legal .legal-updated + h2 { margin-top: 0; }
.legal h3 { margin: 1.6em 0 0.4em; font-family: var(--font-body); font-style: normal; text-transform: none; letter-spacing: 0; font-size: 18px; font-weight: 600; color: var(--navy); }
.legal p, .legal li { line-height: 1.7; }
.legal ul, .legal ol { padding-left: 1.2em; }
.legal li + li { margin-top: 0.35em; }
.legal a { color: var(--blue); font-weight: 600; }
.legal strong { color: var(--navy); }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(5, 11, 61, 0.12); vertical-align: top; }
.legal-updated { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: #5A5F86; margin-bottom: 28px; }

/* ---------- Aviso de cookies (cookieconsent, via jeffersongoncalves/filament-cookie-consent) ---------- */

.cc-window.cc-window { font-family: var(--font-body); font-size: 15px; line-height: 1.5; border-radius: 18px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55); }
.cc-window.cc-floating { max-width: 380px; padding: 22px; }
.cc-window .cc-header { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 22px; letter-spacing: 0.02em; text-transform: uppercase; }
.cc-window .cc-link { opacity: 1; font-weight: 600; }
.cc-window .cc-btn { border-radius: 999px; font-family: var(--font-display); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 14px; transition: transform 160ms var(--ease-out); }
.cc-window .cc-btn:active { transform: scale(0.97); }
.cc-window .cc-compliance { gap: 8px; }
.cc-window .cc-btn.cc-deny { border-width: 1px; }
/* o separador flutuante "Cookies" da biblioteca fica escondido: a escolha revê-se no rodapé (Preferências de cookies) */
.cc-revoke.cc-revoke { display: none; }
@media (max-width: 600px) { .cc-window.cc-floating { max-width: none; left: 12px; right: 12px; bottom: 12px; } }

/* consentimento e estados de envio (newsletter) */
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; color: #3A3F66; cursor: pointer; }
.consent[data-invalid] { color: var(--coral-2); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }
.btn .btn-label { display: inline-flex; align-items: center; gap: 10px; transition: filter 200ms ease, opacity 200ms ease, transform 200ms var(--ease-out); }
.btn.is-busy .btn-label { filter: blur(2px); opacity: 0.6; }
@keyframes success-in { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }

/* ---------- FAQ ---------- */

.faq { display: grid; }
.faq details { border-top: 1px solid rgba(183, 188, 223, 0.2); }
.faq details:last-child { border-bottom: 1px solid rgba(183, 188, 223, 0.2); }
.faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0;
  font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; text-transform: uppercase;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  flex-shrink: 0; position: relative; width: 36px; height: 36px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(183, 188, 223, 0.4);
  transition: transform 260ms var(--ease-out), background-color 200ms ease;
}
.faq summary .plus::before, .faq summary .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px;
  background: currentColor; border-radius: 2px;
}
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--lime); color: var(--navy); box-shadow: none; }
.faq .answer { padding: 0 60px 26px 0; color: var(--mist); max-width: 70ch; }
.faq .answer p + p { margin-top: 10px; }
.faq details::details-content {
  block-size: 0; overflow: clip;
  transition: block-size 280ms var(--ease-out), content-visibility 280ms allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ---------- CTA final ---------- */

.cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(80px, 11vw, 150px);
  background: var(--blue);
  text-align: center;
}
.cta .wrap { position: relative; display: grid; justify-items: center; gap: 26px; }
.cta h2 { font-size: clamp(48px, 8vw, 112px); }
.cta .lead { margin-inline: auto; text-align: center; }

/* ---------- Newsletter: postal "Diário de bordo" ---------- */

.newsletter { background: var(--cream); color: var(--navy); padding-block: clamp(64px, 8vw, 104px); }
.postcard {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(5, 11, 61, 0.06), 0 40px 80px -48px rgba(5, 11, 61, 0.45);
  overflow: hidden;
}
/* faixa de correio aéreo */
.postcard::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 8px;
  background: repeating-linear-gradient(-45deg,
    var(--coral) 0 14px, #fff 14px 22px, var(--blue) 22px 36px, #fff 36px 44px);
}
.pc-message { padding: clamp(32px, 4vw, 52px) clamp(24px, 4vw, 52px); display: grid; gap: 18px; align-content: start; }
.pc-message .eyebrow { color: var(--blue); }
.pc-message h2 { font-size: clamp(44px, 5.4vw, 76px); }
.pc-message p { color: #3A3F66; max-width: 42ch; }
.pc-perks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pc-perks li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 6px; border-radius: 999px;
  background: var(--cream); font-size: 14px; font-weight: 500;
}
.pc-perks svg { width: 16px; height: 16px; color: var(--blue); }

.pc-address {
  position: relative;
  padding: clamp(32px, 4vw, 52px) clamp(24px, 4vw, 52px);
  border-left: 2px dashed rgba(5, 11, 61, 0.14);
  display: grid; align-content: end; gap: 14px;
  min-height: 340px;
}
.pc-stamp {
  position: absolute; top: clamp(28px, 3vw, 40px); right: clamp(24px, 3vw, 40px);
  width: 86px; height: 104px;
  padding: 5px;
  background: var(--lime);
  border: 5px dotted #fff;
  transform: rotate(3deg);
  box-shadow: 0 6px 14px -8px rgba(5, 11, 61, 0.5);
}
.pc-stamp span {
  height: 100%; display: grid; place-items: center; align-content: center; gap: 6px;
  background: var(--navy); color: var(--lime);
}
.pc-stamp svg { width: 34px; height: 34px; }
.pc-stamp small { font-family: var(--font-display); font-weight: 700; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream); }
.pc-postmark {
  position: absolute; top: clamp(18px, 2vw, 28px); right: clamp(70px, 8vw, 104px);
  width: 128px; height: 128px;
  color: var(--coral-2);
  opacity: 0; transform: rotate(-14deg) scale(1.35);
  pointer-events: none;
}
.postcard.is-subscribed .pc-postmark {
  opacity: 0.85; transform: rotate(-14deg) scale(1);
  transition: opacity 180ms ease, transform 420ms var(--ease-out);
}

.pc-label { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: #5A5F86; }
.pc-form { display: grid; gap: 12px; }
.pc-form[hidden] { display: none; }
/* campo-armadilha para bots: fora do ecrã, invisível para pessoas e leitores de ecrã */
.pc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pc-field {
  display: flex; gap: 10px; align-items: center;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy);
}
.pc-field input {
  flex: 1; min-width: 0;
  border: 0; background: transparent; padding: 8px 0;
  font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(20px, 2vw, 26px);
  color: var(--navy);
}
.pc-field input::placeholder { color: rgba(5, 11, 61, 0.3); }
.pc-field input:focus { outline: none; }
.pc-field:focus-within { border-bottom-color: var(--blue); }
.pc-form[data-invalid] .pc-field { border-bottom-color: var(--coral-2); }
.pc-field .btn { flex-shrink: 0; }
.pc-err { min-height: 1.2em; font-size: 13px; color: var(--coral-2); }
.pc-err:empty { min-height: 0; }

.pc-success { display: grid; gap: 8px; }
.pc-success[hidden] { display: none; }
.pc-success h3 { font-size: clamp(36px, 4vw, 52px); color: var(--blue); }
.pc-success h3:focus { outline: none; }
.pc-success p { color: #3A3F66; }
.postcard.is-subscribed .pc-success { animation: success-in 500ms var(--ease-out); }

/* ---------- Área de participantes ---------- */

.nav-login {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--mist);
  transition: color 160ms ease, background-color 160ms ease;
}
.nav-login svg { width: 18px; height: 18px; }
.nav-login[aria-current="page"] { color: var(--lime); }
@media (hover: hover) and (pointer: fine) { .nav-login:hover { color: var(--cream); background: rgba(243, 238, 228, 0.08); } }

/* seletor de idioma (PT / EN) */
.lang-switch {
  display: inline-grid; place-items: center; min-width: 40px; height: 34px; padding: 0 10px;
  border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(243, 238, 228, 0.22);
  font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: 0.14em;
  text-decoration: none; color: var(--mist);
  transition: color 160ms ease, box-shadow 160ms ease, transform 160ms var(--ease-out);
}
.lang-switch:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .lang-switch:hover { color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); } }
.mobile-nav a.m-link--lang { font-size: clamp(22px, 6vw, 30px); color: var(--haze); }

/* convite para entrar, numa galeria de edição */
.gate {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(18px, 3vw, 36px);
  padding: clamp(24px, 3.4vw, 40px);
  margin-bottom: clamp(48px, 6vw, 72px);
  border-radius: var(--radius-lg);
  background: radial-gradient(90% 140% at 100% 0%, #1A33C9, var(--blue) 60%);
}
.gate-icon {
  width: clamp(72px, 8vw, 96px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lime); color: var(--navy);
}
.gate-icon svg { width: 46%; height: auto; }
.gate h3 { font-size: clamp(28px, 3vw, 38px); }
.gate p { color: var(--mist); max-width: 56ch; }
.gate .gate-warn { padding: 10px 14px; border-radius: 12px; background: rgba(5, 11, 61, 0.35); color: var(--cream); font-size: 15px; }
.gate-warn a { color: var(--lime); }
.gate-actions:empty { display: none; }
.g-preview-title {
  margin-bottom: 20px;
  font-size: clamp(22px, 2.2vw, 28px); color: var(--haze);
}

/* barra de sessão, na galeria completa */
.member-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px;
  padding: 14px 18px; margin-bottom: 28px;
  border-radius: 14px;
  background: rgba(202, 254, 45, 0.08); box-shadow: inset 0 0 0 1px rgba(202, 254, 45, 0.25);
  font-size: 15px; color: var(--mist);
}
.member-bar span { display: inline-flex; align-items: center; gap: 10px; }
.member-bar svg { width: 20px; height: 20px; color: var(--lime); flex-shrink: 0; }
.member-bar b { color: var(--cream); }
.link-btn {
  padding: 6px 2px; border: 0; background: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 16px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--lime);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px;
}

/* álbum: indicação de galeria privada */
.album-private {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  font-size: 13px; font-weight: 600; color: var(--lime);
}
.album-private svg { width: 16px; height: 16px; }
.album-lock { width: 30%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--navy); }
.album-lock svg { width: 46%; height: auto; }

/* página Entrar */
.login-card {
  display: grid; gap: 12px; align-content: start;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: #fff; color: var(--navy);
  box-shadow: 0 1px 0 rgba(5, 11, 61, 0.06), 0 40px 80px -48px rgba(5, 11, 61, 0.45);
}
.login-card .eyebrow { color: var(--blue); }
.login-card h3 { font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 8px; }
.login-card p { color: #3A3F66; }
.login-card a { color: var(--blue); font-weight: 600; }
.login-card .btn { margin-top: 12px; width: 100%; }
.lf-label { margin-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: #5A5F86; }
.lf-input {
  width: 100%; min-height: 54px; padding: 12px 16px;
  border: 0; border-radius: 12px;
  background: #F4F2EC; box-shadow: inset 0 0 0 1px rgba(5, 11, 61, 0.1);
  font: inherit; font-size: 16px; color: var(--navy);
  transition: box-shadow 160ms ease, background-color 160ms ease;
}
.lf-input:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 4px rgba(7, 25, 155, 0.12); }
.lf-pass { position: relative; }
.lf-pass .lf-input { padding-right: 56px; }
.lf-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px;
  display: grid; place-items: center;
  background: transparent; color: #5A5F86; cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}
.lf-toggle svg { width: 20px; height: 20px; }
.lf-toggle[aria-pressed="true"] { color: var(--blue); background: rgba(7, 25, 155, 0.08); }
.lf-help { margin-top: 6px; font-size: 14px; }
.login-error {
  padding: 12px 14px; border-radius: 12px;
  background: rgba(232, 71, 31, 0.1); color: var(--coral-2) !important; font-weight: 600; font-size: 15px;
}
.login-status {
  padding: 12px 14px; border-radius: 12px;
  background: rgba(7, 25, 155, 0.08); color: var(--blue) !important; font-weight: 600; font-size: 15px;
}
.login-editions { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.login-editions a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 14px;
  background: var(--navy); color: var(--cream) !important; text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.login-editions a:active { transform: scale(0.98); }
.login-editions span { display: grid; font-size: 13px; color: var(--haze); }
.login-editions b { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 24px; text-transform: uppercase; color: var(--cream); }
.login-editions svg { width: 20px; height: 20px; color: var(--lime); }
@media (hover: hover) and (pointer: fine) { .login-editions a:hover { background: var(--blue); } }
.btn--ghost-navy { --btn-bg: transparent; --btn-fg: var(--navy); box-shadow: inset 0 0 0 1.5px rgba(5, 11, 61, 0.25); }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy); padding: clamp(64px, 8vw, 96px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid img.f-logo { width: 220px; }
.footer-grid h4 {
  margin: 0 0 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--lime);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--mist); transition: color 160ms ease; }
.footer-grid a:hover { color: var(--cream); }
.footer-grid p { color: var(--haze); font-size: 15px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid rgba(183, 188, 223, 0.14);
  font-size: 13px; color: var(--haze);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a, .footer-legal button, .footer-credit { color: var(--haze); text-decoration: none; transition: color 160ms ease; }
.footer-legal button { all: unset; cursor: pointer; color: var(--haze); transition: color 160ms ease; }
.footer-legal button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 2px; }
.footer-legal button[hidden] { display: none; }
.footer-credit { margin-left: auto; }
.footer-credit b { font-weight: 600; color: var(--cream); }
@media (hover: hover) and (pointer: fine) {
  .footer-legal a:hover, .footer-legal button:hover, .footer-credit:hover, .footer-credit:hover b { color: var(--lime); }
}

/* ---------- Reveal on scroll ---------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }
/* o recorte fica no filho: o IntersectionObserver ignora alvos totalmente recortados */
html.js [data-reveal="clip"] { opacity: 1; transform: none; }
html.js [data-reveal="clip"] > * {
  clip-path: inset(100% 0 0 0);
  transform: scale(1.06);
  transition: clip-path 1100ms var(--ease-in-out), transform 1400ms var(--ease-out);
}
html.js [data-reveal="clip"].is-in > * { clip-path: inset(0 0 0 0); transform: none; }

/* ---------- Responsivo ---------- */

@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stamps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav, .site-header .btn, .nav-login, .site-header .lang-switch { display: none; }
  .menu-toggle { display: block; }
  .hero { min-height: auto; }
  .hero-grid, .split, .edition { grid-template-columns: 1fr; }
  .edition--flip > :first-child { order: 0; }
  .hero-media { max-width: 520px; margin-left: 28px; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .section-head--split { grid-template-columns: 1fr; }
  .pass { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
  .pass-stub { border-left: 0; border-top: 2px dashed rgba(5, 11, 61, 0.2); border-radius: 0 0 22px 22px; grid-template-columns: auto 1fr; align-items: end; }
  .pass-fields { grid-template-columns: repeat(2, auto); justify-content: start; gap: 16px 40px; }
  .ed-timeline { grid-template-columns: 1fr; gap: 24px; }
  .ed-timeline::before { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .ed-timeline li { padding: 0 0 0 44px; }
  .day { grid-template-columns: 84px 1fr; }
  .day .tags { grid-column: 2; justify-content: flex-start; }
  .albums { grid-template-columns: 1fr; }
  .g-soon { grid-template-columns: auto 1fr; }
  .gate { grid-template-columns: auto 1fr; }
  .gate-actions { grid-column: 1 / -1; }
  .g-soon-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .postcard { grid-template-columns: 1fr; }
  .pc-address { border-left: 0; border-top: 2px dashed rgba(5, 11, 61, 0.14); min-height: 0; padding-top: 140px; }
  .strip { grid-auto-columns: 72%; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stamps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stamp .c { font-size: 24px; }
  .hero-media .selo { left: -20px; bottom: -24px; }
  .pass-main { padding: 22px 20px; }
  .pass-route { gap: 10px; }
  .countdown div { padding: 14px 4px 12px; }
  .day { grid-template-columns: 1fr; gap: 10px; }
  .day .tags { grid-column: auto; }
  .faq .answer { padding-right: 0; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .g-soon { grid-template-columns: 1fr; justify-items: start; }
  .gate { grid-template-columns: 1fr; justify-items: start; }
  .gate-actions, .gate-actions .btn { width: 100%; }
  .album-body { grid-template-columns: 1fr; }
  .album-thumb { width: 44px; height: 44px; }
  .ed-pager { grid-template-columns: 1fr; }
  .ed-pager > span:empty { display: none; }
  .g-soon-actions .btn { flex: 1 1 auto; }
  .pc-field { flex-direction: column; align-items: stretch; border-bottom: 0; padding-bottom: 0; }
  .pc-field input { border-bottom: 2px solid var(--navy); padding-bottom: 12px; }
  .pc-form[data-invalid] .pc-field input { border-bottom-color: var(--coral-2); }
  .pc-field .btn { width: 100%; }
}

/* ---------- Movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .marquee-track, .selo .ring { animation: none; }
  html.js [data-reveal] { transform: none; transition: opacity 300ms ease; transition-delay: 0ms; }
  html.js [data-reveal="clip"] > * { clip-path: none; transform: none; }
  html.js .route-map .route { stroke-dashoffset: 0; }
  html.js .route-map .port { opacity: 1; transform: none; }
  .mobile-nav, .mobile-nav.is-open { transition: visibility 0s, opacity 200ms ease; transform: none; opacity: 0; }
  .mobile-nav.is-open { opacity: 1; }
  .mobile-nav a.m-link { transform: none; }
  .lightbox[open], .lightbox.is-closing { animation-name: fade-in; }
  .lightbox.is-closing { animation-name: fade-out; }
  .postcard.is-subscribed .pc-postmark { transform: rotate(-14deg); transition: opacity 200ms ease; }
  .pc-postmark { transform: rotate(-14deg); }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
