/* ════════════════════════════════════════════════════════════════
   RENATO V. BASTOS — AI Builder Landing Page
   main.css
════════════════════════════════════════════════════════════════ */

/* ── Tokens ───────────────────────────────────────────────────── */
:root {
  --bg:           #050505;
  --surface:      #0A0A0A;
  --surface2:     #111111;
  --border:       rgba(255,255,255,0.06);
  --border-hi:    rgba(255,255,255,0.12);
  --orange:       #f97316;
  --orange-lt:    #fb923c;
  --orange-glow:  rgba(249,115,22,0.4);
  --orange-dim:   rgba(249,115,22,0.08);
  --text:         #ffffff;
  --text-muted:   #a3a3a3;
  --text-dim:     #525252;
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --font-body:    'Inter', sans-serif;
  --radius-card:  20px;
  --radius-pill:  100px;
}

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* sem isso, body overflow-x:hidden não funciona em mobile */
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
  width: 100%;
}

/* ── Scrollbar ────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 2px; }

/* ════════════════════════════════════════════════════════════════
   BACKGROUND LAYERS
════════════════════════════════════════════════════════════════ */
.bg-fixed {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  width: 100%; height: 100%;
}
.bg-stars {
  background-image:
    radial-gradient(1px 1px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 40px 70px, #fff, transparent),
    radial-gradient(1px 1px at 50px 160px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 90px 40px, #fff, transparent),
    radial-gradient(1px 1px at 130px 80px, #fff, transparent),
    radial-gradient(1px 1px at 170px 120px, #fff, transparent),
    radial-gradient(1px 1px at 60px 200px, #fff, transparent);
  background-size: 200px 200px;
  opacity: 0.18;
  width: 100%; height: 100%;
}
.bg-orb-top {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(249,115,22,0.07) 0%, transparent 70%);
  filter: blur(40px);
}
.bg-orb-br {
  position: absolute; bottom: 0; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(249,115,22,0.05) 0%, transparent 70%);
  filter: blur(60px);
}

/* ════════════════════════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(28px); filter:blur(8px); }
  to   { opacity:1; transform:translateY(0);    filter:blur(0); }
}
@keyframes pulseDot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(1.6); }
}
@keyframes float {
  0%,100% { transform:translateY(0); }
  50%      { transform:translateY(-14px); }
}
@keyframes orbit {
  from { transform:rotate(0deg) translateX(130px) rotate(0deg); }
  to   { transform:rotate(360deg) translateX(130px) rotate(-360deg); }
}
@keyframes blink { 50% { opacity:0; } }
@keyframes scanline {
  0%   { transform:translateY(-100%); }
  100% { transform:translateY(100vh); }
}
@keyframes dashFlow {
  from { stroke-dashoffset:0; }
  to   { stroke-dashoffset:-32; }
}

/* Entry helpers */
.anim-entry { animation: fadeUp .85s cubic-bezier(0.2,.8,.2,1) both; }
.d-0   { animation-delay:  0ms; }
.d-100 { animation-delay:100ms; }
.d-200 { animation-delay:200ms; }
.d-300 { animation-delay:300ms; }
.d-400 { animation-delay:400ms; }
.d-500 { animation-delay:500ms; }
.d-700 { animation-delay:700ms; }
.d-900 { animation-delay:900ms; }

/* Scroll-triggered */
.scroll-reveal {
  opacity:0; transform:translateY(28px); filter:blur(4px);
  transition: opacity .7s ease, transform .7s ease, filter .7s ease;
}
.scroll-reveal.visible { opacity:1; transform:translateY(0); filter:blur(0); }

/* ════════════════════════════════════════════════════════════════
   NAV
════════════════════════════════════════════════════════════════ */
.site-nav {
  position: sticky; top:0; z-index:100;
  backdrop-filter: blur(20px);
  background: rgba(5,5,5,.82);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width:1200px; margin:0 auto; padding:0 24px;
  display:flex; align-items:center; justify-content:space-between;
  height:62px;
}
.nav-logo {
  display:flex; align-items:center; gap:10px;
  text-decoration:none; color:var(--text);
}
.nav-logo-icon {
  width:32px; height:32px;
  display:flex; align-items:center; justify-content:center;
  position:relative;
}
.nav-logo-icon::before {
  content:''; position:absolute; inset:0; border-radius:50%;
  background:var(--orange); opacity:.12;
}
.nav-logo-icon svg { color:var(--orange); position:relative; }
.nav-logo-text {
  font-family:var(--font-display);
  font-size:17px; font-weight:300; letter-spacing:.02em;
}
.nav-links {
  display:flex; align-items:center;
  background:rgba(255,255,255,.04);
  border:1px solid var(--border);
  border-radius:var(--radius-pill);
  padding:4px; gap:2px;
}
.nav-links a {
  padding:6px 16px; text-decoration:none;
  font-size:12px; color:var(--text-muted);
  border-radius:var(--radius-pill);
  transition:all .2s; font-family:var(--font-body);
}
.nav-links a:hover { color:var(--text); background:rgba(255,255,255,.06); }
.nav-links a.active { background:rgba(28,28,28,.9); color:var(--text); }
.nav-cta {
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 22px;
  background:linear-gradient(135deg,#fb923c,#f97316,#ea6d00);
  border-radius:var(--radius-pill);
  font-size:13px; font-weight:500; color:#1a0a00;
  text-decoration:none; border:none; cursor:pointer;
  box-shadow:0 0 22px var(--orange-glow);
  transition:all .3s; font-family:var(--font-body);
}
.nav-cta:hover { box-shadow:0 0 40px var(--orange-glow); transform:translateY(-1px); }
@media (max-width:768px) { .nav-links { display:none; } }

/* ════════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════════ */
.hero-section {
  position:relative; z-index:10;
  overflow:hidden;
  min-height:100vh;
}

/* Canvas lives behind everything */
#energyCanvas {
  position:absolute; inset:0;
  width:100%; height:100%;
  z-index:0; pointer-events:none;
}

/* Spline 3D — right side, between canvas and content */
#splineViewer {
  position:absolute;
  top:-12%; right:8%;
  width:46%; height:112%;
  z-index:1;
  opacity:1;
  pointer-events:auto;
  --spline-background: transparent;
}
@media (max-width:900px) {
  #splineViewer { display:none; }
}

/* Robô Spline — mobile only */
.spline-mobile-section {
  display:none;
}
@media (max-width:900px) {
  .spline-mobile-section {
    display:block;
    position:relative;
    width:100%;
    height:110vw;
    max-height:560px;
    overflow:hidden;
    background:var(--bg);
    margin-top:-8px;
  }
  .spline-mobile-section spline-viewer {
    position:absolute;
    top:-5%; left:-20%;
    width:140%;
    height:110%;
  }
}

/* Cobre o badge "Built with Spline" */
.spline-badge-cover {
  position:absolute;
  bottom:0; right:0;
  width:60%; height:87px;
  background:linear-gradient(to top, var(--bg) 70%, transparent);
  z-index:3;
  pointer-events:none;
}
@media (max-width:900px) {
  .spline-badge-cover { display:none; }
}

/* Cover do badge no mobile — div sólido */
.spline-mobile-cover {
  position:absolute;
  bottom:0; left:0; right:0;
  height:52px;
  background:var(--bg);
  z-index:10;
  pointer-events:none;
}
.spline-mobile-cover::before {
  content:'';
  position:absolute;
  top:-32px; left:0; right:0;
  height:32px;
  background:linear-gradient(to top, var(--bg), transparent);
}

.hero-content {
  position:relative; z-index:2;
  pointer-events:none; /* passa mouse events para o Spline abaixo */
  max-width:1200px; margin:0 auto;
  padding:80px 24px 100px;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center; gap:60px;
}
@media (max-width:900px) {
  .hero-content { grid-template-columns:1fr; padding:60px 24px 80px; }
  .hero-right   { display:none; }
}

/* Badge */
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 14px;
  border:1px solid rgba(249,115,22,.25);
  background:rgba(249,115,22,.06);
  border-radius:var(--radius-pill);
  font-size:11px; font-family:var(--font-mono);
  color:var(--orange-lt); letter-spacing:.05em; text-transform:uppercase;
  margin-bottom:28px;
}
.badge-dot {
  width:6px; height:6px; border-radius:50%;
  background:var(--orange);
  animation:pulseDot 2s infinite;
}

/* Headline */
.hero-title {
  font-family:var(--font-display);
  font-size:clamp(52px,6vw,82px);
  font-weight:200; line-height:1.0; letter-spacing:-.02em;
  margin-bottom:24px;
}
.hero-title .accent {
  background:linear-gradient(135deg,#fff 0%,#fb923c 50%,#f97316 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
}
.hero-title .muted { color:var(--text-muted); }

.hero-sub {
  font-size:16px; line-height:1.75; color:var(--text-muted);
  max-width:520px; margin-bottom:40px; font-weight:300;
}

/* Buttons */
.hero-btns { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:60px; pointer-events:auto; }
.btn-primary {
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 28px; border-radius:var(--radius-pill);
  background:linear-gradient(135deg,#fb923c,#f97316,#ea6d00);
  color:#1a0a00; font-weight:600; font-size:15px;
  text-decoration:none; border:none; cursor:pointer;
  box-shadow:0 0 40px var(--orange-glow); transition:all .3s;
  font-family:var(--font-body);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 0 60px rgba(249,115,22,.6); }
.btn-secondary {
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 28px; border-radius:var(--radius-pill);
  background:rgba(255,255,255,.07); border:1px solid var(--border-hi);
  color:var(--text); font-size:15px; text-decoration:none;
  cursor:pointer; transition:all .3s; font-family:var(--font-body);
}
.btn-secondary:hover { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.22); }

/* Stats */
.hero-stats { display:flex; gap:40px; flex-wrap:wrap; }
.stat-val {
  font-family:var(--font-display); font-size:34px; font-weight:300;
  background:linear-gradient(135deg,#fff,var(--orange-lt));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text; display:block;
}
.stat-lbl { font-size:12px; color:var(--text-dim); font-family:var(--font-mono); }

/* ── Hero Right Card ─────────────────────────────────────────── */
.hero-right { display:flex; justify-content:flex-end; align-items:center; position:relative; padding-top:120px; }
.hero-card-wrap { position:relative; width:360px; animation:float 6s ease-in-out infinite; pointer-events:auto; }

/* orbit ring */
.orbit-ring {
  position:absolute; width:300px; height:300px;
  border:1px solid rgba(249,115,22,.1);
  border-radius:50%; top:50%; left:50%;
  transform:translate(-50%,-50%); pointer-events:none;
}
.orbit-dot {
  position:absolute; width:8px; height:8px;
  background:var(--orange); border-radius:50%;
  box-shadow:0 0 12px var(--orange);
  top:-4px; left:50%; transform:translateX(-50%);
  animation:orbit 8s linear infinite;
}
.orbit-dot-2 {
  animation-delay:-4s; width:5px; height:5px;
  background:rgba(249,115,22,.6); box-shadow:0 0 8px rgba(249,115,22,.6);
}

/* card shell */
.hero-card {
  background:rgba(255,255,255,0.04);
  backdrop-filter:blur(24px) saturate(160%);
  -webkit-backdrop-filter:blur(24px) saturate(160%);
  border-radius:28px;
  border:1px solid rgba(255,255,255,0.10);
  padding:2px; position:relative; overflow:hidden;
  box-shadow:0 8px 48px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.08);
}
.hero-card::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(249,115,22,.45),rgba(249,115,22,.08),transparent,rgba(249,115,22,.15));
  border-radius:28px;
}
.hero-card-inner {
  background:rgba(10,10,10,0.38);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border-radius:26px;
  padding:28px; position:relative; z-index:1;
}

