/* =========================================================
   PEIXOTO SOUZA — Landing Page
   Impressão 3D · Laser · Custom Made
   ========================================================= */

:root {
  --navy: #1b2a3a;
  --navy-light: #24374b;
  --navy-dark: #131e2a;
  --orange: #f2641e;
  --orange-light: #ff8a4d;
  --cream: #eae7e1;
  --cream-dark: #ddd9d1;
  --white: #ffffff;
  --gray: #8a96a3;
  --gray-light: #c3ccd4;
  --text: #2b3744;

  --container: 1180px;
  --radius: 18px;
  --radius-sm: 10px;

  --shadow: 0 20px 50px -25px rgba(19, 30, 42, 0.45);
  --transition: 0.25s ease;

  font-size: 16px;
}

/* ---------- Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* O atributo hidden tem que vencer qualquer display do nosso CSS.
   Sem isto, regras como `.stage__fallback { display: flex }` deixavam
   elementos ocultos aparecendo na tela (e bloqueando cliques). */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-orange {
  color: var(--orange);
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 25px -10px rgba(242, 100, 30, 0.7);
}

.btn--primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(242, 100, 30, 0.8);
}

.btn--outline {
  border-color: rgba(27, 42, 58, 0.15);
  color: var(--navy);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn .icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---------- Logo ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo__icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.logo__hex {
  fill: none;
  stroke: var(--navy);
  stroke-width: 4;
}

.logo__letters {
  fill: var(--navy);
  font-family: "Poppins", sans-serif;
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -2px;
  transform: translateY(2px);
}

.logo__pin {
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.35));
}

.logo__line {
  stroke: var(--orange);
  stroke-width: 5.5;
  stroke-linecap: round;
}

.logo__dot {
  fill: var(--orange);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo__text strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.logo__text small {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(234, 231, 225, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27, 42, 58, 0.08);
  transition: box-shadow var(--transition);
}

.header.is-scrolled {
  box-shadow: 0 10px 30px -20px rgba(19, 30, 42, 0.5);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  position: relative;
  white-space: nowrap;
  transition: color var(--transition);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  padding: 12px 24px;
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 0 auto;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Section heads ---------- */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head h1,
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.section-sub {
  margin-top: 14px;
  color: var(--gray);
  font-size: 1rem;
}

.section-sub a {
  color: var(--orange);
  font-weight: 700;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 110px;
}

.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__hex {
  position: absolute;
  fill: none;
  stroke: var(--navy);
  opacity: 0.06;
}

.hero__hex--1 {
  width: 320px;
  height: 320px;
  top: -90px;
  right: -80px;
  stroke-width: 3;
}

.hero__hex--2 {
  width: 180px;
  height: 180px;
  bottom: 40px;
  right: 18%;
  stroke: var(--orange);
  opacity: 0.12;
  stroke-width: 4;
}

.hero__hex--3 {
  width: 240px;
  height: 240px;
  bottom: -100px;
  left: -60px;
  stroke-width: 3;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.tag {
  display: inline-block;
  background: rgba(27, 42, 58, 0.06);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero__content h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 22px;
}

.hero__text {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero visual card (mirrors business card) */
.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__card {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, var(--navy-light), var(--navy-dark));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--white);
  border-left: 8px solid var(--orange);
  padding: 32px;
}

.hero__card-hex {
  width: 110px;
  height: 110px;
  fill: none;
  stroke: var(--white);
  stroke-width: 4;
}

.hero__card-hex text {
  fill: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 50px;
  font-weight: 900;
  letter-spacing: -3px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
}

.hero__card-hex line {
  stroke: var(--orange);
  stroke-width: 6;
  stroke-linecap: round;
}

.hero__card-hex circle {
  fill: var(--orange);
}

.hero__card strong {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.hero__card small {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--orange);
}

/* ---------- Services ---------- */
.services {
  padding: 100px 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--orange);
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--navy);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card__icon svg {
  width: 30px;
  height: 30px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ---------- About ---------- */
.about {
  padding: 100px 0;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.about__visual {
  display: flex;
  justify-content: center;
}

.about__hex--big {
  width: 100%;
  max-width: 320px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.25);
  stroke-width: 3;
}

.about__hex--big text {
  fill: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 50px;
  font-weight: 900;
  letter-spacing: -3px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
}

.about__hex--big line {
  stroke: var(--orange);
  stroke-width: 6;
  stroke-linecap: round;
}

.about__hex--big circle {
  fill: var(--orange);
}

.about .section-tag {
  color: var(--orange-light);
}

.about__content h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 18px;
}

.about__content > p {
  color: var(--gray-light);
  max-width: 560px;
  margin-bottom: 36px;
}

.about__list {
  display: grid;
  gap: 22px;
}

.about__list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.about__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(242, 100, 30, 0.15);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
}

