/* =========================================================
   PET SHOP SALVADOR — Styles
   ========================================================= */

:root {
  --brand: #f4a261;
  --brand-soft: #fdf1e3;
  --brand-deep: #d97f2e;
  --ink: #17383a;
  --ink-soft: #3a5a5c;
  --muted: #6b8082;
  --bg: #fdfbf7;
  --surface: #ffffff;
  --tint: #f7f1e8;
  --line: #eee4d6;
  --wa: #25d366;
  --wa-dark: #128c4b;
  --shadow-sm: 0 6px 18px rgba(23, 56, 58, .07);
  --shadow-md: 0 16px 40px rgba(23, 56, 58, .12);
  --shadow-lg: 0 30px 70px rgba(23, 56, 58, .16);
  --radius: 22px;
  --radius-lg: 30px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, sans-serif;
  --container: 1160px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 760px; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px;
  transition: top .3s;
}
.skip-link:focus { top: 16px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 800; font-size: 15px;
  padding: 14px 26px; border-radius: 999px; line-height: 1.2;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  will-change: transform;
}
.btn svg { width: 20px; height: 20px; flex: none; }

.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .35); }
.btn--wa:hover { background: var(--wa-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37, 211, 102, .42); }

.btn--ghost { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.btn--ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand); color: var(--brand-deep); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--lg { padding: 17px 36px; font-size: 16px; }
.btn--block { width: 100%; margin-top: 18px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(253, 251, 247, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.header.is-scrolled { box-shadow: 0 8px 30px rgba(23, 56, 58, .08); border-color: var(--line); }

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(244, 162, 97, .4);
}
.brand__mark svg { width: 26px; height: 26px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-family: var(--font-display); font-size: 19px; letter-spacing: .5px; color: var(--ink); }
.brand__text em { font-style: normal; font-weight: 800; font-size: 11px; letter-spacing: 3.5px; color: var(--brand-deep); }

.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: block; padding: 9px 13px; font-size: 14px; font-weight: 700; color: var(--ink-soft);
  border-radius: 999px; transition: color .2s ease, background .2s ease;
}
.nav__link:hover { color: var(--brand-deep); background: var(--brand-soft); }

.header__actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid var(--line); padding: 0 12px; }
.nav-toggle span { height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 160px 0 90px; overflow: hidden; background: linear-gradient(180deg, #fdf4e7 0%, var(--bg) 100%); }
.hero__paws { position: absolute; inset: 0; pointer-events: none; opacity: .05; }
.hero__paws::before, .hero__paws::after {
  content: "🐾"; position: absolute; font-size: 150px;
  animation: floatPaw 12s ease-in-out infinite;
}
.hero__paws::before { top: 12%; right: 6%; }
.hero__paws::after { bottom: 10%; left: 3%; animation-delay: -6s; }

@keyframes floatPaw { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-24px) rotate(8deg); } }

.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 60px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); color: var(--brand-deep);
  font-size: 13px; font-weight: 800; letter-spacing: .4px;
  padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(2.5rem, 5vw, 3.9rem);
  line-height: 1.08; color: var(--ink); letter-spacing: -.5px; margin-bottom: 20px;
}
.hero__title .paw { display: inline-block; animation: wag 1.8s ease-in-out infinite; transform-origin: bottom right; }
@keyframes wag { 0%, 100% { transform: rotate(0); } 40% { transform: rotate(18deg); } 60% { transform: rotate(-8deg); } }

.hero__subtitle { font-size: 1.18rem; color: var(--muted); max-width: 520px; margin-bottom: 26px; }

.hero__rating { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink-soft); margin-bottom: 32px; font-weight: 600; }
.hero__rating .dot { color: var(--brand-deep); }
.hero__rating strong { color: var(--ink); }

