/* ============================================================
   Clínica Veterinária Meu Pet — Stylesheet
   Mobile-first. System fonts. Zero dependencies.
   Para trocar cores, edite apenas as variáveis abaixo.
   ============================================================ */

:root {
  /* Brand colors (edite aqui) */
  --brand-navy: #0a2540;
  --brand-navy-dark: #07182b;
  --brand-teal: #0d9488;
  --brand-teal-dark: #0f766e;
  --brand-mint: #ecfdf5;
  --brand-cream: #fefaf6;
  --brand-amber: #f59e0b;

  /* CTAs */
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --emergency: #dc2626;
  --emergency-dark: #b91c1c;

  /* Neutrals */
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e5e7eb;
  --line-soft: #f1f5f9;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-tint: #f0fdfa;

  /* Layout */
  --container: 1180px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 6px 24px -8px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 20px 48px -16px rgba(15, 23, 42, 0.22);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --leading: 1.6;
}

/* Reset enxuto */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: var(--leading);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }
input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--brand-amber);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip-to-content (acessibilidade): invisível até receber foco via Tab */
.skip-link {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--brand-navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  z-index: 1000;
  transform: translateY(-200%);
  transition: transform .15s ease;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--brand-amber);
  outline-offset: 2px;
}

/* Endereço no footer mantém a aparência das demais colunas */
.footer-address { font-style: normal; }
.footer-address ul { list-style: none; padding: 0; }
.footer-address li { margin-bottom: 8px; }
.footer-address a { color: rgba(255, 255, 255, 0.78); }
.footer-address a:hover { color: #fff; }

/* H2 do hero-card mantém tamanho compacto (era h3 visualmente) */
.hero-card-title { font-size: 1.25rem; margin-bottom: 6px; color: var(--brand-navy); line-height: 1.3; }

/* Container e utilidades */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.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; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }

/* Typography */
h1, h2, h3, h4 { line-height: 1.2; color: var(--brand-navy); letter-spacing: -0.01em; font-weight: 700; }
h1 { font-size: clamp(1.85rem, 2.4vw + 1rem, 3rem); }
h2 { font-size: clamp(1.55rem, 1.2vw + 1rem, 2.25rem); }
h3 { font-size: clamp(1.15rem, 0.4vw + 1rem, 1.4rem); }
p { color: var(--ink-soft); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-teal-dark);
  background: var(--brand-mint);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ============================================================
   Top emergency bar
   ============================================================ */
.topbar {
  background: var(--emergency);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
}
.topbar a { color: #fff; text-decoration: underline; }
.topbar .container {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; text-align: center;
}
.topbar svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand picture { display: block; line-height: 0; }
.brand-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: 220px;
}
@media (min-width: 640px) { .brand-logo { height: 50px; max-width: 260px; } }
/* Classes antigas mantidas neutralizadas (caso restem fragmentos em algum lugar) */
.brand-mark, .brand-text { display: none; }

.nav { margin-left: auto; display: none; }
.nav ul { list-style: none; padding: 0; display: flex; gap: 28px; }
.nav a { color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--brand-teal-dark); text-decoration: none; }

.header-cta { display: none; }
@media (min-width: 980px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
}

