﻿/* Tipografia global: Montserrat via base.css + main.css (igual precisionsolutions.vercel.app) */
:root {
  --ps-font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ps-font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ps-blue-dark: #003D7A;
  --ps-blue-medium: #0066CC;
  --ps-blue-light: #4A90E2;
  --ps-blue-hover: #005AB5;
  --ps-red-accent: #DC2626;
  --ps-radius-sm: 0.5rem;
  --ps-radius-md: 0.75rem;
  --ps-radius-lg: 1rem;
  --ps-radius-xl: 1.25rem;
  --ps-shadow-sm: 0 1px 3px rgba(0, 61, 122, 0.08);
  --ps-shadow-md: 0 4px 14px rgba(0, 61, 122, 0.1);
  --ps-shadow-lg: 0 8px 24px rgba(0, 61, 122, 0.12);
  --ps-shadow-xl: 0 12px 32px rgba(0, 61, 122, 0.14);
}

.ps-label-wide {
  font-family: var(--ps-font-body);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── Header / navegação ── */
.ps-header-desktop {
  gap: 1rem;
  margin-left: 1rem;
}

@media (min-width: 1280px) {
  .ps-header-desktop {
    gap: 1.5rem;
    margin-left: 1.5rem;
  }
}

@media (min-width: 1536px) {
  .ps-header-desktop {
    gap: 2rem;
    margin-left: 2rem;
  }
}

.ps-header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.125rem 0.375rem;
  min-width: 0;
}

@media (min-width: 1280px) {
  .ps-header-nav {
    gap: 0.125rem 0.625rem;
  }
}

@media (min-width: 1536px) {
  .ps-header-nav {
    gap: 0.25rem 0.875rem;
  }
}

.ps-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  padding-left: 0.75rem;
  margin-left: 0.25rem;
  border-left: 1px solid rgba(0, 61, 122, 0.1);
}

@media (min-width: 1280px) {
  .ps-header-actions {
    gap: 0.625rem;
    padding-left: 1rem;
    margin-left: 0.5rem;
  }
}

.ps-nav-link {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  padding: 0.3rem 0.2rem;
  font-family: var(--ps-font-display);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(0, 61, 122, 0.72);
  text-decoration: none;
  transition: color 0.2s;
}

@media (min-width: 1280px) {
  .ps-nav-link {
    font-size: 10.5px;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.25rem;
  }
}

@media (min-width: 1536px) {
  .ps-nav-link {
    font-size: 11.5px;
    letter-spacing: 0.09em;
  }
}

.ps-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 9999px;
  background: var(--ps-blue-medium);
  transition: width 0.3s ease;
}

.ps-nav-link:hover {
  color: var(--ps-blue-medium);
}

.ps-nav-link:hover::after,
.ps-nav-link.is-active-route::after {
  width: 100%;
}

.ps-nav-link.is-active-route {
  color: var(--ps-blue-dark);
}

.ps-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.45rem 0.75rem;
  border: none;
  border-radius: var(--ps-radius-md);
  background: var(--ps-blue-dark);
  color: #fff;
  font-family: var(--ps-font-display);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: var(--ps-shadow-sm);
  white-space: nowrap;
}

.ps-nav-cta--wa {
  background: linear-gradient(145deg, #25d366 0%, #1fba57 100%);
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.35);
}

.ps-nav-cta:hover {
  background: var(--ps-blue-hover);
  box-shadow: var(--ps-shadow-md);
}

.ps-nav-cta--wa:hover {
  background: linear-gradient(145deg, #2ee06f 0%, #25d366 100%);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
}

.ps-nav-cta:active {
  transform: scale(0.98);
}

.ps-nav-cta:focus-visible {
  outline: 2px solid var(--ps-blue-light);
  outline-offset: 2px;
}

.ps-nav-cta__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

@media (min-width: 1280px) {
  .ps-nav-cta {
    padding: 0.5rem 0.875rem;
    font-size: 10.5px;
    gap: 0.45rem;
  }

  .ps-nav-cta__icon {
    width: 1.0625rem;
    height: 1.0625rem;
  }
}

/* ── Header scroll / desktop fixo ── */
.ps-site-header {
  border-bottom: 1px solid transparent;
  transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
}

@media (min-width: 1024px) {
  .ps-site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  main.flex-1 {
    padding-top: var(--ps-header-offset, 4.25rem);
  }

  .ps-header-desktop {
    flex-wrap: nowrap;
  }

  .ps-header-nav {
    flex-wrap: nowrap;
  }
}

.ps-site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0, 61, 122, 0.08);
  border-bottom-color: rgba(0, 61, 122, 0.06);
}

