/**
 * Theme Name: Pedagogia de Ideias Child
 * File Name: theme-global.css
 * Description: Estilos globais do tema (menu, footer, colunas, responsividade)
 * Author: Thiago Tracanella Ribeiro
 * Version: 1.2
 */

/* ===========================================================
   🌍 GLOBAL BASE – AJUSTES ESTRUTURAIS
   =========================================================== */

.primary-text { color: var(--primary-color); }

img.woocommerce_thumbnail { content-visibility: auto; }
img[data-lazyloaded] { opacity: 0; }
img.litespeed-loaded {
    transition: opacity .5s linear 0.2s;
    opacity: 1;
}

.flex-col.flex-grow.medium-text-center { margin-top: 10px; }
.flex-col:empty { display: none; }
.flex-col { padding: 0; margin: 10px 0; }

.category-filter-row {
    padding: 5px;
    margin-top: 10px;
    margin-bottom: -20px;
}

.class-that-is-causing-space { margin: 0; padding: 0; }

.category-filtering { margin: 0 !important; }
.category-filtering .filter-button {
    display: inline-block;
    margin-bottom: 15px !important;
}
@media (max-width: 768px) {
  .category-filtering { display: none !important; }
}


/* ===========================================================
   🧭 MENU PRINCIPAL
   =========================================================== */
.nav > li > a {
  font-weight: 600;
  font-size: 14px;
  color: #222 !important;
  padding: 8px 14px !important;
  border-radius: 6px;
  transition: all 0.25s ease;
}
.nav > li > a:hover,
.nav > li.active > a,
.nav > li.current-menu-item > a {
  background-color: #9FB401 !important;
  color: #000 !important;
}
.html_topbar_left {
  color: #000 !important;
  font-weight: 600;
}

/* ===========================================================
   🧩 AJUSTES GERAIS WOO – BREADCRUMB, COLUNAS E TÍTULOS
   =========================================================== */

.woocommerce-breadcrumb {
  margin-top: 20px;
}

.flex-col:empty { display: none; }

.flex-col {
  padding: 0;
  margin: 10px 0;
}

