/* Identidade visual e fundamentos */
:root {
  color-scheme: dark;
  --background: #11232c;
  --surface: #192e38;
  --accent: #e77949;
  --text: #f7f5f0;
  --muted: #b9c8ce;
  --line: #ffffff20;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 16px/1.6 system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

/* Navegação e seções */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px max(5vw, 20px);
  background: #11232cf5;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
}

.brand img {
  width: 46px;
  border-radius: 50%;
}

.brand b, em, .eyebrow {
  color: var(--accent);
}

.header-link {
  font-size: 14px;
  white-space: nowrap;
}

.scene {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 100px);
  min-height: 70vh;
  padding: clamp(64px, 9vw, 130px) max(6vw, 24px);
  border-bottom: 1px solid var(--line);
}

#inicio {
  min-height: calc(100svh - 72px);
}

#catalogo {
  background: #162a34;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, .scene > div > h2, .plans > h2 {
  font-size: clamp(32px, 4.6vw, 72px);
  line-height: 1.08;
  letter-spacing: -.045em;
  margin-bottom: 24px;
}

em {
  font-style: normal;
}

.eyebrow {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .15em;
}

.lead, .hint {
  color: var(--muted);
}

.lead {
  font-size: clamp(17px, 1.6vw, 22px);
  max-width: 48ch;
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

.cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 10px;
  background: var(--accent);
  color: #11232c;
  font-weight: 750;
  text-align: center;
}

.cta:hover {
  filter: brightness(1.12);
}

.cta.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

/* Prévias demonstrativas */
.visual {
  min-width: 0;
  padding: clamp(20px, 3vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 70px #0003;
}

.hero-art {
  display: grid;
  justify-items: center;
  gap: 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-art img {
  width: min(100%, 500px);
  border-radius: 24px;
}

.hero-art span, small {
  color: var(--muted);
}

.mini-products, .metrics, .plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mini-products article, .metrics article {
  display: grid;
  gap: 6px;
  background: #11232c;
  padding: 16px;
  border-radius: 14px;
}

.mini-products img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}

.mini-products strong, .metrics strong {
  font-size: clamp(18px, 2vw, 28px);
}

.green {
  color: #8ed6a8;
}

.fake-button {
  margin-top: 18px;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  background: #284b40;
}

.bars {
  height: 160px;
  display: flex;
  align-items: end;
  gap: 10px;
}

.bars i {
  flex: 1;
  height: var(--h);
  background: var(--accent);
  border-radius: 5px 5px 0 0;
}

.days {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.dashboard h3 {
  margin-top: 24px;
}

.dashboard .hint {
  margin: 20px 0 0;
}

/* Oferta comercial */
.plans {
  display: block;
  text-align: center;
}

.plan-grid {
  max-width: 1050px;
  margin: 40px auto 24px;
  text-align: left;
}

.plan-grid article {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.plan-grid .featured {
  border-color: var(--accent);
}

.plan-grid h2 {
  margin: 12px 0;
  font-size: 26px;
}

.price {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -.04em;
}

.price small {
  font-size: 14px;
  letter-spacing: 0;
}

.plan-grid ul {
  flex: 1;
  margin: 28px 0;
}

.shared {
  font-weight: 650;
}

.contact {
  display: inline-block;
  color: var(--accent);
  padding: 12px;
}

footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 6vw;
  color: var(--muted);
  font-size: 13px;
}

a:focus-visible {
  outline: 3px solid white;
  outline-offset: 4px;
}

/* Adaptação para telas reais */
@media (max-width: 760px) {
  .scene {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 30px;
    padding: 52px 20px;
  }

  #inicio {
    min-height: calc(100svh - 72px);
  }

  .hero-art img {
    width: min(65vw, 280px);
  }

  .plan-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    width: 100%;
  }

  .brand {
    font-size: 11px;
    gap: 8px;
  }

  .brand img {
    width: 36px;
  }

  .mini-products article {
    padding: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Composição editorial e movimento da apresentação */
.site-header {
  backdrop-filter: blur(16px);
}

#inicio {
  background: radial-gradient(ellipse at 78% 45%, #29404a 0%, transparent 55%), var(--background);
}

.hero-art {
  position: relative;
  isolation: isolate;
}

.hero-art img {
  width: min(72%, 340px);
  mix-blend-mode: lighten;
}

.hero-art::before {
  position: absolute;
  inset: 12% 20%;
  z-index: -1;
  border: 1px solid #e7794938;
  border-radius: 50%;
  content: "";
}

#catalogo {
  background: #f3f0e9;
  color: #11232c;
}

#catalogo .lead {
  color: #43545b;
}

