/* ==========================================================================
   Verum Diagnóstico Veterinário — folha de estilos principal
   ========================================================================== */

:root {
  --primary: #0E3D4D;
  --primary-700: #0a2d39;
  --primary-50: #e7eff1;
  --accent: #D9ED82;
  --accent-600: #c4dc5e;
  --bg: #F6F6F6;
  --surface: #FFFFFF;
  --border: #D8E1E4;
  --text: #0E3D4D;
  --muted: #4f6b75;
  --whatsapp: #128C4A;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(14, 61, 77, .10);
  --shadow-lg: 0 16px 40px rgba(14, 61, 77, .18);
  --container: 1160px;
  --header-h: 80px;
}

/* Reset enxuto ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; }
p { max-width: 70ch; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 24px; } }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--accent); color: var(--primary); font-weight: 700;
  padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Botões ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-700); }
.btn--accent { background: var(--accent); color: var(--primary); }
.btn--accent:hover { background: var(--accent-600); }
.btn--outline { border-color: currentColor; color: var(--primary); background: transparent; }
.btn--outline:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn--outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #0e7a40; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }

/* Cabeçalho --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 60px; height: 60px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 20px; font-weight: 800; letter-spacing: .5px; }
.brand-text span { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .4px; text-transform: uppercase; }

.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); color: var(--primary); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.main-nav a {
  display: block; padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; color: var(--text);
  transition: background-color .2s ease;
}
.main-nav a:hover { background: var(--primary-50); }
.main-nav a[aria-current="page"] { background: var(--primary-50); box-shadow: inset 0 -3px 0 var(--accent); }
.main-nav .nav-cta { margin-left: 8px; }
.main-nav .nav-cta a { background: var(--primary); color: #fff; padding: 10px 20px; }
.main-nav .nav-cta a:hover { background: var(--primary-700); }
.main-nav .nav-cta a[aria-current="page"] { background: var(--primary); box-shadow: inset 0 0 0 2px var(--accent); }

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { width: 48px; height: 48px; }
  .js .nav-toggle { display: inline-flex; }
  .main-nav { width: 100%; }
  .site-header .container { flex-wrap: wrap; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 8px 0 16px; }
  .main-nav a { padding: 12px 14px; border-radius: var(--radius-sm); }
  .main-nav .nav-cta { margin: 8px 0 0; }
  .main-nav .nav-cta a { text-align: center; }
  .js .main-nav { display: none; }
  .js .nav-open .main-nav { display: block; }
}

/* Seções ------------------------------------------------------------------ */
.section { padding-block: 72px; }
.section--muted { background: var(--bg); }
.section--dark { background: var(--primary); color: #fff; }
@media (max-width: 720px) { .section { padding-block: 56px; } }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }
.eyebrow {
  display: inline-block; margin-bottom: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--primary); background: var(--accent);
  padding: 4px 12px; border-radius: 999px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 17px; }
.section--dark .section-head p { color: rgba(255,255,255,.85); }

/* Hero (home) ------------------------------------------------------------- */
.hero { background: var(--primary); color: #fff; overflow: hidden; }
.hero .container {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px;
  padding-block: 72px;
}
.hero h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 18px; color: rgba(255,255,255,.9); margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Celular: botões de ação em coluna, todos com a largura total */
@media (max-width: 600px) {
  .hero-actions, .panel .btn-row { flex-direction: column; align-items: stretch; width: 100%; }
  .cta-band .hero-actions { flex: 1 1 100%; }
  .eyebrow { font-size: 11px; letter-spacing: .8px; }
}
.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 1248 / 778; object-fit: cover;
  border-radius: 24px; box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.hero-badge {
  position: absolute; left: -20px; bottom: -20px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--primary);
  padding: 14px 18px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  font-size: 14px; line-height: 1.3;
}
.hero-badge strong { display: block; font-size: 22px; font-weight: 800; }
.hero-badge .dot {
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; flex: none;
}
.hero-badge .dot svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding-block: 48px 64px; gap: 40px; }
  .hero-badge { left: 12px; bottom: -24px; }
}

