/* /placas — estilos da página da KLC Placas.
 *
 * Carregado DEPOIS de style.css: herda tokens (--bg, --accent, --border-dark,
 * --radius), header, footer e botões. Aqui fica o exclusivo da página: hero, desenho das placas, vitrine,
 * perguntas e modal.
 *
 * A placa é ilustração em HTML/CSS (montada em js/placas.js). Tudo dentro dela
 * é medido em cqw (largura da própria placa), então o mesmo desenho serve no
 * hero, no card e no modal só mudando a largura.
 *
 * Breakpoints seguem os do site: 980px, 720px e 480px.
 */

#modelos {
  scroll-margin-top: 92px;
}

.pl-eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pl-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 2px;
  border: 0;
  background: none;
  color: var(--text-white-dim);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--border-dark);
  text-underline-offset: 5px;
  cursor: pointer;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.pl-link:hover {
  color: var(--text-white);
  text-decoration-color: var(--accent);
}

/* ícone oficial do WhatsApp como máscara: herda a cor do texto */
.pl-wa-icon {
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background-color: currentColor;
  -webkit-mask: url("../assets/whatsapp-mask.png") center / contain no-repeat;
  mask: url("../assets/whatsapp-mask.png") center / contain no-repeat;
}

.pl-wa-icon--sm {
  width: 17px;
  height: 17px;
}

/* ---------------------------------------------------------------- hero */

.pl-hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
}

.pl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hex-pattern);
  background-size: var(--hex-size);
  opacity: var(--hex-opacity);
  pointer-events: none;
}

.pl-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 48px;
}

.pl-hero__title {
  margin: 0 0 20px;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.pl-hero__subtitle {
  max-width: 540px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-white-dim);
}

.pl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 32px;
}

.pl-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 36px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-white-dim);
}

.pl-hero__facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pl-hero__facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(38, 224, 232, 0.5);
}

.pl-hero__content > * {
  animation: hero-fade-up 0.8s cubic-bezier(0.16, 0.84, 0.44, 1) both;
}

.pl-hero__subtitle { animation-delay: 0.15s; }
.pl-hero__actions { animation-delay: 0.25s; }
.pl-hero__facts { animation-delay: 0.35s; }

.pl-hero__visual {
  position: relative;
  height: 520px;
  animation: hero-fade-up 0.9s cubic-bezier(0.16, 0.84, 0.44, 1) 0.4s both;
}

/* brilho ciano por trás das placas */
.pl-hero__visual::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 380px;
  height: 380px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 224, 232, 0.16), transparent 68%);
  pointer-events: none;
}

/* dois displays em L: Google branca na frente, Instagram preta atrás */
.pl-hero__stand {
  position: absolute;
  left: 50%;
}

.pl-hero__stand--front {
  z-index: 2;
  bottom: 24px;
  transform: translateX(-30%);
  animation: pl-float 7s ease-in-out infinite;
}

.pl-hero__stand--front .stand {
  --w: 250px;
  --rx: -9deg;
  --ry: -18deg;
}

.pl-hero__stand--back {
  bottom: 74px;
  transform: translateX(-108%);
  opacity: 0.8;
}

.pl-hero__stand--back .stand {
  --w: 190px;
  --rx: -9deg;
  --ry: 26deg;
}

@keyframes pl-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@media (prefers-reduced-motion: reduce) {
  .pl-hero__content > *,
  .pl-hero__visual,
  .pl-hero__stand--front {
    animation: none;
  }
}

/* ------------------------------------------------------- desenho da placa */

.plate {
  container-type: inline-size;
  position: relative;
  width: 100%;
  transition: transform 0.25s ease-out;
  transform-style: preserve-3d;
}

/* o acrílico: borda clara, reflexo e a margem transparente em volta da impressão */
.plate__glass {
  position: relative;
  z-index: 1;
  aspect-ratio: 2 / 3;
  padding: 4.5cqw;
  border-radius: 5cqw;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05) 42%, rgba(255, 255, 255, 0.12));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 30px 50px -24px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}

.plate__glass::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.16) 48%, rgba(255, 255, 255, 0.04) 53%, transparent 58%);
  pointer-events: none;
}

