
:root {
  --primary-blue: #1b3b64;
  --primary-green: #5c9247;
  --secondary-orange: #eb8223;
  --bg-color: #f4f6f8;
  --text-dark: #1b3b64;
  --text-light: #8c9ba5;
  --white: #ffffff;
  --card-blue: #1c4b7b;
  --card-green: #679c45;
  --card-teal: #1e8789;
  --card-orange-light: #faa03b;
  --card-orange-dark: #e86d26;
  --card-grey: #e9ebf0;

  --font-family: 'Inter', sans-serif;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 8px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Mobile Container for PC viewing */
.app-container {
  width: 100%;
  max-width: 428px;
  /* iPhone 13 Pro Max width */
  background-color: var(--bg-color);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.main-content,
.professionals-container,
.form-container {
  animation: fadeIn 0.4s ease-out forwards;
}

/* Header Home */
.header-home {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 32px 24px 56px 24px;
  position: relative;
}

.header-home::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='%235c9247' d='M75,0 C95,30 60,70 80,100 L100,100 L100,0 Z' /%3E%3C/svg%3E");
  background-size: 100% 100%;
  z-index: 0;
}

.header-pets-img {
  position: absolute;
  right: 12px;
  bottom: -4px;
  z-index: 2;
  width: 170px;
  max-width: 50%;
  height: auto;
  pointer-events: none;
}

.header-content {
  position: relative;
  z-index: 1;
}

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

.location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

.notification-btn {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 24px;
  position: relative;
  cursor: pointer;
}

.notification-btn::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  background-color: var(--secondary-orange);
  border-radius: 50%;
  border: 2px solid var(--primary-blue);
}

.header-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 80%;
}

.search-bar {
  position: absolute;
  bottom: -24px;
  left: 24px;
  right: 24px;
  background-color: var(--white);
  border-radius: 50px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  z-index: 10;
}

.search-bar i {
  color: var(--text-light);
  font-size: 20px;
}

.search-bar input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  font-family: var(--font-family);
  color: var(--text-dark);
}

.search-bar input::placeholder {
  color: var(--text-light);
}

/* Main Content */
.main-content {
  padding: 48px 24px 100px 24px;
  flex: 1;
}

/* Banner */
.banner {
  background-color: var(--primary-blue);
  border-radius: var(--border-radius-md);
  padding: 24px;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.banner-content {
  z-index: 1;
  max-width: 60%;
}

.banner h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.banner p {
  font-size: 12px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.btn-primary {
  background-color: var(--secondary-orange);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.banner-img {
  position: absolute;
  right: -20px;
  bottom: 0;
  height: 120%;
  opacity: 0.8;
}

/* Dots */
.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d1d5db;
}

.dot.active {
  background-color: var(--primary-blue);
}

/* Swipe Carousel (deslizar manualmente, sem looping) */
.swipe-carousel {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}

.swipe-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.swipe-track::-webkit-scrollbar {
  display: none;
}

.swipe-slide {
  min-width: 100%;
  margin-bottom: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.swipe-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: -12px;
  margin-bottom: 32px;
}

.swipe-controls .dots {
  margin-bottom: 0;
}

.swipe-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background-color: var(--white);
  color: var(--primary-blue);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: opacity 0.2s, transform 0.15s;
}

.swipe-arrow:active {
  transform: scale(0.9);
}

.swipe-arrow.is-hidden {
  opacity: 0.3;
  pointer-events: none;
}

#pharmacyDots .dot {
  cursor: pointer;
  transition: background-color 0.2s;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  border-radius: var(--border-radius-md);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  transition: transform 0.2s;
  height: 120px;
}

.service-card:active {
  transform: scale(0.95);
}

.service-card i {
  font-size: 32px;
}

.service-card span {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.card-blue {
  background-color: var(--card-blue);
}

.card-green {
  background-color: var(--card-green);
}

.card-teal {
  background-color: var(--card-teal);
}

.card-orange-light {
  background-color: var(--card-orange-light);
}

.card-orange-dark {
  background-color: var(--card-orange-dark);
}

.card-grey {
  background-color: var(--card-grey);
  color: var(--primary-blue);
}

/* Bottom Nav */
.bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: 428px;
  background-color: var(--white);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 12px)) 16px;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
  z-index: 100;
}

.nav-item {
  color: #a0aab5;
  font-size: 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  width: 60px;
  height: 50px;
  gap: 4px;
}

.nav-item span {
  font-size: 10px;
  font-weight: 600;
}

