/* ============================================================
   Taskloon — project.css  (apresentação pública · SPA)
   CSS exclusivo da landing. Importa só o tema de variáveis.
   Registro visual: editorial de luxo — marfim, serifa de alto
   contraste, dourado champanhe + roxo da identidade.
   ============================================================ */
@import url("shared.css");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&display=swap");

/* ---- Tokens locais de luxo (não tocam o bootstrap.css) ---- */
:root {
  --lux-ivory:   #f6f2ea;
  --lux-ivory-2: #fbf9f3;
  --lux-paper:   #ffffff;
  --lux-ink:     #241c2e;
  --lux-ink-60:  #6a6175;
  --lux-gold:    #b08d3e;
  --lux-gold-2:  #cbab66;
  --lux-line:    #e7dfcf;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
}

/* (Ponte de botões/foco e primitivos vivem em shared.css) */

/* ---- Base editorial ---- */
body {
  background: var(--lux-ivory);
  color: #4f4858;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.serif { font-family: var(--serif); font-weight: 600; }
.text-ink { color: var(--lux-ink) !important; }
.text-gold { color: var(--lux-gold) !important; }
.display-serif {
  font-family: var(--serif); color: var(--lux-ink); font-weight: 600;
  line-height: 1.02; letter-spacing: -0.01em;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
}
.h-serif { font-family: var(--serif); color: var(--lux-ink); font-weight: 600; letter-spacing: -0.01em; }
.lead-lux { color: var(--lux-ink-60); font-size: 1.18rem; line-height: 1.7; }

/* eyebrow dourado em versalete */
.eyebrow {
  font-size: .74rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--lux-gold); display: inline-flex; align-items: center; gap: .8rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--lux-gold-2); display: inline-block; }
.eyebrow.center::after { content: ""; width: 28px; height: 1px; background: var(--lux-gold-2); display: inline-block; }

.rule-gold { height: 1px; background: linear-gradient(90deg, transparent, var(--lux-gold-2), transparent); border: 0; opacity: .8; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }

/* ---- Navbar ---- */
.tl-nav {
  background: rgba(246,242,234,0.78);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--lux-line);
}
.tl-brand { font-family: var(--serif); font-weight: 700; font-size: 1.55rem; color: var(--lux-ink); letter-spacing: -0.01em; }
.tl-nav .nav-link {
  color: #4f4858; font-weight: 500; position: relative; padding: .4rem .2rem; margin: 0 .35rem;
  font-size: .96rem;
}
.tl-nav .nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--lux-gold); transition: width .3s ease;
}
.tl-nav .nav-link:hover, .tl-nav .nav-link.active { color: var(--lux-ink); }
.tl-nav .nav-link.active::after, .tl-nav .nav-link:hover::after { width: 100%; }

.btn-ink {
  --bs-btn-color: #fff; --bs-btn-bg: var(--lux-ink); --bs-btn-border-color: var(--lux-ink);
  --bs-btn-hover-bg: #100a18; --bs-btn-hover-border-color: #100a18; --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #000;
}
.btn-gold-link {
  color: var(--lux-gold); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem;
}
.btn-gold-link:hover { color: var(--lux-gold); }
.btn-gold-link i { transition: transform .25s ease; }
.btn-gold-link:hover i { transform: translateX(4px); }

