/* Kaxorrinho Veterinária & Pet 24h */
:root {
  --navy: #1c3f8a;
  --navy-d: #0e2457;
  --teal: #1aa37a;
  --teal-l: #dff5ec;
  --sky: #eef3fb;
  --paper: #ffffff;
  --ink: #0f1a33;
  --mute: #5d6a82;
  --line: #dbe3f0;
  --head: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Inclusive Sans", "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.07rem; 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, .h1 { font-family: var(--head); font-weight: 800; line-height: 1; letter-spacing: -.035em; 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 .07em; margin-top: -.16em; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: .95em 1.5em; border-radius: 12px; font-family: var(--head); font-weight: 600; font-size: .98rem; text-decoration: none; border: 2px solid transparent; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--navy-d); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--teal { background: var(--teal); color: #fff; }
.btn--line { border-color: var(--navy); color: var(--navy); }

.header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 28px; height: 84px; padding: 0 var(--pad); background: rgba(255,255,255,.94); backdrop-filter: blur(10px); transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.brand img { width: 92px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-family: var(--head); font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--navy); }
.nav a:hover { color: var(--teal); }
.call { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 700; font-size: .92rem; color: #fff; background: var(--navy); padding: .6em 1.05em; border-radius: 999px; text-decoration: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4ef0a8; box-shadow: 0 0 0 0 rgba(78,240,168,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(78,240,168,0); } 100% { box-shadow: 0 0 0 0 rgba(78,240,168,0); } }
.menu-btn { display: none; }

/* split hero */
.split { display: flex; height: 100svh; min-height: 640px; padding-top: 84px; background: var(--navy-d); }
.half { position: relative; flex: 1; overflow: hidden; text-decoration: none; color: #fff; transition: flex .8s cubic-bezier(.2,.7,.2,1); }
.half img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.half::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,36,87,.1) 30%, rgba(14,36,87,.85) 100%); }
.half--groom::after { background: linear-gradient(180deg, rgba(10,60,45,.05) 30%, rgba(10,70,52,.85) 100%); }
.half__txt { position: absolute; left: clamp(20px, 3.5vw, 52px); right: 24px; bottom: clamp(28px, 6vh, 64px); z-index: 2; }
.half__k { font-family: var(--head); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #9fe9cb; margin-bottom: 1rem; }
.half h1, .half .h1 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); max-width: 10ch; }
.half__d { margin: 1rem 0 0; font-size: 1.1rem; color: #e6edf9; }
.split:hover .half { flex: .8; }
.split .half:hover { flex: 1.25; }
.half:hover img { transform: scale(1.04); }
.half + .half { border-left: 3px solid #fff; }

.sos { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px var(--pad); background: var(--navy); color: #fff; }
.sos p { margin: 0 auto 0 0; font-size: 1.05rem; }
.sos b { font-family: var(--head); }

/* clinic */
.clinic { padding: 120px var(--pad); }
.clinic__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.clinic h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); color: var(--navy); }
.clinic__head p { color: var(--mute); margin: 0; font-size: 1.12rem; }
.clinic__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.svc { list-style: none; margin: 0; padding: 0; }
.svc li { display: grid; grid-template-columns: 56px 1fr; padding: 22px 0; border-top: 1px solid var(--line); color: var(--mute); }
.svc li b { display: block; font-family: var(--head); font-size: 1.3rem; color: var(--ink); margin-bottom: 2px; letter-spacing: -.02em; }
.svc li span { grid-row: span 2; font-family: var(--head); font-weight: 700; color: var(--teal); }
.clinic__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.clinic__imgs img { width: 100%; object-fit: cover; border-radius: 22px; }
.clinic__imgs img:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.clinic__imgs img:nth-child(2) { aspect-ratio: 1; }
.clinic__imgs img:nth-child(3) { aspect-ratio: 1; object-position: 50% 30%; }

/* grooming horizontal */
.groom { background: var(--teal-l); overflow: hidden; }
.groom__pin { display: flex; align-items: center; gap: 56px; min-height: 100svh; padding: 100px var(--pad); }
.groom__intro { flex: none; width: min(440px, 38vw); }
.k { font-family: var(--head); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; }
.groom h2 { font-size: clamp(2.2rem, 3.8vw, 3.6rem); color: #0b4f3b; }
.groom__intro > p:not(.k) { color: #2f5a4c; margin-top: 1.2rem; }
.groom__list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; }
.groom__list li { padding: 8px 0 8px 26px; position: relative; color: #224a3e; }
.groom__list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 14px; height: 2px; background: var(--teal); }
.groom__viewport { flex: 1; min-width: 0; overflow: hidden; border-radius: 24px; }
.groom__track { display: flex; gap: 18px; width: max-content; }
.g { flex: none; width: 300px; margin: 0; position: relative; }
.g img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 24px; }
.g--award { width: 380px; }
.g--award img { aspect-ratio: 1; }
.g figcaption { position: absolute; left: 14px; bottom: 14px; background: #fff; color: #0b4f3b; font-family: var(--head); font-weight: 700; font-size: .88rem; padding: 7px 12px; border-radius: 10px; }

/* guide */
.guide { padding: 120px var(--pad); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); }
.guide h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); color: var(--navy); }
.guide__head p { color: var(--mute); margin-top: 1rem; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--head); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; border-right: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
details p { color: var(--mute); max-width: 60ch; padding-bottom: 10px; }

