:root {
  /* Paleta da marca */
  --hm-teal: #72cbd1;
  --hm-teal-deep: #4ab0b7;
  --hm-teal-ink: #1a3a3d;
  --hm-orange: #f87c2c;
  --hm-orange-deep: #ff8c00;
  --hm-ink: #2d3436;
  --hm-text: #626262;
  --hm-muted: #888;
  --hm-surface: #fff;
  --hm-wash: #f2fafa;
  --hm-line: #e3eaea;

  /* Escala de espaçamento */
  --hm-space-1: 6px;
  --hm-space-2: 10px;
  --hm-space-3: 16px;
  --hm-space-4: 24px;
  --hm-space-5: 32px;
  --hm-space-6: 44px;

  /* Raio + sombra */
  --hm-radius: 16px;
  --hm-radius-lg: 22px;
  --hm-shadow-sm: 0 2px 10px rgba(26, 58, 61, 0.08);
  --hm-shadow: 0 8px 24px rgba(26, 58, 61, 0.12);
}

body {
  overflow-x: clip !important;
}

.home-content#home {
  background-color: #fff;
  padding-top: 0;
  border-radius: 25px;
  font-family: var(--fb-font-body);
}

/* Espaçamento consistente entre seções */
.home-content#home > div {
  margin-bottom: var(--fb-space-5);
}

/* ===== Home: fonte do site (Montserrat), sem serif ===== */
.home-content#home,
.home-content#home h1, .home-content#home h2, .home-content#home h3,
.home-content#home .feed-preview-title,
.home-content#home .section-title h2,
.home-content#home .section-title--discover h2,
.home-content#home .fb-card__species,
.home-content#home .fb-card__size {
  font-family: 'montserrat', 'Segoe UI', system-ui, sans-serif !important;
}

/* "EM ALTA" centralizado */
.home-content#home .feed-preview-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--fb-space-1);
  text-align: center;
}
.home-content#home .feed-preview-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* primeira seção sem o hero: respiro no topo */
.home-content#home .panel-feed-preview {
  padding-top: var(--fb-space-3);
}

/* ========================================
   Topbar / Hero enxuto — busca em destaque
   ======================================== */
.home-hero {
  background:
    radial-gradient(120% 90% at 50% -10%, var(--fb-wash-2) 0%, var(--fb-wash) 55%, #fff 100%);
  padding: var(--fb-space-4) var(--fb-space-3) var(--fb-space-3);
  text-align: center;
  margin-bottom: 0 !important;
}
.home-hero__brand {
  font-family: var(--fb-font-display);
  font-weight: var(--fb-fw-semi);
  font-size: var(--fb-fs-h1);
  line-height: var(--fb-lh-tight);
  letter-spacing: -0.01em;
  color: var(--fb-ink);
  margin: 0;
}
.home-hero__brand span {
  color: var(--fb-teal-deep);
}
.home-hero__tagline {
  font-family: var(--fb-font-body);
  font-size: var(--fb-fs-sm);
  color: var(--fb-muted);
  margin: var(--fb-space-0) 0 var(--fb-space-3);
}
.home-search {
  display: flex;
  align-items: center;
  gap: var(--fb-space-2);
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  height: 48px;
  padding: 0 var(--fb-space-1) 0 var(--fb-space-3);
  background: var(--fb-surface);
  border: 1.5px solid var(--fb-line);
  border-radius: var(--fb-radius-sm);
  box-shadow: var(--fb-shadow-sm);
  text-decoration: none;
  transition: border-color var(--fb-dur-2) var(--fb-ease), box-shadow var(--fb-dur-2) var(--fb-ease);
}
.home-search:hover,
.home-search:focus-visible {
  border-color: var(--fb-teal-deep);
  box-shadow: 0 0 0 3px rgba(74, 176, 183, 0.18);
  text-decoration: none;
  outline: none;
}
.home-search__icon {
  color: var(--fb-faint);
  font-size: 15px;
  flex: 0 0 auto;
}
.home-search__placeholder {
  flex: 1 1 auto;
  text-align: left;
  color: var(--fb-muted);
  font-family: var(--fb-font-body);
  font-size: var(--fb-fs-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-search__go {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--fb-radius-xs);
  background: linear-gradient(150deg, var(--fb-orange), var(--fb-orange-deep));
  color: #fff;
  font-size: 13px;
  box-shadow: var(--fb-shadow-orange);
}

/* Section Titles (genérico — preservado p/ outras views) */
.section-title {
    text-align: center;
    margin-bottom: var(--hm-space-4);
    padding: 0 var(--hm-space-3);
    position: relative;
}
.section-title h2 {
    margin: 0;
    font-size: 1.32em;
    letter-spacing: 0.4px;
    color: var(--hm-ink);
}
/* Trilha de acento sob o título da seção */
.section-title h2::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    margin: var(--hm-space-2) auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--hm-teal), var(--hm-teal-deep));
}
.section-title-icon {
    font-size: 26px;
    color: var(--hm-teal-deep);
    margin-bottom: var(--hm-space-1);
    display: block;
}
.section-subtitle {
    color: var(--hm-muted);
    font-size: 13px;
    margin: var(--hm-space-2) 0 0;
}

