/* ============================================
   Laboratório Marcos Donadon — Estilos gerais
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bakbak+One&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --blue-dark: #001c8c;
  --blue-accent: #5b8def;
  --green: #4bb543;
  --bg-light: #f8fafc;
  --bg-soft: #f8f8f8;
  --white: #ffffff;
  --text-dark: #333333;
  --text-mid: #666666;
  --text-light: #909090;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 26px;
  --max-width: 1200px;
  --font-display: 'Bakbak One', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-mid);
  background: var(--bg-light);
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }

.btn-primary { background: var(--blue-accent); color: var(--white); }
.btn-secondary { background: var(--green); color: var(--white); }
.btn-outline-light { background: rgba(255,255,255,.08); border: 1px solid var(--white); color: var(--white); border-radius: 24px; }
.btn-light { background: var(--bg-light); color: var(--blue-dark); }

section[id] { scroll-margin-top: 90px; }

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section-tag {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 12px;
  text-transform: none;
}
.section-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
.section-desc { font-size: 15px; color: var(--text-mid); max-width: 480px; }
.section-header { margin-bottom: 40px; }
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-header.center .section-desc { margin-left: auto; margin-right: auto; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo img { height: 60px; }
.main-nav { display: none; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: .02em;
}
.main-nav a:hover { color: var(--blue-accent); }
.header-actions { display: none; gap: 10px; }
.header-actions .btn { padding: 10px 18px; font-size: 12px; }
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle svg { width: 24px; height: 24px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid #eee;
  padding: 16px 24px 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}
.mobile-nav .header-actions { display: flex; margin-top: 16px; }

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .header-actions { display: flex; }
  .menu-toggle { display: none; }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 0;
  padding-bottom: 48px;
  max-width: 1560px;
}
.hero-content { padding-top: 32px; }
.hero-eyebrow { color: var(--blue-accent); font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.hero-title {
  font-family: var(--font-display);
  color: var(--blue-dark);
  font-size: 28px;
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero-text { font-size: 14px; max-width: 380px; margin-bottom: 28px; }
.hero-image {
  position: relative;
}
.hero-image img { width: 100%; height: auto; display: block; }
.hero-visual {
  order: -1;
  margin-right: calc(50% - 50vw - 24px);
}

@media (min-width: 1024px) {
  .hero .container { flex-direction: row; align-items: center; padding-top: 0; padding-bottom: 40px; }
  .hero-content { flex: 0 0 480px; }
  .hero-title { font-size: 36px; }
  .hero-text { font-size: 14px; max-width: 370px; }
  .hero-content { padding-top: 0; }
  .hero-visual {
    flex: 1;
    align-self: flex-start;
    order: 0;
    margin-right: calc(50% - 50vw - 24px);
  }
}

/* ===================== SERVIÇOS RÁPIDOS ===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--white);
  border-radius: 26px;
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,28,140,.08); }
.service-card img.icon { width: 40px; height: 40px; }
.service-card p { font-size: 13px; color: var(--text-mid); }

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===================== BANNERS RESULTADOS / UNIDADES ===================== */
.banners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.banner-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 195px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  color: var(--white);
}
.banner-card img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.banner-card > * { position: relative; z-index: 2; }
.banner-card .eyebrow { font-size: 12px; letter-spacing: .05em; margin-bottom: 8px; font-weight: 600; }
.banner-card h3 { font-family: var(--font-display); font-size: 18px; line-height: 1.2; margin-bottom: 16px; }
.banner-card .btn { align-self: flex-start; }

@media (min-width: 1024px) {
  .banners-grid { grid-template-columns: 1fr 1fr; }
  .banner-card { min-height: 213px; }
  .banner-card h3 { font-size: 20px; }
}

/* ===================== DIFERENCIAIS ===================== */
.diferenciais { background: var(--bg-soft); }
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: end;
}
.diferencial-card {
  position: relative;
}
.diferencial-card img { width: 100%; height: auto; display: block; }

