/* ============================================================================
   DR. CARLOS PARRA - CSS SITE MULTI-PAGINA (2026)
   Complementa styles.css com estilos para novas paginas e blog
   ============================================================================ */

/* ==================== VARIAVEIS (ja definidas em styles.css) ==================== */

/* ==================== WHATSAPP FLOATING BUTTON ==================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
  color: #fff;
}

/* ==================== FOOTER ATUALIZADO ==================== */
.footer {
  background: #000 !important;
  border-top: 1px solid var(--border-soft);
  padding: 3rem 0 2rem !important;
  margin-top: 0 !important;
}

.footer-content {
  text-align: left !important;
  max-width: 100% !important;
}

.footer-main {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-soft);
}

.footer-main .footer-logo {
  margin: 0;
  flex-shrink: 0;
  opacity: 0.9;
}

.footer-main .footer-nome {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.3rem;
}

.footer-main .footer-especialidade {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.5;
  margin: 0;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-soft);
}

.footer-nav-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
}

.footer-nav-col a {
  display: block;
  color: var(--text-soft);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.footer-nav-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
}

.footer-bottom .footer-aviso {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
  margin: 0 0 0.75rem;
  border-top: none;
  padding-top: 0;
}

.footer-bottom .footer-copy {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin: 0;
}

/* ==================== SECOES GENERICAS ==================== */
.section {
  padding: 5rem 0;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-soft), transparent);
}

.section-dark { background: var(--bg-section-dark); }
.section-medium { background: var(--bg-section-medium); }
.section-light { background: var(--bg-section-light); }

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.section-header .subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.section-header .accent { color: var(--accent); }

/* ==================== TRATAMENTOS CARDS ==================== */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.treatment-card {
  background: var(--bg-section-dark);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border: 1px solid var(--border-soft);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.treatment-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.treatment-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.treatment-card:hover::before { opacity: 1; }

.treatment-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.treatment-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 0.5rem;
  position: relative;
  z-index: 1;
}

.treatment-card p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ==================== PRISMA CARDS ==================== */
.prisma-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.prisma-card {
  background: var(--bg-section-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-soft);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.prisma-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, var(--accent-soft), transparent 60%);
  pointer-events: none;
}

.prisma-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.prisma-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  border: 1px solid var(--border-accent);
}

.prisma-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 0.75rem;
  position: relative;
  z-index: 1;
}

.prisma-card p {
  font-size: 0.93rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ==================== DEPOIMENTOS ==================== */
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.depoimento-card {
  background: var(--bg-section-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
  transition: transform 0.3s ease;
}

.depoimento-card:hover {
  transform: translateY(-2px);
}

.depoimento-text {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.depoimento-nome {
  color: var(--accent);
  font-weight: 600;
  margin: 0;
}

/* ==================== FAQ ACCORDION ==================== */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  background: var(--bg-section-dark);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--accent);
  overflow: hidden;
}

.faq-item summary {
  font-weight: 600;
  color: var(--accent);
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  transition: background 0.2s;
}

.faq-item summary:hover {
  background: rgba(212, 175, 106, 0.05);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--accent);
}

.faq-item[open] summary .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.faq-answer p {
  margin: 0 0 1rem;
}

.faq-answer p:last-child { margin: 0; }

.faq-answer ul {
  margin: 0.5rem 0 1rem 1.5rem;
  color: var(--text-soft);
}

.faq-answer ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* ==================== PAGE HERO (paginas internas) ==================== */
.page-hero {
  padding: 3.5rem 0 3rem;
  background: radial-gradient(circle at top right, rgba(15, 82, 87, 0.2) 0%, transparent 50%),
              linear-gradient(135deg, var(--bg-hero-grad-start), var(--bg-hero-grad-end));
  text-align: center;
}

.page-hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.page-hero .page-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* ==================== SOBRE PAGE ==================== */
.sobre-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.sobre-page-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.sobre-page-image img {
  width: 100%;
  height: auto;
  display: block;
}