.stars { display: inline-flex; gap: 2px; color: #f4a261; }
.stars svg { width: 18px; height: 18px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero visual */
.hero__visual { position: relative; }
.hero__card--main {
  position: relative; border-radius: 50% 50% 46% 46% / 42% 42% 58% 58%;
  max-width: 420px; margin-inline: auto; aspect-ratio: 1; overflow: hidden;
  background: linear-gradient(160deg, #ffe8cf 0%, #ffd3a8 100%);
  box-shadow: var(--shadow-lg);
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero__pet { position: absolute; inset: 0; display: grid; place-items: center; }
.hero__pet svg { width: 86%; height: 86%; }

.hero__chip {
  position: absolute; background: #fff; color: var(--ink); font-weight: 800; font-size: 13px;
  padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow-md);
}
.hero__chip--top { top: 6%; left: 0; }
.hero__chip--bottom { bottom: 8%; right: 0; color: var(--brand-deep); }

.hero__card--float {
  position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 11px; padding: 13px 18px;
  animation: bob 5s ease-in-out infinite reverse;
}
.hero__card--float svg { width: 34px; height: 34px; flex: none; }
.hero__card--float div { display: flex; flex-direction: column; line-height: 1.2; }
.hero__card--float strong { font-size: 14.5px; color: var(--ink); }
.hero__card--float span { font-size: 12px; color: var(--muted); }

.hero__card--rating { top: 14%; right: -6%; }
.hero__card--rating svg { color: #f4a261; }
.hero__card--wa { bottom: 16%; left: -4%; animation-delay: -2.5s; }
.hero__card--wa svg { color: var(--wa); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); }

.section__head { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 56px; }
.section__head--light .section__title { color: #fff; }
.section__head--light .section__lead { color: rgba(255,255,255,.75); }

.section__tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase;
  color: var(--brand-deep); background: var(--brand-soft); border-radius: 999px; padding: 7px 16px; margin-bottom: 16px;
}
.section__tag--light { color: #fff; background: rgba(255,255,255,.12); }

.section__title {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.15; color: var(--ink); letter-spacing: -.3px;
}
.section__lead { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

/* ---------- Sobre ---------- */
.sobre__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sobre__text p { font-size: 1.18rem; color: var(--ink-soft); line-height: 1.75; }
.sobre__text strong { color: var(--ink); }

.sobre__points { display: flex; flex-direction: column; gap: 18px; }
.sobre__points li { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.sobre__points li:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.sobre__icon {
  width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-deep);
}
.sobre__icon svg { width: 26px; height: 26px; }
.sobre__points strong { font-size: 1.02rem; color: var(--ink); }
.sobre__points p { font-size: .95rem; color: var(--muted); }

/* ---------- Cards (Serviços / Produtos) ---------- */
.cards { display: grid; gap: 26px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px 34px; text-align: center; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--brand); }

.card__icon {
  width: 78px; height: 78px; border-radius: 24px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-soft) 0%, #ffe3c7 100%); color: var(--brand-deep);
  margin-bottom: 22px; transition: transform .35s ease;
}
.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); }
.card__icon svg { width: 40px; height: 40px; }

.card h3 { font-family: var(--font-display); font-size: 1.45rem; color: var(--ink); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }

.card__link { margin-top: 20px; font-weight: 800; font-size: 14.5px; color: var(--brand-deep); display: inline-flex; align-items: center; gap: 6px; transition: gap .25s ease; }
.card__link:hover { gap: 12px; }

/* ---------- Galeria ---------- */
.galeria__item {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--line); position: relative;
}
.galeria__item img { width: 100%; height: auto; object-fit: cover; transition: transform .6s ease; }
.galeria__item:hover img { transform: scale(1.02); }

/* ---------- Avaliações ---------- */
.rating-summary {
  display: flex; justify-content: center; margin-bottom: 48px;
}
.rating-summary__score {
  text-align: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 46px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.rating-summary__score > strong { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--ink); }
.rating-summary__score p { color: var(--muted); font-size: .95rem; }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm); position: relative;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial::before {
  content: ""; position: absolute; top: 0; left: 34px; right: 34px; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-deep)); border-radius: 0 0 4px 4px;
}
.testimonial__stars { display: flex; gap: 3px; color: #f4a261; }
.testimonial__stars svg { width: 18px; height: 18px; }
.testimonial p { color: var(--ink-soft); font-size: .99rem; }
.testimonial p + p { margin-top: -6px; }

.testimonials__note { text-align: center; margin-top: 34px; color: var(--muted); font-size: .9rem; }

/* ---------- Localização ---------- */
.loc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.loc__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px 36px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 16px;
}
.loc__card h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); }
.loc__card p { color: var(--ink-soft); font-size: 1.02rem; }
.loc__ref { color: var(--brand-deep); font-weight: 700; }
.loc__parking {
  background: var(--brand-soft); border-radius: 16px; padding: 14px 18px;
  color: var(--ink-soft) !important; font-size: .95rem !important;
}
.loc__parking strong { color: var(--ink); }
.loc__card .btn { margin-top: 8px; align-self: flex-start; }