/* Profile photo */
.profile-photo {
  width:80px; height:80px; border-radius:50%;
  background:linear-gradient(135deg,#2a1a0a,#1a1a1a);
  border:2px solid rgba(249,115,22,.3);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:16px; overflow:hidden; position:relative; cursor:pointer;
}
.profile-photo img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
.profile-photo-placeholder {
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  width:100%; height:100%; color:var(--orange-lt);
  font-size:10px; text-align:center; font-family:var(--font-mono); gap:4px;
}
.card-name {
  font-family:var(--font-display); font-size:20px; font-weight:300; margin-bottom:4px;
}
.card-role {
  font-size:11px; color:var(--orange-lt); font-family:var(--font-mono);
  text-transform:uppercase; letter-spacing:.1em; margin-bottom:20px;
}
.card-divider {
  height:1px;
  background:linear-gradient(to right,transparent,rgba(249,115,22,.3),transparent);
  margin:16px 0;
}
.card-stats { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:20px; }
.card-stat {
  background:rgba(255,255,255,.03); border:1px solid var(--border);
  border-radius:12px; padding:12px;
}
.card-stat-val { font-family:var(--font-display); font-size:22px; font-weight:300; color:var(--orange-lt); }
.card-stat-lbl { font-size:10px; color:var(--text-dim); margin-top:2px; }
.card-tags { display:flex; gap:6px; flex-wrap:wrap; }
.card-tag {
  display:inline-flex; align-items:center; gap:4px;
  padding:4px 10px;
  background:rgba(249,115,22,.08); border:1px solid rgba(249,115,22,.15);
  border-radius:var(--radius-pill);
  font-size:10px; color:var(--orange-lt); font-family:var(--font-mono);
}

/* ── Hero mobile (DEVE ficar APÓS todo o CSS base do hero) ────── */
@media (max-width:600px) {
  .hero-section {
    overflow: hidden;
    max-width: 100vw;
    width: 100%;
    min-height: unset;
  }

  #energyCanvas { opacity:.20; }

  .hero-content {
    padding: 96px 20px 20px;
    gap: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    grid-template-columns: 1fr;
  }

  .hero-right { display: none; }

  /* min-width:0 impede grid blowout */
  .hero-content > div:first-child {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-badge {
    font-size: 10px;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.06;
    margin-bottom: 18px;
    max-width: 100%;
    word-break: break-word;
  }

  .hero-sub {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 100%;
  }

  .hero-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px;
    max-width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 14px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px 8px;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-stats > div { min-width: 0; overflow: hidden; }
  .stat-val { font-size: 20px; }
  .stat-lbl { font-size: 9px; white-space: normal; line-height: 1.3; }
}

/* Galaxy S8 e telas ≤ 380px */
@media (max-width:380px) {
  .hero-content { padding: 88px 16px 48px; }
  .hero-title   { font-size: 30px; }
  .hero-sub     { font-size: 13px; }
  .btn-primary,
  .btn-secondary { padding: 12px 16px; font-size: 13px; }
  .stat-val      { font-size: 18px; }
}

/* ════════════════════════════════════════════════════════════════
   SECTIONS — shared
════════════════════════════════════════════════════════════════ */
.section {
  position:relative; z-index:10;
  max-width:1200px; margin:0 auto; padding:100px 24px;
}
.section-label {
  font-family:var(--font-mono); font-size:11px; text-transform:uppercase;
  letter-spacing:.1em; color:var(--orange);
  display:flex; align-items:center; gap:10px; margin-bottom:14px;
}
.section-label::before { content:''; flex:0 0 24px; height:1px; background:var(--orange); }
.section-title {
  font-family:var(--font-display);
  font-size:clamp(34px,4vw,56px); font-weight:200;
  line-height:1.1; letter-spacing:-.02em; margin-bottom:14px;
}
.section-sub {
  font-size:16px; color:var(--text-muted); max-width:560px;
  line-height:1.75; font-weight:300; margin-bottom:60px;
}
.divider {
  height:1px; max-width:1200px; margin:0 auto;
  background:linear-gradient(to right,transparent,var(--border),transparent);
  position:relative; z-index:10;
}

/* ════════════════════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════════════════════ */
.about-grid {
  display:grid; grid-template-columns:280px 1fr; gap:60px; align-items:start;
}
@media (max-width:900px) { .about-grid { grid-template-columns:1fr; } }

.about-photo {
  width:100%; aspect-ratio:3/4; border-radius:24px;
  background:linear-gradient(135deg,#1a0e04,#111);
  border:1px solid rgba(249,115,22,.2);
  overflow:hidden; display:flex; align-items:center; justify-content:center;
  position:relative; cursor:pointer;
}
 .about-photo img { width:100%; height:100%; object-fit:cover; }
.about-photo-placeholder {
  display:flex; flex-direction:column; align-items:center; gap:12px;
  color:var(--text-muted); text-align:center; padding:24px;
  font-family:var(--font-mono); font-size:12px;
}
.about-photo-placeholder .icon-ring {
  width:80px; height:80px; border-radius:50%;
  background:rgba(249,115,22,.1);
  border:2px dashed rgba(249,115,22,.3);
  display:flex; align-items:center; justify-content:center;
  color:var(--orange);
}
.scan-overlay { position:absolute; inset:0; pointer-events:none; z-index:5; overflow:hidden; border-radius:24px; }
.scan-line {
  position:absolute; left:0; right:0; height:2px;
  background:linear-gradient(to right,transparent,rgba(249,115,22,.4),transparent);
  animation:scanline 4s linear infinite;
}
.about-name { font-family:var(--font-display); font-size:44px; font-weight:200; letter-spacing:-.02em; margin-bottom:4px; }
.about-role { font-family:var(--font-mono); font-size:13px; color:var(--orange); text-transform:uppercase; letter-spacing:.1em; margin-bottom:24px; }
.about-bio  { font-size:16px; color:var(--text-muted); line-height:1.8; font-weight:300; margin-bottom:32px; }
.highlights { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:32px; }
@media (max-width:500px) { .highlights { grid-template-columns:1fr; } }
.hl-item {
  display:flex; align-items:flex-start; gap:10px; padding:14px;
  background:rgba(249,115,22,.04); border:1px solid rgba(249,115,22,.1);
  border-radius:12px;
}
.hl-icon {
  width:32px; height:32px; flex-shrink:0; border-radius:8px;
  background:rgba(249,115,22,.1); display:flex; align-items:center;
  justify-content:center; color:var(--orange);
}
.hl-text strong { font-size:13px; color:var(--text); display:block; margin-bottom:2px; }
.hl-text span   { font-size:12px; color:var(--text-dim); font-family:var(--font-mono); }
.edu-tags { display:flex; flex-direction:column; gap:8px; }
.edu-tags .about-role { margin-bottom:4px; }
.edu-tags-row { display:flex; gap:8px; flex-wrap:wrap; }
.edu-tag {
  padding:6px 14px; border-radius:var(--radius-pill); font-size:11px; font-family:var(--font-mono);
}
.edu-tag.primary { background:rgba(249,115,22,.08); border:1px solid rgba(249,115,22,.15); color:var(--orange-lt); }
.edu-tag.secondary { background:rgba(255,255,255,.04); border:1px solid var(--border); color:var(--text-muted); }

/* ════════════════════════════════════════════════════════════════
   SERVICES
════════════════════════════════════════════════════════════════ */
.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media (max-width:900px) { .services-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:560px) { .services-grid { grid-template-columns:1fr; } }

.svc-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-card); padding:28px;
  position:relative; overflow:hidden; cursor:default;
  transition:all .4s cubic-bezier(.2,.8,.2,1);
}
.svc-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:1px;
  background:linear-gradient(to right,transparent,rgba(249,115,22,.4),transparent);
  opacity:0; transition:opacity .4s;
}
.svc-card:hover {
  border-color:rgba(249,115,22,.2); transform:translateY(-4px);
  box-shadow:0 20px 60px rgba(0,0,0,.4),0 0 40px rgba(249,115,22,.05);
}
.svc-card:hover::before { opacity:1; }
.svc-card.featured {
  background:linear-gradient(135deg,rgba(249,115,22,.08),rgba(249,115,22,.02));
  border-color:rgba(249,115,22,.2);
}
.svc-icon {
  width:44px; height:44px; border-radius:12px;
  background:rgba(249,115,22,.1); border:1px solid rgba(249,115,22,.2);
  display:flex; align-items:center; justify-content:center;
  color:var(--orange); margin-bottom:20px;
}
.svc-num { position:absolute; top:20px; right:24px; font-family:var(--font-mono); font-size:11px; color:var(--text-dim); }
.svc-card h3 { font-family:var(--font-display); font-size:20px; font-weight:300; margin-bottom:10px; }
.svc-card p  { font-size:14px; color:var(--text-muted); line-height:1.7; font-weight:300; }
.svc-tag {
  display:inline-flex; align-items:center; gap:6px;
  padding:4px 12px; border-radius:var(--radius-pill);
  background:rgba(249,115,22,.1); border:1px solid rgba(249,115,22,.2);
  font-size:10px; font-family:var(--font-mono); color:var(--orange-lt);
  text-transform:uppercase; letter-spacing:.08em; margin-bottom:16px;
}

