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

:root {
  --steel-dark:  #0d0f14;
  --steel-mid:   #1a1e27;
  --steel-light: #252b38;
  --molten:      #e8621a;
  --molten-glow: #ff8c42;
  --silver:      #a8b4c4;
  --white:       #f0f2f5;
  --text-muted:  #6b7a8d;
  --border:      rgba(168,180,196,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--steel-dark);
  color: var(--white);
  overflow-x: hidden;
}

/* ── NAV ──────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  height: 72px;
  background: rgba(13,15,20,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 44px; height: 44px;
  background: var(--molten);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px; color: #fff; letter-spacing: 1px;
  flex-shrink: 0;
}
.nav-logo-text { line-height: 1.1; }
.nav-logo-text span:first-child {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; letter-spacing: 3px; color: var(--white);
}
.nav-logo-text span:last-child {
  display: block;
  font-size: 10px; letter-spacing: 1.5px; color: var(--silver);
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--silver);
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  transition: color .25s;
  font-weight: 600;
}
.nav-links a:hover { color: var(--molten-glow); }

.nav-cta {
  padding: 10px 24px;
  background: var(--molten); color: #fff;
  border: none; cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background .25s;
  font-weight: 700;
}
.nav-cta:hover { background: var(--molten-glow); }

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 0 5vw;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(232,98,26,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 20% 80%, rgba(13,15,20,.9) 0%, transparent 80%),
    linear-gradient(135deg, #0d0f14 0%, #181e2a 50%, #0d0f14 100%);
}

/* grid lines */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

/* animated molten streak */
.hero-streak {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 50%; pointer-events: none;
}
.hero-streak::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  width: 3px; height: 200%;
  background: linear-gradient(180deg, transparent 0%, var(--molten) 40%, var(--molten-glow) 50%, var(--molten) 60%, transparent 100%);
  opacity: .35;
  animation: streakMove 4s ease-in-out infinite alternate;
}
@keyframes streakMove { from { opacity: .2; } to { opacity: .5; } }

.hero-content {
  position: relative; z-index: 2;
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--molten); margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 40px; height: 2px;
  background: var(--molten);
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 9vw, 130px);
  line-height: .93; letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 32px;
}
.hero-title em {
  font-style: normal; color: var(--molten);
  -webkit-text-stroke: 0px;
}

.hero-desc {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7; color: var(--silver);
  font-weight: 300; max-width: 560px;
  margin-bottom: 48px;
}

.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; }

.btn-primary {
  padding: 16px 36px;
  background: var(--molten); color: #fff;
  border: none; cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; letter-spacing: 2.5px; text-transform: uppercase;
  font-weight: 700;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: background .25s, transform .2s;
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--molten-glow); transform: translateY(-2px); }

.btn-outline {
  padding: 16px 36px;
  background: transparent; color: var(--silver);
  border: 1px solid rgba(168,180,196,.3);
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; letter-spacing: 2.5px; text-transform: uppercase;
  font-weight: 700;
  transition: border-color .25s, color .25s;
  text-decoration: none; display: inline-block;
}
.btn-outline:hover { border-color: var(--molten); color: var(--molten); }

/* stat strip */
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  z-index: 2;
}
.stat-item {
  padding: 28px 5vw;
  border-right: 1px solid var(--border);
  animation: fadeUp .6s ease both;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px; color: var(--molten); line-height: 1;
}
.stat-label { font-size: 12px; letter-spacing: 1px; color: var(--silver); text-transform: uppercase; margin-top: 4px; }

/* ── ABOUT ────────────────────────────────────────────── */
section { padding: 120px 5vw; }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--molten); margin-bottom: 20px;
}
.section-label::before {
  content: ''; width: 30px; height: 2px; background: var(--molten);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 5vw, 72px);
  letter-spacing: 1px; line-height: .95;
  color: var(--white); margin-bottom: 24px;
}

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

.about-visual {
  position: relative;
}
.about-visual-box {
  aspect-ratio: 4/3;
  background: var(--steel-light);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.about-visual-box::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 30% 70%, rgba(232,98,26,.25), transparent),
    linear-gradient(135deg, var(--steel-mid), var(--steel-light));
}
/* animated bars */
.steel-bars {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  gap: 6px; padding: 20px;
  justify-content: center;
}
.steel-bar {
  flex: 1; background: linear-gradient(180deg, var(--molten-glow), var(--molten));
  opacity: .7; border-radius: 2px 2px 0 0;
  animation: barGrow 2s ease both;
}
@keyframes barGrow { from { height: 0; } }

