/* ==========================================================================
   Pet Dojo — design tokens & shared styles
   ========================================================================== */

:root {
  /* brand palette (client-supplied) */
  --turquoise: #5ce1e6;
  --blue: #0cc0df;
  --blue-dark: #0a8fa8;
  --blue-light: #e8fbfc;
  --ink: #1f2933;
  --paper: #f8ffff;
  --white: #ffffff;

  --ink-soft: rgba(31, 41, 51, 0.68);
  --ink-faint: rgba(31, 41, 51, 0.45);
  --shadow-soft: 0 18px 40px -18px rgba(10, 60, 70, 0.28);
  --shadow-card: 0 10px 28px -14px rgba(10, 60, 70, 0.24);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;

  --container: 1180px;
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --section-pad: 6.5rem;
}

@media (max-width: 768px) {
  :root { --section-pad: 3.5rem; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

p { margin: 0 0 1em; color: var(--ink-soft); max-width: 62ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 0.9em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--turquoise);
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: var(--section-pad) 0; }
.section-tight { padding: calc(var(--section-pad) * 0.6) 0; }

.bg-tint { background: var(--blue-light); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-ink p { color: rgba(255,255,255,0.78); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 3px; }

.btn-whats {
  background: var(--blue-dark);
  color: var(--white);
  box-shadow: var(--shadow-card);
}
.btn-whats:hover { background: #087b91; }
.btn-whats svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.btn-outline {
  background: transparent;
  border-color: rgba(31,41,51,0.22);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--blue-dark); color: var(--blue-dark); }

.btn-ghost-light {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.24); }

/* ==========================================================================
   Header / nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(10, 143, 168, 0.12);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 1.5rem; }

.brand img { height: 52px; width: auto; }

.nav-desktop { display: flex; align-items: center; gap: 2.1rem; }
.nav-desktop > ul { display: flex; align-items: center; gap: 2.1rem; }
.nav-desktop a.nav-link {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 0.4em 0.1em;
  position: relative;
}
.nav-desktop a.nav-link::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--blue);
  transition: right 0.22s ease;
  border-radius: 2px;
}
.nav-desktop a.nav-link:hover::after,
.nav-desktop a.nav-link.is-active::after { right: 0; }
.nav-desktop a.nav-link.is-active { color: var(--blue-dark); }

.has-dropdown { position: relative; }
.has-dropdown > .nav-link::before {
  content: "";
  display: inline-block;
  margin-left: 0.35em;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(3px);
}
.dropdown {
  position: absolute; top: 100%; left: -1.1rem; padding-top: 14px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown-inner {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 0.6rem;
  min-width: 240px;
  border: 1px solid rgba(10,143,168,0.1);
}
.dropdown-inner a {
  display: block;
  padding: 0.7em 0.9em;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
}
.dropdown-inner a:hover { background: var(--blue-light); color: var(--blue-dark); }
.dropdown-inner a span { display: block; font-weight: 400; font-size: 0.82rem; color: var(--ink-faint); margin-top: 0.15em; }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-cta .btn { padding: 0.7em 1.3em; font-size: 0.92rem; }

.nav-toggle { display: none; background: none; border: none; padding: 0.4rem; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-mobile { display: none; }

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn-outline { display: none; }
  .nav-mobile {
    position: fixed; inset: 84px 0 0 0; background: var(--paper);
    padding: 1.5rem 1.5rem 2.5rem; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.28s ease;
  }
  .nav-mobile.is-open { display: block; transform: translateX(0); }
  .nav-mobile a { display: block; padding: 0.9em 0.2em; font-weight: 600; font-size: 1.15rem; border-bottom: 1px solid rgba(10,143,168,0.1); }
  .nav-mobile .sub-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue-dark); font-weight: 700; padding: 1.4em 0.2em 0.4em; }
  .nav-mobile .mobile-cta { margin-top: 1.6rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { position: relative; padding: 3.5rem 0 var(--section-pad); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.hero-copy p.lede { font-size: 1.18rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }

.hero-collage { position: relative; height: 480px; }
.hero-collage .polaroid { position: absolute; width: 46%; }
.hero-collage .polaroid:nth-child(1) { top: 0; left: 6%; width: 52%; transform: rotate(-6deg); z-index: 2; }
.hero-collage .polaroid:nth-child(2) { top: 8%; right: 0; width: 44%; transform: rotate(7deg); z-index: 1; }
.hero-collage .polaroid:nth-child(3) { bottom: 0; left: 0; width: 42%; transform: rotate(5deg); z-index: 3; }
.hero-collage .polaroid:nth-child(4) { bottom: 4%; right: 4%; width: 40%; transform: rotate(-4deg); z-index: 2; }

.hero-blob { position: absolute; border-radius: 50%; background: var(--turquoise); opacity: 0.18; filter: blur(2px); z-index: 0; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-collage { height: 380px; margin-top: 1rem; }
}

/* simple page hero (inner pages) */
.page-hero { padding: 3rem 0 3.5rem; background: var(--blue-light); position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero p.lede { font-size: 1.12rem; max-width: 56ch; }
.page-hero-paw { position: absolute; right: -40px; top: -40px; width: 260px; opacity: 0.35; }

/* ==========================================================================
   Polaroid photo component
   ========================================================================== */

.polaroid {
  background: var(--white);
  padding: 10px 10px 34px;
  border-radius: 6px;
  box-shadow: var(--shadow-card);
}
.polaroid img { border-radius: 2px; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.polaroid figcaption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 0.6em;
}

.gallery-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.2rem 1.6rem;
}
.gallery-wall .polaroid { width: calc(25% - 1.2rem); }
.gallery-wall.cols-2 .polaroid { width: calc(50% - 0.8rem); }
.gallery-wall .polaroid:nth-child(odd) { transform: rotate(-3deg); }
.gallery-wall .polaroid:nth-child(even) { transform: rotate(2.5deg); }
.gallery-wall .polaroid:hover { transform: rotate(0deg) translateY(-4px); transition: transform 0.25s ease; }

.polaroid-placeholder img { display: none; }
.polaroid-placeholder .ph-box {
  aspect-ratio: 4/5;
  border-radius: 2px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
}
.polaroid-placeholder .ph-box svg { width: 34%; height: 34%; color: var(--blue-dark); opacity: 0.55; }

@media (max-width: 900px) {
  .gallery-wall { gap: 1.8rem 1.2rem; }
  .gallery-wall .polaroid { width: calc(50% - 0.6rem); }
}

/* ==========================================================================
   Service cards
   ========================================================================== */

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.service-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .thumb img { transform: scale(1.06); }
.service-card .body { padding: 1.6rem 1.7rem 1.9rem; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 0.4em; }
.service-card p { font-size: 0.96rem; margin-bottom: 1.2em; }
.service-card .go {
  margin-top: auto;
  font-weight: 700;
  color: var(--blue-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.94rem;
}
.service-card .go svg { width: 1.1em; height: 1.1em; transition: transform 0.2s ease; }
.service-card:hover .go svg { transform: translateX(4px); }

@media (max-width: 700px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Service detail: split content + photo stack
   ========================================================================== */

.content-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: start; }
.content-split .photo-stack { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.content-split .photo-stack .polaroid:nth-child(1) { transform: rotate(-3deg); }
.content-split .photo-stack .polaroid:nth-child(2) { transform: rotate(2.5deg); margin-top: 2.4rem; }
@media (max-width: 900px) {
  .content-split { grid-template-columns: 1fr; }
  .content-split .photo-stack { max-width: 420px; margin: 0 auto; }
}

/* ==========================================================================
   Destaques (checklist) & info cards
   ========================================================================== */

.destaques { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.6rem; margin: 1.6rem 0 2rem; }
.destaque-item { display: flex; gap: 0.8rem; align-items: flex-start; }
.destaque-item .paw { flex-shrink: 0; width: 30px; height: 30px; color: var(--blue-dark); margin-top: 0.1em; }
.destaque-item strong { display: block; font-size: 1rem; color: var(--ink); }
.destaque-item span { font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 700px) { .destaques { grid-template-columns: 1fr; } }

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-card);
}
.info-card .icon { width: 34px; height: 34px; color: var(--blue-dark); margin-bottom: 0.9rem; }
.info-card h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.info-card p { font-size: 0.95rem; margin: 0; }
@media (max-width: 800px) { .info-cards { grid-template-columns: 1fr; } }

/* ==========================================================================
   Leva e traz band
   ========================================================================== */

.leva-band {
  background: var(--blue-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.6rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}
.leva-band .photo { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; border: 4px solid rgba(255,255,255,0.35); flex-shrink: 0; }
.leva-band .photo img { width: 100%; height: 100%; object-fit: cover; }
.leva-band h3 { color: var(--white); margin-bottom: 0.35em; }
.leva-band p { color: rgba(255,255,255,0.82); margin: 0; font-size: 0.98rem; max-width: 52ch; }
@media (max-width: 800px) {
  .leva-band { grid-template-columns: 1fr; text-align: center; padding: 2.2rem 1.6rem; }
  .leva-band .photo { margin: 0 auto; }
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  background: linear-gradient(135deg, var(--turquoise), var(--blue));
  border-radius: var(--radius-lg);
  padding: 3.4rem 2.5rem;
  text-align: center;
}
.cta-band h2 { margin-bottom: 0.3em; }
.cta-band p { margin: 0 auto 1.6em; color: rgba(31,41,51,0.72); }
.cta-band .btn-whats { background: var(--ink); }
.cta-band .btn-whats:hover { background: #12181f; }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; }
.testimonial-card {
  width: calc(33.333% - 1.1rem);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.testimonial-card .stars { color: var(--turquoise); letter-spacing: 0.1em; font-size: 1rem; margin-bottom: 0.7rem; }
.testimonial-card .quote { font-style: italic; color: var(--ink); font-size: 0.96rem; flex: 1; margin-bottom: 1.1rem; }
.testimonial-card .who { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.testimonial-card .who span { display: block; font-weight: 400; font-size: 0.8rem; color: var(--ink-faint); margin-top: 0.15em; }
@media (max-width: 900px) { .testimonial-card { width: calc(50% - 0.8rem); } }
@media (max-width: 600px) { .testimonial-card { width: 100%; } }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--blue-light); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 2.5rem; }
.footer-grid img { height: 60px; margin-bottom: 1rem; }
.footer-grid p { font-size: 0.92rem; }
.footer-col h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue-dark); margin-bottom: 1em; }
.footer-col a, .footer-col li { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 0.7em; display: block; }
.footer-col a:hover { color: var(--blue-dark); }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(10,143,168,0.15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.85rem; color: var(--ink-faint); }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */

.whats-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 70;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--blue-dark); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px -8px rgba(10,60,70,0.45);
  transition: transform 0.2s ease;
}
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 30px; height: 30px; }

/* ==========================================================================
   Map / contato page
   ========================================================================== */

.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); border: none; width: 100%; height: 420px; }

/* focus visibility globally */
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 2px; border-radius: 4px; }