#catalogo .visual {
  color: var(--text);
}

#rotina {
  background: #0d1b22;
}

#gestao {
  background: #192e38;
}

.sale-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.sale-line strong {
  font-size: clamp(18px, 3vw, 30px);
}

.sale-preview h3 {
  margin-top: 16px;
}

.sale-preview .hint {
  margin: 20px 0 0;
}

button.cta, .reset {
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border: 0;
}

.reset {
  background: transparent;
  color: var(--muted);
  padding: 14px;
}

button:disabled {
  opacity: .65;
  cursor: default;
}

.cta {
  transition: transform .2s ease, filter .2s ease;
}

.cta:hover {
  transform: translateY(-3px);
}

.plan-grid .featured {
  background: linear-gradient(145deg, #29404a, #192e38);
  box-shadow: 0 18px 60px #0003;
}

@media (prefers-reduced-motion: no-preference) {
  .motion-ready .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease;
    transition-delay: var(--delay, 0ms);
  }

  .motion-ready .reveal.visible {
    opacity: 1;
    transform: none;
  }

  .motion-ready .bars i {
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .8s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--delay, 0ms);
  }

  .motion-ready .dashboard.visible .bars i {
    transform: scaleY(1);
  }

  .sale-preview.changed strong {
    animation: value-change .45s ease;
  }

  @keyframes value-change {
    50% {
      transform: translateY(-4px);
      color: var(--accent);
    }
  }
}

@media (max-width: 760px) {
  .hero-art img {
    width: min(60vw, 220px);
  }

  .hero-art {
    padding: 12px;
  }
}

/* V08 — experiência contínua, com espaço para conteúdo em telas pequenas. */
html {
  scroll-snap-type: y proximity;
  scroll-padding-top: 72px;
}

.scene {
  min-height: calc(100svh - 72px);
  scroll-snap-align: start;
  padding-block: clamp(28px, 5vh, 72px);
}

.hero-art img {
  width: 100%;
  max-width: 850px;
  border-radius: 0;
  filter: drop-shadow(0 24px 30px #0005);
}

.hero-art::before {
  display: none;
}

.scene-nav {
  position: fixed;
  right: 14px;
  top: 50%;
  z-index: 12;
  display: grid;
  gap: 12px;
}

.scene-nav a {
  width: 10px;
  height: 10px;
  border: 1px solid #e77949;
  border-radius: 50%;
  background: #11232c;
}

.scene-nav a.active {
  background: #e77949;
}

.order-controls, .plan-switch {
  display: flex;
  gap: 12px;
  margin-block: 12px;
}

.order-controls label {
  flex: 1;
  font-size: 13px;
}

.order-controls input, .contact-options select {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--background);
  color: var(--text);
}

.whatsapp {
  width: 100%;
  background: #17664e;
  color: white;
}

#chatDialog {
  width: min(92vw, 420px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0b141a;
  color: white;
  padding: 20px;
}

#chatDialog::backdrop {
  background: #0009;
}

.chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.chat-head button {
  background: transparent;
  color: white;
  border: 0;
  font-size: 24px;
  cursor: pointer;
}

.chat-bubble, .chat-reply {
  padding: 14px;
  border-radius: 12px;
  white-space: pre-line;
  background: #005c4b;
}

.chat-reply {
  background: #202c33;
  margin-right: 24px;
}

