/* Site da Aty — paleta da marca: azul-marinho, menta e creme; coral para "ao vivo"; âmbar reservado. */
:root {
  --night: #000124;
  --bg: #01022f;
  --panel: #060842;
  --surface: #0c0f4a;
  --surface-2: #151958;
  --line: rgba(253, 249, 242, 0.08);
  --line-strong: rgba(253, 249, 242, 0.16);
  --text: #fdf9f2;
  --muted: #b3b6d6;
  --faint: #8a8eba;
  --brand: #06fbc3;
  --brand-ink: #01022f;
  --live: #ff6a4d;
  --ember: #f4a940;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--brand); color: var(--brand-ink); padding: 8px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 14px; border: 1px solid transparent;
  font: 700 15px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; border-radius: 16px; }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 10px 30px -8px rgba(6, 251, 195, .55); }
.btn-primary:hover { box-shadow: 0 16px 40px -8px rgba(6, 251, 195, .75); }
.btn-ghost { background: rgba(253, 249, 242, .06); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(253, 249, 242, .12); }

/* ---------- Faixa de aviso e menu ---------- */
.announce {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px;
  padding: 10px 16px; font-size: 14px; color: var(--brand-ink); background: var(--brand); text-align: center; font-weight: 500;
}
.announce a { font-weight: 700; }
.announce-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-ink); animation: pulse 1.8s infinite; }
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(1, 2, 47, .72); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand img { width: 104px; height: auto; }
.nav-links { display: flex; gap: 26px; margin-left: 16px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang {
  height: 40px; border-radius: 12px; background: rgba(253, 249, 242, .06); color: var(--text);
  border: 1px solid var(--line-strong); padding: 0 10px; font: 600 14px var(--body); cursor: pointer;
}
.lang option { background: var(--panel); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 80px 0 110px; overflow: hidden;
  background:
    radial-gradient(60% 60% at 80% 20%, rgba(6, 251, 195, .18), transparent 60%),
    radial-gradient(50% 50% at 10% 90%, rgba(255, 106, 77, .14), transparent 60%),
    linear-gradient(180deg, #06094a 0%, var(--bg) 100%);
}
.stars { position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(2px 2px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 32% 72%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 58% 12%, #06fbc3 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 64%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 90% 30%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 45% 40%, #ff8a6a 50%, transparent 51%),
    radial-gradient(2px 2px at 6% 60%, #06fbc3 50%, transparent 51%);
  animation: twinkle 6s ease-in-out infinite alternate;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255, 106, 77, .6); animation: ring 1.8s infinite; }
.hero h1 { font-size: clamp(44px, 6.4vw, 82px); font-weight: 800; margin: 18px 0 20px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--muted); font-size: 15px; }
.hero-points li::before { content: '✓'; color: var(--brand); font-weight: 800; margin-right: 8px; }

.hero-art { position: relative; }
.hero-frame {
  border-radius: 32px; overflow: hidden; border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px -30px rgba(6, 251, 195, .35), 0 30px 60px -20px rgba(0, 0, 0, .6);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.chip {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: rgba(6, 8, 66, .82); backdrop-filter: blur(12px); border: 1px solid var(--line-strong);
  border-radius: 18px; box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .7); font-size: 14px; line-height: 1.25;
}
.chip strong { display: block; font-size: 15px; }
.chip small { color: var(--muted); font-size: 12.5px; }
.chip-live { left: -26px; top: 12%; }
.chip-react { right: -10px; top: 46%; font-size: 18px; gap: 6px; }
.chip-react b { font: 700 13px var(--body); color: var(--muted); margin-right: 6px; }
.chip-voice { left: 8%; bottom: -26px; }
.live { background: var(--live); color: #1a0a06; font: 800 11px/1 var(--body); letter-spacing: .08em; padding: 6px 8px; border-radius: 8px; }
.avatars { display: flex; }
.avatars i {
  width: 30px; height: 30px; border-radius: 50%; background: var(--c); color: var(--brand-ink);
  display: inline-flex; align-items: center; justify-content: center; font: 800 10px var(--body); font-style: normal;
  border: 2px solid var(--panel); margin-left: -8px;
}
.avatars i:first-child { margin-left: 0; box-shadow: 0 0 0 2px var(--brand); }

/* ---------- Faixa ---------- */
.strip { border-block: 1px solid var(--line); background: var(--night); }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px; padding: 22px 0; font: 700 clamp(15px, 1.6vw, 19px) var(--display); color: var(--muted); }
.strip-inner i { color: var(--brand); font-style: normal; }

/* ---------- Seções ---------- */
section { position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.section-head h2 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 800; }
.features { padding: 120px 0 60px; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; margin-bottom: 110px; }
.feature-flip .feature-art { order: 2; }
.feature-art {
  position: relative; aspect-ratio: 1 / 0.86; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(70% 70% at 50% 40%, rgba(6, 251, 195, .22), transparent 70%), linear-gradient(160deg, var(--surface-2), var(--panel));
  border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center;
}
.feature-art img { width: 78%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); animation: bob 6s ease-in-out infinite; }
.feature-flip .feature-art { background: radial-gradient(70% 70% at 50% 40%, rgba(255, 106, 77, .2), transparent 70%), linear-gradient(160deg, var(--surface-2), var(--panel)); }
.tag { display: inline-block; font: 700 13px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); background: rgba(6, 251, 195, .1); border: 1px solid rgba(6, 251, 195, .25); padding: 6px 12px; border-radius: 999px; }
.feature-copy h3 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; margin: 18px 0 16px; }
.feature-copy p { color: var(--muted); font-size: 18px; max-width: 30em; }

