/* Clínica Veterinária Scooby-Doo — neurologia e reabilitação */
:root {
  --pink: #ff4fb8;
  --pink-l: #ffe1f2;
  --teal: #0f8f8a;
  --teal-l: #c9efe9;
  --ink: #1d1530;
  --paper: #fffafd;
  --mute: #6d6378;
  --line: #f1d7e6;
  --display: "Unbounded", "Segoe UI", sans-serif;
  --body: "Onest", "Segoe UI", system-ui, sans-serif;
  --pad: clamp(18px, 4.5vw, 64px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--body); font-size: 1.06rem; line-height: 1.6; color: var(--ink); background: var(--paper); overflow-x: clip; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1; letter-spacing: -.03em; margin: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.motion [data-split] { visibility: hidden; }
.ln { padding: .16em 0 .08em; margin-top: -.16em; }
.pill { display: inline-block; font-weight: 600; font-size: .85rem; padding: .45em .95em; border-radius: 999px; background: var(--ink); color: #fff; margin-bottom: 1.3rem; }
.pill--light { background: #fff; color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: .95em 1.5em; border-radius: 16px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .25s cubic-bezier(.3,1.5,.5,1), background .2s, color .2s; }
.btn:hover { transform: translateY(-3px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--pink { background: var(--pink); color: #fff; }
.btn--line { border-color: var(--ink); }
.btn--sm { padding: .6em 1.1em; border-radius: 12px; font-size: .92rem; }

.header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 28px; height: 78px; padding: 0 var(--pad); transition: transform .45s cubic-bezier(.2,.7,.2,1), background .3s; }
.header.is-scrolled { background: rgba(255,250,253,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1.05; }
.logo b { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; color: var(--pink); }
.logo small { font-size: .7rem; color: var(--mute); font-weight: 600; letter-spacing: .02em; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { font-weight: 600; text-decoration: none; }
.nav a:hover { color: var(--pink); }
.menu-btn { display: none; }

/* hero */
.hero { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 1fr auto; column-gap: clamp(28px, 5vw, 80px); min-height: 100svh; padding: 120px var(--pad) 40px; background: var(--pink); color: var(--ink); overflow: hidden; }
.wire { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wire path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; opacity: .55; vector-effect: non-scaling-stroke; }
.hero__copy { position: relative; align-self: center; }
.hero h1 { font-size: clamp(2.6rem, 5.8vw, 5.6rem); max-width: 13ch; }
.hero h1 em { font-style: normal; color: #fff; }
.hero__lead { font-size: 1.15rem; max-width: 46ch; margin-top: 1.6rem; color: #3b1f3a; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero .btn--line { border-color: var(--ink); }
.hero__img { position: relative; margin: 0; align-self: end; border-radius: 40px 40px 0 0; overflow: hidden; background: #ff79c9; }
.hero__img img { width: 100%; aspect-ratio: 9 / 10; object-fit: cover; object-position: 50% 20%; }
.hero__img figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; background: #fff; border-radius: 18px; padding: 12px 16px; font-size: .9rem; color: var(--mute); }
.hero__img figcaption b { display: block; color: var(--ink); font-family: var(--display); font-size: 1.05rem; letter-spacing: -.02em; }
.hero__facts { position: relative; grid-column: 1 / -1; list-style: none; margin: 34px 0 0; padding: 22px 0 0; border-top: 2px solid rgba(29,21,48,.15); display: flex; flex-wrap: wrap; gap: 10px 40px; font-weight: 500; }
.hero__facts b { font-family: var(--display); margin-right: 6px; }

/* signs */
.signs { padding: 120px var(--pad); }
.signs__head { max-width: 760px; margin-bottom: 44px; }
.signs h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.signs__head p { color: var(--mute); margin-top: 1rem; }
.signs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.chips { display: flex; flex-direction: column; gap: 10px; }
.chips button { text-align: left; font-family: var(--body); font-weight: 600; font-size: 1.08rem; padding: 18px 22px; border-radius: 18px; border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.chips button:hover { border-color: var(--pink); transform: translateX(4px); }
.chips button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.answer { position: sticky; top: 110px; background: var(--teal-l); border-radius: 28px; padding: 34px 32px; }
.answer__k { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.answer__t { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.answer__d { color: #23444a; }
.answer__go { margin: .6rem 0 1.2rem; }
.answer__note { font-size: .85rem; color: #4d6d71; margin: 0; }

/* treatments */
.treat { padding: 120px var(--pad); background: var(--ink); color: #fff; border-radius: 48px 48px 0 0; }
.treat h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); max-width: 14ch; margin-bottom: 56px; }
.treat__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); gap: 16px; }
.t { background: #2a2140; border-radius: 26px; padding: 26px 24px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.t h3 { font-size: 1.45rem; margin-bottom: .6rem; color: #fff; }
.t p { color: #c9bfd9; font-size: .97rem; margin: 0; }
.t--big { grid-column: span 2; grid-row: span 2; padding: 0; background: var(--pink); }
.t--big img, .t--img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.t--big img { object-position: 50% 25%; }
.t--big div, .t--img div { position: relative; margin-top: auto; padding: 26px 24px; background: linear-gradient(transparent, rgba(29,21,48,.92) 40%); }
.t--img { grid-row: span 2; padding: 0; }
.t:nth-child(2) { background: var(--teal); }
.t:nth-child(2) p { color: #e0fbf7; }
.t:nth-child(5) { background: #3a2a55; }

/* case */
.case { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding: 120px var(--pad); background: var(--teal); color: #fff; }
.case h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
.case__copy > p:not(.pill) { color: #e0fbf7; margin-top: 1.4rem; max-width: 46ch; }
.case__vids { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.case figure { margin: 0; position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 720 / 860; background: #0b5f5c; }
.case video { width: 100%; height: 100%; object-fit: cover; }
.case figcaption { position: absolute; top: 14px; left: 14px; background: #fff; color: var(--ink); font-weight: 700; padding: 5px 12px; border-radius: 999px; font-size: .85rem; }
.case figure:last-child figcaption { background: var(--pink); color: #fff; }

/* team */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding: 120px var(--pad); }
.team__img { margin: 0; border-radius: 34px; overflow: hidden; background: var(--pink); }
.team__img img { width: 100%; aspect-ratio: 850 / 570; object-fit: cover; }
.team h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.team__role { font-weight: 600; color: var(--pink); margin: 1rem 0 1.4rem; }
.team__copy > p:last-child { color: var(--mute); max-width: 48ch; }

/* bath */
.bath { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding: 120px var(--pad); background: var(--pink-l); overflow: hidden; }
.bath h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.bath__copy > p { color: #5d3a54; margin-top: 1.2rem; max-width: 42ch; }
.deal { display: flex; flex-direction: column; background: #fff; border-radius: 20px; padding: 18px 22px; margin: 1.6rem 0; border: 2px dashed var(--pink); }
.deal b { font-family: var(--display); font-size: 1.4rem; color: var(--pink); }
.bath__imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: center; }
.bath__imgs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 22px; }
.bath__imgs img:nth-child(2) { margin-top: 60px; }

/* reviews */
.reviews { padding: 120px var(--pad); }
.reviews h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); margin-bottom: 48px; }
.reviews h2 span { color: var(--pink); }
.reviews__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.reviews blockquote { margin: 0; background: #fff; border: 2px solid var(--line); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.reviews p { margin: 0; }
.reviews cite { font-style: normal; font-weight: 700; color: var(--teal); }

/* visit */
.visit { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding: 120px var(--pad); background: var(--ink); color: #fff; }
.visit__img { margin: 0; border-radius: 30px; overflow: hidden; }
.visit__img img { width: 100%; aspect-ratio: 7 / 10; max-height: 640px; object-fit: cover; }
.visit h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.visit dl { margin: 2rem 0; }
.visit dl div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); }
.visit dt { font-weight: 700; color: var(--pink); }
.visit dd { margin: 0; color: #e5def0; }
.visit .btn--ink { background: var(--pink); }
.visit .btn--line { border-color: #fff; color: #fff; }
.visit__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.footer { padding: 26px var(--pad); font-size: .88rem; color: var(--mute); }
.footer p { margin: 0; }

@media (max-width: 1080px) {
  .treat__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
  .menu-btn span { height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .25s; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .header .btn--sm { display: none; }
  .nav { position: fixed; inset: 78px 0 auto 0; display: none; flex-direction: column; gap: 0; padding: 6px var(--pad) 22px; background: var(--paper); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 2px solid var(--line); font-size: 1.1rem; }
  .hero, .signs__grid, .case, .team, .bath, .visit { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; min-height: 0; }
  .hero__img { margin-top: 36px; max-width: 460px; }
  .answer { position: static; }
  .signs, .treat, .case, .team, .bath, .reviews, .visit { padding-top: 80px; padding-bottom: 80px; }
  .treat__grid { grid-template-columns: 1fr; }
  .t--big, .t--img { grid-column: auto; grid-row: auto; min-height: 380px; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .logo small { display: none; }
  .hero h1 { font-size: 2.35rem; }
  .hero__cta .btn { width: 100%; }
  .chips button { font-size: 1rem; padding: 14px 16px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .visit dl div { grid-template-columns: 1fr; gap: 2px; }
  .bath__imgs img:nth-child(3) { display: none; }
  .bath__imgs { grid-template-columns: 1fr 1fr; }
}