/* Variante DESCOBERTA — secundária, escaneável, alinhada à esquerda */
.section-title.section-title--discover {
    text-align: left;
    margin-bottom: var(--fb-space-3);
    padding: 0;
}
.section-title.section-title--discover h2 {
    font-family: var(--fb-font-display);
    font-weight: var(--fb-fw-semi);
    font-size: var(--fb-fs-h2);
    line-height: var(--fb-lh-snug);
    letter-spacing: -0.01em;
    color: var(--fb-ink);
    text-transform: none;
}
.section-title.section-title--discover h2::after {
    display: none;
}
.section-title.section-title--discover .section-subtitle {
    color: var(--fb-muted);
    font-size: var(--fb-fs-sm);
    margin: var(--fb-space-0) 0 0;
}

.home-content#home .panel-banners {
  background-color: #fff;
  display: grid;
  padding: 15px;
}

.card-contrast h3.font-black.light {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.home-content#home .inn {
  background-image: url(../../../img/banners/new/inn-banner.jpg);
}

.home-content#home .torneios {
  background-image: url(../../../img/banners/new/torneios-banner.jpg);
}

.home-content#home .hotel-boat {
  background-image: url(../../../img/banners/new/hotel-banner.jpg);
}

.home-content#home .banner {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: var(--hm-radius);
  height: 130px;
  margin: var(--hm-space-2) 0;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: var(--hm-shadow-sm);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-content#home .banner:hover {
  transform: translateY(-3px);
  box-shadow: var(--hm-shadow);
}

.home-content#home .banner h2 {
  margin: 0;
}

.home-content#home .box-link {
  align-items: center;
  background-color: #fff;
  border-radius: 10px;
  color: #21cecd;
  display: flex;
  font-size: 11px;
  justify-content: space-around;
  padding: 3px;
  width: 220px;
}

.home-content#home .box-link i {
  color: #fff;
  background-color: #21cecd;
  padding: 5px 6px;
  border-radius: 6px;
  font-size: 17px;
}

.home-content#home .box-link h4.font-thin {
  display: none;
}

.home-content#home .box-link h4.font-black {
  display: block;
}

/* nossos destaques */
.home-content#home .panel-highlights {
  align-items: center;
  display: flex;
  flex-direction: column;
  /* margin: 20px 0; */
}

.home-content#home .panel-highlights .cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.home-content#home .highlight-card {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: var(--hm-radius);
  margin: var(--hm-space-2) 5px;
  text-decoration: none;
  box-shadow: var(--hm-shadow-sm);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.home-content#home .highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--hm-shadow);
}

.home-content#home .panel-banners .card-contrast,
.home-content#home .panel-fish .card-contrast {
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.45) 100%);
  border-radius: 16px;
  height: 130px;
  padding: 10px;
  text-align: start;
  width: 100%;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  align-content: center;
}
.image-publish {
  width: 100%;
  height: 25vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.home-content#home .owl-carousel .card-contrast {
  align-items: flex-start;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  padding: 10px;
  text-align: start;
  width: 100%;
  background-position: center;
}

.owl-carousel .fake-col-wrapper {
  display: flex;
  flex-direction: column;
}

.home-content#home .infos-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.home-content#home .infos-address {
  font-size: 11px;
}

.home-content#home .box-address {
  font-size: 11px;
}

.load-properties {
  position: inherit !important;
  background: transparent !important;
  margin: 36px 0;
}

