/*
Theme Name: TechInCode
Theme URI: https://techincode.com.br
Author: TechInCode
Description: Tema oficial TechInCode — Software Development & Innovation
Version: 3.0.0
Text Domain: techincode
*/


  :root {
    --bg:       #0e1117;
    --bg2:      #141820;
    --bg3:      #1a2030;
    --red:      #d42020;
    --red2:     #ff3333;
    --red-glow: rgba(212,32,32,0.25);
    --silver:   #c8d0de;
    --white:    #f0f4ff;
    --muted:    #6b7a94;
    --border:   rgba(212,32,32,0.18);
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { background: var(--bg); color: var(--white); font-family: 'Exo 2', sans-serif; overflow-x: hidden; }
  #circuit-canvas { position: fixed; inset: 0; z-index: 0; opacity: 0.45; pointer-events: none; }
  nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 8px 60px; background: rgba(14,17,23,0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
  .nav-logo { font-family: 'Rajdhani', sans-serif; font-size: 1.7rem; font-weight: 700; letter-spacing: 1px; }
  .nav-logo span { color: var(--red); }
  nav ul { list-style: none; display: flex; gap: 36px; }
  nav ul a { color: var(--silver); text-decoration: none; font-size: 0.9rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; transition: color .2s; }
  nav ul a:hover { color: var(--red2); }
  .nav-cta { background: var(--red); color: #fff !important; padding: 8px 22px; border: none; clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%); transition: background .2s !important; }
  .nav-cta:hover { background: var(--red2) !important; }
  #hero { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 40px 80px; overflow: hidden; }
  .hero-tag { display: inline-block; font-size: 0.72rem; letter-spacing: 4px; text-transform: uppercase; color: var(--red2); border: 1px solid var(--red); padding: 5px 18px; margin-bottom: 28px; clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%); animation: fadeUp .8s ease both; }
  h1 { font-family: 'Rajdhani', sans-serif; font-size: clamp(3.2rem, 9vw, 7rem); font-weight: 700; line-height: 1; letter-spacing: -1px; animation: fadeUp .9s .1s ease both; }
  h1 .tech { color: var(--silver); }
  h1 .incode { color: var(--red); display: block; text-shadow: 0 0 60px var(--red-glow); }
  .hero-sub { margin-top: 20px; font-size: clamp(0.9rem, 2vw, 1.1rem); font-weight: 300; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); animation: fadeUp 1s .2s ease both; }
  .hero-desc { max-width: 560px; margin: 28px auto 0; font-size: 1.05rem; color: var(--silver); line-height: 1.75; font-weight: 300; animation: fadeUp 1s .3s ease both; }
  .hero-btns { display: flex; gap: 16px; justify-content: center; margin-top: 44px; animation: fadeUp 1s .4s ease both; }
  .btn-primary { background: var(--red); color: #fff; padding: 14px 36px; font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%); transition: background .2s, box-shadow .2s; box-shadow: 0 0 30px var(--red-glow); }
  .btn-primary:hover { background: var(--red2); box-shadow: 0 0 50px rgba(212,32,32,.5); }
  .btn-outline { background: transparent; color: var(--silver); padding: 14px 36px; font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; border: 1px solid rgba(200,208,222,0.3); clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%); transition: border-color .2s, color .2s; }
  .btn-outline:hover { border-color: var(--red); color: var(--white); }
  .hero-stats { display: flex; gap: 60px; justify-content: center; margin-top: 72px; animation: fadeUp 1s .5s ease both; }
  .stat-item { text-align: center; }
  .stat-num { font-family: 'Rajdhani', sans-serif; font-size: 2.4rem; font-weight: 700; color: var(--red); line-height: 1; }
  .stat-label { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
  .hero-line { width: 1px; height: 40px; background: var(--border); margin: 0 auto; }
  section { position: relative; z-index: 1; }
  .section-inner { max-width: 1160px; margin: 0 auto; padding: 100px 40px; }
  .section-tag { display: inline-block; font-size: 0.68rem; letter-spacing: 4px; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
  .section-title { font-family: 'Rajdhani', sans-serif; font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.1; color: var(--white); }
  .section-title em { color: var(--red); font-style: normal; }
  #services { background: var(--bg2); }
  .services-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 60px; gap: 40px; flex-wrap: wrap; }
  .services-desc { max-width: 360px; color: var(--muted); line-height: 1.7; font-size: 0.95rem; }
  .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2px; }
  .service-card { background: var(--bg3); padding: 40px 32px; position: relative; overflow: hidden; transition: transform .3s, background .3s; cursor: default; }
  .service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .3s; transform-origin: left; }
  .service-card:hover { background: #1e2535; transform: translateY(-4px); }
  .service-card:hover::before { transform: scaleX(1); }
  .service-icon { font-size: 2rem; margin-bottom: 20px; display: block; }
  .service-card h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 12px; color: var(--white); }
  .service-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; }
  .service-num { position: absolute; bottom: 20px; right: 24px; font-family: 'Rajdhani', sans-serif; font-size: 3rem; font-weight: 700; color: rgba(212,32,32,0.65); line-height: 1; user-select: none; }
  #about { background: var(--bg); }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .about-visual { position: relative; height: 380px; display: flex; align-items: center; justify-content: center; }
  .about-ring { width: 280px; height: 280px; border-radius: 50%; border: 2px solid var(--red); box-shadow: 0 0 60px var(--red-glow), inset 0 0 60px rgba(212,32,32,0.05); display: flex; align-items: center; justify-content: center; animation: pulse 3s ease-in-out infinite; }
  .about-ring-inner { width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(212,32,32,0.3); display: flex; align-items: center; justify-content: center; flex-direction: column; }
  .about-ring-text { font-family: 'Rajdhani', sans-serif; font-size: 1.4rem; font-weight: 700; text-align: center; line-height: 1.2; color: var(--white); }
  .about-ring-text span { color: var(--red); font-size: 2rem; }
  .floating-tag { position: absolute; background: var(--bg3); border: 1px solid var(--border); padding: 10px 16px; font-size: 0.78rem; font-weight: 600; letter-spacing: 1px; color: var(--silver); clip-path: polygon(6px 0%,100% 0%,calc(100% - 6px) 100%,0% 100%); }
  .ft1 { top: 40px; left: 0; animation: floatA 4s ease-in-out infinite; }
  .ft2 { bottom: 60px; right: 0; animation: floatB 4s ease-in-out infinite; }
  .ft3 { bottom: 20px; left: 20px; animation: floatA 5s ease-in-out infinite; }
  .about-content p { color: var(--muted); line-height: 1.8; font-size: 0.95rem; margin-top: 20px; margin-bottom: 36px; }
  .pillars { display: flex; flex-direction: column; gap: 16px; }
  .pillar { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--bg2); border-left: 3px solid var(--red); transition: background .2s; }
  .pillar:hover { background: var(--bg3); }
  .pillar-icon { font-size: 1.3rem; flex-shrink: 0; }
  .pillar-text h4 { font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 1px; color: var(--white); margin-bottom: 2px; }
  .pillar-text p { font-size: 0.82rem; color: var(--muted); margin: 0; line-height: 1.4; }
  #process { background: var(--bg2); }
  .process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; margin-top: 60px; position: relative; }
  .process-steps::before { content: ''; position: absolute; top: 36px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--red), transparent); }
  .process-step { text-align: center; padding: 0 20px; }
  .step-circle { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--red); background: var(--bg); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-family: 'Rajdhani', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--red); position: relative; z-index: 1; transition: background .3s, box-shadow .3s; }
  .process-step:hover .step-circle { background: var(--red); color: #fff; box-shadow: 0 0 30px var(--red-glow); }
  .process-step h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.05rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 8px; }
  .process-step p { font-size: 0.83rem; color: var(--muted); line-height: 1.6; }
  #tech { background: var(--bg); }
  .tech-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
  .tech-pill { padding: 10px 22px; border: 1px solid rgba(200,208,222,0.12); font-size: 0.82rem; font-weight: 600; letter-spacing: 1px; color: var(--silver); background: var(--bg2); clip-path: polygon(8px 0%,100% 0%,calc(100% - 8px) 100%,0% 100%); transition: border-color .2s, color .2s; }
  .tech-pill:hover { border-color: var(--red); color: var(--white); }
  #cta { background: linear-gradient(135deg, var(--bg2) 0%, #1a0808 50%, var(--bg2) 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
  #cta .section-inner { padding: 120px 40px; }
  .cta-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(212,32,32,.12) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
  #cta h2 { font-family: 'Rajdhani', sans-serif; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; margin-bottom: 16px; position: relative; z-index: 1; }
  #cta p { color: var(--muted); font-size: 1rem; max-width: 500px; margin: 0 auto 40px; position: relative; z-index: 1; }
  .cta-btns { display: flex; gap: 16px; justify-content: center; position: relative; z-index: 1; }
  .contact-info { margin-top: 48px; display: flex; gap: 40px; justify-content: center; position: relative; z-index: 1; flex-wrap: wrap; }
  .contact-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--muted); }
  .contact-item span:first-child { color: var(--red); font-size: 1rem; }
  footer { position: relative; z-index: 1; background: #080a0e; border-top: 1px solid rgba(255,255,255,0.05); padding: 40px 60px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
  .footer-logo { font-family: 'Rajdhani', sans-serif; font-size: 1.4rem; font-weight: 700; }
  .footer-logo span { color: var(--red); }
  .footer-tagline { font-size: 0.7rem; letter-spacing: 3px; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
  footer p { font-size: 0.8rem; color: var(--muted); }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes pulse { 0%,100% { box-shadow: 0 0 40px var(--red-glow), inset 0 0 40px rgba(212,32,32,0.05); } 50% { box-shadow: 0 0 80px rgba(212,32,32,.35), inset 0 0 60px rgba(212,32,32,0.1); } }
  @keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  @keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
  .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* ─── MARQUEE ─── */
  .marquee-wrap {
    position: relative; z-index: 1;
    background: var(--red);
    padding: 14px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 22s linear infinite;
  }
  .marquee-wrap:hover .marquee-track { animation-play-state: paused; }
  .marquee-item {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0 32px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .marquee-item::after { content: '✦'; font-size: 0.6rem; opacity: 0.7; }
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* ═══════════════════════════════
     MOBILE RESPONSIVO COMPLETO
  ═══════════════════════════════ */

  /* ─── HAMBURGER ─── */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 200;
  }
  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all .3s;
    border-radius: 2px;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  @media (max-width: 768px) {
    /* NAV */
    nav {
      padding: 14px 20px;
      position: fixed;
    }
    .hamburger { display: flex; }
    nav ul {
      display: flex !important;
      flex-direction: column;
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(10,12,18,0.98);
      backdrop-filter: blur(20px);
      align-items: center;
      justify-content: center;
      gap: 32px;
      transform: translateX(100%);
      transition: transform .3s ease;
      z-index: 150;
    }
    nav ul.open { transform: translateX(0); }
    nav ul a {
      font-size: 1.3rem;
      letter-spacing: 3px;
    }
    .nav-cta {
      padding: 12px 36px !important;
      font-size: 1rem !important;
    }

    /* HERO */
    #hero {
      padding: 100px 24px 60px;
      min-height: 100svh;
    }
    .hero-tag {
      font-size: 0.6rem;
      letter-spacing: 2px;
      padding: 4px 12px;
    }
    h1 { font-size: clamp(2.8rem, 12vw, 4rem); }
    .hero-sub {
      font-size: 0.72rem;
      letter-spacing: 2px;
    }
    .hero-desc {
      font-size: 0.9rem;
      margin-top: 16px;
    }
    .hero-btns {
      flex-direction: column;
      align-items: center;
      gap: 12px;
      margin-top: 28px;
    }
    .btn-primary, .btn-outline {
      width: 100%;
      max-width: 280px;
      text-align: center;
      justify-content: center;
      padding: 12px 24px;
    }

    /* MARQUEE */
    .marquee-item {
      font-size: 0.85rem;
      padding: 0 20px;
    }

    /* SECTIONS */
    .section-inner { padding: 60px 20px; }
    .section-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }

    /* SERVICES */
    .services-header {
      flex-direction: column;
      gap: 16px;
      margin-bottom: 32px;
    }
    .services-desc { max-width: 100%; }
    .services-grid {
      grid-template-columns: 1fr;
      gap: 3px;
    }
    .service-card { padding: 28px 24px; }

    /* ABOUT */
    .about-grid {
      grid-template-columns: 1fr;
      gap: 48px;
    }
    .about-visual {
      height: 280px;
    }
    .about-ring {
      width: 220px;
      height: 220px;
    }
    .about-ring-inner {
      width: 160px;
      height: 160px;
    }
    .floating-tag { font-size: 0.7rem; padding: 8px 12px; }
    .ft1 { top: 20px; left: 0; }
    .ft2 { bottom: 20px; right: 0; }
    .ft3 { display: none; }

    /* PROCESS */
    .process-steps {
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      margin-top: 40px;
    }
    .process-steps::before { display: none; }
    .process-step:last-child { grid-column: span 2; }
    .step-circle { width: 60px; height: 60px; font-size: 1.2rem; }
    .process-step h3 { font-size: 0.9rem; }
    .process-step p { font-size: 0.78rem; }

    /* TECH STACK */
    .tech-grid { gap: 8px; }
    .tech-pill {
      padding: 8px 14px;
      font-size: 0.72rem;
    }

    /* CTA */
    #cta .section-inner { padding: 80px 24px; }
    #cta h2 { font-size: clamp(1.6rem, 8vw, 2.4rem); }
    .cta-btns {
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }
    .contact-info {
      flex-direction: column;
      align-items: center;
      gap: 16px;
      margin-top: 32px;
    }

    /* FOOTER */
    footer {
      flex-direction: column;
      text-align: center;
      padding: 32px 20px;
      gap: 16px;
    }
    .footer-tagline { margin-top: 6px; }

    /* PILLARS */
    .pillar { padding: 14px 16px; }
  }

  @media (max-width: 400px) {
    .process-steps { grid-template-columns: 1fr; }
    .process-step:last-child { grid-column: span 1; }
    h1 { font-size: clamp(2.2rem, 14vw, 3rem); }
  }
