/* ==========================================================================
   LE PET STORE - HERO SECTION (MOBILE & DESKTOP)
   Taste-Skill 2.5 Standards: Anti-Slop, High Polish, Pure Performance
   ========================================================================== */

/* --- 1. DESIGN TOKENS & ROOT VARIABLES --- */
:root {
  /* Brand Colors — Mikado Yellow & Barley White */
  --color-orange-bg: #ffbe00;
  --color-orange-dark: #f0b200;
  --color-orange-deep: #b88600;
  --color-cream-btn: #fff4cc;
  --color-cream-hover: #fff9e0;
  --color-btn-text: #3d2600;
  --color-text-white: #ffffff;
  --color-text-on-brand: #3d2600;
  --color-text-muted: rgba(61, 38, 0, 0.86);
  --color-paw-watermark: rgba(184, 134, 0, 0.22);
  --color-nav-border: rgba(61, 38, 0, 0.14);

  /* Typography */
  --font-sans: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Fredoka", "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --tracking-tight: -0.035em;
  --tracking-normal: -0.01em;
  --leading-tight: 1.08;
  --leading-snug: 1.25;
  --leading-relaxed: 1.55;

  /* Spacing Scale */
  --space-xs: 0.5rem;
  /* 8px */
  --space-sm: 0.75rem;
  /* 12px */
  --space-md: 1rem;
  /* 16px */
  --space-lg: 1.5rem;
  /* 24px */
  --space-xl: 2rem;
  /* 32px */
  --space-2xl: 3rem;
  /* 48px */
  --space-3xl: 4.5rem;
  /* 72px */

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Micro-motion & Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.18s var(--ease-smooth);
  --transition-normal: 0.3s var(--ease-spring);
  --check-box: 150ms;
  --check-draw: 350ms;
  --check-delay: 0ms;
  --check-uncheck: 150ms;
  --check-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- 2. RESET & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background-color: transparent;
}

body {
  font-family: var(--font-sans);
  background-color: transparent;
  color: var(--color-text-white);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
}

body.preloader-active {
  overflow: hidden;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--color-cream-btn);
  color: var(--color-btn-text);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-decoration: none;
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 20px;
}

/* Page Layout Shell */
.page-wrapper {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: clip;
  background-color: transparent;
}

/* Container Constraint */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: clamp(1.25rem, 5vw, 4.5rem);
  padding-right: clamp(1.25rem, 5vw, 4.5rem);
}


/* --- 4. HEADER & NAVIGATION (DYNAMIC GLASS FORMATION ON SCROLL) --- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  --glass-p: 0;
  /* 0 in hero section, smoothly increases to 1 as user scrolls */

  /* Progressive Glass Formation com Mikado Yellow vibrante */
  background: rgba(255, 190, 0, calc(1 - var(--glass-p) * 0.06));
  backdrop-filter: blur(calc(var(--glass-p) * 16px)) saturate(calc(100% + var(--glass-p) * 60%));
  -webkit-backdrop-filter: blur(calc(var(--glass-p) * 16px)) saturate(calc(100% + var(--glass-p) * 60%));

  /* Progressive lower rounded corners */
  border-bottom-left-radius: calc(var(--glass-p) * clamp(16px, 2vw, 24px));
  border-bottom-right-radius: calc(var(--glass-p) * clamp(16px, 2vw, 24px));

  /* Progressive glass border & soft depth reflections */
  border-bottom: 1px solid rgba(61, 38, 0, calc(var(--glass-p) * 0.14));
  box-shadow: 0 calc(var(--glass-p) * 10px) calc(var(--glass-p) * 28px) -4px rgba(61, 38, 0, calc(var(--glass-p) * 0.12)),
    inset 0 1px 0 rgba(255, 244, 204, calc(var(--glass-p) * 0.35));

  padding: 12px 0;
  transition: padding 0.2s ease-out;
  will-change: background-color, backdrop-filter, border-radius, box-shadow;
}

@media (min-width: 960px) {
  .site-header {
    padding: 14px 0;
  }
}

/* Fallback / Full state when scrolled */
.site-header.is-scrolled {
  --glass-p: 1;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo Container */
.brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  transition: transform var(--transition-normal);
}

.brand-link:hover {
  transform: scale(1.03);
}

/* Logo Treatment: Sleek & Proportional Navbar Height */
.brand-logo-img {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
  display: block;
  transition: transform var(--transition-fast);
}

@media (min-width: 960px) {
  .brand-logo-img {
    height: 38px;
    max-width: 155px;
  }
}

/* Desktop Navigation Links */
.desktop-nav {
  display: none;
}

@media (min-width: 960px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 2.5vw, 2.5rem);
  }
}

.nav-link {
  color: var(--color-text-on-brand);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: var(--tracking-normal);
  opacity: 0.9;
  position: relative;
  padding: 4px 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: width 0.25s var(--ease-spring);
}

.nav-link:hover {
  opacity: 1;
}

.nav-link:hover::after {
  width: 100%;
}

/* Desktop Nav Right Actions */
.nav-actions {
  display: none;
}

@media (min-width: 960px) {
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }
}

/* "Secction" / Nav Action Button */
.btn-nav-action {
  background: var(--color-cream-btn);
  color: var(--color-btn-text);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-nav-action:hover {
  background: var(--color-cream-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.btn-nav-action:active {
  transform: translateY(0);
}

/* --- OVERFLOW / MOBILE MENU TOGGLE (PROTO 5 ANIMATION) --- */
.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--color-text-on-brand);
  z-index: 60;
  border-radius: var(--radius-pill);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background-color: rgba(61, 38, 0, 0.09);
}

.mobile-nav-toggle:active {
  transform: scale(0.94);
}

@media (min-width: 960px) {
  .mobile-nav-toggle {
    display: none;
  }
}

.p5-stage-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.p5-icon-wrap {
  position: relative;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p5-icon-wrap .icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  transform-origin: center center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.26s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

.p5-icon-wrap .icon svg {
  display: block;
  width: 26px;
  height: 26px;
  overflow: visible;
}

.p5-icon-wrap .icon svg path {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.2s ease;
  transform-origin: center;
}

/* State: Menu (Closed / data-animated="false") */
.p5-icon-wrap[data-animated="false"] .icon-menu,
.mobile-nav-toggle:not([aria-expanded="true"]) .p5-icon-wrap:not([data-animated="true"]) .icon-menu {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  pointer-events: auto;
}

.p5-icon-wrap[data-animated="false"] .icon-close,
.mobile-nav-toggle:not([aria-expanded="true"]) .p5-icon-wrap:not([data-animated="true"]) .icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.45);
  pointer-events: none;
}

/* State: Close (Open / data-animated="true" or aria-expanded="true") */
.p5-icon-wrap[data-animated="true"] .icon-menu,
.mobile-nav-toggle[aria-expanded="true"] .p5-icon-wrap .icon-menu {
  opacity: 0;
  transform: rotate(90deg) scale(0.45);
  pointer-events: none;
}

.p5-icon-wrap[data-animated="true"] .icon-close,
.mobile-nav-toggle[aria-expanded="true"] .p5-icon-wrap .icon-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  pointer-events: auto;
}

/* Trava o scroll da página quando o menu lateral estiver aberto */
html.is-menu-open,
body.is-menu-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none !important;
}

/* Background depth staging ("Staging the Focus") quando menu ou agendamento está aberto */
#main-hero,
.site-footer {
  transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.56s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center top;
}

