/* Thallavie Tech — site institucional
   Identidade: navy profundo + gradiente ciano -> verde (árvore tech). */

:root {
  --bg: #04101d;
  --bg-2: #071b30;
  --panel: rgba(11, 33, 54, 0.62);
  --panel-solid: #0a2036;
  --line: rgba(96, 186, 226, 0.18);
  --line-strong: rgba(120, 205, 240, 0.34);
  --text: #e8f3fb;
  --muted: #9db6ca;
  --muted-2: #6f8ba3;
  --cyan: #26c6da;
  --blue: #2f9bff;
  --green: #42d392;
  --violet: #a259ff;
  --grad: linear-gradient(120deg, #2f9bff 0%, #26c6da 45%, #42d392 100%);
  --grad-soft: linear-gradient(120deg, rgba(47,155,255,.16), rgba(38,198,218,.14), rgba(66,211,146,.14));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px rgba(1, 8, 18, 0.55);
  --maxw: 1140px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -12%;
  z-index: -2;
  background:
    radial-gradient(42% 38% at 16% 6%, rgba(38, 198, 218, 0.22), transparent 62%),
    radial-gradient(42% 38% at 88% 10%, rgba(66, 211, 146, 0.17), transparent 62%),
    radial-gradient(52% 44% at 74% 94%, rgba(47, 155, 255, 0.20), transparent 64%),
    radial-gradient(40% 34% at 6% 82%, rgba(162, 89, 255, 0.12), transparent 66%),
    linear-gradient(180deg, #04101d 0%, #051426 50%, #06182b 100%);
  background-size: 130% 130%;
  animation: aurora 48s ease-in-out infinite alternate;
}
@keyframes aurora { 0% { background-position: 0% 0%; } 100% { background-position: 42% 36%; } }

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(120, 200, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 200, 235, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(4, 16, 29, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 14px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand img { height: 42px; width: auto; border-radius: 9px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-txt strong { font-size: 16px; letter-spacing: 0.14em; font-weight: 700; }
.brand-txt span { font-size: 10.5px; letter-spacing: 0.34em; color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 13px; border-radius: 10px; font-size: 14.5px; color: var(--muted);
  transition: color .18s ease, background .18s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(120, 200, 235, 0.09); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: var(--grad); color: #03121f !important; font-weight: 700; font-size: 14px;
  box-shadow: 0 10px 26px rgba(38, 198, 218, 0.28);
}
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--text);
  width: 42px; height: 40px; border-radius: 10px; font-size: 20px; cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #03121f; box-shadow: 0 14px 34px rgba(38, 198, 218, 0.30); }
.btn-ghost { background: rgba(120, 200, 235, 0.07); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(120, 200, 235, 0.14); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 66px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 54px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(120, 200, 235, 0.06);
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }
.hero p.lead { margin-top: 20px; font-size: 1.12rem; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; }
.stat b { display: block; font-size: 1.55rem; font-weight: 800; }
.stat span { font-size: 12.5px; color: var(--muted-2); letter-spacing: 0.02em; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual::before {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 198, 218, 0.35), transparent 65%);
  filter: blur(28px); animation: pulse 6s ease-in-out infinite;
}
.hero-visual img {
  position: relative; width: 100%; max-width: 380px; border-radius: 26px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
@keyframes pulse { 0%,100% { opacity: .55; transform: scale(.94); } 50% { opacity: .95; transform: scale(1.04); } }

/* ---------- Sections ---------- */
section { padding: 78px 0; }

/* As seções fluem sobre o fundo contínuo (aurora), sem faixas/blocos */
main > section { position: relative; }
main > section + section::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(960px, 90%); height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(120, 205, 240, 0.22), rgba(66, 211, 146, 0.22), transparent);
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none !important; }
}
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em; }
.section-head p { margin-top: 13px; color: var(--muted); font-size: 1.03rem; }
.kicker { display: inline-block; font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; font-weight: 600; }
.kicker::after { content: ""; display: block; width: 30px; height: 2px; margin-top: 9px; border-radius: 2px; background: var(--grad); }

