/* ============================================================
   Vet.R Medicina Veterinária — estilos
   Paleta inspirada no logo (preto + azul-céu) e no feed do
   Instagram (roxo, azul royal, laranja, amarelo, tons pastel).
   ============================================================ */

:root {
  --ink: #16182b;
  --ink-soft: #4a4d63;
  --muted: #6d7085;
  --bg: #fffaf3;
  --surface: #ffffff;
  --line: #efe7da;

  --blue: #2a9ee6;          /* azul do logo */
  --blue-deep: #1d4fd8;     /* azul royal do feed */
  --blue-soft: #e3f3fd;
  --purple: #6a2fd4;
  --purple-deep: #4b1ea6;
  --lavender: #efe5ff;
  --orange: #ff9a1f;
  --orange-deep: #e8760a;
  --peach: #ffecd6;
  --yellow: #ffd23f;
  --teal: #19c3c9;
  --teal-deep: #11948f;
  --sage: #e1f0e1;
  --pink: #ffe3ee;
  --pink-deep: #e0447e;
  --whats: #25d366;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px -12px rgba(22, 24, 43, .18);
  --shadow-lg: 0 24px 60px -20px rgba(22, 24, 43, .30);

  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }

[data-lucide], svg.lucide { width: 1.15em; height: 1.15em; stroke-width: 2.2; flex-shrink: 0; }

/* ---------- Destaques de texto ---------- */
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after {
  content: ""; position: absolute; z-index: -1;
  left: -4px; right: -4px; bottom: .06em; height: .38em;
  border-radius: 8px; opacity: .9;
}
.hl--blue   { color: var(--blue-deep); }  .hl--blue::after   { background: var(--blue-soft); }
.hl--orange { color: var(--orange-deep); } .hl--orange::after { background: var(--peach); }
.hl--purple { color: var(--purple); }     .hl--purple::after { background: var(--lavender); }
.hl--yellow { color: var(--yellow); }     .hl--yellow::after { background: rgba(255,255,255,.14); }
@media (max-width: 520px) { .hl { white-space: normal; } }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600; font-size: .9rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .75rem;
}
.eyebrow--light { color: var(--yellow); }

.pill {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .4em .9em; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-weight: 700; font-size: .9rem; color: var(--ink-soft);
  box-shadow: 0 4px 12px -6px rgba(0,0,0,.12);
  margin-bottom: 1.2rem;
}
.pill [data-lucide], .pill svg { color: var(--pink-deep); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .75em 1.3em; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn--lg { padding: .95em 1.6em; font-size: 1.08rem; }
.btn--primary { background: var(--blue-deep); color: #fff; box-shadow: 0 10px 22px -10px var(--blue-deep); }
.btn--primary:hover { background: #173fb3; box-shadow: 0 14px 26px -10px var(--blue-deep); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 22px -10px rgba(0,0,0,.4); }
.btn--insta { color: #fff; background: linear-gradient(45deg, #f9a13a, #e0447e 45%, #6a2fd4); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 243, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.3); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand__mark { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--blue-soft); }
.brand__text { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--ink); }
.brand__text b { color: var(--blue); font-weight: 700; }
.brand__text small { display: block; font-family: var(--font-body); font-size: .68rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); margin-top: 3px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 700; color: var(--ink-soft); position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 3px; border-radius: 3px; background: var(--blue); transition: right .25s; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after { right: 0; }
.nav__cta { padding: .6em 1.15em; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); cursor: pointer; padding: 0; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); padding: 8px 16px 20px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-120%); transition: transform .3s ease; z-index: -1;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 14px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 90px; overflow: hidden; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(2px); z-index: -1; }
.hero__blob--a { width: 520px; height: 520px; right: -140px; top: -120px; background: radial-gradient(circle at 30% 30%, var(--lavender), transparent 70%); }
.hero__blob--b { width: 420px; height: 420px; left: -180px; bottom: -160px; background: radial-gradient(circle at 60% 40%, var(--blue-soft), transparent 70%); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; }
.paw-inline { font-size: .8em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 1.8rem; }
.hero__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__chips li {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .45em .9em; border-radius: 999px; font-weight: 700; font-size: .92rem;
  background: var(--surface); border: 1px solid var(--line);
}
.hero__chips li:nth-child(1) svg { color: var(--blue); }
.hero__chips li:nth-child(2) svg { color: var(--purple); }
.hero__chips li:nth-child(3) svg { color: var(--teal-deep); }
.hero__chips li:nth-child(4) svg { color: var(--orange-deep); }

