/* Estilo Geral */
body {
  line-height: 1.6;
  margin: 0 auto;
  padding: 0;
  color: #333;
  font-family: Arial, sans-serif;
}

main {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
}

h1 {
  color: #4A90E2;
}

h2 {
  color: #333333;
}

h3 {
  color: #00000;
}

a {
  text-decoration: none;
  color: #4A90E2;
}

/* Estilo ajustado para listas */
ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 10px 0;
}

ul li {
  margin: 8px 0;
  line-height: 1.5;
  font-size: 16px;
}

ul li strong {
  color: #4A90E2;
}

/* Cabeçalho */
.header {
  background: #ffffff;
  color: #fff;
  padding: 0px 0;
  margin-right: 0px;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .nav {
  display: flex;
  gap: 15px;
}

.header .nav a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.header .nav a:hover {
  text-decoration: underline;
}



.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 180px;
}

.flag {
  width: 24px;
   gap: 6px;                /* controla espaço entre bandeiras */

}


.label {
  color: #000;
}


/* Seções */
.section {
  padding: 40px 20px;
  border-bottom: 1px solid #ddd;
}

.section:nth-child(even) {
  background: #f9f9f9;
}

/* Imagens genéricas */
.image {
  width: 100%;
  max-width: 420px;
  margin: 20px auto;
  display: block;
  border-radius: 10px;
}

/* Layout das Seções (páginas antigas) */
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.content img {
  margin: 20px 0;
}

@media (min-width: 768px) {
  .content {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
  }

  .content img {
    margin: 0 20px;
  }

  .content p {
    flex: 1;
  }
}

/* Rodapé */
.footer {
  background: #fafafa;
  color: #666;
  text-align: center;
  padding: 20px 0;
}

.footer a {
  color: #666;
  margin: 0 10px;
}

/* Botão Flutuante do WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25D366;
  color: #fff;
  border-radius: 30px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
}

.whatsapp-icon {
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-icon img {
  width: 24px;
  height: 24px;
}

.whatsapp-text {
  font-family: Arial, sans-serif;
}

/* Ajuste da seção */
.section {
  padding: 20px 0;
}

/* Estilo para o container flex (seção com imagem + texto) */
.content {
  display: flex;
  align-items: flex-start;
  gap: 220px;
}

/* Estilo para a imagem desse layout */
.image {
  max-width: 360px;
  border-radius: 10px;
  object-fit: cover;
}

/* Estilo para o texto */
.text-content {
  flex: 1;
  text-align: left;
}

.text-content h2 {
  margin: 0;
  font-size: 16px;
  color: #4A90E2;
}

.text-content h3 {
  margin-top: 5px;
  font-size: 14px;
  color: #333;
}

.text-content ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.text-content ul li {
  margin: 5px 0;
}

/* Container do botão para alinhamento */
.whatsapp-container {
  text-align: left;
  margin: 20px 0;
}

/* Estilo do botão do WhatsApp */
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: left;
  background-color: #25D366;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  border-radius: 24px;
  padding: 10px 20px;
  text-decoration: none;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.3);
}

.whatsapp-icon img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.whatsapp-text {
  font-family: Arial, sans-serif;
  white-space: nowrap;
}

/* Menu e Cabeçalho (hambúrguer) */
.nav .toggle {
  display: block;
  font-size: 20px;
  cursor: pointer;
  padding: 10px 15px;
  background-color: #91BDEA;
  color: #fff;
  border: none;
  text-align: left;
  width: 100%;
}

.nav .menu {
  display: none;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #91BDEA;
  width: 100%;
  position: absolute;
  top: 100px;
  left: 0;
}

.nav .menu li {
  border-bottom: 1px solid #91BDEA;
}

.nav .menu a {
  display: block;
  padding: 15px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease;
}

.nav .menu a:hover {
  background-color: #357ABD;
}

.nav.open .menu {
  display: flex;
}

.nav.open + .logo {
  transform: translateY(-150px);
  transition: transform 0.3s ease;
}

.nav.open ~ .content {
  margin-top: 200px;
  transition: margin-top 0.3s ease;
}

/* Logo */
.logo {
  text-align: center;
  padding: 10px 0;
  color: #fff;
}

/* Conteúdo Principal (override genérico) */
.content {
  padding: 0px;
}

/* Responsividade menu .nav */
@media (min-width: 768px) {
  .nav .toggle {
    display: none;
  }

  .nav .menu {
    display: flex;
    flex-direction: row;
    position: static;
    width: auto;
  }

  .nav.open + .logo {
    transform: translateY(0);
  }

  .nav.open ~ .content {
    margin-top: 0;
  }

  .nav .menu a {
    padding: 10px 20px;
    text-align: left;
    border: none;
  }
}

/* Colunas de links de rodapé */
.columns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.column {
  flex: 1;
}

.column a {
  text-decoration: none;
  color: #007BFF;
  font-size: 14px;
}

.column a:hover {
  text-decoration: underline;
}

.phone_info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: #91BDEA;
  border: 1px solid #91BDEA;
  color: #357ABD;
}

