/* Profcoruja — site lúdico e colorido */

:root {
  --cream: #FBF4E4;
  --cream-deep: #F5E9CF;
  --ink: #2A2118;
  --ink-soft: #5A4A38;
  --terracota: #D4623A;
  --terracota-dark: #B84F2C;
  --mostarda: #E8A53A;
  --verde: #6B8E4E;
  --rosa: #E89B8C;
  --azul: #4A7C9E;
  --lilas: #A78BB8;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Inter Tight', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}

em { font-style: italic; font-family: var(--font-display); font-weight: 500; }
strong { font-weight: 700; }

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

button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 56px;
  background: rgba(251, 244, 228, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(42, 33, 24, 0.08);
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-weight: 500;
  font-size: 15px;
}
.nav a { transition: color 0.2s; }
.nav a:hover { color: var(--terracota); }
.nav-cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 10px 18px;
  border-radius: 999px;
  transition: transform 0.2s, background 0.2s !important;
}
.nav-cta:hover {
  background: var(--terracota) !important;
  transform: translateY(-1px);
}

/* ===== KICKER ===== */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.kicker-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--terracota);
  display: inline-block;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 60px 56px 0;
  overflow: hidden;
}
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.shape { position: absolute; }
.shape-1 { width: 280px; top: -60px; right: -40px; opacity: 0.5; }
.shape-2 { width: 200px; bottom: 80px; left: -60px; opacity: 0.4; }
.shape-3 { width: 80px; top: 200px; left: 8%; opacity: 0.7; }
.shape-4 { width: 100px; bottom: 100px; right: 12%; opacity: 0.5; }

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 60px 0 100px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 600;
  text-wrap: balance;
  margin-bottom: 28px;
}
.hero-underline {
  position: relative;
  white-space: nowrap;
  color: var(--terracota);
}
.hero-underline::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 12px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'><path d='M2,8 Q50,0 100,6 T198,6' stroke='%23E8A53A' stroke-width='4' fill='none' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
}
.hero-sub {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 36px;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover { background: var(--terracota); transform: translateY(-2px); }
.btn-primary.sent { background: var(--verde); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-stats > div:not(.divider) {
  display: flex;
  flex-direction: column;
}
.hero-stats strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-stats span {
  font-size: 13px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
}
.hero-stats .divider {
  width: 1px;
  height: 32px;
  background: var(--ink);
  opacity: 0.15;
}

.hero-illust {
  position: relative;
}
.hero-svg {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin-left: auto;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== SOBRE ===== */
.sobre {
  position: relative;
  padding: 100px 56px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.sobre-photo {
  position: relative;
}
.photo-frame {
  position: relative;
  background: white;
  padding: 18px 18px 60px;
  box-shadow: 0 10px 40px rgba(42, 33, 24, 0.15);
  transform: rotate(-3deg);
  max-width: 360px;
}
.photo-placeholder { width: 100%; aspect-ratio: 5/6; overflow: hidden; }
.photo-placeholder svg { width: 100%; height: 100%; display: block; }
.photo-placeholder img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }
.photo-tape {
  position: absolute;
  width: 80px;
  height: 24px;
  background: rgba(232, 165, 58, 0.6);
  border: 1px dashed rgba(0,0,0,0.1);
}
.photo-tape-tl { top: -10px; left: -20px; transform: rotate(-25deg); }
.photo-tape-br { bottom: -10px; right: -20px; transform: rotate(20deg); background: rgba(212, 98, 58, 0.5); }
.sobre-deco {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  z-index: -1;
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.sobre-text h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: 28px;
  text-wrap: balance;
}
.sobre-text p {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: 540px;
}
.credos {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.credos li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}
.credos li span {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  margin-top: 6px;
  transform: rotate(45deg);
}

/* ===== GALERIA ===== */
.galeria {
  background: var(--cream-deep);
  padding: 100px 56px;
  position: relative;
}
.galeria::before, .galeria::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 24px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 24' preserveAspectRatio='none'><path d='M0,12 Q25,0 50,12 T100,12 T150,12 T200,12 T250,12 T300,12 T350,12 T400,12' stroke='%23D4623A' stroke-width='4' fill='none' stroke-linecap='round'/></svg>") repeat-x;
  background-size: 200px 24px;
}
.galeria::before { top: 0; }
.galeria::after { bottom: 0; transform: scaleY(-1); }

.gal-header {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.gal-header .kicker { justify-content: center; }
.gal-header h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin-bottom: 16px;
  text-wrap: balance;
}
.gal-sub {
  font-size: 18px;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.filters {
  max-width: 1100px;
  margin: 0 auto 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--cream);
  padding: 22px 28px;
  border-radius: 24px;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}
.filter-group { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.filter-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  width: 60px;
  flex-shrink: 0;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: transparent;
  border: 1.5px solid var(--ink);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.15s;
}
.chip:hover { background: var(--cream-deep); }
.chip.active {
  background: var(--ink);
  color: var(--cream);
}

.gal-meta {
  max-width: 1100px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
}
.reset {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--terracota);
  text-decoration: underline;
}

.cards {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.card {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--ink);
}
.card-illust {
  aspect-ratio: 4/3;
  background: var(--accent);
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}
.card-illust svg {
  position: absolute;
  inset: 8% 12%;
  width: 76%;
  height: 84%;
  transition: opacity 0.35s ease, transform 0.4s ease;
}
.card:hover .card-illust svg {
  opacity: 0.15;
  transform: scale(0.92);
}

/* preview de páginas que alterna automaticamente com o desenho do card */
.card-preview {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.card-preview-img {
  position: absolute;
  top: 8%;
  left: 6%;
  width: 88%;
  height: auto;
  border-radius: 10px 10px 6px 6px;
  border: 1.5px solid var(--ink);
  background: var(--cream);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(8px) rotate(-2.5deg) scale(0.94);
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: opacity, transform;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}
.card-preview.is-showing .card-preview-img.is-active {
  opacity: 1;
  transform: translateY(0) rotate(0) scale(1);
}
/* leve "respiração" enquanto o ativo está visível */
@keyframes card-preview-breathe {
  0%, 100% { transform: translateY(0) rotate(0) scale(1); }
  50%      { transform: translateY(-2px) rotate(0.4deg) scale(1.012); }
}
.card-preview.is-showing .card-preview-img.is-active {
  animation: card-preview-breathe 2.6s ease-in-out infinite;
  animation-delay: 0.4s;
}
/* fade do desenho quando o preview automático está visível */
.card-illust:has(.card-preview.is-showing) svg {
  opacity: 0.15;
  transform: scale(0.92);
}
@media (prefers-reduced-motion: reduce) {
  .card-preview-img { transition: none; animation: none !important; }
}
.card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}
.card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cream-deep);
  color: var(--ink);
  border: 1px solid var(--ink);
}
.tag-age { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
  text-wrap: balance;
}
.card-meta {
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: auto;
}
.btn-download {
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--cream);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--ink);
  transition: all 0.15s;
  font-family: inherit;
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 0 var(--ink);
}
.btn-download.done {
  background: var(--verde);
  pointer-events: none;
}
.btn-download.free {
  background: var(--verde);
  color: var(--cream);
}
.btn-download.free:hover {
  background: #587a3e;
  transform: translateY(-2px);
  box-shadow: 0 4px 0 #3d5929;
}
.btn-download.free:disabled,
.btn-download.free.downloading {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-download.paid {
  background: var(--accent);
  color: var(--cream);
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--ink-soft);
}
.empty p { margin-bottom: 12px; }
.empty-emoji { font-size: 40px; margin-bottom: 8px; line-height: 1; }
.empty-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 10px;
}
.empty p:not(.empty-emoji) { max-width: 420px; margin-left: auto; margin-right: auto; line-height: 1.5; }