/* Faixa de destaques ------------------------------------------------------ */
.highlights { background: var(--primary-700); color: #fff; }
.highlights ul {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  list-style: none; padding: 28px 0;
}
.highlights li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; color: rgba(255,255,255,.85); }
.highlights strong { display: block; color: var(--accent); font-size: 22px; font-weight: 800; }
.highlights svg { width: 32px; height: 32px; flex: none; color: var(--accent); }
@media (max-width: 860px) { .highlights ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .highlights ul { grid-template-columns: 1fr; } }

/* Cabeçalho de páginas internas ------------------------------------------ */
.page-hero { background: var(--primary); color: #fff; padding-block: 48px 56px; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 12px; }
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero p { font-size: 18px; color: rgba(255,255,255,.88); }
.page-hero .hero-actions { margin-top: 28px; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin-bottom: 20px; font-size: 14px; }
.breadcrumb li { color: rgba(255,255,255,.75); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--accent); }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Cards ------------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px)  { .grid--3, .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
}
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 20px; }
.card p { color: var(--muted); font-size: 15px; }
.card .card-link {
  margin-top: auto; padding-top: 8px;
  font-weight: 700; color: var(--primary); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.card .card-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.card--link { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; position: relative; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.card--link:hover .card-link svg { transform: translateX(4px); }
/* Torna o card inteiro clicável a partir do link principal */
.card--link .stretched::after { content: ""; position: absolute; inset: 0; }

.service-card img { width: 100%; aspect-ratio: 269 / 250; object-fit: cover; object-position: top; background: var(--bg); }
@media (max-width: 600px) { .service-card img { aspect-ratio: 16 / 10; object-position: center 25%; } }

.icon-box {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--accent); color: var(--primary);
  display: grid; place-items: center; flex: none;
}
.icon-box svg { width: 28px; height: 28px; }

/* Sobre ------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--top { align-items: start; }
.split > *, .grid > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 16px; }
.split p + p { margin-top: 14px; }
.lead { font-size: 18px; color: var(--muted); }

.value-list { display: grid; gap: 16px; list-style: none; padding: 0; }
.value-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.value-item h3 { font-size: 18px; margin-bottom: 4px; }
.value-item p { color: var(--muted); font-size: 15px; }

/* Destaque de serviço novo (home) ---------------------------------------- */
.feature-media { position: relative; }
.feature-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 24px; box-shadow: var(--shadow-lg);
}
.feature-tag {
  position: absolute; left: 16px; top: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--primary);
  font-weight: 800; font-size: 14px; padding: 8px 14px; border-radius: 999px;
  box-shadow: var(--shadow);
}
.feature-tag svg { width: 18px; height: 18px; }

/* Unidades ---------------------------------------------------------------- */
.unit-card .unit-media { aspect-ratio: 268 / 200; background: var(--primary); position: relative; overflow: hidden; }
.unit-card .unit-media img { width: 100%; height: 100%; object-fit: cover; }
.unit-media--placeholder {
  display: grid; place-items: center; color: var(--accent);
  background: radial-gradient(circle at 30% 20%, #1a5a6f 0%, var(--primary) 60%);
}
.unit-media--placeholder svg { width: 64px; height: 64px; }
.unit-tag {
  position: absolute; left: 12px; top: 12px;
  background: var(--accent); color: var(--primary);
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.unit-card address { font-style: normal; color: var(--muted); font-size: 15px; line-height: 1.55; }
.unit-card .unit-contacts { font-size: 15px; display: grid; gap: 4px; }
.unit-card .unit-contacts a { text-decoration: none; font-weight: 600; }
.unit-card .unit-contacts a:hover { text-decoration: underline; }
.unit-card .card-body { padding: 22px 20px; }
.unit-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }
.unit-actions .btn { flex: 1 1 0; min-width: 0; padding-inline: 10px; gap: 6px; font-size: 13.5px; white-space: nowrap; }
.unit-actions .btn svg { width: 16px; height: 16px; }
@media (max-width: 1180px) { .grid--4:has(.unit-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .grid--4:has(.unit-card) { grid-template-columns: 1fr; } }
.nowrap { white-space: nowrap; }

.info-list { list-style: none; padding: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list li > div { min-width: 0; }
.info-list .icon-box { width: 44px; height: 44px; border-radius: 12px; }
.info-list .icon-box svg { width: 22px; height: 22px; }
.info-list strong { display: block; font-size: 14px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.info-list address, .info-list span { font-style: normal; font-size: 17px; }
.info-list a { font-weight: 600; text-decoration: none; }
.info-list address, .info-list span, .unit-card address { overflow-wrap: anywhere; }
.info-list a:hover { text-decoration: underline; }

.map-frame {
  width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius);
  box-shadow: var(--shadow); background: var(--bg);
}

.panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px;
}
.panel h2 { font-size: 24px; margin-bottom: 20px; }
.panel .btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* Serviços (página) ------------------------------------------------------- */
.service-detail { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.service-detail + .service-detail { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--border); }
.service-detail img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 269 / 290; object-fit: cover; }
.service-detail h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.service-detail p { color: var(--muted); }
.service-detail p + p { margin-top: 12px; }
.check-list { list-style: none; padding: 0; margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 600; font-size: 15px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E3D4D' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 760px) {
  .service-detail { grid-template-columns: 1fr; gap: 20px; }
  .service-detail img { max-width: 280px; }
  .check-list { grid-template-columns: 1fr; }
}
.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin-top: 28px; }
.chip-nav a {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.4); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600;
}
.chip-nav a:hover { background: var(--accent); border-color: var(--accent); color: var(--primary); }