.about__list strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 4px;
  color: var(--white);
}

.about__list p {
  color: var(--gray-light);
  font-size: 0.92rem;
}

/* ---------- Gallery ---------- */
.gallery {
  padding: 100px 0;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery__item {
  aspect-ratio: 1;
  background: var(--white);
  border: 2px dashed var(--gray-light);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gray);
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}

.gallery__item:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-4px);
}

.gallery__item svg {
  width: 42px;
  height: 42px;
}

.gallery__item span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- Contact ---------- */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: 110px 0;
  text-align: center;
}

.contact .hero__hex {
  stroke: var(--white);
}

.contact .hero__hex--3 {
  stroke: var(--orange);
}

.contact__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.contact .section-tag {
  color: var(--orange-light);
}

.contact__inner h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  margin-bottom: 16px;
}

.contact__inner > p {
  color: var(--gray-light);
  margin-bottom: 40px;
}

.contact__cards {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.contact__card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 18px 26px;
  text-align: left;
  transition: background var(--transition), transform var(--transition);
}

.contact__card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.contact__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.contact__card small {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--gray-light);
  margin-bottom: 4px;
}

.contact__card strong {
  font-size: 1.05rem;
  font-weight: 700;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-dark);
  color: var(--gray-light);
  padding: 56px 0 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo--footer .logo__hex {
  stroke: var(--white);
}

.logo--footer .logo__letters {
  fill: var(--white);
}

.logo--footer .logo__text strong {
  color: var(--white);
}

.footer__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer__links a {
  font-weight: 600;
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--orange);
}

.footer__social {
  display: flex;
  gap: 14px;
}

.footer__social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.footer__social a:hover {
  background: var(--orange);
  color: var(--white);
}

.footer__social .icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px 24px 28px;
  max-width: var(--container);
  margin: 0 auto;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.footer__bottom p:first-child {
  font-weight: 700;
  color: var(--gray-light);
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -10px rgba(37, 211, 102, 0.7);
  z-index: 200;
  transition: transform var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

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

  .hero__text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .about__list {
    text-align: left;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* O menu vira sanduíche já em 900px: com 5 itens + botão, o menu
   horizontal ficava espremido contra a logo e quebrava linha. */
@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 16px 24px 20px;
    gap: 2px;
    border-bottom: 1px solid rgba(27, 42, 58, 0.08);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }

  /* No celular cada item vira uma faixa de ~44px: só o texto (24px de
     altura) é alvo pequeno demais para o dedo. */
  .nav__link {
    padding: 10px 0;
    gap: 6px;
  }

  .nav.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .nav__cta {
    order: -1;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 760px) {
  .services__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .hero {
    padding: 60px 0 80px;
  }

  .services,
  .about,
  .gallery,
  .contact {
    padding: 70px 0;
  }

  .contact__cards {
    flex-direction: column;
    align-items: stretch;
  }

  .btn--lg {
    width: 100%;
  }
}

/* =========================================================
   Order Form Page (pedido.html)
   ========================================================= */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav__link--active {
  color: var(--orange);
}

.nav__link--active::after {
  width: 100%;
}

/* ---------- Order hero ---------- */
.order-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 48px;
  text-align: center;
}

.order-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.order-hero__back {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 18px;
  transition: color var(--transition);
}

.order-hero__back:hover {
  color: var(--orange);
}

.order-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin: 16px 0 18px;
}

.order-hero p {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Order section / form card ---------- */
.order-section {
  padding: 20px 0 90px;
}

.order-form {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px;
}

.form-step + .form-step {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(27, 42, 58, 0.08);
}

.form-step__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.form-step__num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 8px 18px -8px rgba(242, 100, 30, 0.8);
}

.form-step__title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

/* ---------- Category cards ---------- */
.order-categories {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 26px 18px 22px;
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.cat-card:hover {
  border-color: var(--gray-light);
  transform: translateY(-3px);
}

.cat-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.cat-card:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 100, 30, 0.18);
}

.cat-card.is-selected {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 100, 30, 0.15);
}

.cat-card.is-selected::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 14px;
  color: var(--orange);
  font-weight: 900;
  font-size: 1rem;
}