.double-row .font-black {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  font-size: 12px;
  text-align: left;
  -webkit-box-orient: vertical;
  margin: 0;
}

.home-content#home .minibox-link {
  align-items: center;
  background-color: #fff;
  border-radius: 7px;
  box-shadow: 0px 0px 10px #383838;
  color: #21cecd;
  display: flex;
  font-size: 8px;
  justify-content: space-around;
  margin-bottom: 5px;
  min-width: 60px;
  padding: 2px;
  text-align: center;
  width: 50%;
}

.home-content#home .minibox-link i {
  color: #fff;
  background-color: #21cecd;
  padding: 3px 4px;
  border-radius: 6px;
  font-size: 15px;
}

.home-content#home .visited {
  width: 65px;
  border-radius: 5px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  justify-content: end;
  justify-items: start;
  align-items: center;
  height: fit-content;
  margin-bottom: -3vh;
}

.home-content#home .visited img {
  width: 18px;
  border-radius: 50%;
}

.home-content#home .visited :nth-child(1) {
  z-index: 3;
}

.home-content#home .visited :nth-child(2) {
  z-index: 2;
  margin-left: -8px;
}

.home-content#home .visited :nth-child(3) {
  z-index: 1;
  margin-left: -8px;
}

.home-content#home .visited h5 {
  background-color: #fc7923;
  border-radius: 5px;
  padding: 1px 4px;
  margin-left: -10px;
  padding-left: 10px;
  z-index: 0;
}

.home-content#home .panel-hotel-boat {
  background-color: #fff;
}

.home-content#home .w-85 {
  width: 85% !important;
}

.panel-hotel-boat .panel-banners {
  padding: 0 !important;
}

.home-content#home .images-store {
  margin: 0;
  padding: 0;
  width: 100%;
  text-decoration: none;
  color: #fff;
}

.stores-banner {
  background-color: #fff;
  background-image: url(../../../img/banners/banner_stores.png);
  padding: 50px 0;
  background-position: center;
  background-size: cover;
}

.panel-highlights h2 {
  text-align: center;
  letter-spacing: 0.5px;
  margin-bottom: 0;
  font-size: 1.3em;
}

.home-content#home > div {
  margin-bottom: var(--hm-space-5);
}

.home-content#home .panel-fish {
  background-color: #fff;
  padding: 15px 25px;
  display: flex;
  grid-template-columns: 1fr;
  align-content: center;
  flex-direction: column;
  justify-content: center;
}

.home-content#home .panel-fish .card-contrast {
  margin-bottom: 15px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.card-contrast h1,