.plate__print {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 9cqw 7cqw 7cqw;
  border-radius: 3cqw;
  background: linear-gradient(180deg, #151515, #0B0B0B);
  color: #FFFFFF;
  text-align: center;
}

.plate__top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plate__icon {
  display: block;
  width: 15cqw;
  height: 15cqw;
  margin-bottom: 5cqw;
}

.plate__icon--wa {
  background-color: #25D366;
  -webkit-mask: url("../assets/whatsapp-mask.png") center / contain no-repeat;
  mask: url("../assets/whatsapp-mask.png") center / contain no-repeat;
}

.plate__title {
  font-size: 8.2cqw;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.plate__sub {
  margin-top: 2.6cqw;
  font-size: 4.4cqw;
  color: rgba(255, 255, 255, 0.6);
}

.plate__stars {
  margin-top: 2cqw;
  font-size: 6cqw;
  letter-spacing: 1cqw;
  line-height: 1;
  color: #FBBC05;
}

.plate__qr {
  width: 48cqw;
  padding: 3.5cqw;
  border-radius: 3cqw;
  background: #FFFFFF;
}

.plate__qr img {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.plate__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2cqw;
  font-size: 3.7cqw;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.72);
}

.plate__hint svg {
  flex-shrink: 0;
  width: 6.5cqw;
  height: 6.5cqw;
  color: #26E0E8;
}

/* base do display de balcão */
.plate__base {
  position: relative;
  height: 10cqw;
  margin: -3cqw 10cqw 0;
  border-radius: 1.5cqw 1.5cqw 2.5cqw 2.5cqw;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, #4A4A4A, #262626 40%, #141414);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

[data-theme="light"] .plate__base {
  border-color: rgba(10, 10, 10, 0.12);
  background: linear-gradient(180deg, #5A5A5A, #2E2E2E 40%, #1A1A1A);
}

.plate__base::after {
  content: "";
  position: absolute;
  left: -14%;
  right: -14%;
  bottom: -5cqw;
  height: 5cqw;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), transparent 70%);
}

[data-theme="light"] .plate__glass {
  border-color: rgba(10, 10, 10, 0.16);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(220, 226, 230, 0.6) 45%, rgba(255, 255, 255, 0.85));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 30px 50px -26px rgba(10, 10, 10, 0.45);
}

[data-theme="light"] .plate__base::after {
  background: radial-gradient(ellipse at center, rgba(10, 10, 10, 0.25), transparent 70%);
}

/* ------------------------------------------------------- seções comuns */

.pl-section {
  padding: 96px 0;
  border-top: 1px solid var(--border-dark);
}

.pl-section__head {
  max-width: 720px;
  margin-bottom: 48px;
}

.pl-section__title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.pl-section__subtitle {
  margin-top: 16px;
  max-width: 600px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-white-dim);
}

/* -------------------------------------------- display em L (placa real) */

/* Recriação em CSS 3D do display de acrílico em L
   (marketing/imagens/klc-placas/modelo-placa.png): a placa inclina para trás
   a partir da dobra de baixo e a base plana vai para o fundo. --w é a largura
   da placa; altura e base saem dela. --rx/--ry definem o ângulo de câmera. */

.stand {
  --w: 240px;
  --rx: -10deg;
  --ry: -24deg;
  --lean: 11deg;
  position: relative;
  width: var(--w);
  height: calc(var(--w) * 1.66);
  perspective: calc(var(--w) * 5);
  perspective-origin: 50% 35%;
}

.stand__obj {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--w) * 0.08);
  height: calc(var(--w) * 1.5);
  transform-style: preserve-3d;
  transform-origin: 50% 100% calc(var(--w) * -0.22);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
}

.stand.is-idle .stand__obj {
  animation: stand-sway 9s ease-in-out infinite;
}

@keyframes stand-sway {
  0%, 100% { transform: rotateX(-10deg) rotateY(-24deg); }
  50% { transform: rotateX(-8deg) rotateY(14deg); }
}

@media (prefers-reduced-motion: reduce) {
  .stand.is-idle .stand__obj { animation: none; }
}

