/* =====================================================================
   BrDU · Hub de links (bento) — estilos complementares ao Tailwind
   (fundo cinematográfico, perfil, mosaico e tiles)
   ===================================================================== */

:root {
  --navy-950: #07111f;
  --navy-900: #0b1b33;
  --navy-800: #12304d;
  --navy-700: #1c3c64;
  --yellow: #fcdd18;
  --green: #70bd82;
  --teal: #4fbdc2;
  --blue: #1db0e6;
  --wa: #25d366;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  background: var(--navy-950);
  color: #fff;
  min-height: 100svh;
  overflow-x: hidden;
  overflow-x: clip;
}

::selection {
  background: rgba(29, 176, 230, 0.35);
  color: #fff;
}

img {
  -webkit-user-drag: none;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--navy-950);
}
::-webkit-scrollbar-thumb {
  background: var(--navy-700);
  border-radius: 10px;
  border: 2px solid var(--navy-950);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 12px;
}

/* ---------- identidade ---------- */
.tarja {
  background: linear-gradient(
    90deg,
    var(--yellow) 0 25%,
    var(--green) 25% 50%,
    var(--teal) 50% 75%,
    var(--blue) 75% 100%
  );
}

.text-gradient {
  background: linear-gradient(90deg, #fcdd18 0%, #70bd82 38%, #4fbdc2 66%, #1db0e6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.glass {
  background: rgba(11, 27, 51, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* ---------- fundo cinematográfico ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--navy-950);
}
.bg-slide {
  position: absolute;
  inset: -3%;
  opacity: 0;
  transition: opacity 1.6s ease;
  will-change: opacity;
}
.bg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
  transform: scale(1.04);
}
.bg-slide.is-active {
  opacity: 1;
}
.bg-slide.is-active img {
  animation: kb 18s ease-out forwards;
}
.bg-slide:nth-child(even).is-active img {
  animation-name: kb2;
}
@keyframes kb {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1%, -1%, 0); }
}
@keyframes kb2 {
  from { transform: scale(1.14) translate3d(1%, 1%, 0); }
  to   { transform: scale(1.04) translate3d(0, 0, 0); }
}
.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 30% 30%, transparent 30%, rgba(7, 17, 31, 0.72) 100%),
    linear-gradient(to bottom, rgba(7, 17, 31, 0.5) 0%, rgba(7, 17, 31, 0.6) 45%, rgba(7, 17, 31, 0.86) 100%);
}