/* ---- Transição de rota (SPA) — conteúdo SEMPRE visível (iframes pausam animações no frame 0) ---- */
.view { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .view { animation: viewIn .45s cubic-bezier(.2,.7,.2,1); }
}
@keyframes viewIn { from { transform: translateY(10px); } to { transform: none; } }

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(70% 60% at 88% -5%, rgba(var(--identity-purple-rgb), 0.10), transparent 60%),
    radial-gradient(50% 50% at 5% 110%, rgba(176,141,62,0.10), transparent 60%),
    var(--lux-ivory);
}
.hero-pill {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--lux-paper); border: 1px solid var(--lux-line); border-radius: 50rem;
  padding: .45rem 1rem; font-size: .82rem; font-weight: 600; color: #4f4858;
  box-shadow: 0 6px 20px rgba(36,28,46,0.06);
}
.hero .grad-text {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  background: linear-gradient(110deg, var(--identity-purple), var(--lux-gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- Mock de produto ---- */
.mock {
  background: var(--lux-paper); border: 1px solid var(--lux-line); border-radius: 20px;
  box-shadow: 0 40px 90px -40px rgba(36,28,46,0.4), 0 10px 30px rgba(36,28,46,0.06);
  overflow: hidden;
}
.mock::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--identity-purple), var(--lux-gold-2)); }
.mock-top { display: flex; align-items: center; gap: .5rem; padding: .85rem 1.1rem; border-bottom: 1px solid #f0ece2; }
.mock-top .dotrow { display: flex; gap: 6px; }
.mock-top .dotrow i { width: 10px; height: 10px; border-radius: 50%; background: #e7dfcf; display: inline-block; }
.mock-body { padding: 1.1rem; display: grid; gap: .8rem; }
.mock-row { display: flex; align-items: center; gap: .8rem; padding: .75rem .9rem; border: 1px solid #efeadf; border-radius: 13px; background: var(--lux-ivory-2); }
.timer-mono { font-weight: 600; color: var(--lux-ink); }   /* base mono vem do shared */

/* ---- Cartões de recurso ---- */
.feature-card {
  background: var(--lux-paper); border: 1px solid var(--lux-line); border-radius: 18px;
  padding: 2rem; height: 100%; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative; overflow: hidden;
}
.feature-card::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--lux-gold-2); transition: width .35s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -28px rgba(36,28,46,0.3); }
.feature-card:hover::after { width: 100%; }
.feature-ic {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(160deg, #efe7fb, #f7f1e4); color: var(--identity-purple); font-size: 1.5rem; margin-bottom: 1.1rem;
  border: 1px solid #efe7df;
}
.feature-card h5 { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--lux-ink); }

/* ---- Passos ---- */
.step-num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--lux-ink);
  background: var(--lux-paper); border: 1px solid var(--lux-gold-2);
  box-shadow: inset 0 0 0 4px var(--lux-ivory);
}