.cat-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.cat-card__icon svg {
  width: 30px;
  height: 30px;
}

.cat-card.is-selected .cat-card__icon {
  background: var(--orange);
  color: var(--white);
}

.cat-card__title {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
}

.cat-card__desc {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.45;
}

/* ---------- Sub-options (Sublimação) ---------- */
.sub-options {
  display: none;
  margin-top: 22px;
  padding: 22px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  animation: fadeIn 0.3s ease;
}

.sub-options.is-visible {
  display: block;
}

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

.sub-options__label {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}

.sub-options__nested {
  display: none;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--gray-light);
}

.sub-options__nested.is-visible {
  display: block;
  animation: fadeIn 0.3s ease;
}

.sub-options__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sub-chip {
  position: relative;
  cursor: pointer;
}

.sub-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.sub-chip span {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid var(--cream-dark);
  background: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  transition: all var(--transition);
}

.sub-chip:focus-within span {
  border-color: var(--orange);
}

.sub-chip.is-selected span {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ---------- Fields ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.field {
  margin-bottom: 4px;
}

.form-step .field + .field,
.form-step .form-grid + .field {
  margin-top: 20px;
}

.field label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.field .req {
  color: var(--orange);
}

.field .opt {
  color: var(--gray);
  font-weight: 500;
  font-size: 0.85rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--gray-light);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 100, 30, 0.12);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field__error {
  display: none;
  color: #d63a3a;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 8px;
}

.field.has-error input,
.field.has-error textarea {
  border-color: #d63a3a;
}

.field.has-error .field__error,
.field__error.is-visible {
  display: block;
}

/* ---------- Form footer / submit ---------- */
.order-form__footer {
  margin-top: 36px;
  text-align: center;
}

.order-form__submit {
  width: 100%;
}

.form-note {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--gray);
}

@media (max-width: 620px) {
  .order-form {
    padding: 28px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Catalog Carousel (catalogo.html)
   ========================================================= */

.catalog {
  position: relative;
  overflow: hidden;
  padding: 70px 0 90px;
}

.catalog .section-sub strong {
  color: var(--orange);
  letter-spacing: 0.1em;
}

/* ---------- Carousel wrapper ---------- */
.carousel {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.carousel__arrow {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--cream-dark);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.carousel__arrow svg {
  width: 24px;
  height: 24px;
}

.carousel__arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: scale(1.06);
}

.carousel__arrow:active {
  transform: scale(0.96);
}

/* ---------- Stage (navy, echoes the PDF catalog) ---------- */
.carousel__stage {
  flex: 1 1 auto;
  min-width: 0;
  background: linear-gradient(160deg, var(--navy-light), var(--navy-dark));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  min-height: 420px;
  border-left: 8px solid var(--orange);
  overflow: hidden;
}

.carousel__loading {
  color: var(--gray-light);
  text-align: center;
  padding: 60px 0;
}

/* ---------- Slide content ---------- */
.slide {
  animation: slideIn 0.4s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.slide__cat {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(242, 100, 30, 0.15);
  color: var(--orange-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
}

.slide__cat svg {
  width: 18px;
  height: 18px;
}

.slide__brand {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 999px;
}

.slide__name {
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 10px;
}

.slide__desc {
  color: var(--gray-light);
  font-size: 0.95rem;
  max-width: 620px;
  margin-bottom: 28px;
}

/* ---------- Price tiers ---------- */
.slide__tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.tier {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 22px 16px 18px;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.tier:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 100, 30, 0.5);
}

.tier.is-selected {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(242, 100, 30, 0.4);
}

.tier__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gray-light);
  margin-bottom: 8px;
}

.tier__price {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.1;
}

.tier__note {
  display: block;
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 8px;
  line-height: 1.4;
}

/* highlighted tier (POPULAR / MAIS PEDIDO / RECOMENDADO / destaque) */
.tier--hot {
  background: var(--orange);
  border-color: var(--orange);
}

.tier--hot .tier__label {
  color: rgba(255, 255, 255, 0.9);
}

.tier--hot .tier__price {
  color: var(--white);
}

.tier--hot .tier__note {
  color: rgba(255, 255, 255, 0.85);
}

.tier--hot:hover {
  border-color: var(--white);
}

.tier--hot.is-selected {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.tier__tag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.tier--hot .tier__tag {
  background: var(--navy);
}

/* ---------- Slide note + CTA ---------- */
.slide__note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: var(--gray-light);
  line-height: 1.6;
}

.slide__cta {
  margin-top: 24px;
}

/* ---------- Counter ---------- */
.carousel__counter {
  text-align: center;
  margin: 24px 0 18px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--gray);
  font-size: 0.9rem;
}