body.is-menu-open #main-hero,
body.is-menu-open .site-footer {
  transform: scale(0.98);
  filter: blur(2.5px) brightness(0.9);
}

body.is-booking-open #main-hero,
body.is-booking-open .site-footer {
  transform: scale(0.972);
  filter: blur(3.5px) brightness(0.88);
}

/* Transitions.dev — Plus to menu morph tokens (fluid & unhurried) */
:root {
  --morph-open-dur: 620ms;
  --morph-close-dur: 460ms;
  --morph-ease: cubic-bezier(0.34, 1.12, 0.64, 1);
  --morph-close-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --morph-r-closed: 40px;
  --morph-r-open: 28px;
  --morph-fade-dur: 420ms;
  --morph-slide: 36px;
  --morph-scale: 0.97;
  --morph-blur: 3px;
}

/* Mobile Navigation Drawer / Menu — Surface Morph a partir do botão menu */
.mobile-menu {
  position: fixed;
  top: var(--morph-top, 12px);
  right: var(--morph-right, 18px);
  width: 42px;
  height: 42px;
  border-radius: var(--morph-r-closed);
  background: linear-gradient(165deg, #ffbe00 0%, #f0b200 100%);
  box-shadow: -14px 10px 44px rgba(61, 38, 0, 0.28);
  z-index: 210;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition:
    top var(--morph-close-dur) var(--morph-close-ease),
    right var(--morph-close-dur) var(--morph-close-ease),
    width var(--morph-close-dur) var(--morph-close-ease),
    height var(--morph-close-dur) var(--morph-close-ease),
    border-radius var(--morph-close-dur) var(--morph-close-ease),
    opacity 0.28s var(--morph-close-ease) 0.14s,
    visibility 0s linear var(--morph-close-dur);
  will-change: width, height, top, right, border-radius, opacity;
}

.mobile-menu.is-open {
  top: 0;
  right: 0;
  width: min(84vw, 340px);
  height: 100vh;
  height: 100dvh;
  border-radius: var(--morph-r-open) 0 0 var(--morph-r-open);
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transition:
    top var(--morph-open-dur) var(--morph-ease),
    right var(--morph-open-dur) var(--morph-ease),
    width var(--morph-open-dur) var(--morph-ease),
    height var(--morph-open-dur) var(--morph-ease),
    border-radius var(--morph-open-dur) var(--morph-ease),
    opacity 0.24s var(--morph-close-ease),
    visibility 0s linear 0s;
}

.mobile-menu__inner {
  width: min(84vw, 340px);
  height: 100%;
  padding: calc(20px + env(safe-area-inset-top, 0px)) 28px calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  opacity: 0;
  transform: translateX(var(--morph-slide)) scale(var(--morph-scale));
  filter: blur(var(--morph-blur));
  transition:
    opacity 0.28s var(--morph-close-ease),
    transform var(--morph-close-dur) var(--morph-close-ease),
    filter 0.28s var(--morph-close-ease);
}

.mobile-menu.is-open .mobile-menu__inner {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0);
  transition:
    opacity var(--morph-fade-dur) var(--morph-close-ease) 0.14s,
    transform var(--morph-open-dur) var(--morph-close-ease) 0.08s,
    filter var(--morph-fade-dur) var(--morph-close-ease) 0.14s;
}

/* Staggered focus inside menu drawer */
.mobile-menu__header,
.mobile-menu__links > *,
.mobile-menu__footer {
  opacity: 0;
  transform: translate3d(14px, 8px, 0) scale(0.98);
  filter: blur(2px);
  transition: opacity 0.34s var(--morph-close-ease),
    transform 0.42s var(--morph-close-ease),
    filter 0.34s var(--morph-close-ease);
}

.mobile-menu.is-open .mobile-menu__header {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  transition-delay: 0.16s;
}

.mobile-menu.is-open .mobile-menu__links > *:nth-child(1) {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  transition-delay: 0.22s;
}

.mobile-menu.is-open .mobile-menu__links > *:nth-child(2) {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  transition-delay: 0.28s;
}

.mobile-menu.is-open .mobile-menu__links > *:nth-child(3) {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  transition-delay: 0.34s;
}

.mobile-menu.is-open .mobile-menu__footer {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  transition-delay: 0.38s;
}

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(38, 15, 2, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu__overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.mobile-menu__brand-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(61, 38, 0, 0.72);
}

.mobile-menu__close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(61, 38, 0, 0.1);
  border: none;
  color: #3d2600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.mobile-menu__close:hover,