/* ---------- grão de filme ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.75 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
  animation: grain 1.6s steps(6) infinite;
}
@keyframes grain {
  0%   { background-position: 0 0; }
  17%  { background-position: -60px -90px; }
  34%  { background-position: 80px -30px; }
  51%  { background-position: -40px 70px; }
  68%  { background-position: 90px 50px; }
  85%  { background-position: -90px 20px; }
  100% { background-position: 0 0; }
}

/* ---------- perfil ---------- */
.avatar {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 26px 50px -22px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  animation: float 6s ease-in-out infinite;
}
@media (min-width: 1280px) {
  .avatar { width: 124px; height: 124px; }
}
.avatar svg {
  width: 54%;
  height: 54%;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
  transition: transform 0.35s var(--ease), background 0.35s, border-color 0.35s, color 0.35s;
}
.chip-link svg {
  width: 0.85rem;
  height: 0.85rem;
}
.chip-link:hover {
  color: #fff;
  background: rgba(18, 48, 77, 0.7);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
.icon-circle {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  color: #fff;
  transition: transform 0.35s var(--ease), background 0.35s, border-color 0.35s;
}
.icon-circle svg {
  width: 1.05rem;
  height: 1.05rem;
}
.icon-circle:hover {
  background: rgba(18, 48, 77, 0.7);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.social {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  color: #fff;
  transition: transform 0.35s var(--ease), background 0.35s, border-color 0.35s, color 0.35s, box-shadow 0.35s var(--ease);
}
.social svg {
  width: 1.1rem;
  height: 1.1rem;
}
.social:hover {
  transform: translateY(-3px);
  background: var(--c);
  border-color: var(--c);
  color: var(--ic, #fff);
  box-shadow: 0 14px 26px -12px var(--c);
}

/* ---------- mosaico ---------- */
.bento {
  --gap: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: var(--row, 168px);
  grid-auto-flow: dense;
  gap: var(--gap);
}
@media (min-width: 768px) {
  .bento { --gap: 14px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 1536px) {
  .bento { --gap: 16px; }
}
.s-2x1 { grid-column: span 2; }
.s-3x1 { grid-column: span 3; }
.s-5x1 { grid-column: span 5; }
.s-1x2 { grid-row: span 2; }
.s-2x2 { grid-column: span 2; grid-row: span 2; }
@media (max-width: 767px) {
  /* no celular a ordem vem da lista bentoMobile e os tamanhos de spanMobile (data.js) */
  .tile-wrap { order: var(--o-m, 0); }
  .sm-1x1 { grid-column: span 1; grid-row: span 1; }
  .sm-2x1 { grid-column: span 2; grid-row: span 1; }
  .sm-1x2 { grid-column: span 1; grid-row: span 2; }
  .sm-2x2 { grid-column: span 2; grid-row: span 2; }
  .sm-2x1 .pimg { object-position: var(--pos-m, center); }
  .sm-1x1 .ig-follow { display: none; }
  .sm-1x1 .tile--ig .tile-text { right: 1rem; }
}

.tile-wrap {
  position: relative;
  min-width: 0;
}
.tile {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: 22px;
  color: #fff;
  background: rgba(11, 27, 51, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 44px -30px rgba(0, 0, 0, 0.95);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 768px) {
  .tile { border-radius: 26px; }
}
.tile:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 34px 60px -30px rgba(0, 0, 0, 1);
}
.tile-go {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  transition: background 0.35s, color 0.35s, transform 0.4s var(--ease);
}
.tile-go svg {
  width: 0.85rem;
  height: 0.85rem;
}
.tile:hover .tile-go {
  background: #fff;
  color: var(--navy-950);
  transform: translate(2px, -2px);
}

/* bloco de texto no rodapé do tile */
.tile-text {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.95rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.tile-kicker {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.tile-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  overflow: hidden;
}
.tile-sub {
  display: block;
  font-size: 0.7rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.62);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .tile-text { left: 1.15rem; right: 1.15rem; bottom: 1.1rem; }
  .tile-title { font-size: 1rem; }
  .tile-sub { font-size: 0.74rem; }
}

/* ícone grande (canais, telefones) */
.tile-icon {
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 16px;
  color: var(--c, #fff);
  background: color-mix(in srgb, var(--c, #fff) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, #fff) 32%, transparent);
  box-shadow: 0 12px 24px -14px var(--c, #fff);
  transition: transform 0.45s var(--ease);
}
.tile-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}
.tile:hover .tile-icon {
  transform: scale(1.08) rotate(-5deg);
}
@media (min-width: 768px) {
  .tile-icon { left: 1.15rem; top: 1.15rem; width: 3.1rem; height: 3.1rem; }
}

/* ---------- posters dos empreendimentos ---------- */
.tile--product {
  background: var(--navy-900);
}
.tile--product::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(160deg, var(--accent), transparent 40%, transparent 65%, var(--accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
}
.tile--product:hover::after {
  opacity: 1;
}
.pimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
  transform: scale(1.02);
  transition: transform 1.3s var(--ease);
}
.tile--product:hover .pimg {
  transform: scale(1.07);
}
.pshade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 17, 31, 0.95) 0%, rgba(7, 17, 31, 0.62) 30%, rgba(7, 17, 31, 0.05) 58%, rgba(7, 17, 31, 0.5) 100%);
}
.pbody {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.9rem;
}
@media (min-width: 768px) {
  .pbody { padding: 1.05rem; }
}
.ptop {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
/* caixa de altura fixa: o selo fica na mesma linha em todos os posters */
.plogo-box {
  display: flex;
  align-items: flex-end;
  height: 2.75rem;
  max-width: 100%;
  padding-right: 2.3rem; /* espaço para o badge ↗ */
}
.plogo {
  display: block;
  height: auto;
  width: auto;
  max-height: var(--logo-h, 2rem);
  max-width: 100%;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6));
}
.tile--product .chip {
  font-size: 8px;
  letter-spacing: 0.1em;
  padding: 0.28rem 0.5rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.plockup {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.1;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
.plockup svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
}
.pbottom {
  display: flex;
  flex-direction: column;
}
.ploc {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
  margin-bottom: 0.35rem;
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.ploc > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ploc svg {
  width: 0.7rem;
  height: 0.7rem;
  flex: none;
}
/* nome e destaque com altura reservada: os blocos ficam alinhados entre os posters */
.pname-box {
  display: flex;
  align-items: flex-end;
}
@media (min-width: 768px) {
  .s-1x2 .pname-box { min-height: 2.3em; }
  .s-1x2 .pfact { min-height: 2.7em; }
}
.pname {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
@media (min-width: 768px) {
  .pname { font-size: 1.08rem; }
}
@media (min-width: 1536px) {
  .pname { font-size: 1.22rem; }
}
.pname em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.pfact {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.35rem;
  font-size: 0.66rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
}
@media (min-width: 1280px) {
  .pfact { font-size: 0.72rem; }
}
.pcta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
}
.pcta svg {
  width: 0.7rem;
  height: 0.7rem;
  transition: transform 0.35s var(--ease);
}
.tile--product:hover .pcta svg {
  transform: translate(2px, -2px);
}
.pig {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s;
}
.pig svg {
  width: 0.9rem;
  height: 0.9rem;
}
.pig:hover {
  background: #fff;
  color: var(--navy-950);
  transform: translateY(-2px);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: none;
  border-radius: 999px;
  padding: 0.3rem 0.55rem;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 17, 31, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
}
.chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.chip-launch { color: var(--yellow); border-color: rgba(252, 221, 24, 0.45); }
.chip-launch i { animation: pulse-dot 1.7s ease-out infinite; }
.chip-sold { color: rgba(255, 255, 255, 0.85); }
.chip-building { color: var(--teal); border-color: rgba(79, 189, 194, 0.45); }
.chip-ready { color: var(--green); border-color: rgba(112, 189, 130, 0.45); }
.chip-soon { color: var(--blue); border-color: rgba(29, 176, 230, 0.45); }
.chip-soon i { animation: pulse-dot 1.7s ease-out infinite; }
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 currentColor; }
  100% { box-shadow: 0 0 0 6px transparent; }
}

/* ---------- WhatsApp ---------- */
.tile--wa {
  background: linear-gradient(145deg, #34e97f 0%, #25d366 45%, #128c7e 100%);
  border-color: rgba(255, 255, 255, 0.32);
}
.wa-glyph {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 44%;
  transform: translate(-50%, -50%);
  color: #fff;
  filter: drop-shadow(0 16px 26px rgba(0, 60, 30, 0.45));
  transition: transform 0.5s var(--ease);
}
.wa-glyph svg {
  width: 100%;
  height: auto;
}
.tile--wa:hover .wa-glyph {
  transform: translate(-50%, -50%) scale(1.06) rotate(-4deg);
}
.tile--wa .tile-title { color: #04321a; }
.tile--wa .tile-sub { color: rgba(4, 50, 26, 0.78); }
.tile--wa .tile-go {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.5);
  color: #04321a;
}

/* ---------- mapa ---------- */
.tile--map {
  background: #0d2038;
}
.map-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}
.map-frame iframe {
  position: absolute;
  left: -20%;
  top: -24%;
  width: 140%;
  height: 152%;
  border: 0;
  pointer-events: none;
  filter: invert(0.92) hue-rotate(195deg) saturate(0.55) brightness(0.86) contrast(1.05);
}
.map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 70% at 50% 45%, transparent 40%, rgba(7, 17, 31, 0.55) 100%);
}
.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 2.2rem;
  transform: translate(-50%, -100%);
  color: var(--blue);
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.6));
}
.map-pin svg {
  width: 100%;
  height: auto;
}
.map-pin i {
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(29, 176, 230, 0.55);
  transform: translateX(-50%);
  animation: pin-ring 2.2s ease-out infinite;
}
@keyframes pin-ring {
  0%   { transform: translateX(-50%) scale(0.6); opacity: 0.9; }
  100% { transform: translateX(-50%) scale(3.4); opacity: 0; }
}
.map-bar {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 16px;
  padding: 0.55rem 0.7rem;
  background: rgba(7, 17, 31, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.map-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(112, 189, 130, 0.22);
}
.map-bar .tile-title { font-size: 0.82rem; }
.map-bar .tile-sub { font-size: 0.66rem; }
.map-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex: none;
  margin-left: auto;
  border-radius: 999px;
  background: #fff;
  color: var(--navy-950);
  padding: 0.42rem 0.68rem;
  font-size: 0.66rem;
  font-weight: 700;
  white-space: nowrap;
}
.map-cta svg {
  width: 0.7rem;
  height: 0.7rem;
}
@media (max-width: 420px) {
  .map-cta span { display: none; }
}

