:root {
  --ink: #14171a;
  --muted: #5b6570;
  --line: #d9dee3;
  --paper: #f6f8fa;
  --white: #ffffff;
  --steel: #2f4858;
  --copper: #b86f2d;
  --signal: #f2c94c;
  --green: #2e7d67;
  --shadow: 0 16px 40px rgba(20, 23, 26, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  color: var(--white);
  background: rgba(18, 23, 28, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(20, 23, 26, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(20, 23, 26, 0.18);
}

.site-header.is-solid .brand-logo {
  box-shadow: 0 8px 18px rgba(20, 23, 26, 0.11);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: currentColor;
  opacity: 0.78;
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  font-size: 0.93rem;
}

.main-nav a {
  opacity: 0.88;
}

.main-nav a:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-eletrica.png");
  background-size: cover;
  background-position: center;
  z-index: -3;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 17, 20, 0.88) 0%, rgba(13, 17, 20, 0.66) 43%, rgba(13, 17, 20, 0.16) 100%),
    linear-gradient(0deg, rgba(13, 17, 20, 0.7) 0%, rgba(13, 17, 20, 0.06) 38%);
  z-index: -2;
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 80px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--signal);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  line-height: 0.92;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.hero-copy {
  width: min(650px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--ink);
  background: var(--signal);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(70px, 10vw, 112px) 0;
}

.band {
  background: var(--paper);
}

.intro-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.intro-grid p:last-child,
.contact-grid > div > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 236px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(20, 23, 26, 0.04);
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.icon {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--green);
  font-weight: 900;
}

.process {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.process-list div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.process-list div:last-child {
  border-right: 0;
}

.process-list strong {
  display: block;
  margin-bottom: 14px;
  color: var(--steel);
}

.process-list p {
  margin: 0;
  color: var(--muted);
}

.sector-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sector-strip span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 700;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  font-weight: 800;
}

.contact-list a {
  color: var(--green);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-size: 0.92rem;
  font-weight: 800;
}

.hidden-field {
  display: none;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd3da;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(242, 201, 76, 0.34);
  border-color: var(--copper);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.82);
  background: #11171d;
}

.site-footer a {
  color: var(--signal);
  font-weight: 800;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 18px 28px rgba(20, 23, 26, 0.12);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
  }

  .intro-grid,
  .contact-grid,
  .service-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-list div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    padding: 11px 16px;
  }

  .brand small {
    display: none;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 auto;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .site-footer {
    flex-direction: column;
  }
}
