/* Distrito 45 · Clube — paleta da marca: grafite #232323, vinho #591E16, creme #FCF8DE */
:root {
  --ink: #141110;
  --ink-2: #1c1816;
  --ink-3: #26201d;
  --line: rgba(252, 248, 222, .10);
  --line-2: rgba(252, 248, 222, .18);
  --cream: #fcf8de;
  --cream-2: #f0e9c9;
  --muted: rgba(252, 248, 222, .66);
  --wine: #591e16;
  --wine-2: #7a2a1f;
  --wine-3: #a33a2a;
  --gold: #d9b36c;
  --ok: #7fc98f;
  --err: #ff8a7a;

  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Damion", cursive;

  --r: 18px;
  --wrap: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* grão sutil em toda a página */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; line-height: 1.04; }
h3 { font-weight: 700; font-size: 1.06rem; letter-spacing: -.005em; }
p { margin: 0; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap--narrow { --wrap: 780px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- botões ---------- */
.btn {
  --bg: var(--cream); --fg: var(--ink);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 56px; padding: 0 28px;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 700 1rem/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  --bg: linear-gradient(135deg, var(--wine-3), var(--wine) 70%);
  --fg: var(--cream);
  box-shadow: 0 10px 30px -8px rgba(163, 58, 42, .6), inset 0 1px 0 rgba(255,255,255,.14);
}
.btn--primary:hover { box-shadow: 0 16px 40px -8px rgba(163, 58, 42, .75), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--light { --bg: var(--cream); --fg: var(--wine); }
.btn--block { width: 100%; }
.btn__spinner {
  display: none; width: 18px; height: 18px;
  border: 2px solid rgba(252,248,222,.35); border-top-color: var(--cream);
  border-radius: 50%; animation: spin .7s linear infinite;
}
.btn.is-loading { pointer-events: none; opacity: .9; }
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; align-items: end;
  padding: 130px 0 72px;
  isolation: isolate;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,17,16,.7) 0%, rgba(20,17,16,.45) 30%, rgba(20,17,16,.9) 70%, var(--ink) 100%),
    linear-gradient(90deg, rgba(20,17,16,.92) 0%, rgba(20,17,16,.6) 45%, rgba(20,17,16,.15) 100%),
    radial-gradient(120% 80% at 80% 10%, rgba(89,30,22,.45), transparent 60%),
    url("/assets/shop3.webp") center 30% / cover no-repeat;
  transform: scale(1.06);
  animation: heroIn 2.2s var(--ease) forwards;
}
@keyframes heroIn { to { transform: scale(1); } }
.hero__inner { display: grid; gap: 22px; }
.hero__logo { width: min(300px, 70vw); height: auto; position: absolute; top: 32px; left: 50%; translate: -50% 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start;
  padding: 8px 14px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(20,17,16,.5); backdrop-filter: blur(8px);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream-2);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(127,201,143,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(127,201,143,0); } 100% { box-shadow: 0 0 0 0 rgba(127,201,143,0); } }
