/* ==============================================================
   TUTUTU — HEADER PADRONIZADO E UNIFICADO PARA TODAS AS PÁGINAS
   - Proporções: Logo 20% | Form de Busca 60% (55% se logado) | Boneco Usuário 5% (se logado) | CTA Anuncie 20%
   - z-index máximo (999999) para total sobreposição e livre de colisões com Three.js / Hero
   - Border-radius: 10px para barra de pesquisa e botão de busca; 5px para todos os demais botões
   ============================================================== */

:root {
  --tututu-orange: #de5823;
  --tututu-red: #e82c00;
  --tututu-ink: #2c2b30;
  --tututu-ink-soft: #76757d;
  --tututu-border: #e9e5e1;
  --tututu-work: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --tututu-serif: 'Literata', Georgia, serif;
}

.tututu-top-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--tututu-border);
  z-index: 999999;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  font-family: var(--tututu-work);
}

.tututu-header-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
}

/* 1. Coluna do Logo */
.header-col-logo {
  flex: 0 0 190px;
  width: 190px;
  max-width: 190px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.header-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.header-logo-img {
  height: 52px;
  max-height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.06));
  transition: transform 0.2s ease;
}

.header-logo-link:hover .header-logo-img {
  transform: scale(1.03);
}

/* 2. Coluna da Barra de Pesquisa — border-radius: 10px */
.header-search-bar {
  flex: 1 1 540px;
  max-width: 660px;
  height: 52px;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #dcd7d2;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  position: relative;
  transition: box-shadow 0.25s, border-color 0.25s;
  box-sizing: border-box;
  padding: 0 6px 0 14px;
}

.tututu-top-header.is-logged-in .header-search-bar {
  flex: 1 1 540px;
  max-width: 660px;
}

.header-search-bar:hover {
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1);
  border-color: #c9c3be;
}

.header-search-segment {
  flex: 1;
  padding: 0 12px;
  border-right: 1px solid #eee8e4;
  cursor: pointer;
  position: relative;
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.header-search-segment:last-of-type {
  border-right: none;
}

.hsegment-label {
  display: block;
  font-family: var(--tututu-work);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--tututu-ink-soft);
  margin-bottom: 2px;
}

.hsegment-value {
  display: block;
  font-family: var(--tututu-work);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--tututu-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Botão de Pesquisa no Header — border-radius: 10px */
.btn-header-search {
  flex: 0 0 44px;
  width: 44px;
  height: 40px;
  border-radius: 10px;
  background: var(--tututu-orange);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform 0.2s, background 0.2s;
  margin-left: 6px;
}

.btn-header-search:hover {
  background: var(--tututu-red);
  transform: scale(1.05);
}

/* Popups Flutuantes da Pesquisa */
.header-search-popup {
  position: absolute;
  top: 58px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  border: 1px solid #e9e5e1;
  padding: 18px;
  display: none;
  z-index: 1000000;
  font-family: var(--tututu-work);
}

.header-search-popup.active {
  display: block;
}

.hpopup-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--tututu-ink);
  margin-bottom: 12px;
}

.hpopup-location {
  left: 0;
  width: 300px;
  max-height: 380px;
  overflow-y: auto;
}

.hloc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 13.5px;
  font-weight: 500;
}

.hloc-item:hover {
  background: #fdf5f2;
  color: var(--tututu-orange);
}

.hpopup-dates {
  left: 80px;
  width: 330px;
  max-width: calc(100vw - 28px);
  padding: 16px;
}

.hcal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.hcal-nav-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hcal-month-title {
  font-family: var(--tututu-serif, 'Literata', Georgia, serif);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--tututu-ink, #201f22);
}

.hcal-nav-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #dcd5d0;
  background: #fff;
  cursor: pointer;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tututu-ink, #201f22);
  transition: all .15s ease;
}

.hcal-nav-btn:hover {
  background: var(--tututu-orange, #de5823);
  color: #fff;
  border-color: var(--tututu-orange, #de5823);
}

.hcal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--tututu-ink-soft, #74727a);
  margin-bottom: 6px;
}

.hcal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin-bottom: 10px;
}

.hcal-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all .15s ease;
  user-select: none;
  color: #201f22;
}