.plan-switch button[aria-pressed="true"] {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

[hidden] {
  display: none !important;
}

.contact-options {
  max-width: 420px;
  margin: 12px auto;
}

@media (max-width: 760px) {
  html {
    scroll-snap-type: none;
  }

  .scene-nav {
    display: none;
  }

  .scene {
    min-height: calc(100svh - 72px);
    padding-block: 36px;
  }

  .hero-art img {
    width: 100%;
  }
}

.hero-art img {
  mix-blend-mode: normal;
}

.bars {
  background: repeating-linear-gradient(to top, #ffffff20 0 1px, transparent 1px 25%);
}

.bars i {
  cursor: pointer;
}

.bars i:hover, .bars i:focus {
  filter: brightness(1.25);
  outline: 2px solid white;
}

/* V09 — comparação, gráficos e navegação sem cortes */
html {
  scroll-snap-type: none;
  scroll-padding-top: 76px;
}
.scene {
  min-height: calc(100svh - 72px);
  scroll-margin-top: 0;
  padding-block: clamp(24px, 4vh, 52px);
}
.hero-art {
  background: radial-gradient(ellipse, #e7794926, transparent 68%);
}
.mini-shop > h2 {
  font-size: clamp(24px, 3vw, 40px);
}
.mini-products img {
  height: clamp(100px, 20vh, 190px);
}
.quantity-controls, .period-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
.quantity-controls button, .period-controls button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  background: #11232c;
  color: #fff;
  cursor: pointer;
}
.period-controls button[aria-pressed="true"] {
  background: var(--accent);
  color: #11232c;
}
.quantity-controls input {
  min-width: 0;
  text-align: center;
}
.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.comparison article {
  padding: 16px;
  background: #11232c;
  border-radius: 12px;
}
.comparison article:last-child {
  border: 1px solid var(--accent);
}
.comparison strong {
  display: block;
  font-size: 1.4rem;
}
#financeChart {
  display: flex;
  gap: 10px;
  height: 155px;
}
.chart-scale {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 20px;
  font-size: 11px;
  color: var(--muted);
}
.finance-bars {
  display: flex;
  flex: 1;
  gap: 8px;
  background: repeating-linear-gradient(to top, transparent 0 49%, #ffffff22 49% 50%);
}
.finance-bars > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
}
.finance-bars button {
  width: 80%;
  max-width: 70px;
  background: var(--accent);
  border: 0;
  border-radius: 5px 5px 0 0;
  cursor: pointer;
}
.plans .plan-grid {
  margin-block: 16px;
}
.plans .plan-grid article {
  padding: clamp(16px, 2vw, 28px);
}
.plans > h2 {
  font-size: clamp(30px, 3.5vw, 52px);
}
.contact-options .period-controls {
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 760px) {
  .scene {
    padding-block: 32px;
  }
  .comparison article {
    padding: 10px;
  }
  .quantity-controls button {
    padding: 6px;
  }
}

/* V09.1 — cenas com altura natural e decisão comercial independente. */
:root {
  --header-height: 72px;
}

html {
  scroll-snap-type: none;
  scroll-padding-top: var(--header-height);
}

.scene,
#inicio {
  min-height: calc(100svh - var(--header-height));
  height: auto;
  scroll-snap-align: none;
  padding-block: clamp(20px, 3.5svh, 48px);
}

.plans,
.decision {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.plans > h2,
.plans > .eyebrow,
.demo-notice {
  margin: 0;
}

.plans .plan-grid {
  width: min(100%, 1050px);
  margin: 8px auto;
}

.plan-grid ul {
  margin: 12px 0;
}

.plan-grid li {
  margin-bottom: 6px;
}

.decision {
  background: radial-gradient(ellipse at 50% 30%, #29404a, var(--background) 70%);
}

.decision-content {
  width: min(100%, 680px);
}

.decision-content .lead {
  margin-inline: auto;
}

.interest-options {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 18px;
  border: 0;
  text-align: left;
}

.interest-options legend {
  margin-bottom: 8px;
  font-weight: 650;
}

.interest-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.interest-card:has(input:checked) {
  border-color: var(--accent);
  background: #29404a;
}

.interest-card input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.interest-card span {
  display: grid;
  gap: 2px;
}

.decision .shared {
  margin: 18px 0 0;
  font-size: 14px;
}

@media (min-width: 761px) and (max-height: 850px) {
  .scene > div > h2,
  h1 {
    font-size: clamp(32px, 4vw, 58px);
    margin-bottom: 14px;
  }

  .visual {
    padding: clamp(16px, 2vw, 28px);
  }

  .mini-products img {
    height: clamp(80px, 15svh, 140px);
  }

  .dashboard h3 {
    margin-top: 12px;
  }
}

@media (max-width: 760px) {
  .scene {
    gap: 20px;
    padding-inline: 18px;
  }

  .scene > div > h2,
  h1 {
    font-size: clamp(30px, 8vw, 44px);
    margin-bottom: 14px;
  }

  .lead {
    font-size: 16px;
  }

  .visual {
    padding: 14px;
  }

  .mini-products img {
    height: clamp(80px, 14svh, 130px);
  }

  .plans .plan-grid {
    gap: 12px;
  }

  .interest-card {
    padding: 12px;
  }
}