.mobile-menu__close:active {
  background: rgba(61, 38, 0, 0.18);
  transform: scale(1.05);
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-menu__link {
  color: #3d2600;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: var(--tracking-normal);
  padding: 8px 0;
  border-bottom: 1px solid rgba(61, 38, 0, 0.14);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.mobile-menu__link:hover {
  transform: translateX(6px);
  color: #6b4300;
}

.mobile-menu__acc-btn {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(61, 38, 0, 0.14);
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}

.mobile-menu__acc-btn:hover {
  transform: none;
}

.mobile-menu__sublinks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 0 4px 14px;
  border-left: 2px solid rgba(61, 38, 0, 0.28);
  margin-top: 6px;
}

.mobile-menu__sublink {
  color: rgba(61, 38, 0, 0.88);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 7px 0;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.mobile-menu__sublink:hover {
  color: #3d2600;
  transform: translateX(4px);
}

/* Transitions.dev — Accordion expand */
:root {
  --acc-expand: 250ms;
  --acc-collapse: 250ms;
  --acc-chevron: 250ms;
  --acc-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.t-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--acc-collapse) var(--acc-ease);
}
.t-acc[data-open="true"] .t-acc-panel {
  grid-template-rows: 1fr;
  transition: grid-template-rows var(--acc-expand) var(--acc-ease);
}
.t-acc-panel-inner {
  overflow: hidden;
  opacity: 0;
  filter: blur(2px);
  transition:
    opacity var(--acc-collapse) var(--acc-ease),
    filter var(--acc-collapse) var(--acc-ease);
}
.t-acc[data-open="true"] .t-acc-panel-inner {
  opacity: 1;
  filter: blur(0);
  transition:
    opacity var(--acc-expand) var(--acc-ease),
    filter var(--acc-expand) var(--acc-ease);
}
.t-acc-chevron {
  display: inline-flex;
  transform: scaleY(1);
  transform-origin: center;
  transition: transform var(--acc-chevron) var(--acc-ease);
}
.t-acc-chevron path { vector-effect: non-scaling-stroke; }
.t-acc[data-open="true"] .t-acc-chevron,
.booking-option-acc__toggle[aria-expanded="true"] .t-acc-chevron {
  transform: scaleY(-1);
}

@media (prefers-reduced-motion: reduce) {
  .t-acc-panel, .t-acc-panel-inner, .t-acc-chevron {
    transition: none !important;
  }
}

.mobile-menu__footer {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- 5. HERO SECTION --- */
.hero-section {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, var(--color-orange-bg) 0%, var(--color-orange-dark) 100%);
  height: calc(100vh - 58px);
  height: calc(100dvh - 58px);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  padding-top: clamp(0.5rem, 2vh, 1.25rem);
  box-sizing: border-box;
}

@media (min-width: 960px) {
  .hero-section {
    height: 100vh;
    height: 100dvh;
    min-height: 640px;
    padding-top: 66px;
    /* Slim desktop navbar */
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Decorative Paw Watermarks */
.paw-watermark {
  position: absolute;
  pointer-events: none;
  color: var(--color-paw-watermark);
  z-index: 1;
  opacity: 0.9;
}

/* Top Right Paw Watermark: next to headline in mobile & desktop */
.paw-watermark--tr {
  top: 9%;
  right: -15px;
  width: clamp(140px, 32vw, 210px);
  height: clamp(140px, 32vw, 210px);
  transform: rotate(25deg);
}

@media (min-width: 960px) {
  .paw-watermark--tr {
    top: 6%;
    right: 4%;
    width: clamp(180px, 20vw, 320px);
    height: clamp(180px, 20vw, 320px);
  }
}

/* Bottom Left Paw Watermark: bottom-left corner to left of dog */
.paw-watermark--bl {
  bottom: 5%;
  left: -20px;
  width: clamp(150px, 38vw, 240px);
  height: clamp(150px, 38vw, 240px);
  transform: rotate(-15deg);
}

@media (min-width: 960px) {
  .paw-watermark--bl {
    bottom: 4%;
    left: 3%;
    width: clamp(200px, 24vw, 360px);
    height: clamp(200px, 24vw, 360px);
  }
}

/* Hero Content Grid / Flex Structure */
.hero-grid {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  flex: 1;
  height: 100%;
  position: relative;
  z-index: 10;
  padding-bottom: 0;
}

@media (min-width: 960px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    min-height: calc(100vh - 100px);
    justify-content: normal;
  }
}

/* Hero Text Column */
.hero-text-col {
  max-width: 290px;
  padding-top: clamp(2.25rem, 6vh, 3.5rem);
  padding-bottom: 0.5rem;
  position: relative;
  z-index: 15;
  flex-shrink: 0;
}

@media (min-width: 960px) {
  .hero-text-col {
    max-width: 620px;
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* Primary H1 Heading */
.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.85rem, 11.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--color-text-on-brand);
  margin-bottom: 1.25rem;
  max-width: 290px;
  text-wrap: balance;
}

.hero-subtitle--desktop {
  display: none;
}

@media (min-width: 960px) {
  .hero-title {
    font-size: clamp(3.25rem, 5.2vw, 4.85rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: clamp(1rem, 1.5vw, 1.35rem);
    max-width: 580px;
  }

  .hero-subtitle--desktop {
    display: block;
    font-family: var(--font-sans);
    font-size: clamp(1.05rem, 1.35vw, 1.25rem);
    font-weight: 500;
    line-height: 1.5;
    color: rgba(61, 38, 0, 0.88);
    margin: 0 0 clamp(1.75rem, 2.5vw, 2.35rem) 0;
    max-width: 460px;
    letter-spacing: -0.01em;
  }
}

/* Call to Action Pill Button */
.btn-cta-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-cream-btn);
  color: var(--color-btn-text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  padding: 14px 34px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  box-shadow: none;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  will-change: transform;
}

/* Brilho que passa pelas letras */
.btn-cta-pill__text {
  position: relative;
  z-index: 2;
  display: inline-block;
  color: var(--color-btn-text);
  background: linear-gradient(115deg,
      #3d2600 0%,
      #3d2600 35%,
      #ffffff 48%,
      #ffbe00 53%,
      #3d2600 65%,
      #3d2600 100%);
  background-size: 260% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroTextGlowSweep 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: background-position;
}

@keyframes heroTextGlowSweep {
  0% {
    background-position: 140% 0;
  }

  40% {
    background-position: -50% 0;
  }

  100% {
    background-position: -50% 0;
  }
}

@media (min-width: 960px) {
  .btn-cta-pill {
    font-size: 1.125rem;
    padding: 16px 38px;
  }
}

/* Taste-Skill Rule 5: Buttons step on hover and press on click */
.btn-cta-pill:hover {
  background-color: var(--color-cream-hover);
  transform: translateY(-2px);
  box-shadow: none;
}

.btn-cta-pill:active {
  transform: translateY(1px);
  box-shadow: none;
}

.btn-cta-pill:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

/* Hero Media / Dog Image Column: Perfectly aligned to right & bottom */
.hero-media-col {
  position: absolute;
  right: clamp(-170px, -38vw, -130px);
  bottom: 0;
  width: auto;
  height: 59vh;
  height: 59dvh;
  max-height: 530px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: visible;
  z-index: 5;
  pointer-events: none;
}

@media (min-width: 960px) {
  .hero-media-col {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    max-width: 760px;
    height: 100%;
    max-height: 88vh;
    margin-top: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 5;
  }
}

.hero-dog-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-dog-img {
  display: block;
  width: auto;
  height: 59vh;
  height: 59dvh;
  max-height: 530px;
  object-fit: contain;
  object-position: right bottom;
  vertical-align: bottom;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
}

@media (min-width: 960px) {
  .hero-dog-img {
    width: auto;
    max-width: 100%;
    height: 86vh;
    max-height: 720px;
    object-fit: contain;
    object-position: right bottom;
  }
}

/* --- 6. HERO CHOREOGRAPHED ENTRANCE (STAGING THE FOCUS) --- */

/* Inicial: elementos recuados com foco suave antes de assumirem o palco */
.m-enter .site-header {
  opacity: 0;
  transform: translateY(-16px);
  filter: blur(3px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.m-enter .paw-watermark {
  opacity: 0;
  transform: scale(0.86);
  filter: blur(2px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.95s ease;
}

.m-enter [data-enter] .hero-media-col {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  filter: blur(4px);
  transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.m-enter [data-enter] .hero-title {
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  filter: blur(4px);
  transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.m-enter [data-enter] .hero-subtitle--desktop {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(3px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.m-enter [data-enter] .btn-cta-pill {
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  filter: blur(3px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Estado Ativado (.m-enter-done): cascata coordenada trazendo nitidez ao foco */
.m-enter-done .site-header {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.05s;
}

.m-enter-done .paw-watermark {
  opacity: 0.9;
  transform: scale(1);
  filter: blur(0);
  transition-delay: 0.14s;
}

.m-enter-done [data-enter] .hero-media-col {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition-delay: 0.1s;
}

.m-enter-done [data-enter] .hero-title {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition-delay: 0.18s;
}

.m-enter-done [data-enter] .hero-subtitle--desktop {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.25s;
}

.m-enter-done [data-enter] .btn-cta-pill {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition-delay: 0.32s;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .m-enter *,
  [data-enter] * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --- 7. NOSSOS SERVIÇOS (BORDAS ARREDONDADAS & TRANSIÇÃO COM HERO) --- */
.services-section {
  position: relative;
  z-index: 20;
  background-color: #fff9e6;
  border-top-left-radius: clamp(32px, 5.5vw, 60px);
  border-top-right-radius: clamp(32px, 5.5vw, 60px);
  margin-top: clamp(-36px, -4.5vh, -24px);
  padding: clamp(3.5rem, 6.5vw, 5.5rem) 0 clamp(4rem, 7.5vw, 6.5rem) 0;
  box-shadow: 0 -12px 36px rgba(61, 38, 0, 0.08);
}

.services-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(2.5rem, 4.5vw, 3.75rem) auto;
}

.services-badge {
  display: inline-block;
  background-color: #fff4cc;
  color: #3d2600;
  border: 1px solid rgba(255, 190, 0, 0.45);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.services-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #3d2600;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
  text-wrap: balance;
}

.services-lead {
  font-size: clamp(1rem, 1.25vw, 1.1875rem);
  line-height: 1.55;
  color: #6e4c14;
  margin: 0 auto;
  max-width: 540px;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
  max-width: 1140px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .services-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .services-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Service Pill Card */
.service-pill-card {
  display: flex;
  flex-direction: column;
  border-radius: clamp(24px, 3vw, 28px);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(87, 43, 19, 0.08);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  cursor: pointer;
}

@media (min-width: 960px) {
  .services-cards-grid:hover .service-pill-card:not(:hover) {
    opacity: 0.84;
    transform: scale(0.985);
  }
}

.service-pill-card:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: 0 20px 44px rgba(87, 43, 19, 0.16);
}

/* Botão Branco Interativo no Canto Superior Direito com Expansão Fluida */
.service-card-btn {
  position: absolute;
  top: clamp(14px, 2.2vw, 18px);
  right: clamp(14px, 2.2vw, 18px);
  z-index: 10;
  height: 42px;
  min-width: 42px;
  background-color: #ffffff;
  color: #3d2600;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  border: 1px solid rgba(87, 43, 19, 0.08);
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  padding: 0 12px;
  transition: min-width 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.service-card-btn__text {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #3d2600;
  transition: max-width 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.28s ease,
    margin-right 0.35s ease;
  margin-right: 0;
  pointer-events: none;
}

.service-card-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #3d2600;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

/* Estado Ativo (Em Visualização no Scroll) ou Hover/Foco: Expande suavemente mostrando a mensagem */
.service-pill-card.is-active .service-card-btn,
.service-pill-card:hover .service-card-btn,
.service-card-btn:focus-visible {
  padding: 0 16px 0 18px;
  box-shadow: none;
  border-color: rgba(87, 43, 19, 0.16);
  transform: translateY(-2px);
}

.service-pill-card.is-active .service-card-btn__text,
.service-pill-card:hover .service-card-btn__text,
.service-card-btn:focus-visible .service-card-btn__text {
  max-width: 150px;
  opacity: 1;
  margin-right: 8px;
  pointer-events: auto;
}

.service-pill-card.is-active .service-card-btn__icon,
.service-pill-card:hover .service-card-btn__icon,
.service-card-btn:focus-visible .service-card-btn__icon {
  transform: translate(2px, -2px);
}

.service-card-btn:hover {
  background-color: var(--color-cream-hover);
  color: #8a6200;
  box-shadow: none;
}

.service-card-btn:hover .service-card-btn__text,
.service-card-btn:hover .service-card-btn__icon {
  color: #8a6200;
}

/* Pastels fiéis à referência + Barley White & Mikado Yellow */
.service-pill-card--peach {
  background-color: #fff4cc;
}

.service-pill-card--blue {
  background-color: #bdeef3;
}

.service-pill-card--yellow {
  background-color: #ffefb3;
}

/* Palco superior onde fica o pet */
.service-pill-card__stage {
  position: relative;
  width: 100%;
  height: clamp(240px, 30vw, 285px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 2;
}

/* Arco abobadado colorido que se estende por trás do pet e desce até o fim do card por trás do banner */
.service-pill-card__arch {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(270px, 34vw, 320px);
  pointer-events: none;
  z-index: 1;
  display: block;
}

.service-pill-card__arch--orange {
  fill: #ffbe00;
}

.service-pill-card__arch--teal {
  fill: #00b6d9;
}

.service-pill-card__arch--amber {
  fill: #f0b200;
}

/* Recortes transparentes dos animais */
.service-pill-card__pet {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: center bottom;
  z-index: 2;
  pointer-events: none;
  display: block;
  object-fit: contain;
  /* Transição de cor rápida, nítida e perceptível */
  filter: grayscale(calc(var(--animal-gray, 1) * 100%)) contrast(calc(100% + var(--animal-gray, 1) * 12%)) saturate(calc(100% + (1 - var(--animal-gray, 1)) * 25%));
  transition: transform var(--transition-normal), filter 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: filter, transform;
}

.service-pill-card:hover .service-pill-card__pet {
  transform: translateX(-50%) scale(1.03);
  filter: grayscale(0%) saturate(125%);
}

.service-pill-card__pet--dog {
  bottom: 0;
  height: 88%;
  width: auto;
  object-position: bottom center;
}

.service-pill-card__pet--cat {
  bottom: -24%;
  height: 132%;
  width: auto;
  object-position: bottom center;
}

.service-pill-card__pet--vet {
  bottom: -35%;
  right: 0;
  left: auto;
  transform: none;
  height: 140%;
  width: auto;
  object-position: bottom right;
}

.service-pill-card:hover .service-pill-card__pet--vet {
  transform: scale(1.03);
  transform-origin: right bottom;
  filter: grayscale(0%) saturate(125%);
}

/* Mobile: manter os animais imóveis no card (apenas animação de surgir e de cor) */
@media (max-width: 959px) {
  .service-pill-card:hover {
    transform: none;
  }

  .service-pill-card__pet {
    transition: filter 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .service-pill-card:hover .service-pill-card__pet {
    transform: translateX(-50%);
  }

  .service-pill-card:hover .service-pill-card__pet--vet {
    transform: none;
  }
}

/* Banner inferior com ombros curvos */
.service-pill-card__body {
  position: relative;
  z-index: 3;
  flex: 1;
  width: 100%;
  margin-top: -1px;
  padding: clamp(1.25rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.4rem) clamp(1.35rem, 2vw, 1.6rem);
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 20px 20px 0 0;
  min-height: 124px;
}

.service-pill-card__body--brown {
  background-color: #3d2600;
}

.service-pill-card__body--teal {
  background-color: #008fac;
}

.service-pill-card__body--orange {
  background-color: #9e6b00;
}

.service-pill-card__title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  color: #ffffff;
}

.service-pill-card__desc {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  max-width: 250px;
}

/* --- 8. VENHA NOS VISITAR (INSPIRADA NA IDENTIDADE ACOLHEDORA) --- */
.visit-section {
  padding: clamp(1rem, 2vw, 2rem) 0 clamp(4.5rem, 7vw, 6.5rem) 0;
  background-color: #fff9e6;
  position: relative;
  z-index: 20;
}

.visit-card {
  --visit-card-px: clamp(1.25rem, 4vw, 2.5rem);
  background-color: #ffe066;
  border-radius: clamp(28px, 4.5vw, 42px);
  padding: clamp(2.25rem, 5vw, 3.5rem) var(--visit-card-px) clamp(2.5rem, 5vw, 3.75rem) var(--visit-card-px);
  position: relative;
  box-shadow: 0 16px 36px rgba(61, 38, 0, 0.08);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: 1px solid rgba(184, 134, 0, 0.22);
  overflow: hidden;
}

.visit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(61, 38, 0, 0.12);
}

.visit-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3.5vw, 2.5rem);
  align-items: center;
}

/* Coluna Esquerda (Mobile: Centralizada / Desktop: Puxada para o canto) */
.visit-lead-col {
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.visit-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #3d2600;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(87, 43, 19, 0.08);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  margin-left: auto;
  margin-right: auto;
}

.visit-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.4vw, 3.85rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #3d2600;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
  text-wrap: balance;
}

.visit-subtitle--desktop {
  display: none !important;
}

/* Imagens do Pet: Desktop vs Mobile */
.visit-pet--desktop {
  display: none !important;
}

.visit-pet--mobile {
  display: block !important;
}

.visit-center-pet {
  pointer-events: none;
  transition: transform var(--transition-normal);
}

/* Coluna do Pet (Mobile: Entre o H1 e as informações, ocupando a área de destaque à direita) */
.visit-pet-col {
  order: 2;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  position: relative;
  z-index: 2;
  width: calc(100% + var(--visit-card-px));
  margin-right: calc(-1 * var(--visit-card-px));
  margin-top: clamp(-3.5rem, -8vw, -2.25rem);
  margin-bottom: clamp(-2rem, -5vw, -1.25rem);
  align-self: flex-end;
}

.visit-pet--mobile {
  width: clamp(330px, 92vw, 480px);
  height: auto;
  max-height: clamp(380px, 105vw, 540px);
  object-fit: contain;
  object-position: top right;
  margin-left: auto;
  filter: drop-shadow(-10px 14px 26px rgba(87, 43, 19, 0.16));
}

.visit-card:hover .visit-center-pet {
  transform: scale(1.04) rotate(-1deg);
}

/* Coluna Direita (Mobile: Informações estruturadas abaixo do Pet com alinhamento limpo e moderno) */
.visit-info-col {
  order: 3;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 1.35rem);
  align-items: stretch;
  text-align: left;
  width: 100%;
  position: relative;
  z-index: 3;
}

.visit-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: clamp(0.9rem, 3vw, 1.25rem);
  width: 100%;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: clamp(18px, 3.5vw, 22px);
  padding: clamp(1.1rem, 3.2vw, 1.35rem);
  box-shadow: 0 4px 16px rgba(87, 43, 19, 0.05);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.visit-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(87, 43, 19, 0.09);
}

.visit-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #04b8d8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #3d2600;
  box-shadow: 0 4px 12px rgba(4, 184, 216, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  margin: 0;
}

.visit-item:hover .visit-icon-circle {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 6px 18px rgba(4, 184, 216, 0.45);
}

.visit-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: auto;
}

.visit-item-title {
  font-family: var(--font-display);
  font-size: clamp(1.025rem, 1.3vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #3d2600;
  margin: 0 0 0.3rem 0;
  line-height: 1.2;
  text-align: left;
}

.visit-item-text {
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1vw, 0.95rem);
  line-height: 1.45;
  color: #3d2600;
  opacity: 0.92;
  margin: 0 0 0.6rem 0;
  max-width: 100%;
  text-align: left;
}

.visit-item-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: auto;
}

/* Regras para Desktop (Layout de 3 Colunas com Pet no Centro) */
@media (min-width: 960px) {
  .visit-card {
    padding: clamp(2.5rem, 4vw, 3.75rem) clamp(1.75rem, 3.5vw, 3.5rem) 0 clamp(1.75rem, 3.5vw, 3.5rem);
  }

  .visit-grid {
    display: grid;
    grid-template-columns: 1fr auto 1.15fr;
    align-items: flex-end;
    gap: clamp(1.5rem, 2vw, 3rem);
  }

  .visit-lead-col {
    order: 1;
    align-items: flex-start;
    text-align: left;
    align-self: center;
    padding-bottom: clamp(1.5rem, 3vw, 3.5rem);
    width: auto;
  }

  .visit-badge {
    margin-left: 0;
    margin-right: 0;
  }

  .visit-title {
    text-align: left;
  }

  .visit-subtitle--desktop {
    display: block !important;
    font-family: var(--font-sans);
    font-size: clamp(0.95rem, 1.1vw, 1.075rem);
    font-weight: 500;
    line-height: 1.5;
    color: #3d2600;
    opacity: 0.9;
    margin: clamp(0.75rem, 1.2vw, 1rem) 0 0 0;
    max-width: 320px;
    text-align: left;
    letter-spacing: normal;
    text-transform: none;
  }

  .visit-pet--desktop {
    display: block !important;
    width: clamp(200px, 22vw, 300px);
    height: auto;
    max-height: clamp(290px, 32vw, 385px);
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 10px 22px rgba(87, 43, 19, 0.15));
  }

  .visit-pet--mobile {
    display: none !important;
  }

  .visit-pet-col {
    order: 2;
    justify-content: center;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
    align-self: flex-end;
    width: auto;
  }

  .visit-info-col {
    order: 3;
    align-items: flex-start;
    text-align: left;
    align-self: center;
    padding-bottom: clamp(1.5rem, 3vw, 3.5rem);
    width: auto;
  }

  .visit-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: clamp(1rem, 2vw, 1.35rem);
    width: auto;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }

  .visit-item:hover {
    transform: none;
    background: transparent;
    box-shadow: none;
  }

  .visit-icon-circle {
    margin: 0;
  }

  .visit-item-content {
    align-items: flex-start;
    text-align: left;
    width: auto;
  }

  .visit-item-title {
    text-align: left;
  }

  .visit-item-text {
    text-align: left;
    margin: 0 0 0.65rem 0;
  }

  .visit-item-actions {
    justify-content: flex-start;
    width: auto;
  }
}

.visit-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a6200;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.visit-link:hover {
  color: #5c4100;
  text-decoration: underline;
}

.visit-link-arrow {
  transition: transform var(--transition-fast);
}

.visit-link:hover .visit-link-arrow {
  transform: translate(2.5px, -2.5px);
}

.visit-link--phone {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  letter-spacing: 0.02em;
}

/* Botão interativo para copiar endereço */
.btn-copy-address {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(87, 43, 19, 0.18);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: #3d2600;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.btn-copy-address:hover {
  background: #ffffff;
  border-color: #3d2600;
  transform: translateY(-1px);
}

.btn-copy-address.copied {
  background: #04b8d8;
  color: #ffffff;
  border-color: #04b8d8;
}

/* --- 8. FOOTER (LAYOUT REFERÊNCIA + IDENTIDADE LE PET STORE) --- */
.site-footer {
  background-color: #fff9e6;
  position: relative;
  z-index: 20;
}

.site-footer__card {
  background-color: var(--color-orange-bg);
  color: #3d2600;
  border-top-left-radius: clamp(32px, 5vw, 56px);
  border-top-right-radius: clamp(32px, 5vw, 56px);
  padding: clamp(2.5rem, 5vw, 4.25rem) 0 clamp(1.5rem, 3vw, 2.25rem) 0;
}

/* Mobile: 2 colunas por linha (lado a lado, compacto e equilibrado) */
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 5vw, 2.5rem) clamp(1.25rem, 4vw, 2.25rem);
  align-items: start;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.85rem;
  height: 100%;
}

.site-footer__logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  width: 100%;
}

.site-footer__logo {
  width: 100%;
  max-width: 165px;
  height: auto;
  max-height: 82px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

/* Mobile: oculta a descrição para deixar todo o espaço para a logo */
.site-footer__desc {
  display: none;
  font-family: var(--font-sans);
  font-size: clamp(0.8rem, 1.1vw, 0.9375rem);
  line-height: 1.5;
  color: rgba(61, 38, 0, 0.85);
  margin: 0;
  max-width: 260px;
}

/* Desktop: 4 colunas lado a lado em uma única linha e descrição visível */
@media (min-width: 960px) {
  .site-footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .site-footer__brand {
    justify-content: flex-start;
    height: auto;
  }

  .site-footer__logo-link {
    width: auto;
  }

  .site-footer__logo {
    width: auto;
    max-width: none;
    max-height: none;
    height: clamp(36px, 4.2vw, 46px);
  }

  .site-footer__desc {
    display: block;
  }
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer__title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.25vw, 1.0625rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5c3a00;
  margin: 0 0 clamp(0.75rem, 1.5vw, 1rem) 0;
  line-height: 1.2;
}

.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.site-footer__link {
  font-family: var(--font-sans);
  font-size: clamp(0.84rem, 1.1vw, 0.9375rem);
  font-weight: 600;
  color: #3d2600;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.site-footer__link:hover {
  color: #6e4800;
  transform: translateX(2px);
}

.site-footer__link--social {
  gap: 0.5rem;
}

.site-footer__link--social svg {
  flex-shrink: 0;
  opacity: 0.95;
}

.site-footer__bottom {
  margin-top: clamp(2rem, 4.5vw, 3.25rem);
  padding-top: clamp(1.25rem, 2.5vw, 1.65rem);
  border-top: 1px solid rgba(61, 38, 0, 0.16);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
}

.site-footer__copy {
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 1vw, 0.84rem);
  color: rgba(61, 38, 0, 0.78);
  margin: 0;
}

.site-footer__back-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 1vw, 0.875rem);
  font-weight: 700;
  color: #3d2600;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.site-footer__back-top:hover {
  color: #6e4800;
  transform: translateY(-2px);
}

