/* Garagem de 0 a 100 — tema global black + alternância claro/escuro */
:root{
  --gz-site-bg:#0b0d11;
  --gz-site-surface:#11141a;
  --gz-site-surface-2:#171a20;
  --gz-site-border:rgba(255,255,255,.09);
  --gz-site-text:#f4f6f8;
  --gz-site-muted:#a8afb9;
}
html:not(.gz-site-light-preload),
body:not(.gz-site-light-theme){background:var(--gz-site-bg)!important;color:var(--gz-site-text)!important;}
body:not(.gz-site-light-theme) #main,
body:not(.gz-site-light-theme) .site-main,
body:not(.gz-site-light-theme) .site-content,
body:not(.gz-site-light-theme) [data-content="normal"]{background:var(--gz-site-bg)!important;}

/* Topbar + cabeçalho */
body:not(.gz-site-light-theme) #gz-topbar#gz-topbar,
body:not(.gz-site-light-theme) #header [data-row="middle"],
body:not(.gz-site-light-theme) #header [data-row="middle"] .ct-container{
  background:#08090c!important;
  background-color:#08090c!important;
  border-color:var(--gz-site-border)!important;
}
body:not(.gz-site-light-theme) #gz-topbar .gz-slg,
body:not(.gz-site-light-theme) #gz-topbar .gz-soc svg,
body:not(.gz-site-light-theme) header.ct-header [data-row="middle"] a,
body:not(.gz-site-light-theme) header.ct-header [data-row="middle"] .ct-menu-link,
body:not(.gz-site-light-theme) header.ct-header [data-row="middle"] svg,
body:not(.gz-site-light-theme) header.ct-header [data-row="middle"] button{
  color:#fff!important;
  fill:#fff!important;
}
body:not(.gz-site-light-theme) header.ct-header .site-logo-container img{filter:brightness(0) invert(1)!important;}
body:not(.gz-site-light-theme) #gz-topbar a.gz-cta{background:#f5f5f5!important;color:#17191d!important;}