.sobre-page-text h2 {
  font-size: 1.8rem;
  color: var(--text-main);
  margin: 0 0 1.5rem;
  line-height: 1.3;
}

.sobre-page-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 0 1.25rem;
}

.jornada-box {
  padding: 2.5rem;
  background: var(--bg-section-medium);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
  margin: 2rem 0;
}

.jornada-box h3 {
  color: var(--accent);
  font-size: 1.3rem;
  margin: 0 0 1.5rem;
}

.jornada-box p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 0 1.25rem;
}

.jornada-box p:last-child { margin: 0; }

.enfermaria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.enfermaria-card {
  padding: 1.5rem;
  background: var(--bg-section-dark);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--accent);
}

.enfermaria-card h3 {
  color: var(--accent);
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}

.enfermaria-card p {
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
  font-size: 0.93rem;
}

/* ==================== TRATAMENTOS PAGE ==================== */
.tratamento-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 1.5rem 0;
  margin-bottom: 2rem;
}

.tratamento-nav a {
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: var(--bg-section-dark);
  color: var(--text-soft);
  font-size: 0.88rem;
  border: 1px solid var(--border-soft);
  transition: all 0.2s;
}

.tratamento-nav a:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--border-accent);
}

.tratamento-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.tratamento-detail:last-child { border-bottom: none; }

.tratamento-detail h2 {
  font-size: 1.6rem;
  color: var(--text-main);
  margin: 0 0 1.5rem;
  padding-top: 1rem;
}

.tratamento-detail h3 {
  font-size: 1.1rem;
  color: var(--accent);
  margin: 2rem 0 0.75rem;
  font-weight: 600;
}

.tratamento-detail p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 0 1rem;
}

.tratamento-detail ul {
  margin: 0.5rem 0 1.5rem 1.5rem;
}

.tratamento-detail ul li {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.tratamento-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ==================== METODO PRISMA PAGE ==================== */
.prisma-eixo {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 0;
}

.prisma-eixo-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.prisma-eixo-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--bg-body);
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
}

.prisma-eixo-header h2 {
  font-size: 1.6rem;
  color: var(--text-main);
  margin: 0;
  line-height: 1.3;
}

.prisma-eixo-header .prisma-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0.25rem 0 0;
}

.prisma-eixo p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 0 1rem;
}

.prisma-eixo ul {
  margin: 0.5rem 0 1.5rem 1.5rem;
}

.prisma-eixo ul li {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

/* Timeline jornada paciente */
.timeline {
  position: relative;
  padding-left: 3rem;
  max-width: 800px;
  margin: 2rem auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--primary));
}

.timeline-step {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-step:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 0.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-body);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 1;
}

.timeline-step h3 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.timeline-step p {
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 106, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-section .btn {
  position: relative;
  z-index: 1;
}

/* ==================== CONTATO SECTION ==================== */
.contato-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.contato-info-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-section-dark);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  transition: all 0.3s ease;
}

.contato-info-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.contato-info-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.contato-info-card h3 {
  font-size: 1rem;
  color: var(--text-main);
  margin: 0 0 0.5rem;
}

.contato-info-card p {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.5;
}

.contato-info-card a {
  color: var(--accent);
  font-weight: 500;
}

/* ==================== BLOG ==================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--bg-section-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: all 0.3s ease;
}

.blog-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-card-image-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 2rem;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.blog-tag {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--border-accent);
}

.blog-card-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.blog-card-body h3 a {
  color: inherit;
  transition: color 0.2s;
}

.blog-card-body h3 a:hover {
  color: var(--accent);
}

.blog-card-summary {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Blog Detail */
.article-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 0;
}

.article-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin: 0 0 1rem;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.article-cover {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 3rem;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 0 3rem;
}

.article-content h2 {
  font-size: 1.6rem;
  color: var(--text-main);
  margin: 2.5rem 0 1rem;
  font-weight: 700;
}

.article-content h3 {
  font-size: 1.3rem;
  color: var(--accent);
  margin: 2rem 0 0.75rem;
  font-weight: 600;
}