.carousel__counter strong {
  color: var(--orange);
}

/* ---------- Service selector ---------- */
.carousel__selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}

.cat-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

.cat-tab:hover {
  transform: translateY(-3px);
  border-color: var(--gray-light);
}

.cat-tab.is-active {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 100, 30, 0.15);
}

.cat-tab__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.cat-tab__icon svg {
  width: 24px;
  height: 24px;
}

.cat-tab.is-active .cat-tab__icon {
  background: var(--orange);
  color: var(--white);
}

.cat-tab__name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

@media (max-width: 860px) {
  .carousel__selector {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .cat-tab__name {
    font-size: 0.72rem;
  }
}

@media (max-width: 600px) {
  .carousel {
    gap: 6px;
  }

  .carousel__arrow {
    width: 42px;
    height: 42px;
  }

  .carousel__arrow svg {
    width: 20px;
    height: 20px;
  }

  .carousel__stage {
    padding: 28px 20px;
    min-height: 0;
    border-left-width: 5px;
  }

  .slide__tiers {
    grid-template-columns: repeat(2, 1fr);
  }

  .carousel__selector {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   SIMULADOR DE CANECA 3D (mockup.html)
   ========================================================= */

/* ---------- Hero do simulador ---------- */
.mk-hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 130px 0 64px;
  overflow: hidden;
}

.mk-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.mk-hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 14px 0 14px;
}

.mk-hero p {
  color: var(--gray-light);
  font-size: 1.05rem;
  max-width: 620px;
}

.mk-hero .tag {
  background: rgba(242, 100, 30, 0.16);
  color: var(--orange-light);
}

/* ---------- Estúdio ---------- */
.studio {
  background: var(--cream);
  padding: 46px 0 60px;
}

.studio__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 26px;
  align-items: start;
}

.studio__stage-col {
  position: sticky;
  top: 96px;
}

/* ---------- Palco 3D ---------- */
.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, #f3f1ed 0%, #e2ded6 100%);
  box-shadow: var(--shadow);
}

.stage__canvas {
  width: 100%;
  height: 100%;
  display: block;
  /* só o canvas 3D captura o toque; o resto do palco (barra, plano B)
     continua deixando a página rolar no celular */
  touch-action: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: grab;
}

.stage.is-ready .stage__canvas {
  opacity: 1;
}

.stage__canvas:active {
  cursor: grabbing;
}

.stage__status {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  pointer-events: none;
}

.stage__spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(27, 42, 58, 0.15);
  border-top-color: var(--orange);
  animation: mk-spin 0.9s linear infinite;
}

@keyframes mk-spin {
  to { transform: rotate(360deg); }
}

.stage__hint {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(27, 42, 58, 0.72);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 7px 12px;
  border-radius: 999px;
  pointer-events: none;
}

.stage__drop {
  position: absolute;
  inset: 12px;
  border: 3px dashed var(--orange);
  border-radius: var(--radius);
  background: rgba(242, 100, 30, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--navy);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 4;
}

.stage__drop strong { font-size: 1.05rem; }
.stage__drop span { font-size: 0.8rem; color: var(--text); }

.stage__drop.is-visible { opacity: 1; }

.stage__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--cream);
}

.stage__fallback-msg {
  font-size: 0.85rem;
  color: var(--text);
  text-align: center;
  max-width: 460px;
}

.stage__fallback canvas {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 12px 30px -18px rgba(19, 30, 42, 0.7);
}

.stage__bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  z-index: 3;
}

.stage__views {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  padding: 4px;
  border-radius: 999px;
  box-shadow: 0 6px 18px -10px rgba(19, 30, 42, 0.6);
}

.stage__btn {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.stage__btn:hover { background: rgba(27, 42, 58, 0.08); }

.stage__btn.is-active {
  background: var(--navy);
  color: var(--white);
}

.stage__tools {
  display: flex;
  gap: 6px;
}

.stage__icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  color: var(--navy);
  cursor: pointer;
  box-shadow: 0 6px 18px -10px rgba(19, 30, 42, 0.6);
  transition: background var(--transition), color var(--transition);
}

.stage__icon-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.stage__icon-btn:hover { background: var(--white); }

.stage__icon-btn.is-active {
  background: var(--orange);
  color: var(--white);
}

