/* ==========================================================
   Veterinária Tamoio — mobile first
   ========================================================== */

:root {
  /* marca */
  --forest-900: #053a20;
  --forest-800: #0b6b3a;
  --forest-700: #09582f;
  --forest-600: #2c7a3c;
  --lime: #7fae4e;
  --lime-600: #6a9a3b;
  --lime-100: #edf5e3;

  /* neutros quentes */
  --cream: #fbf7ef;
  --sand: #f3ecdf;
  --paper: #ffffff;
  --ink: #16241b;
  --ink-2: #4a5a4f;
  --ink-3: #7d8a81;
  --line: #e7e0d2;

  --coral: #ef5b3c;
  --open: #1f9d55;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(5, 58, 32, .06), 0 2px 8px rgba(5, 58, 32, .05);
  --shadow: 0 2px 4px rgba(5, 58, 32, .04), 0 12px 32px rgba(5, 58, 32, .09);
  --shadow-lg: 0 24px 60px rgba(5, 58, 32, .18);

  --gutter: 20px;
  --header-h: 68px;
  --dock-h: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
em { font-style: normal; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--lime-600); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 999;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--forest-800); color: #fff; font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 12px; }

.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--forest-800); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.35em;
  font-weight: 600; font-size: .98rem; line-height: 1.1;
  color: var(--fg); background: var(--bg);
  border: 1.5px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(5, 58, 32, .22); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn .i { transition: transform .25s var(--ease); }
.btn:hover .i use[href="#i-arrow"] { transform: translateX(3px); }
.btn:hover > .i:last-child { transform: translateX(3px); }

.btn--primary { --bg: var(--forest-800); }
.btn--primary:hover { --bg: var(--forest-700); }
.btn--ghost { --bg: transparent; --fg: var(--forest-800); border-color: color-mix(in srgb, var(--forest-800) 22%, transparent); }
.btn--ghost:hover { --bg: var(--paper); border-color: var(--forest-800); box-shadow: var(--shadow-sm); }
.btn--lime { --bg: var(--lime); --fg: var(--forest-900); }
.btn--lime:hover { --bg: #8fbd5c; box-shadow: 0 10px 30px rgba(127, 174, 78, .35); }
.btn--sm { min-height: 40px; padding: .55em 1em; font-size: .9rem; }
.btn--lg { min-height: 54px; padding: .9em 1.6em; font-size: 1.02rem; }
.btn--block { width: 100%; }

.link-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  font-size: .85rem; font-weight: 600; text-decoration: none;
  color: var(--forest-700); background: var(--lime-100);
  border: 0; cursor: pointer; transition: background .2s;
}
.link-btn:hover { background: #dcebc9; }
.link-btn .i { width: 1em; height: 1em; }

/* ---------- Status aberto/fechado ---------- */
.status-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  font-size: .85rem; font-weight: 600;
  background: var(--paper); color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.status-chip i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.status-chip.is-open { color: var(--open); }
.status-chip.is-open i { background: var(--open); }
.status-chip.is-open i::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--open); animation: ping 1.8s var(--ease) infinite;
}
.status-chip.is-closed { color: var(--coral); }
.status-chip.is-closed i { background: var(--coral); }
.status-chip--lg { font-size: .95rem; padding: 8px 16px 8px 14px; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, transform .35s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(5, 58, 32, .05); }
.header.is-hidden { transform: translateY(-100%); }

.header__bar { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { flex: none; margin-right: auto; }
.brand img { width: 54px; height: 54px; transition: transform .35s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.04); }

