<style>
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --verde: #1D6A3A;
    --verde-claro: #2E8B57;
    --verde-neo: #00C864;
    --amarelo: #F5C842;
    --amarelo-deep: #D4A017;
    --creme: #F9F5EC;
    --creme-dark: #EDE8DB;
    --escuro: #0F1A14;
    --escuro2: #152219;
    --branco: #FFFFFF;
    --cinza: #7A8B82;
    --borda: rgba(0,200,100,0.15);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--escuro);
    color: var(--branco);
    overflow-x: hidden;
  }

  /* CURSOR CUSTOM */
  body { cursor: none; }
  #cursor {
    width: 12px; height: 12px;
    background: var(--verde-neo);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, background 0.2s;
    mix-blend-mode: screen;
  }
  #cursor-ring {
    width: 36px; height: 36px;
    border: 1.5px solid var(--verde-neo);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.35s ease;
    opacity: 0.5;
  }
  a, button { cursor: none; }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 4rem;
    background: rgba(15,26,20,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--borda);
  }
  .nav-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--verde-neo);
    letter-spacing: -0.02em;
  }
  .nav-logo span { color: var(--amarelo); }
  .nav-links {
    display: flex; gap: 2.5rem;
    list-style: none;
  }
  .nav-links a {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cinza);
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--verde-neo); }
  .nav-cta {
    background: var(--verde-neo);
    color: var(--escuro) !important;
    padding: 0.5rem 1.4rem;
    border-radius: 2rem;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.85rem;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 24px rgba(0,200,100,0.4);
  }

  /* HERO */
  #hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 8rem 4rem 4rem;
    position: relative;
    overflow: hidden;
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 80% at 80% 40%, rgba(0,200,100,0.08) 0%, transparent 70%),
      radial-gradient(ellipse 40% 40% at 10% 90%, rgba(245,200,66,0.06) 0%, transparent 60%);
  }
  .hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(0,200,100,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,200,100,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
  }
  .hero-left { position: relative; z-index: 2; }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0,200,100,0.1);
    border: 1px solid rgba(0,200,100,0.3);
    border-radius: 2rem;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--verde-neo);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease both;
  }
  .badge-dot {
    width: 7px; height: 7px;
    background: var(--verde-neo);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
  }
  .hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(3.2rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.7s ease 0.1s both;
  }
  .hero-title .accent { color: var(--verde-neo); }
  .hero-title .accent2 { color: var(--amarelo); }
  .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    max-width: 480px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.7s ease 0.2s both;
    font-weight: 300;
  }
  .hero-ctas {
    display: flex; gap: 1rem; flex-wrap: wrap;
    animation: fadeInUp 0.7s ease 0.3s both;
  }
  .btn-primary {
    background: var(--verde-neo);
    color: var(--escuro);
    padding: 0.9rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.25s;
    display: inline-flex; align-items: center; gap: 0.5rem;
    border: none;
  }
  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,200,100,0.35);
  }
  .btn-outline {
    background: transparent;
    color: var(--branco);
    padding: 0.9rem 2rem;
    border-radius: 2rem;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.25s;
    border: 1px solid rgba(255,255,255,0.2);
    display: inline-flex; align-items: center; gap: 0.5rem;
  }
  .btn-outline:hover {
    border-color: var(--verde-neo);
    color: var(--verde-neo);
    transform: translateY(-3px);
  }
  .hero-right {
    position: relative; z-index: 2;
    display: flex; justify-content: center; align-items: center;
    animation: fadeInUp 0.8s ease 0.2s both;
  }
  .hero-image-container {
    position: relative;
    width: 420px; height: 520px;
  }
  .hero-image-main {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,200,100,0.08), rgba(245,200,66,0.05));
    border: 1px solid var(--borda);
    border-radius: 2rem;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    overflow: hidden;
  }
  .hero-image-placeholder {
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
    opacity: 0.5;
  }
  .hero-image-placeholder .icon-big {
    width: 80px; height: 80px;
    border: 2px solid var(--verde-neo);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
  }
  .hero-chip {
    position: absolute;
    background: rgba(15,26,20,0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--borda);
    border-radius: 1rem;
    padding: 0.8rem 1.2rem;
    font-size: 0.8rem;
  }
  .hero-chip-left {
    left: -60px; top: 30%;
    animation: float 4s ease infinite;
  }
  .hero-chip-right {
    right: -50px; bottom: 25%;
    animation: float 4s ease 1s infinite;
  }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  .chip-label { color: var(--cinza); font-size: 0.7rem; margin-bottom: 0.2rem; }
  .chip-value { font-weight: 600; color: var(--verde-neo); font-size: 1rem; }

  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* METRICS */
  #metricas {
    padding: 6rem 4rem;
    position: relative;
  }
  .section-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--verde-neo);
    margin-bottom: 0.8rem;
  }
  .section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
  }
  .section-sub {
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    font-weight: 300;
    max-width: 500px;
    line-height: 1.7;
  }
  .metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
  }
  .metric-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: default;
  }
  .metric-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--verde-neo), transparent);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .metric-card:hover {
    background: rgba(0,200,100,0.05);
    border-color: rgba(0,200,100,0.2);
    transform: translateY(-4px);
  }
  .metric-card:hover::before { opacity: 1; }
  .metric-icon {
    width: 48px; height: 48px;
    border-radius: 1rem;
    background: rgba(0,200,100,0.12);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
  }
  .metric-number {
    font-family: 'Syne', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--verde-neo);
    margin-bottom: 0.4rem;
    letter-spacing: -0.03em;
  }
  .metric-number span { font-size: 2rem; }
  .metric-label {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
  }
  .metric-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.5;
    font-weight: 300;
  }
  .metric-bar {
    margin-top: 1.5rem;
    height: 3px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    overflow: hidden;
  }
  .metric-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--verde-neo), var(--amarelo));
    border-radius: 2px;
    transition: width 1.5s ease;
  }

  /* COMO FUNCIONA */
  #como-funciona {
    padding: 6rem 4rem;
    background: rgba(255,255,255,0.015);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .how-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 4rem;
  }
  .how-steps { display: flex; flex-direction: column; gap: 0; }
  .how-step {
    display: flex;
    gap: 1.5rem;
    padding: 1.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.2s;
    cursor: default;
  }
  .how-step:last-child { border-bottom: none; }
  .how-step:hover .step-num { background: var(--verde-neo); color: var(--escuro); }
  .step-num {
    width: 44px; height: 44px; min-width: 44px;
    border: 1px solid rgba(0,200,100,0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--verde-neo);
    transition: all 0.2s;
    margin-top: 0.2rem;
  }
  .step-content h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
  }
  .step-content p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    font-weight: 300;
  }
  .how-visual {
    position: relative;
  }
  .chat-mockup {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1.5rem;
    overflow: hidden;
  }
  .chat-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex; align-items: center; gap: 0.8rem;
    background: rgba(255,255,255,0.02);
  }
  .chat-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--verde-claro), var(--verde-neo));
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
  }
  .chat-header-info strong { font-size: 0.9rem; }
  .chat-header-info span { font-size: 0.75rem; color: var(--verde-neo); display: block; }
  .chat-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
  .msg {
    max-width: 85%;
    padding: 0.8rem 1.1rem;
    border-radius: 1.2rem;
    font-size: 0.85rem;
    line-height: 1.5;
    animation: msgIn 0.3s ease both;
  }
  @keyframes msgIn {
    from { opacity: 0; transform: translateY(8px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
  .msg-user {
    background: rgba(0,200,100,0.15);
    border: 1px solid rgba(0,200,100,0.2);
    align-self: flex-end;
    border-bottom-right-radius: 0.3rem;
  }
  .msg-bot {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    align-self: flex-start;
    border-bottom-left-radius: 0.3rem;
    color: rgba(255,255,255,0.85);
  }
  .msg-bot strong { color: var(--verde-neo); }
  .typing {
    display: flex; gap: 4px; align-items: center;
    padding: 0.8rem 1.1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1.2rem;
    width: fit-content;
    border-bottom-left-radius: 0.3rem;
  }
  .typing-dot {
    width: 6px; height: 6px;
    background: var(--cinza);
    border-radius: 50%;
    animation: typingAnim 1.2s ease infinite;
  }
  .typing-dot:nth-child(2) { animation-delay: 0.2s; }
  .typing-dot:nth-child(3) { animation-delay: 0.4s; }
  @keyframes typingAnim {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
  }

  /* SKILLS */
  #funcionalidades {
    padding: 6rem 4rem;
  }
  .skills-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
    margin-bottom: 3.5rem;
  }
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .skill-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
  }
  .skill-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(0,200,100,0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .skill-card:hover {
    border-color: rgba(0,200,100,0.25);
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,200,100,0.1);
  }
  .skill-card:hover::after { opacity: 1; }
  .skill-card.featured {
    border-color: rgba(0,200,100,0.3);
    background: rgba(0,200,100,0.05);
    grid-column: span 2;
  }
  .skill-icon-wrap {
    width: 52px; height: 52px;
    border-radius: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.3rem;
    font-size: 1.5rem;
    position: relative; z-index: 1;
  }
  .skill-icon-wrap.green { background: rgba(0,200,100,0.12); }
  .skill-icon-wrap.yellow { background: rgba(245,200,66,0.12); }
  .skill-icon-wrap.blue { background: rgba(30,120,255,0.12); }
  .skill-icon-wrap.purple { background: rgba(140,80,255,0.12); }
  .skill-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    position: relative; z-index: 1;
  }
  .skill-card p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
    font-weight: 300;
    position: relative; z-index: 1;
  }
  .skill-tag {
    display: inline-block;
    background: rgba(0,200,100,0.1);
    color: var(--verde-neo);
    border: 1px solid rgba(0,200,100,0.2);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    margin-top: 1rem;
    position: relative; z-index: 1;
  }

  /* IDENTIDADE */
  #identidade {
    padding: 6rem 4rem;
    background: rgba(255,255,255,0.015);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .identity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
  }
  .persona-cards { display: flex; flex-direction: column; gap: 1.2rem; }
  .persona-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1.2rem;
    padding: 1.8rem;
    transition: all 0.25s;
    cursor: default;
  }
  .persona-card:hover {
    border-color: rgba(0,200,100,0.25);
    background: rgba(0,200,100,0.04);
    transform: translateX(8px);
  }
  .persona-header {
    display: flex; align-items: center; gap: 1rem;
    margin-bottom: 0.8rem;
  }
  .persona-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .dot-verde { background: var(--verde-neo); box-shadow: 0 0 10px var(--verde-neo); }
  .dot-amarelo { background: var(--amarelo); box-shadow: 0 0 10px var(--amarelo); }
  .persona-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 600;
  }
  .persona-card p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    font-weight: 300;
  }
  .quote-block {
    margin-top: 0.8rem;
    padding: 0.8rem 1rem;
    background: rgba(0,200,100,0.05);
    border-left: 2px solid var(--verde-neo);
    border-radius: 0 0.6rem 0.6rem 0;
    font-size: 0.85rem;
    color: var(--verde-neo);
    font-style: italic;
  }
  .identity-right { position: relative; }
  .image-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .img-slot {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1.2rem;
    aspect-ratio: 4/3;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
    overflow: hidden;
    position: relative;
    cursor: default;
  }
  .img-slot.tall { grid-row: span 2; aspect-ratio: auto; }
  .img-slot:hover {
    border-color: rgba(0,200,100,0.3);
    transform: scale(1.02);
  }
  .img-slot img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 1.2rem;
    transition: transform 0.4s ease;
  }
  .img-slot:hover img { transform: scale(1.05); }
  .img-slot-placeholder {
    display: flex; flex-direction: column; align-items: center;
    gap: 0.5rem; opacity: 0.3;
    font-size: 0.75rem; text-align: center;
    padding: 1rem;
  }
  .img-slot-placeholder .ph-icon { font-size: 1.8rem; }

  /* ARQUITETURA */
  #arquitetura {
    padding: 6rem 4rem;
  }
  .arch-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-top: 3.5rem;
  }
  .arch-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1.2rem;
    padding: 1.8rem;
    text-align: center;
    transition: all 0.3s;
    cursor: default;
  }
  .arch-card:hover {
    background: rgba(0,200,100,0.05);
    border-color: rgba(0,200,100,0.2);
    transform: translateY(-4px);
  }
  .arch-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
  }
  .arch-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  .arch-card p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.5;
    font-weight: 300;
  }

  /* GRÁFICO */
  #grafico {
    padding: 6rem 4rem;
    background: rgba(255,255,255,0.015);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .chart-container {
    margin-top: 3.5rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  .bar-chart { }
  .bar-row {
    display: flex; align-items: center; gap: 1rem;
    margin-bottom: 1.4rem;
  }
  .bar-label {
    width: 180px; min-width: 180px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    text-align: right;
    font-weight: 300;
  }
  .bar-track {
    flex: 1;
    height: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
  }
  .bar-fill {
    height: 100%;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--verde-claro), var(--verde-neo));
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .bar-fill.anim { transform: scaleX(1); }
  .bar-fill.amarelo {
    background: linear-gradient(90deg, var(--amarelo-deep), var(--amarelo));
  }
  .bar-fill.misto {
    background: linear-gradient(90deg, var(--verde-claro), var(--amarelo));
  }
  .bar-value {
    width: 50px; min-width: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--verde-neo);
  }
  .donut-container {
    display: flex; flex-direction: column; align-items: center; gap: 2rem;
  }
  .donut-wrap { position: relative; }
  .donut-label {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
  .donut-label .pct {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--verde-neo);
    display: block;
    line-height: 1;
  }
  .donut-label .sub {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.05em;
    display: block;
    margin-top: 0.2rem;
  }
  .donut-legend {
    display: flex; flex-direction: column; gap: 0.6rem; width: 100%;
  }
  .legend-item {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.8rem; color: rgba(255,255,255,0.6);
  }
  .legend-dot {
    width: 10px; height: 10px;
    border-radius: 50%; flex-shrink: 0;
  }

  /* SANDBOX */
  #sandbox {
    padding: 6rem 4rem;
  }
  .sandbox-inner {
    background: linear-gradient(135deg, rgba(0,200,100,0.06), rgba(245,200,66,0.03));
    border: 1px solid rgba(0,200,100,0.2);
    border-radius: 2rem;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    overflow: hidden;
  }
  .sandbox-inner::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0,200,100,0.06) 0%, transparent 70%);
  }
  .sandbox-left { position: relative; z-index: 1; }
  .sandbox-left .badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(245,200,66,0.12);
    border: 1px solid rgba(245,200,66,0.3);
    border-radius: 2rem;
    padding: 0.35rem 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amarelo);
    margin-bottom: 1.5rem;
  }
  .sandbox-left h2 {
    font-family: 'Syne', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
  }
  .sandbox-left p {
    color: rgba(255,255,255,0.55);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 2rem;
  }
  .sandbox-right { position: relative; z-index: 1; }
  .status-cards { display: flex; flex-direction: column; gap: 1rem; }
  .status-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 1rem;
    padding: 1.2rem 1.5rem;
    display: flex; align-items: center; gap: 1rem;
    transition: all 0.2s;
  }
  .status-card:hover {
    background: rgba(255,255,255,0.07);
    transform: translateX(4px);
  }
  .status-icon {
    width: 40px; height: 40px; min-width: 40px;
    border-radius: 0.8rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
  }
  .status-icon.active { background: rgba(0,200,100,0.15); }
  .status-icon.pending { background: rgba(245,200,66,0.12); }
  .status-info h4 { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.2rem; }
  .status-info p { font-size: 0.78rem; color: rgba(255,255,255,0.4); font-weight: 300; }
  .status-badge {
    margin-left: auto;
    font-size: 0.7rem;
    padding: 0.2rem 0.7rem;
    border-radius: 1rem;
    letter-spacing: 0.05em;
  }
  .badge-active {
    background: rgba(0,200,100,0.15);
    color: var(--verde-neo);
    border: 1px solid rgba(0,200,100,0.3);
  }
  .badge-pending {
    background: rgba(245,200,66,0.1);
    color: var(--amarelo);
    border: 1px solid rgba(245,200,66,0.25);
  }

  /* IMAGENS GALERIA */
  #galeria {
    padding: 6rem 4rem;
    background: rgba(255,255,255,0.01);
    border-top: 1px solid rgba(255,255,255,0.05);
  }
  .gallery-grid {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
.gal-item {
  width: 80%;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}
.gal-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
  .gal-item:hover {
    border-color: rgba(0,200,100,0.25);
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    z-index: 2;
  }
  .gal-item:nth-child(1) { grid-column: span 7; min-height: 300px; }
  .gal-item:nth-child(2) { grid-column: span 5; min-height: 300px; }
  .gal-item:nth-child(3) { grid-column: span 4; min-height: 220px; }
  .gal-item:nth-child(4) { grid-column: span 4; min-height: 220px; }
  .gal-item:nth-child(5) { grid-column: span 4; min-height: 220px; }
  .gal-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  .gal-item:hover img { transform: scale(1.05); }
  .gal-placeholder {
    width: 100%; height: 100%;
    min-height: inherit;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.6rem; opacity: 0.25;
    font-size: 0.8rem; padding: 2rem;
    text-align: center;
  }
  .gal-placeholder .ph { font-size: 2.5rem; }
  .gal-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .gal-item:hover .gal-overlay { opacity: 1; }
  .gal-overlay span { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

  /* CTA FINAL */
  #cta {
    padding: 8rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .cta-bg {
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0,200,100,0.07) 0%, transparent 70%);
  }
  .cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
  .cta-inner h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.2rem;
  }
  .cta-inner p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 2.5rem;
  }
  .cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

  /* FOOTER */
  footer {
    padding: 2.5rem 4rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: space-between;
  }
  .footer-left {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--verde-neo);
  }
  .footer-left span { color: var(--amarelo); }
  .footer-center {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    text-align: center;
  }
  .footer-right {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    text-align: right;
  }
  .footer-right a { color: var(--verde-neo); text-decoration: none; }

  /* SCROLL ANIMATIONS */
  .reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1; transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }

  /* SEPARADOR */
  .divider {
    width: 40px; height: 3px;
    background: linear-gradient(90deg, var(--verde-neo), transparent);
    margin: 1rem 0 2rem;
    border-radius: 2px;
  }

  /* SCROLLBAR */
  ::-webkit-scrollbar { width: 5px; }
  ::-webkit-scrollbar-track { background: var(--escuro); }
  ::-webkit-scrollbar-thumb { background: var(--verde-claro); border-radius: 3px; }

  /* CHATKIT */
  #chatkit-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 110px;
    height: 130px;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.25s ease, height 0.25s ease, border-radius 0.25s ease, background 0.25s ease;
    filter: drop-shadow(0 8px 24px rgba(0,200,100,0.3));
  }
  #chatkit-bubble:hover {
    filter: drop-shadow(0 12px 32px rgba(0,200,100,0.5));
    transform: scale(1.05);
  }
  #chatkit-bubble img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  #chatkit-widget {
    display: none;
    position: fixed;
    bottom: 180px;
    right: 30px;
    width: 400px;
    height: 600px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,200,100,0.2);
    z-index: 999;
    animation: chatOpen 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  @keyframes chatOpen {
    from { opacity: 0; transform: scale(0.85) translateY(20px); transform-origin: bottom right; }
    to { opacity: 1; transform: scale(1) translateY(0); }
  }
  @media (max-width: 500px) {
    #chatkit-widget { width: calc(100vw - 20px); right: 10px; bottom: 160px; }
  }

  @media (max-width: 900px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    #hero { grid-template-columns: 1fr; padding: 7rem 1.5rem 3rem; }
    .hero-right { display: none; }
    .metrics-grid, .skills-grid { grid-template-columns: 1fr; }
    .skill-card.featured { grid-column: span 1; }
    .how-grid, .identity-grid, .chart-container, .sandbox-inner { grid-template-columns: 1fr; gap: 2rem; }
    .arch-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gal-item { grid-column: span 1 !important; }
    section { padding: 4rem 1.5rem !important; }
    footer { flex-direction: column; gap: 1rem; text-align: center; }
    .skills-header { grid-template-columns: 1fr; }
    body { cursor: auto; }
    #cursor, #cursor-ring { display: none; }
  }