.hcal-cell.empty {
  cursor: default;
  background: transparent;
}

.hcal-cell.avail:hover {
  background: #fed7aa;
  color: #9a3412;
}

.hcal-cell.sel-in,
.hcal-cell.sel-out {
  background: var(--tututu-orange, #de5823) !important;
  color: #fff !important;
  font-weight: 700;
}

.hcal-cell.in-range {
  background: #ffedd5 !important;
  color: #9a3412 !important;
  border-radius: 0;
}

.hcal-cell.past {
  color: #cbd5e1;
  cursor: not-allowed;
  pointer-events: none;
}

.hcal-selection-info {
  font-size: 11px;
  font-weight: 600;
  color: var(--tututu-orange, #de5823);
  margin-bottom: 10px;
  text-align: center;
  min-height: 15px;
}

.hcal-footer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-hcal-clear {
  flex: 0 0 75px;
  height: 35px;
  border: 1px solid #dcd5d0;
  border-radius: 5px;
  background: #f8f8f8;
  color: var(--tututu-ink-soft, #74727a);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.btn-hcal-clear:hover {
  background: #eee;
  color: #201f22;
}

.hdates-grid {
  display: none;
}

.hdate-field label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--tututu-ink-soft);
  margin-bottom: 4px;
}

.hdate-field input {
  width: 100%;
  height: 36px;
  border: 1px solid #e2ddd8;
  border-radius: 5px;
  padding: 0 8px;
  font-family: var(--tututu-work);
  font-size: 13px;
  box-sizing: border-box;
}

.btn-header-apply {
  display: block;
  width: 100%;
  padding: 9px 0;
  background: var(--tututu-orange);
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-family: var(--tututu-work);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-header-apply:hover {
  background: #b8380e !important;
}

.hpopup-guests {
  right: 0;
  width: 280px;
}

.hguest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f2ede9;
}

.hguest-row:last-of-type {
  border-bottom: none;
}

.hguest-row strong {
  display: block;
  font-size: 13.5px;
}

.hguest-row span {
  font-size: 11.5px;
  color: var(--tututu-ink-soft);
}

.hstepper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hstep-btn {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  border: 1px solid #d6cfc9;
  background: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--tututu-ink);
  font-size: 14px;
}

.hstep-btn:hover {
  border-color: var(--tututu-orange);
  color: var(--tututu-orange);
}

.hstepper span {
  font-weight: 700;
  width: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--tututu-ink);
}

/* 3. Coluna do Botão de Anúncio — Ocultado a pedido do usuário */
.header-col-cta {
  display: none !important;
}

/* Grupo de Ações à Direita (Menu + Usuário lado a lado, sem bordas, espaçamento reduzido) */
.header-actions-right {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
}

/* 4. Coluna do Menu de Navegação (Ícone de Barras Horizontais) */
.header-col-nav {
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}

.header-nav-btn {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  border-radius: 50% !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--tututu-ink) !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

.header-nav-btn:hover,
.header-nav-btn.active {
  color: var(--tututu-orange) !important;
  background: rgba(222, 88, 35, 0.08) !important;
  border: none !important;
  box-shadow: none !important;
}

.header-nav-btn svg {
  display: block !important;
}

.header-nav-dropdown {
  position: absolute !important;
  top: 50px !important;
  right: 0 !important;
  min-width: 210px !important;
  width: max-content !important;
  max-width: 260px !important;
  background: #ffffff !important;
  border: 1px solid #e9e5e1 !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05) !important;
  display: none !important;
  flex-direction: column !important;
  z-index: 1000005 !important;
  padding: 6px 0 !important;
  perspective: 900px !important;
  perspective-origin: 50% 0% !important;
  transform-style: preserve-3d !important;
  transform-origin: top right !important;
}

.header-nav-dropdown.open {
  display: flex !important;
  animation: paperDropdownOpen 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.header-nav-dropdown.closing {
  display: flex !important;
  animation: paperDropdownClose 0.16s ease-in forwards !important;
  pointer-events: none !important;
}

.header-nav-dropdown a {
  display: block !important;
  padding: 12px 20px !important;
  font-family: var(--tututu-work);
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--tututu-ink) !important;
  text-decoration: none !important;
  text-align: left !important;
  white-space: nowrap !important;
  transition: background 0.15s, color 0.15s !important;
}