.nav { display: none; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.hide-xs, .hide-sm { display: none; }

.burger {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  background: var(--forest-800); border: 0; cursor: pointer;
}
.burger span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Sheet (menu mobile) ---------- */
.sheet { position: fixed; inset: 0; z-index: 90; }
.sheet[hidden] { display: none; }
.sheet__backdrop {
  position: absolute; inset: 0; background: rgba(5, 58, 32, .45);
  opacity: 0; transition: opacity .35s;
}
.sheet__panel {
  position: absolute; inset: var(--header-h) 0 auto 0;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  background: var(--cream);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  padding: 8px var(--gutter) 24px;
  transform: translateY(-16px); opacity: 0;
  transition: transform .4s var(--ease), opacity .3s;
}
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; opacity: 1; }

.sheet__nav { display: grid; }
.sheet__nav a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 16px 4px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; letter-spacing: -.02em;
  text-decoration: none; color: var(--forest-900);
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s, transform .4s var(--ease), color .2s;
}
.sheet__nav a span { font-family: var(--font-body); font-size: .8rem; font-weight: 600; color: var(--ink-3); }
.sheet__nav a:hover, .sheet__nav a:active { color: var(--forest-600); }
.sheet.is-open .sheet__nav a { opacity: 1; transform: none; }
.sheet.is-open .sheet__nav a:nth-child(2) { transition-delay: .04s; }
.sheet.is-open .sheet__nav a:nth-child(3) { transition-delay: .08s; }
.sheet.is-open .sheet__nav a:nth-child(4) { transition-delay: .12s; }
.sheet.is-open .sheet__nav a:nth-child(5) { transition-delay: .16s; }
.sheet__footer { display: grid; gap: 10px; margin-top: 20px; }
.sheet__footer .status-chip { justify-self: start; margin-bottom: 4px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: 28px 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 520px; height: 520px; right: -220px; top: -160px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(127, 174, 78, .35), transparent);
}
.hero__grid { display: grid; gap: 40px; }

.hero__title {
  margin: 18px 0 16px;
  font-size: clamp(2.5rem, 11vw, 4.6rem);
  font-weight: 800; color: var(--forest-900);
}
.hero__title em { position: relative; display: inline-block; color: var(--forest-600); }
.hero__title em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .28em; z-index: -1;
  background: var(--lime); border-radius: 4px; transform: skewX(-8deg) scaleX(0); transform-origin: 0 50%;
  animation: underline .9s .5s var(--ease) forwards;
}
@keyframes underline { to { transform: skewX(-8deg) scaleX(1); } }

.hero__lead { font-size: 1.08rem; color: var(--ink-2); max-width: 36ch; }
.hero__lead strong { color: var(--ink); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero__cta .btn--primary { flex: 1 1 auto; }

.hero__trust {
  list-style: none; margin: 30px 0 0; padding: 18px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  border-top: 1px dashed var(--line);
}
.hero__trust li { display: grid; gap: 2px; }
.hero__trust strong { font-family: var(--font-display); font-size: 1.08rem; color: var(--forest-800); }
.hero__trust span { font-size: .78rem; color: var(--ink-3); line-height: 1.3; }

/* visual */
.hero__visual { position: relative; padding: 0 8px 30px; }
.hero__frame {
  position: relative; aspect-ratio: 4 / 4.2; overflow: hidden;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  background:
    radial-gradient(circle at 30% 25%, rgba(127, 174, 78, .55), transparent 55%),
    linear-gradient(150deg, var(--forest-600), var(--forest-900));
  box-shadow: var(--shadow-lg);
  animation: morph 14s ease-in-out infinite alternate;
}
.hero__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: 1; }
/* leve vinheta verde para integrar a foto à paleta */
.hero__frame::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(200deg, transparent 55%, rgba(5, 58, 32, .35));
}
.hero__pattern {
  position: absolute; width: 62%; height: 62%; left: 19%; top: 19%;
  fill: rgba(255, 255, 255, .14); stroke: none;
  animation: float 6s ease-in-out infinite;
}
@keyframes morph {
  50% { border-radius: 58% 42% 55% 45% / 45% 58% 42% 55%; }
  100% { border-radius: 42% 58% 48% 52% / 58% 42% 58% 42%; }
}