/* ===== CONTATO ===== */
.contato {
  padding: 120px 56px;
  position: relative;
}
.contato-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contato-text h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: 24px;
  text-wrap: balance;
}
.contato-text p {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.contato-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 1.5px solid var(--ink);
  padding-top: 24px;
}
.contato-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: baseline;
}
.contato-list strong {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contato-list span { font-size: 16px; }

.contato-form {
  background: var(--cream-deep);
  border: 2px solid var(--ink);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 6px 6px 0 var(--ink);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contato-form label { display: flex; flex-direction: column; gap: 6px; }
.contato-form span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contato-form input, .contato-form textarea {
  padding: 14px 16px;
  background: var(--cream);
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.15s;
}
.contato-form input:focus, .contato-form textarea:focus {
  outline: none;
  border-color: var(--terracota);
  border-width: 2px;
}
.contato-form .btn { align-self: flex-start; margin-top: 8px; }
.contato-error {
  margin: 8px 0 0;
  color: var(--terracota);
  font-size: 14px;
  font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  padding-top: 0;
}
.footer .squiggle, .footer > svg {
  display: block;
  background: var(--cream);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 56px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 56px;
}
.footer-inner > div:first-child p {
  margin-top: 16px;
  color: rgba(251, 244, 228, 0.7);
  font-size: 15px;
  max-width: 280px;
}
.logo-foot { color: var(--cream); }
.footer-links h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(251, 244, 228, 0.5);
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 15px;
  color: var(--cream);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--mostarda); }
