/* =========================================================
   Kairós Diagnóstico por Imagem Veterinário
   Layout: editorial 12-col grid, alternating cream / forest bands;
   imagens dentro do grid com raio 16px, imagens de borda a borda retas.
   ========================================================= */
:root {
  /* Paleta oficial */
  --forest: #1e4021;
  --forest-deep: #142c17;
  --cream: #faf6ef;
  --lime: #7dd958;
  --vibrant: #039d4d;
  /* Derivados */
  --sand: #efe8da;
  --ink: #1e4021;
  --ink-soft: rgba(30, 64, 33, 0.74);
  --line: rgba(30, 64, 33, 0.16);
  --cream-soft: rgba(250, 246, 239, 0.74);
  --cream-line: rgba(250, 246, 239, 0.14);

  /* Tipografia: Poppins 400–900 */
  --font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(2.25rem, 1.15rem + 3.4vw, 3.6rem);
  --fs-h2: clamp(1.75rem, 1.15rem + 1.9vw, 2.75rem);
  --fs-h3: clamp(1.35rem, 1.1rem + 0.75vw, 1.75rem);
  --fs-lead: clamp(1rem, 0.94rem + 0.25vw, 1.125rem);
  --fs-label: 0.75rem;

  /* Sistema de imagens */
  --r-img: 16px;
  --r-sm: 12px;

  /* Espaço */
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(88px, 11vw, 168px);
  --max: 1400px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
em { font-style: normal; }
::selection { background: var(--lime); color: var(--forest); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--forest); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--section); }

/* ---------- Grain ---------- */
.grain { position: relative; }
.grain > * { position: relative; z-index: 2; }
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--vibrant); }
.eyebrow--light { color: var(--cream-soft); }
.eyebrow--light::before { background: var(--lime); }

.h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.lead { font-size: var(--fs-lead); line-height: 1.65; max-width: 34rem; }
.lead strong { font-weight: 600; }
.lead--soft { color: var(--ink-soft); }
.accent { color: var(--vibrant); }
.accent-lime { color: var(--lime); }

.line-mask { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line-mask > span { display: block; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-family: var(--font); font-weight: 600; font-size: 0.9375rem; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: 0.12s; }
.btn__arrow { display: inline-block; transition: transform 0.4s var(--ease); }
.btn:hover .btn__arrow { transform: translate(2px, -2px); }
.btn:hover .btn__arrow--down { transform: translateY(3px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.875rem; }
.btn--lime { background: var(--lime); color: var(--forest); }
.btn--lime:hover { background: var(--cream); }
.btn--forest { background: var(--forest); color: var(--cream); }
.btn--forest:hover { background: var(--vibrant); }
.btn--ghost-light { border-color: rgba(250, 246, 239, 0.45); color: var(--cream); }
.btn--ghost-light:hover { border-color: var(--lime); color: var(--lime); }
.btn--ghost-dark { border-color: rgba(30, 64, 33, 0.35); color: var(--forest); }
.btn--ghost-dark:hover { border-color: var(--vibrant); color: var(--vibrant); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 6px 0;
  font-weight: 600; font-size: 0.9375rem; color: var(--forest);
  border-bottom: 1px solid rgba(30, 64, 33, 0.3);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.text-link span { transition: transform 0.4s var(--ease); }
.text-link:hover { color: var(--vibrant); border-color: var(--vibrant); }
.text-link:hover span { transform: translate(2px, -2px); }

.link-line { position: relative; }
.link-line::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease);
}
.link-line:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Mídia (padrão de bordas) ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--r-img); background: var(--sand); isolation: isolate; }
.media > img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Navegação ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--cream);
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav.is-scrolled, .nav.is-open { background: rgba(20, 44, 23, 0.94); box-shadow: 0 1px 0 var(--cream-line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 84px; transition: height 0.5s var(--ease); }
.nav.is-scrolled .nav__bar { height: 68px; }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__crest { width: 46px; height: auto; transition: width 0.5s var(--ease); }
.nav.is-scrolled .nav__crest { width: 38px; }
.nav__name { display: flex; flex-direction: column; font-weight: 700; font-size: 1rem; line-height: 1.1; letter-spacing: 0.12em; text-transform: uppercase; }
.nav__name small { font-size: 0.625rem; font-weight: 500; letter-spacing: 0.14em; color: var(--cream-soft); margin-top: 4px; }
.nav__links { display: none; gap: 32px; font-size: 0.875rem; font-weight: 500; }
.nav__links a { color: rgba(250, 246, 239, 0.86); transition: color 0.3s; }
.nav__links a:hover { color: var(--lime); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__cta { display: none; }
.nav__toggle {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(250, 246, 239, 0.3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav__toggle span { width: 18px; height: 1.5px; background: var(--cream); transition: transform 0.4s var(--ease); }
.nav.is-open .nav__toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.nav__mobile { max-height: 0; overflow: hidden; transition: max-height 0.6s var(--ease); }
.nav.is-open .nav__mobile { max-height: 85svh; }
.nav__mobile ul { padding-top: 8px; padding-bottom: 28px; }
.nav__mobile li a:not(.btn) { display: block; padding: 14px 0; font-size: 1.25rem; font-weight: 600; border-bottom: 1px solid var(--cream-line); }
.nav__mobile-cta { padding-top: 22px; }
@media (min-width: 640px) { .nav__cta { display: inline-flex; } }
@media (min-width: 1024px) { .nav__links { display: flex; } .nav__toggle, .nav__mobile { display: none; } }

/* ---------- Hero ---------- */
.hero {
  min-height: 640px; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--forest-deep); color: var(--cream); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media > .hero__img { position: absolute; inset: -16px; overflow: hidden; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 28%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 44, 23, 0.55) 0%, transparent 28%, transparent 40%, rgba(20, 44, 23, 0.96) 88%),
    linear-gradient(90deg, rgba(20, 44, 23, 0.7) 0%, transparent 70%);
}
.hero__inner { padding-top: 140px; padding-bottom: 56px; }
.hero__title { font-size: clamp(1.65rem, 0.85rem + 3.7vw, 3.6rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; }
.hero__title .line-mask > span { white-space: nowrap; }
.hero__lead { margin-top: 22px; max-width: 31rem; font-size: var(--fs-lead); line-height: 1.65; color: var(--cream-soft); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
@media (min-width: 768px) {
  .hero__media { left: 26%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%); mask-image: linear-gradient(90deg, transparent 0%, #000 32%); }
  .hero__shade { background: linear-gradient(180deg, rgba(20, 44, 23, 0.45) 0%, transparent 30%, transparent 62%, rgba(20, 44, 23, 0.85) 100%); }
  .hero__inner { padding-bottom: 104px; }
}
@media (min-width: 1024px) { .hero { min-height: clamp(750px, 94svh, 920px); } }

/* ---------- Seções: cabeçalho ---------- */
.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head__aside { font-size: 0.9375rem; line-height: 1.65; color: var(--ink-soft); max-width: 24rem; }
.section-head__aside--light { color: var(--cream-soft); }
@media (min-width: 1024px) { .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); align-items: end; column-gap: 48px; } }

/* ---------- Quem somos ---------- */
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--sand); font-size: 0.8125rem; font-weight: 500; color: var(--forest); }
.tag::before { content: ""; width: 7px; height: 7px; background: var(--forest); transform: rotate(45deg); border-radius: 1px; }
.intro__top { display: grid; gap: 28px; margin-top: clamp(32px, 4vw, 52px); margin-bottom: clamp(48px, 6vw, 80px); }
.intro__title { font-size: clamp(1.9rem, 1.15rem + 2.4vw, 3rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.03em; }
.intro__side { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.intro__text { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.55; color: var(--forest); max-width: 36rem; }
@media (min-width: 1024px) {
  .intro__top { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 64px; align-items: start; }
  .intro__title .line-mask > span { white-space: nowrap; }
  .intro__side { padding-top: 10px; }
}
.intro__banner { position: relative; display: grid; border-radius: 24px; overflow: hidden; background: var(--forest); color: var(--cream); isolation: isolate; }
.intro__photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.intro__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.intro__wave { display: none; }
.intro__panel { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(28px, 5vw, 72px); }
.intro__panel-title { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.375rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.025em; }
.intro__panel-text { margin-top: 16px; margin-bottom: 30px; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); line-height: 1.55; color: var(--cream-soft); max-width: 30rem; }
@media (min-width: 900px) {
  .intro__banner { display: block; min-height: clamp(400px, 34vw, 480px); }
  .intro__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; aspect-ratio: auto; }
  .intro__wave { display: block; position: absolute; z-index: 1; top: 0; bottom: 0; left: calc(50% - 1px); width: clamp(60px, 7vw, 110px); height: 100%; fill: var(--forest); }
  .intro__panel { width: 52%; min-height: inherit; padding-right: 4%; }
}

/* ---------- Equipe ---------- */
.team { background: var(--sand); }
.team__head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(110px, 12vw, 150px); }
.team__head .h2 { text-align: center; }
.team__grid { display: grid; gap: 120px; max-width: 960px; margin-inline: auto; }
.member { background: #fffdf9; border-radius: 20px; padding: 14px 14px 26px; box-shadow: 0 1px 0 rgba(30, 64, 33, 0.06), 0 24px 48px -32px rgba(30, 64, 33, 0.35); }
.member__stage {
  position: relative; aspect-ratio: 10 / 9; border-radius: 14px;
  background:
    radial-gradient(70% 60% at 50% 70%, rgba(125, 217, 88, 0.35), transparent 70%),
    repeating-linear-gradient(0deg, rgba(250, 246, 239, 0.07) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, rgba(250, 246, 239, 0.07) 0 1px, transparent 1px 36px),
    linear-gradient(180deg, var(--vibrant) 0%, var(--forest) 100%);
}
.member__photo {
  position: absolute; left: 0; bottom: 0; width: 100%; height: auto;
  border-radius: 0 0 14px 14px; transform-origin: 50% 100%;
  transition: transform 0.9s var(--ease);
}
.member:hover .member__photo { transform: translateY(-6px) scale(1.015); }
.member__body { padding: 22px 10px 0; }
.member__id { display: flex; align-items: center; gap: 14px; }
.member__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px var(--cream), 0 0 0 4px rgba(30, 64, 33, 0.15); }
.member__name { font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.4rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.member__reg { margin-top: 2px; font-size: 0.875rem; font-weight: 500; color: var(--vibrant); letter-spacing: 0.02em; }
.member__bio { margin-top: 16px; font-size: 0.9375rem; line-height: 1.65; color: var(--ink-soft); }
@media (min-width: 768px) { .team__grid { grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); } }