/* PERGUNTAS POR ASSUNTO */
#perguntas {
  padding: 6rem 4rem;
  background: rgba(255,255,255,0.015);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.perguntas-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  margin-top: 3.5rem;
  align-items: start;
}
.pq-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.pq-col-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  background: rgba(0,200,100,0.07);
  border: 1px solid rgba(0,200,100,0.2);
  border-radius: 1rem;
  margin-bottom: 0.3rem;
}
.pq-icon { font-size: 1.1rem; }
.pq-tema {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--verde-neo);
  letter-spacing: 0.02em;
}
.pq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pq-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem 0.85rem 1.4rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.45;
  font-weight: 300;
  transition: all 0.2s ease;
  cursor: default;
  position: relative;
}
.pq-card::before {
  content: '';
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(0,200,100,0.4);
  transition: background 0.2s;
}
.pq-card:hover {
  background: rgba(0,200,100,0.06);
  border-color: rgba(0,200,100,0.2);
  color: rgba(255,255,255,0.85);
  transform: translateX(4px);
}
.pq-card:hover::before {
  background: var(--verde-neo);
}
/* ============================================
   RESPONSIVIDADE PREMIUM — MOBILE/TABLET
============================================ */
@media (max-width: 1200px) {
  .perguntas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-image-container {
    width: 360px;
    height: 460px;
  }

  .metrics-grid,
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .arch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {

  html,
  body {
    overflow-x: hidden;
  }

  nav {
    padding: 1rem 1.2rem;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    padding: 0.7rem 1rem;
    font-size: 0.78rem;
  }

  #hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 7rem 1.5rem 4rem;
    text-align: center;
  }

  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-right {
    display: flex;
  }

  .hero-image-container {
    width: 100%;
    max-width: 340px;
    height: auto;
    aspect-ratio: 4/5;
  }

  .hero-chip-left,
  .hero-chip-right {
    position: static;
    margin-top: 1rem;
    width: 100%;
  }

  .metrics-grid,
  .skills-grid,
  .arch-grid,
  .perguntas-grid,
  .image-showcase,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .skill-card.featured {
    grid-column: span 1;
  }

  .how-grid,
  .identity-grid,
  .chart-container,
  .sandbox-inner,
  .skills-header {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .bar-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .bar-label,
  .bar-value {
    width: 100%;
    min-width: unset;
    text-align: left;
  }

  .bar-track {
    width: 100%;
  }

  .chat-body {
    padding: 1rem;
  }

  .msg {
    max-width: 100%;
  }

  .sandbox-inner {
    padding: 2rem 1.5rem;
  }

  .gal-item {
    width: 100%;
  }

  section,
  #metricas,
  #como-funciona,
  #funcionalidades,
  #identidade,
  #arquitetura,
  #grafico,
  #sandbox,
  #galeria,
  #perguntas,
  #cta,
  #qrcode {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .footer-right,
  .footer-center {
    text-align: center;
  }

  body {
    cursor: auto;
  }

  #cursor,
  #cursor-ring {
    display: none;
  }

  #chatkit-widget {
    width: calc(100vw - 20px);
    height: 70vh;
    right: 10px;
    bottom: 140px;
  }

  #chatkit-bubble {
    width: 85px;
    height: 100px;
    right: 15px;
    bottom: 15px;
  }
}

