:root {
  --terracotta: #c65f43;
  --terracotta-deep: #b04f36;
  --graphite: #40312d;
  --graphite-soft: #6b5a54;
  --sand: #f5e8d8;
  --cream: #fdf8f4;
  --line: rgba(64, 49, 45, 0.12);
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(64, 49, 45, 0.16);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--graphite);
  background: var(--cream);
  letter-spacing: -0.01em;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  border-radius: 999px; padding: 1rem 1.55rem; font-weight: 800; font-size: .95rem;
  border: none; cursor: pointer; transition: transform .25s ease, background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.btn-primary { background: var(--terracotta); color: var(--white); box-shadow: 0 14px 36px rgba(198, 95, 67, 0.28); }
.btn-primary:hover { background: var(--terracotta-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; border: 1px solid rgba(253, 248, 244, 0.35); color: var(--cream);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost-dark {
  background: transparent; border: 1px solid var(--line); color: var(--graphite);
}
.btn-ghost-dark:hover { border-color: var(--terracotta); background: rgba(198,95,67,.06); }
.btn-light { background: var(--cream); color: var(--graphite); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-dark { background: var(--graphite); color: var(--cream); }
.btn-sm { padding: .65rem 1.1rem; font-size: .88rem; }

.field { display: grid; gap: .45rem; margin-bottom: 1rem; }
.field label { font-size: .88rem; font-weight: 800; color: var(--graphite-soft); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 1.1rem;
  padding: .95rem 1.1rem; background: var(--white); color: var(--graphite);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 4px rgba(198,95,67,.12);
}
.alert { border-radius: 1rem; padding: .9rem 1.05rem; margin-bottom: 1rem; font-size: .92rem; font-weight: 700; }
.alert-error { background: #fde8e6; color: #8a1f11; }
.alert-ok { background: #e8f5ec; color: #1f6b3a; }

/* ——— Site profissional ——— */
.site-nav {
  position: fixed; inset: 0 0 auto; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; max-width: 1200px; margin: 0 auto; left: 0; right: 0;
  transition: background .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
}
.site-nav.is-solid {
  background: rgba(253, 248, 244, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(64, 49, 45, 0.08);
}
.site-nav .brand-logo { height: 58px; width: auto; }
.site-nav .nav-actions { display: flex; gap: .6rem; align-items: center; }
.site-nav.is-solid .btn-ghost {
  border-color: var(--line); color: var(--graphite);
}
.site-nav.is-solid .btn-ghost:hover {
  border-color: var(--terracotta); background: rgba(198,95,67,.06);
}

.hero {
  position: relative; min-height: 100svh;
  display: grid; align-items: end;
  color: var(--cream); overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  transform: scale(1.06);
  animation: heroDrift 22s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(64, 49, 45, 0.88) 0%, rgba(64, 49, 45, 0.42) 52%, rgba(64, 49, 45, 0.72) 100%),
    linear-gradient(to top, rgba(64, 49, 45, 0.75) 0%, transparent 45%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 7.5rem 0 4.5rem;
}
.hero-brand {
  height: clamp(88px, 14vw, 128px); width: auto;
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.25));
  animation: rise .9s ease both;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  font-weight: 800; line-height: .92; letter-spacing: -.05em;
  margin: 0 0 1rem; max-width: 11ch;
  animation: rise .9s .08s ease both;
}
.hero .lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.45; color: rgba(253,248,244,.82);
  max-width: 34rem; margin: 0;
  animation: rise .9s .16s ease both;
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-top: 1.75rem;
  animation: rise .9s .24s ease both;
}
.store-row {
  display: flex; flex-wrap: wrap; gap: .7rem;
  margin-top: 1.35rem;
  animation: rise .9s .32s ease both;
}
.store-pill {
  display: inline-flex; align-items: center; gap: .7rem;
  min-width: 168px; padding: .8rem 1.05rem;
  border-radius: 16px; background: rgba(253,248,244,.1);
  border: 1px solid rgba(253,248,244,.18); color: #fff;
  backdrop-filter: blur(8px); transition: background .2s ease, transform .2s ease;
}
.store-pill:hover { background: rgba(253,248,244,.18); transform: translateY(-2px); }
.store-pill-unavailable { cursor: not-allowed; opacity: .62; }
.store-pill-unavailable:hover { background: transparent; transform: none; }
.store-pill small { display: block; opacity: .72; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.store-pill strong { font-size: .98rem; font-weight: 800; }

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

.section {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 5.5rem 0;
}
.section-head { max-width: 38rem; margin-bottom: 2.25rem; }
.eyebrow {
  font-size: .76rem; font-weight: 800; letter-spacing: .28em;
  text-transform: uppercase; color: var(--terracotta); margin: 0 0 .7rem;
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800; letter-spacing: -.04em; line-height: 1;
  margin: 0 0 .85rem;
}
.section .sub {
  margin: 0; color: var(--graphite-soft); font-size: 1.05rem; line-height: 1.5;
}

.steps {
  display: grid; gap: 1.25rem;
  counter-reset: step;
}
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }
.step { position: relative; padding-top: .25rem; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 800; font-size: 2.4rem;
  letter-spacing: -.04em; color: var(--terracotta); display: block; margin-bottom: .6rem;
}
.step h3 {
  font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 .45rem; letter-spacing: -.03em;
}
.step p { margin: 0; color: var(--graphite-soft); line-height: 1.45; }

.band {
  position: relative; color: var(--cream); overflow: hidden;
  padding: 5.5rem 0;
}
.band-media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.band-veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(64,49,45,.92) 0%, rgba(64,49,45,.55) 100%);
}
.band-inner {
  position: relative; z-index: 2;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid; gap: 1.5rem;
}
@media (min-width: 860px) {
  .band-inner { grid-template-columns: 1.1fr .9fr; align-items: center; }
}
.band h2 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.04em; line-height: 1; margin: 0 0 .8rem;
}
.band p { color: rgba(253,248,244,.8); line-height: 1.5; margin: 0; font-size: 1.05rem; }
.band ul {
  list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem;
}
.band li {
  padding-left: 1.35rem; position: relative; color: rgba(253,248,244,.88); line-height: 1.4;
}
.band li::before {
  content: ""; position: absolute; left: 0; top: .55rem;
  width: .55rem; height: .55rem; border-radius: 50%; background: var(--terracotta);
}