/* Systems diagram */
.sys-visual {
  position:relative; background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-card); overflow:hidden; height:360px;
  display:flex; align-items:center; justify-content:center; margin-bottom:48px;
}
.sys-grid-bg {
  position:absolute; inset:0;
  background-image:
    linear-gradient(to right,rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(to bottom,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:32px 32px;
}
.sys-svg { position:absolute; inset:0; z-index:1; pointer-events:none; }
.sys-line { stroke:rgba(249,115,22,.35); stroke-width:1.4; fill:none; stroke-dasharray:5 5; animation:dashFlow 1.2s linear infinite; }
.sys-line-hi { stroke:rgba(249,115,22,.75); stroke-width:2.2; filter: drop-shadow(0 0 6px rgba(249,115,22,0.5)); }

.sys-caption {
  position:absolute; bottom:20px; left:50%; transform:translateX(-50%);
  font-family:var(--font-mono); font-size:11px; color:rgba(249,115,22,.75); white-space:nowrap; z-index:10;
  background: rgba(5,5,5,.9);
  padding:6px 16px;
  border-radius: 8px;
  border:1px solid rgba(249,115,22,.2);
}

/* No mobile o SVG escala pela largura (360/900 = 0.4×), então a altura
   deve seguir o aspect-ratio do viewBox para não sobrar espaço preto */
@media (max-width:600px) {
  .sys-visual {
    height: auto;
    aspect-ratio: 900 / 360;
    margin-bottom: 32px;
  }
}

/* ════════════════════════════════════════════════════════════════
   TIMELINE
════════════════════════════════════════════════════════════════ */
.timeline { display:flex; flex-direction:column; }
.tl-item {
  display:grid; grid-template-columns:160px 1fr;
  gap:24px; position:relative; padding-bottom:48px;
}
.tl-item::after {
  content:''; position:absolute; left:178px; top:8px; bottom:0;
  width:1px; background:linear-gradient(to bottom,var(--border-hi),transparent);
}
.tl-item:last-child::after { display:none; }
@media (max-width:700px) { .tl-item { grid-template-columns:1fr; } .tl-item::after { display:none; } }
.tl-meta { text-align:right; padding-top:4px; }
.tl-company { font-size:12px; color:var(--text); font-weight:500; margin-bottom:4px; }
.tl-period  { font-family:var(--font-mono); font-size:10px; color:var(--text-dim); }
.tl-dot {
  position:absolute; left:171px; top:6px;
  width:16px; height:16px; border-radius:50%;
  background:var(--bg); border:2px solid var(--orange);
  display:flex; align-items:center; justify-content:center; z-index:1;
}
.tl-dot::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--orange); }
@media (max-width:700px) { .tl-dot { display:none; } }
.tl-body { padding-left:24px; }
@media (max-width:700px) { .tl-body { padding-left:0; } }
.tl-role { font-family:var(--font-display); font-size:18px; font-weight:300; margin-bottom:8px; }
.tl-desc { font-size:14px; color:var(--text-muted); line-height:1.75; font-weight:300; }
.tl-badge {
  display:inline-flex; margin-top:10px;
  padding:4px 12px; border-radius:var(--radius-pill);
  background:rgba(249,115,22,.08); border:1px solid rgba(249,115,22,.15);
  font-size:10px; font-family:var(--font-mono); color:var(--orange-lt);
}