.stage__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.stage__actions--center {
  justify-content: center;
  margin-top: 26px;
}

.stage__note {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--gray);
}

/* ---------- Painel de controles ---------- */
.panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--navy);
}

.panel__tab {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  padding: 16px 8px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.panel__tab:hover { color: var(--white); }

.panel__tab.is-active {
  color: var(--white);
  border-bottom-color: var(--orange);
  background: rgba(255, 255, 255, 0.06);
}

.panel__body {
  padding: 4px 22px 24px;
  max-height: min(70vh, 720px);
  overflow-y: auto;
}

.panel__group {
  padding: 20px 0;
  border-bottom: 1px solid rgba(27, 42, 58, 0.08);
}

.panel__group:last-child { border-bottom: 0; }

.panel__title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 14px;
}

.panel__help {
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 10px;
  line-height: 1.5;
}

/* ---------- Upload ---------- */
.upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 26px 18px;
  border: 2px dashed rgba(27, 42, 58, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(27, 42, 58, 0.02);
  cursor: pointer;
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
}

.upload:hover,
.upload.is-dragging {
  border-color: var(--orange);
  background: rgba(242, 100, 30, 0.06);
}

.upload svg {
  width: 30px;
  height: 30px;
  fill: var(--orange);
  margin-bottom: 4px;
}

.upload strong {
  font-size: 0.95rem;
  color: var(--navy);
}

.upload span {
  font-size: 0.76rem;
  color: var(--gray);
}

.upload.is-compact {
  padding: 14px;
}

.upload.is-compact svg { width: 22px; height: 22px; margin: 0; }
.upload.is-compact span { display: none; }

.art-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(27, 42, 58, 0.04);
}

.art-info img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  background: repeating-conic-gradient(#e9e9e9 0% 25%, #ffffff 0% 50%) 50% / 12px 12px;
  flex-shrink: 0;
}