/* ---- Pricing ---- */
.plan-card { background: var(--lux-paper); border: 1px solid var(--lux-line); border-radius: 20px; padding: 2.3rem; height: 100%; transition: transform .3s ease, box-shadow .3s ease; }
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(36,28,46,0.28); }
.plan-card.featured { border-color: var(--identity-purple); box-shadow: 0 30px 70px -35px rgba(var(--identity-purple-rgb), 0.5); position: relative; }
.plan-card.featured::before {
  content: "Mais escolhido"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--lux-ink); color: var(--lux-gold-2); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .3rem .9rem; border-radius: 50rem;
}
.plan-name { font-family: var(--serif); font-weight: 700; font-size: 1.7rem; color: var(--lux-ink); }
.plan-price { font-family: var(--serif); font-size: 3.2rem; font-weight: 700; color: var(--lux-ink); line-height: 1; letter-spacing: -0.02em; }
.plan-feature { display: flex; gap: .65rem; align-items: flex-start; padding: .4rem 0; color: #4f4858; }
.plan-feature i { color: var(--lux-gold); margin-top: .2rem; }

/* ---- Métrica ---- */
.metric-num { font-family: var(--serif); font-weight: 700; font-size: 3rem; color: var(--lux-ink); line-height: 1; }

/* ---- CTA / Footer ---- */
.cta-band {
  background: linear-gradient(135deg, #2c2140 0%, var(--identity-purple-dark) 60%, var(--identity-purple) 100%);
  border-radius: 26px; color: #fff; overflow: hidden; position: relative;
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 0%, rgba(203,171,102,.22), transparent 55%); }
.cta-band .serif { color: #fff; }
.btn-gold {
  --bs-btn-color: #2c2140; --bs-btn-bg: var(--lux-gold-2); --bs-btn-border-color: var(--lux-gold-2);
  --bs-btn-hover-bg: #d8bd83; --bs-btn-hover-border-color: #d8bd83; --bs-btn-hover-color: #2c2140;
  font-weight: 700;
}
footer.tl-foot { background: var(--lux-ink); color: #b6acc0; }
footer.tl-foot .tl-brand { color: #fff; }
footer.tl-foot a { color: #cfc6d6; text-decoration: none; transition: color .2s; }
footer.tl-foot a:hover { color: var(--lux-gold-2); }

/* ---- Checkout ---- */
.co-card { background: var(--lux-paper); border: 1px solid var(--lux-line); border-radius: 18px; padding: 1.6rem; }
.co-step { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--lux-ink); display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.co-num { width: 30px; height: 30px; border-radius: 50%; background: var(--identity-purple); color: #fff; display: grid; place-items: center; font-size: .9rem; font-family: var(--identity-mono); flex: none; }
.co-card .form-control { border-radius: 12px; padding: .6rem .85rem; border-color: var(--lux-line); }
.co-card .form-label { margin-bottom: .3rem; }

.co-summary { background: var(--lux-paper); border: 1px solid var(--lux-line); border-radius: 20px; padding: 1.6rem; position: sticky; top: 100px; box-shadow: 0 24px 50px -34px rgba(36,28,46,0.3); }
.co-summary-h { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lux-gold); margin-bottom: 1.1rem; }
.co-line { display: flex; align-items: center; justify-content: space-between; padding: .45rem 0; color: #4f4858; font-size: .92rem; }
.co-total { display: flex; align-items: flex-end; justify-content: space-between; }
.co-total > span:first-child { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--lux-ink); }

.co-toggle { display: inline-flex; background: var(--lux-ivory); border: 1px solid var(--lux-line); border-radius: 50rem; padding: 4px; width: 100%; }
.co-toggle button { flex: 1; border: none; background: none; padding: .45rem .6rem; border-radius: 50rem; font-weight: 600; font-size: .86rem; color: var(--lux-ink-60); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; }
.co-toggle button.active { background: var(--lux-paper); color: var(--lux-ink); box-shadow: 0 2px 6px rgba(36,28,46,.12); }
.co-toggle .save { font-size: .68rem; color: #15824a; font-weight: 700; }

.qty { display: inline-flex; align-items: center; gap: .7rem; }
.qty button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--lux-line); background: var(--lux-paper); color: var(--lux-ink); display: grid; place-items: center; cursor: pointer; }
.qty button:hover { background: var(--lux-ivory); }

.check-success { width: 90px; height: 90px; border-radius: 50%; background: #e8f7ee; color: #15824a; display: grid; place-items: center; font-size: 2.6rem; box-shadow: 0 0 0 10px #f1fbf5; }

/* ---- Legal (Termos / LGPD / Uso) ---- */
.legal-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.2rem; }
.legal-ic { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; flex: none; background: linear-gradient(160deg, #efe7fb, #f7f1e4); color: var(--identity-purple); font-size: 1.7rem; border: 1px solid #efe7df; }
.legal-section { margin-bottom: 1.8rem; }
.legal-section p { color: #51495f; line-height: 1.75; }
.legal-nav { display: flex; flex-wrap: wrap; gap: .5rem; border-top: 1px solid var(--lux-line); padding-top: 1.5rem; }
.legal-nav a { text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--lux-ink-60); border: 1px solid var(--lux-line); border-radius: 50rem; padding: .45rem 1rem; background: var(--lux-paper); }
.legal-nav a:hover { border-color: var(--identity-purple); color: var(--identity-purple); }
.legal-nav a.active { background: var(--identity-purple); color: #fff; border-color: var(--identity-purple); }