@media (max-width: 600px) {

  .hero-title {
    font-size: 2.6rem;
    line-height: 1;
  }

  .section-title,
  .sandbox-left h2,
  .cta-inner h2 {
    font-size: 2rem;
    line-height: 1.1;
  }

  .hero-subtitle,
  .section-sub,
  .sandbox-left p,
  .cta-inner p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .metric-card,
  .skill-card,
  .persona-card,
  .arch-card,
  .status-card {
    padding: 1.4rem;
  }

  .metric-number {
    font-size: 2.5rem;
  }

  .metric-number span {
    font-size: 1.5rem;
  }

  .chat-header {
    padding: 0.9rem 1rem;
  }

  .chat-body {
    gap: 0.8rem;
  }

  .msg {
    font-size: 0.8rem;
    padding: 0.75rem 0.95rem;
  }

  .persona-card:hover,
  .status-card:hover,
  .pq-card:hover {
    transform: none;
  }

  .pq-card {
    font-size: 0.78rem;
  }

  .donut-wrap svg {
    width: 150px;
    height: 150px;
  }

  .cta-btns {
    flex-direction: column;
  }
}
/* ============================================
   AJUSTES EXTRAS — HERO MOBILE + CHATKIT
============================================ */

@media (max-width: 600px) {
  .hero-title {
    font-size: 2rem;
    line-height: 1.08;
    letter-spacing: -0.04em;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .hero-title br {
    display: none;
  }

  .hero-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.62rem;
    padding: 0.45rem 0.8rem;
  }

  .hero-ctas {
    width: 100%;
  }

  .hero-ctas a {
    width: 100%;
  }

  /* Remove widget flutuante no mobile */
  #chatkit-widget,
  #chatkit-bubble {
    display: none !important;
  }

  /* CHAT FIXO NO FINAL DO SITE */
  .mobile-chatkit-section {
    display: block;
    padding: 0 1rem 4rem;
    margin-top: 2rem;
  }

  .mobile-chatkit-card {
    width: 100%;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid rgba(0,200,100,0.18);
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(12px);
  }

  .mobile-chatkit-card iframe {
    width: 100%;
    height: 72vh;
    border: none;
    display: block;
  }
}

/* Fora do @media, garantimos que no desktop o mobile-chatkit-section fique oculto */
@media (min-width: 601px) {
  .mobile-chatkit-section {
    display: none !important;
  }
}
/* AJUSTE DO QR CODE */
.qrcode-wrapper img { 
  display: block;
  margin: 0 auto;
  width: 100%; 
  max-width: 250px; 
  height: auto; 
}
/* FORÇA O ALINHAMENTO DO QR CODE */
#qrcode {
  width: 100%;
  max-width: 1200px; /* Ou a largura que suas outras seções usam */
  margin: 0 auto;
  padding: 4rem 1.5rem !important;
  text-align: center;
}

#qrcode .qrcode-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
</style>