.footer-bottom {
  border-top: 1px solid rgba(251, 244, 228, 0.15);
  padding: 24px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(251, 244, 228, 0.6);
}

/* ===== CONFETE ANIMATION ===== */
@keyframes confetti-fall {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(var(--dx), calc(var(--dy) + 80vh)) rotate(var(--rot));
    opacity: 0;
  }
}

/* ===== CHECKOUT PAGE ===== */
.checkout-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  min-height: calc(100vh - 200px);
}

.checkout-preview {
  position: sticky;
  top: 100px;
}

.checkout-blob {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  border-radius: 40% 60% 55% 45% / 45% 55% 45% 55%;
  overflow: hidden;
  margin-bottom: 32px;
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.checkout-preview-body {
  padding: 0;
}

.checkout-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: 16px;
  text-wrap: balance;
}

.checkout-desc {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  line-height: 1.6;
}

.checkout-metrics {
  display: flex;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.checkout-price {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--terracota);
  margin-bottom: 16px;
}

.checkout-copy {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  border-left: 3px solid var(--mostarda);
  padding-left: 14px;
}

/* Form column */
.checkout-form-col {
  background: var(--cream-deep);
  border: 2px solid var(--ink);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 8px 8px 0 var(--ink);
}

.checkout-back {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  transition: color 0.15s;
}
.checkout-back:hover { color: var(--terracota); }

.checkout-form-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}

.checkout-api-error {
  background: #FEE2E2;
  border: 1.5px solid #EF4444;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  color: #B91C1C;
  margin-bottom: 24px;
}

.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.checkout-field label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.checkout-field input {
  padding: 14px 16px;
  background: var(--cream);
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.15s;
}

.checkout-field input:focus {
  outline: none;
  border-color: var(--terracota);
  border-width: 2px;
}

.checkout-field input.input-error {
  border-color: #EF4444;
  border-width: 2px;
}

.field-error {
  font-size: 13px;
  color: #DC2626;
  font-family: var(--font-mono);
}

.checkout-summary {
  background: var(--cream);
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: var(--ink-soft);
}

.checkout-summary-total {
  border-top: 1.5px solid var(--ink);
  padding-top: 12px;
  font-weight: 700;
  color: var(--ink);
  font-size: 17px;
  font-family: var(--font-display);
}

.checkout-stripe-info {
  font-size: 13px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  margin-bottom: 20px;
  line-height: 1.5;
}