/* --- 8. SCROLL REVEAL ANIMATIONS ("STAGING THE FOCUS") --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px) scale(0.975);
  filter: blur(4px);
  transition: opacity 0.96s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.96s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.86s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

.reveal-delay-3 {
  transition-delay: 0.36s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .mobile-menu,
  .mobile-menu__inner,
  .mobile-menu__header,
  .mobile-menu__links > *,
  .mobile-menu__footer,
  #main-hero,
  .site-footer {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .service-pill-card__img,
  .service-pill-card__pet {
    filter: none !important;
    transition: none !important;
  }

  .btn-cta-pill__text {
    animation: none !important;
  }

  .service-card-btn,
  .service-card-btn__text,
  .service-card-btn__icon {
    transition: none !important;
  }
}

/* ==========================================================================
   9. FLUXO DE AGENDAMENTO — BANHO E TOSA (MOBILE-FIRST + DESKTOP)
   ========================================================================== */
html.is-booking-open,
body.is-booking-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  background-color: #fff9e6 !important;
}

.booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.34s cubic-bezier(0.32, 0.72, 0, 1);
}

.booking-overlay[hidden] {
  display: none !important;
}

.booking-overlay.is-open {
  pointer-events: auto;
  opacity: 1;
}

.booking-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 19, 4, 0.42);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.booking-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: 100%;
  padding-top: env(safe-area-inset-top, 0px);
  display: flex;
  flex-direction: column;
  background: #fff9e6;
  color: #3d2600;
  overflow: hidden;
  border-radius: 36px 36px 0 0;
  transform-origin: var(--stage-ox, 50%) var(--stage-oy, 80%);
  transform: translate3d(calc(var(--stage-dx, 0px) * 0.32), calc(var(--stage-dy, 36px) * 0.45), 0) scale(0.89);
  opacity: 0;
  filter: blur(4px);
  transition: transform 0.64s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.64s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity, filter;
}

