/* Fonte forçada nos textos e Font Awesome nos ícones */
p, span, h1, h2, h3, h4, h5, ul, a {
  font-family: 'Merriweather Sans', sans-serif !important;
}
.fa, .fas, .far, .fal, .fak, [class*="fa-"], [class^="fa-"] {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}
.fab, [class*="fa-brands"], [class^="fab"] {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}
.font-merriweather { font-family: 'Merriweather Sans', sans-serif !important; }

/* Cores utilitárias do padrão SOLOWEB */
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.border-primary { border-color: var(--primary-color) !important; }

/* Scroll */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 4px;
}

/* Animações */
@keyframes fadeInUp   { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight{ from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes float      { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes bounce-whatsapp { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.animate-fade-in-up   { animation: fadeInUp .8s ease-out; }
.animate-fade-in-right{ animation: fadeInRight .8s ease-out .2s both; }
.animate-float        { animation: float 3s ease-in-out infinite; }

/* Títulos de seção */
.section-title {
  font-size: 2.25rem; line-height: 1.15; font-weight: 700;
  text-align: center; margin-bottom: 1.5rem; color: #1f2937;
}
@media (min-width: 1024px) { .section-title { font-size: 3rem; } }
.section-title-light { color: #fff; }

/* Cards */
.service-card {
  background: #fff; padding: 2rem; border-radius: 1.5rem;
  border: 1px solid #f3f4f6;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1);
  transition: transform .4s ease, box-shadow .4s ease;
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }
.service-card i { transition: transform .3s ease; }
.service-card:hover i { transform: scale(1.1) rotate(5deg); }

/* Serviços sobre fundo primário */
.services-section .service-card {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  box-shadow: none;
  color: #fff;
}
.services-section .service-card h3 { color: #fff; }
.services-section .service-card p { color: rgba(255,255,255,.9); }
.services-section .service-card .icon-bg { background: #fff; color: var(--primary-color); }
.services-section .service-card:hover { background: rgba(255,255,255,.14); box-shadow: 0 25px 50px -12px rgba(0,0,0,.35); }

/* FAQ */
.faq-item { transition: box-shadow .3s ease; }
.faq-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.faq-question.active i { transform: rotate(180deg); }

/* Header sticky */
#main-header { backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
@media (min-width: 768px) {
  #main-header.scrolled {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255,255,255,.97) !important;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.1);
  }
  #main-header.scrolled .nav-link { color: #1f2937 !important; }
}

/* Rich text (posts e conteúdos) */
.rich-text p { margin-bottom: .75em; }
.prose-content p { margin-bottom: 1.15em; line-height: 1.85; color: #374151; }
.prose-content strong, .prose-content b { font-weight: 700; color: #1f2937; }
.prose-content h2 { font-size: 1.75rem; font-weight: 700; color: #1f2937; margin: 1.8em 0 .7em; line-height: 1.25; }
.prose-content h3 { font-size: 1.35rem; font-weight: 700; color: #1f2937; margin: 1.5em 0 .5em; }
.prose-content h4 { font-size: 1.1rem; font-weight: 700; color: #1f2937; margin: 1.2em 0 .4em; }
.prose-content ul { list-style: disc; margin: .5em 0 1.2em 1.4em; }
.prose-content ol { list-style: decimal; margin: .5em 0 1.2em 1.4em; }
.prose-content li { margin-bottom: .4em; line-height: 1.75; color: #374151; }
.prose-content blockquote { border-left: 4px solid var(--primary-color); background: #f6f8f6; padding: 1rem 1.25rem; margin: 1.2em 0; color: #374151; border-radius: 0 .75rem .75rem 0; }
.prose-content a { color: var(--accent-color); text-decoration: underline; }
.prose-content img { width: 100%; height: auto; border-radius: 1rem; margin: 1.5rem 0; }
.prose-content figure { margin: 1.5rem 0; }
.prose-content figcaption { font-size: .875rem; color: #6b7280; text-align: center; margin-top: .5rem; }

/* Post cards */
.post-card {
  background: #fff; border-radius: 1.25rem; overflow: hidden;
  border: 1px solid #eef0ee; box-shadow: 0 10px 15px -3px rgba(0,0,0,.06);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -12px rgba(0,0,0,.18); }
.post-card img { width: 100%; height: 210px; object-fit: cover; }
.post-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }

/* Badge / data */
.badge {
  display: inline-block; background: rgba(33,78,58,.1); color: var(--primary-color);
  padding: .3rem .8rem; border-radius: 999px; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
}

/* Breadcrumb */
.breadcrumb { font-size: .875rem; color: #6b7280; }
.breadcrumb a { color: var(--primary-color); }
.breadcrumb span { margin: 0 .35rem; }

/* Contato */
.contact-card {
  background: #fff; border-radius: 1.25rem; padding: 1.5rem;
  border: 1px solid #eef0ee; box-shadow: 0 10px 15px -3px rgba(0,0,0,.06);
}
.contact-card i { color: var(--primary-color); }

/* Mapa */
.map-wrap { border-radius: 1.25rem; overflow: hidden; box-shadow: 0 10px 15px -3px rgba(0,0,0,.12); }
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }

/* Galeria e lightbox */
.gallery-item { cursor: pointer; border-radius: 1rem; overflow: hidden; }
.gallery-item img { transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* WhatsApp flutuante */
.whatsapp-btn {
  display: flex !important; align-items: center !important; justify-content: center !important;
  width: 70px !important; height: 70px !important;
  background: #25d366 !important; border-radius: 50% !important;
  color: #fff !important; font-size: 42px !important; text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(37,211,102,.5) !important;
  transition: all .3s ease !important;
  animation: bounce-whatsapp .5s ease-in-out !important;
}
.whatsapp-btn:hover { background: #20ba5a !important; transform: scale(1.15) !important; }

/* Acessibilidade */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.sr-only:focus {
  position: fixed; top: 10px; left: 10px; width: auto; height: auto;
  margin: 0; padding: .75rem 1rem; clip: auto; white-space: normal;
  background: #fff; color: #1f2937; z-index: 10000; border-radius: .5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
:focus-visible { outline: 3px solid var(--accent-color); outline-offset: 3px; }

/* WhatsApp flutuante à esquerda */
.whatsapp-btn.whatsapp-float {
  position: fixed !important;
  left: 24px;
  right: auto !important;
  bottom: 24px;
  z-index: 60;
}
@media (max-width: 767px) {
  .whatsapp-btn.whatsapp-float {
    left: 18px;
    right: auto !important;
    bottom: 20px;
  }
}

/* Responsivo */
@media (max-width: 767px) {
  .section-title { font-size: 1.9rem; }
  .whatsapp-btn { width: 58px !important; height: 58px !important; font-size: 34px !important; bottom: 20px !important; right: 18px !important; }
}
