:root {
  --azul: #061827;
  --azul-2: #0b2336;
  --vermelho: #b5121b;
  --vermelho-2: #e01b2d;
  --branco: #ffffff;
  --cinza: #eef2f5;
  --texto: #13202d;
  --muted: #66717d;
  --sombra: 0 18px 50px rgba(0,0,0,.18);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: poppins Montserrat, Plus Jakarta Sans, Manrope, Urbanist, Poppins, Arial, Helvetica, sans-serif;
  color: var(--texto);
  background: var(--branco);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, 92%);
  margin: auto;
}

.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
  background: rgba(6, 24, 39, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav {
  height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--branco);
  font-weight: 900;
  letter-spacing: 1px;
}

.mark {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--vermelho), #7e0710);
  clip-path: polygon(50% 0, 100% 100%, 70% 100%, 50% 55%, 30% 100%, 0 100%);
}

.brand small {
  display: block;
  font-size: 11px;
  letter-spacing: 6px;
  font-weight: 500;
}

.menu {
  display: none;
}

.menu-btn {
  background: none;
  border: 0;
  color: var(--branco);
  font-size: 30px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  padding: 0 0 18px;
}

.mobile-menu a {
  display: block;
  color: var(--branco);
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

.mobile-menu.active {
  display: block;
}

.hero {
  min-height: 100vh;
  padding-top: 120px;
  color: var(--branco);
  background:
    linear-gradient(105deg, rgba(6,24,39,.98) 0%, rgba(6,24,39,.92) 48%, rgba(6,24,39,.35) 100%),
    url("../assets/images/hero-background.png") center/cover;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: 0;
  width: 170px;
  height: 100%;
  background: var(--vermelho);
  transform: skewX(-18deg);
  box-shadow: -14px 0 0 rgba(255,255,255,.85);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-bottom: 70px;
}

.tag {
  display: inline-block;
  background: rgba(181,18,27,.18);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--branco);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  font-size: 14px;
  font-weight: 700;
}

h1 {
  font-size: clamp(36px, 8vw, 76px);
  line-height: .95;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--vermelho-2);
}

.hero p {
  font-size: 19px;
  max-width: 560px;
  color: #e9eef3;
  margin-bottom: 28px;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 15px 22px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
  transition: .25s;
}

.btn-primary {
  background: var(--vermelho);
  color: var(--branco);
}

.btn-primary:hover {
  background: var(--vermelho-2);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,.38);
  color: var(--branco);
}

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 40px;
}

.stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  padding: 18px;
  border-radius: 14px;
}

.stat strong {
  display: block;
  font-size: 30px;
  color: var(--branco);
}

section {
  padding: 78px 0;
}

.section-title {
  margin-bottom: 36px;
}

.eyebrow {
  color: var(--vermelho);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

h2 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
  color: var(--azul);
}

.about {
  background: var(--cinza);
}

.about-grid {
  display: grid;
  gap: 28px;
}

.about-card {
  background: var(--branco);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  border-left: 6px solid var(--vermelho);
}

.signature {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #dde5ec;
  font-weight: 900;
  color: var(--azul);
}

.services-grid,
.portfolio-grid {
  display: grid;
  gap: 18px;
}

.service {
  background: var(--branco);
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid #dfe6ed;
  transition: .25s;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra);
  border-color: var(--vermelho);
}

.icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--azul);
  color: var(--branco);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 18px;
  border: 4px solid #eef2f5;
}

.service h3,
.portfolio h3 {
  color: var(--azul);
  margin-bottom: 10px;
  font-size: 21px;
}

.dark-band {
  background:
    linear-gradient(135deg, rgba(6,24,39,.96), rgba(6,24,39,.9)),
    url("../assets/images/portfolio-section-background.png") center/cover;
  color: var(--branco);
}

.dark-band h2,
.dark-band h3 {
  color: var(--branco);
}

.portfolio-item {
  min-height: 230px;
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    linear-gradient(to top, rgba(6,24,39,.95), rgba(6,24,39,.25)),
    url("../assets/images/portfolio-empresarial.png") center/cover;
  overflow: hidden;
}