/* ---------- Serviços (cards com foto) ---------- */
.band { color: var(--cream); overflow: hidden; background: radial-gradient(28rem 22rem at 88% 10%, rgba(125, 217, 88, 0.28), transparent 70%), radial-gradient(34rem 26rem at 66% 26%, rgba(3, 157, 77, 0.38), transparent 70%), var(--forest-deep); }
.band__head { display: grid; gap: 22px; margin-bottom: clamp(44px, 5vw, 72px); }
.band__text { color: var(--cream-soft); line-height: 1.65; max-width: 30rem; }
.band__more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--cream); transition: color 0.3s; justify-self: start; padding: 6px 0; }
.band__more span { font-size: 1.25rem; transition: transform 0.4s var(--ease); }
.band__more:hover { color: var(--lime); }
.band__more:hover span { transform: translateX(6px); }
@media (min-width: 1024px) {
  .band__head { grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); align-items: end; column-gap: 48px; }
  .band__more { justify-self: end; }
}
.band__track { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.band__track::-webkit-scrollbar { display: none; }
.place { display: block; aspect-ratio: 5 / 6; color: var(--cream); scroll-snap-align: start; background: var(--forest); }
.place > img { position: absolute; inset: 0; z-index: -2; transition: transform 1.2s var(--ease); }
.place::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 44, 23, 0.35) 0%, rgba(20, 44, 23, 0) 26%, rgba(20, 44, 23, 0) 45%, rgba(20, 44, 23, 0.92) 100%); }
.place__num { position: absolute; top: clamp(20px, 2.6vw, 34px); left: clamp(20px, 2.6vw, 34px); font-size: 1.375rem; font-weight: 600; }
.place__go {
  position: absolute; top: clamp(16px, 2.2vw, 28px); right: clamp(16px, 2.2vw, 28px);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lime); color: var(--forest); font-weight: 600;
  opacity: 0; transform: scale(0.7); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.place__copy { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2.6vw, 34px); display: grid; gap: 8px; }
.place__title { font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.75rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; }
.place__text { font-size: 0.9375rem; line-height: 1.55; color: rgba(250, 246, 239, 0.84); max-width: 24rem; }
.place:hover > img { transform: scale(1.05); }
.place:hover .place__go, .place:focus-visible .place__go { opacity: 1; transform: scale(1); }
@media (hover: none) { .place__go { opacity: 1; transform: none; } }
@media (min-width: 768px) { .band__track { grid-auto-columns: calc((100% - 32px) / 2.4); } }
@media (min-width: 1024px) { .band__track { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; overflow: visible; } .place { aspect-ratio: 3 / 4; } }

