/* PetJoy — template petshop A9 Sites
   Bulma (CDN) + este arquivo. Divertido e acolhedor:
   ondas SVG, cantos arredondados, ícones grandes, patinhas decorativas. */

:root {
  --brand: #F97316;
  --brand2: #0D9488;
  --cream: #FFF7ED;
  --dark: #292524;
  --ink: #3F3A36;
  --ink-soft: #6E655D;
  --brand-soft: #FFEDD5;
  --brand2-soft: #CCFBF1;
  --radius: 24px;
  --shadow: 0 10px 30px rgba(41, 37, 36, .09);
  --font-head: "Baloo 2", "Nunito", sans-serif;
  --font-body: "Nunito", sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  font-size: 1rem;
  overflow-x: hidden;
}
strong { color: inherit; }
img { max-width: 100%; }

/* ---------- Navbar ---------- */
.pet-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  box-shadow: 0 2px 16px rgba(41, 37, 36, .08);
}
.pet-nav .navbar-brand { min-height: 4.4rem; align-items: center; }
.brand { display: flex; align-items: center; gap: .65rem; }
.brand img { max-height: 3rem; }
.brand-badge {
  display: grid; place-items: center;
  width: 42px; height: 42px; flex: none;
  border-radius: 14px;
  background: var(--brand); color: #fff;
  box-shadow: 0 4px 12px rgba(249, 115, 22, .35);
}
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--dark); }
.brand-top {
  color: var(--brand2); font-weight: 800; font-size: .64rem;
  letter-spacing: .1em; text-transform: uppercase;
}
.navbar-burger { color: var(--dark); height: 4.4rem; width: 4rem; }
.nav-link {
  font-weight: 700; color: var(--ink) !important;
  background: none !important; transition: color .2s;
}
.nav-link:hover, .nav-link.is-current { color: var(--brand) !important; }
.navbar-menu.is-active { box-shadow: 0 14px 20px rgba(41, 37, 36, .1); }
.nav-cta-wrap { align-items: center; }

/* ---------- Botões pill ---------- */
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.1;
  padding: .8rem 1.6rem; cursor: pointer; text-align: center;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.btn-pill:hover { transform: translateY(-2px); }