.loc__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); min-height: 320px; }
.loc__map iframe { width: 100%; height: 100%; min-height: 340px; display: block; }

/* ---------- Horários ---------- */
.hours {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.hours__list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 34px; border-bottom: 1px solid var(--line); font-size: 1.02rem;
}
.hours__list li:last-child { border-bottom: 0; }
.hours__list span { color: var(--muted); font-weight: 600; }
.hours__list strong { color: var(--ink); font-weight: 800; }
.hours__list .hours__closed { background: var(--brand-soft); }
.hours__list .hours__closed span, .hours__list .hours__closed strong { color: var(--brand-deep); }

/* ---------- Contato ---------- */
.contato { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 48px; }
.contato__item {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 34px 28px; text-align: center;
  transition: background .3s ease, transform .3s ease;
}
.contato__item:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.contato__icon {
  width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center;
  background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(244, 162, 97, .35);
}
.contato__icon svg { width: 30px; height: 30px; }
.contato__item h3 { font-family: var(--font-display); font-size: 1.2rem; color: #fff; margin-bottom: 8px; }
.contato__item p { color: rgba(255,255,255,.72); font-size: .98rem; }
.contato__link { color: var(--brand); font-weight: 800; transition: color .2s ease; }
.contato__link:hover { color: #fff; }

.contato__cta { text-align: center; }

/* ---------- Footer ---------- */
.footer { background: #0f2c2e; color: rgba(255,255,255,.75); padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__brand p { margin-top: 14px; font-size: .95rem; max-width: 300px; }
.brand--footer .brand__text strong { color: #fff; }
.footer__col h3 { font-size: .8rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: .95rem; transition: color .2s ease; }
.footer__col a:hover { color: #fff; }

.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__bottom p { font-size: .85rem; }
.footer__demo { color: rgba(255,255,255,.45); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .45);
  transition: transform .3s ease, box-shadow .3s ease;
  animation: waPulse 2.4s ease-in-out infinite;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 16px 40px rgba(37, 211, 102, .55); }
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .hero__card--float { display: none; }
}

@media (max-width: 980px) {
  .nav {
    position: fixed; top: 76px; right: 0; left: 0; z-index: 99;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 76px); overflow-y: auto;
    transform: translateY(-16px); opacity: 0; pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__list { flex-direction: column; gap: 4px; padding: 18px 24px 26px; align-items: stretch; }
  .nav__link { padding: 14px 18px; font-size: 16px; border-radius: 14px; }
  .nav-toggle { display: flex; }

  .hero { padding-top: 140px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero__content { display: flex; flex-direction: column; align-items: center; }
  .hero__subtitle { max-width: 460px; }
  .hero__actions { justify-content: center; }
  .hero__card--main { max-width: 340px; }
  .hero__card--float { display: flex; }

  .sobre__grid { grid-template-columns: 1fr; gap: 40px; }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .loc__grid { grid-template-columns: 1fr; }
  .contato { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .header__inner { height: 68px; }
  html { scroll-padding-top: 80px; }
  .nav { top: 68px; max-height: calc(100vh - 68px); }

  .header__actions .btn--wa span { display: none; }
  .header__actions .btn--wa svg { width: 22px; height: 22px; }
  .header__actions .btn--wa { padding: 11px; border-radius: 12px; }

  .hero { padding: 130px 0 70px; }
  .hero__actions .btn { width: 100%; }
  .hero__card--main { max-width: 280px; }
  .hero__chip { font-size: 12px; padding: 8px 14px; }

  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
  .cards--2, .cards--3 { grid-template-columns: 1fr; }
  .card { padding: 30px 24px; }
  .sobre__points li { padding: 18px 18px; }
  .rating-summary__score { padding: 24px 32px; }
  .loc__card { padding: 30px 24px; }
  .loc__map iframe { min-height: 300px; }
  .hours__list li { padding: 16px 20px; }
  .contato__cta .btn { width: 100%; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom .container { justify-content: center; text-align: center; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}

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