/* Página inicial: clean, clara, verde-escuro como cor de ação. Independente do app.css (que é escuro). */
:root {
  --paper: #f7f4ef;
  --ink: #2b2f33;
  --muted: #686d72;
  --brand: #b8541f;
  --brand-2: #9a4417;
  --sage: #e4ded3;
  --band-top: #b9b2a6;
  --band-bottom: #34393d;
  --line: rgba(43, 47, 51, .12);
  --pad: max(clamp(20px, 3.4vw, 48px), calc((100% - 1240px) / 2)); /* margem lateral: mantém o conteúdo num container de 1240px centralizado */
  font-family: 'Helvetica Neue', Arial, Inter, system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.landing { margin: 0; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.sheet { background: var(--paper); overflow: hidden; }

/* Botões */
.cta { display: inline-flex; align-items: center; justify-content: center; background: var(--brand); color: #fff; font-weight: 600; font-size: .9rem; padding: 11px 20px; border-radius: 4px; transition: background .15s; }
.cta:hover { background: var(--brand-2); }
.cta.lg { padding: 14px 26px; font-size: .98rem; }
.cta.light { background: #fff; color: var(--brand); }
.cta.light:hover { background: #efe9df; }
.ghost { font-size: .9rem; font-weight: 600; padding: 11px 6px; }

/* Cabeçalho */
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 22px var(--pad); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; font-size: 1.05rem; }
.logo .mark { height: 30px; width: auto; display: block; }
.logo .word { height: 16px; width: auto; display: block; }
.nav nav { display: flex; align-items: center; gap: 14px; font-size: .8rem; font-weight: 600; }
.nav nav i { width: 3px; height: 3px; background: var(--ink); border-radius: 50%; opacity: .6; }
.nav nav a { padding: 6px 2px; border-bottom: 1px solid transparent; }
.nav nav a:hover, .nav nav a[aria-current] { border-bottom-color: var(--ink); }
.nav .right { justify-self: end; display: flex; align-items: center; gap: 10px; }

/* Cena principal */
.hero { position: relative; height: clamp(620px, 88vh, 880px); isolation: isolate; }
.wordmark { position: absolute; left: 0; right: 0; top: 1.5%; text-align: center; font-weight: 600; font-size: clamp(56px, 17.4vw, 236px); letter-spacing: -.06em; line-height: .86; color: var(--sage); white-space: nowrap; user-select: none; z-index: 1; }
.band { position: absolute; left: 0; right: 0; bottom: 0; top: 33%; background: linear-gradient(180deg, var(--band-top), var(--band-bottom)); z-index: 0; }
.band::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 0%, rgba(255, 255, 255, .22), transparent 70%); }

.stage { position: absolute; z-index: 2; left: 50%; top: 20%; width: min(58%, 820px); transform: translateX(-50%); }
.screen { aspect-ratio: 16 / 9; width: 100%; border-radius: 6px; border: 1px solid rgba(43, 47, 51, .2); background: var(--paper); overflow: hidden; box-shadow: 0 50px 90px -30px rgba(20, 22, 24, .55), 0 12px 24px rgba(20, 22, 24, .18); }
.phone { position: absolute; right: -8%; bottom: 8%; width: 23%; min-width: 118px; aspect-ratio: 9 / 18.5; background: #1f2225; border-radius: 9% / 4.5%; padding: 3.2%; box-shadow: 0 30px 60px -18px rgba(20, 22, 24, .6), inset 0 0 0 1px rgba(255, 255, 255, .08); font-size: clamp(7px, .78vw, 12px); }
.phone .face { height: 100%; background: #f7f4ef; border-radius: 7% / 3.4%; padding: 8% 7%; display: flex; flex-direction: column; gap: .9em; color: var(--ink); }
.phone .status { display: inline-flex; align-items: center; gap: .5em; font-size: .78em; font-weight: 700; color: var(--brand); }
.phone .status::before { content: ''; width: .7em; height: .7em; border-radius: 50%; background: #3f9b62; }
.phone .name { font-weight: 700; font-size: 1em; line-height: 1.2; }
.phone .thumb { aspect-ratio: 16 / 9; border-radius: .5em; overflow: hidden; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.phone .count { font-size: .78em; color: var(--muted); font-variant-numeric: tabular-nums; }
.phone .btns { margin-top: auto; display: grid; gap: .55em; }
.phone .btns span { display: grid; place-items: center; padding: 1em 0; border-radius: .6em; font-weight: 700; font-size: .9em; background: #e7e2d9; }
.phone .btns span.go { background: var(--brand); color: #fff; }

.hero-copy { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; padding: 0 var(--pad) clamp(24px, 3.4vw, 44px); color: #fff; }
.hero-copy h1 { font-size: clamp(1.9rem, 3.7vw, 3.5rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; max-width: 13em; text-shadow: 0 1px 24px rgba(20, 22, 24, .25); }
.hero-copy .side { max-width: 380px; justify-self: end; display: grid; gap: 16px; justify-items: start; }
.hero-copy .side p { font-size: .88rem; line-height: 1.55; color: rgba(255, 255, 255, .92); }

/* Seções abaixo */
.section { padding: clamp(56px, 8vw, 110px) var(--pad); }
.section .eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.section h2 { font-size: clamp(1.7rem, 3.2vw, 2.8rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 600; max-width: 18em; }
.steps { margin-top: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.steps > div { padding: 28px 28px 8px 0; border-right: 1px solid var(--line); margin-right: 28px; }
.steps > div:last-child { border-right: 0; margin-right: 0; }
.steps b { display: block; font-size: .8rem; color: var(--brand); letter-spacing: .12em; margin-bottom: 18px; }
.steps h3 { font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: 8px; font-weight: 600; }
.steps p { color: var(--muted); font-size: .95rem; max-width: 26em; }

.alt { background: #efebe4; }
.tpl-list { margin-top: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tpl-list a { display: grid; gap: 4px; padding: 20px 22px; background: var(--paper); border-radius: 4px; border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.tpl-list a:hover { border-color: var(--brand); transform: translateY(-2px); }
.tpl-list strong { font-size: 1.02rem; letter-spacing: -.01em; }
.tpl-list span { color: var(--muted); font-size: .86rem; }

.closing { background: linear-gradient(120deg, #2b2f33, #3d4247 65%, #b8541f); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.closing h2 { max-width: 14em; }
footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px var(--pad); font-size: .82rem; color: var(--muted); }
footer nav { display: flex; gap: 22px; }
footer a:hover { color: var(--ink); }

@media (max-width: 960px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav nav { display: none; }
  .hero { height: auto; padding-bottom: 36px; display: flex; flex-direction: column; }
  .wordmark { position: relative; top: 0; font-size: 19vw; margin-top: 4px; }
  .band { top: 12%; }
  .stage { position: relative; left: auto; top: auto; transform: none; width: calc(100% - 40px); margin: 14px 20px 0; }
  .phone { right: -1%; bottom: -8%; width: 30%; font-size: clamp(6px, 1.6vw, 11px); }
  .hero-copy { position: relative; grid-template-columns: 1fr; gap: 20px; padding: 56px 20px 0; }
  .hero-copy .side { justify-self: start; }
  .steps { grid-template-columns: 1fr; }
  .steps > div { border-right: 0; border-bottom: 1px solid var(--line); margin-right: 0; padding: 24px 0; }
  .tpl-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .tpl-list { grid-template-columns: 1fr; } .nav .ghost { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .wordmark { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy .side { animation-delay: .12s; }
  .stage { animation: stage-in .9s cubic-bezier(.2, .7, .2, 1) .1s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(20px); } }
  @keyframes stage-in { from { opacity: 0; transform: translateX(-50%) translateY(28px); } }
  @media (max-width: 960px) { @keyframes stage-in { from { opacity: 0; transform: translateY(28px); } } }
}