.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  width: 120px; height: 120px;
  background: var(--molten);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  text-align: center; line-height: 1.1;
}
.about-badge span:first-child { font-size: 36px; color: #fff; }
.about-badge span:last-child { font-size: 11px; letter-spacing: 1px; color: rgba(255,255,255,.8); }

.about-text p {
  color: var(--silver); font-size: 17px; line-height: 1.8;
  font-weight: 300; margin-bottom: 20px;
}
.about-pillars {
  margin-top: 40px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pillar {
  padding: 20px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--molten);
  background: var(--steel-mid);
}
.pillar-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--white); margin-bottom: 6px; font-weight: 700;
}
.pillar-text { font-size: 13px; color: var(--silver); line-height: 1.5; }

/* ── SOLUTIONS ────────────────────────────────────────── */
#solucoes { background: var(--steel-mid); }

.solutions-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: end;
  margin-bottom: 60px;
}
.solutions-intro { color: var(--silver); font-size: 17px; line-height: 1.7; font-weight: 300; }

.solutions-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
}
.solution-card {
  background: var(--steel-dark);
  padding: 48px 36px;
  position: relative; overflow: hidden;
  transition: background .3s;
}
.solution-card:hover { background: #161b24; }
.solution-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--molten), var(--molten-glow));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.solution-card:hover::before { transform: scaleX(1); }

.sol-icon {
  width: 52px; height: 52px; margin-bottom: 28px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  color: var(--molten); font-size: 22px;
}
.sol-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px; color: var(--border);
  position: absolute; top: 24px; right: 24px;
  line-height: 1; user-select: none;
  transition: color .3s;
}
.solution-card:hover .sol-num { color: rgba(232,98,26,.15); }

.sol-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--white); margin-bottom: 14px; font-weight: 700;
}
.sol-text { font-size: 14px; color: var(--silver); line-height: 1.7; }

/* ── SUSTAINABILITY ───────────────────────────────────── */
#sustentabilidade {
  position: relative; overflow: hidden;
}
#sustentabilidade::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background: linear-gradient(135deg, transparent, rgba(232,98,26,.07));
  pointer-events: none;
}

.sustain-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 32px; margin-top: 60px;
}
.sustain-card {
  padding: 40px 32px;
  border: 1px solid var(--border);
  position: relative;
  transition: border-color .3s, transform .3s;
}
.sustain-card:hover { border-color: var(--molten); transform: translateY(-4px); }

.sustain-icon {
  font-size: 40px; margin-bottom: 20px;
  display: block;
}
.sustain-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; color: var(--white); margin-bottom: 12px;
}
.sustain-text { font-size: 14px; color: var(--silver); line-height: 1.7; }

/* ── CONTACT BANNER ───────────────────────────────────── */
.contact-banner {
  padding: 100px 5vw;
  background: var(--steel-light);
  position: relative; overflow: hidden;
  text-align: center;
}
.contact-banner::before {
  content: 'USIMINAS';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22vw; color: rgba(255,255,255,.02);
  white-space: nowrap; pointer-events: none;
  letter-spacing: 10px;
}
.contact-banner .section-title { margin-bottom: 16px; }
.contact-banner p {
  font-size: 17px; color: var(--silver);
  max-width: 480px; margin: 0 auto 40px; line-height: 1.7; font-weight: 300;
}

/* ── FOOTER ───────────────────────────────────────────── */
footer {
  background: #080a0d;
  border-top: 1px solid var(--border);
}

.footer-main {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding: 80px 5vw 60px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .nav-logo-text span:first-child { font-size: 26px; }
.footer-desc {
  margin-top: 20px;
  font-size: 14px; color: var(--text-muted); line-height: 1.7;
}
.footer-address {
  margin-top: 20px;
  font-size: 13px; color: var(--silver); line-height: 1.8;
}
.footer-address strong {
  display: block; font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--molten); margin-bottom: 6px;
}

.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--silver); margin-bottom: 20px; font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  text-decoration: none; color: var(--text-muted);
  font-size: 14px; transition: color .2s;
}
.footer-col ul li a:hover { color: var(--molten); }

.footer-bottom {
  padding: 28px 5vw;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-legal {
  font-size: 12px; color: var(--text-muted);
}
.footer-links {
  display: flex; gap: 24px;
}
.footer-links a {
  font-size: 12px; color: var(--text-muted);
  text-decoration: none; transition: color .2s;
}
.footer-links a:hover { color: var(--molten); }

/* ── ANIMATIONS ───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .7s ease both; }
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s; }
.delay-3 { animation-delay: .45s; }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid, .solutions-header, .footer-main { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .sustain-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