.float {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.float strong { display: block; font-size: .88rem; line-height: 1.2; }
.float small { display: block; font-size: .74rem; color: var(--ink-3); }
.float__icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: #ffe8e2; color: var(--coral);
}
.float__icon--lime { background: var(--lime-100); color: var(--forest-600); }
.float--a { left: 0; top: 14%; }
.float--b { right: 0; bottom: 12%; animation-delay: -2s; }
.float--c {
  right: 6%; top: 2%; flex-direction: column; gap: 0; padding: 12px 16px;
  background: var(--lime); text-align: center; animation-delay: -4s;
}
.float--c strong { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--forest-900); }
.float--c small { color: var(--forest-800); font-weight: 600; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Atalhos ---------- */
.quick {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-bottom: 8px;
}
.quick__item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; border-radius: var(--r);
  background: var(--paper); box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.quick__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.quick__item strong { display: block; font-size: .92rem; line-height: 1.2; }
.quick__item small { display: block; font-size: .76rem; color: var(--ink-3); line-height: 1.3; }
.quick__icon {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--lime-100); color: var(--forest-700);
}

/* ---------- Seções ---------- */
.section { padding-block: 72px; }
.section--dark { background: var(--forest-900); color: #dfe9e2; border-radius: var(--r-lg); margin-inline: 8px; }
.section--cream { background: var(--sand); border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: 24px; }

.section__head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--forest-600);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--lime { color: var(--lime); }
.section__title { font-size: clamp(2rem, 7.5vw, 3.2rem); font-weight: 800; color: var(--forest-900); }
.section__title em { color: var(--forest-600); }
.section--dark .section__title { color: #fff; }
.section--dark .section__title em { color: var(--lime); }
.section__lead { margin-top: 12px; color: var(--ink-2); }

.card { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); }

/* ---------- Serviços ---------- */
.filters { display: grid; gap: 14px; margin-bottom: 24px; }
.chips {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter);
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 42px; padding: 0 16px; border-radius: 999px;
  font-weight: 600; font-size: .92rem;
  background: var(--paper); border: 1.5px solid var(--line); cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.chip span {
  min-width: 22px; padding: 1px 7px; border-radius: 999px;
  font-size: .75rem; background: var(--sand); color: var(--ink-2);
}
.chip:hover { border-color: var(--forest-600); }
.chip.is-active { background: var(--forest-800); border-color: var(--forest-800); color: #fff; }
.chip.is-active span { background: var(--lime); color: var(--forest-900); }

.search {
  display: flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 0 16px; border-radius: 999px;
  background: var(--paper); border: 1.5px solid var(--line);
  color: var(--ink-3); transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--forest-600); box-shadow: 0 0 0 4px rgba(11, 107, 58, .12); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); }

.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.service {
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start;
  padding: 18px; border-radius: var(--r);
  background: var(--paper); box-shadow: var(--shadow-sm);
  border: 1.5px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s, opacity .3s;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--lime); }
.service__icon {
  grid-row: span 2; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--lime-100); color: var(--forest-700);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.service__icon .i { width: 24px; height: 24px; }