.header-nav-dropdown a:first-child {
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

.header-nav-dropdown a:last-child {
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
}

.header-nav-dropdown a:hover {
  background: #fdf5f2 !important;
  color: var(--tututu-orange) !important;
}

/* 5. Coluna do Ícone de Boneco (SEMPRE VISÍVEL — Logado ou Não) — Sem bordas */
.header-col-user {
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: visible !important;
}

.tututu-top-header.is-logged-in .header-col-user {
  display: flex !important;
}

.user-pill-btn {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  border-radius: 50% !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--tututu-ink) !important;
  position: relative !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  overflow: visible !important;
}

.user-pill-btn:hover {
  border: none !important;
  background: rgba(222, 88, 35, 0.08) !important;
  box-shadow: none !important;
}

.header-pill-avatar,
.user-pill-btn img {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  flex-shrink: 0 !important;
}

.header-user-dropdown {
  position: absolute !important;
  top: 50px !important;
  right: 0 !important;
  min-width: 235px !important;
  width: max-content !important;
  max-width: 280px !important;
  background: #ffffff !important;
  border: 1px solid #e9e5e1 !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05) !important;
  display: none !important;
  flex-direction: column !important;
  z-index: 1000005 !important;
  padding: 6px 0 !important;
  perspective: 900px !important;
  perspective-origin: 50% 0% !important;
  transform-style: preserve-3d !important;
  transform-origin: top right !important;
}

.header-user-dropdown.open {
  display: flex !important;
  animation: paperDropdownOpen 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.header-user-dropdown.closing {
  display: flex !important;
  animation: paperDropdownClose 0.16s ease-in forwards !important;
  pointer-events: none !important;
}

.dropdown-user-greeting {
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tututu-ink-soft);
  background: #faf8f7;
  border-bottom: 1px solid #f0eae5;
}

.dropdown-user-greeting strong {
  color: var(--tututu-orange);
  font-weight: 700;
}

.header-user-dropdown a,
.header-user-dropdown button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--tututu-ink);
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
  font-family: var(--tututu-work);
  text-decoration: none;
  border-radius: 0;
  box-sizing: border-box;
}

.header-user-dropdown a:hover,
.header-user-dropdown button:hover {
  background: #fbf7f5;
  color: var(--tututu-orange);
}

.hdropdown-divider {
  border-top: 1px solid #f0eae5;
  margin: 3px 0;
}

/* 4. Botão de Anúncio — border-radius: 5px */
.btn-header-anuncie {
  width: 100%;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 5px;
  border: 1.5px solid var(--tututu-orange);
  background: var(--tututu-orange);
  color: #ffffff;
  font-family: var(--tututu-work);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(222, 88, 35, 0.22);
  box-sizing: border-box;
}

.btn-header-anuncie:hover {
  background: var(--tututu-red);
  border-color: var(--tututu-red);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(232, 44, 0, 0.3);
}

/* Responsividade Básica do Header */
@media (max-width: 960px) {
  .tututu-top-header {
    height: auto;
  }
  .tututu-header-inner {
    flex-wrap: wrap;
    padding: 10px 14px;
    gap: 8px 12px;
    height: auto;
  }
  .header-col-logo {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    order: 1;
  }
  .header-logo-img {
    height: 42px;
    max-height: 44px;
  }
  .header-col-cta {
    order: 2;
    flex: 0 0 auto;
    width: auto;
  }
  .btn-header-anuncie {
    height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }
  .header-actions-right {
    order: 2 !important;
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
  }
  .header-col-nav {
    order: 2;
    flex: 0 0 40px;
    width: 40px;
    display: flex !important;
  }
  .header-nav-btn {
    width: 40px;
    height: 40px;
  }
  .header-col-user {
    order: 2;
    flex: 0 0 40px;
    width: 40px;
    display: flex !important;
  }
  .user-pill-btn {
    width: 40px;
    height: 40px;
  }
  .header-pill-avatar,
  .user-pill-btn img {
    width: 36px !important;
    height: 36px !important;
  }
  .header-search-bar,
  .tututu-top-header.is-logged-in .header-search-bar {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    margin-top: 4px;
  }
}