/* a chapa da frente: acrílico com a arte encostada atrás */
.stand__panel {
  position: absolute;
  inset: 0;
  padding: calc(var(--w) * 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: calc(var(--w) * 0.022);
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 calc(var(--w) * -0.02) calc(var(--w) * 0.03) rgba(255, 255, 255, 0.12);
  transform-origin: 50% 100%;
  transform: rotateX(var(--lean));
}

/* reflexo do acrílico por cima da arte */
.stand__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.06) 22%, transparent 38%, transparent 62%, rgba(255, 255, 255, 0.1) 76%, transparent 86%);
  pointer-events: none;
}

.stand__print {
  container-type: inline-size;
  width: 100%;
  height: 100%;
}

/* a base plana, deitada atrás da dobra */
.stand__base {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--w) * 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: calc(var(--w) * 0.03);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.14));
  transform-origin: 50% 100%;
  transform: rotateX(90deg);
}

.stand__shadow {
  position: absolute;
  left: -16%;
  right: -16%;
  bottom: calc(var(--w) * -0.06);
  height: calc(var(--w) * 0.66);
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 60%, rgba(0, 0, 0, 0.6), transparent 70%);
  transform-origin: 50% 100%;
  transform: rotateX(90deg) translateZ(-2px);
  filter: blur(6px);
}

[data-theme="light"] .stand__panel {
  border-color: rgba(10, 10, 10, 0.28);
  background: rgba(255, 255, 255, 0.35);
}

[data-theme="light"] .stand__base {
  border-color: rgba(10, 10, 10, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(10, 10, 10, 0.05));
}

[data-theme="light"] .stand__shadow {
  background: radial-gradient(ellipse at 50% 60%, rgba(10, 10, 10, 0.3), transparent 70%);
}

/* ------------------------------------------------- arte impressa (real) */

/* Layout da placa real (fotos em assets/placas/). Tudo em cqw da arte. */
.print {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 10cqw 8cqw 6.5cqw;
  overflow: hidden;
  border-radius: 1cqw;
  background: #FFFFFF;
  color: #141414;
  font-family: 'Michroma', 'Inter', sans-serif;
  text-align: center;
}

.print--preta {
  background: #0B0B0B;
  color: #FFFFFF;
}

/* faixas coloridas de cima e de baixo */
.print::before,
.print::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2.6cqw;
  background: var(--stripe);
}

.print::before { top: 0; }
.print::after { bottom: 0; }

.print__logo {
  display: grid;
  place-items: center;
  width: 36cqw;
  height: 36cqw;
}

.print__logo svg,
.print__logo .plate__icon {
  width: 100%;
  height: 100%;
  margin: 0;
}

.print--instagram .print__logo svg {
  stroke-width: 2.4;
}

.print--cardapio .print__logo {
  width: 32cqw;
  height: 38cqw;
}

.print--cardapio .print__brand {
  font-family: 'Kaushan Script', cursive;
  font-size: 10cqw;
  font-weight: 400;
  letter-spacing: 0;
}

.print__stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6cqw;
  margin-top: -2cqw;
}

.print__stars svg {
  width: 9cqw;
  height: 9cqw;
}

.print__stars svg:nth-child(2),
.print__stars svg:nth-child(4) {
  width: 10.5cqw;
  height: 10.5cqw;
}

.print__stars svg:nth-child(3) {
  width: 13cqw;
  height: 13cqw;
}

.print__title {
  font-size: 5.6cqw;
  line-height: 1.25;
  text-transform: uppercase;
}

.print__codes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5cqw;
  width: 100%;
}

.print__box {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 3.5cqw;
  border: 1.1cqw solid currentColor;
  border-radius: 4.5cqw;
}