.btn-pill svg { flex: none; }
.btn-orange { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(249, 115, 22, .35); }
.btn-orange:hover { background: #EA6A0C; color: #fff; }
.btn-teal { background: var(--brand2); color: #fff; box-shadow: 0 8px 20px rgba(13, 148, 136, .28); }
.btn-teal:hover { background: #0B837C; color: #fff; }
.btn-cream { background: #fff; color: var(--brand); box-shadow: 0 8px 20px rgba(41, 37, 36, .18); }
.btn-cream:hover { color: #EA6A0C; }
.btn-ghost { background: transparent; color: var(--dark); border-color: rgba(41, 37, 36, .28); }
.btn-ghost:hover { border-color: var(--dark); color: var(--dark); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: .5rem 1.1rem; font-size: .9rem; }
.btn-lg { padding: .95rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Seções e ondas ---------- */
.sec { position: relative; padding: 4rem 1.25rem; }
.sec-cream { background: var(--cream); }
.sec-white { background: #fff; }
.sec-teal { background: var(--brand2); color: #fff; }
.has-wave { padding-bottom: calc(3.5rem + clamp(44px, 6vw, 74px)); }
.wave {
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: clamp(44px, 6vw, 74px); line-height: 0; pointer-events: none;
}
.wave svg { display: block; width: 100%; height: 100%; }
.wave-flip svg { transform: scaleX(-1); }

.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .38rem 1rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
}
.chip-teal { background: var(--brand2-soft); color: #0F766E; }
.chip-orange { background: var(--brand-soft); color: #C2410C; }
.chip-cream { background: rgba(255, 255, 255, .22); color: #fff; }

.sec-head { text-align: center; max-width: 46rem; margin: 0 auto 2.6rem; }
.title-sec {
  font-family: var(--font-head); font-weight: 800; color: var(--dark);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15; margin: .7rem 0 .4rem;
}
.title-sm { font-size: 1.5rem; }
.sec-sub { color: var(--ink-soft); }
.sec-more { text-align: center; margin-top: 1.6rem; }

/* Patinhas decorativas */
.deco-paw { position: absolute; color: var(--brand); opacity: .1; pointer-events: none; z-index: 0; }
.deco-paw-a { top: 6%; right: 3%; transform: rotate(18deg); }
.deco-paw-b { bottom: 20%; left: 2%; transform: rotate(-14deg); }
.deco-paw-c { top: 10%; left: 4%; transform: rotate(-15deg); }
.deco-paw-d { bottom: 16%; right: 5%; transform: rotate(12deg); }
.cta-band .deco-paw { color: #fff; opacity: .16; }
.sec > .container { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero-pet { padding-top: 3.2rem; overflow: hidden; }
.title-hero {
  font-family: var(--font-head); font-weight: 800; color: var(--dark);
  font-size: clamp(2.15rem, 5vw, 3.4rem); line-height: 1.06; margin: .8rem 0 1rem;
}
.hero-sub { font-size: 1.12rem; color: var(--ink-soft); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.1rem; }
.hero-rating { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; color: var(--ink); }
.hero-rating svg { color: #F59E0B; }

.hero-media { position: relative; max-width: 520px; margin: 1rem auto 0; }
.blob-img {
  width: 100%; aspect-ratio: 10 / 9;
  background-size: cover; background-position: center;
  border-radius: 58% 42% 55% 45% / 52% 55% 45% 48%;
  border: 8px solid #fff; box-shadow: var(--shadow);
}
.float-card {
  position: absolute; display: flex; align-items: center; gap: .6rem;
  background: #fff; border-radius: 999px;
  padding: .5rem 1.1rem .5rem .5rem; box-shadow: var(--shadow);
  font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--dark);
  white-space: nowrap;
}
.float-a { left: 0; bottom: 12%; }
.float-b { right: 0; top: 7%; }
.fc-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; }
.fc-orange { background: var(--brand-soft); color: var(--brand); }
.fc-teal { background: var(--brand2-soft); color: var(--brand2); }

/* Página interna: hero curto */
.page-hero { padding-top: 3.2rem; text-align: center; }
.page-hero-in { max-width: 44rem; margin: 0 auto; }
.page-hero .hero-sub { margin: 0 auto; }

/* ---------- Faixa de stats ---------- */
.stats-band { padding-top: 2.6rem; }
.stats-row { text-align: center; }
.stat strong {
  display: flex; align-items: center; justify-content: center; gap: .35rem;
  font-family: var(--font-head); font-weight: 800; color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1;
}
.stat strong svg { color: #FDE68A; }
.stat span { display: block; margin-top: .15rem; font-weight: 700; color: rgba(255, 255, 255, .88); }

/* ---------- Cards de serviço ---------- */
.svc-card {
  position: relative; height: 100%;
  display: flex; flex-direction: column; align-items: flex-start; gap: .6rem;
  background: #fff; border: 1px solid rgba(41, 37, 36, .06);
  border-radius: var(--radius); padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow); transition: transform .25s;
}
.svc-card:hover { transform: translateY(-5px); }
.svc-icon { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 22px; }
.tint-orange { background: var(--brand-soft); color: var(--brand); }
.tint-teal { background: var(--brand2-soft); color: var(--brand2); }
.svc-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.28rem; color: var(--dark); }
.svc-card p { color: var(--ink-soft); flex: 1; }
.price-chip {
  display: inline-block; background: var(--dark); color: #fff;
  border-radius: 999px; padding: .32rem .95rem;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
}
.price-chip-light { background: #fff; color: var(--brand2); }

/* ---------- Sobre ---------- */
.photo-card { position: relative; }
.photo-card img { display: block; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-paw {
  position: absolute; right: -12px; bottom: -12px;
  display: grid; place-items: center; padding: 10px;
  background: #fff; color: var(--brand); border-radius: 50%; box-shadow: var(--shadow);
}
.par { color: var(--ink-soft); margin: .6rem 0; }
.perks { margin-top: 1.3rem; display: grid; gap: .75rem; }
.perks li { display: flex; align-items: center; gap: .75rem; font-weight: 700; color: var(--ink); }
.perk-ic {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: 13px; background: var(--brand2-soft); color: var(--brand2);
}

/* ---------- Adote + dicas ---------- */
.is-align-stretch { align-items: stretch; }
.adopt-card {
  position: relative; overflow: hidden; height: 100%;
  display: flex; flex-direction: column; align-items: flex-start; gap: .9rem;
  background: var(--brand2); color: #fff;
  border-radius: var(--radius); padding: 2.2rem;
}
.adopt-card h2 { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; line-height: 1.15; }
.adopt-card p { color: rgba(255, 255, 255, .93); flex: 1; }
.adopt-watermark { position: absolute; right: -26px; bottom: -26px; color: #fff; opacity: .14; }
.tips-card { height: 100%; background: var(--cream); border-radius: var(--radius); padding: 2.2rem; }
.tips-card h2 {
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem;
  color: var(--dark); margin-bottom: 1.3rem;
}
.tips-list { display: grid; gap: 1.1rem; }
.tips-list li { display: flex; align-items: center; gap: .9rem; }
.tip-ic {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none;
  border-radius: 50%; background: #fff; color: var(--brand); box-shadow: var(--shadow);
}
.tips-list p { color: var(--ink); font-weight: 600; }

/* ---------- Galeria ---------- */
.shot {
  position: relative; margin: 0; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in;
}
.shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s; }
.shot:hover img { transform: scale(1.045); }
.shot figcaption {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255, 255, 255, .93); color: var(--dark);
  border-radius: 999px; padding: .4rem 1rem .4rem .75rem;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
}
.shot figcaption .paw { color: var(--brand); }

/* ---------- Planos (servicos.php) ---------- */
.plans-row { align-items: stretch; }
.plan-card {
  position: relative; height: 100%; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  background: #fff; border-radius: var(--radius);
  padding: 2.5rem 1.8rem 2rem; box-shadow: var(--shadow);
}
.plan-card.is-featured { background: var(--brand); color: #fff; }
.plan-paw { color: var(--brand-soft); }
.is-featured .plan-paw { color: rgba(255, 255, 255, .4); }
.plan-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--dark); }
.is-featured h3 { color: #fff; }
.plan-note {
  font-weight: 800; font-size: .82rem; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink-soft);
}
.is-featured .plan-note { color: rgba(255, 255, 255, .85); }
.plan-price { font-family: var(--font-head); font-weight: 800; font-size: 2.5rem; color: var(--brand); margin: .3rem 0; }
.is-featured .plan-price { color: #fff; }
.plan-desc { color: var(--ink-soft); flex: 1; margin-bottom: 1.2rem; }
.is-featured .plan-desc { color: rgba(255, 255, 255, .93); }
.plan-tag {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--dark); color: #fff; white-space: nowrap;
  border-radius: 999px; padding: .32rem 1.05rem;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
}

/* ---------- Faixa táxi pet ---------- */
.taxi-band { padding-top: 3rem; }
.taxi-in {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem;
  background: rgba(255, 255, 255, .09); border-radius: var(--radius);
  padding: 1.8rem 2rem;
}
.taxi-ic {
  display: grid; place-items: center; width: 64px; height: 64px; flex: none;
  border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff;
}
.taxi-txt { flex: 1; min-width: 240px; }
.taxi-txt h2 { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; line-height: 1.2; }
.taxi-txt p { margin-top: .35rem; color: rgba(255, 255, 255, .92); }

/* ---------- Faixa CTA ---------- */
.cta-band { background: var(--brand); color: #fff; text-align: center; overflow: hidden; }
.cta-in { position: relative; z-index: 1; }
.cta-in h2 {
  font-family: var(--font-head); font-weight: 800; color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.12;
}
.cta-in p { max-width: 36rem; margin: .8rem auto 1.7rem; color: rgba(255, 255, 255, .93); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }

/* ---------- Contato ---------- */
.contact-cards { display: grid; gap: 1rem; margin-top: 1.4rem; }
.contact-cards li {
  display: flex; align-items: center; gap: 1rem;
  background: var(--cream); border-radius: 18px; padding: 1rem 1.2rem;
}
.cc-ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 16px; }
.contact-cards strong { display: block; font-family: var(--font-head); color: var(--dark); }
.contact-cards a { color: var(--brand2); font-weight: 700; }
.contact-cards a:hover { text-decoration: underline; color: var(--brand2); }
.f-social-dark { display: flex; gap: .8rem; margin-top: 1.2rem; }
.f-social-dark a {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; background: var(--brand-soft); color: var(--brand);
}
.f-social-dark a:hover { background: var(--brand); color: #fff; }

.form-card {
  position: relative; overflow: hidden;
  background: var(--cream); border-radius: var(--radius); padding: 2.4rem;
}
.form-paw { position: absolute; top: -8px; right: -8px; color: var(--brand); opacity: .14; }
.form-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--dark); }
.form-sub { color: var(--ink-soft); margin: .3rem 0 1.5rem; }
.form-card form { position: relative; z-index: 1; }
.f-label { display: block; font-weight: 800; font-size: .95rem; color: var(--ink); margin-bottom: 1.1rem; }
.f-input {
  display: block; width: 100%; margin-top: .4rem;
  background: #fff; border: 2px solid rgba(41, 37, 36, .1);
  border-radius: 16px; padding: .8rem 1rem;
  font: inherit; color: var(--ink); transition: border-color .2s;
}
.f-input:focus { outline: none; border-color: var(--brand); }
textarea.f-input { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-ok {
  display: flex; align-items: flex-start; gap: .9rem;
  background: #D1FAE5; color: #065F46;
  border-radius: 16px; padding: 1rem 1.2rem; margin-bottom: 1.4rem;
}
.form-ok svg { flex: none; margin-top: 2px; }
.form-ok strong { font-family: var(--font-head); color: #065F46; }
.form-ok p { margin-top: .1rem; }

.map-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-card iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Rodapé ---------- */
.footer-pet { background: var(--dark); color: #E7E5E4; padding: 3.5rem 1.25rem 2rem; }
.footer-pet h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: #fff; margin-bottom: .8rem; }
.f-brand {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: #fff;
}
.f-brand strong { color: #fff; }
.f-tag { color: rgba(231, 229, 228, .75); margin: .7rem 0 1rem; font-size: .92rem; max-width: 26rem; }
.f-line { display: flex; align-items: flex-start; gap: .55rem; margin: .5rem 0; }
.f-line svg { flex: none; color: var(--brand); margin-top: 3px; }
.footer-pet a { color: #E7E5E4; }
.footer-pet a:hover { color: var(--brand); }
.f-social { display: flex; gap: .8rem; margin-top: 1rem; }
.f-social a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: rgba(255, 255, 255, .1);
}
.f-social a:hover { background: var(--brand); color: #fff; }
.credit {
  margin-top: 2.2rem; padding-top: 1.4rem; text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .9rem; color: rgba(231, 229, 228, .8);
}
.credit a { color: var(--brand); font-weight: 700; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(28, 25, 23, .92); padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 18px; }
.lb-close {
  position: absolute; top: 18px; right: 18px;
  display: grid; place-items: center; width: 48px; height: 48px;
  background: rgba(255, 255, 255, .14); color: #fff;
  border: 0; border-radius: 50%; cursor: pointer;
}
.lb-close:hover { background: var(--brand); }

/* ---------- Animação de entrada ---------- */
html.has-js .reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease var(--d, 0ms), transform .6s ease var(--d, 0ms);
}
html.has-js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.has-js .reveal { opacity: 1; transform: none; transition: none; }
  .btn-pill:hover, .svc-card:hover { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 768px) {
  .sec { padding-left: 1.1rem; padding-right: 1.1rem; }
  .hero-actions .btn-pill { width: 100%; }
  .float-card { font-size: .82rem; }
  .float-card .fc-icon { width: 32px; height: 32px; }
  .plan-card { margin-top: 1rem; }
  .form-card { padding: 1.8rem 1.4rem; }
  .taxi-in { padding: 1.5rem 1.3rem; }
  .map-card iframe { height: 320px; }
  .deco-paw-b, .deco-paw-d { display: none; }
}
@media (min-width: 1024px) {
  .sec { padding-top: 5rem; }
  .hero-pet { padding-top: 4.5rem; }
  .plan-card.is-featured { transform: scale(1.04); }
  html.has-js .plan-card.is-featured.reveal.in { transform: scale(1.04); }
}