.nav-item.active {
  color: var(--primary-green);
  transform: translateY(-2px);
}

.nav-item.active::after {
  content: none;
}

.nav-main {
  background-color: var(--primary-green);
  color: var(--white);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  transform: translateY(-24px);
  box-shadow: 0 8px 24px rgba(92, 146, 71, 0.4);
  text-decoration: none;
  border: 6px solid var(--bg-color);
  transition: transform 0.2s;
}

.nav-main:active {
  transform: translateY(-20px) scale(0.95);
}

/* Inner Pages Header */
.header-inner {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 40px 24px 60px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.header-inner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='%235c9247' d='M75,0 C95,30 60,70 80,100 L100,100 L100,0 Z' /%3E%3C/svg%3E");
  background-size: 100% 100%;
  z-index: 0;
}

.header-inner > * {
  position: relative;
  z-index: 1;
}

.back-btn {
  color: var(--white);
  font-size: 24px;
  text-decoration: none;
}

.header-inner h1 {
  font-size: 20px;
  font-weight: 600;
}

/* Professionals List */
.professionals-container {
  background-color: var(--bg-color);
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  margin-top: -32px;
  padding: 32px 24px;
  min-height: calc(100vh - 80px);
}

.pro-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.pro-image {
  width: 100%;
  height: 200px;
  background-color: #e0e0e0;
  object-fit: cover;
  object-position: top;
}

.pro-info {
  padding: 24px;
  text-align: center;
}

.pro-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-blue);
}

.pro-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.badge {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
}

.pro-actions {
  display: flex;
  gap: 12px;
}

.btn-action {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
}

.btn-call {
  background-color: var(--primary-blue);
}

.btn-whatsapp {
  background-color: var(--primary-green);
}

/* Form Styles */
.form-container {
  background-color: var(--white);
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  margin-top: -32px;
  padding: 32px 24px;
  min-height: calc(100vh - 80px);
}

.form-step {
  margin-bottom: 32px;
}

.step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-blue);
}

.step-number {
  background-color: var(--primary-green);
  color: var(--white);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
}

.form-group {
  margin-bottom: 16px;
}

.form-input {
  width: 100%;
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.3s;
}

.form-input:focus {
  border-color: var(--primary-blue);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  cursor: pointer;
}

.checkbox-label input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary-green);
}

.step-subtitle {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.btn-submit {
  width: 100%;
  background-color: var(--primary-blue);
  color: var(--white);
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 16px;
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-green);
  font-size: 20px;
}

.input-with-icon .form-input {
  padding-left: 48px;
}

.checkbox-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
}


/* Filters Scroll */
.filters-scroll::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  background-color: var(--card-grey);
  color: var(--text-light);
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active {
  background-color: var(--primary-green);
  color: var(--white);
}

/* Specs Expanded Mode */
.collapsible-grid {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.collapsible-inner {
  overflow: hidden;
}

.app-container.specs-expanded .collapsible-grid {
  grid-template-rows: 0fr;
}

.app-container.specs-expanded .collapsible-inner {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.collapsible-inner {
  opacity: 1;
  transition: opacity 0.5s ease 0.2s;
}

.app-container.specs-expanded .bottom-nav {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.bottom-nav {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Flat Header for Professionals */
.header-flat {
  padding-bottom: 40px !important;
}
.header-flat::before {
  display: none;
}

/* Enhanced Clinics Search and Filters */
#clinicsSearchForm {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s;
}
#clinicsSearchForm:focus-within {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-blue);
  background: var(--white) !important;
}

.filters-scroll {
  margin-top: -8px;
}
.filter-btn {
  padding: 10px 20px;
  font-size: 14px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.filter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}/* Custom Select Dropdown */
.custom-select {
    position: relative;
    font-family: inherit;
    width: 100%;
}
.select-selected {
    background-color: var(--card-grey);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
}
.select-selected.bairro-style {
    padding: 10px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    font-size: 13px;
    color: var(--text-light);
    background: var(--card-grey);
}
.select-items {
    position: absolute;
    background-color: var(--white);
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 99;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(16, 36, 62, .18);
    overflow: hidden;
    max-height: 264px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #dfe5ec;
    transform-origin: top center;
    transition: opacity .18s ease, transform .24s cubic-bezier(.2, .8, .2, 1), visibility 0s linear 0s;
}
.select-hide {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(.985);
    pointer-events: none;
    transition: opacity .18s ease, transform .24s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .24s;
}
.select-items div {
    padding: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    border-bottom: 1px solid #f3f4f6;
}
.select-items div:hover {
    background-color: #f3f4f6;
}
.select-items div:last-child {
    border-bottom: none;
}
.select-selected i {
    transition: transform 0.3s ease;
}
.select-arrow-active i {
    transform: rotate(180deg);
}
/* Calculator Button Side Menu */
.calc-vet-btn {
    text-decoration: none;
    color: var(--white) !important;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background-color: var(--primary-blue);
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 12px rgba(29, 53, 87, 0.2);
}
.calc-vet-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    transform: scaleX(-1);
    width: 80%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='%235c9247' d='M75,0 C95,30 60,70 80,100 L100,100 L100,0 Z' /%3E%3C/svg%3E");
    background-size: 100% 100%;
    z-index: 0;
}
.calc-vet-btn i, .calc-vet-btn span {
    position: relative;
    z-index: 1;
}
.calc-vet-btn i {
    margin-left: -4px;
}
.calc-vet-btn span {
    margin-left: 16px;
}

/* iOS style toggle switch */
.ios-switch-container {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card-grey);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.05);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
}