/* ── Rodapé ── */
.ps-site-footer {
  background: linear-gradient(
    165deg,
    #000d1a 0%,
    #001528 22%,
    #002244 45%,
    #003D7A 68%,
    #002855 100%
  );
}

.ps-site-footer__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 1;
  background-image:
    radial-gradient(circle at 15% 85%, rgba(74, 144, 226, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 85% 15%, rgba(0, 102, 204, 0.15) 0%, transparent 38%);
}

.ps-site-footer__bg::before {
  content: "";
  position: absolute;
  right: -2%;
  bottom: 8%;
  width: min(28rem, 70vw);
  height: min(12rem, 40vw);
  background-image: var(--ps-footer-logo);
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
  opacity: 0.07;
}

.ps-site-footer__inner {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

@media (min-width: 768px) {
  .ps-site-footer__inner {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

.ps-site-footer__divider {
  margin-top: 2rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (min-width: 768px) {
  .ps-site-footer__divider {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

.ps-site-footer__copy {
  margin: 0;
}

.ps-site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
}

.ps-footer-dash-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 0.4375rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}

.ps-footer-dash-btn:hover {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(168, 217, 250, 0.35);
  transform: translateY(-1px);
}

.ps-footer-dash-btn:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

.ps-footer-logo {
  background: transparent;
}

.ps-footer-nav {
  gap: 0.125rem;
}

.ps-footer-link {
  display: block;
  padding: 0.2rem 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.ps-footer-link:hover {
  color: #fff;
  transform: translateX(3px);
}

.ps-footer-heading {
  font-family: var(--ps-font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.ps-footer-tagline {
  font-family: var(--ps-font-body);
}

.ps-footer-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.ps-footer-icon-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(168, 217, 250, 0.45);
  box-shadow: 0 0 20px rgba(168, 217, 250, 0.2);
}

.ps-footer-icon-btn:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

/* ── Botão flutuante WhatsApp ── */
.ps-wa-float {
  position: fixed;
  z-index: 60;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  touch-action: manipulation;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

@media (min-width: 640px) {
  .ps-wa-float {
    right: 1.5rem;
    width: 3.75rem;
    height: 3.75rem;
  }
}

@media (min-width: 768px) {
  .ps-wa-float {
    right: 2rem;
    bottom: max(2rem, env(safe-area-inset-bottom));
  }
}

.ps-wa-float__btn {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(145deg, #25d366 0%, #1fba57 100%);
  color: #fff;
  box-shadow:
    0 4px 14px rgba(37, 211, 102, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: ps-wa-bob 3s ease-in-out infinite;
}

.ps-wa-float:hover .ps-wa-float__btn {
  transform: scale(1.08);
  box-shadow:
    0 6px 22px rgba(37, 211, 102, 0.55),
    0 4px 10px rgba(0, 0, 0, 0.15);
}

.ps-wa-float:active .ps-wa-float__btn {
  transform: scale(0.96);
}

.ps-wa-float__icon {
  width: 1.65rem;
  height: 1.65rem;
}

.ps-wa-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  animation: ps-wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

.ps-wa-float__pulse--delay {
  animation-delay: 1.2s;
}

@keyframes ps-wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

@keyframes ps-wa-bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ps-wa-float__btn {
    animation: none;
  }

  .ps-wa-float__pulse {
    animation: none;
    opacity: 0;
  }
}

.ps-trajetoria-body p {
  margin-bottom: 0.75em;
}

.ps-trajetoria-body p:last-child {
  margin-bottom: 0;
}

.ps-hero-title__line {
  display: block;
}

@media (min-width: 768px) {
  .ps-hero-title__line {
    white-space: nowrap;
  }
}

[data-ps-hero-video] video {
  pointer-events: none;
}

[data-ps-hero-video] video[style*="opacity"] {
  will-change: opacity;
}

.rich-text-content {
  color: #374151;
  line-height: 1.625;
}

.rich-text-content p {
  margin-bottom: 0.3em;
}

.rich-text-content h1 {
  font-family: var(--ps-font-display);
  font-size: 2em;
  font-weight: 800;
  margin-top: 0.67em;
  margin-bottom: 0.5em;
  color: #003D7A;
}

.rich-text-content h2 {
  font-family: var(--ps-font-display);
  font-size: 1.5em;
  font-weight: 700;
  margin-top: 0.83em;
  margin-bottom: 0.5em;
  color: #003D7A;
}

.rich-text-content h3 {
  font-family: var(--ps-font-display);
  font-size: 1.17em;
  font-weight: 600;
  margin-top: 1em;
  margin-bottom: 0.5em;
  color: #0066CC;
}

.rich-text-content ul,
.rich-text-content ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.rich-text-content ul {
  list-style-type: disc;
}

.rich-text-content ol {
  list-style-type: decimal;
}

.rich-text-content li {
  margin-bottom: 0.25em;
}

.rich-text-content a {
  color: #0066CC;
  text-decoration: underline;
}

.rich-text-content a:hover {
  color: #003D7A;
}

.rich-text-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1em 0;
}

.rich-text-content hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 1.5em 0;
}

.rich-text-content blockquote {
  border-left: 4px solid #0066CC;
  padding-left: 1em;
  margin: 1em 0;
  color: #4b5563;
}

.ps-strip-viewport {
  overflow: hidden;
  touch-action: pan-y;
  width: 100%;
  height: 100%;
}

.ps-strip-track {
  display: flex;
  height: 100%;
  will-change: transform;
}

.ps-strip-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.ps-detail-strip-viewport {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ps-card-strip-viewport {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ps-home-carousel-viewport {
  overflow: hidden;
  touch-action: pan-y;
  width: 100%;
}

.ps-home-carousel-track {
  display: flex;
  will-change: transform;
}

.ps-home-carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.ps-featured-carousel-controls {
  flex-shrink: 0;
}

.ps-featured-carousel-controls [data-ps-carousel-prev],
.ps-featured-carousel-controls [data-ps-carousel-next] {
  flex-shrink: 0;
}

.ps-carousel-dot {
  padding: 0;
  border: none;
  cursor: pointer;
  line-height: 0;
  font-size: 0;
}

.ps-featured-carousel-dots {
  flex-wrap: wrap;
  max-width: min(100%, 42rem);
}

.ps-detail-gallery-main {
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #f3f4f6;
}

#produtos article .relative.bg-gray-50\/80,
#produtos article [class*="aspect-square"],
#produtos article .relative.bg-transparent,
#produtos article [class*="aspect-square"] .bg-transparent,
#produtos article [class*="aspect-square"] > div {
  background: #ffffff !important;
}

#produtos article img[src*="/precision/assets/images/produtos/"] {
  background: #ffffff;
  object-fit: contain;
}

#ps-product-detail .ps-detail-thumb {
  background: #ffffff;
}

#ps-product-detail .ps-detail-thumb img {
  background: #ffffff;
}

.ps-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.95);
  color: #003D7A;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 61, 122, 0.12);
}

.ps-gallery-nav:hover {
  background: #ffffff;
  color: #0066CC;
}

.ps-gallery-nav-prev {
  left: 0.5rem;
}

.ps-gallery-nav-next {
  right: 0.5rem;
}

.ps-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 3.5rem;
}

.ps-lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: calc(100vh - 6rem);
  background: #ffffff;
}

