:root {
  --yellow: #ffd600;
  --yellow-soft: #ffea66;
  --black: #0a0a0a;
  --black-2: #111111;
  --gray-1: #1a1a1a;
  --gray-2: #262626;
  --gray-3: #7f7f7f;
  --white: #ffffff;
  --text-soft: #d2d2d2;
  --line: rgba(255, 214, 0, .28);
  --shadow: 0 18px 45px rgba(0, 0, 0, .32);
  --radius: 18px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.container {
  width: min(100% - 36px, var(--container));
  margin-inline: auto;
}

.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }

.section-kicker {
  color: var(--yellow);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin: 0 0 10px;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.section-subtitle {
  margin: 14px 0 0;
  max-width: 720px;
  color: var(--text-soft);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 10, 10, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 214, 0, .15);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 208px;
  height: 58px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #d7d7d7;
  font-size: .9rem;
}

.nav-links a:hover { color: var(--yellow); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: #0b0b0b;
  padding: 11px 17px;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 800;
}

.nav-cta:hover { background: #ffe64c; }

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 700px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 77% 28%, rgba(255,214,0,.12), transparent 26%),
    linear-gradient(180deg, #0b0b0b 0%, #060606 100%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto -10% 42px 35%;
  height: 2px;
  background: var(--yellow);
  opacity: .82;
  transform: skewX(-18deg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 56px;
  align-items: center;
}

.hero-copy { position: relative; z-index: 1; }
.hero-copy h1 {
  margin: 0;
  max-width: 740px;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: .95;
  letter-spacing: -.055em;
}

.hero-copy h1 span { color: var(--yellow); }
.hero-copy p {
  max-width: 650px;
  color: var(--text-soft);
  font-size: 1.05rem;
  margin: 22px 0 0;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: #0b0b0b; }
.btn-secondary { border-color: #3a3a3a; background: #0f0f0f; color: #fff; }
.btn-secondary:hover { border-color: var(--yellow); color: var(--yellow); }

.hero-panel {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,214,0,.08), rgba(255,255,255,.025));
  padding: 22px;
  box-shadow: var(--shadow);
}

.hero-panel::before,
.hero-panel::after {
  content: '';
  position: absolute;
  background: var(--yellow);
}
.hero-panel::before { width: 64px; height: 4px; top: -2px; left: 34px; }
.hero-panel::after { width: 4px; height: 64px; right: -2px; top: 30px; }

.hero-slideshow {
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 17px;
  background: #151515;
}

.hero-slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 17px;
  opacity: .96;
  transition: opacity .3s ease, transform .3s ease;
}

.hero-slideshow img.is-changing { opacity: 0; transform: scale(1.02); }

