/* =========================================================
   VHL KITS — estilos base (desktop first)
   Todas as cores centralizadas em variáveis.
   ========================================================= */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

:root {
  --bg-dark: #0b141b;
  --bg-dark-2: #101b23;
  --bg-card: #111c25;
  --orange: #ffa32b;
  --orange-hover: #ef9017;
  --bg-light: #f5f6f8;
  --text-dark: #101820;
  --text-white: #ffffff;
  --text-soft: #cbd2da;
  --text-muted: #475569;
  --line-light: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(16, 24, 32, 0.55);

  --container: 1160px;
  --gutter: 24px;
  --radius: 4px;
  --header-h: 65px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--text-dark); padding: 8px 14px; z-index: 200; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { left: 8px; }
.accent { color: var(--orange); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--text-soft);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--orange); flex: none; }
.eyebrow-dark { color: var(--text-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 22px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn .icon { flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--text-dark); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-outline { background: transparent; color: var(--text-white); border-color: rgba(255, 255, 255, 0.65); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }
.btn-outline-dark { background: transparent; color: var(--text-dark); border-color: var(--line-dark); }
.btn-outline-dark:hover { background: rgba(16, 24, 32, 0.06); border-color: var(--text-dark); }
.btn-block { width: 100%; height: 50px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: var(--bg-dark); border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.brand img { height: 46px; width: auto; }
.footer-inner .brand img { height: 58px; }
.brand-text { white-space: nowrap; font-size: 28px; letter-spacing: 0.01em; font-weight: 300; color: #fff; line-height: 1; }
.brand-text strong { font-weight: 800; }
.main-nav { display: contents; }
.main-nav ul { display: flex; gap: 36px; }
.main-nav ul a {
  position: relative; display: block; padding: 8px 0; font-size: 13px; font-weight: 500; color: #e7ebf0;
  transition: color 0.2s var(--ease);
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.main-nav ul a:hover { color: #fff; }
.main-nav ul a.is-active { color: var(--orange); }
.main-nav ul a.is-active::after { transform: scaleX(1); }
.nav-cta { justify-self: end; height: 42px; padding: 0 20px; font-size: 13px; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 338px; background: var(--bg-dark); overflow: hidden; isolation: isolate; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: right center; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 20, 27, 0.92) 0%, rgba(11, 20, 27, 0.55) 38%, rgba(11, 20, 27, 0) 62%);
}
.hero-inner { position: relative; z-index: 1; min-height: inherit; display: flex; align-items: center; padding-block: 44px 28px; }
.hero-copy { max-width: 560px; }
.hero h1 {
  margin-top: 16px; font-size: clamp(2.6rem, 4.1vw, 4rem); line-height: 1.0; font-weight: 800; letter-spacing: -0.025em; color: #fff;
}
.hero-lead { margin-top: 18px; max-width: 370px; font-size: 18px; line-height: 1.35; font-weight: 300; color: #eef1f4; }
.hero .btn-row { margin-top: 22px; }
.hero-values {
  position: absolute; z-index: 1; top: 50%; transform: translateY(-50%);
  left: min(calc(50% + 573px), calc(100% - 150px));
  padding-left: 22px; border-left: 2px solid var(--orange);
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.7; color: #e7ebf0;
}

/* ---------- Services ---------- */
.services { background: var(--bg-light); padding-block: 22px 23px; }
.services-inner { display: grid; grid-template-columns: 286px 1fr; align-items: start; }
.services-intro { padding-right: 20px; }
.services-intro h2 { margin-top: 18px; font-size: 34px; line-height: 1.03; letter-spacing: -0.02em; font-weight: 800; }
.services-intro .muted { margin-top: 18px; font-size: 14.5px; line-height: 1.45; color: var(--text-muted); font-weight: 300; }
.text-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding-bottom: 3px;
  font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--text-dark);
}
.text-link .icon { transition: transform 0.2s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }
.cards-progress { display: none; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px; }
.card {
  display: flex; flex-direction: column; padding: 0; text-align: left; border: 0; overflow: hidden;
  background: var(--bg-card); color: #fff; border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px -14px rgba(11, 20, 27, 0.55); }
.card-media { display: block; overflow: hidden; aspect-ratio: 822 / 384; background: var(--bg-dark-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 16px 18px 15px; min-height: 83px; }
.card-text { display: block; }
.card-title { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; }
.card-desc { display: block; margin-top: 7px; font-size: 12.5px; line-height: 1.4; font-weight: 300; color: #aeb7c1; }
.card-body .icon { flex: none; transition: transform 0.2s var(--ease); }
.card:hover .card-body .icon { transform: translateX(4px); }

/* ---------- Materials ---------- */
.materials { position: relative; background: var(--bg-dark-2); color: #fff; padding-block: 19px; overflow: hidden; isolation: isolate; }
.materials-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: 0.9; }
.materials-inner { display: flex; align-items: center; }
.materials-intro { width: 374px; flex: none; }
.materials-intro h2 { margin-top: 14px; font-size: 23px; line-height: 1.12; font-weight: 700; letter-spacing: -0.015em; }
.material-list { display: grid; grid-template-columns: repeat(3, 137px); gap: 34px; }
.material {
  position: relative; height: 94px; overflow: hidden; border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.13); background: #0d161d;
}
.material img { width: 100%; height: 100%; object-fit: cover; }
.material::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(8, 14, 19, 0.88)); }
.material span { position: absolute; z-index: 1; left: 10px; bottom: 7px; font-size: 11.5px; font-weight: 500; }
.materials-note {
  margin-left: 48px; padding-left: 49px; border-left: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 12.5px; line-height: 1.45; color: #e7ebf0; min-height: 80px; display: flex; align-items: center;
}

/* ---------- Contact ---------- */
.contact { position: relative; background: var(--bg-light); padding-block: 26px 28px; overflow: hidden; isolation: isolate; }
.contact-blueprint {
  position: absolute; right: -2%; bottom: -8%; width: min(480px, 46vw); height: auto; z-index: -1;
  opacity: 0.55; mix-blend-mode: multiply; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%);
}
.contact-inner { display: grid; grid-template-columns: 419px 1fr; align-items: center; }
.contact-copy h2 { margin-top: 14px; font-size: 26px; line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; }
.contact-copy .muted { margin-top: 12px; max-width: 290px; font-size: 13.5px; line-height: 1.4; color: var(--text-muted); font-weight: 300; }
.contact-actions { flex-wrap: nowrap; }
.contact-actions .btn { height: 46px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #fff; padding-block: 16px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(1180px, 100% - var(--gutter) * 2); }
.footer-inner .brand-text { white-space: nowrap; font-size: 28px; }
.footer-tagline { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, 0.18); font-size: 12px; line-height: 1.4; color: #cbd2da; font-weight: 300; }
.footer-nav { display: flex; gap: 36px; font-size: 11.5px; color: #cbd2da; margin-inline: auto; }
.footer-nav a:hover { color: var(--orange); }
.footer-title, .footer-contact { display: none; }
.social { display: flex; gap: 14px; }
.social a { display: grid; place-items: center; width: 24px; height: 24px; color: #fff; transition: color 0.2s var(--ease); }
.social a:hover { color: var(--orange); }
.copyright { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, 0.18); font-size: 11.5px; line-height: 1.4; color: #cbd2da; font-weight: 300; }

/* ---------- Modals ---------- */
body.modal-open { overflow: hidden; }
.modal {
  width: min(600px, 100% - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px; background: var(--bg-dark-2); color: #fff; overflow: auto; overscroll-behavior: contain;
}
.modal-sm { width: min(480px, 100% - 24px); }
.modal[open] { animation: modal-in 0.28s var(--ease); }
.modal[open]::backdrop { animation: fade-in 0.28s var(--ease); }
.modal::backdrop { background: rgba(5, 10, 14, 0.74); }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal-box { position: relative; padding: 30px 30px 28px; }
.modal-box h2 { margin-top: 12px; font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.modal-box > .btn { margin-top: 22px; }
.muted-light { margin-top: 12px; font-size: 14.5px; line-height: 1.55; color: var(--text-soft); font-weight: 300; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center;
  background: transparent; border: 0; border-radius: var(--radius); color: #fff; transition: background-color 0.2s var(--ease);
}
.modal-close:hover { background: rgba(255, 255, 255, 0.1); }
.service-modal-img { margin: -30px -30px 22px; width: calc(100% + 60px); max-width: none; aspect-ratio: 822 / 384; object-fit: cover; border-radius: 8px 8px 0 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 500; color: var(--text-soft); }
.opt { font-weight: 300; opacity: 0.8; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea, .field input[type="file"] {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 15px; color: #fff; background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 163, 43, 0.22); }
.field input[type="file"] { padding: 9px 10px; font-size: 13px; color: var(--text-soft); }
.field input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 7px 12px; border: 0; border-radius: 3px; background: rgba(255, 255, 255, 0.12); color: #fff; font: inherit; font-weight: 500; cursor: pointer;
}
.field.has-error input, .field.has-error textarea { border-color: #ff6b5e; }
.err { min-height: 0; font-size: 12px; color: #ff8a7f; }
.check label { display: flex; align-items: flex-start; gap: 10px; font-weight: 300; font-size: 13px; line-height: 1.4; }
.check input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--orange); flex: none; }
.check a { color: var(--orange); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 18px 0 0; padding: 12px 14px; border-radius: var(--radius); font-size: 14px; line-height: 1.4; }
.form-status.is-ok { background: rgba(60, 190, 120, 0.14); border: 1px solid rgba(60, 190, 120, 0.5); color: #b7f0d0; }
.form-status.is-error { background: rgba(255, 107, 94, 0.12); border: 1px solid rgba(255, 107, 94, 0.5); color: #ffc2bc; }
#quote-form .btn-block { margin-top: 18px; }
#quote-form .btn[disabled] { opacity: 0.7; cursor: progress; }

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