/* ---------- site oficial ---------- */
.tile--site {
  background: linear-gradient(145deg, rgba(28, 60, 100, 0.72), rgba(11, 27, 51, 0.7));
}
.tile--site .tile-text { right: 50%; }
.tile--site .tile-title { font-size: 1.15rem; }
.site-window {
  position: absolute;
  right: -3%;
  bottom: -14%;
  width: 48%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 44px -18px rgba(0, 0, 0, 0.8);
  transform: rotate(-6deg);
  transition: transform 0.5s var(--ease);
}
.tile--site:hover .site-window {
  transform: rotate(-3deg) translateY(-6px);
}
.site-bar {
  display: flex;
  gap: 4px;
  padding: 7px 9px;
  background: #eef1f5;
}
.site-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5f57;
}
.site-bar i:nth-child(2) { background: #febc2e; }
.site-bar i:nth-child(3) { background: #28c840; }
.site-window img {
  position: absolute;
  left: 12%;
  top: 36%;
  width: 76%;
}

/* ---------- todos os empreendimentos ---------- */
.tile--collection {
  background: linear-gradient(145deg, rgba(38, 68, 106, 0.72), rgba(11, 27, 51, 0.72));
}
.coll-logos {
  position: absolute;
  left: 1rem;
  right: 3rem;
  top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
  opacity: 0.9;
}
.coll-logos img {
  height: 1.35rem;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}
@media (min-width: 768px) {
  .coll-logos { left: 1.15rem; top: 1.15rem; }
  .coll-logos img { height: 1.6rem; }
}

/* ---------- Instagram ---------- */
.tile--ig {
  background: linear-gradient(45deg, #f9ce34 0%, #ee2a7b 48%, #6228d7 100%);
  border-color: rgba(255, 255, 255, 0.3);
}
.ig-glyph {
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  transition: transform 0.45s var(--ease);
}
.ig-glyph svg {
  width: 1.4rem;
  height: 1.4rem;
}
.tile--ig:hover .ig-glyph {
  transform: scale(1.08) rotate(-5deg);
}
.tile--ig .tile-text { right: 5.6rem; }
.tile--ig .tile-kicker { color: rgba(255, 255, 255, 0.85); }
.tile--ig .tile-sub { color: rgba(255, 255, 255, 0.85); }
.ig-follow {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  border-radius: 999px;
  background: #fff;
  color: #c1275b;
  padding: 0.45rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.5);
}
@media (min-width: 768px) {
  .ig-glyph { left: 1.15rem; top: 1.15rem; width: 3.1rem; height: 3.1rem; }
  .ig-follow { right: 1.15rem; bottom: 1.1rem; }
}

/* ---------- carrossel de canais ---------- */
.carousel {
  position: absolute;
  inset: 0;
}
.car-track {
  display: flex;
  gap: var(--gap, 12px);
  height: calc(100% - 20px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.car-track::-webkit-scrollbar {
  display: none;
}
.car-item {
  position: relative;
  flex: 0 0 calc((100% - var(--gap, 12px)) / 2);
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .car-item { flex-basis: calc((100% - var(--gap, 14px) * 4) / 5); }
}
.car-btn {
  position: absolute;
  top: calc(50% - 10px);
  z-index: 5;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  transform: translateY(-50%);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, opacity 0.3s, transform 0.3s var(--ease);
}
.car-btn svg {
  width: 0.95rem;
  height: 0.95rem;
}
.car-prev { left: -0.6rem; }
.car-prev svg { transform: rotate(180deg); }
.car-next { right: -0.6rem; }
.car-btn:hover {
  background: #fff;
  color: var(--navy-950);
}
.car-btn:disabled {
  opacity: 0.3;
  pointer-events: none;
}
.carousel.is-static .car-btn,
.carousel.is-static .car-dots {
  display: none;
}
.car-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 14px;
}
.car-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: width 0.3s var(--ease), background 0.3s;
}
.car-dots button.is-active {
  width: 18px;
  background: #fff;
}

/* ---------- entrada / reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- aviso "link copiado" ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 50;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  border-radius: 999px;
  background: #fff;
  color: var(--navy-950);
  padding: 0.7rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.8);
  transition: transform 0.4s var(--ease), opacity 0.4s;
}
.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* ---------- acessibilidade: menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .bg-slide { transition: opacity 0.6s ease; }
  .bg-slide.is-active img,
  .bg-slide:nth-child(even).is-active img { animation: none; transform: scale(1.04); }
  .avatar { animation: none; }
  .grain { animation: none; }
  .chip i,
  .map-pin i { animation: none; }
  .pimg,
  .tile { transition: none; }
}

/* ---------- joaninha (novidade) ---------- */
.bug {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  width: 88px;
  height: calc(88px * 185 / 200);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.7s ease;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
  --flap: 0.055s;
}
@media (min-width: 768px) {
  .bug { width: 104px; height: calc(104px * 185 / 200); }
}
.bug.is-in { opacity: 1; }
.bug.is-gone { visibility: hidden; }
.bug:focus-visible { outline: none; }
.bug:focus-visible .voo { filter: drop-shadow(0 0 0 3px var(--blue)) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.55)); }
.voo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 200 / 185;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.55));
}
.voo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.asa,
.asa-blur { will-change: transform; }
.asa-e,
.asa-blur-e {
  transform-origin: 45.5% 44.6%;
  animation: bater-e var(--flap) ease-in-out infinite alternate;
  animation-play-state: paused;
}
.asa-d,
.asa-blur-d {
  transform-origin: 63.5% 50.3%;
  animation: bater-d var(--flap) ease-in-out infinite alternate;
  animation-play-state: paused;
}
.asa-blur {
  opacity: 0;
  animation-delay: calc(var(--flap) * -1);
  transition: opacity 0.2s;
}
.bug.is-flying .asa,
.bug.is-flying .asa-blur,
.bug:hover .asa,
.bug:hover .asa-blur { animation-play-state: running; }
.bug.is-flying .asa-blur,
.bug:hover .asa-blur { opacity: 0.55; }
@keyframes bater-e { from { transform: rotate(4deg); } to { transform: rotate(-15deg); } }
@keyframes bater-d { from { transform: rotate(-4deg); } to { transform: rotate(15deg); } }
.bug.is-resting .voo { animation: bug-bob 3.4s ease-in-out infinite; }
@keyframes bug-bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -4px; }
}
.bug-bubble {
  position: absolute;
  right: calc(100% - 6px);
  top: 50%;
  z-index: 2;
  white-space: nowrap;
  border-radius: 999px;
  background: #fff;
  color: var(--navy-950);
  padding: 0.55rem 0.85rem;
  font-size: 0.74rem;
  font-weight: 600;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.75);
  opacity: 0;
  transform: translate(10px, -50%) scale(0.9);
  transition: opacity 0.4s, transform 0.45s var(--ease);
  pointer-events: none;
}
.bug-bubble::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #fff;
  transform: translateY(-50%) rotate(45deg);
}
.bug.has-bubble .bug-bubble {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
}