.header .flex-col,
.header-wrapper .flex-col {
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.page-title-inner {
  padding: 0 !important;
  margin: 0 !important;
}

@media (max-width: 768px) {
  .page-title-inner { padding: 0; }
}

.order-again { display: none !important; }

/* ===========================================================
   🧭 AJUSTES DO HEADER – MENU E LOGO
   =========================================================== */

/* Aumenta a faixa amarela */
.header-bottom {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* Melhora aparência dos botões */
.header-bottom .nav > li > a {
  padding: 10px 18px !important;
  font-weight: 700;
}

/* Remove espaços laterais e centraliza logo */
.header-wrapper .flex-col {
  margin: 0 !important;
  padding: 0 !important;
}

.header-inner {
  align-items: center;
  justify-content: center;
}

/* Remove colunas vazias (ex: ícones laterais) */
.header-inner .flex-col:empty {
  display: none !important;
}

/* Mobile – centraliza logo e mantém menu hambúrguer visível */
@media (max-width: 768px) {
  .header-bottom {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
  .header-inner {
    align-items: center;
    justify-content: space-between;
  }
  .header-bottom .nav > li > a {
    font-size: 13px;
    padding: 8px 10px !important;
  }
}

/* ===========================================================
   🦶 RODAPÉ ELEGANTE
   =========================================================== */
.footer-elegante {
  background: #f9f9f9;
  border-top: 3px solid #bcc802;
  padding: 40px 0 10px;
  font-family: 'Poppins', sans-serif;
  color: #333;
}
.footer-content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 800px;
  margin: auto;
  padding: 0 20px;
  gap: 40px;
}
.footer-col {
  flex: 1;
  min-width: 240px;
  text-align: center;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col ul li a:hover { color: #9FB401; }
.social-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}
.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
.social-icons a:hover {
  background: #9FB401;
  color: #fff;
  transform: translateY(-3px);
}
.social-icons svg {
  width: 22px;
  height: 22px;
  aspect-ratio: 1 / 1;
  fill: currentColor;
}
.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #777;
  margin-top: 25px;
  border-top: 1px solid #e5e5e5;
  padding-top: 15px;
}
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  .social-icons a {
    width: 44px;
    height: 44px;
  }
}
.footer-bottom,
.footer-bottom a,
.footer-elegante,
.footer-elegante a {
  color: #111 !important;
}

/* ===========================================================
   🎨 AJUSTES DE CATEGORIA E RESPONSIVIDADE
   =========================================================== */
.product-category .category,
.product-small .category {
  color: #000 !important;
  text-shadow: 0 0 3px rgba(255,255,255,0.7);
}

/* ===========================================================
   📱 AJUSTES RESPONSIVOS
   =========================================================== */
@media (max-width: 1024px) {
  .page-title-inner { padding-top: 0px; }
  .featured-title .page-title-inner { padding-bottom: 0px; }
}
@media (max-width: 768px) {
  .page-title-inner { padding-top: 0px; }
  .featured-title .page-title-inner { padding-bottom: 0px; }
  .category-filter-row { padding-top: 0px; margin-top: 10px; margin-bottom: -20px; }
}

/* =======================================
   🧩 PRODUTOS RELACIONADOS PERSONALIZADOS
   ======================================= */
.pedagogia-relacionados-titulo {
  text-align: center;
  font-size: 18px;
  color: #2c3e50;
  margin: 40px 0 20px;
  font-weight: 700;
  letter-spacing: 0.3px;
  position: relative;
}
.pedagogia-relacionados-titulo strong {
  background: linear-gradient(90deg, #f0c816, #bcc802);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 768px) {
  .pedagogia-relacionados-titulo {
    font-size: 16px;
    margin: 30px 0 15px;
  }
}


/* === RODAPÉ PRINCIPAL === */

/* === Seção do Mapa === */
.footer-map-section {
  text-align: center;
  font-family: "Poppins", sans-serif;
  padding: 20px 15px 20px;
  background: #fffefe;
  border-top: 1px solid #eee;
}

/* Selo “Conecte-se com a gente” */
.social-label {
  display: inline-block;
  background: #fff8ce;
  color: #2c3e50;
  font-weight: 600;
  padding: 6px 18px;
  border: 2px solid #efc716;
  border-radius: 25px;
  font-size: 13px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mapa da imagem */
.footer-map-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}
.footer-map {
  max-width: 360px;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}
.footer-map:hover {
  transform: scale(1.02);
}

/* Links institucionais */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links a {
  color: #2c3e50;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-links a:hover {
  color: #efc716;
}

/* Créditos */
.footer-copy {
  font-size: 13px;
  color: #555;
  margin: 15px 0 0 0;
  line-height: 1.5;
}
.footer-copy strong {
  color: #2c3e50;
}
.footer-slogan {
  display: block;
  font-style: italic;
  color: #777;
  font-size: 12px;
  margin-top: 4px;
}

/* Responsivo */
@media (max-width: 600px) {
  .footer-map {
    max-width: 280px;
  }
  .footer-links {
    gap: 12px;
  }
}

.absolute-footer {
  display: none !important;
}

#woofc-count {
  bottom: 150px !important; /* ajuste conforme a altura do seu footer */
  right: 20px !important;
  z-index: 9999; /* mantém acima do conteúdo */
}


/* ================================
   SOBRE NÓS – Pedagogia de Ideias
   Coloque em: style.css do child theme
   ou em Aparência > Personalizar > CSS adicional
   ================================= */

/* 1) Variáveis simples de cor (opcional) */
:root{
  --pi-brand: #EFC716;     /* Amarelo da marca */
  --pi-text:  #333333;     /* Texto padrão */
  --pi-title:#2c3e50;      /* Títulos */
  --pi-bg:    #f9f9f9;     /* Fundo do card */
}

/* 2) Container geral da seção */
.about-pedagogia{
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 20px;
  color: var(--pi-text);
  line-height: 1.8;
  /* Se quiser forçar a fonte Poppins, descomente:
  font-family: 'Poppins', sans-serif;
  */
}

/* 3) Cabeçalhos */
.about-pedagogia .about__title{
  text-align: center;
  color: var(--pi-title);
  font-size: 28px;
  margin: 0 0 25px;
}

.about-pedagogia .about__subtitle{
  margin-top: 30px;
  color: var(--pi-title);
  padding-left: 10px;
  border-left: 4px solid var(--pi-brand);
  line-height: 1.4;
}

/* Ajustes de espaçamento para subtítulos seguintes */
.about-pedagogia .about__subtitle + p{
  margin-top: 10px;
}

/* 4) Lista de valores */
.about-pedagogia .about__list{
  margin: 10px 0 0 1.2em;
}

/* 5) Card de CTA / redes sociais */
.about-pedagogia .about__card{
  background: var(--pi-bg);
  border-radius: 12px;
  padding: 20px;
  margin-top: 30px;
  text-align: center;
}

.about-pedagogia .about__card h3{
  color: var(--pi-title);
  margin: 0 0 10px;
}

/* 6) Links de redes – cores da marca + foco/hover acessível */
.about-pedagogia .about__social a{
  color: var(--pi-brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}

.about-pedagogia .about__social a:hover,
.about-pedagogia .about__social a:focus{
  border-bottom-color: var(--pi-brand);
  outline: none;
}

/* 7) Responsividade básica */
@media (max-width: 600px){
  .about-pedagogia{
    padding: 24px 16px;
  }
  .about-pedagogia .about__title{
    font-size: 24px;
    margin-bottom: 20px;
  }
}


/* ============================================
   TERMOS DE USO – Pedagogia de Ideias
   ============================================ */

/* Cores e variáveis da marca */
:root {
  --pi-brand: #EFC716;    /* Amarelo principal */
  --pi-text:  #333;       /* Texto padrão */
  --pi-title: #2c3e50;    /* Títulos */
  --pi-muted: #777;       /* Texto secundário */
}

/* Container principal */
.terms-pedagogia {
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 20px;
  color: var(--pi-text);
  line-height: 1.8;
  font-family: 'Poppins', sans-serif;
}

/* Título principal */
.terms-pedagogia .terms__title {
  text-align: center;
  color: var(--pi-title);
  font-size: 28px;
  margin-bottom: 25px;
}

/* Subtítulos */
.terms-pedagogia .terms__subtitle {
  margin-top: 30px;
  color: var(--pi-title);
  border-left: 4px solid var(--pi-brand);
  padding-left: 10px;
  font-size: 20px;
  line-height: 1.4;
}

/* Parágrafos padrão */
.terms-pedagogia p {
  margin-top: 12px;
}

/* Links */
.terms-pedagogia a {
  color: var(--pi-brand);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.terms-pedagogia a:hover,
.terms-pedagogia a:focus {
  opacity: 0.8;
  outline: none;
}

/* Texto final (última atualização) */
.terms-pedagogia .terms__footer {
  margin-top: 40px;
  font-size: 13px;
  color: var(--pi-muted);
  text-align: center;
}

/* Responsividade */
@media (max-width: 600px) {
  .terms-pedagogia {
    padding: 24px 16px;
  }
  .terms-pedagogia .terms__title {
    font-size: 24px;
  }
}


/* ============================================
   FALE CONOSCO – Pedagogia de Ideias
   ============================================ */

/* Paleta de cores principal */
:root {
  --pi-brand: #EFC716;    /* Amarelo principal */
  --pi-text:  #333;       /* Texto padrão */
  --pi-title: #2c3e50;    /* Títulos */
  --pi-muted: #777;       /* Texto leve */
  --pi-bg:    #f9f9f9;    /* Fundo claro */
}

/* Container principal */
.contact-pedagogia {
  max-width: 820px;
  margin: 0 auto;
  padding: 30px 20px;
  text-align: center;
  color: var(--pi-text);
  line-height: 1.8;
  font-family: 'Poppins', sans-serif;
}

/* Título */
.contact-pedagogia .contact__title {
  color: var(--pi-title);
  font-size: 28px;
  margin-bottom: 20px;
}

/* Links e contatos */
.contact-pedagogia a {
  color: var(--pi-brand);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-pedagogia a:hover,
.contact-pedagogia a:focus {
  opacity: 0.8;
  outline: none;
}

/* Bloco de contatos principais (email/whatsapp) */
.contact-pedagogia .contact__info {
  margin: 30px 0;
}

/* Card de redes sociais */
.contact-pedagogia .contact__card {
  background: var(--pi-bg);
  border-radius: 12px;
  padding: 20px;
  margin-top: 25px;
}

.contact-pedagogia .contact__card h3 {
  color: var(--pi-title);
  margin-bottom: 10px;
}

/* Rodapé do contato */
.contact-pedagogia .contact__footer {
  margin-top: 35px;
  font-size: 14px;
  color: var(--pi-muted);
}

/* Responsividade */
@media (max-width: 600px) {
  .contact-pedagogia {
    padding: 24px 16px;
  }
  .contact-pedagogia .contact__title {
    font-size: 24px;
  }
}



/* ============================================
   POLÍTICA DE TROCAS E REEMBOLSOS
   ============================================ */

:root {
  --pi-brand: #EFC716;   /* Amarelo da marca */
  --pi-text:  #333;      /* Cor padrão do texto */
  --pi-title: #2c3e50;   /* Títulos */
  --pi-muted: #777;      /* Texto leve */
}

/* Container geral */
.refund-pedagogia {
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 20px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.8;
  color: var(--pi-text);
}

/* Título principal */
.refund-pedagogia .refund__title {
  text-align: center;
  color: var(--pi-title);
  font-size: 28px;
  margin-bottom: 25px;
}

/* Subtítulos */
.refund-pedagogia .refund__subtitle {
  margin-top: 30px;
  color: var(--pi-title);
  border-left: 4px solid var(--pi-brand);
  padding-left: 10px;
  line-height: 1.4;
}

/* Listas */
.refund-pedagogia ul {
  margin-top: 10px;
  padding-left: 20px;
}

/* Links */
.refund-pedagogia a {
  color: var(--pi-brand);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.refund-pedagogia a:hover,
.refund-pedagogia a:focus {
  opacity: 0.8;
  outline: none;
}

/* Rodapé */
.refund-pedagogia .refund__footer {
  margin-top: 40px;
  font-size: 13px;
  color: var(--pi-muted);
  text-align: center;
}

/* Responsividade */
@media (max-width: 600px) {
  .refund-pedagogia {
    padding: 24px 16px;
  }
  .refund-pedagogia .refund__title {
    font-size: 24px;
  }
}


/* ============================================
   POLÍTICA DE PRIVACIDADE – Pedagogia de Ideias
   ============================================ */

:root {
  --pi-brand: #EFC716;   /* Amarelo da marca */
  --pi-text:  #333;      /* Texto padrão */
  --pi-title: #2c3e50;   /* Títulos */
  --pi-muted: #777;      /* Texto secundário */
}

/* Container principal */
.privacy-pedagogia {
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 20px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.8;
  color: var(--pi-text);
}

/* Título principal */
.privacy-pedagogia .privacy__title {
  text-align: center;
  color: var(--pi-title);
  font-size: 28px;
  margin-bottom: 25px;
}

/* Subtítulos */
.privacy-pedagogia .privacy__subtitle {
  margin-top: 30px;
  color: var(--pi-title);
  border-left: 4px solid var(--pi-brand);
  padding-left: 10px;
  line-height: 1.4;
}

/* Listas */
.privacy-pedagogia ul {
  margin-top: 10px;
  padding-left: 20px;
}

/* Links */
.privacy-pedagogia a {
  color: var(--pi-brand);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.privacy-pedagogia a:hover,
.privacy-pedagogia a:focus {
  opacity: 0.8;
  outline: none;
}

/* Rodapé da página */
.privacy-pedagogia .privacy__footer {
  margin-top: 40px;
  font-size: 13px;
  color: var(--pi-muted);
  text-align: center;
}

/* Responsividade */
@media (max-width: 600px) {
  .privacy-pedagogia {
    padding: 24px 16px;
  }
  .privacy-pedagogia .privacy__title {
    font-size: 24px;
  }
}
/* ===========================================================
   🔍 BLOCO DE BUSCA PREMIUM – ESPAÇAMENTO AJUSTADO
   =========================================================== */

.pi-bloco-busca-premium {
    background: #f5f7c8;
    padding: 35px 30px 30px; /* 👈 mais respiro superior e inferior */
    border-radius: 10px;
    max-width: 900px;
    margin: 20px auto;
    text-align: center;
    box-shadow: 0 6px 22px rgba(0,0,0,0.07);
    border: 1px solid #eceeba;
}

/* Título com mais espaçamento */
.pi-busca-premium-titulo {
    font-size: 24px;
    color: #1e1e1e;
    margin: 0 0 30px; /* 👈 mais espaço abaixo do título */
    font-weight: 700;
}

/* Wrapper centralizado */
.pi-busca-premium-wrapper {
    max-width: 650px;
    margin: 0 auto;
}

/* Campo de busca */
.pi-bloco-busca-premium input[type="search"],
.pi-bloco-busca-premium input[type="text"] {
    width: 100% !important;
    padding: 17px 22px !important;
    border-radius: 20px 0 0 20px !important;
    border: 1px solid #d4d4d4 !important;
    background: #fff !important;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.10);
    height: 54px !important;
    margin-bottom: 10px;
}

/* Botão */
.pi-bloco-busca-premium button,
.pi-bloco-busca-premium .button {
    height: 54px !important;
    padding: 0 26px !important;
    border-radius: 50px !important;
    background: #f0c816 !important;
    color: #000 !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-weight: 700;
    margin-left: -10px;
}

/* MOBILE */
@media (max-width: 480px) {
    
    .pi-bloco-busca-premium {
        padding: 30px 20px 25px; /* 👈 respiro extra também no mobile */
        margin: 30px 10px;
    }

    .pi-busca-premium-titulo {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .pi-bloco-busca-premium input[type="search"],
    .pi-bloco-busca-premium input[type="text"] {
        height: 40px !important;
        font-size: 14px;
    }

    .pi-bloco-busca-premium button,
    .pi-bloco-busca-premium .button {
        height: 40px !important;
        padding: 0 20px !important;
        font-size: 14px;
        margin-left: 0; /* evita desalinhar no mobile */
    }
}