/* ===== HUB HOME — Vivendo com Destino ===== */
body.hub-body{
  background:var(--cream);
  overflow-x:hidden;
}
.hub-wrap{
  max-width:480px;
  margin:0 auto;
  min-height:100vh;
  background:var(--cream);
  position:relative;
  box-shadow:0 0 60px rgba(20,20,20,.06);
}
@media(min-width:481px){
  body.hub-body{ background:var(--sand); }
  .hub-wrap{ min-height:100vh; }
}

/* ---- screens ---- */
.screen{ display:none; }
.screen.active{ display:block; animation:hubFadeIn .28s ease; }
@keyframes hubFadeIn{ from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:translateY(0);} }

/* ---- home hero ---- */
.hub-hero{
  position:relative;
  height:360px;
  background-size:cover;
  background-position:center 26%;
  border-radius:0 0 28px 28px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  padding-top:30px;
  gap:10px;
  overflow:hidden;
}
.hub-hero img.hub-logo{ height:96px; width:auto; }
.hub-hero .hub-tagline{
  font-family:'Caveat',cursive; font-style:normal; font-weight:600;
  color:#F4ECDF; font-size:21px; letter-spacing:.2px;
  text-align:center; padding:0 20px;
}

/* ---- sub-screen top bar ---- */
.hub-topbar{
  display:flex; align-items:center; gap:12px;
  padding:18px 18px 10px 18px;
}
.hub-back{
  width:38px; height:38px; border-radius:50%;
  background:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:0 2px 8px rgba(20,20,20,.08);
  flex-shrink:0;
}
.hub-topbar h1{
  font-family:'Oswald','Arial Narrow',sans-serif; font-weight:700; font-size:22px;line-height:1.1;text-transform:uppercase;letter-spacing:.4px;
  color:var(--navy); margin:0;
}
.hub-topbar p{
  margin:0 18px 6px 18px; font-size:13px; color:var(--ink-soft);
}

/* ---- body padding ---- */
.hub-body-pad{ padding:22px 18px 60px 18px; display:flex; flex-direction:column; gap:22px; }
.hub-list-pad{ padding:4px 18px 60px 18px; display:flex; flex-direction:column; gap:10px; }

/* ---- group label ---- */
.hub-group-label{
  font-family:'Jost',sans-serif; font-weight:500; font-size:12px;
  letter-spacing:1.2px; text-transform:uppercase; color:var(--teal);
  padding-left:2px;
}
.hub-group{ display:flex; flex-direction:column; gap:10px; }