.highlights { display: grid; gap: 1rem; }
@media (min-width: 700px) { .highlights { grid-template-columns: repeat(3, 1fr); } }
.highlight {
  position: relative; min-height: 280px; border-radius: 0; overflow: hidden;
  background: var(--graphite); color: #fff;
}
.highlight-media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .7s ease;
}
.highlight:hover .highlight-media { transform: scale(1.05); }
.highlight-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(64,49,45,.92) 0%, rgba(64,49,45,.15) 55%);
}
.highlight-body {
  position: absolute; inset: auto 0 0; padding: 1.25rem 1.2rem 1.35rem;
}
.highlight h3 {
  font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 .35rem; letter-spacing: -.03em;
}
.highlight p { margin: 0; color: rgba(253,248,244,.78); font-size: .92rem; }
.highlight .price {
  margin-top: .65rem; font-weight: 800; color: #f0b5a2; font-size: 1rem;
}

.profiles {
  display: grid; gap: 1.5rem;
}
@media (min-width: 860px) { .profiles { grid-template-columns: 1fr 1.2fr; align-items: end; } }
.profile-list { display: grid; gap: .9rem; }
.profile-item {
  border-top: 1px solid var(--line); padding: 1rem 0 .2rem;
}
.profile-item strong {
  display: block; font-family: var(--font-display); font-size: 1.2rem;
  letter-spacing: -.03em; margin-bottom: .25rem;
}
.profile-item span { color: var(--graphite-soft); line-height: 1.4; }

.cta-final {
  text-align: center; padding: 5.5rem 1.25rem 4rem;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(198,95,67,.16), transparent 60%),
    linear-gradient(180deg, var(--cream), var(--sand));
}
.cta-final img { height: 96px; margin: 0 auto 1.2rem; }
.cta-final h2 {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: -.045em; line-height: 1; margin: 0 0 .8rem;
}
.cta-final p {
  max-width: 32rem; margin: 0 auto 1.5rem; color: var(--graphite-soft); font-size: 1.08rem; line-height: 1.45;
}
.cta-final .hero-cta { justify-content: center; }
.cta-final .store-row { justify-content: center; }

.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  width: min(1120px, calc(100% - 2.5rem)); margin: 0 auto;
  padding: 1.75rem 0 2.5rem; color: var(--graphite-soft); font-size: .9rem; font-weight: 700;
}
.site-footer a { color: var(--terracotta); }