/* ---------- Tecnologia ---------- */
.tech { background: var(--forest-deep); color: var(--cream); overflow: hidden; }
.tech__grid { display: grid; gap: 48px; align-items: center; }
.tech__text { margin-top: 24px; font-size: var(--fs-lead); line-height: 1.65; max-width: 32rem; }
.tech__text--soft { margin-top: 14px; color: var(--cream-soft); }
.tech__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tech__chips li { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(125, 217, 88, 0.5); color: var(--lime); font-size: 0.875rem; font-weight: 500; }
.tech__stage {
  aspect-ratio: 1 / 0.92; max-width: 100%;
  background:
    radial-gradient(55% 50% at 55% 62%, rgba(125, 217, 88, 0.2), transparent 70%),
    linear-gradient(160deg, #24502a 0%, var(--forest) 45%, #17331a 100%);
}
.tech__stage::after {
  content: ""; position: absolute; left: 12%; right: 8%; bottom: 12%; height: 8%; z-index: 0;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.42), transparent); filter: blur(8px);
}
.media > .tech__device { position: absolute; z-index: 1; height: auto; object-fit: contain; filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.35)); }
.media > .tech__device--us { width: 64%; right: 7%; bottom: 15%; }
.media > .tech__device--rx { width: auto; height: 62%; left: 11%; bottom: 13%; z-index: 2; }
@media (min-width: 1024px) {
  .tech__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 40px; }
  .tech__copy { grid-column: 1 / 7; }
}

/* ---------- Hero: slogan ---------- */
.hero__slogan { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.3rem); font-weight: 500; color: var(--cream); }
.hero__slogan::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--lime); }
.hero__slogan + .hero__lead { margin-top: 12px; }

.place__cta { margin-top: 6px; font-size: 0.875rem; font-weight: 600; color: var(--lime); display: inline-flex; gap: 8px; }
.place__cta span { transition: transform 0.4s var(--ease); }
.place:hover .place__cta span { transform: translateX(5px); }
.team__cta { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 72px); }
.tech__cta { margin-top: 30px; }
.btn--cream { background: var(--cream); color: var(--forest); }
.btn--cream:hover { background: var(--lime); }

/* ---------- Quem atendemos (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-top: 40px; }
.tile { position: relative; border-radius: 20px; padding: 18px; min-height: 230px; isolation: isolate; }
.chip {
  position: relative; z-index: 3; display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px;
  background: #fffdf9; color: var(--forest); font-size: 0.875rem; font-weight: 600; line-height: 1;
  box-shadow: 0 6px 18px -8px rgba(20, 44, 23, 0.4);
}
.tile__wave { position: absolute; z-index: 0; left: 18px; bottom: 22px; width: 42%; max-width: 200px; fill: none; stroke: var(--lime); stroke-width: 7; stroke-linecap: round; opacity: 0.9; }
.tile__wave--light { stroke: rgba(30, 64, 33, 0.22); left: auto; right: 18px; top: 22px; bottom: auto; width: 34%; }
.tile__pet { position: absolute; z-index: 1; bottom: 0; height: auto; transform-origin: 50% 100%; transition: transform 0.8s var(--ease); }
.tile--dogs { grid-column: span 2; min-height: 300px; background: var(--forest); }
.tile__pet--dog { right: 6%; height: 116%; width: auto; }
.tile--cats { background: var(--lime); min-height: 260px; }
.tile__pet--cat { right: 4%; height: 104%; width: auto; max-width: 92%; object-fit: contain; object-position: bottom; }
.tile--dogs:hover .tile__pet, .tile--cats:hover .tile__pet { transform: translateY(-6px) rotate(-1deg); }
.tile--info { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 22px; }
.tile--small { background: var(--sand); color: var(--forest); }
.tile--large { background: var(--vibrant); color: var(--cream); }
.tile__label { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; }
.tile__list { font-size: 0.9375rem; line-height: 1.55; max-width: 15rem; }
.tile--info { padding-bottom: 82px; }
.tile--small .tile__list { color: var(--ink-soft); }
.tile__go {
  position: absolute; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 600; transition: transform 0.4s var(--ease), background-color 0.3s;
}
.tile--small .tile__go { background: var(--forest); color: var(--lime); }
.tile--large .tile__go { background: var(--cream); color: var(--forest); }
.tile__go:hover { transform: rotate(45deg); }
.tile--horse { grid-column: span 2; min-height: 260px; padding: 18px; border-radius: 20px; }
.tile--horse > img { position: absolute; inset: 0; z-index: -1; object-position: 65% 40%; }
.tile--cta { grid-column: span 2; background: var(--lime); color: var(--forest); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; min-height: 180px; padding: 22px; overflow: hidden; }
.tile__cta-text { position: relative; z-index: 1; font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; max-width: 14ch; }
.tile__cta-btn { position: relative; z-index: 1; flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--lime); font-weight: 600; transition: transform 0.4s var(--ease); }
.tile--cta:hover .tile__cta-btn { transform: rotate(45deg); }
@media (max-width: 1023px) {
  .tile__wave--light { display: none; }
  .tile--cta { flex-direction: column; align-items: flex-start; justify-content: space-between; }
  .tile--horse { order: 4; }
  .tile--large { order: 5; grid-column: span 1; }
  .tile--cta { order: 6; grid-column: span 1; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 18px; }
  .tile { min-height: 0; }
  .tile--horse { grid-column: span 2; }
  .tile--cta { grid-column: span 1; }
  .tile--info { padding-bottom: 22px; }
  .tile__list { padding-right: 56px; }
}

/* ---------- Onde atendemos: painéis expansíveis ---------- */
.reach__head { display: grid; gap: 26px; margin-bottom: clamp(40px, 5vw, 64px); }
.reach__title { font-size: clamp(1.9rem, 1.15rem + 2.4vw, 3rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.03em; }
.reach__mark { position: relative; display: inline-block; color: var(--vibrant); }
.reach__mark svg { position: absolute; left: -2%; bottom: -0.16em; width: 104%; height: 0.38em; fill: none; stroke: var(--lime); stroke-width: 5; stroke-linecap: round; overflow: visible; }
.reach__side { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.reach__side p { color: var(--ink-soft); line-height: 1.6; max-width: 30rem; }
.pill-cta { display: inline-flex; align-items: center; gap: 18px; padding: 6px 6px 6px 24px; border-radius: 999px; background: var(--forest); color: var(--cream); font-weight: 600; font-size: 0.9375rem; transition: background-color 0.3s; }
.pill-cta__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--forest); font-size: 1.1rem; transition: transform 0.4s var(--ease); }
.pill-cta:hover { background: var(--vibrant); }
.pill-cta:hover .pill-cta__icon { transform: translateX(4px); }
@media (min-width: 1024px) { .reach__head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; column-gap: 64px; } }