.ps-lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ps-lightbox-caption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.ps-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: #f3f4f6;
  border-radius: 9999px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #003D7A;
}

.ps-lightbox-prev,
.ps-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  background: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #003D7A;
  box-shadow: 0 4px 12px rgba(0, 61, 122, 0.1);
}

.ps-lightbox-prev {
  left: 1rem;
}

.ps-lightbox-next {
  right: 1rem;
}

#produtos [data-ps-detail-host] {
  display: block;
}

#produtos.ps-detail-mode [data-ps-detail-host] {
  display: block;
}

/* Oculta só o grid do catálogo (filho direto), não o conteúdo interno do breadcrumb */
#produtos.ps-detail-mode > .max-w-7xl {
  display: none;
}

#produtos.ps-detail-mode {
  padding-top: 0;
  padding-bottom: 2.5rem;
}

#ps-product-breadcrumb {
  background: var(--ps-blue-dark);
  padding: 0.75rem 0 1rem;
}

.ps-product-breadcrumb__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem 0.5rem;
  line-height: 1.25;
}

.ps-product-breadcrumb__link {
  display: inline-flex;
  align-items: center;
  line-height: 1.25;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}

.ps-product-breadcrumb__nav button.ps-product-breadcrumb__link {
  font: inherit;
  font-size: inherit;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}