.phone_info a {
  color: #333;
  font-size: 16px;
}

/* Variáveis */
:root {
  --bg-nav: #ffffff;
  --bg-body: #f5f5f5;
  --text-light: #000000;
  --text-dark: #000000;
  --border-light: #dddddd;
  --hover-bg: #f0f0f0;
  --accent: #f5a623;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--bg-body);
}

/* Barra do menu superior */
.top-nav {
  background: var(--bg-nav);
  color: var(--text-light);
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 48px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.top-nav .logo {
  font-weight: bold;
  margin-right: 16px;
  font-size: 18px;
  white-space: nowrap;
}

.menu {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: stretch;
  flex: 1;
}

.menu-item {
  position: relative;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  user-select: none;
  padding: 4px 0;
  cursor: pointer;
}

.menu-item > span.label {
  padding: 4px 0;
}

.menu-item span.arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.menu-item.open span.arrow {
  transform: rotate(180deg);
}

/* Dropdown base */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  padding: 8px 0;
  display: none;
  z-index: 1000;
  min-width: 220px;
}

.menu-item.open .dropdown {
  display: block;
}

/* Multi-colunas dentro do dropdown */
.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.dropdown-section {
  border-right: 1px solid var(--border-light);
}

.dropdown-section:last-child {
  border-right: none;
}

.dropdown-title {
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  padding: 6px 12px;
  color: #666;
}

.dropdown-item {
  padding: 8px 12px;
  font-size: 14px;
  white-space: nowrap;
}

.dropdown-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.dropdown-item:hover {
  background: var(--hover-bg);
}

.dropdown-item a:hover {
  color: var(--accent);
}

/* Conteúdo genérico test */
.content {
  padding: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.content h1 {
  margin-top: 24px;
}

/* Botão Hambúrguer topo */
.menu-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 0;
  padding: 4px;
  cursor: pointer;
}

.menu-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-light);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Animação botão aberto */
.top-nav.menu-open .menu-toggle .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.top-nav.menu-open .menu-toggle .bar:nth-child(2) {
  opacity: 0;
}

.top-nav.menu-open .menu-toggle .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Desktop: hover */
@media (min-width: 769px) {
  .menu-item:hover .dropdown {
    display: block;
  }
  .menu-item:hover span.arrow {
    transform: rotate(180deg);
  }
}

/* Mobile: menu hambúrguer + dropdown */
@media (max-width: 768px) {
  .top-nav {
    flex-wrap: wrap;
    height: auto;
    padding: 8px 12px;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    margin-top: 8px;
  }

  .top-nav.menu-open .menu {
    display: flex;
  }

  .menu-item {
    width: 100%;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    border-radius: 4px;
    margin-top: 4px;
  }

  .dropdown-grid {
    grid-template-columns: 1fr;
  }

  .dropdown-section {
    border-right: none;
    border-top: 1px solid var(--border-light);
  }

  .dropdown-section:first-child {
    border-top: none;
  }
}

/* 2 columns layout (artigo + sidebar) */
.page-container {
  max-width: 1200px;
  margin: 0px auto;
  padding: 0 0px;
}