.btn-pay {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background: var(--ink);
  color: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 17px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-pay:hover:not(:disabled) {
  background: var(--terracota);
  border-color: var(--terracota);
  transform: translateY(-2px);
  box-shadow: 0 4px 0 var(--terracota-dark);
}

.btn-pay:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== PAGE CENTER (erro/não encontrado) ===== */
.page-center {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.page-center-inner {
  max-width: 480px;
  text-align: center;
}

.page-center-inner h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 16px;
}

.page-center-inner p {
  color: var(--ink-soft);
  font-size: 17px;
}

/* ===== THANKS PAGE ===== */
.thanks-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
  min-height: calc(100vh - 200px);
}

.thanks-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.thanks-sub {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 32px;
}

.thanks-order-number {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.thanks-status {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}

.status-paid {
  background: #D1FAE5;
  color: #065F46;
  border: 1.5px solid #6EE7B7;
}

.status-pending {
  background: #FEF3C7;
  color: #92400E;
  border: 1.5px solid #FCD34D;
}

.status-failed {
  background: #FEE2E2;
  color: #B91C1C;
  border: 1.5px solid #FCA5A5;
}

.thanks-pending-info {
  font-size: 15px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  margin-bottom: 24px;
  animation: pulse-soft 2s ease-in-out infinite;
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.thanks-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
  text-align: left;
}

.thanks-item-card {
  background: var(--cream-deep);
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 4px 4px 0 var(--ink);
}

.thanks-item-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  flex: 1;
}

.thanks-download-btn {
  flex-shrink: 0;
  padding: 10px 20px;
  font-size: 14px;
}

/* ===== CANCEL PAGE ===== */
.cancel-page {
  max-width: 520px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
  min-height: calc(100vh - 200px);
}

.cancel-icon {
  margin-bottom: 32px;
}

.cancel-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cancel-text {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  line-height: 1.6;
}

.cancel-order-info {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 32px;
}

.cancel-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== SKELETON ===== */
.skeleton {
  background: linear-gradient(90deg, var(--cream-deep) 25%, var(--cream) 50%, var(--cream-deep) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 12px;
}

.skeleton-blob {
  width: 240px;
  height: 240px;
  border-radius: 40% 60% 55% 45% / 45% 55% 45% 55%;
  margin-bottom: 32px;
}

.skeleton-title {
  height: 40px;
  width: 80%;
  margin-bottom: 16px;
  border-radius: 8px;
}

.skeleton-text {
  height: 18px;
  width: 100%;
  margin-bottom: 12px;
  border-radius: 6px;
}

.skeleton-price {
  height: 56px;
  width: 50%;
  margin-bottom: 16px;
  border-radius: 8px;
}

.skeleton-card-illust {
  aspect-ratio: 4/3;
  border-radius: 0;
  margin-bottom: 0;
  border-bottom: 2px solid var(--cream-deep);
}

.card-skeleton {
  pointer-events: none;
}

.gal-error {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 24px;
  color: var(--ink-soft);
}

.gal-error p {
  font-size: 17px;
  margin-bottom: 8px;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .header { padding: 14px 24px; }
  .nav { gap: 20px; }
  .nav a:not(.nav-cta) { display: none; }
  .hero { padding: 24px 24px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; padding: 40px 0 60px; }
  .hero-illust { order: -1; max-width: 320px; }
  .sobre { padding: 60px 24px; grid-template-columns: 1fr; gap: 48px; }
  .sobre-photo { max-width: 320px; }
  .galeria, .contato { padding: 60px 24px; }
  .contato-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding: 60px 24px 30px; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; padding: 20px 24px; text-align: center; }

  .checkout-page {
    grid-template-columns: 1fr;
    padding: 32px 20px;
    gap: 40px;
  }

  .checkout-preview {
    position: static;
  }

  .checkout-blob {
    max-width: 180px;
    margin: 0 auto 24px;
  }

  .checkout-preview-body {
    text-align: center;
  }

  .checkout-metrics {
    justify-content: center;
  }

  .checkout-copy {
    text-align: left;
  }

  .checkout-form-col {
    padding: 28px 20px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .thanks-item-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .thanks-download-btn {
    align-self: flex-start;
  }
}