.print__qr {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.print--preta .print__qr {
  filter: invert(1);
}

.print__nfc {
  width: 86%;
  height: 86%;
}

.print__caption {
  margin-top: 1.8cqw;
  font-size: 3.1cqw;
  line-height: 1.3;
  text-transform: uppercase;
}

.print__brand {
  font-family: 'Inter', sans-serif;
  font-size: 8.6cqw;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* Pix: moldura em volta da arte inteira no lugar das duas faixas */
.print--pix {
  --pix-gap: #FFFFFF;
  box-shadow: inset 0 0 0 2.4cqw #32BCAD;
}

.print--pix.print--preta {
  --pix-gap: #0B0B0B;
}

.print--pix::before,
.print--pix::after {
  display: none;
}

.print--pix .print__logo {
  width: 42cqw;
  height: 42cqw;
}

.print--pix .print__title {
  font-size: 6.4cqw;
}

.print--pix .print__brand {
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.print__brand-pix {
  width: 7.4cqw;
  height: 7.4cqw;
}

.print--whatsapp .print__brand {
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  color: #25D366;
  font-weight: 700;
}

.print__brand-icon {
  width: 8.6cqw;
  height: 8.6cqw;
  background-color: #25D366;
  -webkit-mask: url("../assets/whatsapp-mask.png") center / contain no-repeat;
  mask: url("../assets/whatsapp-mask.png") center / contain no-repeat;
}

/* Personalizada: arte de exemplo de um pet shop, medida na arte original
   (assets/placas/personalizada.jpg) endireitada. Posições em cqw a partir do
   canto de cima, já que o layout não segue a coluna das outras placas. */
.print--custom {
  display: block;
  padding: 0;
  background: linear-gradient(125deg, #FFFFFF 0%, #F3F5F8 44%, #FFFFFF 56%, #EDF0F4 100%);
  color: #1D4C9A;
  font-family: 'PT Serif', Georgia, serif;
}

/* os dois círculos azul-claros, cortados pelas bordas de cima e de baixo */
.print--custom::before,
.print--custom::after {
  left: auto;
  border-radius: 50%;
  background: #9CCAF4;
}

.print--custom::before {
  top: -69cqw;
  left: 0.8cqw;
  width: 98.4cqw;
  height: 98.4cqw;
}

.print--custom::after {
  bottom: -74cqw;
  left: 7.5cqw;
  width: 85cqw;
  height: 85cqw;
}

.print--custom p {
  position: absolute;
  margin: 0;
}

.custom__photo,
.custom__pet {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  border-radius: 50%;
  background: #FFFFFF;
}

.custom__photo {
  top: 6.5cqw;
  left: 27.5cqw;
  width: 50.4cqw;
  height: 50.4cqw;
  border: 1.1cqw solid #5AAEEE;
}

.custom__pet {
  z-index: 2;
  top: 40.7cqw;
  left: 64.2cqw;
  width: 19cqw;
  height: 19cqw;
  padding: 0.9cqw;
  border: 0.8cqw solid #1D4C9A;
}

.custom__photo img,
.custom__pet img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.custom__scan {
  top: 63.4cqw;
  left: 7.6cqw;
  font-size: 3.3cqw;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}

.custom__pin {
  position: absolute;
  top: 60.6cqw;
  left: 37.4cqw;
  display: grid;
  place-items: center;
  width: 9.4cqw;
  height: 9.4cqw;
  border: 0.9cqw solid #1D4C9A;
  border-radius: 50%;
  background: #FFFFFF;
}

/* a ponta do pin, apontando para o QR Code */
.custom__pin::after {
  content: "";
  position: absolute;
  bottom: -2.6cqw;
  left: 50%;
  border: 1.4cqw solid transparent;
  border-top: 1.8cqw solid #1D4C9A;
  border-bottom: 0;
  transform: translateX(-50%);
}

.custom__pin svg {
  width: 5.2cqw;
  height: 5.2cqw;
}

.custom__arrow {
  position: absolute;
  top: 70.6cqw;
  left: 47cqw;
  width: 11cqw;
  height: 22cqw;
  color: #5AAEEE;
}

.custom__qr {
  position: absolute;
  top: 75.8cqw;
  left: 11.3cqw;
  width: 37.3cqw;
  height: 37.3cqw;
  background-color: #1D4C9A;
  -webkit-mask: url("../assets/placas/qr-placas.svg") center / contain no-repeat;
  mask: url("../assets/placas/qr-placas.svg") center / contain no-repeat;
}

.custom__title {
  top: 67.4cqw;
  right: 2.5cqw;
  font-size: 11.2cqw;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.custom__text {
  top: 84.6cqw;
  left: 59cqw;
  width: 37.5cqw;
  color: #3B82C9;
  font-size: 3.9cqw;
  line-height: 1.18;
  text-align: justify;
  text-align-last: left;
  text-transform: uppercase;
}

.custom__thanks {
  top: 118.7cqw;
  left: 24.2cqw;
  display: grid;
  place-items: center;
  width: 56.7cqw;
  height: 9.3cqw;
  border: 0.5cqw solid #9CCAF4;
  border-radius: 999px;
  background: linear-gradient(180deg, #2A63C4, #1A4B9E);
  color: #FFFFFF;
  font-size: 3.1cqw;
  font-style: italic;
  text-transform: uppercase;
}

.custom__phone {
  top: 131cqw;
  left: 0;
  right: 0;
  padding-left: 5cqw;
  color: #3A3F47;
  font-size: 2.7cqw;
  letter-spacing: 0.32em;
}

/* ------------------------------------------------------- acabamento */

.pl-finish {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pl-finish__opt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 7px;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--text-white-dim);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.pl-finish__opt:hover {
  color: var(--text-white);
  border-color: var(--btn-outline-border-hover);
}

.pl-finish__opt.is-active {
  color: var(--text-white);
  border-color: rgba(38, 224, 232, 0.55);
  background: var(--accent-dim);
}

.pl-finish__opt:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.pl-finish__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(128, 128, 128, 0.55);
}

.pl-finish__dot--branca { background: #FFFFFF; }
.pl-finish__dot--preta { background: #0B0B0B; }

/* -------------------------------------------------------------- vitrine */

/* 5 modelos: 3 por linha no desktop, a última linha centralizada */
.pl-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.pl-grid > .pl-card {
  flex: 0 1 calc((100% - 40px) / 3);
  min-width: 0;
}

.pl-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.3s ease, opacity 0.7s cubic-bezier(0.16, 0.84, 0.44, 1), transform 0.7s cubic-bezier(0.16, 0.84, 0.44, 1);
  /* o shorthand acima zeraria o atraso escalonado do .reveal */
  transition-delay: 0s, var(--delay, 0ms), var(--delay, 0ms);
}

.pl-card:hover {
  border-color: rgba(38, 224, 232, 0.35);
}

/* mesma altura para foto e desenho: palco quadrado */
.pl-card__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--border-dark);
  background:
    radial-gradient(circle at 50% 45%, var(--glow, var(--accent-dim)), transparent 65%),
    var(--bg-card-2);
  cursor: zoom-in;
}

.pl-card__stage .plate {
  width: 44%;
  transition: transform 0.45s cubic-bezier(0.16, 0.84, 0.44, 1);
}

.pl-card:hover .pl-card__stage .plate {
  transform: translateY(-6px);
}

.pl-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 0.84, 0.44, 1);
}

.pl-card:hover .pl-card__photo {
  transform: scale(1.04);
}

.pl-card__body .pl-finish {
  margin: 2px 0 12px;
}

.pl-card__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  background: var(--header-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text-white);
  font-size: 11.5px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.pl-card__stage:hover .pl-card__zoom,
.pl-card__stage:focus-visible .pl-card__zoom {
  opacity: 1;
  transform: translateY(0);
}

.pl-card__stage:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.pl-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 24px;
}

.pl-card__title {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 700;
}

.pl-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-white-dim);
}