.reach { display: flex; flex-direction: column; gap: 12px; }
.reach__panel {
  position: relative; overflow: hidden; border-radius: 24px; isolation: isolate;
  height: 92px; transition: height 0.8s var(--ease);
}
.reach__panel.is-active { height: var(--open, auto); }
.reach__trigger { position: absolute; inset: 0; z-index: 3; width: 100%; cursor: pointer; border-radius: inherit; }
.reach__trigger:focus-visible { outline: 2px solid var(--lime); outline-offset: -5px; }
.reach__panel.is-active .reach__trigger { pointer-events: none; }
.reach__label {
  position: absolute; left: 24px; top: 46px; transform: translateY(-50%);
  font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  transition: opacity 0.35s var(--ease);
}
.reach__panel.is-active .reach__label { opacity: 0; }
.reach__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.reach__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.reach__panel--city { color: var(--cream); }
.reach__panel--city .reach__bg { background: radial-gradient(60% 70% at 78% 55%, rgba(125, 217, 88, 0.32), transparent 70%), linear-gradient(135deg, var(--forest) 0%, #12301a 100%); }
.reach__rings { position: absolute; right: -28%; bottom: -24%; height: 62%; width: auto; opacity: 0.55; }
@media (min-width: 900px) { .reach__rings { right: -18%; bottom: auto; top: 50%; height: 125%; opacity: 1; translate: 0 -50%; } }
.reach__rings circle { stroke: rgba(250, 246, 239, 0.13); stroke-width: 1.2; }
.reach__pin { fill: var(--lime); }
.reach__panel--home { color: var(--forest); }
.reach__panel--home .reach__bg { background: linear-gradient(160deg, #b6ee9c 0%, var(--lime) 42%, #2fb45f 100%); }
.reach__panel--home .reach__lines path { stroke: rgba(30, 64, 33, 0.16); }
.reach__panel--clinic { color: var(--cream); }
.reach__panel--clinic .reach__bg { background: linear-gradient(160deg, #2e6d36 0%, var(--forest) 55%, #10261a 100%); }
.reach__panel--clinic .reach__lines path { stroke: rgba(125, 217, 88, 0.2); }
.reach__content {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start;
  padding: 30px 24px 96px; opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}
.reach__panel.is-active .reach__content { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease) 0.2s, visibility 0s; }
.reach__icon { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.reach__panel--clinic .reach__icon { stroke: var(--lime); }
.reach__k { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 8px; }
.reach__panel--clinic .reach__k { color: var(--lime); }
.reach__h { font-size: clamp(1.55rem, 1.2rem + 1.1vw, 2.25rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; max-width: 16ch; }
.reach__p { margin-top: 14px; margin-bottom: 26px; line-height: 1.6; max-width: 26rem; opacity: 0.88; }
.reach__widget {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 14px;
  width: 100%; max-width: 340px; padding: 16px; border-radius: 18px; background: #fffdf9; color: var(--forest);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.5);
}
.reach__w-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); }
.reach__w-icon svg { width: 22px; height: 22px; fill: var(--forest); }
.reach__w-text { display: flex; flex-direction: column; line-height: 1.3; }
.reach__w-text strong { font-size: 1rem; }
.reach__w-text span { font-size: 0.875rem; color: var(--ink-soft); }
.reach__w-tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.reach__w-tags li { padding: 6px 12px; border-radius: 999px; background: var(--sand); font-size: 0.8125rem; font-weight: 500; }
.reach__go {
  position: absolute; right: 18px; bottom: 18px; z-index: 4; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.15rem; background: var(--cream); color: var(--forest);
  transition: opacity 0.35s var(--ease), transform 0.4s var(--ease);
}
.reach__panel--home .reach__go { background: var(--forest); color: var(--lime); }
.reach__go:hover { transform: translateX(3px); }
.reach__panel:not(.is-active) .reach__go:not(.reach__go--static) { opacity: 0; pointer-events: none; }
.reach__go--static { pointer-events: none; top: 20px; bottom: auto; }
.reach__panel.is-active .reach__go--static { opacity: 0; }
@media (min-width: 900px) {
  .reach { flex-direction: row; gap: 14px; height: clamp(460px, 38vw, 540px); }
  .reach__panel { height: auto; flex: 1 1 0; min-width: 104px; transition: flex-grow 0.9s var(--ease); }
  .reach__panel.is-active { height: auto; flex-grow: 5.4; }
  .reach__panel:not(.is-active):hover { flex-grow: 1.3; }
  .reach__label {
    left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(180deg); writing-mode: vertical-rl;
    font-size: clamp(1.5rem, 1.1rem + 1vw, 2.125rem);
  }
  .reach__content { position: absolute; top: 0; left: 0; bottom: 0; width: clamp(320px, 36vw, 540px); padding: clamp(28px, 3.4vw, 48px); }
  .reach__widget { margin-top: auto; }
  .reach__go--static { top: auto; bottom: 18px; left: 50%; right: auto; transform: translateX(-50%); }
}

.shift { position: relative; margin-top: 24px; border-radius: 24px; overflow: hidden; display: grid; background: var(--forest); color: var(--cream); }
.shift__photo { position: relative; aspect-ratio: 16 / 9; }
.shift__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 85% 45%; }
.shift__panel { position: relative; padding: clamp(26px, 4vw, 52px); background: linear-gradient(135deg, var(--forest) 0%, #0c5a33 100%); }
.shift__title { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.375rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.shift__bar { display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--lime); margin-top: 16px; }
.shift__hours { margin: 26px 0 0; display: grid; gap: 14px; max-width: 26rem; }
.shift__hours div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; padding-bottom: 14px; border-bottom: 1px solid var(--cream-line); }
.shift__hours dt { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9375rem; color: var(--cream-soft); }
.shift__hours dt svg { width: 20px; height: 20px; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shift__hours dd { margin: 0; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.shift__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.shift__phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--cream); transition: color 0.3s; min-height: 44px; }
.shift__phone svg { width: 20px; height: 20px; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linejoin: round; }
.shift__phone:hover { color: var(--lime); }
@media (min-width: 900px) {
  .shift { display: block; min-height: 400px; }
  .shift__photo { position: absolute; inset: 0 0 0 38%; aspect-ratio: auto; }
  .shift__panel { width: 64%; min-height: 400px; padding-right: 16%; clip-path: ellipse(100% 92% at 0% 50%); }
}


/* destaque: caixa de vidro (fundo escuro) e caixa verde-limão (fundo claro) */
.glass-note {
  position: relative; padding: 22px 26px; border-radius: 18px;
  background: rgba(250, 246, 239, 0.08); border: 1px solid rgba(250, 246, 239, 0.2);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 24px 48px -28px rgba(0, 0, 0, 0.6);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); font-weight: 500; line-height: 1.6; color: var(--cream);
}
.note-box { display: flex; gap: 14px; align-items: flex-start; max-width: 26rem; background: var(--lime); color: var(--forest); border-radius: var(--r-img); padding: 20px 24px; }
.note-box p { font-size: 1rem; font-weight: 600; line-height: 1.5; }
.note-box__icon { flex: none; width: 22px; height: 22px; margin-top: 1px; fill: var(--forest); }

/* serviços: descrição revelada no hover */
.place__more { display: grid; gap: 8px; max-height: 0; opacity: 0; overflow: hidden; transform: translateY(10px); transition: max-height 0.6s var(--ease), opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.place::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(20, 44, 23, 0.7) 100%); opacity: 0; transition: opacity 0.5s var(--ease); }
.place:hover .place__more, .place:focus-visible .place__more { max-height: 220px; opacity: 1; transform: none; }
.place:hover::before, .place:focus-visible::before { opacity: 1; }
@media (hover: none) { .place__more { max-height: none; opacity: 1; transform: none; } }

/* plantão em destaque */
.shift__row--duty { background: var(--lime); color: var(--forest); border-radius: 14px; padding: 14px 16px; border-bottom: 0 !important; margin-top: 4px; }
.shift__row--duty dt { color: var(--forest) !important; font-weight: 600; }
.shift__row--duty dt svg { stroke: var(--forest) !important; }

/* tecnologia: foto de exame em clínica no fundo da seção (como o hero) */
.tech > .tech__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.tech__bg img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 38% 50%; }
.tech__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 44, 23, 0.55) 0%, rgba(20, 44, 23, 0.82) 45%, rgba(20, 44, 23, 0.96) 100%); }
.tech .tech__grid { position: relative; z-index: 2; }
.tech__copy { max-width: 36rem; }
@media (min-width: 768px) {
  .tech { display: flex; align-items: center; min-height: clamp(620px, 62vw, 780px); }
  .tech > .tech__bg { left: 30%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); }
  .tech__shade { background: linear-gradient(180deg, rgba(20, 44, 23, 0.6) 0%, transparent 26%, transparent 60%, rgba(20, 44, 23, 1) 100%), linear-gradient(90deg, rgba(20, 44, 23, 0.55) 0%, transparent 60%); }
}
.tech__photo { aspect-ratio: 5 / 4; max-width: 100%; }
.tech__photo img { object-position: 35% 50%; }


