
/* Reset básico */
body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, sans-serif;
  background-color: #f9fafb;
  color: #1f2937;
}
html {
  scroll-behavior: smooth;
}

/* Cabeçalho hero */
header.hero-principal {
  background: linear-gradient(to right, #2a6da8, #44c6d6);
  color: white;
  text-align: center;
  padding: 80px 20px 60px;
}
header h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
header p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}
.botao-whatsapp {
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  background-color: #25d366;
  color: white;
  padding: 14px 28px;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s;
}
.botao-whatsapp:hover {
  background-color: #1ebe5d;
}

/* Layout da seção principal */
.section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.section h2 {
  text-wrap: balance;
  text-align: center;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 15px;
  color: #1f2937;
}
.section-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 60px;
  align-items: flex-start;
}
.col-esquerda, .col-direita {
  width: 50%;
}
@media (max-width: 900px) {
  .section-grid {
    flex-wrap: wrap;
  }
  .col-esquerda, .col-direita {
    width: 100%;
  }
}

/* Estilo dos blocos de contato */
.info-contato {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.item-contato {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  display: flex;
  gap: 15px;
  align-items: flex-start;
  transition: transform 0.3s;
}
.item-contato:hover {
  transform: translateY(-5px);
}
.item-contato i {
  background: #e0ecff;
  color: #2563eb;
  font-size: 1.3rem;
  padding: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.item-contato div {
  font-size: 0.95rem;
  line-height: 1.5;
}
.item-contato strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

/* Texto explicativo à esquerda */
.descricao-contato {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 30px;
  max-width: 90%;
}

/* Redes sociais */
.redes-sociais {
  display: flex;
  gap: 15px;
  margin-top: 8px;
}
.redes-sociais a {
  font-size: 1.2rem;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.redes-sociais a[aria-label="LinkedIn"] {
  background-color: #0077b5;
}
.redes-sociais a[aria-label="Facebook"] {
  background-color: #1877f2;
}
.redes-sociais a[aria-label="Instagram"] {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.redes-sociais a[aria-label="Blog"] {
  background-color: #f97316;
}
.redes-sociais a:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* Blog */
.blog-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 30px;
  padding: 10px;
}

.blog-preview article {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-preview article:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.blog-preview article img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #e5e7eb;
}

.blog-preview article h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin: 16px 16px 8px;
  line-height: 1.4;
}

.blog-preview article h3 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.blog-preview article h3 a:hover {
  color: #2563eb;
}

.blog-preview article p {
  font-size: 0.95rem;
  color: #4b5563;
  margin: 0 16px 20px;
  line-height: 1.5;
}

/* Rodapé */
.site-footer {
  background-color: #111827;
  color: #d1d5db;
  padding: 40px 20px;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 960px;
  margin: auto;
}
.footer-column {
  flex: 1 1 45%;
  margin-bottom: 20px;
}
.footer-column h4 {
  color: #fff;
  margin-bottom: 10px;
}
.footer-column p,
.footer-column ul li a {
  color: #d1d5db;
  font-size: 0.95rem;
}
.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 20px;
}

/* Correção: impedir que ícones sociais herdem estilo do .item-contato */
.item-contato .redes-sociais i {
  background: none !important;
  padding: 0 !important;
  font-size: 1.1rem !important;
  color: white !important;
}

/* Remove sublinhado dos ícones das redes sociais */
.redes-sociais a {
  text-decoration: none !important;
}

/* Títulos em maiúsculas nos blocos de contato */
.item-contato strong {
  text-transform: uppercase;
}
.descricao-contato {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 30px;
  max-width: 90%;
}
.botao-chamada {
  display: inline-block;
  margin-top: 6px;
  background-color: #2563eb;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s;
}
.botao-chamada:hover {
  background-color: #1e4ed8;
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
}
.blog-preview-grid article {
  background: #f4f4f4;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s;
}
.blog-preview-grid article:hover {
  transform: translateY(-4px);
}
.blog-preview-grid h3 {
  font-size: 1rem;
  color: #003366;
  margin: 0 0 8px;
}
.blog-preview-grid p {
  color: #4b5563;
  font-size: 0.9rem;
  margin: 0;
}
.blog-preview-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.blog-preview-grid a {
  text-decoration: none;
  color: inherit;
}
.blog-preview img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.botao-whatsapp:focus,
.botao-chamada:focus {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}