/* reviews */
.reviews { padding: 0 var(--pad) 120px; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reviews blockquote { margin: 0; background: var(--sky); border-radius: 22px; padding: 26px; }
.reviews p { font-size: 1.05rem; }
.reviews cite { font-style: normal; font-family: var(--head); font-weight: 700; color: var(--navy); }

/* visit */
.visit { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding: 110px var(--pad); background: var(--navy-d); color: #fff; }
.visit__img { margin: 0; border-radius: 24px; overflow: hidden; }
.visit__img img { width: 100%; aspect-ratio: 640 / 600; object-fit: cover; }
.visit h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); }
.visit dl { margin: 2rem 0; }
.visit dl div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); }
.visit dt { font-family: var(--head); font-weight: 600; color: #9fe9cb; }
.visit dd { margin: 0; color: #dbe4f5; }
.visit .btn--line { border-color: #fff; color: #fff; }
.visit__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.footer { display: flex; align-items: center; gap: 22px; padding: 26px var(--pad) 32px; background: var(--navy-d); color: #9fb0d4; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
.footer img { width: 64px; }
.footer p { margin: 0; }
.fab { display: none; }

@media (max-width: 980px) {
  .clinic__head, .clinic__grid, .guide, .visit { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .groom__pin { flex-direction: column; align-items: stretch; min-height: 0; padding: 80px var(--pad); }
  .groom__intro { width: auto; }
  .groom__viewport { overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 10px; border-radius: 0; }
  .g { scroll-snap-align: start; width: 240px; }
  .g--award { width: 280px; }
}
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; margin-left: 4px; background: none; border: 0; padding: 10px; cursor: pointer; }
  .menu-btn span { height: 2.5px; border-radius: 2px; background: var(--navy); 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); }
  .call { margin-left: auto; }
  .nav { position: fixed; inset: 84px 0 auto 0; display: none; flex-direction: column; gap: 0; padding: 6px var(--pad) 22px; background: #fff; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .split { flex-direction: column; height: auto; min-height: 0; }
  .half { flex: none !important; height: 62svh; min-height: 380px; }
  .half + .half { border-left: 0; border-top: 3px solid #fff; }
  .clinic, .guide, .visit { padding-top: 80px; padding-bottom: 80px; }
  .sos p { margin-right: 0; }
  .fab { display: block; position: fixed; left: 14px; right: 14px; bottom: 12px; z-index: 60; text-align: center; background: #e5483d; color: #fff; font-family: var(--head); font-weight: 700; padding: 15px; border-radius: 14px; text-decoration: none; box-shadow: 0 12px 30px -10px rgba(229,72,61,.7); }
  body { padding-bottom: 70px; }
}
@media (max-width: 480px) {
  body { font-size: 1rem; }
  .brand img { width: 76px; }
  .call { font-size: .8rem; padding: .5em .8em; }
  .sos .btn { flex: 1 1 100%; }
  .visit dl div { grid-template-columns: 1fr; gap: 2px; }
  .footer { flex-direction: column; align-items: start; }
}