.booking-overlay.is-open .booking-sheet {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  filter: blur(0);
  border-radius: 0;
}

.booking-sheet__handle {
  display: flex;
  justify-content: center;
  padding: 8px 0 2px;
  background: rgba(255, 249, 230, 0.92);
  flex-shrink: 0;
}

.booking-sheet__handle span {
  width: 38px;
  height: 4px;
  border-radius: 9999px;
  background: rgba(61, 38, 0, 0.16);
}

/* Header */
.booking-header {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 12px;
  background: rgba(255, 249, 230, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(61, 38, 0, 0.08);
  flex-shrink: 0;
}

.booking-header__back {
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  border: 1px solid rgba(61, 38, 0, 0.1);
  background: #ffffff;
  color: #3d2600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, border-color 0.2s ease;
}

.booking-header__back:hover {
  background: #fff4cc;
  border-color: rgba(255, 190, 0, 0.25);
}

.booking-header__back:active {
  transform: scale(0.92);
}

.booking-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.booking-header__logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.booking-header__titles {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.booking-header__title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #3d2600;
}

.booking-header__step {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: #9e6b4f;
  margin-top: 2px;
}

.booking-header__cancel {
  border: none;
  background: transparent;
  padding: 8px 10px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  color: #8a6200;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.booking-header__cancel:hover {
  background: rgba(255, 190, 0, 0.08);
}

.booking-header__cancel:active {
  transform: scale(0.95);
}

/* Barra de progresso */
.booking-progress {
  width: 100%;
  height: 3px;
  background: rgba(61, 38, 0, 0.08);
  flex-shrink: 0;
  overflow: hidden;
}

.booking-progress__fill {
  width: 25%;
  height: 100%;
  border-radius: 0 9999px 9999px 0;
  background: linear-gradient(90deg, #ffbe00 0%, #ffd23f 100%);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Corpo rolável */
.booking-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 22px 20px 28px;
}

.booking-step {
  display: block;
}

.booking-step[hidden] {
  display: none !important;
}

.booking-step.is-entering-forward {
  animation: bookingSlideInForward 0.54s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.booking-step.is-entering-backward {
  animation: bookingSlideInBackward 0.54s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Staging the focus nos elementos internos de cada etapa */
.booking-step.is-entering-forward .booking-step__head,
.booking-step.is-entering-backward .booking-step__head {
  animation: bookingFocusStage 0.56s cubic-bezier(0.22, 1, 0.36, 1) 0.04s both;
}

.booking-step.is-entering-forward .booking-options-list,
.booking-step.is-entering-forward .booking-pets-grid,
.booking-step.is-entering-forward .booking-availability-layout,
.booking-step.is-entering-forward .booking-summary-card {
  animation: bookingFocusStage 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

@keyframes bookingFocusStage {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(0.985);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes bookingSlideInForward {
  from {
    opacity: 0;
    transform: translate3d(20px, 0, 0);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes bookingSlideInBackward {
  from {
    opacity: 0;
    transform: translate3d(-20px, 0, 0);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

.booking-step__head {
  margin-bottom: 20px;
}

.booking-kicker {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffbe00;
  margin-bottom: 4px;
}

.booking-title {
  font-family: var(--font-display);
  font-size: clamp(1.32rem, 4.5vw, 1.56rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #3d2600;
}

.booking-subtitle {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #3d2600;
  margin: 22px 0 12px;
}

/* Etapa 1: Grid de Pets */
.booking-pets-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 22px;
}

.booking-pet-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #3d2600;
  -webkit-tap-highlight-color: transparent;
}

.booking-pet-card__avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 4px;
  border: 2.5px solid rgba(61, 38, 0, 0.12);
  background: #ffffff;
  transition: border-color 0.28s ease, transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease;
}

.booking-pet-card:hover .booking-pet-card__avatar-wrap {
  transform: translateY(-2px);
  border-color: rgba(255, 190, 0, 0.36);
}

.booking-pet-card:active .booking-pet-card__avatar-wrap {
  transform: scale(0.94);
}

.booking-pet-card__circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #f1e7dc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background-color 0.28s ease;
}

.booking-pet-card__circle svg {
  width: 68px;
  height: 68px;
  transition: transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.28s ease;
  filter: grayscale(0.92) opacity(0.76);
}

.booking-pet-card.is-selected .booking-pet-card__avatar-wrap {
  border-color: #ffbe00;
  box-shadow: 0 8px 22px -6px rgba(255, 190, 0, 0.34);
  transform: scale(1.03);
}

.booking-pet-card.is-selected .booking-pet-card__circle {
  background: #fff4cc;
}

.booking-pet-card.is-selected .booking-pet-card__circle svg {
  filter: none;
  transform: scale(1.06);
}

.booking-pet-card__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 27px;
  height: 27px;
  padding: 0 6px;
  border-radius: 9999px;
  background: #ffbe00;
  color: #3d2600;
  border: 2.5px solid #fff9e6;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.22s ease, transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.booking-pet-card.is-selected .booking-pet-card__badge {
  opacity: 1;
  transform: scale(1);
}

.booking-pet-card__name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: #3d2600;
}

.booking-pet-card__meta {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  color: #9e6b4f;
  margin-top: -5px;
}

/* Callout informativo (azul Le Pet Store suave para lembrar o card Banho e Tosa) */
.booking-callout {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 15px;
  border-radius: 14px;
  background: #e9f8fb;
  border-left: 3.5px solid #04b8d8;
  color: #214e58;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.48;
}

.booking-callout--compact {
  margin-top: 14px;
}

.booking-callout__icon {
  color: #0092ad;
  flex-shrink: 0;
  margin-top: 1px;
}

.booking-callout__more-btn {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: #00829b;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.booking-callout__extra {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(4, 184, 216, 0.22);
  font-size: 0.81rem;
  color: #2d5f6a;
  animation: bookingFadeDown 0.26s ease both;
}

.booking-callout__extra[hidden] {
  display: none !important;
}

@keyframes bookingFadeDown {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cadastro de novo pet */
.booking-new-pet {
  margin-top: 20px;
}

.booking-add-pet-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1.5px dashed rgba(255, 190, 0, 0.36);
  background: rgba(255, 244, 204, 0.42);
  color: #8a6200;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.booking-add-pet-btn:hover {
  background: #fff4cc;
  border-color: #ffbe00;
}

.booking-add-pet-btn:active {
  transform: scale(0.985);
}

.booking-add-pet-btn__plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid #ffbe00;
  color: #ffbe00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.booking-pet-form {
  margin-top: 14px;
  animation: bookingFadeDown 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.booking-pet-form[hidden] {
  display: none !important;
}

.booking-pet-form__card {
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(61, 38, 0, 0.12);
  box-shadow: 0 10px 26px -12px rgba(61, 38, 0, 0.14);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.booking-pet-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-field__label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: #7d5640;
}

.booking-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(61, 38, 0, 0.16);
  background: #fffdf5;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: #3d2600;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.booking-input:focus {
  outline: none;
  border-color: #ffbe00;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 190, 0, 0.14);
}

.booking-textarea {
  resize: vertical;
  min-height: 70px;
}

.booking-segmented {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: #f5ece2;
}

.booking-segmented__btn {
  flex: 1 1 0;
  border: none;
  background: transparent;
  padding: 7px 6px;
  border-radius: 9px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  color: #7d5640;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease;
}

.booking-segmented__btn.is-selected {
  background: #ffffff;
  color: #ffbe00;
  box-shadow: 0 2px 8px rgba(61, 38, 0, 0.12);
}

.booking-segmented__btn:active {
  transform: scale(0.95);
}

.booking-pet-form__error {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: #d62828;
}

.booking-pet-form__error[hidden] {
  display: none !important;
}

.booking-pet-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.booking-btn-ghost {
  border: none;
  background: transparent;
  padding: 10px 16px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: #7d5640;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.booking-btn-ghost:hover {
  background: rgba(61, 38, 0, 0.07);
}

.booking-btn-save {
  border: none;
  background: #ffbe00;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.booking-btn-save:hover {
  background: #e0a800;
}

.booking-btn-save:active {
  transform: scale(0.95);
}

/* Chips de pets selecionados (Etapas 2 e 3) */
.booking-pet-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.booking-pet-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1.5px solid #ffbe00;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: #3d2600;
}

.booking-pet-chip__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff4cc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.booking-pet-chip__dot svg {
  width: 19px;
  height: 19px;
}

/* Cards de serviço e tratamentos (Apple Inset Grouped List — limpo e alinhado) */
.booking-options-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 20px;
  border: 1px solid rgba(61, 38, 0, 0.09);
  background: #ffffff;
  box-shadow: 0 8px 24px -14px rgba(61, 38, 0, 0.11);
  overflow: hidden;
}

.booking-service-item {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
  transition: background-color 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.booking-service-item + .booking-service-item {
  border-top: 1px solid rgba(61, 38, 0, 0.07);
}

.booking-service-item:hover {
  background: rgba(255, 244, 204, 0.28);
}

.booking-service-item.is-selected {
  background: #fff4cc;
  box-shadow: inset 3.5px 0 0 #ffbe00;
}

.booking-option-card {
  width: 100%;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: #3d2600;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.booking-option-card:active {
  transform: scale(0.992);
}

.booking-option-card__control {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(61, 38, 0, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.booking-option-card--check .booking-option-card__control {
  border-radius: 7px;
}

.booking-option-card__control::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffbe00;
  transform: scale(0);
  transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.booking-option-card--check .booking-option-card__control::after {
  display: none;
}

.booking-service-item.is-selected .booking-option-card__control {
  border-color: #ffbe00;
}

.booking-service-item.is-selected .booking-option-card__control::after {
  transform: scale(1);
}

/* Transitions.dev — Checkbox check */
.t-check {
  background: transparent;
  transition:
    background var(--check-box) var(--check-ease),
    border-color var(--check-box) var(--check-ease),
    box-shadow var(--check-box) var(--check-ease);
}

.t-check[aria-checked="true"] {
  background: #ffbe00;
  border-color: #ffbe00;
  box-shadow: 0 2px 8px rgba(255, 190, 0, 0.26);
}

.t-check svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: #3d2600;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.t-check svg path {
  stroke-dasharray: var(--check-len, 15);
  stroke-dashoffset: var(--check-len, 15);
  transition: stroke-dashoffset var(--check-uncheck) var(--check-ease);
}

.t-check[aria-checked="true"] svg path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset var(--check-draw) var(--check-ease) var(--check-delay);
}

@media (prefers-reduced-motion: reduce) {
  .t-check,
  .t-check svg path {
    transition: none !important;
  }
}

.booking-option-card__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.booking-option-card__title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  max-width: 100%;
  min-width: 0;
}

.booking-option-card__title {
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 3.55vw, 0.97rem);
  font-weight: 600;
  color: #3d2600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.booking-option-card__price {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  color: #3d2600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.booking-service-item.is-selected .booking-option-card__price {
  color: #8a6200;
}

/* Seta minimalista sem fundo pesado ao lado do título do serviço */
.booking-option-acc {
  display: block;
  background: transparent;
}

.booking-option-acc__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.18s ease;
}

