/* ==========================================================
   Dobra Studio – página de vendas (mobile first)
   ========================================================== */

:root {
  --bg: #F5EFE4;
  --paper: #FBF8F2;
  --ink: #161613;
  --muted: #5E5B52;
  --olive: #66703A;
  --olive-d: #4A5326;
  --olive-xd: #2E3416;
  --line: rgba(22, 22, 19, .12);
  --radius: 20px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --shadow: 0 14px 40px -18px rgba(46, 52, 22, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; border-radius: 6px; }
svg use { pointer-events: none; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 780px; }
.muted { color: var(--muted); }
.accent { color: var(--olive); }

/* ---------- tipografia ---------- */
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.08; }
h1 { font-size: clamp(2.1rem, 8.8vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 6.4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }

.eyebrow {
  display: inline-flex; flex-direction: column; gap: 10px;
  font-size: .75rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--olive-d);
}
.eyebrow::after { content: ""; width: 44px; height: 2px; background: var(--olive); border-radius: 2px; }
.eyebrow--light { color: #D9DFB8; }
.eyebrow--light::after { background: #A9B36B; }

.lead { font-size: 1.1rem; color: #3A3832; max-width: 34ch; }
.lead strong { color: var(--ink); }

/* ---------- botões ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: var(--h);
  padding: 6px 6px 6px 26px;
  border-radius: 999px;
  background: var(--ink); color: #F7F2E8;
  font-weight: 700; font-size: .84rem; letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; max-width: 100%; cursor: pointer; border: 0;
  box-shadow: 0 10px 24px -12px rgba(22, 22, 19, .6);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn__arrow {
  display: grid; place-items: center; flex: none;
  width: calc(var(--h) - 12px); height: calc(var(--h) - 12px);
  border-radius: 50%; background: var(--olive); color: #fff;
  transition: transform .18s ease;
}
.btn__arrow svg { width: 22px; height: 22px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(22, 22, 19, .6); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--lg { --h: 64px; padding-left: 26px; font-size: .88rem; }
.btn--sm { --h: 44px; padding-left: 18px; font-size: .78rem; gap: 10px; }
.btn__label { line-height: 1.2; text-align: left; min-width: 0; }
.btn--sm .btn__label { white-space: nowrap; }
.btn--sm .btn__arrow svg { width: 18px; height: 18px; }
.btn--block { display: flex; width: 100%; }
.btn--light { background: #F7F2E8; color: var(--ink); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .7); }

/* ---------- topo ---------- */
.topbar {
  background: var(--olive-xd); color: #E7EBCB;
  text-align: center; font-size: .78rem; font-weight: 500; letter-spacing: .03em;
  padding: 8px 16px;
}
.header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(245, 239, 228, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand__mark { width: 34px; height: 34px; flex: none; object-fit: contain; }
.brand__txt { font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; white-space: nowrap; }

/* ---------- hero ---------- */
.hero { padding: 36px 0 28px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -20%; top: -10%; width: 70vmax; height: 70vmax; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(102, 112, 58, .16), transparent 70%);
  pointer-events: none;
}
.hero__in { position: relative; display: grid; gap: 28px; }
.hero__copy { display: grid; gap: 18px; justify-items: start; }
.hero h1 { margin-top: 2px; }
.hero__buy { display: grid; gap: 12px; width: 100%; }
.hero__buy .btn { width: 100%; }
.price-line { font-size: .92rem; color: var(--muted); text-align: center; }
.price-line strong { color: var(--ink); font-size: 1.05rem; }

.hero__media { position: relative; }
.hero__media img { width: 100%; border-radius: 28px; box-shadow: var(--shadow); }
.hero__media figcaption, .offer__media figcaption { margin-top: 10px; font-size: .78rem; color: var(--muted); text-align: center; }

/* ---------- benefícios ---------- */
.benefits { background: var(--paper); border-block: 1px solid var(--line); padding: 26px 0; }
.benefits__grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.benefits__grid li { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: start; }
.benefits__grid .ico { grid-row: span 2; }
.benefits__grid strong { font-size: 1rem; line-height: 1.3; align-self: end; }
.benefits__grid li > span:last-child { font-size: .9rem; color: var(--muted); line-height: 1.5; }

.ico {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: #E9E7D2; color: var(--olive-d); flex: none;
}
.ico svg { width: 24px; height: 24px; }

/* ---------- seções ---------- */
.section { padding: 64px 0; }
.section--paper { background: var(--paper); border-block: 1px solid var(--line); }
.section--dark { background: var(--olive-xd); color: #F3EFE2; }
.sec-head { display: grid; gap: 14px; margin-bottom: 34px; justify-items: start; }
.sec-head--center { justify-items: center; text-align: center; }
.sec-sub { font-size: 1.05rem; color: var(--muted); max-width: 46ch; }
.section--dark .sec-sub { color: #CBD0B1; }

/* ---------- modelos ---------- */
.models { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.model {
  display: grid; grid-template-columns: 1fr; align-content: start; min-width: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.model img { width: 100%; height: auto; aspect-ratio: 760 / 654; object-fit: cover; }
.model__txt { padding: 12px 14px 16px; display: grid; align-content: start; gap: 5px; }
.model__txt p { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.tag { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--olive-d); }
.model__price { margin-top: 2px; font-size: .95rem; font-weight: 600; color: var(--muted); text-decoration-thickness: 2px; text-decoration-color: rgba(22,22,19,.55); }
.model h3 { font-size: 1.35rem; }

/* total dos modelos */
.models-total { margin-top: 36px; display: grid; justify-items: center; gap: 18px; text-align: center; }
.models-total__txt { font-size: 1.15rem; color: var(--muted); }
.models-total__txt s { text-decoration-thickness: 2px; }
.models-total__txt strong { color: var(--ink); font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; }
.models-total .btn { width: 100%; max-width: 420px; }

/* ---------- bônus ---------- */
.bonus { display: grid; gap: 18px; }
.bonus__card {
  position: relative; display: grid; gap: 12px; align-content: start;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius); padding: 20px;
}
.bonus__card p { color: #CBD0B1; font-size: .95rem; }
.bonus__card strong { color: #F3EFE2; }
.badge {
  justify-self: start; background: #A9B36B; color: var(--olive-xd);
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.bonus__pair { display: grid; grid-template-columns: 1fr; gap: 10px; }
.bonus__pair img { border-radius: 14px; aspect-ratio: 760 / 443; object-fit: cover; width: 100%; }

/* ---------- oferta ---------- */
.offer__grid { display: grid; gap: 26px; }
.offer__grid > * { min-width: 0; }
.offer__media img { width: 100%; border-radius: 26px; box-shadow: var(--shadow); }
.offer__card {
  background: var(--paper); border: 2px solid var(--ink); border-radius: 26px;
  padding: 26px 22px; display: grid; gap: 20px;
  box-shadow: 8px 8px 0 var(--olive);
}
.offer__kicker { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--olive-d); }
.includes { display: grid; gap: 12px; }
.includes li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: .95rem; line-height: 1.45; }
.includes svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--olive); color: #fff; margin-top: -1px; }

.counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px 0; border-block: 1px dashed rgba(22, 22, 19, .25); }
.counts div { display: grid; gap: 2px; text-align: center; }
.counts b { font-size: 1.9rem; font-weight: 800; color: var(--olive-d); line-height: 1; letter-spacing: -.03em; }
.counts span { font-size: .72rem; line-height: 1.25; color: var(--muted); }

.price { display: grid; gap: 4px; justify-items: center; text-align: center; }
.price__old { color: var(--muted); font-size: 1.05rem; }
.price__now { font-size: clamp(3.6rem, 18vw, 5.2rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; display: inline-flex; align-items: baseline; gap: 4px; }
.price__now small { font-size: .38em; letter-spacing: -.02em; }
.safe { text-align: center; font-size: .82rem; color: var(--muted); margin-top: -6px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative;
  font-weight: 700; font-size: 1rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 11px; height: 11px;
  border-right: 2.5px solid var(--olive); border-bottom: 2.5px solid var(--olive);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details[open] { border-color: var(--olive); }
.faq p { padding: 0 20px 20px; color: var(--muted); font-size: .96rem; }

/* ---------- CTA final ---------- */
.final { background: var(--ink); color: #F7F2E8; padding: 64px 0; text-align: center; }
.final__in { display: grid; gap: 20px; justify-items: center; }
.final h2 { font-size: clamp(1.8rem, 6.4vw, 2.8rem); }
.final .accent { color: #B7C27A; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.12em; letter-spacing: -.01em; }
.final p { color: #CFCABB; }
.final p strong { color: #fff; }
.final .btn { width: 100%; max-width: 420px; }

/* ---------- rodapé ---------- */
.footer { background: #0F0F0D; color: #A9A596; padding: 36px 0 calc(28px + 72px); } /* folga p/ barra fixa */
.footer .wrap { display: grid; gap: 10px; }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; color: #F7F2E8; font-weight: 800; font-size: 1.1rem; }
.footer__brand img { width: 36px; height: 36px; padding: 5px; border-radius: 10px; background: #F5EFE4; object-fit: contain; }
.footer__small { font-size: .78rem; color: #8F8B7D; }
.footer__link { color: #CFCABB; font-size: .9rem; text-underline-offset: 3px; justify-self: start; }
.footer__link:hover { color: #fff; }

/* ---------- barra fixa mobile ---------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 248, 242, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .3s ease;
}
.sticky.show { transform: none; }
.sticky__price { display: grid; line-height: 1.1; }
.sticky__price small { font-size: .7rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.sticky__price strong { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; }

/* ---------- animação de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================
   Telas maiores
   ========================================================== */

/* celulares muito pequenos */
@media (max-width: 399px) {
  .brand { gap: 8px; }
}
@media (max-width: 359px) {
  .wrap { padding: 0 16px; }
  .btn--sm .btn__label { display: none; }
  .btn--sm { padding-left: 6px; }
}

/* celulares grandes / tablets pequenos */
@media (min-width: 560px) {
  .wrap { padding: 0 28px; }
  .models { gap: 18px; }
  .model__txt { padding: 18px 20px 22px; gap: 6px; }
  .model__txt p { font-size: .9rem; }
  .tag { font-size: .68rem; letter-spacing: .14em; }
  .model h3 { font-size: 1.5rem; }
  .bonus__pair { grid-template-columns: 1fr 1fr; }
  .bonus__card { padding: 24px; }
  .hero__buy .btn { width: auto; justify-self: start; }
  .price-line { text-align: left; }
}

/* tablets */
@media (min-width: 768px) {
  .benefits__grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .sticky { display: none; }
  .footer { padding-bottom: 28px; }
  .section { padding: 88px 0; }
  .header__in { height: 72px; }
  .brand__txt { font-size: 1.15rem; }
  .btn--sm { --h: 48px; padding-left: 22px; font-size: .82rem; }
  .offer__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 44px; }
}

/* tablet grande: hero em duas colunas */
@media (min-width: 900px) {
  .hero { padding: 56px 0 48px; }
  .hero__in { grid-template-columns: 1.02fr 1fr; align-items: center; gap: 48px; }
  .hero h1 { font-size: clamp(2.6rem, 4.6vw, 3.9rem); }
}

/* desktop */
@media (min-width: 1024px) {
  .hero { padding: 64px 0 56px; }
  .hero__in { gap: 64px; }
  .hero__copy { gap: 24px; }
  .hero h1 { font-size: clamp(2.6rem, 4.3vw, 3.9rem); }
  .btn { font-size: .9rem; }
  .btn--lg { font-size: .95rem; }
  .lead { font-size: 1.22rem; }
  .models { grid-template-columns: repeat(4, 1fr); }
  .model h3 { font-size: 1.7rem; }
  .bonus__card { padding: 30px; gap: 16px; }
  .bonus__card h3 { font-size: 1.45rem; }
  .offer__card { padding: 36px 34px; }
  .final { padding: 96px 0; }
}

@media (min-width: 1280px) {
  .wrap { max-width: 1200px; }
}

/* quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- página de termos ---------- */
.legal { padding: 40px 0 72px; }
.legal h1 { font-size: clamp(2rem, 7vw, 2.8rem); margin-bottom: 8px; }
.legal__date { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.2rem; letter-spacing: -.015em; margin: 28px 0 8px; }
.legal p, .legal li { color: #3A3832; }
.legal p + p { margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 1.2rem; display: grid; gap: 6px; margin-top: 8px; }
.legal__back { display: inline-block; margin-bottom: 24px; font-weight: 600; color: var(--olive-d); text-underline-offset: 3px; }
