/* =========================================================
   TEMA — troque as cores e a fonte aqui e o site inteiro muda
   ========================================================= */
:root {
  --bg: #000000;          /* fundo da página */
  --text: #ffffff;        /* texto principal */
  --muted: #959595;       /* texto secundário (cinza) */
  --card: #121212;        /* fundo dos cards / fotos carregando */
  --card-2: #080808;      /* fundo dos cards do carrossel */
  --line: #343434;        /* bordas finas */
  --accent: #ff13b1;      /* destaque principal (botão do topo) */
  --accent-2: #ff3dae;    /* selo "economize" */
  --blue: #2c5cff;        /* destaque secundário (eventos) */
  --btn-text: #0a0a0a;    /* texto dos botões brancos */

  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --maxw: 1270px;
  --r-pill: 9999px;
  --r-card: 33px;
  --r-tile: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- tipografia ---------- */
.h1 {
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.h2 {
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.h3 { font-size: 22px; line-height: 1.15; font-weight: 500; letter-spacing: -0.03em; }
.lead { color: var(--muted); font-size: 15px; line-height: 1.35; max-width: 34ch; margin-inline: auto; }
.small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.center { text-align: center; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 18px;
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500; line-height: 1;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn-white { background: var(--text); color: var(--btn-text); }
.btn-pink { background: var(--accent); color: #fff; height: 40px; padding: 0 22px; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-ghost { background: rgba(40,40,40,.8); color: var(--muted); border: 1px solid #2a2a2a; }
.btn-ghost:hover { color: var(--text); }
.btn-sm { height: 30px; padding: 0 14px; font-size: 12px; }

/* ---------- foto genérica (bloco escuro enquanto não carrega) ---------- */
.ph { background: var(--card); overflow: hidden; border-radius: var(--r-tile); position: relative; }
.ph img { width: 100%; height: 100%; object-fit: cover; opacity: 0; color: transparent; font-size: 0; transition: opacity .6s ease; }
.ph img.loaded { opacity: 1; }
.ph img.missing { visibility: hidden; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  pointer-events: none;
}
.header > * { pointer-events: auto; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; }
.logo svg { width: 30px; height: 30px; }
.header-actions { display: flex; gap: 8px; }

/* ---------- seções ---------- */
section { position: relative; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.spacer-xl { margin-bottom: clamp(120px, 14vw, 200px); }

/* rabiscos à mão */
.doodle-word { position: relative; display: inline-block; white-space: nowrap; }
.doodle-word svg {
  position: absolute; pointer-events: none; overflow: visible;
  fill: none; stroke: var(--text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.doodle-word .circle { inset: -18% -9% -14% -9%; width: 118%; height: 132%; }
.doodle-word .under { left: -2%; bottom: -0.32em; width: 104%; height: .4em; }
.draw path { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.in .draw path, .draw.in path { animation: draw 1.4s .35s cubic-bezier(.6,.1,.3,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- 1. HERO ---------- */
.hero { padding-top: 130px; text-align: center; margin: 0 10px 40px; }
.hero .lead { margin-top: 22px; }
.hero .btn-pink { margin-top: 26px; }

/* ---------- 2. FLUXO ---------- */
.flow { height: 720px; max-width: var(--maxw); margin: 0 auto; position: relative; }
.flow-svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #e9e9e9; stroke-width: 1.6; stroke-linecap: round; }
.node { position: absolute; text-align: center; width: 230px; }
.node .h3 { margin-bottom: 6px; }
.node.ring { padding: 22px 14px; }
.node.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 1.8; }
.float { position: absolute; animation: bob 7s ease-in-out infinite; will-change: transform; }
.float.d2 { animation-delay: -2.3s; animation-duration: 8s; }
.float.d3 { animation-delay: -4.1s; animation-duration: 6.5s; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(var(--rot,0deg)); } 50% { transform: translateY(-14px) rotate(calc(var(--rot,0deg) + 2deg)); } }
.sphere { border-radius: 50%; box-shadow: inset -18px -22px 40px rgba(0,0,0,.65), 0 30px 60px rgba(0,0,0,.6); }
.sphere img { border-radius: 50%; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #353535; color: #fff; font-size: 11px; font-weight: 500;
  padding: 5px 10px 5px 6px; border-radius: var(--r-pill);
}
.chip i { width: 14px; height: 14px; border-radius: 4px; background: var(--accent); display: inline-block; }
.chip.c2 i { background: var(--blue); }
.chip.c3 i { background: #ffc531; }
.caption { font-size: 10px; color: var(--muted); margin-top: 6px; text-align: center; }

/* ---------- 3. A FOTO DIFÍCIL ---------- */
.hard { margin: 80px 10px 10px; text-align: center; }
.hard .lead { margin-top: 22px; max-width: 40ch; }
.editor {
  margin: 60px auto 0; max-width: 1420px; height: min(78vh, 760px);
  border: 1px solid var(--line); border-radius: var(--r-tile);
  background: #0b0b0b; position: relative; overflow: hidden;
}
.editor .ph { position: absolute; inset: 0; border-radius: 0; }
.editor::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 120%, rgba(0,0,0,.7), transparent 55%), linear-gradient(to bottom, rgba(0,0,0,.45), transparent 22%); pointer-events: none; }
.toolbar {
  position: absolute; z-index: 2; top: 18px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 4px; padding: 5px; border-radius: 12px;
  background: rgba(30,30,30,.85); backdrop-filter: blur(10px); border: 1px solid #2c2c2c;
}
.toolbar span { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #bbb; font-size: 11px; }
.toolbar span.on { background: #3a3a3a; color: #fff; }
.editor-tag {
  position: absolute; z-index: 2; top: 18px; left: 18px;
  display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px;
  border-radius: 12px; background: rgba(30,30,30,.85); border: 1px solid #2c2c2c; font-size: 12px; font-weight: 500;
}
.editor-tag b { width: 22px; height: 22px; border-radius: 6px; background: var(--accent); display: grid; place-items: center; font-size: 10px; }
.panel {
  position: absolute; z-index: 2; right: 18px; top: 72px; width: 200px;
  padding: 14px; border-radius: 14px; background: rgba(22,22,22,.88); backdrop-filter: blur(10px); border: 1px solid #2c2c2c;
  font-size: 11px; color: #cfcfcf;
}
.panel .row { margin-bottom: 12px; }
.panel .row:last-child { margin-bottom: 0; }
.panel .row div { display: flex; justify-content: space-between; margin-bottom: 6px; }
.panel .track { height: 4px; background: #333; border-radius: 4px; position: relative; }
.panel .track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: #fff; }
.editor-bottom {
  position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px;
  display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #bcbcbc;
}
.editor-bottom .btns { display: flex; gap: 8px; }
.btn-lime { background: #b5ff3c; color: #0a0a0a; }

/* ---------- 4. CONSTELAÇÃO ---------- */
.combos { position: relative; height: 900px; max-width: 1440px; margin: 140px auto 0; }
.combos-title { text-align: center; position: relative; z-index: 2; }
.combos .arm { position: absolute; top: 330px; text-align: center; width: 220px; z-index: 2; }
.combos .arm.l { left: calc(50% - 360px); }
.combos .arm.r { left: calc(50% + 140px); }
.combos .plus { position: absolute; left: 50%; top: 340px; transform: translateX(-50%); font-size: 40px; font-weight: 200; color: #ddd; }
.combos-svg { position: absolute; left: 50%; top: 150px; transform: translateX(-50%); width: 560px; height: 180px; fill: none; stroke: #eee; stroke-width: 1.6; stroke-linecap: round; }
.tile { position: absolute; box-shadow: 0 20px 50px rgba(0,0,0,.6); }

/* ---------- 5. PREÇOS ---------- */
.pricing { padding-inline: 20px; }
.cloud-title { position: relative; display: inline-block; padding: 54px 70px 46px; }
.cloud-title svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 2; }
.toggle { display: inline-flex; align-items: center; gap: 18px; margin-top: 28px; font-size: 13px; font-weight: 500; }
.toggle button { color: rgba(255,255,255,.55); display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.toggle button[aria-pressed="true"] { color: #fff; }
.badge { background: var(--accent-2); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: var(--r-pill); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: var(--maxw); margin: 40px auto 0; align-items: start; }
.plan { background: var(--card); border-radius: var(--r-card); padding: 26px; min-height: 520px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.plan-head { display: flex; align-items: center; gap: 10px; }
.plan-name { font-size: 11px; font-weight: 600; letter-spacing: .04em; padding: 4px 10px; border-radius: var(--r-pill); background: #222; }
.plan.pro .plan-name { background: #fff; color: var(--btn-text); }
.plan.edu .plan-name { background: var(--blue); }
.price { font-size: 40px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.price small { font-size: 13px; color: var(--muted); font-weight: 400; letter-spacing: 0; margin-left: 4px; }
.plan .desc { font-size: 22px; line-height: 1.15; letter-spacing: -0.03em; margin-top: 26px; font-weight: 500; }
.plan .cta { margin-top: auto; padding-top: 24px; }
.plan .cta .btn { width: 100%; height: 44px; }
.feat { list-style: none; margin-top: 22px; border-top: 1px solid #262626; }
.feat li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px solid #262626; font-size: 13px; line-height: 1.35; }
.feat li b { font-weight: 500; }
.feat li span { color: var(--muted); }
.feat svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 1.6; margin-top: 1px; }
.smiley { width: 150px; margin: 40px auto 0; stroke: #fff; fill: none; stroke-width: 2.4; stroke-linecap: round; }
.price-num { display: inline-block; transition: opacity .2s ease, transform .2s ease; }
.price-num.swap { opacity: 0; transform: translateY(6px); }

/* ---------- 6. EMPRESAS ---------- */
.biz { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; max-width: 1100px; margin: 60px auto 0; }
.orbit { position: relative; height: 420px; }
.orbit-panel {
  position: absolute; left: 50%; top: 50%; width: 240px; height: 190px; transform: translate(-50%,-50%);
  background: #1a1a1a; border: 1px solid #2b2b2b; border-radius: 16px; padding: 12px; font-size: 11px; color: #ccc;
}
.orbit-panel .bar { display: flex; justify-content: space-between; margin-bottom: 10px; }
.orbit-panel .grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.orbit-panel .grid .ph { aspect-ratio: 1; border-radius: 6px; }
.orbit .ph.o { position: absolute; width: 74px; height: 74px; border-radius: 14px; border: 2px solid #000; }
.orbit .ph.o + .caption { position: absolute; }
.perks { display: grid; gap: 26px; }
.perks .small { margin-top: 4px; max-width: 30ch; }

/* ---------- 7. DOCUMENTAR ---------- */
.star-title { position: relative; display: inline-block; padding: 60px 74px; }
.star-title svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.banner { margin: 50px auto 0; max-width: 1420px; height: min(80vh, 720px); border-radius: 24px; }
.banner .over {
  position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%);
  display: flex; gap: 8px; padding: 6px; border-radius: 14px; background: rgba(15,15,15,.75); backdrop-filter: blur(10px);
}
.banner .over .ph { width: 78px; height: 56px; border-radius: 8px; }

/* ---------- 8. CARROSSEL ---------- */
.heart { width: 48px; margin: 0 auto 22px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.marquee { overflow: hidden; margin-top: 50px; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track-x { display: flex; gap: 14px; width: max-content; animation: slide 60s linear infinite; }
.marquee:hover .track-x { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.post { width: 300px; background: var(--card-2); border: 1px solid #1c1c1c; border-radius: 12px; padding: 12px; flex: none; }
.post-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.post-head .av { width: 30px; height: 30px; border-radius: 50%; background: #373737; overflow: hidden; }
.post-head .av img { width: 100%; height: 100%; object-fit: cover; }
.post-head b { font-size: 13px; font-weight: 600; display: block; line-height: 1.1; }
.post-head span { font-size: 12px; color: var(--muted); }
.post p { font-size: 13px; line-height: 1.35; margin-bottom: 10px; }
.post p em { color: #1d9bf0; font-style: normal; }
.post .ph { aspect-ratio: 4/5; border-radius: 8px; }

/* ---------- 9. NEWSLETTER ---------- */
.news { text-align: center; padding: 0 20px; }
.news form { max-width: 360px; margin: 30px auto 0; display: grid; gap: 10px; position: relative; }
.news input[type=email] {
  height: 40px; border-radius: var(--r-pill); border: 1px solid #2a2a2a; background: #1b1b1b;
  color: #fff; text-align: center; font: inherit; font-size: 13px; outline: none; transition: border-color .2s;
}
.news input[type=email]:focus { border-color: #555; }
.news input[aria-invalid="true"] { border-color: #ff4d6d; }
.news .btn { height: 40px; width: 100%; }
.check { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 10px; }
.check input { accent-color: var(--accent); width: 14px; height: 14px; }
.check a { text-decoration: underline; color: #ccc; }
.msg { min-height: 18px; font-size: 12px; }
.msg.err { color: #ff6b85; }
.msg.ok { color: #b5ff3c; }
.news-arrow { position: absolute; left: -110px; bottom: -40px; width: 100px; stroke: #fff; fill: none; stroke-width: 1.6; stroke-linecap: round; }

/* ---------- 10. RODAPÉ ---------- */
.footer { text-align: center; padding: 100px 20px 140px; font-size: 13px; color: var(--muted); display: grid; gap: 14px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; }
.footer a:hover { color: var(--text); }

/* ---------- 11. TOAST ---------- */
.toast {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; max-width: calc(100vw - 24px);
  border-radius: var(--r-pill); background: rgba(20,20,20,.82); backdrop-filter: blur(12px); border: 1px solid #262626;
}
.toast .av { width: 34px; height: 34px; border-radius: 50%; flex: none; background: #333; overflow: hidden; }
.toast .av img { width: 100%; height: 100%; object-fit: cover; }
.toast q { font-size: 12px; display: block; line-height: 1.25; quotes: "\201C" "\201D"; }
.toast span { font-size: 11px; color: var(--muted); }
.toast-text { transition: opacity .35s ease; }
.toast-text.fade { opacity: 0; }

/* ---------- entrada ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .header { padding: 14px 16px; }
  .header .btn-ghost { display: none; }
  .flow { height: auto; display: grid; gap: 60px; padding: 40px 20px 0; }
  .flow-svg { display: none; }
  .node, .float { position: relative; inset: auto !important; margin: 0 auto; }
  .flow .float { display: none; }
  .flow .float.keep { display: block; }
  .node-group { display: grid; justify-items: center; gap: 18px; }
  .editor { height: 460px; margin-inline: 0; }
  .panel { display: none; }
  .toolbar span:nth-child(n+6) { display: none; }
  .combos { height: auto; margin-top: 100px; }
  .combos-svg, .combos .plus { display: none; }
  .combos .arm { position: relative; inset: auto !important; width: auto; margin: 26px auto 0; }
  .combos .tile { position: relative; inset: auto !important; width: auto !important; height: auto !important; aspect-ratio: 4/5; }
  .combos .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 30px 20px 0; }
  .combos .tiles .float { animation: none; }
  .combos .tiles .tile:nth-child(9) { display: none; }
  .plans { grid-template-columns: 1fr; }
  .plan { min-height: 0; }
  .biz { grid-template-columns: 1fr; gap: 30px; padding: 0 20px; }
  .orbit { height: 360px; transform: scale(.86); }
  .banner { height: 420px; margin-inline: 10px; }
  .banner .over .ph:nth-child(n+4) { display: none; }
  .news-arrow { display: none; }
  .cloud-title { padding: 44px 46px 38px; }
  .toast { padding: 6px 14px 6px 6px; max-width: 300px; }
  .toast .av { width: 26px; height: 26px; }
  .toast q { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
  .toast span { display: none; }
  .footer { padding-bottom: 110px; }
  .star-title { padding: 50px 46px; }
}
@media (min-width: 901px) { .combos .tiles { display: contents; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .draw path { stroke-dashoffset: 0; }
}
