/* Ideas Factory · by CONECTAI
   Usa a identidade do site principal (../assets/style.css: cores, botões em pílula, cartões, FAQ, rodapé).
   Aqui ficam só as peças próprias desta página. */

/* Marca: símbolo da lâmpada no mesmo azulejo roxo do logótipo CONECTAI */
.logo small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 2px; line-height: 1; }
.logo .name { display: grid; line-height: 1.05; }
.logo .name b { font-weight: 700; }

/* Hero */
.if-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(56px, 8vw, 104px) clamp(56px, 7vw, 96px); }
.if-hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(rgba(148, 163, 184, .22) 1px, transparent 1.4px); background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%); }
.if-hero::after { content: ""; position: absolute; z-index: -1; right: -240px; top: -220px; width: 820px; height: 820px; border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 28, 245, .38), transparent 62%); pointer-events: none; }
.if-hero .glow-2 { position: absolute; z-index: -1; left: -260px; bottom: -320px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(11, 184, 219, .2), transparent 62%); pointer-events: none; }
.if-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.if-hero-copy { display: grid; gap: 24px; justify-items: start; }
.if-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); }
.if-hero h1 span { display: block; }
.if-hero .hero-ctas, .if-hero .hero-proof { justify-content: flex-start; }
@media (max-width: 960px) {
  .if-hero-grid { grid-template-columns: 1fr; }
  .if-hero-copy { justify-items: center; text-align: center; }
  .if-hero .hero-ctas, .if-hero .hero-proof { justify-content: center; }
}

/* Demonstração: prompt → 3 conteúdos */
.demo { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 20px; box-shadow: 0 40px 90px -40px rgba(154, 28, 245, .55); }
.demo-top { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.demo-top i { width: 10px; height: 10px; border-radius: 50%; background: #2a2e44; }
.demo-top span { margin-left: auto; font: 500 .72rem var(--f-mono); color: var(--muted); letter-spacing: .04em; }
.prompt { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px; font-size: .92rem; color: var(--soft); min-height: 104px; }
.prompt b { display: block; margin-bottom: 8px; font: 600 .7rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--cyan); vertical-align: -2px; margin-left: 1px; animation: if-blink 1s steps(1) infinite; }
@keyframes if-blink { 50% { opacity: 0; } }
.demo-arrow { display: grid; place-items: center; margin: 12px 0; color: var(--primary); }
.demo-arrow svg { width: 22px; height: 22px; transform: rotate(90deg); }
.outputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.out { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 10px; display: grid; justify-items: center; gap: 4px; text-align: center; font-size: .86rem; font-weight: 600; }
.out .ico { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 4px; }
.out small { color: var(--muted); font: 500 .68rem var(--f-mono); }
.bar { width: 100%; height: 4px; border-radius: 4px; background: #1a1d33; margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--cyan)); animation: if-fill 2.6s var(--ease) forwards; }
.out:nth-child(2) .bar i { animation-delay: .5s; }
.out:nth-child(3) .bar i { animation-delay: 1s; }
@keyframes if-fill { to { width: 100%; } }

/* Vídeos já produzidos */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1000px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }
.vcard { display: grid; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 10px 16px; color: var(--ink); text-decoration: none; text-align: left; font: inherit; cursor: pointer; min-width: 0; transition: border-color .25s, transform .25s var(--ease), background .25s; }
.vcard:hover { border-color: rgba(154, 28, 245, .5); transform: translateY(-3px); background: var(--card-2); }
.vthumb { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #0f1226; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.vcard:hover .vthumb img { transform: scale(1.04); }
.vthumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 6, 15, .75)); }
.vplay { position: absolute; z-index: 1; left: 50%; top: 50%; width: 58px; height: 58px; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; box-shadow: 0 10px 34px -6px rgba(154, 28, 245, .9); transition: transform .2s var(--ease); }
.vplay svg { width: 22px; height: 22px; margin-left: 3px; }
.vcard:hover .vplay { transform: translate(-50%, -50%) scale(1.08); }
.vdur { position: absolute; z-index: 1; right: 10px; bottom: 10px; font: 600 .72rem var(--f-mono); background: rgba(5, 6, 15, .8); padding: 3px 8px; border-radius: 6px; }
.vcat { position: absolute; z-index: 1; left: 10px; top: 10px; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #e9d5ff; background: rgba(124, 58, 237, .35); border: 1px solid rgba(154, 28, 245, .55); padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.vcard h3 { font-size: 1rem; padding: 0 6px; }
.vcard p { color: var(--muted); font-size: .88rem; padding: 0 6px; }
/* Espaço reservado enquanto não há vídeos */
.vcard.empty { cursor: default; border-style: dashed; border-color: var(--line-2); }
.vcard.empty:hover { transform: none; background: var(--card); }
.vcard.empty .vthumb { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(154, 28, 245, .22), transparent 60%), radial-gradient(circle at 80% 90%, rgba(11, 184, 219, .16), transparent 55%), #0b0e20; }
.vcard.empty .vthumb::after { display: none; }
.vcard.empty .vplay { position: static; transform: none; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); box-shadow: none; color: var(--muted); }
.vcard.empty h3 { color: var(--soft); }
.videos-more { margin-top: 28px; display: flex; justify-content: center; }