.hero h1 { font-size: clamp(3rem, 9vw, 7.2rem); max-width: 12ch; }
.hero h1 em { font-style: italic; color: var(--cream-2); opacity: .9; }
.hero__lead { max-width: 54ch; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.hero__price { color: var(--muted); font-size: .95rem; }
.hero__price strong { color: var(--cream); font-size: 1.25rem; font-weight: 800; margin-left: 4px; }
.hero__price small { font-size: .9rem; }
.hero__trust { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .86rem; color: var(--muted); }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--wine-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fcf8de' stroke-width='4'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/9px no-repeat; }

/* ---------- seções ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(64px, 8vw, 110px) 0; }
.section__head { display: grid; gap: 14px; max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.script { font-family: var(--script); font-size: 1.9rem; line-height: 1; color: var(--wine-3); }

/* benefícios — bento */
.benefits { display: grid; gap: 14px; grid-template-columns: repeat(6, 1fr); }
.benefit {
  grid-column: span 2;
  position: relative;
  padding: 28px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(180deg, var(--ink-2), rgba(28,24,22,.4));
  display: grid; gap: 10px; align-content: start;
  transition: border-color .3s, transform .3s var(--ease), background .3s;
  overflow: hidden;
}
.benefit:hover { border-color: var(--line-2); transform: translateY(-3px); }
.benefit p { color: var(--muted); font-size: .96rem; }
.benefit__icon {
  width: 48px; height: 48px; margin-bottom: 8px;
  display: grid; place-items: center;
  border-radius: 14px; background: rgba(89,30,22,.45); border: 1px solid rgba(163,58,42,.4);
}
.benefit__icon svg { width: 24px; height: 24px; fill: var(--cream); }
.benefit--feature {
  grid-column: span 4; grid-row: span 2;
  padding: clamp(28px, 4vw, 44px);
  background:
    radial-gradient(100% 90% at 100% 0%, rgba(163,58,42,.55), transparent 60%),
    linear-gradient(160deg, var(--wine), #2a0f0b);
  border-color: rgba(163,58,42,.5);
  align-content: end; min-height: 340px;
}
.benefit--feature h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.05; }
.benefit--feature p { color: rgba(252,248,222,.8); font-size: 1.05rem; max-width: 42ch; }
.benefit--feature .benefit__icon { width: 64px; height: 64px; background: rgba(252,248,222,.12); border-color: rgba(252,248,222,.2); }
.benefit--feature .benefit__icon svg { width: 32px; height: 32px; }
.benefit--soon { border-style: dashed; background: transparent; }

/* galeria */
.gallery { padding-bottom: clamp(40px, 6vw, 80px); }
.gallery__track {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  width: min(1400px, 100% - 32px); margin-inline: auto;
}
.gallery figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; }
.gallery figure:nth-child(2) { translate: 0 40px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.05); transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery__quote { margin-top: clamp(80px, 10vw, 120px); text-align: center; }
.gallery__quote p { font-family: var(--serif); font-size: clamp(1.8rem, 4.4vw, 3.4rem); line-height: 1.1; }
.gallery__quote em { color: var(--wine-3); }

/* passos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.steps li { padding: 28px; border-top: 1px solid var(--line-2); display: grid; gap: 8px; }
.steps span { font-family: var(--serif); font-size: 2.6rem; color: var(--wine-3); line-height: 1; margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* checkout */
.checkout { background: linear-gradient(180deg, transparent, rgba(89,30,22,.16) 30%, rgba(89,30,22,.16) 70%, transparent); }
.checkout__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; }
.checkout__grid > * { min-width: 0; }
.builder, .form { border-radius: 24px; padding: clamp(22px, 3.4vw, 40px); border: 1px solid var(--line-2); }

/* montador */
.builder {
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(217,179,108,.10), transparent 60%),
    linear-gradient(170deg, var(--ink-3), var(--ink-2));
  display: grid; gap: 14px;
}
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.chip {
  padding: 9px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: transparent; color: var(--cream-2);
  font: 700 .84rem var(--sans);
  transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: rgba(252,248,222,.35); }
.chip.is-active { background: var(--cream); color: var(--wine); border-color: var(--cream); }