.booking-option-acc__toggle:hover {
  background: rgba(255, 190, 0, 0.08);
}

.booking-option-acc__pill {
  width: 16px;
  height: 16px;
  color: #a47f69;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--acc-chevron) var(--acc-ease), color 0.18s ease;
}

.booking-option-acc__toggle:hover .booking-option-acc__pill,
.booking-option-acc__toggle[aria-expanded="true"] .booking-option-acc__pill {
  color: #8a6200;
}

.booking-option-acc__pill svg {
  width: 14px;
  height: 14px;
}

.booking-option-acc__desc {
  padding: 0 18px 14px 52px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.48;
  color: #6b432c;
}

/* Etapa 3: Calendário e Horários */
.booking-availability-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.booking-calendar {
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(61, 38, 0, 0.1);
  box-shadow: 0 10px 28px -16px rgba(61, 38, 0, 0.16);
}

.booking-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.booking-calendar__month {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #3d2600;
}

.booking-calendar__nav {
  display: flex;
  gap: 8px;
}

.booking-cal-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(61, 38, 0, 0.14);
  background: #fff9e6;
  color: #3d2600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.booking-cal-nav-btn:hover:not(:disabled) {
  background: #fff4cc;
  border-color: rgba(255, 190, 0, 0.4);
  color: #ffbe00;
}

