/* ===== MELHORIAS GLOBAIS TENHA MAIS SAÚDE ===== */

/* Tipografia e cores base */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  line-height: 1.6 !important;
  color: #2C3E50 !important;
  background-color: #FFFFFF !important;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: #2C3E50 !important;
  margin-bottom: 1rem !important;
}

h1 { font-size: 2.5rem !important; }
h2 { font-size: 2rem !important; }
h3 { font-size: 1.5rem !important; }
h4 { font-size: 1.25rem !important; }
h5 { font-size: 1.1rem !important; }
h6 { font-size: 1rem !important; }

p {
  margin-bottom: 1.2rem !important;
  line-height: 1.7 !important;
  color: #2C3E50 !important;
}

/* Links e cores */
a {
  color: #4CAF50 !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

a:hover {
  color: #2E7D32 !important;
  text-decoration: underline !important;
}

/* ===== CARDS DE BLOG ===== */
article,
.ct-blog-post-card,
.post {
  background: #FFFFFF !important;
  border-radius: 8px !important;
  padding: 1.5rem !important;
  margin-bottom: 2rem !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease !important;
  border: 1px solid #E8E8E8 !important;
}

article:hover,
.ct-blog-post-card:hover,
.post:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
  transform: translateY(-2px) !important;
  border-color: #4CAF50 !important;
}

/* Títulos de artigos */
article h2,
.ct-blog-post-card h2,
.post h2 {
  margin-top: 0 !important;
  margin-bottom: 0.8rem !important;
  color: #2C3E50 !important;
  font-size: 1.5rem !important;
  line-height: 1.4 !important;
}

article h2 a,
.ct-blog-post-card h2 a,
.post h2 a {
  color: #2C3E50 !important;
  transition: color 0.3s ease !important;
}

article h2 a:hover,
.ct-blog-post-card h2 a:hover,
.post h2 a:hover {
  color: #4CAF50 !important;
  text-decoration: none !important;
}

/* Excerpts e descrições */
.ct-blog-post-excerpt,
.excerpt,
.post-excerpt {
  color: #555555 !important;
  line-height: 1.7 !important;
  margin-bottom: 1rem !important;
}

/* ===== CATEGORIAS E TAGS ===== */
.cat-links,
.tag-links,
.post-categories,
.post-tags {
  margin-bottom: 1rem !important;
}

.cat-links a,
.tag-links a,
.post-categories a,
.post-tags a {
  display: inline-block !important;
  background: #E8F5E9 !important;
  color: #2E7D32 !important;
  padding: 0.4rem 0.8rem !important;
  border-radius: 4px !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  margin-right: 0.5rem !important;
  margin-bottom: 0.5rem !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.cat-links a:hover,
.tag-links a:hover,
.post-categories a:hover,
.post-tags a:hover {
  background: #4CAF50 !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
}

/* ===== MENU DE NAVEGAÇÃO ===== */
nav,
.ct-header-nav,
.menu {
  background-color: #FFFFFF !important;
  border-bottom: 1px solid #E0E0E0 !important;
}

nav a,
.ct-header-nav a,
.menu a {
  color: #2C3E50 !important;
  font-weight: 500 !important;
  transition: color 0.3s ease !important;
  padding: 0.5rem 1rem !important;
  display: inline-block !important;
}

nav a:hover,
.ct-header-nav a:hover,
.menu a:hover {
  color: #4CAF50 !important;
  text-decoration: none !important;
}

nav a.active,
.ct-header-nav a.active,
.menu a.active {
  color: #4CAF50 !important;
  border-bottom: 2px solid #4CAF50 !important;
}

/* ===== RODAPÉ ===== */
footer,
.ct-footer {
  background: #F5F5F5 !important;
  padding: 2rem !important;
  margin-top: 3rem !important;
  border-top: 1px solid #E0E0E0 !important;
}

footer a,
.ct-footer a {
  color: #4CAF50 !important;
}

footer a:hover,
.ct-footer a:hover {
  color: #2E7D32 !important;
}

/* ===== ESPAÇAMENTO E LAYOUT ===== */
.ct-container,
.container,
main {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 1rem !important;
}

section {
  margin-bottom: 3rem !important;
  padding: 2rem 0 !important;
}

/* ===== BOTÕES ===== */
button,
.button,
.ct-button,
input[type="submit"],
input[type="button"] {
  background-color: #4CAF50 !important;
  color: #FFFFFF !important;
  padding: 0.8rem 1.5rem !important;
  border: none !important;
  border-radius: 4px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  font-size: 1rem !important;
}

button:hover,
.button:hover,
.ct-button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background-color: #2E7D32 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3) !important;
}

/* ===== FORMULÁRIOS ===== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select {
  border: 1px solid #D0D0D0 !important;
  border-radius: 4px !important;
  padding: 0.8rem !important;
  font-family: inherit !important;
  font-size: 1rem !important;
  transition: border-color 0.3s ease !important;
  width: 100% !important;
  max-width: 100% !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
  outline: none !important;
  border-color: #4CAF50 !important;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1) !important;
}

/* ===== IMAGENS ===== */
img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
}

.ct-image-container,
.image-container,
figure {
  margin-bottom: 1.5rem !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem !important; }
  h2 { font-size: 1.4rem !important; }
  h3 { font-size: 1.2rem !important; }
  
  article,
  .ct-blog-post-card,
  .post {
    padding: 1rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .ct-container,
  .container,
  main {
    padding: 0 0.5rem !important;
  }
  
  section {
    padding: 1rem 0 !important;
    margin-bottom: 2rem !important;
  }
  
  nav a,
  .ct-header-nav a,
  .menu a {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.9rem !important;
  }
  
  button,
  .button,
  .ct-button,
  input[type="submit"],
  input[type="button"] {
    padding: 0.6rem 1.2rem !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem !important; }
  h2 { font-size: 1.2rem !important; }
  h3 { font-size: 1rem !important; }
  
  body {
    font-size: 0.95rem !important;
  }
  
  article,
  .ct-blog-post-card,
  .post {
    padding: 0.8rem !important;
    margin-bottom: 1rem !important;
  }
  
  .cat-links a,
  .tag-links a,
  .post-categories a,
  .post-tags a {
    font-size: 0.75rem !important;
    padding: 0.3rem 0.6rem !important;
  }
}

/* ===== UTILITÁRIOS ===== */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }

.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }

.p-1 { padding: 0.5rem !important; }
.p-2 { padding: 1rem !important; }
.p-3 { padding: 1.5rem !important; }
.p-4 { padding: 2rem !important; }