/* ============================================================================
   Salvar Links — site oficial · seções
   Os elementos "de app" (card de pasta com a cor na borda, ícone em formato de
   pasta, selo "No. 01", card de resumo em gradiente) imitam o visual do app.
   ========================================================================== */

/* ---------- peças do app ---------- */

/* ícone em formato de pasta, com o gradiente da cor (--c) */
.ftile { --c: var(--c-roxo); position: relative; width: 46px; height: 46px; flex-shrink: 0; }
.ftile::before {               /* aba da pasta */
  content: ""; position: absolute; left: 2px; top: 1px; width: 48%; height: 34%;
  border-radius: 7px 9px 0 0;
  background: color-mix(in srgb, var(--c) 62%, #000);
}
.ftile::after {                /* corpo da pasta */
  content: ""; position: absolute; left: 0; right: 0; top: 18%; bottom: 0;
  border-radius: 11px;
  background: var(--c);
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 70%, #fff) 0%, var(--c) 100%);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 35%, transparent);
}
.ftile svg {
  position: absolute; z-index: 1; left: 50%; top: 59%; transform: translate(-50%, -50%);
  width: 22px; height: 22px; color: #fff;
}

/* card de pasta: borda esquerda na cor, fundo levemente tingido */
.fcard {
  --c: var(--c-roxo);
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px 12px 14px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--c) 17%, transparent) 0%,
                           color-mix(in srgb, var(--c) 5%, transparent) 65%, transparent 100%),
    var(--surface);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  border-left: 4px solid var(--c);
}
.fcard .name { font-weight: 600; font-size: 17px; line-height: 1.2; }
.fcard .count { display: flex; align-items: center; gap: 6px; margin-top: 3px; color: var(--muted); font-size: 14px; }
.fcard .count svg { width: 14px; height: 14px; }
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 10px;
  font-size: 13px; font-weight: 600;
  background: color-mix(in srgb, var(--c, var(--accent)) 22%, transparent);
  color: color-mix(in srgb, var(--c, var(--accent)) 60%, #fff);
}

/* ---------- HERO ---------- */
.hero { padding: 56px 0 90px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero .chip { margin-bottom: 22px; }
.hero h1 { font-size: clamp(42px, 6vw, 68px); font-weight: 800; letter-spacing: -0.02em; }
.hero .lede { margin-top: 22px; max-width: 520px; color: var(--soft); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; color: var(--soft); font-size: 15.5px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--c-verde); }

.hero__art { position: relative; display: flex; justify-content: center; padding: 24px 0; }
.hero__art::before {          /* brilho atrás do celular */
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124, 77, 255, 0.45), transparent 68%);
  filter: blur(10px);
}
.hero__art .phone { position: relative; width: min(300px, 72%); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55)); }
.float { position: absolute; z-index: 2; animation: float 6s ease-in-out infinite; }
.float--search { top: 12%; left: 0; }
.searchpill {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  font-size: 16px; white-space: nowrap;
}
.searchpill svg { width: 18px; height: 18px; color: var(--muted); }
.searchpill .caret { width: 2px; height: 18px; margin-left: -6px; background: var(--accent); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.float--a { width: 230px; top: 46%; right: -2%; animation-delay: -2s; }
.float--b { width: 220px; bottom: 8%; left: 2%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- COMO FUNCIONA ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: passo; }
.step {
  --c: var(--c-roxo);
  position: relative; padding: 28px 26px;
  border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.step .badge { margin-bottom: 18px; }
.step h3 { font-size: 22px; font-weight: 600; }
.step p { margin-top: 10px; color: var(--soft); }
.step .ftile { position: absolute; top: 22px; right: 22px; }

/* ---------- RECURSOS ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature {
  --c: var(--c-roxo);
  padding: 22px 22px 24px;
  border-radius: 20px;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--c) 12%, transparent) 0%, transparent 55%),
    var(--surface);
  border: 1px solid color-mix(in srgb, var(--c) 24%, var(--line));
  border-left: 4px solid var(--c);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.feature h3 { margin-top: 18px; font-size: 18.5px; font-weight: 600; }
.feature p { margin-top: 8px; color: var(--soft); font-size: 15.5px; }

/* ---------- TELAS (carrossel) ---------- */
.shots-wrap { position: relative; }
.shots {
  display: flex; gap: 26px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 26px;
  scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 262px; margin: 0; scroll-snap-align: center; text-align: center; }
.shot img { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5)); }
.shot figcaption { margin-top: 18px; }
.shot strong { display: block; font-size: 18px; font-weight: 600; }
.shot span { display: block; margin-top: 4px; color: var(--muted); font-size: 14.5px; }
.shots-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 10px; }
.shots-nav button {
  width: 46px; height: 46px; border-radius: 14px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  display: flex; align-items: center; justify-content: center;
}
.shots-nav button:hover { background: var(--surface-2); }
.shots-nav button svg { width: 20px; height: 20px; }
.dots { display: flex; gap: 7px; }
.dots span { width: 7px; height: 7px; border-radius: 4px; background: var(--line); transition: width 0.25s, background 0.25s; }
.dots span.on { width: 22px; background: var(--accent); }