.portfolio-item:nth-child(2) {
  background:
    linear-gradient(to top, rgba(6,24,39,.95), rgba(6,24,39,.25)),
    url("../assets/images/portfolio-industrial.png") center/cover;
}

.portfolio-item:nth-child(3) {
  background:
    linear-gradient(to top, rgba(6,24,39,.95), rgba(6,24,39,.25)),
    url("../assets/images/portfolio-condominios.png") center/cover;
}

.portfolio-item span {
  width: fit-content;
  background: var(--vermelho);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}

.contact-section {
  background: var(--cinza);
}

.contact-intro {
  max-width: 760px;
}

.contact-form {
  max-width: 820px;
  margin: 0 auto;
  background: var(--branco);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--sombra);
}

input,
textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border: 1px solid #ccd6df;
  border-radius: 10px;
  font: inherit;
  outline: none;
  background: var(--branco);
}

input:focus,
textarea:focus {
  border-color: var(--vermelho);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.privacy-notice {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: -2px 0 12px;
}

.text-link,
.footer-link {
  background: none;
  border: 0;
  color: var(--vermelho);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  width: 100%;
  color: var(--texto);
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 18px;
}

.privacy-consent input {
  width: 18px;
  height: 18px;
  padding: 0;
  margin: 2px 0 0;
  border: 0;
  accent-color: var(--vermelho);
}

.privacy-consent span {
  min-width: 0;
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.location-section {
  background: var(--azul);
  color: var(--branco);
}

.location-section h2 {
  color: var(--branco);
}

.location-wrapper {
  display: grid;
  gap: 30px;
}

.location-info {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-left: 6px solid var(--vermelho);
  padding: 26px;
  border-radius: var(--radius);
}

.location-info p {
  color: #d9e2ea;
  margin-bottom: 18px;
  font-size: 17px;
}

.location-info p:last-child {
  margin-bottom: 0;
}

.location-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.location-list div {
  color: #e9eef3;
}

.map {
  border-radius: var(--radius);
  overflow: hidden;
  background: #ddd;
  min-height: 320px;
  box-shadow: var(--sombra);
}

iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

footer {
  background: #030c14;
  color: var(--branco);
  text-align: center;
  padding: 28px 0;
  font-size: 14px;
}

footer p {
  margin-bottom: 8px;
}


.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.privacy-modal.active {
  display: flex;
}

.privacy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 12, 20, .58);
}

.privacy-modal__panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(78vh, 620px);
  overflow: auto;
  background: var(--branco);
  border-radius: 12px;
  box-shadow: var(--sombra);
  padding: 24px;
}

.privacy-modal__panel h2 {
  font-size: 26px;
  margin-bottom: 14px;
}

.privacy-modal__panel p {
  color: var(--texto);
  font-size: 15px;
  margin-bottom: 12px;
}

.privacy-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--cinza);
  color: var(--azul);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.cookie-notice {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 50;
  width: min(380px, calc(100% - 32px));
  display: none;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.96);
  color: var(--texto);
  border: 1px solid #dfe6ed;
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(0,0,0,.16);
  padding: 12px 14px;
}

.cookie-notice.active {
  display: flex;
}

.cookie-notice p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.cookie-notice__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-notice__button {
  border: 0;
  border-radius: 8px;
  background: var(--vermelho);
  color: var(--branco);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
}

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: grid;
  place-items: center;
  font-size: 31px;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

@media (min-width: 720px) {
  .menu-btn,
  .mobile-menu {
    display: none;
  }

  .menu {
    display: flex;
    gap: 24px;
    color: var(--branco);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .menu a:hover {
    color: var(--vermelho-2);
  }

  .actions {
    flex-direction: row;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-form {
    padding: 40px;
  }
}

@media (min-width: 900px) {
  .location-wrapper {
    grid-template-columns: 380px 1fr;
    align-items: stretch;
  }

  .location-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  iframe {
    height: 420px;
  }
}

@media (max-width: 520px) {
  .cookie-notice {
    bottom: 88px;
    align-items: flex-start;
  }
}
