/* extracted from index.html *//* ============================
   CSS VARIABLES & RESET
   ============================ */
:root {
  --red:     #E63A2E;
  --orange:  #F47B20;
  --yellow:  #FFDD57;
  --black:   #0D0D0D;
  --white:   #F5F5F5;
  --gray:    #666666;
  --gray-dark: #1A1A1A;
  --gray-mid: #2A2A2A;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

/* ============================
   NOISE TEXTURE OVERLAY
   ============================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

/* ============================
   SCROLLBAR
   ============================ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }

/* ============================
   TYPOGRAPHY
   ============================ */
h1, h2, h3 { font-family: 'Bebas Neue', sans-serif; line-height: 1; }
.mono { font-family: 'JetBrains Mono', monospace; }

/* ============================
   NAV
   ============================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5vw;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-flame {
  width: 32px;
  height: 40px;
  filter: drop-shadow(0 0 6px rgba(230,58,46,0.7));
  animation: flicker 3s ease-in-out infinite;
}

@keyframes flicker {
  0%,100% { filter: drop-shadow(0 0 6px rgba(230,58,46,0.7)); }
  40%      { filter: drop-shadow(0 0 12px rgba(230,58,46,1)) drop-shadow(0 0 24px rgba(244,123,32,0.5)); }
  70%      { filter: drop-shadow(0 0 4px rgba(230,58,46,0.5)); }
}

.nav-wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 5px;
  color: var(--white);
}
.nav-wordmark span { color: var(--orange); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  padding: 10px 24px;
  border: 1px solid var(--red);
  color: var(--red) !important;
  border-radius: 2px;
  letter-spacing: 2px !important;
  transition: background .2s, color .2s !important;
}
.nav-cta:hover {
  background: var(--red) !important;
  color: var(--white) !important;
}

.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-burger span { width: 24px; height: 1.5px; background: var(--white); display: block; transition: .3s; }

/* ============================
   SECTION BASE
   ============================ */
section {
  padding: 120px 5vw;
  position: relative;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--red);
  opacity: 0.5;
}

/* ============================
   HERO
   ============================ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 68px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(230,58,46,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero-glow2 {
  position: absolute;
  bottom: 0;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(244,123,32,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.hero-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-tag::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--orange);
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 8vw, 120px);
  line-height: 0.9;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title .fire { color: var(--orange); }
.hero-title .outline {
  -webkit-text-stroke: 1px rgba(245,245,245,0.3);
  color: transparent;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray);
  max-width: 480px;
  margin-bottom: 48px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 14px 36px;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: background .2s, transform .2s;
  display: inline-block;
}
.btn-primary:hover { background: #c92e24; transform: translateY(-1px); }

.btn-outline {
  padding: 14px 36px;
  border: 1px solid rgba(245,245,245,0.2);
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 400;
  border-radius: 2px;
  transition: border-color .2s, color .2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--white); }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-flame-wrap {
  position: relative;
  width: 280px;
  height: 360px;
}

.hero-flame-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 30px rgba(230,58,46,0.6)) drop-shadow(0 0 80px rgba(244,123,32,0.3));
  animation: heroFlicker 3s ease-in-out infinite;
}

@keyframes heroFlicker {
  0%,100% { transform: scaleY(1) scaleX(1); }
  30%     { transform: scaleY(1.03) scaleX(0.99); }
  60%     { transform: scaleY(0.97) scaleX(1.01); }
}

.hero-orbit {
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(230,58,46,0.15);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotate 12s linear infinite;
}

.hero-orbit::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--red);
  transform: translateX(-50%);
}

.hero-orbit2 {
  position: absolute;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(244,123,32,0.08);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotate 20s linear infinite reverse;
}

@keyframes rotate { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Stats row */
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.stat-item {}
.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  color: var(--white);
  line-height: 1;
}
.stat-number span { color: var(--orange); }
.stat-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gray);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ============================
   ABOUT
   ============================ */
#sobre {
  background: var(--gray-dark);
}

.about-grid {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 5vw, 80px);
  line-height: 0.95;
  margin-bottom: 32px;
}
.about-heading em {
  font-style: normal;
  color: var(--orange);
}

.about-body {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(245,245,245,0.7);
  margin-bottom: 20px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.tag {
  padding: 6px 16px;
  border: 1px solid rgba(244,123,32,0.3);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  border-radius: 2px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.value-item {
  padding: 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-left: 3px solid var(--red);
  border-radius: 0 4px 4px 0;
  transition: background .2s;
}
.value-item:hover { background: rgba(230,58,46,0.05); }

.value-icon {
  font-size: 20px;
  margin-bottom: 10px;
}
.value-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 6px;
  color: var(--white);
}
.value-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

/* ============================
   SERVICES
   ============================ */
#servicos {
  background: var(--black);
}

