/* House Patas — cores e fontes do brandbook */
:root {
  --purple: #8306B7;
  --purple-2: #8A22D8;
  --purple-ink: #4A0369;
  --yellow: #FFE004;
  --yellow-2: #FCF000;
  --blue: #3478E0;
  --cyan: #2EC0F2;
  --pink: #FF27B3;
  --pink-2: #FF8DBE;
  --paper: #FFFDF6;
  --ink: #241A2B;
  --muted: #5E5466;
  --line: #E9E1EE;
  --display: "karantina", "Arial Narrow", sans-serif;
  --body: "neutronic", system-ui, sans-serif;
  --r: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
main, .foot { position: relative; z-index: 1; }

/* trilha de patas: fica atrás de tudo, só aparece nas seções claras */
#trail { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* ---------- tipografia de marca ---------- */
.display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: .005em;
  font-size: clamp(3.4rem, 8.2vw, 7.4rem);
  color: var(--purple);
}
.display > * { display: inline; }
.display .thin { font-weight: 300; }
.display--md { font-size: clamp(2.7rem, 5.6vw, 4.8rem); max-width: 16ch; margin-bottom: .55em; }
.hero .display > *, .final .display > * { display: block; width: fit-content; }
mark {
  background: var(--purple);
  color: var(--yellow);
  padding: 0 .12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.display mark { display: inline-block; margin-top: .06em; }

.lead { font-size: 1.15rem; color: var(--purple-ink); max-width: 52ch; }

.pill {
  display: inline-block;
  font: 700 .78rem/1 var(--body);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--purple);
  border: 1.5px solid currentColor;
  border-radius: 99px;
  padding: .55em 1em;
  margin-bottom: 1.4rem;
  background: var(--paper);
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font: 700 1rem/1 var(--body);
  text-decoration: none;
  border-radius: 99px;
  padding: 1em 1.5em;
  border: 2px solid transparent;
  transition: transform .2s cubic-bezier(.2,.8,.2,1.2), box-shadow .2s, background .2s;
}
.btn svg { width: 1.3em; height: 1.3em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.btn--purple { background: var(--purple); color: var(--yellow); box-shadow: 0 6px 0 var(--purple-ink); }
.btn--purple:hover { box-shadow: 0 8px 0 var(--purple-ink); }
.btn--yellow { background: var(--yellow); color: var(--purple); }
.btn--ghost { border-color: var(--purple); color: var(--purple); background: var(--paper); }
.btn--sm { padding: .75em 1.2em; font-size: .92rem; }
.btn--lg { font-size: 1.15rem; padding: 1.1em 1.8em; }

/* ---------- topo ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--purple); margin-right: auto; }
.brand__logo { display: block; height: 50px; width: auto; aspect-ratio: 1645 / 540; color: var(--purple); }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); }
.nav a:hover { color: var(--purple); }
@media (max-width: 1060px) { .nav { display: none; } }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(50px, 8vw, 110px); }
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero__copy .display { margin-bottom: .35em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.8rem 0 2rem; }
/* texto em card sólido: as patinhas não passam por trás dele */
.lead--card { background: var(--yellow); color: var(--purple-ink); border-radius: 18px; padding: 18px 22px; max-width: 54ch; }

.door { clip-path: url(#door); background: var(--purple); }
.door img { width: 100%; height: 100%; object-fit: cover; }
/* foto recortada "saindo" da porta-pata da marca */
.cutout { margin: 0; position: relative; isolation: isolate; }
.cutout::before {
  content: ""; position: absolute; inset: var(--arch-top, -6%) 0 0; z-index: -1;
  background: var(--arch, var(--yellow));
  clip-path: url(#door); /* mesma largura da foto: cortes laterais somem na borda do arco */
}
.cutout img { width: 100%; filter: drop-shadow(0 18px 24px rgba(74, 3, 105, .22)); }
.cutout--purple { --arch: var(--purple) url(assets/paw-pattern.svg) center/120px; --arch-top: 14%; }
.cutout--purple::after { /* contorno amarelo deslocado, como no brandbook */
  content: ""; position: absolute; inset: 14% 0 0; z-index: -2;
  translate: 16px 16px; background: var(--yellow); clip-path: url(#door);
}
.hero__photo { width: min(390px, 100%); justify-self: center; }
.sticker {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 40px -12px rgba(74, 3, 105, .35);
  font-size: .86rem;
  line-height: 1.45;
}
.sticker--note { left: -48px; bottom: 9%; max-width: 250px; padding: 14px 16px; rotate: -3deg; color: var(--muted); }
.sticker--note strong { display: block; color: var(--purple); font: 700 1.5rem/1 var(--display); text-transform: uppercase; margin-bottom: 4px; }
.sticker--tag { right: -14px; top: 3%; padding: 10px 14px; rotate: 4deg; background: var(--yellow); color: var(--purple); font-weight: 700; }

@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__photo { max-width: 420px; width: 88%; margin: 10px auto 0; }
  .sticker--note { left: -6%; }
  .sticker--tag { right: -6%; }
}

/* ---------- destaques em cards coloridos ---------- */
.highlights { position: relative; z-index: 2; }
.highlights__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hl { border-radius: var(--r); padding: 22px 22px 20px; display: grid; gap: 6px; align-content: start; }
.hl strong { font: 700 clamp(2.2rem, 3.4vw, 2.9rem)/.9 var(--display); text-transform: uppercase; }
.hl span { font-size: .95rem; font-weight: 600; line-height: 1.35; }
.hl--purple { background: var(--purple); color: #fff; text-decoration: none; transition: translate .2s; }
a.hl:hover { translate: 0 -3px; }
.hl--purple strong { color: var(--yellow); }
.hl--yellow { background: var(--yellow); color: var(--purple-ink); }
.hl--pink { background: var(--pink-2); color: var(--purple-ink); }
.hl--cyan { background: var(--cyan); color: var(--purple-ink); }
.hl--yellow strong { color: var(--purple); }
.hl--pink strong, .hl--cyan strong { color: var(--purple-ink); } /* roxo da marca fica abaixo de 4.5:1 no rosa e no azul */
@media (max-width: 860px) { .highlights__in { grid-template-columns: 1fr 1fr; } }

/* ---------- seções ---------- */
.section { padding: clamp(70px, 10vw, 130px) 0; }

.card { border-radius: var(--r); padding: clamp(24px, 3vw, 38px); }
.card h3 { font: 700 2.1rem/1 var(--display); text-transform: uppercase; color: var(--purple); margin-bottom: 1rem; }
.card--line { background: #fff; border: 2px solid var(--purple); }
.card--yellow { background: var(--yellow); }
.duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
/* recorte encostado no canto do card, com a cabeça "pulando" para fora */
.card--photo { position: relative; padding-right: 45%; min-height: 420px; }
.card--photo img { position: absolute; right: 2%; bottom: 0; height: 112%; width: auto; max-width: 42%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 12px 16px rgba(74, 3, 105, .2)); }
@media (max-width: 1000px) and (min-width: 761px) { .card--photo { padding-right: clamp(24px, 3vw, 38px); padding-bottom: 300px; } .card--photo img { height: 320px; max-width: none; right: 50%; translate: 50% 0; } }
@media (max-width: 760px) {
  .duo__grid { grid-template-columns: 1fr; gap: 60px; }
  .card--photo { padding-right: clamp(24px, 3vw, 38px); padding-bottom: 300px; }
  .card--photo img { height: 320px; max-width: none; right: 50%; translate: 50% 0; }
}

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7em; }
.checks li { position: relative; padding-left: 2em; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 1.15em; height: 1.15em; border-radius: 50%;
  background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23FFE004' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}

/* como funciona */
.steps { background: var(--yellow); }
.steps .display--md { max-width: 20ch; }
.steps__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps__list li { background: var(--paper); border-radius: var(--r); padding: 28px; position: relative; }
.steps__n { font: 700 5rem/.8 var(--display); color: var(--purple); display: block; margin-bottom: 14px; }
.steps__list h3 { font: 700 1.9rem/1 var(--display); text-transform: uppercase; color: var(--purple); margin-bottom: .5rem; }
.steps__list p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps__list { grid-template-columns: 1fr; } }

/* serviços */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service {
  --c: var(--purple-2);
  position: relative;
  display: flex; flex-direction: column;
  text-decoration: none;
  background: #fff;
  border: 1.5px solid var(--line);
  border-top: 8px solid var(--c);
  border-radius: var(--r);
  padding: 26px 26px 22px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1.2), box-shadow .25s;
}
.service:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 18px 40px -18px rgba(74, 3, 105, .4); }
.service h3 { font: 700 2rem/1 var(--display); text-transform: uppercase; color: var(--purple); margin-bottom: .5rem; }
.service p { color: var(--muted); flex: 1; }
.service__go { font-weight: 700; color: var(--purple); font-size: .95rem; }
.service--star { background: var(--purple) url(assets/paw-pattern.svg) center/130px; border-color: var(--purple); }
.service--star h3, .service--star .service__go { color: var(--yellow); }
.service--star p { color: #F3E6FA; }
.badge { position: absolute; top: -16px; right: 18px; background: var(--yellow); color: var(--purple); font: 700 1.1rem/1 var(--display); text-transform: uppercase; padding: 6px 12px; border-radius: 99px; rotate: 3deg; }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }

/* gatos */
.cats { background: var(--purple) url(assets/paw-pattern.svg) center/160px; color: #fff; }
.cats__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.cats .display { color: var(--yellow); }
.cats mark { background: var(--yellow); color: var(--purple); }
.door--cats { aspect-ratio: 3 / 4; background: var(--yellow); }
.lead--light { color: #F3E6FA; }
.checks--light li::before { background-color: var(--yellow); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%238306B7' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.cats .checks { margin-top: 1.6rem; }
@media (max-width: 820px) { .cats__in { grid-template-columns: 1fr; } .door--cats { max-width: 380px; } }

/* mural de fotos das visitas */
.mural__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 30px; margin-bottom: 34px; }
.mural__head .display { margin: 0; grid-column: 1; }
.mural__head .lead { grid-column: 1; margin: .6rem 0 0; }
.mural__nav { grid-column: 2; grid-row: 1 / 3; display: flex; gap: 10px; }
.mural__nav button {
  width: 54px; height: 54px; border-radius: 50%; cursor: pointer;
  border: 2px solid var(--purple); background: var(--paper); color: var(--purple);
  font: 700 1.3rem/1 var(--body); transition: background .2s, color .2s;
}
.mural__nav button:hover { background: var(--purple); color: var(--yellow); }
.mural__track {
  list-style: none; margin: 0;
  display: flex; gap: 26px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 20px max(20px, (100% - 1180px) / 2) 40px;
  scroll-padding-inline: max(20px, (100% - 1180px) / 2);
  scrollbar-width: thin; scrollbar-color: var(--purple) transparent;
}
.mural__track li { flex: 0 0 clamp(220px, 24vw, 280px); scroll-snap-align: start; }
.polaroid {
  margin: 0; background: #fff; padding: 12px 12px 0; border-radius: 6px;
  box-shadow: 0 16px 34px -16px rgba(74, 3, 105, .45);
  rotate: -2deg; transition: rotate .3s cubic-bezier(.2,.8,.2,1.2), scale .3s cubic-bezier(.2,.8,.2,1.2);
}
.mural__track li:nth-child(even) .polaroid { rotate: 1.8deg; }
.mural__track li:nth-child(3n) .polaroid { rotate: -.6deg; }
.polaroid:hover { rotate: 0deg !important; scale: 1.03; }
.polaroid img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: 3px; }
.polaroid figcaption { font: 700 1.35rem/1.05 var(--display); text-transform: uppercase; color: var(--purple); padding: 12px 4px 16px; min-height: 4.1em; }
@media (max-width: 640px) { .mural__nav { display: none; } .mural__head { grid-template-columns: 1fr; } }

/* quem somos */
.about__in { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.about__card { background: var(--purple); color: #F3E6FA; border-radius: var(--r); padding: clamp(24px, 3vw, 36px); }
.about blockquote { margin: 0 0 1.1rem; font: 400 2.2rem/1.05 var(--display); color: var(--yellow); max-width: 24ch; }
.about__card p { max-width: 56ch; }
.about__card p:last-child { margin-bottom: 0; }
.vets { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6rem; }
.vets div { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 18px; display: grid; }
.vets strong { font: 700 1.6rem/1 var(--display); text-transform: uppercase; color: var(--purple); }
.vets span { font-size: .85rem; color: var(--muted); }
@media (max-width: 820px) { .about__in { grid-template-columns: 1fr; } .about__photo { max-width: 380px; } }

/* números */
.stats { background: var(--purple-ink); color: #fff; padding: 46px 0; }
.stats__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats strong { display: block; font: 700 clamp(3.2rem, 6vw, 4.8rem)/.9 var(--display); color: var(--yellow); }
.stats span { font-size: .92rem; color: #E4D4EE; }
@media (max-width: 640px) { .stats__in { grid-template-columns: repeat(2, 1fr); row-gap: 30px; } }

/* depoimentos */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { margin: 0; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; }
.review:nth-child(2) { rotate: 1deg; background: var(--yellow); border-color: var(--yellow); }
.stars { color: var(--purple); letter-spacing: .15em; margin-bottom: .6rem; }
.review blockquote { margin: 0 0 1.2rem; flex: 1; font-size: 1.02rem; }
.review figcaption { font-weight: 700; font-size: .88rem; color: var(--purple); }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } .review:nth-child(2) { rotate: 0deg; } }

/* faq */
.faq__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.faq__list details { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
.faq__list details[open] { border-color: var(--purple); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; font: 700 2rem/1 var(--display); color: var(--purple); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }
@media (max-width: 820px) { .faq__in { grid-template-columns: 1fr; gap: 0; } }

/* cta final */
.final { background: var(--yellow); position: relative; overflow: hidden; padding: clamp(80px, 12vw, 150px) 0; }
.final__in { position: relative; }
.final .display { max-width: 12ch; margin-bottom: 2.2rem; }
.final .display .thin { font-size: .45em; line-height: 1; margin-bottom: .2em; }
.final__note { margin: 1.4rem 0 0; font-weight: 600; color: var(--purple); }
.final__house { position: absolute; right: -6%; bottom: -14%; width: min(560px, 60vw); height: auto; aspect-ratio: 508 / 471; color: var(--purple); opacity: .95; }
@media (max-width: 700px) { .final__house { opacity: .14; right: -20%; } }

/* rodapé */
.foot { background: var(--purple); color: #F3E6FA; padding: 60px 0 30px; }
.foot__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; align-items: start; }
.foot__logo { width: min(240px, 100%); height: auto; aspect-ratio: 1645 / 540; color: var(--yellow); }
.foot h3 { font: 700 1.6rem/1 var(--display); text-transform: uppercase; color: var(--yellow); margin-bottom: .5rem; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); font-size: .82rem; color: #D5BEE3; }
@media (max-width: 760px) { .foot__in { grid-template-columns: 1fr 1fr; } .foot__logo { grid-column: 1 / -1; } }

/* botão flutuante (mobile) */
.fab { display: none; }
@media (max-width: 920px) {
  .top .btn { display: none; }
  .fab {
    display: grid; place-items: center;
    position: fixed; right: 16px; bottom: 16px; z-index: 20;
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--purple); color: var(--yellow);
    box-shadow: 0 10px 30px -6px rgba(74, 3, 105, .55);
  }
  .fab svg { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .service { transition: none; }
}
