@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");
/* =========================================================
   KORZEKWA ENGENHARIA — estilo global
   Ajuste cores, fontes e espaçamentos nas variáveis abaixo.
   ========================================================= */
:root {
  --bg:        #050506;  /* fundo principal */
  --bg-alt:    #0A0709;  /* fundo de seções alternadas */
  --surface:   #140D11;  /* cards */
  --line:      #26181D;  /* bordas suaves */
  --line-2:    #4A1F2A;  /* bordas de botões */
  --text:      #E7ECF1;
  --text-2:    #B7C3CF;
  --muted:     #9AA8B6;
  --accent:    #EE3349;  /* cor de destaque (troque aqui) */
  --accent-ink:#FFFFFF;
  --grad:      linear-gradient(45deg,#FF4159,#FF4500,#FF8C00,#FFA500);  /* texto sobre a cor de destaque */

  --font: 'Century Gothic', 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;

  --max: 1200px;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* malha tipo prancha técnica */
.blueprint {
  background-color: var(--surface);
  background-image:
    linear-gradient(rgba(154,168,182,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154,168,182,.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--accent);
  text-transform: uppercase;
}
.h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }
.h2 { font-size: clamp(30px, 3.5vw, 40px); line-height: 1.15; font-weight: 700; }
.lead { font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 600px; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; max-width: 720px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border-radius: 6px; border: 1px solid var(--line-2);
  font-weight: 500; font-size: 16px; font-family: inherit;
  cursor: pointer; background: transparent; color: var(--text);
  transition: border-color .15s, background .15s;
}
.btn:hover { border-color: #3A4A5A; }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn--primary:hover { filter: brightness(1.08); border-color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Cabeçalho ---------- */
.header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 40px; height: 40px; border: 2px solid var(--accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 500; font-size: 20px;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-weight: 700; font-size: 17px; letter-spacing: .08em; }
.logo__sub { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { color: var(--text-2); padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--text); }
.nav a.is-active { color: var(--text); border-bottom-color: var(--accent); }
.nav .btn { padding: 0 18px; min-height: 44px; color: var(--accent-ink); border-bottom: 0; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-2);
  border-radius: 6px; background: transparent; color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 76px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a.is-active { border-bottom-color: var(--line); color: var(--accent); }
  .nav .btn { margin-top: 12px; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero__inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding: 96px 24px 80px; }
.hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__media { flex: 1 1 380px; min-width: 0; }
.strip { border-top: 1px solid var(--line); background: var(--bg); }
.strip__inner { display: flex; flex-wrap: wrap; gap: 10px 32px; padding: 18px 24px; font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* página interna: cabeçalho de página */
.page-head { border-bottom: 1px solid var(--line); }
.page-head__inner { padding: 72px 24px 56px; display: flex; flex-direction: column; gap: 16px; }

/* ---------- Placeholder de imagem ---------- */
.ph {
  border: 1px solid var(--line-2); border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 20px; color: var(--muted); font-family: var(--mono); font-size: 12px;
}
.ph--43 { aspect-ratio: 4 / 3; }
.ph--45 { aspect-ratio: 4 / 5; }
.ph__top { display: flex; justify-content: space-between; }
.ph__center { align-self: center; text-align: center; font-family: var(--font); font-size: 14px; }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Grids e cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--proj { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

.card {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
  transition: border-color .15s;
}
.card:hover { border-color: #3A4A5A; }
.card__icon { color: var(--accent); }
.card h3 { font-size: 20px; font-weight: 600; }
.card p { font-size: 15px; line-height: 1.6; color: var(--text-2); }
.card ul { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 15px; line-height: 1.8; }
.card__norm { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---------- Projetos ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; color: var(--text);
  font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }

.project { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); transition: border-color .15s; }
.project:hover { border-color: #3A4A5A; }
.project[hidden] { display: none; }
.project__img { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.project__img img { width: 100%; height: 100%; object-fit: cover; }
.project__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.project__tag { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--accent); }
.project__body h3 { font-size: 18px; font-weight: 600; }
.project__meta { font-size: 14px; color: var(--muted); }

/* ---------- Sobre ---------- */
.about { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.about__photo { flex: 0 1 360px; min-width: 260px; }
.about__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about__text p { font-size: 17px; line-height: 1.7; color: var(--text-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 6px; font-family: var(--mono); font-size: 13px; color: var(--text-2); }

/* ---------- Contato ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact__info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.contact__form { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-link {
  display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 20px;
  border: 1px solid var(--line-2); border-radius: var(--radius); font-weight: 500;
}
.contact-link--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 8px 20px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea {
  min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 6px;
  background: var(--surface); color: var(--text); font-family: inherit; font-size: 16px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* ---------- CTA ---------- */
.cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }

/* ---------- Parceiros (faixa rolando) ---------- */
.marquee { display: flex; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.marquee__list { display: flex; flex-shrink: 0; align-items: center; margin: 0; padding: 0; list-style: none; animation: marquee var(--dur, 30s) linear infinite; }
.marquee:hover .marquee__list { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; justify-content: center; height: 148px; padding: 0 40px; color: var(--text-2); font-weight: 600; font-size: 18px; letter-spacing: .04em; white-space: nowrap; }
.marquee__item img { height: 48px; width: auto; max-width: 160px; object-fit: contain; opacity: .85; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } .marquee__list { animation: none; } }

/* ---------- Rodapé ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-alt); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding: 48px 24px 32px; }
.footer__brand { display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.footer__brand span:last-child { font-size: 14px; line-height: 1.6; color: var(--muted); }
.footer__cols { display: flex; flex-wrap: wrap; gap: 48px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__col a { color: var(--text-2); }
.footer__col a:hover { color: var(--text); }
.footer__title { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.footer__copy { padding: 20px 24px 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* =========================================================
   Visual escuro estilo gorgonoid: preto, títulos em caixa alta,
   botões arredondados vinho e destaque em degradê vermelho→laranja
   ========================================================= */
.h1, .h2 { text-transform: uppercase; font-weight: 800; letter-spacing: -0.01em; }
.h1 { letter-spacing: -1px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.header { background: rgba(5,5,6,.88); backdrop-filter: blur(10px); }
.logo__mark { border-radius: 10px; }
.nav a { font-weight: 600; }

.btn {
  border-radius: 16px; border: 2px solid rgba(255,65,89,.38); font-weight: 700;
  background: linear-gradient(135deg, rgba(255,255,255,.07), transparent 55%), linear-gradient(145deg, rgba(66,20,32,.94), rgba(26,12,19,.96));
  box-shadow: 0 10px 25px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.1);
}
.btn:hover { border-color: rgba(255,65,89,.8); }
.btn--primary { background: var(--accent); border-color: var(--accent); box-shadow: 0 12px 30px rgba(90,8,24,.45); }
.nav .btn { border-radius: 12px; }

.hero {
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(238,51,73,.22), transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 100%, rgba(255,140,0,.10), transparent 70%),
    linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.7)), var(--bg);
}
.hero.blueprint { background-size: auto; }
.blueprint { background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); }
.page-head.blueprint { background-color: var(--bg); background-image: radial-gradient(ellipse 60% 120% at 90% 0%, rgba(238,51,73,.18), transparent 70%); }

.card, .project, .contact-link { box-shadow: 0 10px 25px rgba(0,0,0,.25); }
.card:hover, .project:hover { border-color: rgba(255,65,89,.5); }
.chip { border-width: 2px; font-weight: 600; }
.field input, .field select, .field textarea { border-radius: 12px; }
.strip { background: rgba(0,0,0,.4); }
.marquee { background: var(--bg-alt); }

/* ---------- Botões de redes sociais (topo e rodapé) ---------- */
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 2px solid rgba(255,65,89,.38); border-radius: 12px; color: var(--text); transition: background .15s, border-color .15s; }
.social a:hover { background: var(--accent); border-color: var(--accent); }
.header .social { margin-left: 24px; }
.footer__brand .social { margin-top: 6px; }
@media (max-width: 820px) { .header .social { margin-left: auto; order: 2; } .nav-toggle { order: 3; } }

/* logos de parceiros em placa branca, para qualquer logo ficar legível no fundo escuro */
.marquee__item img { height: 104px; max-width: 300px; background: #fff; border-radius: 12px; padding: 6px 10px; opacity: 1; }

/* faixa de parceiros alinhada ao container, com as pontas esmaecendo */
.container > .marquee { border: 1px solid var(--line); border-radius: var(--radius); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }

/* logo AK sem fundo; um leve contorno claro mantém o preto do logo visível no fundo escuro */
.logo__img { height: 44px; width: auto; filter: drop-shadow(0 0 1px rgba(255,255,255,.85)) drop-shadow(0 0 6px rgba(255,255,255,.18)); }

/* título da página inicial: parte branca numa linha, parte colorida na outra */
.hero .h1 > span { display: block; }
.hero .h1 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.5px; }
@media (min-width: 900px) { .hero .h1 > span { white-space: nowrap; } }

/* cabeçalho das páginas internas: textura de fibra de carbono com brilho vermelho */
.page-head.blueprint {
  background-color: #131313;
  background-image:
    radial-gradient(ellipse 55% 140% at 92% 0%, rgba(238,51,73,.28), transparent 70%),
    linear-gradient(rgba(5,5,6,.45), rgba(5,5,6,.65)),
    linear-gradient(27deg, #151515 5px, transparent 5px),
    linear-gradient(207deg, #151515 5px, transparent 5px),
    linear-gradient(27deg, #222 5px, transparent 5px),
    linear-gradient(207deg, #222 5px, transparent 5px),
    linear-gradient(90deg, #1b1b1b 10px, transparent 10px),
    linear-gradient(#1d1d1d 25%, #1a1a1a 25%, #1a1a1a 50%, transparent 50%, transparent 75%, #242424 75%, #242424);
  background-size: auto, auto, 20px 20px, 20px 20px, 20px 20px, 20px 20px, 20px 20px, 20px 20px;
  background-position: 0 0, 0 0, 0 5px, 10px 0, 0 10px, 10px 5px, 0 0, 0 0;
}

/* ---------- Números (m² projetados) ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 28px; box-shadow: 0 10px 25px rgba(0,0,0,.25); }
.stat__num { font-size: clamp(36px, 4.5vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -1px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat__num small { font-size: .5em; font-weight: 700; letter-spacing: 0; }
.stat__label { margin-top: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }

.stat__num { display: inline-block; }