/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  position: relative; border-radius: 22px;
  border: 1px solid rgba(120, 180, 220, 0.12);
  background: linear-gradient(180deg, rgba(19, 46, 72, 0.55), rgba(8, 23, 39, 0.42));
  backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 16px 40px rgba(1, 8, 18, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform .28s cubic-bezier(.2, .7, .3, 1), border-color .28s ease, box-shadow .28s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--accent, var(--grad));
  opacity: .6;
}
.card:hover {
  transform: translateY(-6px); border-color: rgba(120, 205, 240, 0.28);
  box-shadow: 0 26px 60px rgba(1, 8, 18, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.card-top { display: flex; align-items: center; gap: 16px; padding: 24px 24px 0; }
.card-logo {
  width: 76px; height: 76px; flex: none; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(120, 180, 220, 0.12); padding: 9px;
}
.card-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.card-logo img.wide { width: 100%; max-height: none; }
.card-head h3 { font-size: 1.28rem; font-weight: 800; }
.card-head .tag { font-size: 12px; color: var(--accent, var(--cyan)); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.card-body { padding: 16px 24px 0; color: var(--muted); font-size: 0.97rem; flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 16px 24px 0; }
.chip {
  font-size: 11.5px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(120, 180, 220, 0.12);
  color: var(--muted); background: rgba(120, 200, 235, 0.04);
}
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 20px 24px 24px; align-items: center; }
.mini-link { font-size: 13.5px; color: var(--muted); border-bottom: 1px dashed var(--line-strong); padding-bottom: 1px; }
.mini-link:hover { color: var(--text); }
.badge-soon {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; color: #04101d; background: var(--grad-soft);
  border: 1px solid var(--line-strong); color: #d5f2ff;
}
.badge-soon .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

/* product accent classes */
.p-aquariapp { --accent: linear-gradient(120deg,#2f9bff,#38c6ff); }
.p-aquaid { --accent: linear-gradient(120deg,#8b3ffb,#c07bff); }
.p-tpa { --accent: linear-gradient(120deg,#2f6fe0,#4fd07a); }
.p-totem { --accent: linear-gradient(120deg,#39d98a,#8ff0b4); }

/* ---------- Play strip ---------- */
.play-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px; justify-content: space-between;
  padding: 28px 34px; border-radius: 22px; border: 1px solid rgba(120, 180, 220, 0.14);
  background: linear-gradient(120deg, rgba(47,155,255,.10), rgba(66,211,146,.08));
  box-shadow: 0 16px 40px rgba(1, 8, 18, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.play-strip .txt strong { font-size: 1.1rem; }
.play-strip .txt p { color: var(--muted); font-size: .95rem; margin-top: 4px; }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.feature { padding-top: 22px; border-top: 1px solid var(--line); }
.feature .ic {
  width: auto; height: auto; display: inline-block; margin-bottom: 14px; font-size: 27px;
  background: none; border: 0; border-radius: 0;
}
.feature h3 { font-size: 1.06rem; font-weight: 700; margin-bottom: 7px; }
.feature p { color: var(--muted); font-size: .94rem; }

/* ---------- Split (about) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { border-radius: 24px; border: 1px solid rgba(120, 180, 220, 0.12); box-shadow: 0 24px 60px rgba(1, 8, 18, 0.5); }
.tick { list-style: none; display: grid; gap: 13px; margin-top: 22px; }
.tick li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .98rem; }
.tick li b { color: var(--text); font-weight: 600; }
.tick .ok {
  flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--line-strong); color: var(--green); font-size: 12px; margin-top: 2px;
}

/* ---------- Contact / footer ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.contact-card { padding-top: 20px; border-top: 1px solid var(--line); }
.contact-card h4 { font-size: .95rem; margin-bottom: 6px; }
.contact-card a, .contact-card p { color: var(--muted); font-size: .92rem; word-break: break-word; }
.contact-card a:hover { color: var(--cyan); }

.site-footer {
  position: relative;
  margin-top: 48px;
  padding: 58px 0 36px;
  background:
    radial-gradient(760px 340px at 50% 0%, rgba(38, 198, 218, 0.13), transparent 70%),
    radial-gradient(700px 420px at 88% 120%, rgba(66, 211, 146, 0.10), transparent 70%),
    linear-gradient(180deg, rgba(3, 12, 22, 0.32), rgba(3, 12, 22, 0.88));
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); opacity: 0.9;
}
.footer-c { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.footer-c .f-logo {
  height: 108px; width: auto; border-radius: 16px; padding: 8px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
}
.footer-c .f-tag { color: var(--muted); font-size: .96rem; max-width: 540px; }
.f-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.f-nav a { color: var(--muted); font-size: .93rem; transition: color .18s ease; }
.f-nav a:hover { color: var(--text); }
.f-divider { width: 100%; max-width: 560px; height: 1px; margin: 6px 0;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.f-contact { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 18px; color: var(--muted); font-size: .9rem; }
.f-contact a { color: var(--muted); transition: color .18s ease; }
.f-contact a:hover { color: var(--cyan); }
.f-legal { color: var(--muted-2); font-size: .85rem; }
.f-legal strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.f-note { color: var(--muted-2); font-size: .78rem; max-width: 620px; }

/* ---------- Legal / prose ---------- */
.page-head { padding: 66px 0 26px; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -0.01em; }
.page-head p { color: var(--muted); margin-top: 14px; max-width: 720px; }
.prose { max-width: 800px; margin-inline: auto; padding-bottom: 40px; }
.prose h2 { font-size: 1.2rem; margin: 34px 0 10px; color: var(--text); }
.prose h3 { font-size: 1.02rem; margin: 22px 0 8px; }
.prose p, .prose li { color: var(--muted); font-size: .97rem; margin-bottom: 10px; }
.prose ul { padding-left: 22px; margin-bottom: 12px; }
.prose a { color: var(--cyan); border-bottom: 1px solid rgba(38,198,218,.4); }
.prose a:hover { color: #7ee7f5; }
.prose .box {
  margin: 22px 0; padding: 18px 22px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--panel);
}
.prose .box strong { color: var(--text); }
.updated { font-size: .85rem; color: var(--muted-2); margin-top: 6px; }
.crumbs { font-size: .85rem; color: var(--muted-2); padding-top: 26px; }
.crumbs a:hover { color: var(--text); }

.priv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 10px; }
.priv-card { position: relative; overflow: hidden; padding: 24px; border-radius: 18px; border: 1px solid rgba(120, 180, 220, 0.12); background: linear-gradient(180deg, rgba(19, 46, 72, 0.5), rgba(8, 23, 39, 0.4)); transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.priv-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--accent, var(--grad)); opacity: .7; }
.priv-card:hover { border-color: rgba(120, 205, 240, 0.28); transform: translateY(-4px); box-shadow: 0 22px 50px rgba(1, 8, 18, 0.45); }
.priv-card h3 { font-size: 1.05rem; }
.priv-card p { color: var(--muted); font-size: .92rem; margin: 8px 0 14px; }
.priv-card .go { font-size: .9rem; color: var(--cyan); font-weight: 600; }
.priv-card .tag { font-size: 11px; color: var(--muted-2); letter-spacing: .08em; text-transform: uppercase; }

.notice {
  margin-top: 22px; padding: 16px 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: rgba(120,200,235,.05); color: var(--muted); font-size: .9rem;
}

.prod-hero { display: grid; grid-template-columns: 200px 1fr; gap: 34px; align-items: center; padding: 64px 0 10px; }
.prod-hero .plogo {
  border-radius: 24px; border: 1px solid rgba(120, 180, 220, 0.12);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  padding: 22px; display: grid; place-items: center; min-height: 180px;
  box-shadow: 0 16px 40px rgba(1, 8, 18, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.prod-hero .plogo img { max-height: 140px; object-fit: contain; }
.prod-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; }
.prod-hero .tag { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent, var(--cyan)); font-weight: 700; }
.prod-hero p { color: var(--muted); margin-top: 14px; max-width: 640px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 300px; }
  .products, .features, .priv-grid, .contact-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .footer-c .f-logo { height: 92px; }
  .prod-hero { grid-template-columns: 1fr; }
  .prod-hero .plogo { min-height: 150px; max-width: 220px; }
}
@media (max-width: 720px) {
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: rgba(4, 16, 29, 0.98); border-bottom: 1px solid var(--line); padding: 12px 18px 18px;
    gap: 4px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-cta { display: none; }
  .footer-c .f-logo { height: 82px; }
  .f-nav { gap: 8px 14px; }
  section { padding: 44px 0; }
}
