/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MultiTarefas — Landing Page
   landing.css · Font: Inter
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #080b14;
  --bg2:     #0d1120;
  --surface: #111627;
  --border:  #1a2236;
  --border2: #222d45;
  --text:    #e8ecf4;
  --muted:   #5a6b8a;
  --muted2:  #8896b3;
  --accent:  #6366f1;
  --accent2: #818cf8;
  --glow:    rgba(99,102,241,.4);
  --exec:    #00d4a1;
  --pend:    #f59e0b;
  --done:    #6366f1;
  --font:    'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 1;
}

section { position: relative; z-index: 1; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(8,11,20,.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.nav-logo-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: .9rem;
  overflow: hidden;
  flex-shrink: 0;
}
.nav-logo-icon svg { display: block; width: 100%; height: 100%; }
.nav-logo-text {
  font-size: 1.05rem; font-weight: 700;
  letter-spacing: -.03em; color: var(--text);
}
.nav-logo-text span { color: var(--accent2); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .85rem; color: var(--muted2); text-decoration: none; transition: color .2s; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent); color: #fff;
  border: none; border-radius: 8px;
  padding: .5rem 1.2rem;
  font-size: .85rem; font-weight: 600;
  font-family: var(--font);
  cursor: pointer; transition: all .2s;
  text-decoration: none;
  box-shadow: none;
  letter-spacing: -.01em;
}
.nav-cta:hover { opacity: .88; transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  position: relative; overflow: hidden;
}


.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(99,102,241,.1); border: 1px solid var(--border2);
  border-radius: 999px; padding: .35rem 1rem;
  font-size: .75rem; color: var(--accent2); font-weight: 500;
  margin-bottom: 2rem; letter-spacing: .02em;
  animation: fadeDown .6s ease both;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 800; line-height: 1.06;
  letter-spacing: -.04em; max-width: 840px;
  margin-bottom: 1.5rem;
  animation: fadeDown .6s ease .1s both;
}
.hero h1 em { font-style: normal; color: var(--accent2); }
.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: var(--muted2); max-width: 540px;
  margin: 0 auto 2.5rem; line-height: 1.75;
  font-weight: 400;
  animation: fadeDown .6s ease .2s both;
}
.hero-actions {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center;
  animation: fadeDown .6s ease .3s both;
}
.btn-primary {
  background: var(--accent); color: #fff;
  border: none; border-radius: 10px; padding: .88rem 2rem;
  font-size: .95rem; font-weight: 600; font-family: var(--font);
  cursor: pointer; transition: all .2s;
  box-shadow: none;
  text-decoration: none; display: inline-flex; align-items: center; gap: .5rem;
  letter-spacing: -.01em;
}
.btn-primary:hover { opacity: .88; transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--muted2);
  border: 1px solid var(--border2); border-radius: 10px; padding: .88rem 2rem;
  font-size: .95rem; font-weight: 500; font-family: var(--font);
  cursor: pointer; transition: all .2s;
  text-decoration: none; display: inline-flex; align-items: center; gap: .5rem;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.hero-note { margin-top: 1rem; font-size: .76rem; color: var(--muted); animation: fadeDown .6s ease .4s both; }

