:root {
  --yellow: #fbb900;
  --yellow-bright: #ffc400;
  --ink: #171717;
  --ink-soft: #242424;
  --paper: #f5f3ee;
  --white: #fff;
  --muted: #737373;
  --line: #dcd9d1;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.site-header {
  height: 94px;
  padding: 0 clamp(24px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  position: relative;
  z-index: 20;
}
.brand { width: 220px; height: 78px; overflow: hidden; display: flex; align-items: center; }
.brand img { width: 100%; transform: scale(1.5); }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 42px); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.nav a:not(.nav-cta) { position: relative; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--yellow); transition: .25s; }
.nav a:hover::after { right: 0; }
.nav-cta { background: var(--yellow); padding: 14px 20px; }
.menu-toggle { display: none; border: 0; background: none; padding: 10px; }
.menu-toggle span { display: block; width: 25px; height: 2px; margin: 5px; background: var(--ink); }

.hero { height: calc(100vh - 94px); min-height: 650px; position: relative; display: flex; align-items: center; color: white; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url("uploads/preparacao-acessos.jpeg") center/cover no-repeat; transform: scale(1.01); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,12,.92) 0%, rgba(12,12,12,.72) 42%, rgba(12,12,12,.12) 72%, rgba(12,12,12,.08) 100%); }
.hero-content { width: min(760px, 75vw); position: relative; margin-left: clamp(24px, 8vw, 125px); z-index: 2; }
.eyebrow { margin: 0 0 18px; color: var(--yellow); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 35px; height: 2px; margin: 0 12px 4px 0; background: currentColor; }
.hero h1, h2 { font-family: var(--display); text-transform: uppercase; line-height: .93; letter-spacing: -.02em; margin: 0; }
.hero h1 { font-size: clamp(58px, 7.3vw, 112px); }
.hero h1 span, h2 span { color: var(--yellow); }
.hero-copy { max-width: 610px; margin: 28px 0 34px; color: #ddd; font-size: 16px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 24px; padding: 0 25px; border: 1px solid transparent; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 800; cursor: pointer; transition: .2s; }
.button-primary { background: var(--yellow); color: var(--ink); }
.button-primary:hover { background: var(--yellow-bright); transform: translateY(-2px); }
.button-ghost { color: white; border-color: rgba(255,255,255,.55); }
.button-ghost:hover { background: white; color: var(--ink); }
.hero-stat { position: absolute; z-index: 3; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; width: 260px; padding: 25px 35px; background: var(--yellow); color: var(--ink); }
.hero-stat strong { font-family: var(--display); font-size: 44px; line-height: 1; }
.hero-stat span { font-size: 11px; text-transform: uppercase; font-weight: 700; line-height: 1.3; letter-spacing: .1em; }
.scroll-hint { position: absolute; z-index: 2; bottom: 28px; left: 50%; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; width: 42px; height: 42px; display: grid; place-items: center; }

.trust-strip { background: var(--white); display: grid; grid-template-columns: repeat(3, 1fr); padding: 30px clamp(24px, 8vw, 125px); }
.trust-strip > div { display: flex; align-items: center; justify-content: center; gap: 16px; border-right: 1px solid var(--line); }
.trust-strip > div:last-child { border: 0; }
.trust-icon { width: 40px; height: 40px; display: grid; place-items: center; background: var(--yellow); font-weight: 800; }
.trust-strip p { margin: 0; line-height: 1.3; }
.trust-strip strong, .trust-strip small { display: block; }
.trust-strip strong { font-size: 13px; }
.trust-strip small { margin-top: 4px; font-size: 11px; color: var(--muted); }

.section { max-width: 1220px; margin: auto; padding: 110px 30px; }
.section-label { color: #a2a099; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); position: absolute; left: 1.5vw; }
.intro { position: relative; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12vw; align-items: start; }
.dark { color: #9f7700; }
h2 { font-size: clamp(48px, 5vw, 76px); }
.intro-copy { padding-top: 30px; }
.intro-copy p { color: #5f5f5b; margin: 0 0 20px; font-size: 15px; }
.text-link { display: inline-block; margin-top: 15px; padding-bottom: 5px; border-bottom: 2px solid var(--yellow); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.text-link span { margin-left: 15px; }

.services-section { background: var(--ink); color: white; padding-bottom: 110px; }
.services-head { display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 90px; padding-bottom: 60px; }
.services-head > p { margin: 0 0 8px; color: #aaa; font-size: 14px; }
.service-grid { max-width: 1220px; margin: auto; padding: 0 30px; display: grid; grid-template-columns: repeat(3, 1fr); }
.service-card { min-height: 380px; padding: 32px; border: 1px solid #383838; position: relative; background: var(--ink-soft); transition: .25s; }
.service-card:nth-child(n+4) { border-top: 0; }
.service-card:not(:nth-child(3n)) { border-right: 0; }
.service-card:hover { background: #303030; transform: translateY(-4px); z-index: 2; }
.service-card.featured { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.service-number { position: absolute; top: 24px; right: 26px; color: #777; font-family: var(--display); font-size: 13px; }
.featured .service-number { color: rgba(0,0,0,.5); }
.service-symbol { height: 90px; display: flex; align-items: center; color: var(--yellow); font-family: var(--display); font-size: 66px; line-height: 1; }
.featured .service-symbol { color: var(--ink); }
.service-card h3 { margin: 15px 0; font-family: var(--display); font-size: 29px; line-height: 1; text-transform: uppercase; }
.service-card p { color: #aaa; font-size: 13px; }
.featured p { color: #3b3420; }
.service-card > a { position: absolute; left: 32px; bottom: 27px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #555; }
.featured > a { border-color: rgba(0,0,0,.35); }

.portfolio-section { padding: 20px 0 110px; background: var(--paper); }
.portfolio-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 80px; padding-bottom: 45px; }
.portfolio-head > p { color: var(--muted); max-width: 480px; }
.portfolio-filters { max-width: 1220px; margin: 0 auto 35px; padding: 0 30px; display: flex; gap: 9px; flex-wrap: wrap; }
.portfolio-filters button { border: 1px solid #c9c5bb; background: transparent; padding: 10px 16px; color: #666; cursor: pointer; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.portfolio-filters button.active, .portfolio-filters button:hover { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.portfolio-grid { max-width: 1220px; margin: auto; padding: 0 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.portfolio-card { min-height: 360px; position: relative; overflow: hidden; border: 0; padding: 0; text-align: left; color: white; background: #222; cursor: pointer; }
.portfolio-card img { width: 100%; height: 100%; position: absolute; object-fit: cover; transition: transform .4s; }
.portfolio-card:hover img { transform: scale(1.04); }
.portfolio-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.88)); }
.portfolio-card div { position: absolute; z-index: 1; left: 25px; right: 25px; bottom: 24px; }
.portfolio-card small { color: var(--yellow); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.portfolio-card h3 { margin: 5px 0 0; font: 700 27px/1 var(--display); text-transform: uppercase; }
.portfolio-empty { text-align: center; color: var(--muted); }
.portfolio-dialog { width: min(900px, calc(100% - 30px)); padding: 0; color: white; border: 0; background: #1d1d1d; }
.portfolio-dialog::backdrop { background: rgba(0,0,0,.82); }
.portfolio-dialog img { width: 100%; max-height: 580px; object-fit: cover; }
.portfolio-dialog > div { padding: 25px 30px 30px; }
.portfolio-dialog h3 { margin: 3px 0 8px; font: 700 32px/1 var(--display); text-transform: uppercase; }
.dialog-category { margin: 0; color: var(--yellow); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.dialog-description { margin: 0; color: #bbb; }
.dialog-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; background: var(--yellow); font-size: 25px; cursor: pointer; }

.contact-section { display: grid; grid-template-columns: .9fr 1.1fr; color: white; background: #202020; }
.contact-intro { padding: clamp(70px, 8vw, 120px); background: #171717; }
.contact-intro > p:not(.eyebrow):not(.company-data) { color: #aaa; max-width: 480px; }
.contact-intro address { border-left: 3px solid var(--yellow); margin-top: 40px; padding-left: 20px; font-style: normal; color: #ccc; }
.contact-intro address span { display: block; color: var(--yellow); font-size: 10px; text-transform: uppercase; letter-spacing: .15em; font-weight: 700; margin-bottom: 7px; }
.phone-line { margin-top: 28px; }
.phone-line span { display: block; color: var(--yellow); font-size: 10px; text-transform: uppercase; letter-spacing: .15em; font-weight: 700; }
.phone-line a { color: white; font: 700 28px var(--display); }
.company-data { color: #777; margin-top: 40px; font-size: 11px; }
.quote-form { padding: clamp(70px, 8vw, 120px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quote-form label { display: block; margin-bottom: 26px; color: #999; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; margin-top: 8px; padding: 13px 0; color: white; background: transparent; border: 0; border-bottom: 1px solid #555; outline: 0; resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--yellow); }
.quote-form select option { color: var(--ink); }
.form-status { min-height: 24px; color: var(--yellow); font-size: 13px; }

footer { min-height: 125px; display: flex; align-items: center; gap: 40px; padding: 25px clamp(24px, 5vw, 76px); background: white; color: #777; font-size: 11px; }
.footer-brand { width: 180px; height: 75px; display: flex; align-items: center; overflow: hidden; margin-right: auto; }
.footer-brand img { width: 100%; transform: scale(1.5); }

@media (max-width: 900px) {
  .site-header { height: 78px; }
  .brand { width: 170px; height: 65px; }
  .menu-toggle { display: block; z-index: 3; }
  .nav { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 28px; background: white; flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .nav-cta { text-align: center; }
  .hero { height: auto; min-height: 740px; }
  .hero-bg { background-position: 63% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(10,10,10,.9), rgba(10,10,10,.35)); }
  .hero-content { width: auto; margin: 0 24px; padding-bottom: 90px; }
  .hero-stat { width: 220px; padding: 20px 25px; }
  .scroll-hint { display: none; }
  .trust-strip { grid-template-columns: 1fr; gap: 18px; }
  .trust-strip > div { justify-content: flex-start; border: 0; }
  .intro-grid, .services-head, .portfolio-head, .contact-section { grid-template-columns: 1fr; }
  .intro-grid { gap: 40px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .service-card:nth-child(n) { border: 1px solid #383838; }
}

@media (max-width: 580px) {
  .hero h1 { font-size: 54px; }
  .hero-copy { font-size: 14px; }
  .section { padding: 80px 22px; }
  .section-label { display: none; }
  h2 { font-size: 48px; }
  .service-grid { grid-template-columns: 1fr; padding: 0 22px; }
  .portfolio-grid { grid-template-columns: 1fr; padding: 0 22px; }
  .service-card { min-height: 345px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  footer { flex-wrap: wrap; gap: 5px 25px; }
  footer p:last-child { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