.service {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px 16px;
  padding: 20px; border-radius: 18px;
  background: rgba(20,17,16,.55); border: 1px solid var(--line);
  transition: border-color .25s;
}
.service.is-on { border-color: rgba(163,58,42,.55); }
.service__info h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.service__info p { color: var(--muted); font-size: .92rem; }
.service__info p span { color: var(--cream); font-weight: 700; }
.service__info s { white-space: nowrap; margin-left: 4px; opacity: .6; font-size: .85rem; }
.service__info s:empty { display: none; }
.stepper { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--ink); border: 1px solid var(--line-2); }
.stepper button {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink-3); color: var(--cream); font: 600 1.4rem/1 var(--sans);
  transition: background .2s, opacity .2s;
}
.stepper button:hover:not(:disabled) { background: var(--wine-2); }
.stepper button:disabled { opacity: .3; cursor: not-allowed; }
.stepper output { min-width: 34px; text-align: center; font-family: var(--serif); font-size: 1.7rem; line-height: 1; }
.meter { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.meter i { height: 6px; border-radius: 6px; background: rgba(252,248,222,.10); transition: background .3s var(--ease); }
.meter i.on { background: linear-gradient(90deg, var(--wine-3), #c4553f); }

.matrix-wrap { margin-top: 4px; border-top: 1px solid var(--line); padding-top: 14px; }
.matrix-wrap summary { cursor: pointer; font-weight: 700; font-size: .92rem; color: var(--cream-2); list-style: none; display: flex; align-items: center; gap: 8px; }
.matrix-wrap summary::-webkit-details-marker { display: none; }
.matrix-wrap summary::before { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); font-size: .95rem; }
.matrix-wrap[open] summary::before { content: "−"; }
.matrix-scroll { overflow-x: auto; margin-top: 14px; }
.matrix { width: 100%; border-collapse: separate; border-spacing: 4px; font-size: .82rem; }
.matrix th { font-weight: 700; color: var(--muted); padding: 6px 4px; white-space: nowrap; }
.matrix thead th:first-child { text-align: left; font-size: .72rem; line-height: 1.25; font-weight: 600; }
.matrix tbody th { text-align: left; }
.matrix td button {
  width: 100%; padding: 9px 4px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(20,17,16,.5); color: var(--cream);
  font: 700 .82rem var(--sans); white-space: nowrap;
  transition: background .2s, border-color .2s;
}
.matrix td button:hover { border-color: var(--line-2); }
.matrix td button.is-active { background: var(--cream); color: var(--wine); border-color: var(--cream); }
.matrix td.na { text-align: center; color: rgba(252,248,222,.25); }
.matrix__hint { font-size: .8rem; color: var(--muted); margin-top: 8px; }

.perks { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .86rem; color: var(--muted); }
.perks li { display: flex; align-items: center; gap: 8px; }
.perks li::before {
  content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--wine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fcf8de' stroke-width='3.5'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* resumo + formulário */
.form { background: var(--cream); color: var(--ink); display: grid; gap: 14px; align-content: start; position: sticky; top: 20px; }
.form__eyebrow { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--wine-2); }
.summary__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.1rem); line-height: 1.1; margin-top: -6px; }
.summary { margin: 0; display: grid; gap: 6px; font-size: .95rem; color: #4a413c; }
.summary > div { display: flex; justify-content: space-between; gap: 12px; }
.summary dd { margin: 0; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.summary [hidden] { display: none; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1.5px dashed #ddd2ad; }
.summary__total > span { font-weight: 700; color: #3a322e; }
.summary__total strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4vw, 2.8rem); line-height: 1; color: var(--wine); font-variant-numeric: tabular-nums; }
.summary__total small { font-family: var(--sans); font-size: .9rem; color: #6b625b; margin-left: 2px; }
.summary__saving {
  justify-self: start; padding: 7px 12px; border-radius: 999px;
  background: #e6efd9; color: #2f5a22; font-size: .84rem; font-weight: 800;
}
.form hr { border: 0; border-top: 1px solid #e6dcb8; margin: 4px 0; width: 100%; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .82rem; font-weight: 700; letter-spacing: .02em; color: #3a322e; }
.field input {
  width: 100%; height: 56px; padding: 0 18px;
  border: 1.5px solid #e2d9b8; border-radius: 14px;
  background: #fffdf2; color: var(--ink);
  font: 500 1.05rem var(--sans);
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #a89f8a; }
.field input:focus { outline: none; border-color: var(--wine-2); box-shadow: 0 0 0 4px rgba(122,42,31,.14); }
.field__err { display: none; color: #b0301f; font-size: .82rem; font-weight: 600; }
.field.is-invalid input { border-color: #c0392b; }
.field.is-invalid .field__err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: #4a413c; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--wine); }
.check a { color: var(--wine); font-weight: 700; }
.check.is-invalid span { color: #b0301f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__msg { min-height: 1.2em; font-size: .9rem; font-weight: 600; color: #b0301f; text-align: center; }
.form__msg:empty { display: none; }
.form__secure { display: flex; gap: 10px; align-items: center; justify-content: center; font-size: .8rem; color: #6b625b; text-align: left; }
.form__secure svg { flex: none; width: 16px; height: 16px; fill: currentColor; }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--ink-2); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 56px 20px 22px; position: relative;
  font-weight: 700; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--cream-2); border-bottom: 2px solid var(--cream-2);
  rotate: 45deg; transition: rotate .25s var(--ease), margin .25s;
}
.faq details[open] summary::after { rotate: -135deg; margin-top: -2px; }
.faq details p { padding: 0 22px 22px; color: var(--muted); }

/* final */
.final { padding: 0 0 clamp(80px, 10vw, 120px); }
.final__inner {
  text-align: center; display: grid; justify-items: center; gap: 24px;
  padding: clamp(48px, 7vw, 88px) 24px;
  border-radius: 28px;
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(163,58,42,.6), transparent 70%),
    var(--wine);
}
.final__inner img { width: 96px; height: auto; }
.final__inner h2 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 16ch; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); }
.footer__inner { display: grid; gap: 18px; justify-items: center; text-align: center; color: var(--muted); font-size: .92rem; }
.footer__logo { width: 200px; height: auto; opacity: .9; }
.footer address { font-style: normal; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { text-decoration: none; font-weight: 700; color: var(--cream-2); }
.footer__links a:hover { color: var(--cream); text-decoration: underline; }
.footer__copy { font-size: .8rem; opacity: .7; }

/* CTA fixo no mobile */
.sticky-cta {
  position: fixed; z-index: 50; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: none; align-items: center; justify-content: space-between;
  padding: 10px 10px 10px 20px; border-radius: 999px;
  background: rgba(28,24,22,.88); backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  text-decoration: none; color: var(--muted); font-size: .92rem;
  box-shadow: 0 16px 40px -10px rgba(0,0,0,.7);
  transform: translateY(140%); transition: transform .4s var(--ease);
}
.sticky-cta strong { color: var(--cream); font-size: 1.08rem; }
.sticky-cta small { display: block; font-size: .72rem; line-height: 1.2; color: var(--muted); }
.sticky-cta__btn { padding: 12px 22px; border-radius: 999px; background: linear-gradient(135deg, var(--wine-3), var(--wine)); color: var(--cream); font-weight: 800; }
.sticky-cta.is-visible { transform: translateY(0); }

/* animação de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefit, .benefit--feature { grid-column: span 1; grid-row: auto; }
  .benefit--feature { grid-column: 1 / -1; min-height: 280px; }
  .checkout__grid { grid-template-columns: 1fr; }
  .form { position: static; }
}
@media (max-width: 720px) {
  .hero { padding-bottom: 48px; }
  .hero__logo { width: 210px; top: 24px; }
  .hero__cta .btn { width: 100%; }
  .benefits { grid-template-columns: 1fr; }
  .benefit { padding: 24px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 24px 0; }
  .gallery__track { grid-template-columns: 1fr 1fr; }
  .gallery figure:nth-child(2) { translate: 0 24px; }
  .gallery figure:nth-child(3) { display: none; }
  .sticky-cta { display: flex; }
  .service { padding: 16px; }
  .service__info h3 { font-size: 1.45rem; }
  .stepper button { width: 40px; height: 40px; }
  .chip { padding: 8px 12px; font-size: .8rem; }
  .builder { padding: 18px; }
  .matrix { border-spacing: 3px; }
  .matrix th { padding: 4px 2px; font-size: .74rem; }
  .matrix td button { padding: 8px 0; font-size: .72rem; border-radius: 8px; }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