.layout-2cols {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.main-content {
  flex: 0 0 80%;
  max-width: 80%;
  background: #ffffff;
  padding: 16px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

.sidebar-right {
  flex: 0 0 20%;
  max-width: 20%;
  background: #fafafa;
  padding: 16px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

.sidebar-right h3 {
  margin-top: 0;
  font-size: 14px;
  text-transform: uppercase;
}

/* Responsivo: empilha colunas */
@media (max-width: 768px) {
  .layout-2cols {
    flex-direction: column;
  }

  .main-content,
  .sidebar-right {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* home blocs */
.blog-section {
  max-width: 1200px;
  margin: 40px auto 60px;
  padding: 0 24px;
}

.blog-section h2 {
  font-size: 32px;
  margin-bottom: 8px;
  text-align: left;
}

.blog-section .subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 32px;
  max-width: 800px;
}

.blog-section .related-label {
  font-size: 14px;
  color: #777;
  margin-bottom: 12px;
}

.blog-cards-wrapper {
  position: relative;
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
}

.blog-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  overflow: hidden;
  min-width: 260px;
  display: flex;
  flex-direction: column;
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-card-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.blog-card-desc {
  font-size: 14px;
  color: #555;
  margin: 0 0 8px;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.blog-tag {
  font-size: 11px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid #c9d4ff;
  color: #005be0;
  background: #f4f7ff;
  white-space: nowrap;
}

/* Botão de scroll (seta) */
.blog-scroll-right {
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.blog-scroll-right span {
  font-size: 20px;
  color: #007aff;
}

/* Responsivo cards */
@media (max-width: 1024px) {
  .blog-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .blog-section h2 {
    font-size: 26px;
  }

  .blog-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-scroll-right {
    right: 0;
  }
}

@media (max-width: 560px) {
  .blog-cards {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/* Botão YouTube */
.btn-youtube {
  display: inline-block;
  background-color: #ff0000;
  color: #fff;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s, transform 0.2s;
  font-family: Arial, Helvetica, sans-serif;
}

.btn-youtube:hover {
  background-color: #cc0000;
  transform: scale(1.05);
}

.btn-youtube:active {
  transform: scale(0.98);
}

.article {
  color: #336699;
}

/* === Imagem de categoria (ARTIGO) – RESPONSIVA (BASE) === */
.category-image {
  margin: 0 0 1.5rem;
  text-align: center;
}

.category-image img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* título logo depois da imagem */
.category-image + p {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* Garante que qualquer imagem no artigo não estoure o container */
.main-content img {
  max-width: 100%;
  height: auto;
}

/* Box da busca Google */
.search-wrapper {
  margin: 0px auto;
  padding: 20px 15px;
  background-color: #fff;
}

.search-wrapper .gsc-control-cse {
  padding: 0;
  border: none;
}

.search-wrapper table,
.search-wrapper td {
  margin: 0 auto;
}

/* === Destaque da Home (grid com destaque + lista lateral) === */

.home-highlight {
  margin: 20px auto 30px auto;
}

.home-highlight-grid {
  display: grid;
  grid-template-columns: 2fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

/* Card principal (esquerda) */
.highlight-main {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.highlight-main-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.highlight-main-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.highlight-main-content {
  padding: 16px 18px 18px 18px;
}

.highlight-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a90e2;
  margin-bottom: 6px;
}

.highlight-title {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 8px 0;
  color: #111111;
}

.highlight-subtitle {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 10px 0;
  color: #555555;
}

.highlight-meta {
  font-size: 12px;
  color: #777777;
}

/* Lista lateral (direita) */
.highlight-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-item {
  padding: 10px 0;
  border-bottom: 1px solid #e2e2e2;
}

.side-item:last-child {
  border-bottom: none;
}

.side-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.side-category {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a90e2;
  margin-bottom: 4px;
}

.side-title {
  font-size: 15px;
  line-height: 1.4;
  margin: 0 0 4px 0;
  color: #111111;
}

.side-meta {
  font-size: 11px;
  color: #777777;
}

/* Hover destaque */
.highlight-main-link:hover .highlight-title,
.side-link:hover .side-title {
  text-decoration: underline;
}

/* Responsivo destaque home */
@media (max-width: 900px) {
  .home-highlight-grid {
    grid-template-columns: 1fr;
  }

  .highlight-main-image img {
    height: 210px;
  }
}

/* YouTube section */
.youtube-videos .videos-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.youtube-videos .video-card {
  flex: 1 1 22%;
  min-width: 180px;
  max-width: 260px;
  text-decoration: none;
  color: #222;
  font-family: Arial, sans-serif;
}

.youtube-videos .video-card img {
  width: 100%;
  display: block;
  border-radius: 6px;
}

.youtube-videos .video-title {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
}

/* === AJUSTE FINAL: category-image cortando no centro e até 480px === */

.main-content .category-image {
  max-width: 480px;          /* largura máxima */
  width: 100%;               /* ocupa 100% até 480px */
  margin: 0 auto 1.5rem;     /* centraliza */
  overflow: hidden;          /* esconde o excesso (cima/baixo) */
}

.main-content .category-image img {
  width: 100%;
  height: 320px;             /* altura fixa -> força o corte */
  object-fit: cover;         /* corta mantendo proporção */
  object-position: center;   /* corta pelo centro */
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}





/* Para garantir que o grid funcione */
.index-grid {
    display: grid !important;
    width: 100%;
}

/* Cards */
.index-card {
    background: #fff;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #eee;
}


/* 4 colunas (desktop) */
.index-grid.columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* 2 colunas (tablet) */
.index-grid.columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

/* 1 coluna (mobile) */
@media(max-width: 768px) {
    .index-grid.columns-4,
    .index-grid.columns-2 {
        grid-template-columns: 1fr !important;
    }
}


.index-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}


.index-card-title-link {
  color: #111;
  text-decoration: none;
}

.index-card-title-link:hover {
  color: #4A90E2;
}

.index-card-text {
  color: #ccc;
  text-decoration: none;
}

.index-card-category {
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: #c00; /* aqui você troca a cor da categoria */
}

.index-pagination-link,
.index-pagination-prev,
.index-pagination-next {
  text-decoration: none;
  color: #4A90E2;
}


.code-block{
  position:relative;
  margin:16px 0;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
}
.code-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 12px;
  background:rgba(0,0,0,.04);
  font:14px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial;
}
.code-lang{ opacity:.75; font-weight:400; }
.copy-btn{
  border:0;
  padding:8px 10px;
  border-radius:10px;
  cursor:pointer;
  background:white;
  box-shadow:0 1px 2px rgba(0,0,0,.08);
}
.copy-btn:active{ transform:scale(.98); }
.code-block pre{
  margin:0;
  padding:14px 12px;
  overflow:auto;
}
.code-block code{
  display:block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size:13px;
  white-space:pre;
}