/* ---------- PARA QUEM É ---------- */
.folders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 980px; margin: 0 auto; }
.folders .fcard .badge { margin-left: auto; }

/* ---------- PREÇO ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin: 0 auto; }
.plan { position: relative; padding: 32px 30px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.plan--pro {
  background:
    radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.28), transparent 55%),
    var(--surface);
  border-color: rgba(139, 92, 246, 0.5);
}
.plan .tag { position: absolute; top: 24px; right: 24px; }
.plan h3 { font-size: 22px; font-weight: 600; }
.plan .price { margin-top: 10px; font-size: 40px; font-weight: 700; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.plan li { display: flex; align-items: flex-start; gap: 10px; color: var(--soft); }
.plan li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--c-verde); }
.plan--pro li svg { color: var(--accent-text); }
.price-note { text-align: center; margin-top: 22px; color: var(--muted); font-size: 14.5px; }

/* ---------- DÚVIDAS ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.faq details[open] { border-color: rgba(139, 92, 246, 0.45); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 600; font-size: 17.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent-text); font-size: 20px; font-weight: 500;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--soft); }
.faq a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CHAMADA FINAL ---------- */
.cta-card {
  position: relative; overflow: hidden; text-align: center;
  padding: 64px 28px;
  border-radius: 30px;
  background: var(--grad-hero);
  border: 1.5px solid rgba(122, 110, 255, 0.55);
  box-shadow: 0 24px 70px rgba(60, 50, 220, 0.35);
}
.cta-card .waves { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-card > *:not(.waves) { position: relative; }
.cta-card img { width: 76px; height: 76px; border-radius: 20px; margin: 0 auto 22px; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35); }
.cta-card h2 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 700; }
.cta-card p { margin: 14px auto 30px; max-width: 520px; color: rgba(255, 255, 255, 0.85); font-size: 18px; }
.cta-card .btn--primary { background: #fff; color: #1d1f4a; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 1040px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .folders { grid-template-columns: repeat(2, 1fr); }
  .float--a { right: -2%; }
}
@media (max-width: 900px) {
  .hero { padding: 28px 0 70px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 40px; }
  .hero .lede { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .hero__art .phone { width: 64%; }
  .float--search { left: 0; top: 6%; }
  .searchpill { padding: 10px 14px; font-size: 14px; border-radius: 14px; }
  .float--a { width: 170px; right: 0; top: 50%; }
  .float--b { width: 166px; left: 0; bottom: 4%; }
  .float .fcard { padding: 9px 11px 9px 10px; gap: 10px; border-radius: 14px; }
  .float .ftile { width: 34px; height: 34px; }
  .float .ftile svg { width: 17px; height: 17px; }
  .float .fcard .name { font-size: 14.5px; }
  .float .fcard .count { font-size: 12px; }
  .features { grid-template-columns: 1fr; }
  .folders { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .shot { flex-basis: 70vw; }
  .cta-card { padding: 48px 20px; border-radius: 24px; }
}