.service:hover .service__icon { background: var(--forest-800); color: var(--lime); transform: rotate(-6deg); }
.service h3 { font-size: 1.08rem; font-weight: 700; margin: 2px 0 4px; }
.service p { font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.service mark { background: var(--lime); color: inherit; border-radius: 3px; padding: 0 2px; }
.service.is-hidden { display: none; }
.service.is-entering { animation: pop .45s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }

.empty { display: grid; justify-items: center; gap: 10px; padding: 40px 16px; text-align: center; color: var(--ink-2); }
.empty .i { width: 44px; height: 44px; color: var(--lime-600); fill: currentColor; stroke: none; }
.empty a { color: var(--forest-600); font-weight: 600; }

/* ---------- Diferenciais ---------- */
.features { display: grid; gap: 14px; }
.feature {
  padding: 26px; border-radius: var(--r);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.feature:hover { background: rgba(255, 255, 255, .07); border-color: rgba(127, 174, 78, .4); transform: translateY(-4px); }
.feature__icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 16px; background: var(--lime); color: var(--forest-900);
}
.feature__icon .i { width: 26px; height: 26px; }
.feature h3 { font-size: 1.3rem; color: #fff; margin-bottom: 8px; }
.feature p { font-size: .95rem; color: #b9cdbf; }

.stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 40px 0;
  background: rgba(255, 255, 255, .1); border-radius: var(--r); overflow: hidden;
}
.stat { display: flex; flex-direction: column-reverse; padding: 22px 18px; background: var(--forest-900); }
.stat dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 2.8rem; line-height: 1; color: var(--lime); font-variant-numeric: tabular-nums; }
.stat dt { margin-top: 6px; font-size: .85rem; color: #b9cdbf; }

.story { display: grid; gap: 28px; }
.story__intro h3 { font-size: 1.6rem; color: #fff; margin-bottom: 10px; }
.story__intro p { color: #b9cdbf; }
.story__intro strong { color: #fff; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; display: grid; gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--lime), rgba(127, 174, 78, .1)); }
.timeline li { position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: -26px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--forest-900); border: 3px solid var(--lime);
}
.timeline__year { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--lime); }
.timeline p { color: #d2e0d5; font-size: .95rem; }

/* ---------- Banda exames ---------- */
.band {
  position: relative; overflow: hidden;
  display: grid; gap: 18px; justify-items: start;
  margin-top: 56px; padding: 30px 24px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--forest-700), var(--forest-900));
  color: #fff;
}
.band::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(127, 174, 78, .35), transparent);
}
.band__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: rgba(127, 174, 78, .15); color: var(--lime); }
.band__icon .i { width: 28px; height: 28px; }
.band h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); margin-bottom: 6px; }
.band p { color: #d2e0d5; }
.band .btn { position: relative; z-index: 1; }

/* ---------- Horários + FAQ ---------- */
.two-col { display: grid; gap: 56px; }

.hours { padding: 22px; }
.hours__list { list-style: none; margin: 16px 0 0; padding: 0; }
.hours__list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; border-radius: 12px;
  font-variant-numeric: tabular-nums; color: var(--ink-2);
}
.hours__list li + li { border-top: 1px solid var(--line); }
.hours__list li.is-today {
  background: var(--lime-100); color: var(--forest-900); font-weight: 700; border-color: transparent;
}
.hours__list li.is-today + li { border-color: transparent; }
.hours__list li.is-today span:first-child::after {
  content: "Hoje"; margin-left: 8px; padding: 2px 8px; border-radius: 999px;
  font-size: .7rem; letter-spacing: .04em; text-transform: uppercase;
  background: var(--forest-800); color: var(--lime);
}

.faq { display: grid; gap: 10px; }
.faq details {
  border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--lime-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6b3a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--lime); }
.faq details p { padding: 0 20px 20px; color: var(--ink-2); }
.faq details a { color: var(--forest-600); font-weight: 600; }

/* ---------- Contato ---------- */
.contact { display: grid; gap: 16px; }

.form { position: relative; display: grid; gap: 14px; padding: 22px; }

.pets { border: 0; margin: 0 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pets legend { width: 100%; margin-bottom: 10px; font-weight: 700; }
.pet input { position: absolute; opacity: 0; pointer-events: none; }
.pet span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--line); font-weight: 600; font-size: .92rem; cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.pet span:hover { border-color: var(--forest-600); }
.pet input:checked + span { border-color: var(--forest-800); background: var(--forest-800); color: #fff; transform: scale(1.03); }
.pet input:focus-visible + span { outline: 3px solid var(--lime-600); outline-offset: 2px; }

.form__row { display: grid; gap: 14px; }

.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 58px; padding: 24px 16px 8px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 14px;
  outline: 0; appearance: none; -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; padding-top: 28px; }