/* ── PREVIEW ── */
.preview-wrap { margin-top: 4rem; position: relative; animation: fadeUp .8s ease .5s both; width: 100%; max-width: 960px; }
.preview-glow-line {
  position: absolute; top: -1px; left: 10%; right: 10%; height: 1px;
  background: var(--accent);
}
.preview-frame {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px var(--border);
  margin: 0 auto;
}
.preview-bar {
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: .75rem 1.25rem; display: flex; align-items: center; gap: .75rem;
}
.preview-dots { display: flex; gap: .4rem; }
.preview-dots span { width: 10px; height: 10px; border-radius: 50%; }
.preview-url {
  flex: 1; background: var(--surface); border: 1px solid var(--border);
  border-radius: 6px; padding: .3rem .85rem; font-size: .73rem; color: var(--muted);
  max-width: 300px; margin: 0 auto; font-family: var(--font);
}
.preview-inner { padding: 1.5rem; }
.mini-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: .75rem; margin-bottom: 1.25rem; }
.mini-stat { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: .9rem 1rem; position: relative; overflow: hidden; }
.mini-stat::before { content:''; position:absolute; top:0;left:0;right:0;height:2px; }
.mini-stat.t::before { background: var(--accent); }
.mini-stat.e::before { background:var(--exec); }
.mini-stat.p::before { background:var(--pend); }
.mini-stat.d::before { background:var(--done); }
.mini-num { font-size:1.8rem; font-weight:800; line-height:1; letter-spacing:-.04em; }
.mini-stat.t .mini-num{color:var(--accent2);} .mini-stat.e .mini-num{color:var(--exec);}
.mini-stat.p .mini-num{color:var(--pend);} .mini-stat.d .mini-num{color:var(--done);}
.mini-lbl { font-size:.62rem; color:var(--muted); text-transform:uppercase; letter-spacing:.07em; margin-top:.25rem; font-weight:500; }
.mini-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:.75rem; }
.mini-card { background:var(--bg2); border:1px solid var(--border); border-radius:12px; overflow:hidden; }
.mini-card-head { padding:.75rem 1rem; border-bottom:1px solid var(--border); display:flex; align-items:center; gap:.6rem; }
.mini-av { width:28px; height:28px; border-radius:50%; display:grid; place-items:center; font-size:.62rem; font-weight:700; color:#fff; flex-shrink:0; }
.mini-pname { font-size:.76rem; font-weight:600; letter-spacing:-.01em; }
.mini-pmeta { font-size:.6rem; color:var(--muted); margin-top:1px; }
.mini-badges { margin-left:auto; display:flex; gap:.25rem; }
.mini-badge { border-radius:99px; padding:.12rem .45rem; font-size:.56rem; font-weight:600; }
.mini-badge.e{background:rgba(0,212,161,.1);color:var(--exec);border:1px solid rgba(0,212,161,.2);}
.mini-badge.p{background:rgba(245,158,11,.1);color:var(--pend);border:1px solid rgba(245,158,11,.2);}
.mini-bar { height:3px; background: var(--accent); margin:.5rem 1rem; border-radius:99px; }
.mini-section { padding:.35rem 1rem .15rem; font-size:.56rem; font-weight:600; text-transform:uppercase; letter-spacing:.08em; }
.mini-section.e{color:var(--exec);} .mini-section.p{color:var(--pend);}
.mini-proj { display:flex; align-items:center; gap:.4rem; padding:.3rem 1rem; font-size:.66rem; color:var(--text); }
.mini-proj:last-child { padding-bottom:.75rem; }
.mini-dot { width:5px; height:5px; border-radius:50%; flex-shrink:0; }
.mini-dot.e{background:var(--exec);box-shadow:0 0 4px var(--exec);}
.mini-dot.p{background:var(--pend);box-shadow:0 0 4px var(--pend);}
.mini-date { margin-left:auto; font-size:.58rem; background:rgba(99,102,241,.1); color:var(--accent2); border-radius:4px; padding:.1rem .35rem; }

/* ── SHARED SECTION STYLES ── */
.section-eyebrow {
  font-size: .72rem; font-weight: 600; color: var(--accent2);
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem;
}
.section-h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -.04em;
  margin-bottom: 1rem; line-height: 1.1;
}
.section-sub { font-size: 1rem; color: var(--muted2); line-height: 1.75; font-weight: 400; }

/* ── PROBLEM ── */
.problem { padding: 7rem 2rem; text-align: center; background: var(--accent); }
.problem-sub { max-width: 520px; margin: 0 auto 4rem; }
.problem-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 1.25rem; max-width: 800px; margin: 0 auto; }
.problem-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:1.5rem; text-align:left; transition: border-color .2s, transform .2s; }
.problem-card:hover { border-color:var(--border2); transform:translateY(-3px); }
.problem-icon { font-size:1.6rem; margin-bottom:.85rem; }
.problem-card h3 { font-size:.9rem; font-weight:600; margin-bottom:.4rem; letter-spacing:-.01em; }
.problem-card p { font-size:.82rem; color:var(--muted2); line-height:1.65; }

/* ── FEATURES ── */
.features { padding: 7rem 2rem; max-width: 1100px; margin: 0 auto; }
.features-header { text-align:center; margin-bottom:4rem; }
.features-sub { max-width: 480px; margin: 0 auto; }
.feature-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:1.5rem; }
.feature-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:12px; padding:1.75rem;
  transition:all .25s; position:relative; overflow:hidden;
}
.feature-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:1px;
  background: var(--accent);
  opacity:0; transition:opacity .3s;
}
.feature-card:hover { border-color:var(--border2); transform:translateY(-4px); box-shadow:0 20px 60px rgba(0,0,0,.4); }
.feature-card:hover::before { opacity:1; }
.feature-icon { width:42px; height:42px; background:rgba(99,102,241,.1); border:1px solid rgba(99,102,241,.18); border-radius:10px; display:grid; place-items:center; font-size:1.15rem; margin-bottom:1rem; }
.feature-card h3 { font-size:.95rem; font-weight:600; margin-bottom:.45rem; letter-spacing:-.01em; }
.feature-card p { font-size:.84rem; color:var(--muted2); line-height:1.7; }