.art-info__meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.art-info__meta strong {
  font-size: 0.82rem;
  color: var(--navy);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.art-info__meta small {
  font-size: 0.72rem;
  color: var(--gray);
}

.quality {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.quality--ok { color: #2e9e5b; }
.quality--mid { color: #c98a12; }
.quality--bad { color: #d1432f; }

.art-info__remove {
  border: 0;
  background: transparent;
  color: var(--gray);
  font-size: 1rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  line-height: 1;
  transition: color var(--transition), background var(--transition);
}

.art-info__remove:hover {
  color: #d1432f;
  background: rgba(209, 67, 47, 0.1);
}

.examples {
  margin-top: 16px;
}

.examples__label {
  display: block;
  font-size: 0.76rem;
  color: var(--gray);
  margin-bottom: 8px;
}

.examples__row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  border: 1.5px solid rgba(27, 42, 58, 0.15);
  background: transparent;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--navy);
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.chip:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ---------- Segmentos e controles ---------- */
.seg {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(27, 42, 58, 0.06);
  border-radius: 999px;
  margin-bottom: 18px;
}

.seg--sm { margin-bottom: 0; }

.seg__btn {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text);
  padding: 9px 6px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.seg__btn:hover { color: var(--navy); }

.seg__btn.is-active {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 3px 10px -5px rgba(19, 30, 42, 0.7);
}

.ctl {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.ctl:last-child { margin-bottom: 0; }

.ctl label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.ctl output {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.ctl--row {
  flex-direction: row;
  align-items: flex-end;
  gap: 14px;
}

.ctl--top { align-items: center; }
.ctl--grow { flex: 1; margin-bottom: 0; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(27, 42, 58, 0.14);
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px -2px rgba(242, 100, 30, 0.9);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--white);
  cursor: pointer;
}

input[type="range"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(242, 100, 30, 0.25);
}

.text-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid rgba(27, 42, 58, 0.15);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}

.text-input:focus {
  outline: none;
  border-color: var(--orange);
}

.link-btn {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  cursor: pointer;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  padding: 5px 0;
}

.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
  cursor: pointer;
  flex-shrink: 0;
}

/* ---------- Modelos de caneca ---------- */
.models {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.model {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: left;
  padding: 13px;
  border: 2px solid rgba(27, 42, 58, 0.12);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.model:hover {
  border-color: rgba(242, 100, 30, 0.5);
  transform: translateY(-2px);
}

.model.is-active {
  border-color: var(--orange);
  box-shadow: 0 8px 20px -14px rgba(242, 100, 30, 0.9);
}

.model__dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(27, 42, 58, 0.2);
  margin-bottom: 4px;
}

.model__name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.model__desc {
  font-size: 0.7rem;
  color: var(--gray);
  line-height: 1.3;
}

/* ---------- Amostras de cor ---------- */
.swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.swatch {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.swatch label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text);
}

.swatch input[type="color"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 40px;
  padding: 0;
  border: 1.5px solid rgba(27, 42, 58, 0.15);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}

.swatch input[type="color"]::-webkit-color-swatch-wrapper { padding: 3px; }
.swatch input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 7px; }
.swatch input[type="color"]::-moz-color-swatch { border: 0; border-radius: 7px; }

.swatch--wide { margin-top: 12px; }

.bg-swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bg-swatch {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(27, 42, 58, 0.15);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.bg-swatch:hover { transform: scale(1.08); }

.bg-swatch.is-active {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 100, 30, 0.25);
}

.btn--block {
  width: 100%;
}

/* ---------- Gabarito de impressão ---------- */
.sheet-section {
  background: var(--white);
  padding: 70px 0;
}

.sheet {
  max-width: 900px;
  margin: 0 auto;
}

.sheet canvas {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  background: #f4f2ee;
  box-shadow: 0 18px 40px -26px rgba(19, 30, 42, 0.8);
}

.sheet__legend {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sheet__notes {
  display: grid;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text);
}

.sheet__notes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 5px;
}

.dot--safe { background: var(--orange); }
.dot--seam { background: var(--navy); }
.dot--center { background: var(--gray); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 18px 40px -18px rgba(19, 30, 42, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 999;
  max-width: min(90vw, 460px);
  text-align: center;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .studio__grid {
    grid-template-columns: 1fr;
  }

  .studio__stage-col {
    position: static;
  }

  .panel__body {
    max-height: none;
  }
}

@media (max-width: 760px) {
  .mk-hero {
    padding: 110px 0 48px;
  }

  .stage {
    aspect-ratio: 1 / 1;
    min-height: 300px;
  }

  .stage__bar {
    justify-content: center;
  }

  .stage__views {
    order: 2;
    width: 100%;
    justify-content: space-between;
  }

  .stage__btn {
    flex: 1;
    padding: 8px 4px;
  }

  .stage__tools {
    order: 1;
    width: 100%;
    justify-content: flex-end;
  }

  .stage__actions .btn {
    flex: 1;
    justify-content: center;
  }

  .panel__body {
    padding: 4px 16px 20px;
  }
}

@media (max-width: 520px) {
  .models {
    grid-template-columns: 1fr;
  }

  .seg__btn {
    font-size: 0.7rem;
    padding: 9px 4px;
  }

  .stage__hint {
    font-size: 0.66rem;
  }
}

/* ---------- Faixa promocional do simulador (index) ---------- */
.promo {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  padding: 30px 34px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.promo::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(242, 100, 30, 0.14);
  pointer-events: none;
}

.promo__text {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.promo__text .tag {
  background: rgba(242, 100, 30, 0.18);
  color: var(--orange-light);
  margin-bottom: 10px;
}

.promo h3 {
  color: var(--white);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  margin-bottom: 8px;
}

.promo p {
  color: var(--gray-light);
  font-size: 0.95rem;
}

.promo .btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .promo {
    padding: 26px 22px;
  }

  .promo .btn {
    width: 100%;
  }
}

/* dica do palco some depois da primeira interação */
.stage__hint.is-gone {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Recado de "precisa de JavaScript" — só aparece via <noscript> */
.no-js {
  display: none;
  background: var(--white);
  border-left: 6px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
}

.no-js a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
}

/* =========================================================
   ACESSIBILIDADE
   ========================================================= */

/* Foco visível e consistente em tudo que é clicável pelo teclado */
.btn:focus-visible,
.nav__link:focus-visible,
.nav-toggle:focus-visible,
.chip:focus-visible,
.seg__btn:focus-visible,
.model:focus-visible,
.bg-swatch:focus-visible,
.stage__btn:focus-visible,
.stage__icon-btn:focus-visible,
.panel__tab:focus-visible,
.link-btn:focus-visible,
.tier:focus-visible,
.cat-tab:focus-visible,
.carousel__arrow:focus-visible,
.upload:focus-within,
.swatch input[type="color"]:focus-visible,
.check input:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.panel__tab:focus-visible {
  outline-offset: -3px;
}

/* Respeita quem pediu menos animação no sistema */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .btn:hover,
  .model:hover,
  .bg-swatch:hover {
    transform: none;
  }
}
