/* Fontes auto-hospedadas (substitui Google Fonts). Os url() sao reescritos com hash pelo ManifestStorage no collectstatic. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/dmsans-latin.7c87a648293f.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/dmsans-latin-ext.49935c4b6235.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dmserif-latin.c27d5a47c09e.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dmserif-latin-ext.fbcccd02b7b0.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dmserif-italic-latin.581414e1e577.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dmserif-italic-latin-ext.b6dc2f28ec50.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ===== LANDING PAGE ===== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --l-bg:       #0C1810;
  --l-bg2:      #111F16;
  --l-surface:  #162A1D;
  --l-surface2: #1E3326;
  --l-text:     #EBF2E9;
  --l-text2:    #7A9F86;
  --l-accent:   #5BB87A;
  --l-grove:    #3A6B47;
  --l-warm:     #E8A87C;
  --l-border:   rgba(255,255,255,0.06);

  --font-display: "DM Serif Display", Georgia, serif;
  --font-body:    "DM Sans", system-ui, sans-serif;
}

/* Interface v3 — recolore só os acentos de marca (mantém o fundo escuro da landing,
   que é uma estética própria de marketing, independente do claro/escuro do app). */
html[data-versao-interface="v3"] {
  --l-accent: #1A8FBF;
  --l-grove:  #1A8FBF;
  --l-warm:   #F5A623;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--l-bg);
  color: var(--l-text);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
}

.l-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== NAV ===== */
.l-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: rgba(12, 24, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--l-border);
  transition: background .3s;
}

.l-nav.scrolled { background: rgba(12, 24, 16, 0.97); }

.l-brand { text-decoration: none; display: flex; align-items: center; }
.l-brand-logo { height: 30px; width: auto; display: block; }
.l-brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--l-text);
}
.l-brand-text .dot { color: var(--l-accent); }

.l-nav-actions { display: flex; align-items: center; gap: 10px; }

/* ===== BUTTONS ===== */
.l-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  color: var(--l-text2);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 400;
  transition: border-color .2s, color .2s;
}
.l-btn-ghost:hover { border-color: var(--l-accent); color: var(--l-text); }

.l-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  background: var(--l-accent);
  border: none;
  border-radius: 8px;
  color: #0C1810;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.l-btn-primary:hover {
  background: #6FCC8E;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(91,184,122,0.35);
}

.l-btn-lg { padding: 14px 30px; font-size: 1rem; border-radius: 10px; }

/* ===== HERO ===== */
.l-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.l-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.l-hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(91,184,122,0.10);
}
.l-ring-1 {
  width: 760px; height: 760px;
  right: -160px; top: -160px;
  background: radial-gradient(circle at 40% 40%, rgba(58,107,71,0.12) 0%, transparent 65%);
}
.l-ring-2 {
  width: 480px; height: 480px;
  right: 10px; top: 10px;
  border-color: rgba(91,184,122,0.05);
}
.l-ring-3 {
  width: 260px; height: 260px;
  right: 130px; top: 130px;
  background: radial-gradient(circle, rgba(91,184,122,0.06) 0%, transparent 70%);
  border-color: rgba(91,184,122,0.08);
}

.l-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0 100px;
}

.l-hero-eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--l-accent);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.l-hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--l-accent);
}

.l-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--l-text);
  margin-bottom: 28px;
}

.l-hero-title em {
  color: var(--l-warm);
  font-style: italic;
}

.l-hero-sub {
  color: var(--l-text2);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 44px;
  font-weight: 300;
}

.l-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.l-hero-footnote {
  margin-top: 20px;
  font-size: .75rem;
  color: var(--l-text2);
  opacity: .7;
}

/* ===== MOCK CARDS ===== */
.l-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 0;
}

.l-mock-wrap {
  position: relative;
  width: 300px;
  height: 280px;
}

@keyframes float-main {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.l-mock-card {
  background: var(--l-surface);
  border: 1px solid var(--l-surface2);
  border-radius: 18px;
  padding: 20px;
  box-shadow:
    0 24px 64px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.035),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.l-mock-main {
  width: 290px;
  animation: float-main 5.5s ease-in-out infinite;
}

.l-mock-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.l-mock-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  color: #EBF2E9;
  flex-shrink: 0;
  background: var(--l-grove);
}

.l-mock-name {
  font-weight: 500;
  font-size: .9rem;
  color: var(--l-text);
  line-height: 1.3;
}
.l-mock-since {
  font-size: .73rem;
  color: var(--l-warm);
  margin-top: 2px;
}

.l-mock-score-wrap { margin-bottom: 14px; }
.l-mock-score-label {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: var(--l-text2);
  margin-bottom: 7px;
}
.l-mock-score-val { font-weight: 600; color: var(--l-warm); }

.l-mock-score-bar {
  height: 5px;
  background: var(--l-surface2);
  border-radius: 3px;
  overflow: hidden;
}
.l-mock-score-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #E8A87C, #c8602a);
  width: 54%;
}

.l-mock-action-btn {
  width: 100%;
  padding: 9px;
  background: var(--l-surface2);
  border: 1px solid rgba(91,184,122,0.18);
  border-radius: 9px;
  color: var(--l-accent);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  cursor: default;
  text-align: center;
}

.l-mock-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  position: absolute;
  width: 210px;
}

.l-mock-notif {
  bottom: -58px;
  left: -36px;
  animation: float-b 5.5s ease-in-out infinite;
  animation-delay: -1.2s;
}