.article-content p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
}

.article-content ul, .article-content ol {
  margin: 0.5rem 0 1.5rem 1.5rem;
}

.article-content li {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.article-content strong {
  color: var(--accent);
}

.article-content img {
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

.article-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 1.5rem 2rem;
  background: var(--bg-section-dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}

.article-content blockquote p {
  color: var(--text-soft);
  font-style: italic;
  margin: 0;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.article-content table th,
.article-content table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-soft);
  text-align: left;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.article-content table th {
  background: var(--bg-section-medium);
  color: var(--text-main);
  font-weight: 600;
}

.article-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content a:hover {
  color: var(--accent-dark);
}

.article-content em {
  color: var(--text-soft);
}

.article-content hr {
  border: none;
  border-top: 1px solid var(--border-soft);
  margin: 2rem 0;
}

/* Article share */
.article-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border-soft);
  max-width: 800px;
  margin: 0 auto;
}

.article-share span {
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 500;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-section-dark);
  border: 1px solid var(--border-soft);
  color: var(--text-soft);
  transition: all 0.2s;
}

.share-btn:hover {
  background: var(--accent);
  color: var(--bg-body);
  border-color: var(--accent);
}

/* Article navigation */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.article-nav-item {
  padding: 1.5rem;
  background: var(--bg-section-dark);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  transition: all 0.2s;
}

.article-nav-item:hover {
  border-color: var(--border-accent);
}

.article-nav-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.article-nav-title {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.4;
}

.article-nav-item.next { text-align: right; }

/* Blog search */
.blog-search {
  max-width: 500px;
  margin: 0 auto 2rem;
  position: relative;
}

.blog-search input {
  width: 100%;
  padding: 0.85rem 1.2rem 0.85rem 3rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--bg-section-dark);
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
}

.blog-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.blog-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* Blog tags filter */
.blog-tags-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.blog-tags-filter a {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--bg-section-dark);
  color: var(--text-soft);
  font-size: 0.85rem;
  border: 1px solid var(--border-soft);
  transition: all 0.2s;
}

.blog-tags-filter a:hover,
.blog-tags-filter a.active {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--border-accent);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination a, .pagination span {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.pagination a {
  background: var(--bg-section-dark);
  color: var(--text-soft);
  border: 1px solid var(--border-soft);
}

.pagination a:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--border-accent);
}

.pagination .current {
  background: var(--accent);
  color: var(--bg-body);
  font-weight: 600;
}

/* ==================== LINK STYLES ==================== */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.2s;
}

.link-arrow:hover {
  gap: 0.75rem;
  color: var(--accent-dark);
}

/* ==================== BTN SIZES ==================== */
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

/* ==================== PREVIEW BANNER ==================== */
.preview-banner {
  background: #f59e0b;
  color: #000;
  text-align: center;
  padding: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ==================== RESPONSIVE EXTRAS ==================== */
@media (max-width: 960px) {
  .sobre-page-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .contato-info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

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

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

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

@media (max-width: 640px) {
  .section {
    padding: 3.5rem 0;
  }

  .page-hero {
    padding: 2.5rem 0 2rem;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }

  .article-header h1 {
    font-size: 1.6rem;
  }

  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
  }

  .footer-main {
    flex-direction: column;
    text-align: center;
  }
}

/* ==================== CONTATO SECTION (melhorado) ==================== */
.contato-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.contato-mapa {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  border: 1px solid var(--border-soft);
}

.contato-mapa iframe {
  display: block;
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contato-detail-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-section-medium);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  text-decoration: none;
  transition: all 0.25s ease;
}

.contato-detail-link:hover {
  border-color: var(--accent);
  background: rgba(191, 155, 48, 0.05);
  transform: translateY(-2px);
}

.contato-detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(191, 155, 48, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contato-detail-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 0.25rem;
}

.contato-detail-card p {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .contato-section {
    grid-template-columns: 1fr;
  }

  .contato-mapa {
    min-height: 280px;
  }
}