.card-contrast h2 {
  font-size: 25px;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.panel-icons {
  display: none;
}

.double-row {
  width: 100%;
  position: relative;
}

.banner-app {
  position: relative;
  padding: 25px 0;
  display: none;
  background-color: #77cdcc;
  display: block;
  background-image: url(../../../img/banners/banner-phone.png);
  background-position: 31% bottom;
  background-repeat: no-repeat;
  background-size: 70%;
  height: 350px;
  width: 100%;
}

.banner-app .images {
  margin: 0 auto;
  left: 0;
  right: 0;
  position: absolute;
  bottom: 0;
  display: flex;
  justify-content: center;
  width: 50%;
  flex-direction: row;
}

.banner-app .images img {
  height: 45px;
}

.publish-carousel .owl-dot,
.publish-carousel .owl-nav .owl-next,
.publish-carousel .owl-nav .owl-prev {
  cursor: pointer;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.publish-carousel .owl-nav {
  display: block !important;
}
.publish-carousel button.owl-dot {
  background: 0 0;
  color: inherit;
  border: none;
  padding: 0 !important;
  font: inherit;
  font-size: 45px;
}
.owl-theme .owl-nav .owl-prev {
  position: absolute;
  left: 0 !important;
  margin-top: unset;
  top: 40%;
  font-size: 45px;
  display: flex;
  height: 44px;
  width: 44px;
  align-content: center;
  justify-content: center;
}

.owl-theme .owl-nav .owl-next {
  position: absolute;
  right: 0 !important;
  margin-top: unset;
  font-size: 45px;
  top: 40%;
  padding: 15px 20px;
  display: flex;
  height: 44px;
  width: 44px;
  align-content: center;
  justify-content: center;
}
.owl-theme .owl-nav span {
  font-size: 33px;
  color: #fff;
}

.publish-carousel .owl-nav button.owl-next:hover,
.publish-carousel .owl-nav button.owl-prev:hover {
  background-color: #fff;
  color: #383838;
  border-radius: 50%;
  padding: 15px 20px;
}

.publish-carousel .owl-nav button.owl-next:hover span,
.publish-carousel .owl-nav button.owl-prev:hover span {
  color: #383838;
}

.owl-stage-outer {
  border-radius: 25px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  -ms-border-radius: 25px;
  -o-border-radius: 25px;
}

@media only screen and (min-width: 768px) {
  .home-content#home .panel-banners .card-contrast,
  .home-content#home .panel-fish .card-contrast {
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.45) 100%);
    border-radius: 16px;
    height: 100%;
    padding: 10px;
    text-align: start;
    width: 100%;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    align-content: center;
  }

  .image-publish {
    width: 100%;
    height: 55vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .banner-app .images img {
    height: 25px;
  }
  .banner-app .images {
    margin: 0 auto;
    left: 0;
    right: 0;
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: center;
    width: 50%;
  }

  .banner-app > img {
    display: none;
  }

  .banner-app {
    display: block;
  }

  .home-content#home .panel-fish {
    background-color: #fff;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    padding: 15px 25px;
  }

  .banner-app .images img {
    height: 55px;
  }

  .panel-hotel-boat .panel-banners {
    padding: 15px;
  }

  .banner-app .images {
    margin: 0 auto;
    left: 0;
    right: 0;
    position: absolute;
    bottom: 0;
  }

  .home-content#home .desktop {
    display: block;
  }

  .home-content#home .panel-banners {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    padding: 15px 0;
  }

  .home-content#home .banner {
    margin: 15px 25px;
    min-height: 170px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .home-content#home .banner:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .home-content#home .box-link {
    background-color: transparent;
    color: #fff;
    font-size: 15px;
    justify-content: flex-start;
  }

  .home-content#home .box-link i {
    display: none;
  }

  .home-content#home .box-link h4.font-thin {
    display: block;
  }

  .home-content#home .box-link h4.font-black {
    display: none;
  }

  .home-content#home .panel-highlights {
    padding: 15px 25px;
  }

  .home-content#home .panel-highlights .cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .home-content#home .highlight-card {
    margin: 10px;
    width: 100%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .home-content#home .highlight-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .home-content#home .infos-card {
    display: none;
  }

  .home-content#home .infos-address {
    display: flex;
    max-width: 70%;
  }

  .home-content#home .minibox-link {
    width: 45%;
  }

  .home-content#home .panel-hotel-boat {
    display: block;
    text-align: center;
    padding: 15px 0;
  }

  .home-content#home .banner-shop {
    background-image: url(../../../img/banners/banner-shop.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 330px;
    width: 100%;
  }

  .home-content#home .panel-icons {
    background-color: #fff;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    padding: 15px 25px;
  }

  .home-content#home .panel-icons .attendance,
  .home-content#home .panel-icons .access,
  .home-content#home .panel-icons .system {
    display: flex;
    align-items: center;
  }

  .home-content#home .panel-icons img {
    width: 100px;
  }

  .home-content#home .banner-app {
    display: block;
    background-image: url(../../../img/banners/banner-app.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 330px;
    width: 100%;
  }

  .owl-carousel.owl-theme.owl-loaded.owl-drag {
    width: 100% !important;
  }

  .stores-banner {
    font-size: 24px;
  }
}

@media only screen and (min-width: 1024px) {
  .stores-banner {
    background-color: #fff;
    background-image: url(../../../img/banners/banner_stores.png);
    padding: 100px 0;
    background-position: center;
    background-size: cover;
  }
}

@media (max-width: 500px) {
  .banner-app {
    display: none;
  }
}

.text-notfound {
  font-size: 16px;
  text-align: CENTER;
  grid-column: 1/12;
  padding: 52px 0;
  font-family: "montserrat black";
  color: #444444;
}

/* ========================================
   Feed "Em Alta" — RAIL horizontal (.fb-rail)
   Porte do reference/feed-card.css (modo rail)
   ======================================== */

@keyframes feedFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-feed-preview {
  padding: var(--fb-space-4) 0 var(--fb-space-4);
  background: #fff;
  position: relative;
}