.ps-product-breadcrumb__sep {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
  opacity: 0.6;
  user-select: none;
}

.ps-product-breadcrumb__current {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  opacity: 0.8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 768px) {
  #ps-product-breadcrumb {
    padding: 1rem 0 1.25rem;
  }
}

.ps-detail-thumb {
  opacity: 0.65;
  transition: opacity 0.2s, ring 0.2s;
}

.ps-detail-thumb.is-active,
.ps-detail-thumb:hover {
  opacity: 1;
}

[data-ps-detail-host],
.ps-detail-root {
  display: block !important;
  max-width: 80rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#produtos {
  opacity: 1 !important;
  transform: none !important;
}

.ps-detail-root {
  max-width: 80rem;
  width: 100%;
}

#ps-product-detail {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

#ps-product-detail .ps-detail-grid {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem;
}

@media (min-width: 768px) {
  #ps-product-detail .ps-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 1.5rem 2rem;
  }
}

/* ── Seletor de idioma ── */
.ps-lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.ps-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1rem;
  padding: 0;
  border: 1.5px solid transparent;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  opacity: 0.6;
  overflow: hidden;
  transition: opacity 0.2s, border-color 0.2s, transform 0.15s;
}

.ps-lang-btn:hover {
  opacity: 0.85;
}

.ps-lang-btn.is-active {
  opacity: 1;
  border-color: #0066CC;
  transform: scale(1.08);
}

.ps-lang-flag {
  width: 100%;
  height: 100%;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 61, 122, 0.12);
  pointer-events: none;
}

.ps-lang-switcher--mobile {
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding-top: 0.25rem;
}

.ps-lang-btn--mobile {
  width: 2.25rem;
  height: 1.5rem;
  touch-action: manipulation;
}

/* ── Modal formulário WhatsApp ── */
.ps-wa-modal[hidden] {
  display: none !important;
}

.ps-wa-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.ps-wa-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.ps-wa-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 30, 60, 0.55);
  backdrop-filter: blur(2px);
}

.ps-wa-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 32rem;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.ps-wa-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: #f3f4f6;
  border-radius: 999px;
  font-size: 1.25rem;
  line-height: 1;
  color: #003D7A;
  cursor: pointer;
}

.ps-wa-modal__title {
  font-family: var(--ps-font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #003D7A;
  margin: 0 2rem 0.5rem 0;
}

.ps-wa-modal__subtitle {
  color: #4b5563;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.ps-wa-modal__form label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #003D7A;
  margin-bottom: 0.75rem;
}

.ps-wa-modal__form label span {
  display: block;
  margin-bottom: 0.35rem;
}

.ps-wa-modal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .ps-wa-modal__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ps-wa-modal__form input,
.ps-wa-modal__form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: #111827;
  background: #f9fafb;
  transition: border-color 0.2s, background 0.2s;
}

.ps-wa-modal__form input:focus,
.ps-wa-modal__form textarea:focus {
  outline: none;
  border-color: #0066CC;
  background: #fff;
}