.mini { position: absolute; background: rgba(6, 8, 66, .88); backdrop-filter: blur(10px); border: 1px solid var(--line-strong); border-radius: 16px; padding: 12px 14px; box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .7); }
.mini-watch { left: 18px; bottom: 18px; right: 18px; display: flex; flex-direction: column; gap: 10px; }
.mini-player { display: flex; align-items: center; gap: 10px; }
.mini-play { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.mini-bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(253, 249, 242, .12); }
.mini-bar i { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.mini-row { display: flex; align-items: center; }
.mini-row i { width: 24px; height: 24px; border-radius: 50%; background: var(--c); border: 2px solid var(--panel); margin-left: -6px; }
.mini-row i:first-child { margin-left: 0; }
.mini-row span { margin-left: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.mini-stream { top: 18px; right: 18px; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.mini-stream small { color: var(--brand); font-weight: 700; }
.mini-voice { top: 18px; left: 18px; display: flex; align-items: center; gap: 10px; }
.mini-voice > span { font: 800 12px var(--body); background: var(--brand); color: var(--brand-ink); padding: 4px 7px; border-radius: 7px; }
.wave { display: flex; align-items: center; gap: 3px; height: 26px; }
.wave i { width: 4px; border-radius: 4px; background: var(--brand); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(1) { height: 30%; animation-delay: -.9s; }
.wave i:nth-child(2) { height: 70%; animation-delay: -.7s; }
.wave i:nth-child(3) { height: 100%; animation-delay: -.5s; }
.wave i:nth-child(4) { height: 55%; animation-delay: -.3s; }
.wave i:nth-child(5) { height: 85%; animation-delay: -.1s; }
.wave i:nth-child(6) { height: 45%; animation-delay: -.6s; }
.wave i:nth-child(7) { height: 25%; animation-delay: -.2s; }

/* ---------- História ---------- */
.story { padding: 40px 0 120px; }
.story-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: stretch; overflow: hidden;
  border-radius: 36px; border: 1px solid var(--line-strong);
  background: radial-gradient(80% 90% at 0% 0%, rgba(6, 251, 195, .16), transparent 60%), var(--panel);
}
.story-copy { padding: 64px 56px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.story-copy h2 { font-size: clamp(32px, 3.8vw, 50px); font-weight: 800; }
.story-copy h2 em { font-style: normal; color: var(--brand); }
.story-copy p { color: var(--muted); font-size: 18px; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.langs span { padding: 8px 14px; border-radius: 999px; background: rgba(253, 249, 242, .06); border: 1px solid var(--line-strong); font-weight: 600; font-size: 14px; }
.langs .soon { color: var(--brand); border-style: dashed; }
.story-art img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- FAQ ---------- */
.faq { padding: 40px 0 120px; }
.faq-inner { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
details { background: var(--panel); border: 1px solid var(--line-strong); border-radius: 20px; padding: 4px 24px; }
summary { list-style: none; cursor: pointer; padding: 20px 0; font: 700 19px var(--display); display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--brand); font-size: 26px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 0 22px; }

/* ---------- CTA final ---------- */
.join { padding: 0 0 120px; }
.join-card {
  text-align: center; padding: 72px 32px; border-radius: 40px; overflow: hidden; position: relative;
  background: radial-gradient(70% 90% at 50% 0%, rgba(6, 251, 195, .3), transparent 70%), linear-gradient(160deg, #0a1a5c, var(--panel));
  border: 1px solid rgba(6, 251, 195, .3);
}
.join-card h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; }
.join-card > p { color: var(--muted); font-size: 19px; margin: 16px auto 32px; max-width: 32em; }
.join-form { display: flex; flex-direction: column; gap: 18px; align-items: center; max-width: 640px; margin: 0 auto; }
.join-fields { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: left; }
.jf { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 14px; color: var(--muted); }
.jf small { color: var(--faint); font-weight: 500; }
.jf-wide { grid-column: 1 / -1; }
.join-form .btn { min-width: 240px; }
.join-form input {
  width: 100%; height: 56px; border-radius: 16px; border: 1px solid var(--line-strong); background: rgba(1, 2, 47, .6);
  color: var(--text); padding: 0 18px; font: 500 16px var(--body);
}
.join-form input::placeholder { color: var(--faint); }
.join-msg { margin-top: 16px; min-height: 1.6em; font-weight: 600; }
.join-msg.ok { color: var(--brand); }
.join-msg.err { color: #ff9a8a; }

/* ---------- Rodapé ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; background: var(--night); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 16px; color: var(--muted); }
.footer-copy { color: var(--faint); font-size: 14px; }
.footer-by { display: flex; align-items: center; gap: 14px; color: var(--faint); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.footer-by img { width: 104px; height: auto; opacity: .92; }

/* ---------- Animações ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.float-a { animation: bob 6s ease-in-out infinite; }
.float-b { animation: bob 7s ease-in-out infinite -2s; }
.float-c { animation: bob 6.5s ease-in-out infinite -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes ring { 70% { box-shadow: 0 0 0 10px rgba(255, 106, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 106, 77, 0); } }
@keyframes twinkle { to { opacity: .25; } }
@keyframes wave { 50% { transform: scaleY(.35); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { padding: 48px 0 90px; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-frame { transform: none; }
  .chip-live { left: -6px; }
  .chip-react { right: -6px; }
  .feature { grid-template-columns: 1fr; gap: 32px; margin-bottom: 80px; }
  .feature-flip .feature-art { order: 0; }
  .story-card { grid-template-columns: 1fr; }
  .story-copy { padding: 40px 28px; }
  .story-art { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav-inner { gap: 12px; }
  .brand img { width: 88px; }
  .chip { padding: 10px 12px; }
  .chip-voice { left: 4px; right: 4px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .join-card { padding: 48px 20px; border-radius: 28px; }
  .join-fields { grid-template-columns: 1fr; }
  .join-form .btn { width: 100%; }
}