/* ---------- gaveta com vídeo ---------- */
.promo {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
}
.promo.is-visible { display: block; }
.promo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 16, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.5s;
}
.promo.is-open .promo-backdrop { opacity: 1; }
.promo-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.15rem 1.15rem calc(1.15rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(11, 27, 51, 0.97), rgba(7, 17, 31, 0.99));
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: -30px 0 80px -30px rgba(0, 0, 0, 0.9);
  transform: translateX(103%);
  transition: transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s;
  overflow-y: auto;
}
@media (min-width: 768px) {
  .promo-panel { padding: 1.5rem; gap: 1rem; }
}
.promo.is-open .promo-panel { transform: none; }
.promo-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.35s var(--ease);
}
.promo-close:hover {
  background: #fff;
  color: var(--navy-950);
  transform: rotate(90deg);
}
.promo-close svg { width: 1rem; height: 1rem; }
.promo-head { padding-right: 3rem; }
.promo-kicker {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
}
.promo-title {
  margin-top: 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
@media (min-width: 768px) {
  .promo-title { font-size: 1.45rem; }
}
.promo-text {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}
@media (max-height: 700px) {
  .promo-text { display: none; }
}
.promo-video {
  position: relative;
  flex: 1 1 auto;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  background: #000;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 1);
}
.promo-sound {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  background: rgba(7, 17, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
.promo-sound:hover { background: rgba(18, 48, 77, 0.9); }
.promo-sound svg { width: 0.9rem; height: 0.9rem; }
.promo-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.promo-cta,
.promo-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
}
.promo-cta {
  padding: 0.95rem 1.2rem;
  background: #fff;
  color: var(--navy-950);
  font-size: 0.9rem;
}
.promo-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(255, 255, 255, 0.5);
}
.promo-cta svg { width: 1rem; height: 1rem; }
.promo-alt {
  padding: 0.75rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}
.promo-alt:hover { background: rgba(255, 255, 255, 0.12); }
.promo-alt svg { width: 1rem; height: 1rem; }
body.promo-lock { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .bug.is-resting .voo { animation: none; }
  .promo-panel { transition: none; }
  .promo-backdrop { transition: none; }
}