/* Depoimentos ------------------------------------------------------------- */
.testimonial { padding: 28px; gap: 18px; }
.testimonial blockquote { font-size: 15px; color: var(--muted); position: relative; }
.testimonial blockquote::before {
  content: "\201C"; display: block; font-size: 64px; line-height: .8; color: var(--accent-600); font-family: Georgia, serif;
  margin-bottom: 4px;
}
.testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; font-weight: 700; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--primary); color: var(--accent); font-weight: 800; font-size: 15px;
}
.stars { color: #e3a008; letter-spacing: 2px; font-size: 14px; }

/* Faixa CTA --------------------------------------------------------------- */
.cta-band { background: var(--accent); color: var(--primary); }
.cta-band .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-block: 48px;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 6px; }
.cta-band p { font-size: 17px; }
.cta-band .hero-actions { flex: 0 1 auto; }

/* Escolha de unidade p/ resultados --------------------------------------- */
.choice-card { padding: 28px; gap: 12px; }
.choice-card .card-head { display: flex; align-items: center; gap: 14px; }
.choice-card ul { list-style: none; padding: 0; color: var(--muted); font-size: 15px; }
.choice-card .btn { margin-top: auto; align-self: flex-start; }
.choice-card .card-head h2 { font-size: 24px; }
.choice-card .card-head p { color: var(--muted); font-size: 15px; }
.choice-grid .choice-card { padding: 32px 28px; gap: 20px; }
.choice-card .unit-list { border-top: 1px solid var(--border); padding-top: 16px; display: grid; gap: 12px; flex: 1; }
.choice-card .unit-list strong { display: block; color: var(--text); font-size: 16px; }
.choice-card.card--link:hover .btn { background: var(--accent); color: var(--primary); }

/* Rodapé ------------------------------------------------------------------ */
.site-footer { background: var(--primary-700); color: rgba(255,255,255,.82); font-size: 15px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr; gap: 40px;
  padding-block: 56px 40px;
}
.footer-grid h2 { font-size: 15px; text-transform: uppercase; letter-spacing: 1px; color: #fff; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--accent); text-decoration: underline; }
.footer-brand img { width: 72px; height: 72px; background: #fff; border-radius: 50%; padding: 4px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 20px; font-size: 13px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
}
/* Crédito do desenvolvedor (mesmo padrão de lavets.com.br) */
.powered-by { max-width: none; text-align: center; font-size: 14px; padding-bottom: 20px; }
.powered-by a { font-weight: 700; text-decoration: underline; }
.powered-by a:hover { color: var(--accent); }
@media (max-width: 600px) { .site-footer { padding-bottom: 72px; } }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* WhatsApp flutuante ------------------------------------------------------ */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* Utilidades -------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-32 { margin-top: 32px; }
.text-center { text-align: center; }
.center-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.note { font-size: 14px; color: var(--muted); }

/* 404 */
.error-page { text-align: center; padding-block: 96px; }
.error-page .code { font-size: clamp(72px, 14vw, 140px); font-weight: 800; color: var(--accent-600); line-height: 1; }
.error-page h1 { font-size: clamp(26px, 4vw, 36px); margin: 12px 0; }
.error-page p { margin: 0 auto 28px; color: var(--muted); }