/* ==============================================================
   FAIXA PANORÂMICA DO RIO DE JANEIRO (200px) PARA PÁGINAS INTERNAS
   ============================================================== */
.page-rio-banner {
  display: block !important;
  width: 100% !important;
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  background: #1f1e24 url('/assets/hero-banner-rio.jpg') center center / cover no-repeat !important;
  position: relative !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.page-rio-banner-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(20, 18, 24, 0.15) 0%, rgba(20, 18, 24, 0.45) 100%) !important;
  pointer-events: none !important;
}

/* ==============================================================
   TRILHA DE NAVEGAÇÃO (BREADCRUMBS) PADRONIZADA ABAIXO DO TÍTULO
   ============================================================== */
.inst-breadcrumb,
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tututu-work, -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 13.5px;
  color: #7a787f;
  margin-top: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.inst-breadcrumb a,
.breadcrumb-nav a {
  color: #7a787f;
  text-decoration: none;
  transition: color 0.15s ease;
}

.inst-breadcrumb a:hover,
.breadcrumb-nav a:hover {
  color: var(--tututu-orange, #de5823);
}

.inst-breadcrumb span,
.breadcrumb-nav .breadcrumb-sep {
  color: #a8a49e;
  user-select: none;
}

.inst-breadcrumb .current,
.breadcrumb-nav .current {
  color: var(--tututu-orange, #de5823);
  font-weight: 600;
}

/* ==============================================================
   1. ANIMAÇÃO DE PAPEL DESDOBRANDO (HEADER NAV & USER DROPDOWN)
   "Rows unfold down one by one like folded paper, pushing the next"
   ============================================================== */
@keyframes paperDropdownOpen {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes paperDropdownClose {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
}

@keyframes paperRowUnfold {
  0% {
    opacity: 0;
    transform: perspective(650px) rotateX(-88deg) translate3d(0, -14px, 0);
    filter: brightness(0.85);
  }
  50% {
    opacity: 0.95;
    filter: brightness(0.96);
  }
  75% {
    transform: perspective(650px) rotateX(10deg) translate3d(0, 2px, 0);
    filter: brightness(1.03);
  }
  90% {
    transform: perspective(650px) rotateX(-3deg) translate3d(0, -0.5px, 0);
    filter: brightness(0.99);
  }
  100% {
    opacity: 1;
    transform: perspective(650px) rotateX(0deg) translate3d(0, 0, 0);
    filter: brightness(1);
  }
}

/* Cada linha (link, botão, greeting, divider) desdobra para baixo em cascata */
.header-nav-dropdown.open > *,
.header-user-dropdown.open > * {
  transform-origin: 50% 0% !important;
  backface-visibility: hidden !important;
  will-change: transform, opacity, filter !important;
  animation: paperRowUnfold 0.4s cubic-bezier(0.2, 0.9, 0.3, 1) both !important;
}

/* Delay escalonado para empurrar o próximo (pushing the next) */
.header-nav-dropdown.open > *:nth-child(1),
.header-user-dropdown.open > *:nth-child(1) { animation-delay: 0.02s !important; }

.header-nav-dropdown.open > *:nth-child(2),
.header-user-dropdown.open > *:nth-child(2) { animation-delay: 0.065s !important; }

.header-nav-dropdown.open > *:nth-child(3),
.header-user-dropdown.open > *:nth-child(3) { animation-delay: 0.11s !important; }

.header-nav-dropdown.open > *:nth-child(4),
.header-user-dropdown.open > *:nth-child(4) { animation-delay: 0.155s !important; }

.header-nav-dropdown.open > *:nth-child(5),
.header-user-dropdown.open > *:nth-child(5) { animation-delay: 0.20s !important; }

.header-nav-dropdown.open > *:nth-child(6),
.header-user-dropdown.open > *:nth-child(6) { animation-delay: 0.245s !important; }

.header-nav-dropdown.open > *:nth-child(7),
.header-user-dropdown.open > *:nth-child(7) { animation-delay: 0.29s !important; }

.header-nav-dropdown.open > *:nth-child(8),
.header-user-dropdown.open > *:nth-child(8) { animation-delay: 0.335s !important; }

.header-nav-dropdown.open > *:nth-child(9),
.header-user-dropdown.open > *:nth-child(9) { animation-delay: 0.38s !important; }

.header-nav-dropdown.open > *:nth-child(10),
.header-user-dropdown.open > *:nth-child(10) { animation-delay: 0.425s !important; }

.header-nav-dropdown.open > *:nth-child(11),
.header-user-dropdown.open > *:nth-child(11) { animation-delay: 0.47s !important; }

.header-nav-dropdown.open > *:nth-child(12),
.header-user-dropdown.open > *:nth-child(12) { animation-delay: 0.515s !important; }

/* ==============================================================
   2. SKELETON PLACEHOLDER PARA CARDS EM CARREGAMENTO
   Fundo escuro, sem card por trás, quadrado 138px à esquerda,
   3 linhas de texto (100%, 80%, 55%), pequena pílula (30%),
   pulso uniforme entre #21202D e #464462 (1.6s loop) e efeito
   suave de desaparecimento (hiding) ao carregar.
   ============================================================== */
@keyframes tututuSkeletonPulseDark {
  0%, 100% {
    background-color: #f7938b78;
  }
  50% {
    background-color: #f4433638;
  }
}

/* Container do placeholder com fundo branco sem bordas internas */
.tututu-skeleton-wrapper {
  grid-column: 1 / -1;
  width: 100%;
  background: #ffffff;
  border-radius: 14px;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.36s cubic-bezier(0.4, 0, 0.2, 1), transform 0.36s cubic-bezier(0.4, 0, 0.2, 1), filter 0.36s ease;
  opacity: 1;
  transform: scale(1);
  will-change: opacity, transform;
}

/* Grid para suportar múltiplos cards de loading de acordo com a largura */
.tututu-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px 16px;
  width: 100%;
}

/* Card placeholder vertical desenhado no padrão da listagem */
.tututu-skeleton-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 18px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Banner de imagem com altura 250px */
.tututu-skeleton-thumb {
  width: 100% !important;
  height: 250px !important;
  border-radius: 12px !important;
  flex-shrink: 0 !important;
  animation: tututuSkeletonPulseDark 1.6s ease-in-out infinite !important;
}

/* Coluna da direita com 3 linhas e pequena pílula */
.tututu-skeleton-body {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 12px !important;
  flex: 1 !important;
  min-width: 0 !important;
  width: 100% !important;
  padding-top: 4px !important;
}

/* 3 linhas de texto arredondadas: 100%, 80%, 55% de largura; 19px, 15px, 15px de altura */
.tututu-skeleton-line {
  border-radius: 6px !important;
  animation: tututuSkeletonPulseDark 1.6s ease-in-out infinite !important;
}

.tututu-skeleton-line-1 {
  width: 100% !important;
  height: 19px !important;
  border-radius: 6px !important;
}

.tututu-skeleton-line-2 {
  width: 80% !important;
  height: 15px !important;
  border-radius: 5px !important;
}

.tututu-skeleton-line-3 {
  width: 55% !important;
  height: 15px !important;
  border-radius: 5px !important;
}

/* Pequena pílula (30% de largura, 26px de altura) */
.tututu-skeleton-pill {
  width: 30% !important;
  min-width: 76px !important;
  max-width: 130px !important;
  height: 26px !important;
  border-radius: 9999px !important;
  margin-top: 4px !important;
  animation: tututuSkeletonPulseDark 1.6s ease-in-out infinite !important;
}

/* Efeito que esconde suavemente o placeholder ao término do carregamento */
.tututu-skeleton-wrapper.tututu-skeleton-hiding {
  opacity: 0 !important;
  transform: translateY(-8px) scale(0.98) !important;
  filter: blur(2px) !important;
  pointer-events: none !important;
}

/* Animação suave de entrada dos elementos reais recém-carregados */
.tututu-loaded-content {
  display: contents !important;
  animation: tututuContentFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
  width: 100%;
}

@keyframes tututuContentFadeIn {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 520px) {
  .tututu-skeleton-grid {
    grid-template-columns: 1fr;
  }
  .tututu-skeleton-card {
    gap: 14px !important;
  }
  .tututu-skeleton-thumb {
    width: 100px !important;
    height: 100px !important;
    min-width: 100px !important;
  }
}