/* Terminal */
.terminal { background:var(--surface); border:1px solid var(--border); border-radius:16px; overflow:hidden; margin-top:60px; }
.terminal-bar {
  background:var(--surface2); border-bottom:1px solid var(--border);
  padding:12px 16px; display:flex; align-items:center; gap:8px;
}
.t-dot { width:10px; height:10px; border-radius:50%; }
.t-r { background:#ff5f57; } .t-y { background:#febc2e; } .t-g { background:#28c840; }
.terminal-body { padding:24px; font-family:var(--font-mono); font-size:13px; line-height:2; }
.t-line { display:flex; align-items:baseline; gap:10px; }
.t-prompt { color:var(--orange); }
.t-cmd    { color:var(--text); }
.t-out    { color:var(--text-muted); padding-left:20px; }
.t-out.hi { color:var(--orange-lt); }
.t-cursor { display:inline-block; width:8px; height:14px; background:var(--orange); vertical-align:middle; animation:blink 1s step-end infinite; }

/* ════════════════════════════════════════════════════════════════
   SKILLS
════════════════════════════════════════════════════════════════ */
.skills-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media (max-width:700px) { .skills-grid { grid-template-columns:1fr; } }
.skill-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:16px; padding:24px; transition:all .3s;
}
.skill-card:hover { border-color:rgba(249,115,22,.2); background:rgba(249,115,22,.03); }
.skill-area { font-size:10px; font-family:var(--font-mono); color:var(--orange); text-transform:uppercase; letter-spacing:.1em; margin-bottom:8px; }
.skill-title { font-family:var(--font-display); font-size:16px; font-weight:300; margin-bottom:12px; }
.skill-chips { display:flex; flex-wrap:wrap; gap:6px; }
.chip {
  padding:4px 10px; background:rgba(255,255,255,.04); border:1px solid var(--border);
  border-radius:6px; font-size:11px; color:var(--text-muted); font-family:var(--font-mono);
}