.hero-panel-caption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 4px 2px;
  font-size: .88rem;
}
.hero-panel-caption strong { color: var(--yellow); }
.hero-panel-caption span { color: #bcbcbc; text-align: right; }

/* STANDARDS */
.standards-wrap {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.standard-card {
  padding: 24px;
  border: 1px solid #2b2b2b;
  border-radius: var(--radius);
  background: var(--black-2);
}

.standard-number {
  color: var(--yellow);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.standard-card h3 { margin: 9px 0 7px; font-size: 1.25rem; }
.standard-card p { margin: 0; color: #ababab; font-size: .92rem; }

/* PRODUCTS */
.products-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.product-card {
  position: relative;
  overflow: hidden;
  background: var(--black-2);
  border: 1px solid #2a2a2a;
  border-radius: var(--radius);
  padding: 28px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card::before {
  content: '';
  position: absolute;
  width: 95px;
  height: 95px;
  border: 2px solid var(--yellow);
  right: -40px;
  top: -40px;
  transform: rotate(45deg);
  opacity: .28;
}

.product-index {
  color: var(--yellow);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.product-card h3 { font-size: 1.42rem; margin: 10px 0 10px; max-width: 470px; }
.product-card p { color: #bdbdbd; margin: 0; max-width: 520px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  font-size: .74rem;
  padding: 6px 9px;
  border-radius: 999px;
  background: #1f1f1f;
  color: #ddd;
  border: 1px solid #313131;
}

.card-actions { margin-top: 26px; }
.card-actions .btn { width: 100%; }

/* SERVICE */
.service-card {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 30px;
  background: linear-gradient(120deg, rgba(255,214,0,.11), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: center;
}
.service-card h3 { margin: 0 0 8px; font-size: 1.7rem; }
.service-card p { margin: 0; color: #c2c2c2; max-width: 800px; }

/* MATERIAIS ELÉTRICOS */
.materials-section {
  background: linear-gradient(180deg, #0d0d0d 0%, #090909 100%);
  border-top: 1px solid rgba(255, 214, 0, .12);
  border-bottom: 1px solid rgba(255, 214, 0, .12);
}

.materials-layout {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 42px;
}

.materials-intro {
  margin: 0 0 24px;
  max-width: 620px;
  color: var(--text-soft);
  font-size: 1rem;
}

.materials-categories {
  display: grid;
  gap: 12px;
}

.materials-category {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  align-items: start;
  padding: 17px 18px;
  background: var(--black-2);
  border: 1px solid #292929;
  border-radius: 14px;
}

.materials-category-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--yellow);
  font-size: .78rem;
  font-weight: 900;
}

.materials-category h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.materials-category p {
  margin: 0;
  color: #aaa;
  font-size: .88rem;
}

.materials-cta { margin-top: 22px; }

.materials-gallery-frame {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,214,0,.08), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
}

.materials-gallery {
  position: relative;
  min-height: 430px;
  height: clamp(340px, 38vw, 490px);
  overflow: hidden;
  border-radius: 16px;
  background: #171717;
}

.materials-gallery > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .28s ease, transform .28s ease;
}

.materials-gallery > img.is-changing { opacity: 0; transform: scale(1.025); }

.materials-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 35px;
  text-align: center;
  color: #e8e8e8;
  background: radial-gradient(circle at 50% 40%, rgba(255,214,0,.12), transparent 42%), #171717;
}

.materials-placeholder[hidden] { display: none; }
.materials-placeholder strong { color: var(--yellow); font-size: 1.15rem; }
.materials-placeholder span { max-width: 330px; color: #aaa; font-size: .9rem; }
.materials-placeholder b { color: #e5e5e5; }

.materials-photo-caption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 4px;
  padding: 52px 24px 25px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.86));
  pointer-events: none;
}

.materials-photo-caption span {
  color: var(--yellow);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.materials-photo-caption strong { font-size: 1.2rem; }

.gallery-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0 0 4px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,214,0,.5);
  border-radius: 50%;
  background: rgba(8,8,8,.78);
  color: var(--yellow);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-control:hover { background: var(--yellow); color: #0a0a0a; }
.gallery-control--prev { left: 15px; }
.gallery-control--next { right: 15px; }

.materials-gallery-dots {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 12px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.materials-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.52);
  cursor: pointer;
}

.materials-dot.is-active { width: 22px; border-radius: 10px; background: var(--yellow); }

.materials-gallery-dots[hidden], .gallery-control[hidden] { display: none; }

/* CONTACT */
.contact-box {
  position: relative;
  padding: 40px;
  border-radius: 26px;
  overflow: hidden;
  background: var(--yellow);
  color: #0a0a0a;
}
.contact-box::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border: 14px solid rgba(0,0,0,.12);
  border-radius: 50%;
  right: -80px;
  top: -80px;
}
.contact-box h2 { margin: 0; max-width: 720px; font-size: clamp(2rem, 4.5vw, 4rem); letter-spacing: -.04em; line-height: 1; }
.contact-box > p { max-width: 720px; margin: 15px 0 0; color: #252525; }

.contact-form {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.contact-form .full { grid-column: 1 / -1; }
.field {
  width: 100%;
  border: 1px solid rgba(0,0,0,.25);
  background: rgba(255,255,255,.55);
  color: #101010;
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
}
.field:focus { border-color: #111; background: #fff; }
textarea.field { min-height: 110px; resize: vertical; }
.contact-form .btn { border-color: #0b0b0b; cursor: pointer; }

.quick-links {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 13px;
  position: relative;
  z-index: 1;
}
.quick-link {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid #111;
  border-radius: 50%;
  background: #111;
  color: #fff;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.quick-link svg {
  display: block;
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.quick-link:first-child svg path:last-child {
  fill: currentColor;
  stroke: none;
}
.quick-link:hover {
  transform: translateY(-3px);
  background: #fff;
  color: #111;
}
.quick-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

/* FOOTER */
footer {
  border-top: 1px solid #232323;
  padding: 32px 0 44px;
  color: #949494;
  font-size: .84rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.footer-brand { color: var(--white); font-weight: 800; }
.footer-brand span { color: var(--yellow); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 70px 0 90px; }
  .hero-panel { max-width: 720px; }
  .hero-slideshow { height: 360px; }
  .products-grid { grid-template-columns: 1fr; }
  .materials-layout { grid-template-columns: 1fr; }
  .materials-gallery { height: 420px; }
  .service-card { grid-template-columns: 1fr; }
  .quick-links { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 24px, var(--container)); }
  .section { padding: 60px 0; }
  .nav { min-height: 66px; }
  .nav-links { display: none; }
  .brand img { width: 175px; height: 50px; }
  .nav-cta { padding: 9px 13px; font-size: .78rem; }
  .hero-copy h1 { font-size: clamp(2.8rem, 15vw, 4.5rem); }
  .hero-panel { padding: 13px; border-radius: 20px; }
  .hero-slideshow { height: 300px; }
  .materials-layout { gap: 26px; }
  .materials-gallery-frame { padding: 9px; border-radius: 19px; }
  .materials-gallery { min-height: 300px; height: 340px; }
  .materials-photo-caption { padding: 42px 18px 23px; }
  .materials-photo-caption strong { font-size: 1.05rem; }
  .materials-category { padding: 15px; }
  .materials-cta { width: 100%; }
  .standards-wrap { grid-template-columns: 1fr; }
  .contact-box { padding: 28px 22px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .full { grid-column: auto; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