.hero__visual { position: relative; min-height: 520px; }
.card-stack { position: relative; width: 100%; height: 520px; }
.card-stack__item {
  position: absolute; width: 58%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 6px solid #fff; transition: transform .4s ease;
}
.card-stack__item--1 { left: 0; top: 60px; transform: rotate(-8deg); }
.card-stack__item--2 { right: 0; top: 30px; transform: rotate(7deg); }
.card-stack__item--3 { left: 21%; top: 0; transform: rotate(-1deg); z-index: 2; }
.hero__visual:hover .card-stack__item--1 { transform: rotate(-11deg) translateX(-10px); }
.hero__visual:hover .card-stack__item--2 { transform: rotate(10deg) translateX(10px); }

.float-badge {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: .45em;
  padding: .6em 1em; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow);
  font-family: var(--font-display); font-weight: 600;
  animation: bob 4s ease-in-out infinite;
}
.float-badge--a { left: -6px; bottom: 60px; }
.float-badge--a svg { color: var(--pink-deep); }
.float-badge--b { right: 4px; bottom: 16px; animation-delay: -2s; }
.float-badge--b svg { color: var(--blue); }
@keyframes bob { 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
  .hero { padding-top: 32px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual, .card-stack { min-height: 0; height: 420px; }
  .card-stack { max-width: 460px; margin-inline: auto; }
}
@media (max-width: 480px) {
  .hero__visual, .card-stack { height: 340px; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- Strip ---------- */
.strip { background: var(--ink); color: #fff; margin-top: -40px; position: relative; z-index: 2; }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { padding: 26px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.strip__item:last-child { border-right: 0; }
.strip__item strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--yellow); }
.strip__item:nth-child(2) strong { color: var(--blue); }
.strip__item:nth-child(3) strong { color: #c9a8ff; }
.strip__item:nth-child(4) strong { color: var(--orange); }
.strip__item span { font-size: .92rem; opacity: .8; }
@media (max-width: 760px) {
  .strip__inner { grid-template-columns: 1fr 1fr; }
  .strip__item:nth-child(2) { border-right: 0; }
  .strip__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
}

/* ---------- Seções ---------- */
.section { padding: 96px 0; }
.section--tint { background: linear-gradient(180deg, #fff 0%, var(--blue-soft) 100%); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section__head p { color: var(--muted); font-size: 1.08rem; }
@media (max-width: 600px) { .section { padding: 68px 0; } }

/* ---------- Serviços ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  background: var(--surface); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.service::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px;
  border-radius: 50%; background: var(--bg); transition: transform .4s ease;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service:hover::before { transform: scale(1.6); }
.service__icon {
  position: relative; width: 58px; height: 58px; border-radius: 18px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--bg); color: var(--c);
}
.service__icon svg { width: 28px; height: 28px; }
.service h3, .service p { position: relative; }
.service p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
@media (max-width: 960px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }

/* ---------- Banner roxo ---------- */
.banner { position: relative; overflow: hidden; padding: 84px 0; color: #fff; }
.banner--purple { background: linear-gradient(120deg, var(--purple-deep), var(--purple) 55%, #8b4dff); }
.paw-pattern {
  position: absolute; inset: 0; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='%23fff' transform='rotate(-18 45 45)'%3E%3Cellipse cx='45' cy='52' rx='12' ry='10'/%3E%3Ccircle cx='31' cy='38' r='5'/%3E%3Ccircle cx='40' cy='31' r='5'/%3E%3Ccircle cx='51' cy='31' r='5'/%3E%3Ccircle cx='59' cy='38' r='5'/%3E%3C/g%3E%3C/svg%3E");
}
.banner__inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.banner__copy p { font-size: 1.1rem; opacity: .92; max-width: 34em; margin-bottom: 1.8rem; }
.banner__art img { border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); transform: rotate(3deg); border: 6px solid rgba(255,255,255,.2); max-width: 380px; margin-left: auto; }
@media (max-width: 860px) {
  .banner__inner { grid-template-columns: 1fr; }
  .banner__art img { margin: 0 auto; max-width: 300px; }
  .banner .btn { width: 100%; }
}

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about__visual { position: relative; }
.about__visual img { width: 100%; height: 560px; object-fit: cover; object-position: center 40%; border-radius: 28px; box-shadow: var(--shadow-lg); }
.about__tag {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  display: flex; align-items: center; gap: .5em;
  background: rgba(255,255,255,.95); border-radius: var(--radius-sm);
  padding: 14px 18px; font-weight: 800; box-shadow: var(--shadow);
}
.about__tag svg { color: var(--pink-deep); }
.about__copy > p { color: var(--ink-soft); font-size: 1.08rem; }

.values { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.values li { display: flex; gap: 16px; align-items: flex-start; }
.values__icon {
  width: 50px; height: 50px; border-radius: 16px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; background: var(--c);
  box-shadow: 0 8px 18px -8px var(--c);
}
.values strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.values p { margin: 2px 0 0; color: var(--muted); }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__visual img { height: 380px; }
}

/* ---------- Hotelzinho ---------- */
.hotel { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hotel__copy > p { color: var(--ink-soft); font-size: 1.08rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.checklist li { display: flex; align-items: center; gap: .6em; font-weight: 700; }
.checklist svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--orange); color: #fff; stroke-width: 3; }
.hotel__art { position: relative; height: 520px; }
.hotel__img { position: absolute; width: 64%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.hotel__img--a { left: 0; top: 0; transform: rotate(-4deg); }
.hotel__img--b { right: 0; bottom: 0; transform: rotate(5deg); }
@media (max-width: 900px) {
  .hotel { grid-template-columns: 1fr; }
  .hotel__art { height: 440px; max-width: 460px; width: 100%; margin: 0 auto; }
}
@media (max-width: 480px) { .hotel__art { height: 340px; } .hotel .btn { width: 100%; } }

/* ---------- Dicas ---------- */
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.tip {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 6px 22px; transition: box-shadow .25s, border-color .25s;
}
.tip[open] { box-shadow: var(--shadow); border-color: transparent; }
.tip summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px;
  padding: 16px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
}
.tip summary::-webkit-details-marker { display: none; }
.tip__icon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--bg); color: var(--c); flex-shrink: 0; }
.tip__chev { margin-left: auto; color: var(--muted); transition: transform .25s; }
.tip[open] .tip__chev { transform: rotate(180deg); }
.tip ul { margin: 0 0 12px; padding-left: 1.2em; color: var(--ink-soft); }
.tip li { margin-bottom: 4px; }
.tip li::marker { color: var(--c); }
.tip__note { background: var(--bg); color: var(--ink); border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: .95rem; margin-bottom: 18px; }
@media (max-width: 960px) { .tips { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tips { grid-template-columns: 1fr; } }

/* ---------- Instagram ---------- */
.insta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 40px; }
.insta__item { display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; position: relative; box-shadow: var(--shadow); }
.insta__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.insta__item::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: linear-gradient(45deg, rgba(224,68,126,.55), rgba(106,47,212,.55));
}
.insta__item:hover img { transform: scale(1.06); }
.insta__item:hover::after { opacity: 1; }
@media (max-width: 760px) { .insta { grid-template-columns: 1fr 1fr; } }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: stretch; }
.contact__info > p { color: var(--ink-soft); font-size: 1.08rem; }
.contact__list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--c); color: #fff; flex-shrink: 0; }
.contact__list strong { display: block; font-family: var(--font-display); font-weight: 600; }
.contact__list a { text-decoration: none; color: var(--ink-soft); font-weight: 600; }
.contact__list a:hover { color: var(--blue-deep); text-decoration: underline; }
.contact__map { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); min-height: 440px; border: 6px solid #fff; }
.contact__map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact .btn { width: 100%; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 48px 0; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand img { border-radius: 18px; }
.footer__brand p { margin: 0; max-width: 22em; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer__nav a { text-decoration: none; font-weight: 700; }
.footer__nav a:hover { color: var(--yellow); }
.footer__legal { text-align: right; font-size: .9rem; opacity: .75; }
.footer__legal p { margin: 0; }
@media (max-width: 860px) {
  .footer__inner { grid-template-columns: 1fr; text-align: left; }
  .footer__legal { text-align: left; }
}

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--whats); color: #fff;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7);
  transition: transform .2s;
}
.whats-float svg { width: 32px; height: 32px; }
.whats-float:hover { transform: scale(1.08); }
.whats-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--whats); animation: ping 2.2s ease-out infinite;
}
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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