.booking-cal-nav-btn:active:not(:disabled) {
  transform: scale(0.92);
}

.booking-cal-nav-btn:disabled {
  opacity: 0.34;
  cursor: not-allowed;
}

.booking-calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  padding: 7px 0;
  margin-bottom: 8px;
  border-radius: 10px;
  background: #fff9e6;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  color: #9e6b4f;
}

.booking-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 4px;
  column-gap: 2px;
  justify-items: center;
  align-items: center;
}

.booking-cal-day {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.89rem;
  font-weight: 600;
  color: #3d2600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.booking-cal-day:hover:not(:disabled):not(.is-selected) {
  background: #fff4cc;
}

.booking-cal-day:active:not(:disabled) {
  transform: scale(0.9);
}

.booking-cal-day.is-today:not(.is-selected) {
  border-color: #ffbe00;
  color: #8a6200;
  background: rgba(255, 190, 0, 0.06);
}

.booking-cal-day.is-selected {
  background: #ffbe00;
  color: #3d2600;
  font-weight: 700;
  transform: scale(1.06);
  box-shadow: 0 6px 14px -4px rgba(255, 190, 0, 0.45);
}

.booking-cal-day:disabled {
  color: rgba(61, 38, 0, 0.25);
  cursor: not-allowed;
}