/* Leitor de vídeo */
.player { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(5, 6, 15, .86); backdrop-filter: blur(8px); }
.player.open { display: flex; }
.player-box { position: relative; width: min(1000px, 100%); }
.player-box.vertical { width: min(420px, 100%); }
.player-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--line-2); }
.player-box.vertical .player-frame { aspect-ratio: 9 / 16; max-height: 82vh; margin: 0 auto; }
.player-frame iframe, .player-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-title { margin-top: 12px; color: var(--soft); font-weight: 600; text-align: center; }
.player-close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); color: #fff; cursor: pointer; display: grid; place-items: center; }
.player-close svg { width: 20px; height: 20px; }

/* Recursos: ícone maior */
.feat .ico { width: 52px; height: 52px; border-radius: 14px; }
.feat .ico svg { width: 24px; height: 24px; }
.feat h3 { font-size: 1.2rem; }

/* Como funciona */
.steps-if { counter-reset: s; }
.steps-if .card { gap: 10px; }
.step-n { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, #b54bff, #7c3aed); box-shadow: 0 0 24px -6px rgba(154, 28, 245, .8); }
.example { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.quote { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--primary); border-radius: var(--r); padding: 26px; font-size: 1.05rem; color: var(--soft); font-style: italic; }
.quote b { display: block; margin-bottom: 10px; font: 600 .7rem var(--f-mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.deliver { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.deliver > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.deliver > div:last-child { border-bottom: 0; }
.deliver .k { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.deliver .k svg { width: 20px; height: 20px; color: var(--cyan); }
.deliver .v { color: var(--muted); text-align: right; font-size: .92rem; }
@media (max-width: 860px) { .example { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .deliver > div { flex-direction: column; align-items: flex-start; gap: 2px; } .deliver .v { text-align: left; } }

/* Planos (3 colunas) */
.plans.three { grid-template-columns: repeat(3, 1fr); max-width: 1040px; margin-inline: auto; }
@media (max-width: 960px) { .plans.three { grid-template-columns: 1fr; max-width: 460px; row-gap: 30px; } }
.plan .plan-tier { font-size: .82rem; font-weight: 600; letter-spacing: .14em; color: var(--muted); }
.plan .per { color: var(--muted); font-size: .86rem; }
.plan .quota { color: var(--cyan); font-weight: 600; font-size: .95rem; }
.founder { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: #a5f3fc; background: rgba(11, 184, 219, .1); border: 1px solid rgba(11, 184, 219, .4); }
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
@media (max-width: 960px) { .extras { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.extras .card h3 { font-size: 1rem; color: var(--soft); }
.extras .xp { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.extras .card p { flex: 1; }
.extras .btn { width: 100%; }
.unit { margin: 28px auto 0; max-width: 760px; text-align: center; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.unit b { color: var(--soft); font-weight: 600; }
.pay { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.pay span { border: 1px solid var(--line-2); border-radius: 10px; padding: 6px 14px; font-size: .82rem; font-weight: 600; color: var(--soft); }

/* Para quem é */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto; list-style: none; padding: 0; }
.chips li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--soft); font-weight: 500; }
.chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* Secção alternada */
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }

/* Modal de pedido */
.modal { position: fixed; inset: 0; z-index: 110; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(5, 6, 15, .8); backdrop-filter: blur(6px); }
.modal.open, .modal:target { display: flex; }
.modal .box { position: relative; width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 30px; max-height: calc(100vh - 32px); overflow: auto; }
.modal h3 { font-size: 1.4rem; margin-bottom: 6px; }
.modal p { color: var(--muted); margin-bottom: 14px; }
.modal label { display: block; font-size: .85rem; font-weight: 500; color: var(--soft); margin: 12px 0 6px; }
.modal input, .modal select { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); font: 1rem var(--f-sans); }
.modal input:focus, .modal select:focus { outline: none; border-color: var(--primary); }
.modal .btn { width: 100%; margin-top: 20px; }
.modal .close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); text-decoration: none; font-size: 1.6rem; line-height: 1; }
.modal .close:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.ok { display: none; text-align: center; padding: 10px 0; }
.ok .ico { margin: 0 auto 14px; width: 56px; height: 56px; border-radius: 50%; color: var(--ok); }
.ok .ico svg { width: 28px; height: 28px; }

.footer-base { padding-bottom: 76px; }

@media (prefers-reduced-motion: reduce) {
  .caret, .bar i { animation: none; }
  .bar i { width: 100%; }
}

/* Ajustes sobre o style.css principal */
.feat .ico, .out .ico { background: #1a1d33; border: 1px solid var(--line-2); color: #c084fc; }
.feat .ico.c, .out .ico.c { color: var(--cyan); }
.vcard { align-content: start; }
.site-footer .logo { display: inline-flex; color: var(--ink); padding: 0; }
.site-footer .logo:hover { color: var(--ink); }

/* Vídeos: 4 por linha em ecrãs largos */
@media (min-width: 1100px) { .video-grid { grid-template-columns: repeat(4, 1fr); } }

/* eBooks */
.eb-feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px clamp(14px, 3vw, 40px) 14px 14px; }
.eb-shot { margin: 0; border-radius: 14px; overflow: hidden; }
.eb-shot img { display: block; width: 100%; height: auto; }
.eb-info { display: grid; gap: 14px; justify-items: start; padding-block: 14px; }
.eb-k { font: 600 .72rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.eb-info h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; }
.eb-info p { color: var(--muted); }
.eb-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--soft); font-size: .95rem; }
.eb-info li { display: flex; gap: 10px; align-items: flex-start; }
.eb-info li svg { width: 18px; height: 18px; flex: none; color: #fff; background: var(--primary); border-radius: 50%; padding: 3px; margin-top: 2px; }
.eb-info .btn { margin-top: 6px; }
@media (max-width: 900px) { .eb-feature { grid-template-columns: 1fr; padding: 12px 12px 20px; } .eb-info { padding: 4px 8px; } }
.eb-shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
.eb-shelf figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 22px 16px 20px; background: radial-gradient(80% 60% at 50% 35%, rgba(154, 28, 245, .16), transparent 70%), var(--card); border: 1px solid var(--line); border-radius: var(--r); text-align: center; transition: border-color .25s, transform .25s var(--ease); }
.eb-shelf figure:hover { border-color: rgba(154, 28, 245, .45); transform: translateY(-3px); }
.eb-shelf img { width: 78%; height: auto; transition: transform .4s var(--ease); }
.eb-shelf figure:hover img { transform: translateY(-4px) rotate(-1deg); }
.eb-shelf figcaption { display: grid; gap: 2px; }
.eb-shelf b { font-weight: 600; font-size: .98rem; }
.eb-shelf span { color: var(--muted); font-size: .84rem; }
@media (max-width: 1000px) { .eb-shelf { grid-template-columns: repeat(2, 1fr); } }

/* Landing pages */
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .lp-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.lp-card { display: grid; gap: 6px; color: var(--ink); min-width: 0; }
.lp-frame { display: block; text-decoration: none; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #11152c; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); margin-bottom: 10px; transition: border-color .25s, transform .25s var(--ease); }
.lp-card:hover .lp-frame { border-color: rgba(154, 28, 245, .55); transform: translateY(-3px); }
.lp-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #1a1d33; border-bottom: 1px solid var(--line); }
.lp-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3f5c; }
.lp-bar span { margin-left: 10px; flex: 1; font: 500 .72rem var(--f-mono); color: var(--muted); background: var(--bg-2); border-radius: 6px; padding: 4px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-view { height: 400px; overflow: hidden; background: #fff; }
.lp-view img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: object-position 7s ease-in-out; }
.lp-card:hover .lp-view img, .lp-card:focus-visible .lp-view img { object-position: bottom; }
.lp-card h3 { font-size: 1.05rem; }
.lp-card p { color: var(--muted); font-size: .9rem; }
.lp-note { margin-top: 26px; text-align: center; color: var(--muted); font-size: .85rem; }
@media (prefers-reduced-motion: reduce) { .lp-view img { transition: none; } }

/* ---- landing page como produto + apoio na implementação ---- */
.unit a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.lp-buy { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; margin-top: 32px; padding: 32px; border-radius: 22px; background: var(--card, rgba(255,255,255,.03)); border: 1px solid var(--line-2); }
.lp-buy-main h3 { font-size: 1.5rem; margin: 10px 0 10px; }
.lp-buy-main p { color: var(--muted); line-height: 1.65; margin: 0 0 18px; }
.lp-buy-main ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--soft); font-size: .95rem; }
.lp-buy-main li { display: flex; gap: 10px; align-items: flex-start; }
.lp-buy-main li svg { width: 18px; height: 18px; flex: none; color: #fff; background: var(--primary); border-radius: 50%; padding: 3px; margin-top: 2px; }
.lp-buy-side { display: flex; flex-direction: column; gap: 14px; }
.lp-buy-side .btn { justify-content: center; text-align: center; }
.lp-price { display: flex; flex-direction: column; gap: 2px; color: var(--muted); font-size: .9rem; }
.lp-price b { font-size: 2.2rem; line-height: 1.1; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.lp-help { margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 8px; }
.lp-help b { color: var(--ink); }
.lp-help p { color: var(--muted); font-size: .9rem; line-height: 1.6; margin: 0 0 6px; }
@media (max-width: 900px) { .lp-buy { grid-template-columns: 1fr; padding: 24px; } }
.modal fieldset.choice { border: 0; padding: 0; margin: 12px 0 4px; min-width: 0; }
.modal fieldset.choice legend { font-size: .85rem; font-weight: 500; color: var(--soft); margin-bottom: 8px; padding: 0; }
.modal fieldset.choice label { display: inline-flex; align-items: center; gap: 8px; margin: 0 8px 8px 0; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); cursor: pointer; }
.modal fieldset.choice label:has(input:checked) { border-color: var(--primary); background: rgba(154,28,245,.18); }
.modal fieldset.choice input { width: auto; min-height: 0; margin: 0; accent-color: var(--primary); }
.modal textarea { width: 100%; min-height: 96px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); font: 1rem var(--f-sans); resize: vertical; }
.modal textarea:focus { outline: none; border-color: var(--primary); }

.lp-price b small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }

/* ---- galeria de 30 modelos: filtros, escolher, ver todos ---- */
.lp-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 28px; }
.lp-filters button { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--soft); font: 500 .9rem var(--f-sans); cursor: pointer; }
.lp-filters button small { font: 600 .72rem var(--f-mono); color: var(--cyan); margin-left: 4px; }
.lp-filters button:hover { border-color: rgba(154, 28, 245, .55); color: #fff; }
.lp-filters button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.lp-filters button[aria-pressed="true"] small { color: #e9d5ff; }
.lp-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-meta > div { min-width: 0; }
.lp-pick { min-height: 40px; padding: 8px 18px; font-size: .88rem; flex: none; }
.lp-more-wrap { display: flex; justify-content: center; margin-top: 30px; }
.lp-more[hidden] { display: none; }
.lp-grid .lp-card { animation: lp-in .35s var(--ease) both; }
@keyframes lp-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .lp-grid .lp-card { animation: none; } }
@media (max-width: 1000px) and (min-width: 620px) { .lp-grid { grid-template-columns: repeat(2, 1fr); max-width: none; } }
