/* =========================================================
   LAUNCHR — site
   ========================================================= */
:root {
  --bg: #0a0a0a;
  --surface: #131313;
  --surface-2: #1a1a1a;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eceae6;
  --muted: #8e8b86;
  --orange: #f47030;
  --orange-2: #ff8a4c;
  --display: "Sora", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --r: 20px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body { background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.accent { color: var(--orange); }
.muted { color: var(--muted); }

/* ---------- Tipografia ---------- */
.kicker { font: 500 13px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.h2 { font: 500 clamp(36px, 5vw, 64px)/1.04 var(--display); letter-spacing: -.035em; }
.big { font: 400 clamp(30px, 4.2vw, 56px)/1.15 var(--display); letter-spacing: -.03em; max-width: 22ch; }
.giant { font: 500 clamp(52px, 9vw, 128px)/.95 var(--display); letter-spacing: -.05em; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.head-note { color: var(--muted); max-width: 34ch; }
.center-head { text-align: center; margin-bottom: 56px; }
.center-head .kicker { justify-content: center; }
.center-head .head-note { margin: 18px auto 0; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font: 500 15px/1 var(--body); border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .25s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn.sm { padding: 11px 18px; font-size: 14px; }
.btn.lg { padding: 18px 28px; font-size: 16px; }
.btn.full { width: 100%; }
.btn-orange { background: var(--orange); color: #120a05; }
.btn-orange:hover { background: var(--orange-2); box-shadow: 0 10px 40px -10px rgba(244, 112, 48, .6); }
.btn-ghost { border-color: var(--line-2); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--text); background: rgba(255,255,255,.06); }
.arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Navegação ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(10, 10, 10, .72); backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.nav-in { height: 72px; display: flex; align-items: center; gap: 32px; }
.logo img { height: 26px; width: auto; }
.links { display: flex; gap: 30px; margin: 0 auto; }
.links a { font-size: 15px; color: var(--muted); transition: color .2s; }
.links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang { background: none; border: 1px solid var(--line-2); border-radius: 999px; width: 42px; height: 38px; font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .2s; }
.lang:hover { border-color: var(--text); }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 50%; background: none; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger i { display: block; width: 16px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease); }
.menu-open .burger i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-open .burger i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Topo ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero::before { content: ""; position: absolute; left: 50%; bottom: -55vh; width: 120vw; height: 90vh; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(244, 112, 48, .22), rgba(244, 112, 48, .05) 60%, transparent); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px; mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 70%); opacity: .45; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); padding: 8px 16px 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.02); margin-bottom: 30px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(244,112,48,.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(244,112,48,0); } }
.hero-title { font: 500 clamp(64px, 10.5vw, 158px)/.9 var(--display); letter-spacing: -.06em; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero-title .ln:nth-child(2) > span { transition-delay: .12s; }
.ready .hero-title .ln > span { transform: none; }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 33em; margin: 30px 0 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 34px; font-size: 14px; color: var(--muted); }
.hero-points li::before { content: "✓"; color: var(--orange); margin-right: 8px; }
.up { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.ready .up { opacity: 1; transform: none; }
.d2 { transition-delay: .25s; } .d3 { transition-delay: .4s; } .d4 { transition-delay: .55s; }

/* Telemóvel */
.phone-wrap { position: relative; justify-self: center; }
.phone { width: 320px; height: 620px; border-radius: 46px; background: #0d0d0d; border: 1px solid var(--line-2); padding: 14px; position: relative; display: flex; flex-direction: column;
  box-shadow: 0 0 0 8px #151515, 0 0 0 9px var(--line-2), 0 60px 120px -30px rgba(0,0,0,.8), 0 30px 120px -40px rgba(244,112,48,.35); }
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; background: #000; border-radius: 20px; z-index: 2; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 44px 10px 14px; border-bottom: 1px solid var(--line); }
.chat-head b { display: block; font-size: 15px; font-weight: 600; }
.chat-head small { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.online { width: 7px; height: 7px; border-radius: 50%; background: #3ccf6e; display: inline-block; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: #120a05; display: grid; place-items: center; font-size: 17px; }
.chat { flex: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px 6px; -webkit-mask-image: linear-gradient(transparent, #000 70px); mask-image: linear-gradient(transparent, #000 70px); }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.45; animation: pop .45s var(--ease) both; }
.msg.in { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 6px; }
.msg.out { align-self: flex-end; background: var(--orange); color: #160b04; border-bottom-right-radius: 6px; }
.msg small { display: block; font-size: 10px; opacity: .6; margin-top: 3px; text-align: right; }
.typing { align-self: flex-start; background: var(--surface-2); padding: 12px 16px; border-radius: 18px; border-bottom-left-radius: 6px; display: flex; gap: 4px; animation: pop .3s var(--ease) both; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.chat-input { margin: 4px 4px 6px; padding: 12px 16px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; }
.chat-input i { font-style: normal; color: var(--orange); }
.float-card { position: absolute; background: rgba(20, 20, 20, .85); backdrop-filter: blur(12px); border: 1px solid var(--line-2); border-radius: 16px; padding: 12px 16px; font-size: 13px; color: var(--muted); display: flex; flex-direction: column; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); animation: float 6s ease-in-out infinite; }
.float-card b { font: 500 22px/1.1 var(--display); color: var(--text); }
.fc1 { left: -150px; top: 70px; }
.fc2 { right: -130px; bottom: 40px; animation-delay: -3s; }
.fc2 b { color: var(--orange); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Faixa ---------- */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: run 40s linear infinite; }
.marquee-track span { font: 400 clamp(22px, 2.6vw, 34px)/1 var(--display); letter-spacing: -.02em; color: var(--muted); padding: 0 28px; white-space: nowrap; }
.marquee-track span.sep { color: var(--orange); padding: 0; }
@keyframes run { to { transform: translateX(-50%); } }

/* ---------- Secções ---------- */
.section { padding: clamp(90px, 12vw, 160px) 0; }
.problem .big { margin-bottom: 70px; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pain { background: var(--bg); padding: 36px 32px 40px; transition: background .3s; }
.pain:hover { background: var(--surface); }
.pain-n { font: 500 14px/1 var(--display); color: var(--orange); }
.pain h3 { font: 500 22px/1.25 var(--display); letter-spacing: -.02em; margin: 40px 0 12px; }
.pain p { color: var(--muted); font-size: 16px; }

/* Serviços */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 36px; overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(244,112,48,.10), transparent 40%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.card-i { font: 500 14px/1 var(--display); color: var(--muted); }
.tag { display: inline-block; font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); }
.tag-o { border-color: rgba(244,112,48,.45); color: var(--orange); background: rgba(244,112,48,.08); }
.card h3 { font: 500 clamp(24px, 2.4vw, 32px)/1.15 var(--display); letter-spacing: -.03em; margin-bottom: 14px; }
.card p { color: var(--muted); }
.card-small h3 { font-size: 22px; margin: 20px 0 10px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: rgba(244,112,48,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f47030' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.mini-browser { margin-top: 32px; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #0e0e0e; }
.mb-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.mb-bar i { width: 8px; height: 8px; border-radius: 50%; background: #2a2a2a; }
.mb-bar span { margin-left: 10px; }
.mb-body { padding: 18px; display: grid; gap: 10px; }
.mb-line { height: 10px; border-radius: 6px; background: #232323; }
.w60 { width: 60%; } .w40 { width: 40%; }
.mb-btn { width: 110px; height: 26px; border-radius: 999px; background: var(--orange); opacity: .9; }
.mb-search { margin-top: 6px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: #1b1b1b; font-size: 13px; color: var(--muted); }
.mb-search b { margin-left: auto; color: var(--orange); font-weight: 600; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.langs span { font-size: 14px; padding: 9px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); animation: float 5s ease-in-out infinite; }
.langs span:nth-child(2) { animation-delay: -1.2s; } .langs span:nth-child(3) { animation-delay: -2.4s; } .langs span:nth-child(4) { animation-delay: -3.6s; }

/* Trabalho */
.case { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.case-meta { color: var(--orange); font-size: 14px; margin: 12px 0 24px; }
.case-text > p:not(.case-meta) { color: var(--muted); }
.case-list { list-style: none; padding: 0; margin: 30px 0 34px; border-top: 1px solid var(--line); }
.case-list li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.case-list span { color: var(--muted); text-align: right; }
.case-visual { position: relative; padding-bottom: 60px; }
.browser { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #111; box-shadow: 0 50px 100px -40px rgba(0,0,0,.9); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transition: transform .8s var(--ease); }
.case:hover .browser { transform: perspective(1600px) rotateY(0) rotateX(0); }
.b-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.b-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c2c2c; }
.b-bar span { margin: 0 auto; padding: 4px 14px; border-radius: 8px; background: #1b1b1b; }
.case-phone { position: absolute; right: -10px; bottom: 0; width: 26%; border-radius: 22px; overflow: hidden; border: 6px solid #161616; box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -20px rgba(0,0,0,.9); }

/* Processo */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 32px 28px 36px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.step-n { font: 500 56px/1 var(--display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(244,112,48,.6); }
.step h3 { font: 500 21px/1.25 var(--display); letter-spacing: -.02em; margin: 36px 0 10px; }
.step p { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa button { width: 100%; background: none; border: 0; text-align: left; padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; cursor: pointer; font: 500 18px/1.4 var(--display); letter-spacing: -.01em; }
.qa button i { font-style: normal; flex: 0 0 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .35s var(--ease), background .3s; }
.qa.open button i { transform: rotate(45deg); background: var(--orange); color: #120a05; border-color: var(--orange); }
.qa .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.qa.open .ans { grid-template-rows: 1fr; }
.qa .ans > div { overflow: hidden; }
.qa .ans p { color: var(--muted); padding: 0 48px 24px 0; }

/* Contacto */
.contact { position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: -20vw; top: 10%; width: 70vw; height: 70vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(244,112,48,.14), transparent); pointer-events: none; }
.contact-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.contact-text p { color: var(--muted); font-size: 19px; max-width: 30em; margin: 28px 0 32px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: grid; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.form input, .form select, .form textarea { font: 400 16px var(--body); color: var(--text); background: #0d0d0d; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; resize: vertical; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(244,112,48,.15); }
.form-err { color: var(--orange-2); font-size: 14px; min-height: 1px; }

/* Rodapé */
.footer { border-top: 1px solid var(--line); padding: 50px 0; }
.foot-in { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.foot-logo { height: 22px; width: auto; }
.foot-slogan { font: 400 18px/1 var(--display); }
.foot-small { margin-left: auto; color: var(--muted); font-size: 14px; }

/* ---------- Aparecer ao rodar ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.vis { opacity: 1; transform: none; }

/* ---------- Ecrãs mais pequenos ---------- */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; }
  .phone-wrap { margin-top: 20px; }
  .fc1 { left: -130px; } .fc2 { right: -110px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .case, .faq-grid, .contact-in { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .links { position: fixed; inset: 72px 0 auto; flex-direction: column; gap: 0; background: rgba(10,10,10,.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); padding: 10px 24px 24px; transform: translateY(-120%); transition: transform .45s var(--ease); z-index: -1; }
  .links a { font: 400 26px/1 var(--display); color: var(--text); padding: 18px 0; border-bottom: 1px solid var(--line); }
  .menu-open .links { transform: none; }
  .menu-open .nav { background: rgba(10,10,10,.97); }
  .burger { display: flex; }
  .nav-right .btn { display: none; }
  .bento, .pain-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  body { font-size: 16px; }
  .hero { padding-top: 110px; }
  .hero-title { font-size: 21vw; }
  .hero-cta .btn { width: 100%; }
  .phone { width: 290px; height: 560px; }
  .float-card { display: none; }
  .steps { grid-template-columns: 1fr; }
  .card, .form { padding: 26px 22px; }
  .case-phone { width: 32%; right: 0; }
  .case-list li { flex-direction: column; gap: 2px; }
  .case-list span { text-align: left; }
  .foot-small { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .up { opacity: 1; transform: none; }
  .hero-title .ln > span { transform: none; }
}