.booking-cal-empty {
  width: 40px;
  height: 40px;
}

/* Horários */
.booking-slots-block {
  margin-top: 0;
}

.booking-slots-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.booking-slots-head .booking-subtitle {
  margin: 0;
}

.booking-slots-date-badge {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  color: #8a6200;
  background: #fff4cc;
  padding: 5px 10px;
  border-radius: 9999px;
}

.booking-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.booking-slot-btn {
  padding: 12px 10px;
  border-radius: 14px;
  border: 1.5px solid rgba(61, 38, 0, 0.14);
  background: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  color: #3d2600;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.booking-slot-btn__tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: #9e6b4f;
}

.booking-slot-btn:hover {
  border-color: rgba(255, 190, 0, 0.45);
  background: #fff4cc;
}

.booking-slot-btn:active {
  transform: scale(0.95);
}

.booking-slot-btn.is-selected {
  background: #ffbe00;
  border-color: #ffbe00;
  color: #3d2600;
  box-shadow: 0 8px 18px -6px rgba(255, 190, 0, 0.42);
}

.booking-slot-btn.is-selected .booking-slot-btn__tag {
  color: rgba(255, 255, 255, 0.88);
}

/* Etapa 4: Resumo & Tutor */
.booking-summary-card {
  padding: 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 1.5px solid rgba(255, 190, 0, 0.2);
  box-shadow: 0 12px 28px -16px rgba(61, 38, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.booking-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(61, 38, 0, 0.12);
  font-family: var(--font-sans);
  font-size: 0.88rem;
}

.booking-summary-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.booking-summary-row__label {
  color: #9e6b4f;
  font-weight: 600;
  flex-shrink: 0;
}

.booking-summary-row__val {
  color: #3d2600;
  font-weight: 700;
  text-align: right;
}

.booking-summary-row--total .booking-summary-row__val {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #ffbe00;
}

.booking-tutor-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Etapa 5: Sucesso */
.booking-success-box {
  padding: 26px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.booking-success-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e9f9f0;
  color: #169c53;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  animation: bookingPopCheck 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes bookingPopCheck {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.booking-success-desc {
  max-width: 34ch;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.5;
  color: #7d5640;
}

.booking-success-actions {
  margin-top: 10px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Footer fixo do modal */
.booking-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 249, 230, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(61, 38, 0, 0.09);
  flex-shrink: 0;
}

.booking-footer[hidden] {
  display: none !important;
}

.booking-footer__total {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.booking-footer__total[hidden] {
  display: none !important;
}

.booking-footer__label {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  color: #9e6b4f;
}

.booking-footer__price {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: #3d2600;
  font-variant-numeric: tabular-nums;
}

.booking-cta-primary {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 9999px;
  border: none;
  background: #ffbe00;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px -10px rgba(255, 190, 0, 0.65);
  transition: background-color 0.2s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.booking-cta-primary:hover:not(:disabled) {
  background: #e0a800;
  transform: translateY(-1px);
}

.booking-cta-primary:active:not(:disabled) {
  transform: scale(0.97);
}

.booking-cta-primary:disabled {
  background: #eaded3;
  color: #a48a7a;
  box-shadow: none;
  cursor: not-allowed;
}

/* Desktop Modal Presentation */
@media (min-width: 960px) {
  .booking-overlay {
    align-items: center;
    padding: 24px;
  }

  .booking-sheet {
    width: min(670px, 100%);
    height: auto;
    max-height: min(820px, 88vh);
    padding-top: 0;
    border-radius: 30px;
    border: 1px solid rgba(255, 190, 0, 0.14);
    box-shadow: 0 36px 88px -20px rgba(55, 24, 6, 0.42);
    transform-origin: center center;
    transform: translate3d(var(--stage-dx, 0px), var(--stage-dy, 32px), 0) scale(0.86);
    opacity: 0;
    filter: blur(5px);
    transition: transform 0.64s cubic-bezier(0.32, 1.08, 0.64, 1),
      opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .booking-overlay.is-open .booking-sheet {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
    filter: blur(0);
    border-radius: 30px;
  }

  .booking-sheet__handle {
    display: none;
  }

  .booking-header {
    padding: 16px 28px 14px;
  }

  .booking-body {
    padding: 26px 28px 32px;
  }

  .booking-footer {
    padding: 16px 28px 20px;
  }

  .booking-availability-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.95fr;
    gap: 20px;
    align-items: start;
  }

  .booking-calendar {
    padding: 16px;
  }

  .booking-cal-day,
  .booking-cal-empty {
    width: 38px;
    height: 38px;
  }

  .booking-slots-block {
    padding: 16px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(61, 38, 0, 0.1);
    box-shadow: 0 10px 28px -16px rgba(61, 38, 0, 0.14);
  }

  .booking-slots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-overlay,
  .booking-sheet,
  .booking-progress__fill,
  .booking-pet-card__avatar-wrap,
  .booking-pet-card__badge,
  .booking-step.is-entering-forward,
  .booking-step.is-entering-backward,
  .booking-success-check {
    animation: none !important;
    transition: none !important;
  }
}