/* ---------- Rodapé ---------- */
.footer { background: var(--forest-deep); color: var(--cream); border-top: 1px solid var(--cream-line); padding-top: 64px; padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); }
.footer__top { display: grid; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--cream-line); }
.footer__brand { display: flex; gap: 16px; align-items: flex-start; max-width: 22rem; }
.footer__brand img { width: 52px; height: auto; flex: none; }
.footer__name { font-size: 0.9375rem; font-weight: 600; line-height: 1.4; }
.footer__tag { margin-top: 4px; font-size: 0.875rem; color: var(--cream-soft); }
.footer__head { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(250, 246, 239, 0.5); margin-bottom: 12px; }
.footer__col a { display: inline-block; padding-block: 5px; font-size: 0.875rem; color: rgba(250, 246, 239, 0.82); transition: color 0.3s; }
.footer__col a:hover { color: var(--lime); }
.footer__mail { overflow-wrap: anywhere; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; font-size: 0.8125rem; color: rgba(250, 246, 239, 0.55); }
@media (min-width: 640px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__top { grid-template-columns: 1.6fr 1fr 1.1fr 1.2fr; gap: 40px; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; z-index: 40;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--vibrant); color: var(--cream); box-shadow: 0 10px 30px rgba(20, 44, 23, 0.3);
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-3px); background: var(--forest); }
@media (min-width: 768px) { .wa-float { right: calc(28px + env(safe-area-inset-right, 0px)); bottom: calc(28px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.reach__title .line-mask { padding-bottom: 0.26em; margin-bottom: -0.26em; }
@media (max-width: 899px) { .reach__pin { display: none; } }

/* =========================================================
   CAMADA PREMIUM — design system escuro com profundidade
   Fundo verde-profundo com textura topográfica, vidro, ouro
   do brasão como detalhe, elementos de diagnóstico por imagem
   (raio-X, leque de ultrassom, linha de varredura) em movimento.
   ========================================================= */
:root {
  --bg-0: #08170b;
  --bg-1: #0d2211;
  --bg-2: #13321a;
  --gold: #c9a96e;               /* Ouro Claro — paleta oficial do brasão */
  --gold-line: rgba(201, 169, 110, 0.32);
  --glass: rgba(250, 246, 239, 0.06);
  --glass-line: rgba(250, 246, 239, 0.14);
  --fs-title: clamp(2rem, 1.2rem + 2.4vw, 3.1rem);
  --fs-sub: clamp(1.35rem, 1.1rem + 0.75vw, 1.75rem);
  --fs-sub-lg: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem);
  --topo: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='900' height='600' viewBox='0 0 900 600'><g fill='none' stroke='%23c9a96e' stroke-opacity='.07' stroke-width='1.2'><path d='M-50 80C120 20 220 160 400 110S700 0 950 70'/><path d='M-50 130C130 70 230 210 410 160S710 50 950 120'/><path d='M-50 180C140 120 240 260 420 210S720 100 950 170'/><path d='M-50 230C150 170 250 310 430 260S730 150 950 220'/><path d='M-50 280C160 220 260 360 440 310S740 200 950 270'/><path d='M-50 330C170 270 270 410 450 360S750 250 950 320'/><path d='M-50 380C180 320 280 460 460 410S760 300 950 370'/><path d='M-50 430C190 370 290 510 470 460S770 350 950 420'/><path d='M-50 480C200 420 300 560 480 510S780 400 950 470'/><path d='M-50 530C210 470 310 610 490 560S790 450 950 520'/></g></svg>");
}
body { background: var(--bg-1); color: var(--cream); }
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.topo { background-image: var(--topo); background-size: 900px 600px; background-repeat: repeat; }

/* ---------- Tipografia padronizada ---------- */
.h2, .hero__title { font-family: var(--font); font-weight: 600; letter-spacing: -0.03em; }
.h2 { font-size: var(--fs-title); line-height: 1.08; color: var(--cream); text-wrap: balance; }
.hero__title { line-height: 1.04; }
.accent, .accent-lime, .reach__mark { color: var(--lime); }
.place__title, .tile__label, .tile__cta-text, .animal__title { font-size: var(--fs-sub); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.reach__h, .shift__title, .intro__panel-title, .vet__name { font-size: var(--fs-sub-lg); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
.tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; margin-bottom: 24px;
  background: var(--glass); border: 1px solid var(--glass-line); color: var(--cream);
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.02em;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.tag::before { background: var(--lime); box-shadow: 0 0 10px rgba(125, 217, 88, 0.8); }
.section-head__aside, .reach__side p, .intro__text { color: var(--cream-soft); }

/* ---------- Fundos das seções ---------- */
.intro { background-color: var(--bg-1); position: relative; overflow: hidden; }
.band { background-color: var(--bg-0); position: relative; }
.patients { background-color: var(--bg-2); position: relative; overflow: hidden; }
.team { background-color: var(--bg-0); position: relative; overflow: hidden; }
.where { background-color: var(--bg-1); }
.tech { background-color: var(--bg-0); }
.footer { background: #061209; }

/* banner do Quem somos */
.intro__banner { background: linear-gradient(135deg, #24532a 0%, var(--forest) 55%, #112b16 100%); border: 1px solid var(--glass-line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); }
.intro__wave { fill: #1e4021; }
@media (min-width: 900px) { .intro__wave { fill: #1d4321; } }

/* ---------- Elementos de nicho em movimento ---------- */
.float { position: absolute; pointer-events: none; overflow: visible; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes bob-rot { 0%, 100% { translate: 0 0; rotate: -8deg; } 50% { translate: 0 -12px; rotate: -3deg; } }
.hero__decor { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.float--paw { right: 3%; top: 20%; width: clamp(90px, 11vw, 170px); height: auto; aspect-ratio: 200 / 250; opacity: 0.55; animation: bob-rot 9s ease-in-out infinite; filter: drop-shadow(0 0 18px rgba(125, 217, 88, 0.35)); }
.float--fan { right: 7%; bottom: 9%; width: clamp(160px, 17vw, 260px); aspect-ratio: 300 / 220; height: auto; opacity: 0.6; animation: bob 11s ease-in-out infinite; filter: blur(0.4px) drop-shadow(0 0 24px rgba(125, 217, 88, 0.25)); }
.float--bone { right: -30px; top: 70px; width: clamp(150px, 16vw, 240px); aspect-ratio: 240 / 70; height: auto; opacity: 0.32; rotate: 32deg; filter: blur(1.5px); z-index: 0; }
.band__fan { position: absolute; right: 2%; top: 3%; width: clamp(260px, 34vw, 520px); aspect-ratio: 300 / 220; height: auto; opacity: 0.55; z-index: 1; pointer-events: none; }
.band > .wrap, .band > .band__track { position: relative; z-index: 2; }
@media (max-width: 767px) { .float--fan { display: none; } .float--paw { top: 14%; right: 4%; opacity: 0.4; } .band__fan { opacity: 0.35; right: -20%; } }

/* linha de varredura (exame de imagem) */
.scanline { position: absolute; left: 0; right: 0; top: 6%; height: 2px; z-index: 2; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(125, 217, 88, 0.9) 30%, rgba(250, 246, 239, 0.95) 50%, rgba(125, 217, 88, 0.9) 70%, transparent); box-shadow: 0 0 18px 4px rgba(125, 217, 88, 0.35); opacity: 0.55; animation: scan 7.5s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate; }
.scanline::before { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 110px; background: linear-gradient(0deg, rgba(125, 217, 88, 0.12), transparent); }
.scanline--slow { animation-duration: 11s; opacity: 0.4; }
@keyframes scan { from { top: 6%; } to { top: 92%; } }

/* giroscópio 3D (anéis de varredura) */
.gyro { position: absolute; right: 7%; top: 90px; width: 150px; height: 150px; perspective: 600px; z-index: 0; pointer-events: none; }
.gyro span { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--gold-line); transform-style: preserve-3d; }
.gyro span:nth-child(1) { animation: spin-a 14s linear infinite; }
.gyro span:nth-child(2) { inset: 14px; border-color: rgba(125, 217, 88, 0.45); animation: spin-b 10s linear infinite; }
.gyro span:nth-child(3) { inset: 30px; animation: spin-c 18s linear infinite; }
.gyro i { position: absolute; inset: 58px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #faf6ef, #7dd958 55%, rgba(125, 217, 88, 0) 72%); box-shadow: 0 0 30px rgba(125, 217, 88, 0.6); }
@keyframes spin-a { from { transform: rotateX(70deg) rotateZ(0); } to { transform: rotateX(70deg) rotateZ(360deg); } }
@keyframes spin-b { from { transform: rotateY(65deg) rotateZ(0); } to { transform: rotateY(65deg) rotateZ(-360deg); } }
@keyframes spin-c { from { transform: rotateX(25deg) rotateY(40deg) rotateZ(0); } to { transform: rotateX(25deg) rotateY(40deg) rotateZ(360deg); } }
@media (max-width: 1023px) { .gyro { display: none; } }

/* ---------- Efeito 3D nos cartões (inclinação + reflexo) ---------- */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
.glare { position: absolute; inset: 0; z-index: 5; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s var(--ease); background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(250, 246, 239, 0.16), transparent 45%); }
[data-tilt]:hover > .glare { opacity: 1; }
.vet__stage > .glare { display: none; }
.place, .tile, .reach__panel, .shift { box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.75); }
.place { border: 1px solid var(--glass-line); }

/* ---------- Serviços ---------- */
.place__num { font-weight: 600; color: var(--gold); letter-spacing: 0.02em; }

/* ---------- Quem atendemos ---------- */
.tile--dogs { background: radial-gradient(70% 80% at 72% 70%, rgba(125, 217, 88, 0.22), transparent 70%), linear-gradient(150deg, #1f4a25, var(--bg-0)); border: 1px solid var(--glass-line); }
.tile--small { background: var(--cream); }
.tile--large { background: linear-gradient(150deg, #10b55c, var(--vibrant) 60%, #027a3c); }
.patients .section-head { position: relative; z-index: 1; }
.patients .bento { position: relative; z-index: 1; }

/* ---------- Equipe ---------- */
.team__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40rem 26rem at 30% 55%, rgba(3, 157, 77, 0.22), transparent 70%), radial-gradient(36rem 24rem at 75% 65%, rgba(125, 217, 88, 0.12), transparent 70%); }
.team .wrap { position: relative; z-index: 1; }
.team__head { margin-bottom: clamp(56px, 7vw, 96px); }
.vets { display: grid; gap: 72px; max-width: 1040px; margin-inline: auto; }
.vet { perspective: 1100px; }
.vet__stage { position: relative; aspect-ratio: 1 / 1.04; max-width: 460px; margin-inline: auto; }
.vet__num {
  position: absolute; left: -2%; top: 2%; z-index: 0; font-size: clamp(5.5rem, 4rem + 6vw, 9.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.2px rgba(201, 169, 110, 0.55); transform: translateZ(-40px);
}
.vet__arch {
  position: absolute; left: 6%; right: 6%; top: 22%; bottom: 0; z-index: 1; overflow: hidden;
  border-radius: 999px 999px 24px 24px; border: 1px solid var(--gold-line);
  background:
    radial-gradient(70% 55% at 50% 72%, rgba(125, 217, 88, 0.45), transparent 70%),
    var(--topo),
    linear-gradient(180deg, #2a6b33 0%, var(--forest) 55%, #0c2010 100%);
  background-size: auto, 600px 400px, auto;
  box-shadow: inset 0 1px 0 rgba(250, 246, 239, 0.18), 0 40px 70px -30px rgba(0, 0, 0, 0.8);
}
.vet__ring { position: absolute; left: 50%; top: 18%; width: 78%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; border: 1px dashed rgba(201, 169, 110, 0.45); animation: spin-flat 40s linear infinite; }
@keyframes spin-flat { to { rotate: 360deg; } }
.vet__photo { position: absolute; left: 6%; width: 88%; bottom: 0; z-index: 2; height: auto; border-radius: 0 0 24px 24px; transform: translateZ(50px); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.45)); }
.vet__card {
  position: relative; z-index: 3; width: min(88%, 420px); margin: -96px auto 0; padding: 22px 24px 24px;
  border-radius: 20px; background: rgba(13, 34, 17, 0.62); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.vet__reg { display: inline-flex; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--gold-line); color: var(--gold); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; }
.vet__name { margin-top: 12px; color: var(--cream); }
.vet__bio { margin-top: 10px; font-size: 0.9375rem; line-height: 1.65; color: var(--cream-soft); }
@media (min-width: 768px) {
  .vets { grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
  .vet--offset { margin-top: 110px; }
}

/* ---------- Onde atendemos ---------- */
.reach__panel { border: 1px solid var(--glass-line); }
.pill-cta { background: var(--cream); color: var(--forest); }
.pill-cta__icon { background: var(--forest); color: var(--lime); }
.pill-cta:hover { background: var(--lime); }
.shift { border: 1px solid var(--glass-line); }

/* reduz movimento */
@media (prefers-reduced-motion: reduce) {
  .float, .scanline, .gyro span, .vet__ring { animation: none !important; }
  .scanline { display: none; }
}
.place__num { padding: 6px 12px; border-radius: 999px; font-size: 1rem; background: rgba(8, 23, 11, 0.5); border: 1px solid rgba(201, 169, 110, 0.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (min-width: 768px) { .tech__shade { box-shadow: inset 0 0 0 100vmax rgba(8, 23, 11, 0.22); } }

/* ===== Revisão 22/10 ===== */
/* patinha nas etiquetas das seções */
.tag::before {
  width: 15px; height: 16px; border-radius: 0; transform: none; box-shadow: none; background: var(--lime);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-9 -11 18 20'><ellipse cx='-5.8' cy='-3.4' rx='2.1' ry='2.9' transform='rotate(-24 -5.8 -3.4)'/><ellipse cx='-2.1' cy='-7.1' rx='2.1' ry='3' transform='rotate(-6 -2.1 -7.1)'/><ellipse cx='2.1' cy='-7.1' rx='2.1' ry='3' transform='rotate(6 2.1 -7.1)'/><ellipse cx='5.8' cy='-3.4' rx='2.1' ry='2.9' transform='rotate(24 5.8 -3.4)'/><path d='M0 -0.8C3.3 -0.8 6.2 2.3 6.2 5.1C6.2 7.5 4.3 8.3 2.7 7.9C1.7 7.6 0.9 7.3 0 7.3S-1.7 7.6 -2.7 7.9C-4.3 8.3 -6.2 7.5 -6.2 5.1C-6.2 2.3 -3.3 -0.8 0 -0.8Z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-9 -11 18 20'><ellipse cx='-5.8' cy='-3.4' rx='2.1' ry='2.9' transform='rotate(-24 -5.8 -3.4)'/><ellipse cx='-2.1' cy='-7.1' rx='2.1' ry='3' transform='rotate(-6 -2.1 -7.1)'/><ellipse cx='2.1' cy='-7.1' rx='2.1' ry='3' transform='rotate(6 2.1 -7.1)'/><ellipse cx='5.8' cy='-3.4' rx='2.1' ry='2.9' transform='rotate(24 5.8 -3.4)'/><path d='M0 -0.8C3.3 -0.8 6.2 2.3 6.2 5.1C6.2 7.5 4.3 8.3 2.7 7.9C1.7 7.6 0.9 7.3 0 7.3S-1.7 7.6 -2.7 7.9C-4.3 8.3 -6.2 7.5 -6.2 5.1C-6.2 2.3 -3.3 -0.8 0 -0.8Z'/></svg>") center / contain no-repeat;
}

/* Quem somos: título contínuo e equilibrado; banner com o brasão */
.intro__title-text { white-space: normal !important; text-wrap: balance; max-width: 18ch; }
.intro__photo--crest { display: grid; place-items: center; background: radial-gradient(55% 55% at 50% 50%, rgba(125, 217, 88, 0.28), transparent 70%), linear-gradient(160deg, #24532a 0%, #14361a 100%); }
.intro__photo--crest img { width: min(58%, 340px); height: auto; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45)); transition: transform 1.2s var(--ease); }
.intro__banner:hover .intro__photo--crest img { transform: translateY(-6px) scale(1.02); }
.intro__photo--crest { padding: 28px 0; }
.intro__panel-lead { font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; color: var(--cream); max-width: 24ch; }
.intro__panel-lead strong { font-weight: 600; color: var(--lime); }
.intro__panel .intro__panel-text { margin-top: 16px; }

/* Serviços: nomes menores e alinhados */
.place__title { font-size: clamp(1.1rem, 0.95rem + 0.45vw, 1.35rem); letter-spacing: -0.01em; }

/* Quem atendemos: gato encaixado no card */
.tile__pet--cat { right: auto; left: 50%; translate: -50% 0; height: 90%; width: auto; max-width: 84%; }

/* Equipe: fundo claro e card menor */
.team { background-color: var(--sand); color: var(--forest); }
.team .tag { background: rgba(30, 64, 33, 0.06); border-color: rgba(30, 64, 33, 0.14); color: var(--forest); }
.team .tag::before { background: var(--vibrant); }
.team .h2 { color: var(--forest); }
.team .accent { color: var(--vibrant); }
.vet__stage { max-width: 400px; }
.vet__card {
  width: min(80%, 340px); margin-top: -76px; padding: 18px 20px 20px;
  background: #fffdf9; border: 1px solid rgba(30, 64, 33, 0.08);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 24px 48px -28px rgba(30, 64, 33, 0.45);
}
.vet__reg { border-color: rgba(140, 107, 53, 0.4); color: #8c6b35; font-size: 0.6875rem; padding: 4px 10px; }
.vet__role { margin-top: 12px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--vibrant); }
.vet__name { margin-top: 2px; font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.9rem); color: var(--forest); }
.vet__bio { margin-top: 8px; font-size: 0.875rem; line-height: 1.6; color: var(--ink-soft); }
@media (min-width: 768px) { .vet--offset { margin-top: 90px; } }

/* Onde atendemos: imagem no lado livre dos painéis */
.reach__media { display: none; }
@media (min-width: 900px) {
  .reach__media {
    display: block; position: absolute; z-index: 1; top: 18px; right: 18px; bottom: 18px; width: 40%; margin: 0;
    border-radius: 18px; overflow: hidden; opacity: 0; transform: scale(0.94); transform-origin: right center;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
    transition: opacity 0.4s var(--ease), transform 0.8s var(--ease);
  }
  .reach__media img { width: 100%; height: 100%; object-fit: cover; }
  .reach__panel.is-active .reach__media { opacity: 1; transform: none; transition-delay: 0.3s; }
  .reach__panel--home .reach__media img { object-position: 30% 50%; }
}
.reach__go { -webkit-user-select: none; user-select: none; }
.reach__panel.is-active .reach__go--static { display: none; }
.vet__stage { max-width: 380px; }
.vet__card { width: 88%; max-width: 335px; }
.tile--horse > img { object-position: 50% 35%; }
.tile__pet--dog { right: 10%; height: 118%; }
.tile__pet--dog { right: 8%; height: 112%; border-radius: 0 0 20px 20px; }
.tile__pet--cat { height: 92%; }

/* ===== Equipe: fotos menores, CRMV verde, patinhas, transições ===== */
.vet__stage { max-width: 320px; }
.vet__card { max-width: 320px; margin-top: -64px; }
.vet__reg { background: var(--vibrant); border-color: var(--vibrant); color: #fff; }

.team__paws { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.tpaw { position: absolute; height: auto; overflow: visible; rotate: var(--r); animation: paw-bob 9s ease-in-out infinite; animation-delay: var(--d); }
.tpaw--fill { fill: var(--vibrant); opacity: 0.14; }
.tpaw--line { fill: none; stroke: var(--forest); stroke-width: 0.9; opacity: 0.22; }
@keyframes paw-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 767px) { .tpaw:nth-child(3n) { display: none; } }

/* transições suaves entre o fundo claro e os fundos escuros */
.divider { position: absolute; left: 0; width: 100%; height: clamp(40px, 6vw, 90px); pointer-events: none; display: block; }
.divider--top { top: -1px; z-index: 1; fill: var(--bg-2); }
.divider--tech { top: -1px; z-index: 3; fill: var(--sand); }
.team { padding-top: calc(var(--section) + 40px); padding-bottom: calc(var(--section) + 20px); }
.tech { padding-top: calc(var(--section) + 50px); }

/* rodapé um tom mais claro */
.footer { background: var(--forest); border-top-color: rgba(250, 246, 239, 0.12); }

@media (prefers-reduced-motion: reduce) { .tpaw { animation: none; } }

/* ===== Seções claras (Quem somos, Equipe, Onde atendemos) ===== */
.intro.is-light, .where.is-light { background-color: var(--cream); color: var(--forest); }
.is-light .tag { background: rgba(30, 64, 33, 0.06); border-color: rgba(30, 64, 33, 0.14); color: var(--forest); -webkit-backdrop-filter: none; backdrop-filter: none; }
.is-light .tag::before { background: var(--vibrant); }
.is-light .h2 { color: var(--forest); }
.is-light .h2 .accent { color: var(--vibrant); }
.is-light .intro__text, .is-light .reach__side p { color: var(--ink-soft); }
.intro__banner .accent, .intro__banner strong { color: var(--lime); }
.intro.is-light .intro__banner { box-shadow: 0 40px 70px -40px rgba(30, 64, 33, 0.55); }
.where.is-light .pill-cta { background: var(--forest); color: var(--cream); }
.where.is-light .pill-cta__icon { background: var(--lime); color: var(--forest); }
.where.is-light .pill-cta:hover { background: var(--vibrant); }
.where.is-light .reach__panel, .where.is-light .shift { box-shadow: 0 30px 60px -36px rgba(30, 64, 33, 0.55); }

/* Equipe mais compacta, sem ondas */
.team { padding-top: clamp(72px, 8vw, 112px); padding-bottom: clamp(72px, 8vw, 112px); }
.tech { padding-top: var(--section); }
.team__head { margin-bottom: clamp(36px, 4vw, 56px); }
.vets { gap: 48px; }
@media (min-width: 768px) { .vet--offset { margin-top: 36px; } }
.team__cta { margin-top: clamp(32px, 4vw, 48px); }

/* patinhas mais marcadas */
.tpaw--fill { opacity: 0.32; }
.tpaw--line { stroke-width: 1.1; opacity: 0.45; stroke: var(--forest); }

/* conteúdo encaixotado (container central) */
:root { --max: 1200px; --gutter: clamp(20px, 5vw, 64px); }
.team { background-color: var(--sand); }
@media (max-width: 480px) { .hero__title { font-size: clamp(1.4rem, 0.6rem + 4.6vw, 1.75rem); } }