/* Área de conteúdo padrão */
body:not(.gz-site-light-theme) article,
body:not(.gz-site-light-theme) .entry-content,
body:not(.gz-site-light-theme) .ct-container-full,
body:not(.gz-site-light-theme) .ct-container{
  color:var(--gz-site-text);
}
body:not(.gz-site-light-theme) .entry-content h1,
body:not(.gz-site-light-theme) .entry-content h2,
body:not(.gz-site-light-theme) .entry-content h3,
body:not(.gz-site-light-theme) .entry-content h4,
body:not(.gz-site-light-theme) .entry-content h5,
body:not(.gz-site-light-theme) .entry-content h6,
body:not(.gz-site-light-theme) .page-title,
body:not(.gz-site-light-theme) .entry-title{color:#fff;}
body:not(.gz-site-light-theme) .entry-content p,
body:not(.gz-site-light-theme) .entry-content li,
body:not(.gz-site-light-theme) .entry-content blockquote{color:#d9dde3;}
body:not(.gz-site-light-theme) .entry-content a{color:#ff6b00;}
body:not(.gz-site-light-theme) .ct-sidebar .ct-widget,
body:not(.gz-site-light-theme) .widget-area .widget,
body:not(.gz-site-light-theme) .ct-comments-container,
body:not(.gz-site-light-theme) .ct-related-posts-container{
  background:var(--gz-site-surface)!important;
  color:var(--gz-site-text)!important;
  border-color:var(--gz-site-border)!important;
}
body:not(.gz-site-light-theme) input,
body:not(.gz-site-light-theme) textarea,
body:not(.gz-site-light-theme) select{
  background:#15181e!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.16)!important;
}

/* Footer */
body:not(.gz-site-light-theme) footer.ct-footer{background:#08090c!important;color:#dce0e6!important;}
body:not(.gz-site-light-theme) footer.ct-footer a{color:#fff;}

/* Botão de tema global no cabeçalho principal, ao lado da busca/menu */
header.ct-header .gz-theme-toggle{
  position:static!important;
  inset:auto!important;
  width:auto!important;
  height:32px!important;
  min-width:32px!important;
  padding:0 10px!important;
  margin-left:8px!important;
  border-radius:999px!important;
  border:1px solid rgba(255,255,255,.24)!important;
  background:#171a1f!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  box-shadow:none!important;
  cursor:pointer!important;
  vertical-align:middle!important;
  flex:0 0 auto!important;
}
header.ct-header .gz-theme-toggle .gz-theme-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:0!important;}
header.ct-header .gz-theme-toggle svg{width:15px!important;height:15px!important;display:block!important;fill:currentColor!important;}
header.ct-header .gz-theme-toggle .gz-theme-label{display:inline-block!important;line-height:1!important;white-space:nowrap!important;}
header.ct-header .gz-theme-toggle:hover{border-color:#ff6b00!important;background:#20242a!important;}

/* Tema claro: conteúdo claro, mas cabeçalho principal permanece preto */
body.gz-site-light-theme{background:#fff!important;color:inherit!important;}
body.gz-site-light-theme #gz-topbar#gz-topbar{background:#f7f8fa!important;color:#17191d!important;border-bottom-color:#dfe3e8!important;}
body.gz-site-light-theme #gz-topbar .gz-slg{color:#17191d!important;}
body.gz-site-light-theme header.ct-header [data-row="middle"],
body.gz-site-light-theme .ct-sticky-container [data-sticky] [data-row="middle"]{
  background:#08090c!important;
  background-color:#08090c!important;
}
body.gz-site-light-theme header.ct-header [data-row="middle"] a,
body.gz-site-light-theme header.ct-header [data-row="middle"] .ct-menu-link,
body.gz-site-light-theme header.ct-header [data-row="middle"] button{
  color:#fff!important;
}
body.gz-site-light-theme header.ct-header [data-row="middle"] svg{
  fill:#fff!important;
  color:#fff!important;
}
body.gz-site-light-theme header.ct-header .site-logo-container img{
  filter:brightness(0) invert(1)!important;
}

/* Ícones oficiais das redes em TODAS as páginas, inclusive mobile */
#gz-topbar .gz-soc{display:flex!important;align-items:center!important;gap:11px!important;}
#gz-topbar .gz-soc a{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:0!important;}
#gz-topbar .gz-soc a[aria-label="Instagram"] svg{fill:#E4405F!important;color:#E4405F!important;}
#gz-topbar .gz-soc a[aria-label="YouTube"] svg{fill:#FF0000!important;color:#FF0000!important;}
#gz-topbar .gz-soc a[aria-label="Facebook"] svg{fill:#1877F2!important;color:#1877F2!important;}
#gz-topbar .gz-soc a[aria-label="TikTok"] svg{fill:#fff!important;color:#fff!important;filter:drop-shadow(-1px 0 #25F4EE) drop-shadow(1px 0 #FE2C55)!important;}
body.gz-site-light-theme #gz-topbar .gz-soc a[aria-label="TikTok"] svg{fill:#111!important;color:#111!important;}

/* eBook: FAQ precisa manter contraste no tema black */
body.page-id-7705:not(.gz-site-light-theme) .gz-lp-faq-q{color:#f4f6f8!important;}
body.page-id-7705:not(.gz-site-light-theme) .gz-lp-faq-a{color:#c8ced7!important;}
body.page-id-7705:not(.gz-site-light-theme) .gz-lp-faq-item{border-bottom-color:rgba(255,255,255,.22)!important;}
body.page-id-7705:not(.gz-site-light-theme) .gz-lp-section .gz-lp-sh{color:#fff!important;}

/* eBook: cards brancos de bônus mantêm texto escuro no tema black */
body.page-id-7705:not(.gz-site-light-theme) .gz-lp-bonus-card h4{color:#171a1f!important;}
body.page-id-7705:not(.gz-site-light-theme) .gz-lp-bonus-card p{color:#5f6670!important;}

@media (max-width:600px){
  #gz-topbar .gz-in{padding:6px 9px!important;gap:6px!important;}
  #gz-topbar .gz-rt{gap:6px!important;}
  #gz-topbar .gz-soc{display:flex!important;gap:8px!important;}
  #gz-topbar .gz-soc svg{width:17px!important;height:17px!important;}
  header.ct-header .gz-theme-toggle{width:30px!important;height:30px!important;min-width:30px!important;padding:0!important;margin-left:7px!important;border-radius:50%!important;}
  header.ct-header .gz-theme-toggle .gz-theme-label{display:none!important;}
  header.ct-header .gz-theme-toggle svg{width:14px!important;height:14px!important;}
}

/* Rodapé premium */
#footer.ct-footer{display:none!important;}
#gz-footer-pro{background:#090b0e;color:#fff;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;margin:0;padding:0;}
#gz-footer-pro *{box-sizing:border-box;}
#gz-footer-pro a{text-decoration:none;}
.gz-footer-accent{height:5px;background:linear-gradient(90deg,#ff4a23,#c0392b,#ff6b00);}
.gz-footer-main{background:radial-gradient(circle at 82% 20%,rgba(255,107,0,.06),transparent 30%),linear-gradient(135deg,#111418,#080a0d);padding:54px 0 46px;}
.gz-footer-wrap{width:min(1240px,calc(100% - 40px));margin:0 auto;}
.gz-footer-main .gz-footer-wrap{display:grid;grid-template-columns:1.08fr .95fr 1fr;gap:58px;align-items:start;}
.gz-footer-brand p,.gz-footer-news p{color:#c4c9d0!important;font-size:15px;line-height:1.65;margin:18px 0 0;max-width:390px;}
.gz-footer-logo{display:inline-block;max-width:320px;}
.gz-footer-logo img{display:block;width:min(100%,320px);height:auto;max-height:96px;object-fit:contain;object-position:left center;filter:none!important;}
.gz-footer-links h3,.gz-footer-news h3{color:#fff!important;font-size:18px!important;line-height:1.2;margin:4px 0 27px!important;text-transform:uppercase;letter-spacing:.4px;position:relative;padding-bottom:13px;}
.gz-footer-links h3:after,.gz-footer-news h3:after{content:"";position:absolute;left:0;bottom:0;width:52px;height:3px;border-radius:5px;background:#ff4a23;}
.gz-footer-linkgrid{display:grid;grid-template-columns:1fr 1fr;gap:17px 26px;}
.gz-footer-linkgrid a{color:#f0f2f5!important;font-size:15px;font-weight:650;position:relative;padding-left:20px;transition:color .2s,transform .2s;}
.gz-footer-linkgrid a:before{content:"›";position:absolute;left:0;top:-2px;color:#ff4a23;font-size:23px;line-height:1;}
.gz-footer-linkgrid a:hover{color:#ff7b55!important;transform:translateX(3px);}
.gz-footer-socials{display:flex;gap:12px;align-items:center;margin-top:25px;}
.gz-footer-socials a{width:46px;height:46px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#ff4a23,#bd2f23);box-shadow:0 8px 20px rgba(0,0,0,.22);transition:transform .2s,filter .2s;}
.gz-footer-socials a:hover{transform:translateY(-3px);filter:brightness(1.12);}
.gz-footer-socials svg{width:21px;height:21px;fill:#fff;display:block;}
.gz-footer-form{margin-top:22px;}
.gz-footer-static-form{display:flex;gap:8px;margin-top:22px;}
.gz-footer-static-form input{flex:1 1 auto;width:100%;height:50px;border:1px solid #464b52;border-radius:7px;background:#11151a;color:#fff;padding:0 16px;font-size:15px;outline:none;}
.gz-footer-static-form input::placeholder{color:#9298a1;}
.gz-footer-static-form button{height:50px;min-width:108px;border:0;border-radius:7px;background:linear-gradient(135deg,#ff4a23,#c0392b);color:#fff;font-weight:800;font-size:15px;padding:0 19px;cursor:pointer;}
.gz-footer-static-form button:hover{filter:brightness(1.08);transform:translateY(-1px);}
#gz-footer-pro .wpforms-container{margin:0!important;}
#gz-footer-pro .wpforms-field-container{display:flex!important;align-items:stretch!important;gap:8px!important;}
#gz-footer-pro .wpforms-field{padding:0!important;flex:1 1 auto!important;}
#gz-footer-pro .wpforms-field-label{display:none!important;}
#gz-footer-pro input[type="email"]{width:100%!important;height:50px!important;border:1px solid #464b52!important;border-radius:7px!important;background:#11151a!important;color:#fff!important;padding:0 16px!important;font-size:15px!important;box-shadow:none!important;}
#gz-footer-pro input[type="email"]::placeholder{color:#9298a1!important;}
#gz-footer-pro .wpforms-submit-container{padding:0!important;margin:0!important;display:flex!important;}
#gz-footer-pro button.wpforms-submit{height:50px!important;min-width:108px!important;border:0!important;border-radius:7px!important;background:linear-gradient(135deg,#ff4a23,#c0392b)!important;color:#fff!important;font-weight:800!important;font-size:15px!important;padding:0 19px!important;box-shadow:none!important;}
#gz-footer-pro button.wpforms-submit:hover{filter:brightness(1.08)!important;transform:translateY(-1px);}
.gz-footer-news small{display:block;color:#9298a1!important;margin-top:13px;font-size:12px;}
.gz-footer-bottom{background:#07090b;border-top:1px solid rgba(255,255,255,.08);}
.gz-footer-bottom-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#c9cdd3;font-size:13px;}
.gz-footer-bottom-links{display:flex;align-items:center;gap:12px;}
.gz-footer-bottom-links a{color:#dfe3e7!important;}
.gz-footer-bottom-links a:hover{color:#ff6b4a!important;}
.gz-footer-bottom-links span{color:#ff4a23;}

@media(max-width:900px){
  .gz-footer-main .gz-footer-wrap{grid-template-columns:1fr 1fr;gap:38px 42px;}
  .gz-footer-news{grid-column:1/-1;max-width:620px;}
}
@media(max-width:600px){
  .gz-footer-main{padding:38px 0 30px;}
  .gz-footer-wrap{width:min(100% - 28px,1240px);}
  .gz-footer-main .gz-footer-wrap{grid-template-columns:1fr;gap:34px;text-align:center;}
  .gz-footer-brand,.gz-footer-links,.gz-footer-news{text-align:center;}
  .gz-footer-news{grid-column:auto;max-width:none;margin:0 auto;}
  .gz-footer-logo{max-width:250px;margin:0 auto;}
  .gz-footer-logo img{max-height:76px;margin:0 auto;object-position:center center;}
  .gz-footer-brand p,.gz-footer-news p{font-size:14px;margin:14px auto 0;}
  .gz-footer-links h3,.gz-footer-news h3{font-size:16px!important;margin-bottom:21px!important;text-align:center;}
  .gz-footer-links h3:after,.gz-footer-news h3:after{left:50%;transform:translateX(-50%);}
  .gz-footer-linkgrid{gap:14px 18px;justify-items:center;}
  .gz-footer-linkgrid a{font-size:14px;padding-left:0;text-align:center;}
  .gz-footer-linkgrid a:before{display:none;}
  .gz-footer-socials{justify-content:center;}
  .gz-footer-socials a{width:42px;height:42px;}
  .gz-footer-static-form{display:block;max-width:420px;margin:22px auto 0;}
  .gz-footer-static-form button{width:100%;margin-top:9px;}
  #gz-footer-pro .wpforms-field-container{display:block!important;}
  #gz-footer-pro .wpforms-submit-container{margin-top:9px!important;}
  #gz-footer-pro button.wpforms-submit{width:100%!important;}
  .gz-footer-news small{text-align:center;}
  .gz-footer-bottom-inner{min-height:auto;padding:20px 0;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-size:12px;text-align:center;}
  .gz-footer-bottom-links{justify-content:center;}
}

/* Responsive safety net — evita estouro horizontal em celular/tablet */
@media (max-width:1024px){
  html,body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  #main,.site-main,.site-content,.ct-container,.ct-container-full,
  article,.entry-content,.entry-content-wrap,
  .gz-home,.gz-videos,.gz-shop,
  #gz-footer-pro,.gz-footer-wrap{
    min-width:0!important;
    max-width:100%!important;
  }

  img,video,iframe,embed,object,table{
    max-width:100%!important;
  }

  .entry-content *,
  .gz-home *,
  .gz-videos *,
  .gz-shop *,
  #gz-footer-pro *{
    min-width:0;
  }

  .entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,
  .entry-content p,.entry-content a,.entry-content li,
  .gz-home h1,.gz-home h2,.gz-home h3,.gz-home h4,.gz-home p,.gz-home a,.gz-home span,
  .gz-videos h1,.gz-videos h2,.gz-videos h3,.gz-videos p,.gz-videos a,.gz-videos span,
  .gz-shop h1,.gz-shop h2,.gz-shop h3,.gz-shop h4,.gz-shop p,.gz-shop a,.gz-shop span{
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    hyphens:auto;
  }

  .ct-container,.ct-container-full,
  .entry-content,.entry-content-wrap{
    box-sizing:border-box!important;
  }

  .entry-content > *,
  .wp-block-group,.wp-block-cover,.wp-block-columns,.wp-block-column,
  .elementor,.elementor-section,.elementor-container,.elementor-column,.elementor-widget-wrap{
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  pre,code{
    max-width:100%!important;
  }
  pre{
    overflow-x:auto!important;
  }
}

@media (max-width:768px){
  .wp-block-columns{
    flex-wrap:wrap!important;
  }
  .entry-content table{
    display:block!important;
    width:100%!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
  }
}