.page-shell {
  min-height: 100svh;
  background:
    radial-gradient(ellipse 55% 40% at 8% 0%, rgba(198,95,67,.12), transparent 55%),
    linear-gradient(180deg, #fdf8f4 0%, #f5e8d8 100%);
}
.page-shell .site-nav { position: relative; max-width: 1120px; }
.page-shell .site-nav .btn-ghost {
  border-color: var(--line); color: var(--graphite);
}
.form-stage {
  width: min(520px, calc(100% - 2.5rem));
  margin: 1rem auto 4rem;
}
.form-stage .brand-logo { height: 84px; margin-bottom: 1rem; }
.form-panel {
  background: rgba(253,248,244,.92); border: 1px solid var(--line);
  border-radius: 1.6rem; padding: 1.6rem; box-shadow: var(--shadow);
}
.form-stage h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.7rem);
  letter-spacing: -.04em; line-height: 1; margin: 0 0 .6rem;
}
.form-stage .lead { color: var(--graphite-soft); margin: 0 0 1.25rem; line-height: 1.45; }
.check-row { display: grid; gap: .45rem; margin-bottom: 1rem; }
.check-row label { display: flex; gap: .55rem; align-items: center; font-weight: 700; color: var(--graphite); }

.download-stage {
  min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding: 2rem 1.25rem 3rem; color: var(--cream); position: relative; overflow: hidden;
}
.download-stage .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  animation: heroDrift 20s ease-in-out infinite alternate;
}
.download-stage .veil {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(64,49,45,.9), rgba(64,49,45,.72));
}
.download-stage .inner { position: relative; z-index: 2; max-width: 560px; }
.download-stage img { height: 110px; margin: 0 auto 1.2rem; }
.download-stage h1 {
  font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -.045em; line-height: .95; margin: 0 0 .8rem;
}
.download-stage p { color: rgba(253,248,244,.82); line-height: 1.45; margin: 0 0 1.4rem; }

/* Admin (mantido) */
.admin-shell { min-height: 100vh; display: grid; }
@media (min-width: 960px) { .admin-shell { grid-template-columns: 260px 1fr; } }
.admin-side { background: var(--graphite); color: #f7f0e8; padding: 1.25rem 1rem; }
.admin-side .logo { height: 56px; width: auto; margin: .25rem 0 1.25rem .5rem; }
.admin-nav a {
  display: block; padding: .7rem .9rem; border-radius: 12px; margin-bottom: .2rem;
  color: rgba(247,240,232,.78); font-weight: 700; font-size: .92rem;
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(198,95,67,.22); color: #fff; }
.admin-nav .group {
  margin: 1rem .5rem .4rem; font-size: .7rem; letter-spacing: .16em;
  text-transform: uppercase; opacity: .45; font-weight: 800;
}
.admin-main { padding: 1.25rem 1.25rem 3rem; }
.admin-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 1rem; margin-bottom: 1.25rem;
}
.admin-top h1 { margin: 0; font-size: 1.6rem; letter-spacing: -.03em; font-family: var(--font-display); }
.stats {
  display: grid; gap: .85rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-bottom: 1.25rem;
}
.stat {
  background: var(--white); border: 1px solid var(--line); border-radius: 1.25rem;
  padding: 1rem 1.1rem;
}
.stat span { display: block; font-size: .78rem; color: var(--graphite-soft); font-weight: 700; }
.stat strong { font-size: 1.55rem; letter-spacing: -.03em; color: var(--terracotta); font-family: var(--font-display); }
.table-wrap {
  background: var(--white); border: 1px solid var(--line); border-radius: 1.25rem; overflow: auto;
}
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--graphite-soft); }
.badge {
  display: inline-flex; padding: .2rem .55rem; border-radius: 999px;
  font-size: .72rem; font-weight: 800; background: var(--sand); color: var(--graphite);
}
.badge-ok { background: #e8f5ec; color: #1f6b3a; }
.badge-warn { background: #fff3e0; color: #9a5b10; }
.actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.panel-form {
  background: var(--white); border: 1px solid var(--line); border-radius: 1.25rem;
  padding: 1.25rem; max-width: 720px;
}
.grid-2 { display: grid; gap: 1rem; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.muted { color: var(--graphite-soft); font-size: .9rem; }
.login-wrap {
  min-height: 100vh; display: grid; place-items: center;
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(198,95,67,.18), transparent 55%),
    var(--cream);
}
.login-card { width: min(420px, 92vw); background: rgba(253,248,244,.95); border: 1px solid var(--line); border-radius: 1.6rem; padding: 1.6rem; box-shadow: var(--shadow); }
.login-card .logo { height: 88px; margin: 0 auto 1rem; }
.card {
  background: rgba(253,248,244,.92); border: 1px solid var(--line);
  border-radius: 1.4rem; padding: 1.25rem; box-shadow: var(--shadow);
}
