@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap");

/* Páginas internas do site: a mesma abertura editorial do Início. */
.public-modern {
  --hero-surface: var(--ink);
  --hero-ink: var(--surface);
  --hero-muted: color-mix(in srgb, var(--surface) 78%, var(--ink));
  --hero-accent: color-mix(in srgb, var(--brand) 70%, var(--surface));
  overflow-x: clip;
}
.public-modern h1,
.public-modern h2 {
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.public-modern .editorial-hero {
  position: relative;
  isolation: isolate;
  padding-block: 56px 60px;
  margin-block: 0 40px;
  color: var(--hero-ink);
  text-align: left;
}
.public-modern .editorial-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hero-surface);
  box-shadow: 0 0 0 100vmax var(--hero-surface);
  clip-path: inset(0 -100vmax);
}
.public-modern .editorial-hero h1 {
  color: var(--hero-ink);
  font: 800 clamp(36px, 4.8vw, 62px)/1.08 var(--display);
  letter-spacing: -0.04em;
  max-width: 22ch;
}
.public-modern .editorial-hero :is(h1, h2) em {
  color: var(--hero-accent);
}
.public-modern .editorial-hero :is(.page-text, .intro-copy, .hero-text),
.public-modern .editorial-hero > p {
  color: var(--hero-muted);
  max-width: 68ch;
  font: 400 17px/1.7 var(--sans);
  margin: 20px 0 0;
}
.public-modern .editorial-hero .eyebrow {
  display: none;
}
.public-modern .editorial-hero .button {
  margin-top: 24px;
  background: var(--brand);
  color: var(--hero-ink);
}
.public-modern .laser-intro {
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  align-items: center;
  gap: 64px;
}
.editorial-hero-photo {
  margin: 0;
}
.editorial-hero-photo img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--surface);
}
.public-modern .materials-showcase {
  padding-top: 0;
}
.public-modern .section-heading h2 {
  font-size: clamp(28px, 3.1vw, 40px);
  line-height: 1.15;
}
.public-modern .materials-grid {
  gap: 16px;
}
.public-modern .material-card {
  border-radius: 12px;
}
.public-modern .faq-search {
  max-width: 760px;
  margin: 28px 0 0;
  box-shadow: none;
  padding: 8px;
  border-radius: 12px;
}
.public-modern .faq-search input {
  border: 0;
  background: var(--surface);
}
.public-modern .faq-search button {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--surface);
}
.public-modern .faq-block {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: 40px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}
.public-modern .faq-block-title {
  font-size: 22px;
  padding-top: 18px;
  margin: 0;
}
.public-modern .faq-item:not(.event-card) {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.public-modern .faq-item:not(.event-card) summary {
  padding-block: 22px;
}
.public-modern .faq-item:not(.event-card)[open] {
  background: var(--surface);
  border-radius: 12px;
}
.public-modern .faq-cta {
  text-align: left;
  margin-block: 40px;
  padding: 32px;
  background: var(--surface);
  border-radius: 12px;
}
.public-modern .faq-cta h2 {
  font-size: clamp(26px, 3vw, 36px);
}
.public-modern .support-intro {
  margin-top: -48px;
}
.public-modern .contact-hub {
  gap: 32px;
  margin-block: 32px 48px;
}
.public-modern .contact-card {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 28px 0;
  box-shadow: none;
}
.public-modern .contact-card h2 {
  font-size: 26px;
}
.public-modern .faq-guides h2 {
  font-size: 32px;
}
.public-modern .faq-guide {
  background: var(--surface);
  padding: 18px 20px;
  border-radius: 8px;
}
.public-modern.events-page main > .section-block {
  padding-top: 0;
}
.public-modern .events-photos {
  gap: 24px;
  margin-block: 0 40px;
}
.public-modern .events-photos figure {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
}
.public-modern .events-photos img {
  aspect-ratio: 4/3;
  object-fit: contain;
}
.public-modern .events-photos figcaption {
  padding: 16px 20px;
  font-weight: 700;
  color: var(--ink);
}
.public-modern .event-card-icon {
  width: 48px;
  height: 48px;
}
.public-modern .event-card summary {
  align-items: flex-start;
  text-align: left;
  min-height: 144px;
  padding: 24px;
}
.public-modern .about-contact {
  padding-block: 40px 64px;
}
.public-modern .about-contact h2 {
  font-size: clamp(30px, 3.5vw, 44px);
}
.public-modern .about-contact .eyebrow {
  display: none;
}
.public-modern .contact-overview {
  padding-top: 0;
  gap: 64px;
}
.public-modern .contact-map-area iframe {
  border-radius: 12px;
}
.public-modern .contact-email {
  overflow-wrap: normal;
}
.public-modern :is(a, button, input, summary, select, textarea):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}
.public-modern ::selection {
  background: var(--brand);
  color: var(--surface);
}
.public-modern input {
  caret-color: var(--brand);
}
html:has(.public-modern) {
  scrollbar-color: var(--muted) var(--paper);
  scrollbar-gutter: stable;
}
@media (max-width: 760px) {
  .public-modern .editorial-hero {
    padding-block: 32px 36px;
    margin-bottom: 28px;
  }
  .public-modern .editorial-hero h1 {
    font-size: clamp(32px, 8.5vw, 42px);
  }
  .public-modern .editorial-hero :is(.page-text, .intro-copy, .hero-text),
  .public-modern .editorial-hero > p {
    font-size: 16px;
  }
  .public-modern .laser-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .editorial-hero-photo img {
    height: 220px;
    object-fit: contain;
  }
  .public-modern .faq-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .public-modern .faq-block-title {
    padding-top: 0;
  }
  .public-modern .support-intro {
    margin-top: -32px;
  }
  .public-modern .contact-hub {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .public-modern .events-photos {
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .public-modern .events-photos img {
    aspect-ratio: 1;
  }
  .public-modern .events-photos figcaption {
    font-size: 12px;
    padding: 12px 8px;
    overflow-wrap: normal;
  }
  .public-modern .contact-overview {
    gap: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .public-modern *,
  .public-modern *::before,
  .public-modern *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.public-modern .editorial-hero .page-text :is(p, li, strong),
.public-modern .editorial-hero .intro-copy p {
  color: inherit;
}
.public-modern.support-hub-page main.section-block {
  padding-top: 0;
}
.public-modern .support-intro {
  margin-top: 0;
}
.public-modern .faq-block[hidden],
.public-modern .faq-item[hidden] {
  display: none;
}
@media (max-width: 900px) {
  .public-modern .contact-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}
/* Fotos reais no destaque; um único enquadramento em todas as telas. */
.laser-carousel {
  position: relative;
  width: 100%;
  min-width: 0;
}
.laser-carousel-viewport {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface);
}
.laser-carousel-slide {
  height: 100%;
  margin: 0;
  position: relative;
}
.laser-carousel-slide[hidden],
.laser-carousel-controls[hidden] {
  display: none;
}
.laser-carousel-photo {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.public-modern .laser-carousel-photo:focus-visible {
  outline-offset: -4px;
}
.laser-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.laser-carousel-slide figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font: 600 13px/1.5 var(--sans);
  pointer-events: none;
}
.laser-carousel-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  pointer-events: none;
}
.laser-carousel-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 50%;
  color: var(--hero-ink);
  background: color-mix(in srgb, var(--ink) 65%, transparent);
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s;
}
.laser-carousel-controls button:hover,
.laser-carousel-controls button:focus-visible {
  background: var(--ink);
}
.laser-carousel-controls svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.public-modern .laser-engraving-summary {
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding-bottom: 48px;
}
.laser-engraving-summary .laser-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.laser-engraving-action {
  padding-top: 8px;
}
@media (max-width: 760px) {
  .laser-carousel {
    max-width: 420px;
    justify-self: center;
  }
  .laser-engraving-summary .laser-feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@keyframes laser-carousel-enter {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .laser-carousel-slide:not([hidden]) {
    animation: laser-carousel-enter 0.28s ease-out;
  }
}
/* Indicadores compactos: posição atual, com contraste em qualquer fotografia. */
.laser-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  pointer-events: none;
}
.laser-carousel-dots[hidden] {
  display: none;
}
.laser-carousel-dots span {
  display: block;
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 6px;
  background: var(--surface);
  opacity: 0.5;
  transition:
    width 0.2s,
    opacity 0.2s;
}
.laser-carousel-dots .is-current {
  width: 18px;
  opacity: 1;
}
.laser-carousel-slide figcaption {
  top: 12px;
  bottom: auto;
}
.laser-carousel-slide img {
  transform: scale(var(--laser-photo-scale, 1));
}