/* ---- row item (button) ---- */
.hub-row{
  display:flex; align-items:center; gap:14px;
  background:#fff; border-radius:16px; padding:14px 16px;
  box-shadow:0 2px 10px rgba(20,20,20,.06);
  transition:transform .12s ease;
}
.hub-row:active{ transform:scale(.98); }
.hub-row .hub-ic{
  width:44px; height:44px; border-radius:12px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background:#E6EFEC;
}
.hub-row .hub-photo{
  width:44px; height:44px; border-radius:12px; flex-shrink:0;
  background-size:cover; background-position:center;
}
.hub-row .hub-txt{ flex:1; min-width:0; }
.hub-row .hub-txt .t1{ font-weight:500; font-size:15.5px; color:var(--ink); }
.hub-row .hub-txt .t2{ font-size:12.5px; color:var(--ink-soft); margin-top:1px; }
.hub-row .hub-chev{ flex-shrink:0; }
.hub-row.hub-dark{ background:#141413; }
.hub-row.hub-dark .t1{ color:#fff; }
.hub-row.hub-dark .t2{ color:#C9C4B8; }

/* ---- contato / cta full ---- */
.hub-cta-row{
  display:flex; align-items:center; justify-content:center; gap:10px;
  background:var(--teal); border-radius:16px; padding:15px; color:#fff;
  font-weight:600; font-size:14.5px;
}
.hub-cta-row.wa{ background:#1FAF55; }

/* ---- social row ---- */
.hub-social-row{ display:flex; justify-content:center; gap:16px; padding-top:2px; }
.hub-social-row a{
  width:46px; height:46px; border-radius:50%; background:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 2px 10px rgba(20,20,20,.08);
}

/* ---- contato screen cards ---- */
.hub-contact-card{
  display:flex; align-items:center; gap:14px; background:#fff; border-radius:16px;
  padding:18px 16px; box-shadow:0 2px 10px rgba(20,20,20,.06);
}
.hub-contact-card .hub-ic{ width:46px; height:46px; }

/* ---- footer mini ---- */
.hub-foot{ text-align:center; font-size:11.5px; color:var(--ink-soft); padding:4px 18px 30px; }

/* ---- páginas de descontos por destino (ingressos.html) ---- */
.hub-topbar-sticky{ position:sticky; top:0; z-index:50; background:var(--cream); padding-bottom:12px; }
.hub-topbar-sticky{ border-bottom:1px dashed rgba(200,85,43,.35); }
.hub-subtitle{ font-size:12.5px; color:var(--ink-soft); margin-top:1px; }
.hub-wrap .section{ background:transparent !important; padding:6px 0 10px !important; }
.hub-wrap .section-inner{ padding:0 18px; max-width:none; }
.hub-wrap .section-tag, .hub-wrap .section h2{ display:none; }
.hub-wrap .section-sub{ font-size:13px; margin:0 0 14px; }
.hub-wrap .cat-filter{ display:flex; flex-wrap:wrap; gap:8px; padding:2px 0 12px; margin-bottom:8px; }
.hub-wrap .cat-filter::-webkit-scrollbar{ display:none; }
.hub-wrap .cat-btn{ flex-shrink:0; }
/* mobile: 3 cards por linha (grade compacta) */
.hub-wrap .offer-grid, .hub-wrap .offer-grid.cols-3{
  display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px;
  overflow:visible !important; scroll-snap-type:none; padding-bottom:0;
}
.hub-wrap .offer-grid .offer-card{ flex:none !important; min-width:0 !important; width:auto; border-radius:14px; box-shadow:0 2px 10px rgba(20,20,20,.07); }
.hub-wrap .offer-media{ height:92px; padding:6px; }
.hub-wrap .offer-media .tag{ display:none; }
.hub-wrap .offer-media img{ object-position:center; }
.hub-wrap .offer-media.has-logo img{ height:60%; max-width:78%; }
.hub-wrap .offer-body{ padding:8px 8px 9px; }
.hub-wrap .offer-body h4{ font-size:13px; line-height:1.2; margin:0 0 6px; font-weight:600;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; min-height:3.6em; }
.hub-wrap .offer-loc, .hub-wrap .offer-trust{ display:none; }
.hub-wrap .offer-coupon{ font-size:0; padding:4px 3px; margin-bottom:7px; border-width:1.5px; border-radius:7px; text-align:center; line-height:1.15; }
.hub-wrap .offer-coupon::before{ content:'CUPOM'; display:block; font:600 8.5px 'Jost',sans-serif; letter-spacing:.8px; color:var(--ink-soft); }
.hub-wrap .offer-coupon b{ display:block; font-size:8.6px; letter-spacing:0; font-weight:700; word-break:break-all; }
.hub-wrap .offer-price{ padding:4px 5px; margin-bottom:7px; font-size:8.5px; }
.hub-wrap .offer-price strong{ font-size:13px; }
.hub-wrap .offer-cta{ font-size:11px; padding:7px 4px; margin:auto 0 0; border-radius:16px; line-height:1.1; }
@media(min-width:481px){ .hub-wrap .offer-media{ height:104px; } }
.hub-wrap .offer-coupon b{ font-size:7.4px; letter-spacing:-.1px; white-space:nowrap; word-break:normal; }
.hub-wrap .roteiro-add-btn{ font-size:10px !important; padding:5px 3px !important; margin-top:5px !important; border-width:1.5px !important; border-radius:14px !important; line-height:1.1 !important; }
html{ scroll-padding-top:96px; }
.hub-wrap .section{ scroll-margin-top:96px; }

/* ---- destaque YouTube ---- */
.hub-yt{ position:relative; display:block; border-radius:20px; overflow:hidden; min-height:190px; color:#fff;
  box-shadow:0 8px 24px rgba(200,85,43,.28); transition:transform .15s ease; }
.hub-yt:hover{ transform:translateY(-2px); }
.hub-yt-bg{ position:absolute; inset:0; background-size:cover; background-position:center 30%; }
.hub-yt-shade{ position:absolute; inset:0; background:linear-gradient(100deg, rgba(20,20,20,.9) 0%, rgba(20,20,20,.62) 55%, rgba(200,85,43,.55) 100%); }
.hub-yt-play{ position:absolute; top:16px; right:16px; width:54px; height:38px; border-radius:11px; background:#FF0000;
  display:flex; align-items:center; justify-content:center; box-shadow:0 4px 12px rgba(0,0,0,.3); animation:ytPulse 2.4s ease-in-out infinite; }
@keyframes ytPulse{ 0%,100%{transform:scale(1);} 50%{transform:scale(1.07);} }
.hub-yt-txt{ position:relative; padding:20px 18px 18px; display:flex; flex-direction:column; gap:5px; min-height:190px; justify-content:flex-end; }
.hub-yt-k{ font:600 11px 'Jost',sans-serif; letter-spacing:1.4px; text-transform:uppercase; color:#F4ECDF; opacity:.9; }
.hub-yt-t{ font:700 26px/1.08 'Oswald','Arial Narrow',sans-serif; text-transform:uppercase; max-width:78%; }
.hub-yt-s{ font-size:13px; color:#F4ECDF; opacity:.92; max-width:85%; }
.hub-yt-cta{ align-self:flex-start; margin-top:10px; background:var(--orange); color:#fff; font:600 13.5px 'Jost',sans-serif; padding:10px 18px; border-radius:24px; }
.hub-social-row a[aria-label="YouTube"]{ background:#FF0000; }
.hub-social-row a[aria-label="YouTube"] svg{ fill:#fff; }

/* ---- DESKTOP ---- */
@media(min-width:900px){
  body.hub-body{ background:var(--cream); }
  .hub-wrap{ max-width:1180px; box-shadow:none; }
  /* home: foto à esquerda, conteúdo à direita */
  .screen[data-route=""].active{ display:grid; grid-template-columns:minmax(380px,44%) 1fr; gap:0; min-height:100vh; align-items:start; }
  .screen[data-route=""] .hub-hero{ position:sticky; top:0; height:100vh; border-radius:0 36px 36px 0; background-position:center 30% !important; padding-top:56px; gap:16px; }
  .screen[data-route=""] .hub-hero img.hub-logo{ height:150px; }
  .screen[data-route=""] .hub-tagline{ font-size:30px; }
  .screen[data-route=""] .hub-body-pad{ padding:56px 48px 40px; max-width:700px; gap:30px; }
  .hub-yt{ min-height:240px; }
  .hub-yt-txt{ min-height:240px; padding:28px 28px 24px; }
  .hub-yt-t{ font-size:34px; max-width:70%; }
  .hub-yt-s{ font-size:15px; }
  .hub-yt-play{ width:68px; height:48px; top:22px; right:22px; }
  .hub-row{ padding:16px 20px; }
  .hub-row .hub-txt .t1{ font-size:16.5px; }
  .hub-row:hover{ box-shadow:0 6px 18px rgba(20,20,20,.10); transform:translateY(-1px); }
  /* telas internas: coluna central mais larga */
  .screen:not([data-route=""]){ max-width:760px; margin:0 auto; }
  .hub-banner{ height:220px; }
  /* páginas de destino (ingressos): conteúdo mais largo, grade de 4-5 colunas */
  .hub-wrap .offer-grid{ grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
  .hub-wrap .offer-media{ height:130px; }
  .hub-wrap .offer-body{ padding:12px 12px 14px; }
  .hub-wrap .offer-body h4{ font-size:16px; min-height:2.4em; -webkit-line-clamp:2; }
  .hub-wrap .offer-loc{ display:block; font-size:11.5px; margin-bottom:8px; }
  .hub-wrap .offer-trust{ display:flex; }
  .hub-wrap .offer-coupon{ font-size:0; }
  .hub-wrap .offer-coupon b{ font-size:10.5px; }
  .hub-wrap .offer-cta{ font-size:12.5px; padding:9px 6px; }
  .hub-wrap .roteiro-add-btn{ font-size:11.5px !important; }
  .hub-wrap .section-inner{ padding:0 28px; }
  .hub-topbar-sticky{ padding-left:28px; }
}
@media(min-width:900px) and (min-width:1200px){ .hub-wrap .offer-grid{ grid-template-columns:repeat(5,minmax(0,1fr)); } }

.hub-cupom{ display:inline-block; margin-top:7px; padding:4px 10px; border:1.5px dashed var(--orange); border-radius:8px; background:#FBEFE8; font:500 11.5px 'Jost',sans-serif; color:var(--ink); letter-spacing:.2px; }
.hub-cupom b{ color:var(--orange-dark); font-weight:700; letter-spacing:.4px; }

.hub-row .hub-ic.hub-logo-ic{ padding:0; overflow:hidden; box-shadow:0 1px 4px rgba(20,20,20,.18); }
.hub-row .hub-ic.hub-logo-ic img{ width:100%; height:100%; object-fit:cover; display:block; }
