@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --surface-warm: #f5efe4;
  --forest: #0f2e22;
  --forest-soft: #1a4333;
  --crimson: #9e1b24;
  --crimson-hover: #7f141c;
  --gold: #c69c46;
  --gold-light: #f4e8cc;
  --ink: #1e2421;
  --muted: #5f6963;
  --border: #e6dfd1;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-sm: 0 4px 16px rgba(15, 46, 34, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 46, 34, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.font-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

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

a {
  color: inherit;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.topbar {
  background: var(--forest);
  color: #f8f4eb;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.topbar strong {
  color: #f4d384;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 248, 243, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  color: var(--forest);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--forest), var(--forest-soft));
  color: #f4d384;
  display: grid;
  place-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.brand-text span {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 14px 26px;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--crimson);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(158, 27, 36, 0.25);
}

.btn-primary:hover {
  background: var(--crimson-hover);
  transform: translateY(-1px);
}

.btn-forest {
  background: var(--forest);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 46, 34, 0.2);
}

.btn-forest:hover {
  background: var(--forest-soft);
}

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}

.btn-outline:hover {
  background: var(--forest);
  color: #ffffff;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
  border-radius: var(--radius-md);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gold-light);
  color: #6b4c10;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.card-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* Landing Hero */
.hero {
  padding: 48px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.35rem, 4.3vw, 3.65rem);
  color: var(--forest);
  margin: 16px 0 18px;
}

.hero h1 em {
  color: var(--crimson);
  font-style: italic;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 56ch;
}

.hero-price-box {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 24px;
}

.price-old {
  text-decoration: line-through;
  color: #8c9690;
  font-size: 0.95rem;
}

.price-now {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--forest);
  line-height: 1;
}

.price-pix-note {
  font-size: 0.82rem;
  color: #0b6e4f;
  background: #e7f6ef;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  font-size: 0.86rem;
  color: var(--muted);
}

.hero-showcase {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 20px;
  background: linear-gradient(145deg, #efe7d8, #f8f4ec);
  border-radius: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.showcase-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
  aspect-ratio: 3 / 4;
  transition: transform 0.25s ease;
}

.showcase-card:hover {
  transform: translateY(-4px) scale(1.01);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-warm {
  background: var(--surface-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  color: var(--forest);
  margin: 10px 0 12px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

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

.gallery-item {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gallery-img-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f2ece1;
  cursor: zoom-in;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img-wrap img {
  transform: scale(1.04);
}

.gallery-meta {
  padding: 16px;
}

.gallery-meta h3 {
  font-size: 1.25rem;
  margin: 0 0 4px;
  color: var(--forest);
}

.gallery-meta p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

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

.feature-card {
  padding: 26px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-light);
  color: var(--forest);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin: 0 0 8px;
  color: var(--forest);
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.offer-box {
  max-width: 820px;
  margin: 0 auto;
  padding: 38px;
  background: var(--forest);
  color: #f9f6ee;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.offer-box h2 {
  color: #ffffff;
  font-size: 2.3rem;
  margin: 10px 0 14px;
}

.offer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 0.94rem;
  color: #e4ebe7;
}

.offer-cta-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 26px;
  text-align: center;
}

.offer-cta-panel .big-price {
  font-size: 2.7rem;
  font-weight: 800;
  color: #f4d384;
  line-height: 1.1;
  margin: 8px 0;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 18px 22px;
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--forest);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item p {
  margin: 12px 0 0;
  font-size: 0.93rem;
  color: var(--muted);
}

/* Modal Preview */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 17, 0.78);
  display: none;
  place-items: center;
  z-index: 60;
  padding: 20px;
}

.modal-backdrop.open {
  display: grid;
}

.modal-card {
  max-width: 480px;
  width: 100%;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.modal-card img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
}

.modal-footer {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* Checkout Layout */
.checkout-shell {
  padding: 28px 0 64px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 28px;
  align-items: start;
}

.checkout-panel {
  padding: 28px;
}

.step-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 1.45rem;
  color: var(--forest);
}

.step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--forest);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(15, 46, 34, 0.1);
}

.payment-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.pay-tab {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.pay-tab.active {
  border-color: var(--forest);
  background: #f1f7f4;
}

.pay-tab strong {
  display: block;
  color: var(--forest);
  font-size: 0.96rem;
}

.pay-tab span {
  font-size: 0.8rem;
  color: var(--muted);
}

.order-bump {
  margin: 22px 0;
  border: 2px dashed var(--crimson);
  background: #fff7f7;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  cursor: pointer;
}

.order-bump input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--crimson);
  cursor: pointer;
}

.bump-tag {
  display: inline-block;
  background: var(--crimson);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.94rem;
}

.summary-total {
  border-top: 1.5px solid var(--border);
  margin-top: 10px;
  padding-top: 14px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--forest);
}

.alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.alert-demo {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.pix-box {
  text-align: center;
  padding: 24px;
}

.pix-qr {
  width: 220px;
  height: 220px;
  margin: 16px auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 8px;
  background: #fff;
}

.pix-code-box {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #f8fafc;
  font-family: monospace;
  font-size: 0.8rem;
  margin: 10px 0;
}

.hidden {
  display: none !important;
}

/* Delivery & Customizer */
.delivery-hero {
  background: linear-gradient(135deg, var(--forest), var(--forest-soft));
  color: #fff;
  padding: 34px;
  border-radius: 22px;
  margin-bottom: 26px;
}

.customizer-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.printable-preview {
  background: #fffdf9;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.printable-preview img {
  width: 190px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

@media print {
  .no-print {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .printable-preview {
    border: none;
    box-shadow: none;
    padding: 12mm;
  }
}

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
}

@media (max-width: 920px) {
  .hero-grid,
  .checkout-grid,
  .offer-box,
  .customizer-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .form-grid,
  .payment-tabs,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .checkout-panel,
  .offer-box {
    padding: 20px;
  }
}