/* ════════════════════════════════════════════════════════════════
   CTA / CONTACT
════════════════════════════════════════════════════════════════ */
.cta-section { position:relative; z-index:10; padding:100px 24px; text-align:center; }
.cta-box {
  max-width:700px; margin:0 auto;
  background:var(--surface); border:1px solid rgba(249,115,22,.15);
  border-radius:32px; padding:64px; position:relative; overflow:hidden;
}
.cta-box::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse at 50% 0%,rgba(249,115,22,.08),transparent 60%);
}
.cta-box > * { position:relative; z-index:1; }
.cta-title { font-family:var(--font-display); font-size:clamp(30px,4vw,52px); font-weight:200; line-height:1.1; margin-bottom:16px; }
.cta-sub   { font-size:15px; color:var(--text-muted); margin-bottom:36px; line-height:1.75; }
.contact-row { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.contact-chip {
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 18px; border:1px solid var(--border-hi); border-radius:var(--radius-pill);
  font-size:13px; color:var(--text-muted); text-decoration:none; transition:all .2s;
}
.contact-chip:hover { color:var(--text); border-color:rgba(255,255,255,.22); }
.contact-chip svg { color:var(--orange); }

/* ════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════ */
footer { position:relative; z-index:10; border-top:1px solid var(--border); padding:32px 24px; }
.footer-inner {
  max-width:1200px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px;
}
.footer-copy { font-size:12px; color:var(--text-dim); font-family:var(--font-mono); }
.footer-loc  { display:flex; align-items:center; gap:6px; font-size:12px; color:var(--text-dim); font-family:var(--font-mono); }

/* ════════════════════════════════════════════════════════════════
   DORES
════════════════════════════════════════════════════════════════ */
.dores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .dores-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dores-grid { grid-template-columns: 1fr; } }