/* ── PRICING ── */
.pricing { padding:7rem 2rem; background:var(--bg2); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.pricing-header { text-align:center; margin-bottom:3.5rem; }
.pricing-note { font-size:.8rem; color:var(--muted); margin-top:.5rem; }
.pricing-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:1.25rem; max-width:860px; margin:0 auto; }
.plan-card { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:2rem; position:relative; transition:all .25s; }
.plan-card:hover { transform:translateY(-4px); box-shadow:0 20px 60px rgba(0,0,0,.4); }
.plan-card.featured { border-color:var(--accent); box-shadow:0 0 0 1px var(--accent),0 20px 60px rgba(99,102,241,.2); }
.plan-badge { position:absolute; top:-12px; left:50%; transform:translateX(-50%); background:var(--accent); color:#fff; border-radius:999px; padding:.25rem .85rem; font-size:.7rem; font-weight:600; white-space:nowrap; letter-spacing:.01em; }
.plan-name { font-size:.9rem; font-weight:600; margin-bottom:.5rem; color:var(--muted2); text-transform:uppercase; letter-spacing:.08em; }
.plan-price { font-size:2.4rem; font-weight:800; line-height:1; margin-bottom:.2rem; letter-spacing:-.04em; }
.plan-price.featured { color:var(--accent2); }
.plan-period { font-size:.78rem; color:var(--muted); margin-bottom:1.5rem; }
.plan-features { list-style:none; margin-bottom:1.75rem; }
.plan-features li { font-size:.84rem; color:var(--muted2); padding:.4rem 0; border-bottom:1px solid var(--border); display:flex; align-items:center; gap:.5rem; }
.plan-features li:last-child { border-bottom:none; }
.plan-features li::before { content:'✓'; color:var(--exec); font-weight:700; flex-shrink:0; font-size:.8rem; }
.plan-btn { width:100%; border-radius:9px; padding:.75rem; font-size:.88rem; font-weight:600; font-family:var(--font); cursor:pointer; transition:all .2s; text-decoration:none; display:block; text-align:center; letter-spacing:-.01em; }
.plan-btn.prim { background:var(--accent); color:#fff; border:none; box-shadow: none; }
.plan-btn.prim:hover { opacity:.88; }
.plan-btn.ghost { background:transparent; color:var(--muted2); border:1px solid var(--border2); }
.plan-btn.ghost:hover { border-color:var(--accent); color:var(--text); }

/* ── CTA ── */
.cta-section { padding:8rem 2rem; text-align:center; position:relative; overflow:hidden; }

.cta-section h2 { font-size:clamp(2rem,5vw,3.8rem); font-weight:800; letter-spacing:-.04em; margin-bottom:1.25rem; position:relative; }
.cta-section p { font-size:1.05rem; color:var(--muted2); margin-bottom:2.5rem; position:relative; line-height:1.75; }
.cta-actions { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; position:relative; }

/* ── FOOTER ── */
footer { border-top:1px solid var(--border); padding:2.5rem; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; }
.footer-logo { display:flex; align-items:center; gap:.5rem; }
.footer-logo-text { font-size:.9rem; font-weight:600; color:var(--muted2); letter-spacing:-.02em; }
.footer-logo-text span { color:var(--accent2); }
footer p { font-size:.76rem; color:var(--muted); }
.footer-links { display:flex; gap:1.5rem; }
.footer-links a { font-size:.76rem; color:var(--muted); text-decoration:none; transition:color .2s; }
.footer-links a:hover { color:var(--text); }

/* ── ANIMATIONS ── */
@keyframes fadeDown { from{opacity:0;transform:translateY(-16px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeUp   { from{opacity:0;transform:translateY(24px)}  to{opacity:1;transform:translateY(0)} }
.reveal { opacity:0; transform:translateY(20px); transition:opacity .65s ease,transform .65s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width:768px) {
  nav { padding:1rem 1.25rem; }
  .nav-links { display:none; }
  .mini-grid { grid-template-columns:1fr; }
  .mini-stats { grid-template-columns:repeat(2,1fr); }
}

/* ── TEMPLATES SECTION ─────────────────────────────────────── */
.templates-section {
  padding: 5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.template-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  text-decoration: none;
  display: block;
}
.template-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(99,102,241,.18);
}
.template-preview {
  background: var(--accent);
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
  min-height: 160px;
  position: relative;
  overflow: hidden;
}
.template-preview::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  top: -80px; right: -60px;
  pointer-events: none;
}
.template-card:nth-child(1) .template-preview::before { background: radial-gradient(circle, rgba(99,102,241,.2), transparent 70%); }
.template-card:nth-child(2) .template-preview::before { background: radial-gradient(circle, rgba(14,165,233,.15), transparent 70%); }

/* Mini preview inside template card */
.tmpl-stat-row {
  display: flex; gap: .5rem; margin-bottom: .75rem;
}
.tmpl-stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px; padding: .35rem .6rem;
  font-size: .65rem; font-weight: 700;
  color: rgba(255,255,255,.7);
}
.tmpl-stat span { display: block; font-size: .85rem; font-weight: 800; }
.tmpl-stat.e span { color: #00d4a1; }
.tmpl-stat.p span { color: #f59e0b; }
.tmpl-stat.d span { color: #818cf8; }
.tmpl-member-row {
  display: flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px; padding: .4rem .65rem;
  margin-bottom: .4rem;
  font-size: .72rem; color: rgba(255,255,255,.8);
}
.tmpl-av {
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .5rem; font-weight: 800; color: #fff; flex-shrink: 0;
}
.tmpl-name { font-weight: 600; flex: 1; }
.tmpl-badges { display: flex; gap: .25rem; margin-left: auto; }
.tmpl-badge {
  border-radius: 99px; padding: .08rem .4rem;
  font-size: .58rem; font-weight: 700;
}
.tmpl-badge.e { background: rgba(0,212,161,.15); color: #00d4a1; }
.tmpl-badge.p { background: rgba(245,158,11,.15); color: #f59e0b; }

.template-body { padding: 1.25rem 1.5rem; }
.template-icon { font-size: 1.6rem; margin-bottom: .5rem; }
.template-name { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .35rem; }
.template-desc { font-size: .82rem; color: var(--muted2); line-height: 1.6; margin-bottom: 1rem; }
.template-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.template-tag {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px; padding: .18rem .6rem;
  font-size: .68rem; font-weight: 600; color: var(--muted2);
}
.template-cta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .8rem; font-weight: 600; color: var(--accent2);
}
.template-cta span { font-size: .72rem; color: var(--muted); font-weight: 400; }

/* Modal de confirmação */
.tmpl-confirm-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
  z-index: 500;
  display: none;
  align-items: center; justify-content: center;
  padding: 1.5rem;
}
.tmpl-confirm-overlay.open { display: flex; }
.tmpl-confirm-modal {
  background: #111627;
  border: 1px solid #1e2740;
  border-radius: 20px;
  padding: 2rem;
  max-width: 420px; width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  animation: fadeUp .2s ease;
}
.tmpl-confirm-title { font-size: 1rem; font-weight: 800; margin-bottom: .5rem; color: #e8ecf4; }
.tmpl-confirm-sub { font-size: .84rem; color: #6b7799; line-height: 1.6; margin-bottom: 1.5rem; }
.tmpl-confirm-actions { display: flex; gap: .75rem; justify-content: flex-end; }
.tmpl-btn-cancel {
  background: transparent; border: 1px solid #1e2740;
  color: #6b7799; border-radius: 10px; padding: .6rem 1.25rem;
  font-size: .84rem; font-weight: 600; font-family: 'Inter', sans-serif;
  cursor: pointer; transition: all .2s;
}
.tmpl-btn-cancel:hover { border-color: #2d3a5a; color: #e8ecf4; }
.tmpl-btn-confirm {
  background: #6366f1; border: none; color: #fff;
  border-radius: 10px; padding: .6rem 1.25rem;
  font-size: .84rem; font-weight: 600; font-family: 'Inter', sans-serif;
  cursor: pointer; transition: opacity .2s;
  box-shadow: 0 0 16px rgba(99,102,241,.35);
}
.tmpl-btn-confirm:hover { opacity: .88; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .templates-grid { grid-template-columns: 1fr; }
  .templates-section { padding: 3rem 1.25rem; }
}