.services-heading {
  max-width: 1200px;
  margin-bottom: 64px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.services-heading h2 {
  font-size: clamp(48px, 5vw, 80px);
  line-height: 0.95;
}
.services-heading h2 em { font-style: normal; color: var(--orange); }

.services-grid {
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
}

.service-card {
  padding: 40px 36px;
  background: var(--black);
  position: relative;
  overflow: hidden;
  transition: background .3s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--red), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: rgba(230,58,46,0.04); }

.service-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 24px;
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(230,58,46,0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 22px;
}

.service-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--white);
}

.service-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tech-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(245,245,245,0.4);
  border-radius: 2px;
}

/* ============================
   PORTFOLIO
   ============================ */
#portfolio {
  background: var(--gray-dark);
}

.portfolio-header {
  max-width: 1200px;
  margin-bottom: 64px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.portfolio-header h2 {
  font-size: clamp(48px, 5vw, 80px);
  line-height: 0.95;
}
.portfolio-header h2 em { font-style: normal; color: var(--red); }

.projects-grid {
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.project-card {
  background: var(--gray-mid);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .3s, border-color .3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230,58,46,0.3);
}

.project-card.wide, .project-card.size-wide { grid-column: span 7; }
.project-card.narrow, .project-card.size-narrow { grid-column: span 5; }
.project-card.full, .project-card.size-full { grid-column: span 12; }
.project-card.half, .project-card.size-half { grid-column: span 6; }

.project-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--black);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  pointer-events: none;
}

.project-thumb-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230,58,46,0.08), rgba(244,123,32,0.05));
}

.project-thumb-icon {
  font-size: 48px;
  position: relative;
  z-index: 1;
  opacity: 0.6;
}

.project-type-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(230,58,46,0.4);
  color: var(--orange);
  border-radius: 2px;
}

.project-body {
  padding: 24px;
}

.project-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: var(--white);
}

.project-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.stack-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 3px 8px;
  background: rgba(230,58,46,0.08);
  color: var(--orange);
  border-radius: 2px;
}

/* ============================
   PROCESS
   ============================ */
#processo {
  background: var(--black);
}

.process-inner {
  max-width: 1200px;
}

.process-heading {
  font-size: clamp(48px, 5vw, 80px);
  margin-bottom: 72px;
  line-height: 0.95;
}
.process-heading em { font-style: normal; color: var(--orange); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.04);
}

.process-step {
  background: var(--black);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}

.step-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
  color: rgba(255,255,255,0.03);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}

.step-dot {
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  margin-bottom: 24px;
  box-shadow: 0 0 16px var(--red);
}

.step-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--white);
}

.step-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
}

/* ============================
   CONTACT
   ============================ */
#contato {
  background: var(--gray-dark);
}

.contact-inner {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-heading {
  font-size: clamp(48px, 5vw, 80px);
  margin-bottom: 24px;
  line-height: 0.95;
}
.contact-heading em { font-style: normal; color: var(--red); }

.contact-body {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 48px;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  background: rgba(230,58,46,0.08);
  border: 1px solid rgba(230,58,46,0.2);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.contact-info-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 2px;
}
.contact-info-value {
  font-size: 14px;
  color: var(--white);
}
.contact-info-value a {
  color: var(--white);
  text-decoration: none;
  transition: color .2s;
}
.contact-info-value a:hover { color: var(--orange); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
}

.form-input, .form-textarea {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  padding: 14px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  border-radius: 2px;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--red);
}
.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-form {
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: var(--white);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: opacity .2s, transform .2s;
  align-self: flex-start;
}
.btn-form:hover { opacity: 0.9; transform: translateY(-1px); }

/* ============================
   FOOTER
   ============================ */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 48px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.footer-flame {
  width: 24px;
  height: 30px;
  filter: drop-shadow(0 0 4px rgba(230,58,46,0.5));
}
.footer-wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 4px;
  color: var(--white);
}
.footer-wordmark span { color: var(--orange); }

.footer-slogan {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray);
}
.footer-slogan em { font-style: normal; color: var(--red); }

.footer-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(102,102,102,0.5);
}

/* ============================
   ANIMATIONS
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================
   MOBILE
   ============================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .hero-stats { gap: 32px; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }

  .services-heading { flex-direction: column; align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr; }

  .portfolio-header { flex-direction: column; align-items: flex-start; }
  .project-card.wide,
  .project-card.narrow,
  .project-card.full,
  .project-card.half,
  .project-card.size-wide,
  .project-card.size-narrow,
  .project-card.size-full,
  .project-card.size-half { grid-column: span 12; }

  .process-steps { grid-template-columns: 1fr 1fr; }

  .contact-inner { grid-template-columns: 1fr; gap: 48px; }

  .form-row { grid-template-columns: 1fr; }