.pl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.pl-tag {
  padding: 5px 10px;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-white-dim);
}

.pl-card__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.pl-card__actions .btn {
  width: 100%;
}

/* botão de orçamento no verde do WhatsApp (hero e cards), para chamar atenção */
.btn--wa {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.28);
  transition: transform 0.25s cubic-bezier(0.16, 0.84, 0.44, 1), background 0.2s ease, box-shadow 0.2s ease;
}

.btn--wa:hover {
  background: #1FB855;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.36);
}

.pl-models__note {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--text-white-dim);
  opacity: 0.8;
}

/* ------------------------------------------------------------- perguntas */

.pl-faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 56px;
  align-items: start;
}

.pl-faq__inner .pl-section__head {
  margin-bottom: 0;
}

.pl-faq__list {
  border-top: 1px solid var(--border-dark);
}

.pl-faq__item {
  border-bottom: 1px solid var(--border-dark);
}

.pl-faq__item summary {
  position: relative;
  padding: 22px 40px 22px 0;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.pl-faq__item summary::-webkit-details-marker {
  display: none;
}

.pl-faq__item summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border: solid var(--text-white-dim);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 0.25s ease, margin-top 0.25s ease;
}

.pl-faq__item[open] summary::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}

.pl-faq__item summary:hover {
  color: var(--accent);
}