.dor-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all .3s;
}
.dor-card:hover {
  border-color: rgba(249,115,22,.2);
  background: rgba(249,115,22,.03);
  transform: translateY(-2px);
}
.dor-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(249,115,22,.1);
  border: 1px solid rgba(249,115,22,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}
.dor-text strong {
  display: block;
  font-size: 14px; font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}
.dor-text span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* ════════════════════════════════════════════════════════════════
   RESULTADOS
════════════════════════════════════════════════════════════════ */
.results-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}
@media (max-width: 1100px) { .results-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .results-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .results-grid { grid-template-columns: 1fr; } }

.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 20px;
  text-align: center;
  position: relative; overflow: hidden;
  transition: all .3s;
}
.result-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(249,115,22,.4), transparent);
  opacity: 0; transition: opacity .3s;
}
.result-card:hover {
  border-color: rgba(249,115,22,.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.4), 0 0 32px rgba(249,115,22,.06);
}
.result-card:hover::before { opacity: 1; }

.result-val {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 200;
  background: linear-gradient(135deg, #fff, var(--orange-lt));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
}
.result-desc {
  font-size: 13px;
  color: var(--text);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 8px;
}
.result-ctx {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ════════════════════════════════════════════════════════════════
   COMO FUNCIONA
════════════════════════════════════════════════════════════════ */
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
@media (max-width: 768px) {
  .steps-row { flex-direction: column; align-items: stretch; gap: 0; }
  .step-arrow { transform: rotate(90deg); align-self: center; }
}

.step {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  position: relative;
  transition: all .3s;
}
.step:hover { border-color: rgba(249,115,22,.2); transform: translateY(-4px); }

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 200;
  color: var(--orange);
  opacity: .25;
  line-height: 1;
  margin-bottom: 16px;
}
.step-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(249,115,22,.1);
  border: 1px solid rgba(249,115,22,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  margin-bottom: 16px;
}
.step-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 300;
  margin-bottom: 12px;
}
.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
}
.step-arrow {
  font-size: 28px;
  color: var(--orange);
  opacity: .5;
  padding: 0 16px;
  margin-top: 80px;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════
   PARA QUEM
════════════════════════════════════════════════════════════════ */
.pq-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) {
  .pq-grid { grid-template-columns: 1fr; }
}