.field select {
  padding: 8px 44px 8px 16px; cursor: pointer; color: var(--ink-2);
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5a4f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat;
}
.field select.has-value { color: var(--ink); }
.field label {
  position: absolute; left: 17px; top: 18px; pointer-events: none;
  color: var(--ink-3); transform-origin: 0 0;
  transition: transform .2s var(--ease), color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--forest-600); background: var(--paper); box-shadow: 0 0 0 4px rgba(11, 107, 58, .12);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-10px) scale(.78); color: var(--forest-600); font-weight: 600;
}
.field__error { display: none; margin: 6px 0 0 4px; font-size: .8rem; font-weight: 600; color: var(--coral); }
.field.has-error input, .field.has-error textarea { border-color: var(--coral); background: #fff6f3; }
.field.has-error .field__error { display: block; animation: shake .35s; }
.field.is-valid input { border-color: color-mix(in srgb, var(--open) 50%, var(--line)); }
.field__counter { position: absolute; right: 14px; bottom: 10px; font-size: .72rem; color: var(--ink-3); pointer-events: none; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.form__note { text-align: center; font-size: .88rem; color: var(--ink-3); }
.form__note a { color: var(--forest-600); font-weight: 600; }
.hp { position: absolute; left: -9999px; }

.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading .btn__label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__success {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center;
  background: var(--paper); border-radius: inherit;
  animation: pop .5s var(--ease);
}
.form__success[hidden] { display: none; }
.form__success h3 { font-size: 1.6rem; }
.form__success p { color: var(--ink-2); margin-bottom: 8px; }
.form__success-icon {
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  background: var(--lime); color: var(--forest-900);
}
.form__success-icon .i { width: 36px; height: 36px; stroke-width: 2.6; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .25s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.contact__side { display: grid; gap: 16px; align-content: start; }
.info { padding: 8px 22px; }
.info__row { display: flex; gap: 14px; padding: 16px 0; }
.info__row + .info__row { border-top: 1px solid var(--line); }
.info__row strong { display: block; margin-bottom: 2px; }
.info__row address, .info__row p { color: var(--ink-2); font-size: .95rem; }
.info__row a { color: var(--forest-700); text-decoration: none; font-weight: 600; }
.info__row a:hover { text-decoration: underline; }
.info__row .link-btn { text-decoration: none; }
.info__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--lime-100); color: var(--forest-700); }
.info__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.map { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__load {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; font-weight: 700; color: var(--forest-800);
  background:
    linear-gradient(rgba(243, 236, 223, .7), rgba(243, 236, 223, .7)),
    repeating-linear-gradient(45deg, #e9e1d0 0 2px, transparent 2px 22px),
    repeating-linear-gradient(-45deg, #e9e1d0 0 2px, var(--sand) 2px 22px);
}
.map__load:hover { color: var(--forest-600); }
.map.is-loaded .map__load { display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--forest-900); color: #b9cdbf; padding-top: 56px; font-size: .95rem; }
.footer__grid { display: grid; gap: 32px; padding-bottom: 36px; }
.footer__brand img { width: 96px; height: 96px; padding: 4px; border-radius: 50%; background: #fff; margin-bottom: 14px; }
.footer__brand p { margin-bottom: 16px; }
.footer strong { display: block; margin-bottom: 10px; color: #fff; font-family: var(--font-display); font-size: 1.05rem; }
.footer__nav, .footer__contact { display: grid; gap: 8px; align-content: start; }
.footer a { color: #b9cdbf; text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--lime); }
.social { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background .2s; }
.social:hover { background: var(--lime); }
.social svg { width: 18px; fill: #fff; }
.social:hover svg { fill: var(--forest-900); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem;
}
.footer__bottom a { color: var(--lime); }

/* ---------- Dock (mobile) ---------- */
.dock {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 80;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  padding: 6px; border-radius: 22px;
  background: rgba(5, 58, 32, .94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  transition: transform .4s var(--ease);
}
.dock.is-hidden { transform: translateY(calc(100% + 24px)); }
.dock a {
  display: grid; justify-items: center; gap: 2px; padding: 7px 4px; border-radius: 16px;
  color: #d2e0d5; text-decoration: none; font-size: .72rem; font-weight: 600;
  -webkit-tap-highlight-color: transparent; transition: background .2s, color .2s;
}
.dock a:active { background: rgba(255, 255, 255, .08); }
.dock .i { width: 22px; height: 22px; }
.dock__main { background: var(--lime); color: var(--forest-900) !important; }

/* ---------- Voltar ao topo & toast ---------- */
.to-top {
  display: none !important; /* no mobile o dock + header ao subir já resolvem */
  position: fixed; right: 16px; bottom: calc(var(--dock-h) + 24px + env(safe-area-inset-bottom)); z-index: 70;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--paper); color: var(--forest-800); border: 0; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s var(--ease);
}
.to-top .i { transform: rotate(-90deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--dock-h) + 28px + env(safe-area-inset-bottom)); z-index: 300;
  padding: 12px 18px; border-radius: 999px;
  background: var(--forest-900); color: #fff; font-weight: 600; font-size: .9rem;
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translate(-50%, 16px); pointer-events: none;
  transition: opacity .3s, transform .35s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Revelar ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   ≥ 480px
   ========================================================== */
@media (min-width: 480px) {
  .hide-xs { display: inline-flex; }
  .form__row { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================
   ≥ 640px
   ========================================================== */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .quick { grid-template-columns: repeat(4, 1fr); }
  .services { grid-template-columns: 1fr 1fr; }
  .service { grid-template-columns: 1fr; padding: 22px; }
  .service__icon { grid-row: auto; margin-bottom: 14px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .band { grid-template-columns: auto 1fr auto; align-items: center; padding: 36px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .form { padding: 30px; }
  .section--dark { margin-inline: 16px; }
}

/* ==========================================================
   ≥ 960px — desktop
   ========================================================== */
@media (min-width: 960px) {
  :root { --header-h: 80px; --dock-h: 0px; }
  body { padding-bottom: 0; }

  .dock { display: none; }
  .burger { display: none; }
  .hide-sm { display: inline-flex; }

  .brand img { width: 70px; height: 70px; }
  .nav { display: flex; gap: 4px; margin-right: 12px; }
  .nav a {
    position: relative; padding: 8px 14px; border-radius: 999px;
    font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--ink-2);
    transition: color .2s, background .2s;
  }
  .nav a:hover { color: var(--forest-900); background: rgba(5, 58, 32, .06); }
  .nav a.is-active { color: var(--forest-900); background: var(--lime-100); }

  .hero { padding-block: 56px 80px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 64px; }
  .hero__lead { font-size: 1.2rem; }
  .hero__cta .btn--primary { flex: none; }
  .hero__visual { padding: 20px 30px 20px 10px; }
  .float--a { left: -24px; }
  .float--b { right: 0; }

  .quick { margin-top: -20px; }

  .section { padding-block: 110px; }
  .section--dark { margin-inline: 24px; }

  .filters { grid-template-columns: 1fr 300px; align-items: center; }
  .chips { margin: 0; padding: 4px 0; flex-wrap: wrap; overflow: visible; }

  .services { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .features { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .stats { margin-block: 56px; }
  .stat { padding: 30px 26px; }
  .stat dd { font-size: 3.6rem; }
  .story { grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }

  .band { padding: 44px 52px; margin-top: 80px; }

  .two-col { grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
  .hours { position: sticky; top: calc(var(--header-h) + 24px); }

  .contact { grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: start; }
  .form { padding: 36px; }

  .to-top { display: grid !important; bottom: 24px; right: 24px; }
  .toast { bottom: 32px; }
}

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

/* ==========================================================
   WhatsApp flutuante
   ========================================================== */
.wa {
  --wa: #25d366;
  --wa-dark: #128c4b;
  position: fixed; z-index: 85;
  right: 14px; bottom: calc(var(--dock-h) + 22px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  pointer-events: none;
}
.wa > * { pointer-events: auto; }

.wa__btn {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  height: 58px; min-width: 58px; padding: 0 16px;
  border-radius: 999px;
  background: var(--wa); color: #fff;
  text-decoration: none; font-weight: 700;
  box-shadow: 0 10px 28px rgba(18, 140, 75, .38);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .2s;
  -webkit-tap-highlight-color: transparent;
  animation: wa-in .6s .8s var(--ease) both;
}
.wa__btn:hover { background: #1fbe5b; transform: translateY(-3px); box-shadow: 0 14px 34px rgba(18, 140, 75, .45); }
.wa__btn:active { transform: scale(.95); }

/* anel pulsando para chamar atenção (para depois de 3 ciclos) */
.wa__btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid var(--wa);
  animation: wa-ring 2.2s 2s var(--ease) 3;
  opacity: 0;
}
.wa__icon { width: 28px; height: 28px; flex: none; margin-left: -1px; }

/* rótulo escondido no mobile, expande no desktop */
.wa__label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  transition: max-width .4s var(--ease), margin .4s var(--ease);
  margin-left: -10px;
}

.wa__badge {
  position: absolute; top: -3px; right: -3px;
  display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: var(--coral); color: #fff; font-size: .7rem; font-weight: 700;
  border: 2px solid var(--cream);
  transform: scale(0); transition: transform .35s var(--ease);
}
.wa.has-badge .wa__badge { transform: scale(1); }

.wa__bubble {
  position: relative;
  display: flex; gap: 12px; align-items: flex-start;
  width: min(300px, calc(100vw - 28px));
  padding: 16px 38px 16px 14px; border-radius: 20px 20px 6px 20px;
  background: var(--paper); box-shadow: var(--shadow-lg);
  transform-origin: 100% 100%;
  animation: wa-pop .45s var(--ease);
}
.wa__bubble[hidden] { display: none; }
.wa__bubble strong { display: block; font-size: .92rem; margin-bottom: 2px; }
.wa__bubble p { font-size: .88rem; color: var(--ink-2); line-height: 1.45; }
.wa__avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  object-fit: contain; background: #fff; border: 2px solid var(--lime-100); padding: 3px;
}
.wa__close {
  position: absolute; top: 8px; right: 8px;
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 0; background: transparent; color: var(--ink-3); cursor: pointer;
}
.wa__close:hover { background: var(--sand); color: var(--ink); }
.wa__close .i { width: 16px; height: 16px; }

/* some junto com o dock quando o teclado abre */
.dock.is-hidden ~ .wa { opacity: 0; pointer-events: none; transform: translateY(20px); }
.wa { transition: opacity .3s, transform .3s var(--ease); }
body.is-locked .wa { opacity: 0; pointer-events: none; }

@keyframes wa-in { from { opacity: 0; transform: translateY(20px) scale(.6); } }
@keyframes wa-pop { from { opacity: 0; transform: scale(.7) translateY(10px); } }
@keyframes wa-ring { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }

@media (min-width: 960px) {
  .wa { right: 24px; bottom: 24px; }
  .wa__btn:hover .wa__label, .wa__btn:focus-visible .wa__label { max-width: 180px; margin-left: 0; }
  .wa__btn:hover, .wa__btn:focus-visible { padding-right: 22px; }
  /* "voltar ao topo" sobe para não colidir com o WhatsApp */
  .to-top { bottom: 96px !important; right: 30px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .wa__btn::before { display: none; }
}