.l-mock-streak {
  top: -54px;
  right: -44px;
  animation: float-b 5.5s ease-in-out infinite;
  animation-delay: -2.8s;
}

.l-mock-mini-icon { font-size: 1.3rem; flex-shrink: 0; }
.l-mock-mini-title {
  font-size: .77rem;
  font-weight: 500;
  color: var(--l-text);
  line-height: 1.3;
}
.l-mock-mini-sub { font-size: .68rem; color: var(--l-text2); margin-top: 1px; }

/* ===== SECTION COMMON ===== */
.l-section { padding: 100px 0; }
.l-section-alt { background: var(--l-bg2); }

.l-section-header {
  text-align: center;
  margin-bottom: 64px;
}

.l-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--l-accent);
  margin-bottom: 14px;
  display: block;
}

.l-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 400;
  color: var(--l-text);
  line-height: 1.2;
}

.l-section-sub {
  margin-top: 14px;
  color: var(--l-text2);
  font-size: .95rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ===== STEPS ===== */
.l-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.l-step-divider {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-top: 52px;
  padding: 0 8px;
}
.l-step-divider::after {
  content: '';
  display: block;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, var(--l-grove), rgba(58,107,71,0.1));
}

.l-step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 0 20px;
}

.l-step-num {
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -.03em;
}

.l-step-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.l-step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--l-text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.l-step p {
  font-size: .85rem;
  color: var(--l-text2);
  line-height: 1.75;
}

/* ===== FEATURES ===== */
.l-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.l-feature {
  background: var(--l-surface);
  border: 1px solid var(--l-surface2);
  border-radius: 20px;
  padding: 30px 26px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.l-feature:hover {
  border-color: rgba(91,184,122,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.l-feature-icon {
  font-size: 1.9rem;
  margin-bottom: 16px;
  display: block;
}

.l-feature h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--l-text);
  margin-bottom: 8px;
}

.l-feature p {
  font-size: .84rem;
  color: var(--l-text2);
  line-height: 1.75;
}

/* ===== QUOTE STRIP ===== */
.l-strip {
  padding: 90px 0;
  background: var(--l-grove);
  position: relative;
  overflow: hidden;
}
.l-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 120% at 50% 50%, rgba(91,184,122,0.2) 0%, transparent 70%);
}

.l-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(235,242,233,0.92);
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.3;
  position: relative;
}

/* ===== FINAL CTA ===== */
.l-cta-section { padding: 100px 0; }

.l-cta-card {
  background: var(--l-surface);
  border: 1px solid var(--l-surface2);
  border-radius: 32px;
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.l-cta-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,184,122,0.08) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.l-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 400;
  color: var(--l-text);
  margin-bottom: 18px;
  position: relative;
  line-height: 1.15;
}
.l-cta-title em { color: var(--l-accent); font-style: italic; }

.l-cta-sub {
  color: var(--l-text2);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.75;
  position: relative;
}

.l-btn-cta {
  position: relative;
  padding: 16px 44px;
  font-size: 1.05rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(91,184,122,0.3);
}

.l-cta-footnote {
  margin-top: 16px;
  font-size: .76rem;
  color: var(--l-text2);
  opacity: .6;
  position: relative;
}

/* ===== FOOTER ===== */
.l-footer {
  border-top: 1px solid var(--l-border);
  padding: 36px 0;
}

.l-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.l-footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.l-footer-links a {
  color: var(--l-text2);
  text-decoration: none;
  font-size: .84rem;
  transition: color .2s;
}
.l-footer-links a:hover { color: var(--l-text); }

.l-footer-copy {
  font-size: .76rem;
  color: var(--l-text2);
  opacity: .6;
}

.l-footer-logo {
  height: 26px;
  width: auto;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.revealed { opacity: 1; transform: none; }

.l-step:nth-child(1).reveal  { transition-delay: 0s; }
.l-step:nth-child(3).reveal  { transition-delay: .12s; }
.l-step:nth-child(5).reveal  { transition-delay: .24s; }

.l-feature:nth-child(1).reveal { transition-delay: 0s; }
.l-feature:nth-child(2).reveal { transition-delay: .08s; }
.l-feature:nth-child(3).reveal { transition-delay: .16s; }
.l-feature:nth-child(4).reveal { transition-delay: .24s; }
.l-feature:nth-child(5).reveal { transition-delay: .32s; }
.l-feature:nth-child(6).reveal { transition-delay: .40s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .l-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 56px;
  }
  .l-hero-eyebrow { justify-content: center; }
  .l-hero-sub { margin-left: auto; margin-right: auto; }
  .l-hero-ctas { justify-content: center; }
  .l-hero-visual { padding: 60px 0; }
  .l-features { grid-template-columns: repeat(2, 1fr); }
  .l-steps { flex-direction: column; align-items: center; gap: 32px; }
  .l-step-divider { display: none; }
}

@media (max-width: 600px) {
  .l-nav { padding: 14px 20px; }
  .l-container { padding: 0 20px; }
  .l-features { grid-template-columns: 1fr; }
  .l-cta-card { padding: 48px 24px; border-radius: 20px; }
  .l-footer-inner { flex-direction: column; text-align: center; }
  .l-footer-links { justify-content: center; }
  .l-mock-streak { display: none; }
  .l-mock-notif { left: -16px; }
}