.nav-toggle {
  margin-left: auto;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.nav-toggle:hover { background: var(--bg-soft); }
@media (min-width: 980px) { .nav-toggle { display: none; } }

.nav-mobile {
  display: none; border-top: 1px solid var(--line);
  background: #fff;
}
.nav-mobile.is-open { display: block; }
.nav-mobile ul { list-style: none; padding: 12px 0; margin: 0; }
.nav-mobile a {
  display: block; padding: 12px 20px; color: var(--ink); font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
}
.nav-mobile a:hover { background: var(--bg-soft); text-decoration: none; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 600; font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  text-decoration: none;
  min-height: 48px;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 6px 16px -6px rgba(37, 211, 102, 0.6); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); color: #fff; }

.btn-call { background: var(--brand-navy); color: #fff; }
.btn-call:hover { background: var(--brand-navy-dark); color: #fff; }

.btn-emergency { background: var(--emergency); color: #fff; box-shadow: 0 6px 16px -6px rgba(220, 38, 38, 0.5); }
.btn-emergency:hover { background: var(--emergency-dark); color: #fff; }

.btn-outline { background: #fff; color: var(--brand-navy); border: 1.5px solid var(--brand-navy); }
.btn-outline:hover { background: var(--brand-navy); color: #fff; }

.btn-ghost { background: transparent; color: var(--brand-teal-dark); padding: 12px 16px; }
.btn-ghost:hover { background: var(--brand-mint); color: var(--brand-teal-dark); }

.btn-sm { padding: 10px 16px; font-size: 0.92rem; min-height: 40px; }
.btn-lg { padding: 18px 28px; font-size: 1.08rem; min-height: 56px; }

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-button.btn {
  padding: 0;
  min-height: 0;
  background: transparent;
  box-shadow: none;
}
.wp-block-button.btn:hover { transform: none; }
.wp-block-button.btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  white-space: nowrap;
}
.wp-block-button.btn-sm .wp-block-button__link { padding: 10px 16px; min-height: 40px; font-size: 0.92rem; }
.wp-block-button.btn-lg .wp-block-button__link { padding: 18px 28px; min-height: 56px; font-size: 1.08rem; }
.wp-block-button.btn-whatsapp .wp-block-button__link { background: var(--whatsapp); color: #fff; box-shadow: 0 6px 16px -6px rgba(37, 211, 102, 0.6); }
.wp-block-button.btn-whatsapp .wp-block-button__link:hover { background: var(--whatsapp-dark); color: #fff; }
.wp-block-button.btn-call .wp-block-button__link { background: var(--brand-navy); color: #fff; }
.wp-block-button.btn-call .wp-block-button__link:hover { background: var(--brand-navy-dark); color: #fff; }
.wp-block-button.btn-emergency .wp-block-button__link { background: var(--emergency); color: #fff; box-shadow: 0 6px 16px -6px rgba(220, 38, 38, 0.5); }
.wp-block-button.btn-emergency .wp-block-button__link:hover { background: var(--emergency-dark); color: #fff; }
.wp-block-button.btn-outline .wp-block-button__link { background: transparent; color: #fff; border: 1.5px solid #fff; }

/* ============================================================
   Sections
   ============================================================ */
section { padding: 64px 0; }
@media (min-width: 768px) { section { padding: 88px 0; } }
.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }
.section-dark { background: var(--brand-navy); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, 0.85); }

.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { font-size: 1.08rem; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 56px 0 64px;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(13, 148, 136, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 100%, rgba(10, 37, 64, 0.08), transparent 60%),
    var(--brand-cream);
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding: 88px 0 96px; } }

.hero-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; } }

.hero h1 { margin-bottom: 18px; }
.hero h1 .highlight { color: var(--brand-teal-dark); }
.hero .lead { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 28px; max-width: 56ch; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px;
  font-size: 0.9rem; color: var(--ink-soft);
}
.hero-trust strong { color: var(--brand-navy); font-weight: 700; }
.hero-trust .dot { width: 4px; height: 4px; background: var(--muted); border-radius: 50%; }

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  position: relative;
}
.hero-card-badge {
  position: absolute; top: -14px; left: 28px;
  background: var(--emergency); color: #fff;
  padding: 6px 14px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
.hero-card h3 { margin-bottom: 6px; }
.hero-card-meta { display: flex; flex-wrap: wrap; gap: 14px 24px; margin: 18px 0 22px; font-size: 0.95rem; color: var(--ink-soft); }
.hero-card-meta div { display: flex; align-items: center; gap: 8px; }
.hero-card-meta svg { width: 18px; height: 18px; color: var(--brand-teal); }

.pulse-dot {
  display: inline-block; width: 8px; height: 8px;
  background: #fff; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ============================================================
   Services grid
   ============================================================ */
.services-grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: transparent;
  text-decoration: none;
}
.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand-mint);
  color: var(--brand-teal-dark);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-icon.urgent { background: #fef2f2; color: var(--emergency); }
.service-card h3 { margin-bottom: 8px; color: var(--brand-navy); }
.service-card p { font-size: 0.95rem; margin-bottom: 14px; flex: 1; }
.service-link {
  font-weight: 600; font-size: 0.92rem;
  color: var(--brand-teal-dark);
  display: inline-flex; align-items: center; gap: 6px;
}
.service-link::after { content: '→'; transition: transform .2s ease; }
.service-card:hover .service-link::after { transform: translateX(3px); }

/* ============================================================
   Differentials
   ============================================================ */
.diff-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .diff-grid { grid-template-columns: repeat(4, 1fr); } }

.diff-item { text-align: left; }
.diff-icon {
  width: 52px; height: 52px;
  background: var(--brand-navy);
  color: #fff;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.diff-icon svg { width: 28px; height: 28px; }
.diff-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.diff-item p { font-size: 0.95rem; }

/* ============================================================
   Process / Como funciona
   ============================================================ */
.process { display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 768px) { .process { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.process-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
  counter-increment: step;
}
.process-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -14px; left: 22px;
  background: var(--brand-teal);
  color: #fff;
  font-weight: 700; font-size: 0.85rem;
  padding: 6px 12px; border-radius: 999px;
}
.process-step h3 { font-size: 1.08rem; margin: 8px 0 6px; }
.process-step p { font-size: 0.95rem; }

/* ============================================================
   Stats / numbers
   ============================================================ */
.stats {
  display: grid; gap: 8px;
  grid-template-columns: repeat(2, 1fr);
  background: var(--brand-navy);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  color: #fff;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); padding: 44px 36px; } }
.stat { text-align: center; padding: 12px; }
.stat strong { display: block; font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem); font-weight: 700; color: #fff; line-height: 1.1; }
.stat span { color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; }

/* ============================================================
   Trust strip — Google + Trustpilot ratings
   ============================================================ */
.trust-strip {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
  margin-bottom: 40px;
}
@media (min-width: 640px) { .trust-strip { grid-template-columns: repeat(2, 1fr); } }
.trust-badge {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.trust-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; text-decoration: none; }
.trust-badge-icon { flex-shrink: 0; width: 36px; height: 36px; }
.trust-badge-content { flex: 1; min-width: 0; }
.trust-badge-rating { display: flex; align-items: center; gap: 8px; line-height: 1; margin-bottom: 4px; }
.trust-badge-rating strong { color: var(--brand-navy); font-size: 1.4rem; font-weight: 700; }
.trust-badge-stars { color: var(--brand-amber); font-size: 1rem; letter-spacing: 1px; }
.trust-badge-meta { color: var(--muted); font-size: 0.85rem; }
.trust-badge-meta strong { color: var(--brand-navy); font-weight: 600; }
.trust-badge-arrow { color: var(--brand-teal-dark); flex-shrink: 0; }

/* ============================================================
   Testimonials (reviews curados, com fonte)
   ============================================================ */
.testimonials { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  position: relative;
  display: flex; flex-direction: column;
}
.testimonial-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.testimonial-stars { color: var(--brand-amber); font-size: 1.05rem; letter-spacing: 2px; }
.testimonial-source {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.75rem; color: var(--muted); font-weight: 600;
}
.testimonial-source svg { width: 14px; height: 14px; }
.testimonial blockquote { font-size: 0.98rem; color: var(--ink); margin-bottom: 18px; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-mint);
  color: var(--brand-teal-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.testimonial-author strong { color: var(--brand-navy); font-size: 0.95rem; display: block; }
.testimonial-author span { color: var(--muted); font-size: 0.82rem; }

.reviews-all {
  text-align: center; margin-top: 36px;
}

/* ============================================================
   Local SEO / Map
   ============================================================ */
.local-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 880px) { .local-grid { grid-template-columns: 1fr 1.1fr; gap: 44px; } }

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.info-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.info-row:last-of-type { border-bottom: 0; }
.info-row svg { width: 22px; height: 22px; color: var(--brand-teal); flex-shrink: 0; margin-top: 2px; }
.info-row strong { display: block; color: var(--brand-navy); font-weight: 600; }
.info-row span, .info-row a { color: var(--ink-soft); font-size: 0.95rem; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 340px;
  background: var(--bg-soft);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

.areas-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.areas-list li {
  background: var(--brand-mint);
  color: var(--brand-teal-dark);
  font-size: 0.85rem; font-weight: 500;
  padding: 6px 12px; border-radius: 999px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px;
  font-weight: 600; font-size: 1.05rem; color: var(--brand-navy);
  text-align: left; cursor: pointer;
}
.faq-q::after {
  content: '+';
  font-size: 1.4rem; line-height: 1;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--brand-mint); color: var(--brand-teal-dark);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-q::after { content: '−'; }
.faq-a { padding: 0 4px 20px; color: var(--ink-soft); }
.faq-a p + p { margin-top: 10px; }

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-teal-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .cta-banner { padding: 56px 44px; } }
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255, 255, 255, 0.9); margin-bottom: 24px; font-size: 1.05rem; }
.cta-banner .btn-group { justify-content: center; }

/* ============================================================
   Convênios — strip de logos
   ============================================================ */
.convenios {
  display: grid; gap: 14px;
  grid-template-columns: repeat(2, 1fr);
  align-items: stretch;
}
@media (min-width: 640px) { .convenios { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .convenios { grid-template-columns: repeat(5, 1fr); } }
.convenio {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  font-weight: 600; color: var(--brand-navy);
  font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
  min-height: 88px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.convenio:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.convenio img {
  max-height: 44px; width: auto; max-width: 100%;
  filter: grayscale(100%);
  opacity: 0.72;
  transition: filter .25s ease, opacity .25s ease;
}
.convenio:hover img { filter: grayscale(0%); opacity: 1; }
.convenio-text {
  font-size: 0.92rem; color: var(--ink-soft); line-height: 1.3;
}
.convenio-text strong { display: block; color: var(--brand-navy); font-size: 1rem; margin-bottom: 2px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--brand-navy-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 28px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 36px;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255, 255, 255, 0.78); }
.footer-col a:hover { color: #fff; }
.footer-about p { color: rgba(255, 255, 255, 0.7); margin-bottom: 14px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.16); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.7); margin-left: 16px; }
.footer-legal ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  padding: 0;
  margin: 0;
}
.footer-legal a { margin-left: 0; }
@media (max-width: 640px) { .footer-legal ul { justify-content: flex-start; } }

/* ============================================================
   Floating WhatsApp
   ============================================================ */
.whatsapp-float {
  position: fixed; bottom: 18px; right: 18px;
  z-index: 100;
  background: var(--whatsapp); color: #fff;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(37, 211, 102, 0.55);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.06); color: #fff; }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ============================================================
   WordPress content
   ============================================================ */
.content-layout { width: 100%; }
.content-layout.has-sidebar {
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 980px) {
  .content-layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 320px; }
}
.blog-hero { padding-bottom: 48px; }
.blog-listing { padding-top: 0; }
.blog-shell { display: grid; gap: 28px; }
.blog-search-card {
  display: grid;
  gap: 20px;
  align-items: end;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 840px) {
  .blog-search-card { grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); }
}
.blog-search-card h2 {
  font-size: clamp(1.25rem, 1vw + 1rem, 1.65rem);
  margin-bottom: 8px;
}
.blog-search-card p { margin: 0; color: var(--ink-soft); }
.blog-search-form {
  display: flex;
  gap: 10px;
  width: 100%;
}
@media (max-width: 520px) {
  .blog-search-form { flex-direction: column; }
  .blog-search-form .btn { width: 100%; }
}
.blog-search-form input {
  min-width: 0;
  flex: 1;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  font: inherit;
  color: var(--ink);
  background: var(--bg-soft);
}
.blog-search-form input:focus {
  outline: none;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.14);
  background: #fff;
}
.blog-search-form .btn { border: 0; cursor: pointer; }
.blog-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.blog-card-thumb { display: block; background: var(--bg-soft); }
.blog-card-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}
.blog-card-category {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--brand-mint);
  color: var(--brand-teal-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 14px;
}
.blog-card-category:hover { color: var(--brand-teal-dark); text-decoration: none; }
.blog-card h2 {
  font-size: clamp(1.2rem, .6vw + 1.05rem, 1.45rem);
  line-height: 1.25;
  margin-bottom: 10px;
}
.blog-card h2 a { color: var(--brand-navy); }
.blog-card h2 a:hover { color: var(--brand-teal-dark); text-decoration: none; }
.blog-card-excerpt {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.blog-card-excerpt p { margin: 0; }
.blog-card-date {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.blog-empty { grid-column: 1 / -1; }
.wp-content > * + * { margin-top: 1rem; }
.wp-content ul,
.wp-content ol { padding-left: 1.4rem; color: var(--ink-soft); }
.wp-content blockquote {
  border-left: 4px solid var(--brand-teal);
  padding-left: 18px;
  color: var(--ink-soft);
}
.editable-page-content > :where(:not(.alignfull):not(.alignwide)) {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.editable-page-content > :where(p, ul, ol, h1, h2, h3, h4, blockquote):not(.alignfull):not(.alignwide) {
  max-width: 760px;
}
.editable-page-content > section,
.editable-page-content > .wp-block-group {
  margin-top: 0;
}
.editable-page-content > .wp-block-group {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.editable-page-content .wp-block-group,
.editable-page-content .wp-block-buttons,
.editable-page-content .wp-block-image {
  margin-top: 0;
  margin-bottom: 0;
}
.editable-page-content .wp-block-group.container,
.editable-page-content .wp-block-group.content-2col.container {
  max-width: var(--container);
}
.editable-page-content .wp-block-group.hero-grid,
.editable-page-content .wp-block-group.services-grid,
.editable-page-content .wp-block-group.cards-grid,
.editable-page-content .wp-block-group.gallery,
.editable-page-content .wp-block-group.local-grid,
.editable-page-content .wp-block-group.sub-hero-grid,
.editable-page-content .wp-block-group.content-2col,
.editable-page-content .wp-block-group.faq-list {
  margin-left: auto;
  margin-right: auto;
}
.cards-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards-grid { grid-template-columns: repeat(4, 1fr); } }
.service-link a { color: inherit; text-decoration: none; }
.service-link a:hover { text-decoration: underline; }
.wp-block-image.hero-card-image,
.wp-block-image.gallery-item,
.wp-block-image.sub-hero-image {
  margin: 0;
}
.wp-content .alignwide {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}
.wp-content .alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.post-thumbnail { margin-bottom: 24px; }
.post-thumbnail img { border-radius: var(--radius); box-shadow: var(--shadow); }
.theme-sidebar { display: grid; gap: 18px; }
.widget ul { padding-left: 1.1rem; color: var(--ink-soft); }
.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.page-numbers {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
}
.page-numbers.current {
  background: var(--brand-navy);
  color: #fff;
  border-color: var(--brand-navy);
}
.comments-area,
.comment-list { display: grid; gap: 18px; }
.comment-list { padding-left: 1.2rem; }
.comment-respond { margin-top: 24px; }

/* ============================================================
   Forms (contato)
   ============================================================ */
.form { display: grid; gap: 16px; max-width: 640px; margin: 0 auto; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }
.form label { font-weight: 600; color: var(--brand-navy); font-size: 0.92rem; margin-bottom: 6px; display: block; }
.form input, .form textarea, .form select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--brand-teal); box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .help { font-size: 0.85rem; color: var(--muted); }

/* ============================================================
   Legal pages
   ============================================================ */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
}
.legal-content h2 { margin-top: 36px; margin-bottom: 12px; font-size: 1.45rem; }
.legal-content h3 { margin-top: 24px; margin-bottom: 8px; font-size: 1.15rem; }
.legal-content p, .legal-content li { font-size: 1rem; color: var(--ink-soft); margin-bottom: 12px; }
.legal-content ul, .legal-content ol { padding-left: 22px; margin-bottom: 16px; }
.legal-meta { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }

/* ============================================================
   404
   ============================================================ */
.error-page {
  min-height: 60vh;
  display: flex; align-items: center;
  text-align: center;
}
.error-page h1 {
  font-size: clamp(3rem, 8vw + 1rem, 6rem);
  color: var(--brand-teal-dark);
  margin-bottom: 8px;
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
  font-size: 0.88rem; color: var(--muted);
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-teal-dark); }
.breadcrumb .sep { margin: 0 8px; color: var(--line); }

/* ============================================================
   Service page sub-hero
   ============================================================ */
.sub-hero {
  background: var(--brand-cream);
  padding: 48px 0 56px;
}
.sub-hero h1 { margin-bottom: 14px; }
.sub-hero .lead { color: var(--ink-soft); font-size: 1.1rem; max-width: 60ch; margin-bottom: 24px; }

/* ============================================================
   Content blocks
   ============================================================ */
.content-2col {
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 880px) { .content-2col { grid-template-columns: 1.4fr 1fr; gap: 56px; } }
.content-prose h2 { margin-top: 28px; margin-bottom: 10px; }
.content-prose h2:first-child { margin-top: 0; }
.content-prose p { margin-bottom: 14px; }
.content-prose ul { padding-left: 22px; margin-bottom: 18px; }
.content-prose ul li { margin-bottom: 8px; color: var(--ink-soft); }

.aside-card {
  background: var(--brand-navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  position: sticky; top: 100px;
}
.aside-card h3 { color: #fff; margin-bottom: 10px; font-size: 1.2rem; }
.aside-card p { color: rgba(255, 255, 255, 0.85); margin-bottom: 18px; font-size: 0.95rem; }
.aside-card .btn { width: 100%; margin-bottom: 10px; }

/* ============================================================
   IMAGES — hero, gallery, team, service hero
   Todas as imagens stock devem ser substituídas por fotos reais
   da clínica antes do deploy final.
   ============================================================ */

/* Hero card com imagem no topo */
.hero-card { padding: 0; overflow: hidden; }
.hero-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  overflow: hidden;
}
.hero-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Mantém os rostos visíveis quando a foto é mais alta que o container.
     Para reposicionar manualmente, ajuste o segundo valor (0% = colado no topo,
     50% = centro, 100% = colado no rodapé). */
  object-position: center 15%;
  display: block;
}
.hero-card-image .hero-card-badge {
  position: absolute; top: 16px; left: 16px;
  z-index: 2;
}
/* Variante: badge no canto inferior (usada quando a imagem já tem
   informação visual importante no topo, como letreiro "24H"). */
.hero-card-image .hero-card-badge-bottom {
  top: auto; bottom: 16px;
}
.hero-card-body { padding: 28px; }
.hero-card-body h3 { margin-bottom: 6px; }

/* Galeria de estrutura */
.gallery {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  transition: transform .25s ease;
}
.gallery-item:hover { transform: translateY(-2px); }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 14px 12px;
  color: #fff;
  font-size: 0.88rem; font-weight: 600;
  background: linear-gradient(to top, rgba(7,24,43,0.85), rgba(7,24,43,0));
}

/* Equipe veterinária */
.team {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .team { grid-template-columns: repeat(3, 1fr); } }
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}
.team-photo {
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  overflow: hidden;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.team-info { padding: 20px 18px 24px; }
.team-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-info .team-role { font-size: 0.85rem; color: var(--brand-teal-dark); font-weight: 600; margin-bottom: 6px; display: block; }
.team-info .team-crmv { font-size: 0.8rem; color: var(--muted); }

/* Sub-hero com imagem (páginas de serviço) */
.sub-hero-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 880px) {
  .sub-hero-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; }
}
.sub-hero-image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}
.sub-hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Print clean */
@media print {
  .whatsapp-float, .topbar, .nav-toggle { display: none !important; }
  body { background: #fff; }
}

/* ============================================================
   Blog inspirado no layout de referencia
   ============================================================ */
.page-hero {
  background:
    radial-gradient(760px 360px at 82% -12%, rgba(13, 148, 136, .35), transparent 62%),
    linear-gradient(180deg, var(--brand-navy), var(--brand-navy-dark));
  color: #e8edf7;
  padding: clamp(42px, 6vw, 68px) 0;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  letter-spacing: 0;
  margin: 0;
}
.page-hero p {
  color: rgba(232, 237, 247, .82);
  margin-top: 10px;
  max-width: 64ch;
  font-size: 1.04rem;
}
.page-hero .breadcrumb {
  margin: 0 0 14px;
  padding: 0;
  font-size: .88rem;
}
.page-hero .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-hero .breadcrumb a { color: #b9c8e8; }
.page-hero .breadcrumb li[aria-current] { color: #fff; }
.page-hero .breadcrumb .sep { color: #6f829f; }
.section { padding: clamp(54px, 8vw, 92px) 0; }
.blog-section { background: #fff; }
.blog-search-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 28px;
}
.blog-search-inline > span {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
}
.blog-search-inline .blog-search-form {
  width: min(100%, 430px);
}
.blog-search-form {
  display: flex;
  gap: 8px;
}
.blog-search-form input {
  min-width: 0;
  flex: 1;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 15px;
  background: var(--bg-soft);
}
.blog-search-form input:focus {
  outline: none;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, .14);
  background: #fff;
}
.blog-search-form .btn {
  border-radius: 999px;
  min-height: 42px;
  border: 0;
}
.post-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .14s ease, box-shadow .15s ease, border-color .15s ease;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(13, 148, 136, .28);
}
.post-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-soft);
}
.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-thumb-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 18px;
  text-align: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  background:
    radial-gradient(280px 180px at 75% 0%, rgba(255,255,255,.18), transparent 62%),
    linear-gradient(150deg, var(--brand-teal), var(--brand-navy));
}
.post-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.post-cat {
  align-self: flex-start;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-teal-dark);
  background: var(--brand-mint);
  padding: 4px 11px;
  border-radius: 999px;
}
.post-card-title {
  font-size: 1.16rem;
  line-height: 1.3;
  margin: 0;
}
.post-card-title a { color: var(--ink); }
.post-card-title a:hover { color: var(--brand-teal-dark); text-decoration: none; }
.post-card-excerpt {
  color: var(--ink-soft);
  font-size: .96rem;
  margin: 0;
}
.post-date {
  margin-top: auto;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
}
.blog-empty { grid-column: 1 / -1; }
.rcbh-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 38px;
}
@media (max-width: 520px) {
  .blog-search-inline { align-items: stretch; }
  .blog-search-inline .blog-search-form { width: 100%; flex-direction: column; }
  .blog-search-form .btn { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .pulse-dot { animation: none; }
}