.ios-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
  flex-shrink: 0;
}

.ios-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ios-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #d1d5db;
  transition: .3s;
  border-radius: 24px;
}

.ios-switch .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.ios-switch input:checked + .slider {
  background-color: var(--primary-green);
}

.ios-switch input:checked + .slider:before {
  transform: translateX(16px);
}

/* Animations for filter panel */
@keyframes filterSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.filters-animated {
    animation: filterSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Botão 24H (emergência) na bottom nav */
.nav-24h {
  position: relative;
  z-index: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ef4444, #c81e1e);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.45);
  animation: heartbeat24h 2.4s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}

/* Ondas saindo em volta do botão */
.nav-24h::before,
.nav-24h::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  border: 2px solid rgba(239, 68, 68, 0.7);
  background: rgba(239, 68, 68, 0.12);
  pointer-events: none;
  animation: wave24h 2.4s cubic-bezier(0.25, 0.6, 0.3, 1) infinite;
}

.nav-24h::after {
  animation-delay: 1.2s;
}

.nav-24h:visited,
.nav-24h:hover,
.nav-24h:focus {
  color: #fff;
  text-decoration: none;
}

.nav-24h:active {
  transform: scale(0.94);
}

@keyframes wave24h {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

@keyframes heartbeat24h {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.06); }
  30% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .nav-24h,
  .nav-24h::before,
  .nav-24h::after {
    animation: none;
  }
}

/* ===== Transição entre site e Calculadora VET ===== */
/* O opt-in (@view-transition) é injetado por assets/js/transitions.js
   apenas nas páginas que participam da transição. */

/* Abrindo a calculadora: site recua e some, calculadora sobe suavemente */
html.pt-forward::view-transition-old(root) {
  animation: ptOldRecede 0.38s cubic-bezier(0.4, 0, 0.2, 1) both;
}
html.pt-forward::view-transition-new(root) {
  animation: ptNewRise 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Voltando ao site: calculadora desce e some, site volta ao lugar */
html.pt-back::view-transition-old(root) {
  z-index: 1;
  animation: ptOldDrop 0.38s cubic-bezier(0.4, 0, 0.2, 1) both;
}
html.pt-back::view-transition-new(root) {
  animation: ptNewSettle 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.pt-forward::view-transition-image-pair(root),
html.pt-back::view-transition-image-pair(root) {
  isolation: auto;
}
html.pt-forward::view-transition-old(root),
html.pt-forward::view-transition-new(root),
html.pt-back::view-transition-old(root),
html.pt-back::view-transition-new(root) {
  mix-blend-mode: normal;
}

@keyframes ptOldRecede {
  to { opacity: 0; transform: scale(0.94); }
}
@keyframes ptNewRise {
  from { opacity: 0; transform: translateY(48px); }
  to { opacity: 1; transform: none; }
}
@keyframes ptOldDrop {
  to { opacity: 0; transform: translateY(48px); }
}
@keyframes ptNewSettle {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: none; }
}

/* Fallback para navegadores sem View Transitions (só opacidade, não afeta a barra fixa) */
html.pt-forward body,
html.pt-back body {
  transition: opacity 0.35s ease;
}
html.pt-leave body,
html.pt-enter body {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  html.pt-forward body,
  html.pt-back body {
    transition: none;
  }
}
