:root {
  --orange: #f26a1b;
  --orange-dark: #d4560d;
  --dark: #353818;
  --dark-2: #4a4e22;
  --white: #ffffff;
  --cream: #f7f5ee;
  --line: #e7e3d6;
  --muted: #7c7a6c;
  --radius: 16px;
  --shadow: 0 18px 40px -20px rgba(53, 56, 24, 0.35);
  --font: 'Inter', system-ui, sans-serif;
  --display: 'Archivo', var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1140px, 92vw); margin: 0 auto; }
.hidden { display: none !important; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--orange); color: #fff; border: none; cursor: pointer;
  font-family: var(--display); font-weight: 800; letter-spacing: .2px;
  padding: .85rem 1.4rem; border-radius: 999px; font-size: 1rem;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 24px -12px rgba(242, 106, 27, .8);
}
.btn:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn--sm { padding: .55rem 1rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--ghost {
  background: transparent; color: var(--dark); border: 2px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--cream); border-color: var(--dark); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 40px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a { font-weight: 600; color: var(--dark); }
.nav__links a:not(.btn):hover { color: var(--orange); }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0; background:
  radial-gradient(1200px 500px at 80% -10%, rgba(242,106,27,.14), transparent 60%),
  var(--cream); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.pill {
  display: inline-block; background: var(--dark); color: #fff; font-weight: 700;
  font-size: .8rem; padding: .4rem .9rem; border-radius: 999px; letter-spacing: .4px; text-transform: uppercase;
}
.hero__title { font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.02; margin: 1rem 0 .8rem; letter-spacing: -1px; }
.hl { color: var(--orange); }
.hero__sub { font-size: 1.12rem; color: var(--dark-2); max-width: 34rem; }
.hero__cta { display: flex; align-items: center; gap: 1.4rem; margin: 1.6rem 0 1.2rem; flex-wrap: wrap; }
.price { display: flex; flex-direction: column; line-height: 1.1; }
.price__from { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.price__value { font-family: var(--display); font-size: 1.7rem; color: var(--dark); }
.hero__badges { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; color: var(--dark-2); font-weight: 600; }
.hero__badges li { position: relative; padding-left: 1.7rem; }
.hero__badges li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1.15rem; height: 1.15rem;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f26a1b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.hero__media { position: relative; }
.hero__media img { border-radius: 24px; box-shadow: var(--shadow); background: #fff; }
.hero__tag {
  position: absolute; bottom: -14px; left: -14px; background: var(--orange); color: #fff;
  font-family: var(--display); font-weight: 900; text-transform: uppercase; padding: .8rem 1.1rem;
  border-radius: 14px; line-height: 1; box-shadow: var(--shadow); transform: rotate(-6deg);
}
.hero__tag small { font-weight: 600; font-size: .6rem; opacity: .85; letter-spacing: 1px; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--alt { background: var(--cream); }
.section--buy { padding-top: clamp(2rem, 4vw, 3rem); }
.section__title { font-family: var(--display); font-weight: 900; font-size: clamp(1.7rem, 4vw, 2.6rem); text-align: center; margin: 0 0 .4rem; letter-spacing: -.5px; }
.section__lead { text-align: center; color: var(--muted); max-width: 42rem; margin: 0 auto 2.5rem; font-size: 1.05rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.card__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1rem;
  background: #fff4ec; color: var(--orange-dark);
}
.icon { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-family: var(--display); font-weight: 800; margin: 0 0 .4rem; font-size: 1.2rem; }
.card p { margin: 0; color: var(--dark-2); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.gcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gcard img { aspect-ratio: 4/3; object-fit: cover; width: 100%; background: #fbfaf6; }
.gcard__foot { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.1rem; font-weight: 700; }
.gcard__foot small { color: var(--muted); font-weight: 500; }

/* Buy / checkout */
.buy { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.buy__media { position: sticky; top: 90px; }
.buy__media img { border-radius: 20px; box-shadow: var(--shadow); background: #fff; }
.buy__panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.8rem; box-shadow: var(--shadow); }
.buy__title { font-family: var(--display); font-weight: 900; font-size: 1.8rem; margin: 0; }
.buy__price { font-size: 1.15rem; margin: .2rem 0 1.4rem; font-weight: 700; }
.buy__price small { color: var(--muted); font-weight: 500; font-size: .9rem; }

.field { margin-bottom: 1.2rem; }
.field > label { display: block; font-weight: 700; margin-bottom: .5rem; font-size: .95rem; }
.model-hint { color: var(--orange-dark); font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: .6rem 1rem;
  font-weight: 700; cursor: pointer; font-family: var(--font); color: var(--dark);
  transition: all .15s ease;
}
.chip:hover { border-color: var(--dark); }
.chip.is-active { border-color: var(--orange); background: #fff4ec; color: var(--orange-dark); }
.chips--color .chip { display: flex; align-items: center; gap: .5rem; }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); display: inline-block; }

.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty button { width: 44px; height: 44px; border: none; background: var(--cream); font-size: 1.3rem; cursor: pointer; color: var(--dark); }
.qty button:hover { background: var(--orange); color: #fff; }
.qty input { width: 54px; height: 44px; border: none; text-align: center; font-weight: 800; font-size: 1.1rem; }

.summary { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-top: 1px dashed var(--line); margin-top: .5rem; }
.summary strong { font-family: var(--display); font-size: 1.5rem; }

.form__title { font-family: var(--display); font-weight: 800; margin: 1.2rem 0 .8rem; font-size: 1.1rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.field--full { grid-column: 1 / -1; }
.grid2 .field { margin-bottom: 0; }
input {
  width: 100%; padding: .7rem .8rem; border: 2px solid var(--line); border-radius: 10px;
  font-family: var(--font); font-size: 1rem; color: var(--dark); background: #fff;
}
input:focus { outline: none; border-color: var(--orange); }
.form__error { background: #fff0ee; border: 1px solid #f3b7ad; color: #b02a12; padding: .8rem 1rem; border-radius: 10px; margin: 1rem 0; font-weight: 600; }
.form__actions { display: flex; gap: .8rem; margin-top: 1.4rem; }
.form__actions .btn--lg { flex: 1; }

/* Pay */
.pay__loading { text-align: center; padding: 2rem 0; color: var(--muted); font-weight: 600; }
.pay__ok-ref { text-align: center; color: var(--dark-2); margin-bottom: 1rem; }
.pix { text-align: center; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; margin-bottom: 1rem; }
.pix h3 { font-family: var(--display); margin: 0 0 .8rem; }
.pix img { width: 220px; height: 220px; margin: 0 auto 1rem; background: #fff; border-radius: 10px; }
.pix__hint { color: var(--muted); font-size: .9rem; margin: .8rem 0 0; }
.pay__status { text-align: center; margin-top: 1rem; font-weight: 700; color: var(--orange-dark); }
.pay__status.is-paid { color: #1a7f37; }
.pay__done { text-align: center; padding: 1.5rem 0; }
.pay__done-ico { display: inline-flex; color: #1a7f37; margin-bottom: .3rem; }
.pay__done-ico .icon { width: 56px; height: 56px; stroke-width: 2.2; }
.pay__done h3 { font-family: var(--display); font-size: 1.6rem; margin: .4rem 0; }

/* Quem sou */
.section--about { background: #fff; }
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; }
.about__media { display: flex; justify-content: center; }
.about__media img { width: 100%; max-width: 400px; border-radius: 22px; box-shadow: var(--shadow); }
.about__title { font-family: var(--display); font-weight: 900; font-size: clamp(1.7rem, 4vw, 2.6rem); letter-spacing: -.5px; margin: 1rem 0 1.2rem; }
.about__copy p { color: var(--dark-2); font-size: 1.12rem; margin: 0 0 1.1rem; }
.about__copy p:last-child { margin-bottom: 0; }

/* Footer */
.footer { background: var(--dark); color: #fff; padding: 2.5rem 0; margin-top: 2rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__logo { height: 34px; width: auto; }
.footer p { margin: 0; color: #cfcdb8; }

/* Responsive */
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .cards, .gallery { grid-template-columns: 1fr; }
  .buy { grid-template-columns: 1fr; }
  .buy__media { position: static; }
  .about { grid-template-columns: 1fr; gap: 1.6rem; }
  .about__title { text-align: center; }
  .nav__links a:not(.btn) { display: none; }
}
@media (max-width: 480px) {
  .grid2 { grid-template-columns: 1fr; }
}
