/* Home fixes — hero proportion + readable card text */

/* Desktop: hero mais proporcional e menos esticado na horizontal */
@media (min-width: 769px) and (max-width: 1440px) {
  body.page-id-1452 .gz-home .gz-hero-slider {
    max-width: 1240px !important;
    margin: 10px auto 0 !important;
  }

  body.page-id-1452 .gz-home .gz-hero {
    min-height: 410px !important;
    background-position: center 56% !important;
  }

  body.page-id-1452 .gz-home .gz-hero .hero-inner {
    padding: 18px 34px 42px !important;
  }

  body.page-id-1452 .gz-home .gz-hero h1 {
    max-width: 760px !important;
    font-size: clamp(1.35rem, 1.9vw, 1.72rem) !important;
    line-height: 1.14 !important;
    -webkit-line-clamp: 2 !important;
  }
}

@media (min-width: 1441px) {
  body.page-id-1452 .gz-home .gz-hero-slider {
    max-width: 1320px !important;
    margin: 10px auto 0 !important;
  }

  body.page-id-1452 .gz-home .gz-hero {
    min-height: 440px !important;
    background-position: center 56% !important;
  }
}

/* Home: títulos de seção centralizados em desktop e mobile */
body.page-id-1452 .gz-home .gz-title {
  text-align: center !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.page-id-1452 .gz-home .gz-title:after {
  left: 50% !important;
  transform: translateX(-50%) !important;
}

body.page-id-1452 .gz-home .gz-subtitle {
  text-align: center !important;
  margin-top: -8px !important;
  margin-bottom: 28px !important;
}

body.page-id-1452 .gz-home .gz-youtube-section .gz-subtitle a {
  color: #626a76 !important;
  font-weight: 650 !important;
  text-decoration: none !important;
  transition: color .2s ease !important;
}

body.page-id-1452 .gz-home .gz-youtube-section .gz-subtitle a:hover {
  color: #c0392b !important;
}

/* Strong contrast for every light card/section on Home */
body.page-id-1452 .gz-home .gz-section,
body.page-id-1452 .gz-home .gz-section.gz-alt {
  color: #1e1e28 !important;
}

body.page-id-1452 .gz-home .gz-title,
body.page-id-1452 .gz-home .dest-body h3,
body.page-id-1452 .gz-home .news-body h3,
body.page-id-1452 .gz-home .prod-body h4,
body.page-id-1452 .gz-home .ml-title,
body.page-id-1452 .gz-home .guia-card h3 {
  color: #17191f !important;
  opacity: 1 !important;
}

body.page-id-1452 .gz-home .dest-body p,
body.page-id-1452 .gz-home .news-meta,
body.page-id-1452 .gz-home .gz-subtitle,
body.page-id-1452 .gz-home .guia-card p {
  color: #626a76 !important;
  opacity: 1 !important;
}

body.page-id-1452 .gz-home .dest-card,
body.page-id-1452 .gz-home .news-card,
body.page-id-1452 .gz-home .prod-card,
body.page-id-1452 .gz-home .guia-card,
body.page-id-1452 .gz-home .ml-item {
  color: #17191f !important;
}

/* Prevent global dark-theme heading rules from whitening Home headings */
body.page-id-1452 .gz-home .gz-section h2,
body.page-id-1452 .gz-home .gz-section h3,
body.page-id-1452 .gz-home .gz-section h4,
body.page-id-1452 .gz-home .gz-section a,
body.page-id-1452 .gz-home .gz-section span:not(.badge),
body.page-id-1452 .gz-home .gz-section p {
  text-shadow: none !important;
}

/* Tema escuro: a Home inteira acompanha o seletor global */
body.page-id-1452:not(.gz-site-light-theme),
body.page-id-1452:not(.gz-site-light-theme) .gz-home {
  background:#0a0c0f !important;
  color:#f5f6f8 !important;
}
body.page-id-1452:not(.gz-site-light-theme) .gz-home .gz-section,
body.page-id-1452:not(.gz-site-light-theme) .gz-home .gz-section.gz-alt {
  background:#0a0c0f !important;
  color:#f5f6f8 !important;
}
body.page-id-1452:not(.gz-site-light-theme) .gz-home .dest-card,
body.page-id-1452:not(.gz-site-light-theme) .gz-home .news-card,
body.page-id-1452:not(.gz-site-light-theme) .gz-home .prod-card,
body.page-id-1452:not(.gz-site-light-theme) .gz-home .guia-card,
body.page-id-1452:not(.gz-site-light-theme) .gz-home .ml-item {
  background:#14181f !important;
  color:#f5f6f8 !important;
  border-color:rgba(255,255,255,.07) !important;
}
body.page-id-1452:not(.gz-site-light-theme) .gz-home .gz-title,
body.page-id-1452:not(.gz-site-light-theme) .gz-home .dest-body h3,
body.page-id-1452:not(.gz-site-light-theme) .gz-home .news-body h3,
body.page-id-1452:not(.gz-site-light-theme) .gz-home .prod-body h4,
body.page-id-1452:not(.gz-site-light-theme) .gz-home .ml-title,
body.page-id-1452:not(.gz-site-light-theme) .gz-home .guia-card h3 {
  color:#f7f8fa !important;
}
body.page-id-1452:not(.gz-site-light-theme) .gz-home .dest-body p,
body.page-id-1452:not(.gz-site-light-theme) .gz-home .news-meta,
body.page-id-1452:not(.gz-site-light-theme) .gz-home .gz-subtitle,
body.page-id-1452:not(.gz-site-light-theme) .gz-home .guia-card p {
  color:#aeb5bf !important;
}

/* Remove old Civic G8 promo block and let Mais Lidas use the full width */
body.page-id-1452 .gz-home .col-civic {
  display: none !important;
}

body.page-id-1452 .gz-home .two-col {
  grid-template-columns: 1fr !important;
}

body.page-id-1452 .gz-home .col-ml {
  width: 100% !important;
  max-width: 100% !important;
}

/* Home conversion block — eBook + Shopping */
body.page-id-1452 .gz-home-commerce{
  background:#0b0d11;
  padding:42px 0;
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
body.page-id-1452 .gz-commerce-grid{
  display:grid;
  grid-template-columns:.9fr 1.6fr;
  gap:18px;
  align-items:stretch;
}
body.page-id-1452 .gz-ebook-promo,
body.page-id-1452 .gz-shop-promo{
  border:1px solid rgba(255,255,255,.09);
  border-radius:16px;
  overflow:hidden;
  min-width:0;
}
body.page-id-1452 .gz-ebook-promo{
  display:grid;
  grid-template-columns:150px 1fr;
  align-items:center;
  gap:22px;
  padding:24px;
  color:#fff!important;
  background:radial-gradient(circle at 92% 8%,rgba(255,107,0,.30),transparent 34%),linear-gradient(145deg,#171a20,#0f1116);
  box-shadow:0 18px 46px rgba(0,0,0,.22);
}
body.page-id-1452 .gz-ebook-cover-wrap{
  background:linear-gradient(160deg,#242831,#12151b);
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:220px;
}
body.page-id-1452 .gz-ebook-cover{
  display:block;
  width:100%;
  max-width:132px;
  height:auto;
  filter:drop-shadow(0 16px 22px rgba(0,0,0,.38));
  transform:rotate(-2deg);
}
body.page-id-1452 .gz-ebook-copy{min-width:0;}
body.page-id-1452 .gz-ebook-kicker,
body.page-id-1452 .gz-shop-kicker{
  display:inline-block;
  color:#ff7a1a!important;
  font-size:.72rem;
  font-weight:950;
  letter-spacing:.12em;
  margin-bottom:8px;
}
body.page-id-1452 .gz-ebook-promo h2,
body.page-id-1452 .gz-shop-promo h2{
  margin:0;
  font-weight:950;
  letter-spacing:-.03em;
}
body.page-id-1452 .gz-ebook-promo h2{font-size:1.8rem;color:#fff!important;}
body.page-id-1452 .gz-ebook-promo p{color:#c3c9d2!important;margin:12px 0 22px;line-height:1.55;}
body.page-id-1452 .gz-ebook-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  align-self:flex-start;
  min-height:40px;
  line-height:1;
  background:linear-gradient(135deg,#ff6b00,#ff8a24);
  color:#fff!important;
  font-weight:950;
  border-radius:999px;
  padding:10px 20px;
  margin:0;
  box-shadow:0 8px 22px rgba(255,107,0,.30),0 0 0 0 rgba(255,107,0,.34);
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
  animation:gzEbookPulse 2.8s ease-in-out infinite;
}
body.page-id-1452 .gz-ebook-promo:hover .gz-ebook-cta{
  transform:translateY(-2px) scale(1.02);
  filter:brightness(1.04);
  box-shadow:0 12px 28px rgba(255,107,0,.38),0 0 0 7px rgba(255,107,0,.10);
}
@keyframes gzEbookPulse{
  0%,100%{box-shadow:0 8px 22px rgba(255,107,0,.30),0 0 0 0 rgba(255,107,0,.28);transform:scale(1);}
  50%{box-shadow:0 10px 26px rgba(255,107,0,.36),0 0 0 9px rgba(255,107,0,0);transform:scale(1.025);}
}
@media (prefers-reduced-motion:reduce){
  body.page-id-1452 .gz-ebook-cta{animation:none;}
}
body.page-id-1452 .gz-shop-promo{
  background:#15181e;
  padding:22px;
}
body.page-id-1452 .gz-shop-promo-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}
body.page-id-1452 .gz-shop-promo-head h2{font-size:1.35rem;color:#fff!important;}
body.page-id-1452 .gz-shop-promo-head>a{color:#ff7a1a!important;font-size:.78rem;font-weight:900;white-space:nowrap;}
body.page-id-1452 .gz-home-products{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}
body.page-id-1452 .gz-home-product{
  display:flex;
  flex-direction:column;
  min-width:0;
  background:#fff;
  border-radius:11px;
  overflow:hidden;
  color:#17191f!important;
  border:1px solid #e6e9ed;
}
body.page-id-1452 .gz-home-product-img{aspect-ratio:1/1;background:#f3f5f7;display:block;overflow:hidden;}
body.page-id-1452 .gz-home-product-img img{width:100%;height:100%;object-fit:contain;padding:8px;}
body.page-id-1452 .gz-home-product-title{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  height:3.35em;
  max-height:3.35em;
  flex:0 0 3.35em;
  padding:10px 10px 0;
  margin-bottom:12px;
  font-size:.74rem;
  line-height:1.35;
  font-weight:850;
  color:#17191f!important;
}
body.page-id-1452 .gz-home-product-cta{
  margin:auto 10px 10px;
  background:#ff6b00;
  color:#fff!important;
  text-align:center;
  border-radius:7px;
  padding:8px 8px;
  font-size:.68rem;
  font-weight:900;
  flex:0 0 auto;
}
body.page-id-1452 .gz-products-loading,
body.page-id-1452 .gz-shop-empty{color:#aab1bb!important;padding:20px 0;font-size:.85rem;}

@media(max-width:900px){
  body.page-id-1452 .gz-commerce-grid{grid-template-columns:1fr;}
  body.page-id-1452 .gz-home-products{grid-template-columns:repeat(4,1fr);}
}
@media(max-width:600px){
  body.page-id-1452 .gz-home-commerce{padding:28px 0;}
  body.page-id-1452 .gz-home-commerce .gz-container{padding:0 14px!important;}
  body.page-id-1452 .gz-ebook-promo{grid-template-columns:104px 1fr;gap:14px;padding:16px;}
  body.page-id-1452 .gz-ebook-cover-wrap{min-height:155px;padding:7px;border-radius:11px;}
  body.page-id-1452 .gz-ebook-cover{max-width:92px;}
  body.page-id-1452 .gz-ebook-promo h2{font-size:1.32rem;}
  body.page-id-1452 .gz-ebook-promo p{font-size:.82rem;margin:8px 0 14px;line-height:1.4;}
  body.page-id-1452 .gz-ebook-cta{padding:9px 12px;font-size:.76rem;}
  body.page-id-1452 .gz-shop-promo{padding:16px;}
  body.page-id-1452 .gz-home-products{display:flex;overflow-x:auto;gap:9px;padding-bottom:4px;scroll-snap-type:x proximity;}
  body.page-id-1452 .gz-home-product{flex:0 0 142px;scroll-snap-align:start;}
}

/* YouTube — seção premium e inteligente */
body.page-id-1452 .gz-youtube-section{
  background:linear-gradient(135deg,#0b0d11 0%,#12161d 60%,#0b0d11 100%)!important;
  padding:52px 0 46px!important;
  position:relative;
  overflow:hidden;
}
body.page-id-1452 .gz-youtube-section:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 50% 0,rgba(255,0,0,.12),transparent 34%);
}
body.page-id-1452 .gz-youtube-section .gz-container{position:relative;z-index:1;}
body.page-id-1452 .gz-youtube-section .gz-title{
  color:#fff!important;
  margin-bottom:10px!important;
}
body.page-id-1452 .gz-youtube-section .gz-subtitle{
  margin:0 0 28px!important;
  color:#aeb5bf!important;
  text-align:center;
}
body.page-id-1452 .gz-youtube-section .gz-subtitle a{
  color:#fff!important;
  font-weight:900;
  text-decoration:none;
}
body.page-id-1452 .gz-youtube-section .gz-subtitle a:hover{color:#ff5a36!important;}
body.page-id-1452 .gz-youtube-section .video-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
}
body.page-id-1452 .gz-yt-card{
  position:relative;
  background:#151922;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 18px 45px rgba(0,0,0,.28);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
body.page-id-1452 .gz-yt-card:hover{
  transform:translateY(-5px);
  border-color:rgba(255,76,45,.55);
  box-shadow:0 24px 55px rgba(0,0,0,.38);
}
body.page-id-1452 .gz-yt-card{position:relative;}
body.page-id-1452 .gz-yt-media{position:relative;aspect-ratio:16/9;background:#050608;overflow:hidden;}
body.page-id-1452 .gz-yt-media iframe{width:100%;height:100%;display:block;border:0;}
body.page-id-1452 .gz-yt-mobile-thumb{display:none;}
body.page-id-1452 .gz-yt-badge-row{position:absolute;z-index:3;top:12px;left:12px;}
body.page-id-1452 .gz-yt-badge{
  position:static;
  z-index:3;
  background:linear-gradient(135deg,#ff3b22,#c8251b);
  color:#fff!important;
  padding:7px 10px;
  border-radius:999px;
  font-size:.68rem;
  line-height:1;
  font-weight:950;
  letter-spacing:.45px;
  text-transform:uppercase;
  box-shadow:0 8px 18px rgba(0,0,0,.28);
}
body.page-id-1452 .gz-yt-popular .gz-yt-badge{background:linear-gradient(135deg,#ff8a00,#d64f00);}
body.page-id-1452 .gz-yt-smart .gz-yt-badge{background:linear-gradient(135deg,#6b5cff,#4233c7);}
body.page-id-1452 .gz-yt-copy{padding:15px 16px 17px;}
body.page-id-1452 .gz-yt-copy h3{
  color:#fff!important;
  font-size:.96rem!important;
  line-height:1.35!important;
  min-height:2.7em;
  margin:0 0 12px!important;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
body.page-id-1452 .gz-yt-copy a{
  color:#ff765a!important;
  font-size:.78rem;
  font-weight:900;
}
body.page-id-1452 .gz-yt-stats{display:block;color:#9ea6b2!important;font-size:.72rem;margin:-3px 0 10px;}
body.page-id-1452 .gz-yt-loading,
body.page-id-1452 .gz-yt-fallback{grid-column:1/-1;text-align:center;color:#aeb5bf!important;padding:28px 12px;font-weight:800;}
body.page-id-1452 .gz-yt-fallback{display:block;color:#ff765a!important;}
body.page-id-1452.gz-site-light-theme .gz-yt-stats{color:#727984!important;}
body.page-id-1452 .gz-youtube-section .gz-center{margin-top:26px!important;}
body.page-id-1452 .gz-youtube-section .gz-center .btn{
  background:#fff!important;
  color:#15171b!important;
  border-color:#fff!important;
  border-radius:999px!important;
  padding:11px 22px!important;
}
body.page-id-1452 .gz-youtube-section .gz-center .btn:hover{background:#ff4a2f!important;color:#fff!important;border-color:#ff4a2f!important;}

@media(max-width:900px){
  body.page-id-1452 .gz-youtube-section .video-grid{grid-template-columns:1fr!important;max-width:680px;margin:0 auto;}
}
@media(max-width:600px){
  body.page-id-1452 .gz-youtube-section{padding:34px 0 30px!important;}
  body.page-id-1452 .gz-youtube-section .gz-container{padding:0 14px!important;}
  body.page-id-1452 .gz-youtube-section .gz-subtitle{font-size:.82rem!important;margin-bottom:20px!important;}
  body.page-id-1452 .gz-yt-card{border-radius:13px;overflow:hidden;}
  body.page-id-1452 .gz-yt-badge-row{position:static!important;padding:12px 12px 10px;background:#151922;}
  body.page-id-1452 .gz-yt-badge{display:inline-flex!important;width:max-content;max-width:100%;margin:0!important;padding:8px 11px!important;font-size:.64rem!important;box-shadow:none!important;}
  body.page-id-1452 .gz-yt-media{aspect-ratio:16/9!important;overflow:hidden;}
  body.page-id-1452 .gz-yt-media iframe{display:none!important;}
  body.page-id-1452 .gz-yt-mobile-thumb{display:block!important;position:absolute;inset:0;overflow:hidden;background:#050608;}
  body.page-id-1452 .gz-yt-mobile-thumb img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;}
  body.page-id-1452 .gz-yt-mobile-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:62px;height:44px;border-radius:12px;background:#ff0033;color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.35rem;padding-left:3px;box-shadow:0 10px 26px rgba(0,0,0,.35);}
  body.page-id-1452 .gz-yt-copy{padding:13px 14px 15px;}
}

/* Tema claro: blocos da Home acompanham o restante do site */
body.page-id-1452.gz-site-light-theme .gz-home-commerce{
  background:#fff!important;
  border-top-color:#e7e9ed!important;
  border-bottom-color:#e7e9ed!important;
}
body.page-id-1452.gz-site-light-theme .gz-ebook-promo{
  background:linear-gradient(145deg,#ffffff,#f6f7f9)!important;
  color:#17191f!important;
  border-color:#e3e6ea!important;
  box-shadow:0 14px 34px rgba(18,22,28,.08)!important;
}
body.page-id-1452.gz-site-light-theme .gz-ebook-cover-wrap{
  background:linear-gradient(160deg,#f4f6f8,#e9edf1)!important;
  border-color:#dfe3e8!important;
}
body.page-id-1452.gz-site-light-theme .gz-ebook-promo h2{color:#17191f!important;}
body.page-id-1452.gz-site-light-theme .gz-ebook-promo p{color:#606773!important;}
body.page-id-1452.gz-site-light-theme .gz-shop-promo{
  background:#f7f8fa!important;
  border-color:#e3e6ea!important;
}
body.page-id-1452.gz-site-light-theme .gz-shop-promo-head h2{color:#17191f!important;}

body.page-id-1452.gz-site-light-theme .gz-youtube-section{
  background:linear-gradient(180deg,#ffffff 0%,#f7f8fa 100%)!important;
  border-top:1px solid #eceff2!important;
  border-bottom:1px solid #eceff2!important;
}
body.page-id-1452.gz-site-light-theme .gz-youtube-section:before{
  background:radial-gradient(circle at 50% 0,rgba(255,74,47,.07),transparent 34%)!important;
}
body.page-id-1452.gz-site-light-theme .gz-youtube-section .gz-title{color:#17191f!important;}
body.page-id-1452.gz-site-light-theme .gz-youtube-section .gz-subtitle{color:#666d78!important;}
body.page-id-1452.gz-site-light-theme .gz-youtube-section .gz-subtitle a{color:#17191f!important;}
body.page-id-1452.gz-site-light-theme .gz-yt-card{
  background:#fff!important;
  border-color:#e3e6ea!important;
  box-shadow:0 12px 30px rgba(18,22,28,.08)!important;
}
body.page-id-1452.gz-site-light-theme .gz-yt-card:hover{
  border-color:rgba(255,76,45,.35)!important;
  box-shadow:0 18px 38px rgba(18,22,28,.12)!important;
}
body.page-id-1452.gz-site-light-theme .gz-yt-copy h3{color:#17191f!important;}
body.page-id-1452.gz-site-light-theme .gz-youtube-section .gz-center .btn{
  background:#17191f!important;
  color:#fff!important;
  border-color:#17191f!important;
}

/* Home: correção estrutural de overflow em celular e tablet */
@media(max-width:1024px){
  body.page-id-1452 .gz-home{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    overflow-x:hidden!important;
  }
  body.page-id-1452 .gz-home .gz-hero-slider,
  body.page-id-1452 .gz-home .gz-section,
  body.page-id-1452 .gz-home .gz-container,
  body.page-id-1452 .gz-home .dest-grid,
  body.page-id-1452 .gz-home .news-grid,
  body.page-id-1452 .gz-home .ml-list,
  body.page-id-1452 .gz-home .video-grid,
  body.page-id-1452 .gz-home .two-col{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.page-id-1452 .gz-home .dest-card,
  body.page-id-1452 .gz-home .news-card,
  body.page-id-1452 .gz-home .ml-item,
  body.page-id-1452 .gz-home .gz-yt-card{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  body.page-id-1452 .gz-home .dest-body,
  body.page-id-1452 .gz-home .news-body,
  body.page-id-1452 .gz-home .ml-title,
  body.page-id-1452 .gz-home .gz-yt-copy{
    min-width:0!important;
    max-width:100%!important;
  }
  body.page-id-1452 .gz-home .dest-body h3,
  body.page-id-1452 .gz-home .dest-body p,
  body.page-id-1452 .gz-home .news-body h3,
  body.page-id-1452 .gz-home .news-meta,
  body.page-id-1452 .gz-home .ml-title{
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
}

@media(max-width:600px){
  body.page-id-1452 .gz-home .ml-item{
    display:grid!important;
    grid-template-columns:52px 84px minmax(0,1fr)!important;
    gap:12px!important;
    align-items:center!important;
    padding:12px!important;
  }
  body.page-id-1452 .gz-home .ml-num{
    min-width:0!important;
    width:auto!important;
    font-size:1.55rem!important;
  }
  body.page-id-1452 .gz-home .ml-thumb{
    width:84px!important;
    height:66px!important;
  }
  body.page-id-1452 .gz-home .ml-title{
    font-size:.9rem!important;
    line-height:1.35!important;
  }
}