.ps-wa-modal__submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 0.75rem;
  background: linear-gradient(90deg, #003D7A, #0066CC);
  color: #fff;
  font-family: var(--ps-font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: opacity 0.2s;
}

.ps-wa-modal__submit:hover {
  opacity: 0.92;
}

.ps-req {
  color: #ef4444;
}

body.ps-mobile-menu-open {
  overflow: hidden;
}

.ps-b24-form-host {
  min-height: 200px;
  width: 100%;
}

.ps-b24-form-host .bitrix24forms,
.ps-b24-form-host .b24-form,
.ps-b24-iframe,
.ps-b24-form-host iframe {
  width: 100% !important;
  min-height: 520px;
  border: 0;
  display: block;
}

.ps-b24-modal {
  padding: 0.5rem;
}

.ps-b24-modal__panel {
  max-width: 720px;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: min(96vh, 880px);
  max-height: 96vh;
  overflow: hidden;
  padding: 1.25rem 1.5rem 1.5rem;
}

.ps-b24-modal__panel .ps-wa-modal__title {
  font-size: 1.375rem;
}

.ps-b24-modal__panel .ps-wa-modal__subtitle {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.ps-b24-modal__panel .ps-wa-modal__title,
.ps-b24-modal__panel .ps-wa-modal__subtitle {
  flex-shrink: 0;
}

.ps-b24-form-host--modal {
  flex: 1 1 0;
  min-height: 520px;
  background: #f9fafb;
  border-radius: 0.75rem;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.ps-b24-form-host--modal .bitrix24forms,
.ps-b24-form-host--modal iframe {
  width: 100% !important;
  min-height: 480px;
  border: 0;
  display: block;
}

.ps-b24-form-host--modal .ps-b24-iframe {
  height: 100%;
  min-height: 520px;
}

@media (min-width: 768px) {
  .ps-b24-modal {
    padding: 1rem;
  }

  .ps-b24-form-host--modal,
  .ps-b24-form-host--modal .ps-b24-iframe {
    min-height: 580px;
  }
}

body.ps-wa-modal-open {
  overflow: hidden;
}

/* ── Refino visual: seções ── */
.ps-section--spacious {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .ps-section--spacious {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (min-width: 1024px) {
  .ps-section--spacious {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.ps-section--relaxed {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .ps-section--relaxed {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

.ps-section-head {
  margin-bottom: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .ps-section-head {
    margin-bottom: 2.5rem;
  }
}

.ps-section-head--simple .ps-section-title {
  color: var(--ps-blue-dark);
}

.ps-section-head--simple .ps-section-title.ps-section-title--gradient {
  background: linear-gradient(90deg, var(--ps-blue-dark), var(--ps-blue-medium), var(--ps-blue-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ps-section-title {
  font-family: var(--ps-font-display);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.12;
  color: var(--ps-blue-dark);
}

.ps-section-title--xl {
  font-size: clamp(1.875rem, 4vw, 3.75rem);
  line-height: 1.05;
}

.ps-section-title--lg {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
}

.ps-section-title--md {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.ps-section-title--gradient span,
.ps-section-title span.ps-text-gradient {
  background: linear-gradient(90deg, var(--ps-blue-dark), var(--ps-blue-medium), var(--ps-blue-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ps-section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.ps-section-ornament__line {
  height: 2px;
  width: 3rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, transparent, var(--ps-blue-medium), var(--ps-blue-light));
}

.ps-section-ornament__line--reverse {
  background: linear-gradient(90deg, var(--ps-blue-light), var(--ps-blue-medium), transparent);
}

.ps-section-ornament__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--ps-blue-light);
  box-shadow: 0 0 8px rgba(74, 144, 226, 0.55);
}

@media (min-width: 768px) {
  .ps-section-ornament__line {
    width: 5rem;
    height: 3px;
  }

  .ps-section-ornament__dot {
    width: 0.55rem;
    height: 0.55rem;
  }
}

/* ── Cards com hover suave ── */
.ps-card-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ps-card-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--ps-shadow-lg);
}

.ps-card-lift:focus-visible {
  outline: 2px solid var(--ps-blue-light);
  outline-offset: 2px;
}

/* ── Cards trajetória ── */
.ps-journey-card {
  border-radius: var(--ps-radius-lg);
  border: 1px solid rgba(229, 231, 235, 0.9);
  background: #fff;
  box-shadow: var(--ps-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ps-journey-card:hover {
  border-color: rgba(0, 102, 204, 0.35);
  box-shadow: var(--ps-shadow-xl);
  transform: translateY(-4px);
}

.ps-journey-card:focus-visible {
  outline: 2px solid var(--ps-blue-light);
  outline-offset: 2px;
}

.ps-journey-card__media {
  aspect-ratio: 5 / 6;
}

@media (min-width: 768px) {
  .ps-journey-card__media {
    aspect-ratio: 3 / 4;
  }
}

.ps-journey-card__body {
  padding: 0.75rem 0.875rem 0.875rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 5.75rem;
}

@media (min-width: 640px) {
  .ps-journey-card__body {
    padding: 0.875rem 1rem 1rem;
    min-height: 6.25rem;
  }
}

@media (min-width: 768px) {
  .ps-journey-card__body {
    min-height: 6.75rem;
  }
}

.ps-journey-card__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #003d7a;
  margin-bottom: 0.375rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
  transition: color 0.3s ease;
}

.ps-journey-card:hover .ps-journey-card__title,
.ps-journey-card:focus-visible .ps-journey-card__title {
  color: #0066cc;
}

@media (min-width: 640px) {
  .ps-journey-card__title {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .ps-journey-card__title {
    font-size: 1.125rem;
  }
}

.ps-journey-card__desc {
  font-size: 0.6875rem;
  line-height: 1.625;
  color: #4b5563;
  flex: 1;
  margin: 0;
}

@media (min-width: 640px) {
  .ps-journey-card__desc {
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .ps-journey-card__desc {
    font-size: 0.875rem;
  }
}

/* ── Catálogo: placeholder de imagem ── */
.ps-catalog-img-wrap {
  background: linear-gradient(145deg, #eef4fb 0%, #f8fafc 100%);
}

.ps-catalog-img-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  color: var(--ps-blue-medium);
}

.ps-catalog-img-fallback.is-visible {
  display: flex;
}

.ps-catalog-img-fallback img {
  width: 3.5rem;
  height: auto;
  opacity: 0.45;
}

.ps-catalog-img-fallback span {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(0, 61, 122, 0.45);
}

.ps-catalog-card {
  border-radius: var(--ps-radius-xl);
  box-shadow: var(--ps-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ps-catalog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ps-shadow-md);
  border-color: rgba(0, 102, 204, 0.35);
}

/* ── Menu mobile ── */
.ps-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 30, 60, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.ps-mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  width: min(18rem, 88vw);
  background: #fff;
  box-shadow: -8px 0 32px rgba(0, 61, 122, 0.12);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 1.25rem 1rem 1.5rem;
  padding-top: max(1.25rem, env(safe-area-inset-top));
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ps-mobile-panel.is-open {
  transform: translateX(0);
}

.ps-mobile-panel__close {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.5rem;
  border: none;
  border-radius: var(--ps-radius-md);
  background: #eef4fb;
  color: var(--ps-blue-dark);
  cursor: pointer;
  transition: background 0.2s;
}

.ps-mobile-panel__close:hover {
  background: #dbeafe;
}

.ps-mobile-panel__close:focus-visible {
  outline: 2px solid var(--ps-blue-light);
  outline-offset: 2px;
}

.ps-mobile-nav-link {
  display: block;
  padding: 0.875rem 1rem;
  font-family: var(--ps-font-display);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: var(--ps-radius-md);
  color: var(--ps-blue-dark);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}

.ps-mobile-nav-link:hover {
  background: #eff6ff;
}

.ps-mobile-nav-link.is-active {
  background: var(--ps-blue-dark);
  color: #fff;
}

.ps-mobile-nav-link:focus-visible {
  outline: 2px solid var(--ps-blue-light);
  outline-offset: 2px;
}

.ps-mobile-nav-cta {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.875rem 1rem;
  border: none;
  border-radius: var(--ps-radius-md);
  background: var(--ps-blue-dark);
  color: #fff;
  font-family: var(--ps-font-display);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
}

.ps-mobile-nav-cta:hover {
  background: var(--ps-blue-hover);
}

.ps-mobile-nav-cta:focus-visible {
  outline: 2px solid var(--ps-blue-light);
  outline-offset: 2px;
}

/* ── Loader inicial (splash) ── */
.ps-page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ps-blue-dark) 0%, var(--ps-blue-medium) 100%);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.ps-page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ps-page-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
}

.ps-page-loader__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(240px, 72vw);
  max-height: 72px;
  object-fit: contain;
  animation: ps-loader-logo-pulse 1.8s ease-in-out infinite;
}

.ps-page-loader__bar {
  width: min(180px, 50vw);
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.ps-page-loader__bar-fill {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.85);
  animation: ps-loader-bar 1.1s ease-in-out infinite;
}

@keyframes ps-loader-logo-pulse {
  0%, 100% { opacity: 0.88; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

@keyframes ps-loader-bar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

/* ── Motion reduzido ── */
@media (prefers-reduced-motion: reduce) {
  .ps-card-lift:hover,
  .ps-journey-card:hover,
  .ps-catalog-card:hover,
  .ps-wa-float__btn {
    transform: none;
    animation: none;
  }

  .ps-wa-float__pulse {
    animation: none;
    opacity: 0;
  }

  .ps-page-loader__logo,
  .ps-page-loader__bar-fill {
    animation: none;
  }
}