.pq-checks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pq-check {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.5;
  transition: all .3s;
}
.pq-check:hover {
  border-color: rgba(249,115,22,.2);
  color: var(--text);
}
.pq-check-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(249,115,22,.12);
  border: 1px solid rgba(249,115,22,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}

.cred-block {
  background: var(--surface);
  border: 1px solid rgba(249,115,22,.15);
  border-radius: 24px;
  padding: 32px;
  position: relative; overflow: hidden;
}
.cred-block::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(249,115,22,.07), transparent 60%);
}
.cred-block > * { position: relative; z-index: 1; }

.cred-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(249,115,22,.3);
  overflow: hidden;
  margin-bottom: 16px;
}
.cred-photo img { width: 100%; height: 100%; object-fit: cover; }

.cred-name {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 300;
  margin-bottom: 4px;
}
.cred-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.cred-quote {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  font-weight: 300;
  border-left: 2px solid rgba(249,115,22,.3);
  padding-left: 14px;
  margin-bottom: 20px;
}
.cred-seals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cred-seal {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(249,115,22,.08);
  border: 1px solid rgba(249,115,22,.15);
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--orange-lt);
}

/* ════════════════════════════════════════════════════════════════
   FAQ
════════════════════════════════════════════════════════════════ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item.open {
  border-color: rgba(249,115,22,.25);
}

.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px;
  background: none; border: none; cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 16px; font-weight: 400;
  color: var(--text);
  transition: color .2s;
}
.faq-q:hover { color: var(--orange-lt); }
.faq-item.open .faq-q { color: var(--orange-lt); }

.faq-icon {
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform .3s ease, color .2s;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--orange);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-a {
  padding: 0 24px 22px;
}
.faq-a p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

/* ════════════════════════════════════════════════════════════════
   SECTION-CTA (mini-CTAs mid-page)
════════════════════════════════════════════════════════════════ */
.section-cta {
  margin-top: 48px;
  text-align: center;
}