@media (min-width: 1024px) {
  .diferenciais-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===================== DEPOIMENTOS ===================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
}
.testimonial-quote { font-size: 22px; color: var(--blue-accent); font-family: Georgia, serif; margin-bottom: 8px; }
.testimonial-text { font-size: 13px; color: var(--text-light); margin-bottom: 24px; }
.testimonial-footer { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid #eee; }
.testimonial-footer img { width: 35px; height: 35px; border-radius: 50%; object-fit: cover; }
.testimonial-footer strong { display: block; font-size: 13px; color: var(--text-mid); }
.testimonial-footer span { font-size: 11px; color: var(--text-mid); }

@media (min-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===================== BLOG ===================== */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0,0,0,.08); }
.blog-card .thumb { aspect-ratio: 256/171; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .body { padding: 20px; }
.blog-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--text-dark); margin-bottom: 10px; line-height: 1.35; }
.blog-card p { font-size: 13px; color: var(--text-light); margin-bottom: 16px; }
.blog-card .read-more { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--blue-dark); }

@media (min-width: 640px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===================== FAQ ===================== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border-radius: var(--radius-sm); overflow: hidden; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-mid);
  text-align: left;
}
.faq-question .icon { flex-shrink: 0; width: 14px; height: 14px; transition: transform .2s ease; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  font-size: 13px;
  color: var(--text-light);
}
.faq-answer p { padding: 0 24px 20px; }
.faq-item.open .faq-answer { max-height: 200px; }

/* ===================== CONVÊNIOS ===================== */
.convenios-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 32px 0;
  opacity: .8;
}
.convenios-strip img { height: 32px; width: auto; object-fit: contain; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--blue-dark); color: var(--white); padding-top: 56px; }
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-brand img { height: 52px; margin-bottom: 16px; }
.footer-brand p { font-size: 12px; color: #f8f8f8; line-height: 1.7; max-width: 260px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.footer-col h4 { font-family: var(--font-body); font-weight: 700; font-size: 12px; color: var(--blue-accent); margin-bottom: 14px; letter-spacing: .04em; }
.footer-col a, .footer-col li { display: block; font-size: 12px; color: #f8f8f8; margin-bottom: 10px; }
.footer-contact p { font-size: 12px; color: #f8f8f8; margin-bottom: 6px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 29px; height: 29px; border-radius: 6px;
  border: 1px solid var(--white);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.05);
}
.footer-social img { width: 15px; height: 15px; }
.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--white);
  border-radius: 24px;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 16px;
}
.footer-whatsapp img { width: 22px; height: 22px; }
.footer-bottom { text-align: center; padding: 24px 0; font-size: 11px; color: #f8f8f8; }

@media (min-width: 900px) {
  .footer-top { flex-direction: row; justify-content: space-between; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); flex: 1; margin: 0 40px; }
}

/* ===================== PÁGINA DE NOTÍCIA ===================== */
.breadcrumb { font-size: 12px; color: var(--text-light); margin-bottom: 20px; }
.breadcrumb a { color: var(--blue-accent); }
.article-header { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.article-header .tag {
  display: inline-block;
  background: var(--blue-accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.article-header h1 {
  font-family: var(--font-display);
  color: var(--blue-dark);
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.article-meta { font-size: 12px; color: var(--text-light); }
.article-cover { max-width: 900px; margin: 0 auto 40px; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/8; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 720px; margin: 0 auto; font-size: 15px; color: var(--text-mid); }
.article-body h2 { font-family: var(--font-body); font-weight: 700; color: var(--text-dark); font-size: 18px; margin: 32px 0 12px; }
.article-body p { margin-bottom: 18px; }
.article-body ul { margin: 0 0 18px 20px; list-style: disc; }
.article-body ul li { margin-bottom: 8px; }
.article-share { display: flex; align-items: center; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid #e5e5e5; }
.article-share span { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.related-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }

@media (min-width: 640px) {
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .article-header h1 { font-size: 32px; }
}