.feed-preview-header {
  margin-bottom: var(--fb-space-2);
  padding: 0 var(--fb-space-3);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--fb-space-2);
}

.feed-preview-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--fb-space-1);
  min-width: 0;
}

.feed-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(150deg, var(--fb-orange), var(--fb-orange-deep));
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--fb-radius-pill);
  font-family: var(--fb-font-body);
  font-size: var(--fb-fs-xs);
  font-weight: var(--fb-fw-semi);
  letter-spacing: 0.06em;
  line-height: 1;
  box-shadow: var(--fb-shadow-orange);
}

.feed-preview-badge i {
  font-size: 10px;
}

.feed-preview-title {
  margin: 0;
  font-family: var(--fb-font-display);
  font-weight: var(--fb-fw-semi);
  font-size: var(--fb-fs-h1);
  line-height: var(--fb-lh-tight);
  letter-spacing: -0.01em;
  color: var(--fb-ink);
}

.feed-preview-seeall {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--fb-font-body);
  font-size: var(--fb-fs-sm);
  font-weight: var(--fb-fw-semi);
  color: var(--fb-teal-deep);
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 0;
}
.feed-preview-seeall i {
  font-size: 11px;
  transition: transform var(--fb-dur-2) var(--fb-ease);
}
.feed-preview-seeall:hover {
  color: var(--fb-teal-deep);
  text-decoration: none;
}
.feed-preview-seeall:hover i {
  transform: translateX(3px);
}

/* ---- RAIL (.fb-rail) — trilho horizontal, sangra até a borda ---- */
.fb-rail {
  display: flex;
  gap: var(--fb-space-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--fb-space-1) var(--fb-space-3) var(--fb-space-3);
}
.fb-rail::-webkit-scrollbar { display: none; }

/* ---- Card rail (.fb-card--rail) ---- */
.fb-card--rail {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 156px;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--fb-radius);
  background: var(--fb-surface);
  box-shadow: var(--fb-shadow-sm);
  overflow: hidden;
  transition: transform var(--fb-dur-2) var(--fb-ease), box-shadow var(--fb-dur-2) var(--fb-ease);
  animation: feedFadeIn var(--fb-dur-4) var(--fb-ease-out) both;
  animation-delay: var(--card-delay, 0s);
}
.fb-card--rail:active { transform: scale(0.97); }
.fb-card--rail:hover,
.fb-card--rail:focus-visible {
  text-decoration: none;
  color: inherit;
}
@media (hover: hover) {
  .fb-card--rail:hover {
    transform: translateY(-3px);
    box-shadow: var(--fb-shadow);
  }
}

.fb-card__thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--fb-wash-2);
  overflow: hidden;
}
.fb-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Vídeo: primeiro frame via #t=0.001 (thumbnail) */
.fb-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, var(--fb-stage), var(--fb-teal-deep));
}

/* Play badge sobre o frame do vídeo */
.fb-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(10, 22, 23, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--fb-on-stage);
  font-size: 14px;
  pointer-events: none;
  padding-left: 2px;
  z-index: 2;
}

/* Etiqueta tipo (VÍDEO / FOTO) no canto inferior-esquerdo da thumb */
.fb-card__tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: var(--fb-radius-xs);
  background: rgba(10, 22, 23, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--fb-on-stage);
  font-family: var(--fb-font-body);
  font-size: var(--fb-fs-xs);
  font-weight: var(--fb-fw-semi);
  letter-spacing: 0.04em;
  z-index: 2;
}
.fb-card__tag i { font-size: 9px; }