/* ════════════════════════════════════════════════════════════════
   WHATSAPP FLUTUANTE
════════════════════════════════════════════════════════════════ */
@keyframes waPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  60%       { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
}

.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: #25d366;
  border-radius: var(--radius-pill);
  color: #fff;
  text-decoration: none;
  font-size: 14px; font-weight: 600; font-family: var(--font-body);
  box-shadow: 0 4px 24px rgba(37,211,102,.4);
  animation: waPulse 2.4s ease-in-out infinite;
  opacity: 0; pointer-events: none;
  transition: opacity .4s ease, transform .3s ease;
}
.wa-float.visible {
  opacity: 1; pointer-events: auto;
}
.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,.55);
  animation: none;
}
.wa-float-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff; opacity: .8; flex-shrink: 0;
}

@media (max-width: 600px) {
  .wa-float {
    bottom: 20px; right: 16px;
    padding: 14px;
    border-radius: 50%;
    width: 56px; height: 56px;
    justify-content: center;
  }
  .wa-float-label,
  .wa-float-dot { display: none; }
}

/* ── Espaçamentos mobile ──────────────────────────────────────── */
@media (max-width:600px) {
  .section       { padding: 52px 20px; }
  .cta-section   { padding: 52px 20px; }
  .divider       { margin: 0 20px; }
  .section-sub   { margin-bottom: 36px; }
  .section-title { font-size: clamp(26px, 7vw, 38px); margin-bottom: 10px; }
  footer         { padding: 24px 20px; }
  .steps-row     { gap: 12px; }
  .step-arrow    { margin-top: 0; padding: 8px 0; }
  .result-val    { font-size: 36px; }
}