[data-theme="light"] .pl-faq__item summary:hover {
  color: var(--text-white);
}

.pl-faq__item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.pl-faq__item p {
  max-width: 620px;
  padding-bottom: 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-white-dim);
}

/* ---------------------------------------------------------------- modal */

.pl-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pl-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.pl-modal__dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  max-width: 940px;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  background: var(--bg-card);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.35s cubic-bezier(0.16, 0.84, 0.44, 1);
}

.pl-modal.is-open .pl-modal__dialog {
  transform: translateY(0) scale(1);
}

.pl-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text-white);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.pl-modal__close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pl-modal__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 40px 24px 28px;
  border-right: 1px solid var(--border-dark);
  background:
    radial-gradient(circle at 50% 42%, var(--glow, var(--accent-dim)), transparent 65%),
    var(--bg-card-2);
}

.pl-modal__viewer {
  display: flex;
  justify-content: center;
  width: 100%;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.pl-modal__stage.is-dragging .pl-modal__viewer {
  cursor: grabbing;
}

.pl-modal__viewer .stand {
  --w: 230px;
}

.pl-modal__controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.pl-modal__hint {
  font-size: 12px;
  color: var(--text-white-dim);
}

.pl-modal__example {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-white);
}

.pl-modal__body {
  padding: 44px 40px 40px;
}

.pl-modal__title {
  margin: -6px 0 14px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pl-modal__label {
  margin: 24px 0 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-white-dim);
}

.pl-modal__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-white-dim);
}

.pl-modal__body .pl-tags {
  margin-top: 0;
}

.pl-modal__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
}

.pl-modal__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pl-modal__list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.pl-modal__actions {
  margin-top: 30px;
}

/* ------------------------------------------------------------ responsivo */

@media (max-width: 1100px) {
  .pl-grid > .pl-card {
    flex-basis: calc((100% - 20px) / 2);
  }
}

@media (max-width: 980px) {
  .pl-hero {
    padding: 64px 0 72px;
  }

  .pl-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pl-hero__visual {
    height: 470px;
  }

  .pl-faq__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pl-faq__inner .pl-section__head {
    margin-bottom: 0;
  }
}

@media (max-width: 720px) {
  .pl-section {
    padding: 72px 0;
  }

  .pl-section__head {
    margin-bottom: 36px;
  }

  .pl-hero {
    padding: 48px 0 56px;
  }

  .pl-hero__title {
    font-size: 32px;
  }

  .pl-hero__visual {
    height: 380px;
  }

  .pl-hero__stand--front .stand {
    --w: 196px;
  }

  .pl-hero__stand--back {
    bottom: 60px;
  }

  .pl-hero__stand--back .stand {
    --w: 150px;
  }

  .pl-grid > .pl-card {
    flex-basis: 100%;
  }

  .pl-card__zoom {
    opacity: 1;
    transform: none;
  }

  .pl-modal {
    align-items: flex-end;
    padding: 12px;
  }

  .pl-modal__dialog {
    grid-template-columns: 1fr;
  }

  .pl-modal__stage {
    padding: 36px 20px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--border-dark);
  }

  .pl-modal__viewer .stand {
    --w: 190px;
  }

  .pl-modal__body {
    padding: 28px 22px 30px;
  }

  .pl-modal__title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .pl-hero__visual {
    height: 340px;
  }

  .pl-hero__stand--front .stand {
    --w: 176px;
  }

  .pl-hero__stand--back .stand {
    --w: 134px;
  }
}