/* Avatar do autor — canto superior-direito, anel d'água */
.fb-card__avatar {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.9), var(--fb-shadow-sm);
}
.fb-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Meta do card — espécie (serif) + tamanho (troféu) + autor */
.fb-card__rail-meta {
  padding: var(--fb-space-2) var(--fb-space-2) var(--fb-space-3);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  column-gap: var(--fb-space-2);
}
.fb-card__species {
  grid-column: 1;
  font-family: var(--fb-font-display);
  font-weight: var(--fb-fw-semi);
  font-size: var(--fb-fs-lg);
  line-height: var(--fb-lh-snug);
  letter-spacing: -0.01em;
  color: var(--fb-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fb-card__size {
  grid-column: 2;
  align-self: center;
  font-family: var(--fb-font-num);
  font-weight: var(--fb-fw-black);
  font-size: var(--fb-fs-h2);
  line-height: 1;
  color: var(--fb-orange-deep);
  font-variant-numeric: tabular-nums;
}
.fb-card__size small {
  font-size: 0.5em;
  font-weight: var(--fb-fw-semi);
  margin-left: 1px;
  color: var(--fb-muted);
}
.fb-card__by {
  grid-column: 1 / -1;
  margin-top: var(--fb-space-0);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  font-family: var(--fb-font-body);
  font-size: var(--fb-fs-sm);
  color: var(--fb-muted);
}
.fb-card__by > span:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fb-card__by-time {
  flex: 0 0 auto;
  color: var(--fb-faint);
}

/* ---- Scroll wrapper + setas (mobile) ---- */
.feed-scroll-wrapper {
  position: relative;
}
.feed-scroll-wrapper::before,
.feed-scroll-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: var(--fb-space-3);
  width: 28px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--fb-dur-2) var(--fb-ease);
}
.feed-scroll-wrapper::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.96), transparent);
}
.feed-scroll-wrapper::after {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,0.96), transparent);
}
.feed-scroll-wrapper.can-scroll-left::before { opacity: 1; }
.feed-scroll-wrapper.can-scroll-right::after { opacity: 1; }

.feed-scroll-arrow {
  position: absolute;
  top: calc(50% - var(--fb-space-3));
  transform: translateY(-50%);
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--fb-surface);
  border: 1px solid var(--fb-line);
  box-shadow: var(--fb-shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--fb-text);
  font-size: 13px;
  opacity: 0;
  transition: opacity var(--fb-dur-2) var(--fb-ease), background var(--fb-dur-2) var(--fb-ease);
}
.feed-scroll-arrow:hover {
  background: var(--fb-wash);
  box-shadow: var(--fb-shadow);
}
.feed-scroll-arrow--left { left: 6px; }
.feed-scroll-arrow--right { right: 6px; }
.feed-scroll-wrapper.can-scroll-left .feed-scroll-arrow--left,
.feed-scroll-wrapper.can-scroll-right .feed-scroll-arrow--right {
  opacity: 1;
}

/* ========================================
   Descoberta (secundária) — respiro
   ======================================== */
.discover-block {
  margin-bottom: var(--fb-space-5);
}

.discover-cta {
  width: 100%;
  margin-top: var(--fb-space-3);
}
.btn-discover {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fb-font-body);
  font-size: var(--fb-fs-sm);
  font-weight: var(--fb-fw-semi);
  color: var(--fb-teal-deep);
  text-decoration: none;
  padding: var(--fb-space-1) 0;
}
.btn-discover i {
  font-size: 11px;
  transition: transform var(--fb-dur-2) var(--fb-ease);
}
.btn-discover:hover {
  color: var(--fb-teal-deep);
  text-decoration: none;
}
.btn-discover:hover i {
  transform: translateX(3px);
}

/* Acessibilidade: respeita preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  .fb-card--rail {
    animation: none;
  }
  .feed-preview-seeall i,
  .btn-discover i {
    transition: none;
  }
}

/* ---- Responsivo ---- */
@media (min-width: 768px) {
  .fb-card--rail {
    width: 180px;
  }
  .panel-feed-preview {
    padding: var(--fb-space-5) 0 var(--fb-space-4);
  }
}

/* Desktop ≥1024px: rail vira grid (sem scroll horizontal) */
@media (min-width: 1024px) {
  .fb-rail {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    overflow-x: visible;
    scroll-snap-type: none;
    padding: var(--fb-space-1) var(--fb-space-4) var(--fb-space-3);
  }
  .fb-card--rail {
    width: 100%;
  }
  .feed-scroll-wrapper::before,
  .feed-scroll-wrapper::after,
  .feed-scroll-arrow {
    display: none;
  }
  .feed-preview-header {
    padding: 0 var(--fb-space-4);
  }
}

@media (max-width: 400px) {
  .fb-card--rail {
    width: 142px;
  }
  .fb-rail {
    gap: var(--fb-space-2);
    padding: var(--fb-space-1) var(--fb-space-2) var(--fb-space-3);
  }
  .feed-preview-header {
    padding: 0 var(--fb-space-2);
  }
}
