/* ==========================================================
   VK ENGENHARIA
   PROJETOS RESIDENCIAIS DE ALTO PADRÃO

   CSS independente.
   Salvar na mesma pasta do HTML.
========================================================== */


/* ==========================================================
   01 — VARIÁVEIS E BASE
========================================================== */

:root {
  --navy: #0b1622;
  --gold: #d4af37;
  --text: #182635;
  --muted: #586573;
  --line: #dfe5ea;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;

  background: #fff;
  color: var(--text);

  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

figure,
h1,
h2,
h3,
p {
  margin: 0;
}

p {
  color: var(--muted);
}

p + p {
  margin-top: 16px;
}

h1,
h2,
h3 {
  line-height: 1.17;
}

h2 {
  margin: 16px 0 24px;

  font-size: clamp(30px, 3.3vw, 44px);
  letter-spacing: -1.2px;
}

h3 {
  margin-bottom: 15px;
  font-size: 21px;
}

em {
  color: var(--gold);
  font-style: normal;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.section {
  padding: 88px 0;
}

.light {
  background: #f4f6f8;
}

.dark {
  background: var(--navy);
  color: #fff;
}

.dark p {
  color: #c6d0db;
}

.dark .eyebrow {
  color: var(--gold);
}


/* ==========================================================
   02 — CABEÇALHO
========================================================== */

header {
  position: sticky;
  top: 0;
  z-index: 20;

  background: var(--navy);
  box-shadow: 0 3px 15px #0002;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  min-height: 94px;
}

.logo {
  width: auto;
  max-width: 190px;
  height: 58px;

  object-fit: contain;
}

nav {
  display: flex;
  gap: 26px;

  color: #fff;
  font-size: 14px;
}

nav a:hover {
  color: var(--gold);
}


/* ==========================================================
   03 — BOTÕES
========================================================== */

.button,
.outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;
  padding: 14px 23px;

  border-radius: 8px;

  font-size: 14px;
  font-weight: 700;
  text-align: center;

  transition:
    background 0.2s,
    transform 0.2s;
}

.button {
  background: var(--gold);
  color: #111;
}

.button:hover {
  background: #e7c459;
  transform: translateY(-2px);
}

.outline {
  border: 1px solid #ffffff55;
  color: #fff;
}

.outline:hover {
  background: #ffffff15;
}

.compact {
  padding: 11px 18px;
  font-size: 13px;
}


/* ==========================================================
   04 — ABERTURA
========================================================== */

.hero {
  padding: 78px 0 85px;

  background:
    radial-gradient(
      ellipse at 85% 25%,
      #233b4e,
      transparent 65%
    ),
    var(--navy);

  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: 55px;
}

.tag {
  display: inline-block;

  padding: 7px 13px;

  background: #d4af371c;
  border: 1px solid #d4af3760;
  border-radius: 30px;

  color: #eed274;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
}

h1 {
  margin: 25px 0;

  font-size: clamp(39px, 4.5vw, 61px);
  line-height: 1.1;
  letter-spacing: -1.8px;
}

.hero p {
  color: #c9d3de;
  font-size: 15px;
}

.hero .lead {
  margin-bottom: 18px;

  color: #f1f4f7;
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  margin-top: 30px;
}

.hero .hero-note {
  margin-top: 28px;

  color: #b6c3cf;
  font-size: 12px;
}


/* ==========================================================
   05 — IMAGEM DA ABERTURA
========================================================== */

.hero-visual {
  overflow: hidden;

  background: #fff;
  border: 1px solid #ffffff26;
  border-radius: 18px;

  box-shadow: 0 24px 60px #0004;
}

.hero-visual img {
  width: 100%;
  height: 330px;

  background: #fff;
  object-fit: contain;
}

.hero-visual figcaption {
  padding: 26px;

  background: #142534;
  border-top: 3px solid var(--gold);
}

figcaption span {
  color: #ddc46a;

  font-size: 10px;
  letter-spacing: 1px;
}

figcaption strong {
  display: block;
  margin: 8px 0;

  font-size: 22px;
}

.hero-visual figcaption p {
  font-size: 13px;
}


/* ==========================================================
   06 — FAIXA DE BENEFÍCIOS
========================================================== */

.benefits {
  background: #eaeef2;
  border-bottom: 1px solid var(--line);
}

.benefits .container {
  display: flex;
  justify-content: space-between;
  gap: 24px;

  padding-block: 24px;

  font-size: 14px;
  font-weight: 600;
}

.benefits span::before {
  content: "✓";

  margin-right: 12px;
  color: #8b6d0a;
}


/* ==========================================================
   07 — TÍTULOS DAS SEÇÕES
========================================================== */

.heading {
  max-width: 820px;
  margin: 0 auto 45px;

  text-align: center;
}

.heading p {
  font-size: 17px;
}

.eyebrow {
  color: #826510;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
}


/* ==========================================================
   08 — GRIDS E CARDS
========================================================== */

.grid {
  display: grid;
  gap: 22px;
}

.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 29px;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;

  box-shadow: 0 10px 30px #11223305;
}

.number {
  display: inline-block;

  margin-bottom: 24px;
  padding-bottom: 7px;

  border-bottom: 2px solid var(--gold);

  color: #947619;

  font-size: 14px;
  font-weight: 700;
}

.card p {
  font-size: 15px;
}

.four .card {
  padding: 25px;
}

.four h3 {
  font-size: 20px;
}


/* ==========================================================
   09 — SEÇÕES EM DUAS COLUNAS
========================================================== */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 60px;
}

.split p {
  margin-bottom: 24px;
}

.split ul {
  margin: 20px 0 28px;
  padding-left: 20px;

  color: var(--muted);
}

.split li {
  margin: 8px 0;
}


/* ==========================================================
   10 — PORTFÓLIO
========================================================== */

.project-image {
  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: 16px;
}

.project-image img {
  width: 100%;
  height: auto;
}

.project-image figcaption {
  padding: 14px 20px;

  background: #f4f6f8;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}


/* ==========================================================
   11 — PARCERIAS
========================================================== */

.partner-list article {
  padding: 24px 0;
  border-bottom: 1px solid #ffffff25;
}

.partner-list h3 {
  font-size: 20px;
}

.partner-list p {
  margin: 0;
  font-size: 15px;
}


/* ==========================================================
   12 — ATENDIMENTO NO NORDESTE
========================================================== */

.states {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.states article {
  padding: 22px;

  background: #fff;

  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
}

.states h3 {
  margin-bottom: 5px;
  font-size: 18px;
}

.states p {
  font-size: 14px;
}

.regional-note {
  max-width: 850px;
  margin: 30px auto 0;

  font-size: 14px;
  text-align: center;
}


/* ==========================================================
   13 — PERGUNTAS FREQUENTES
========================================================== */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 65px;
}

details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  padding-right: 10px;

  font-weight: 600;
  cursor: pointer;
}

details p {
  padding-top: 15px;
  font-size: 15px;
}


/* ==========================================================
   14 — CONTATO
========================================================== */

.contact {
  text-align: center;
}

.contact p {
  margin: 0 auto 28px;
}

.contact .small {
  margin-top: 24px;
  margin-bottom: 0;

  font-size: 12px;
}


/* ==========================================================
   15 — RODAPÉ
========================================================== */

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  padding-block: 35px;

  border-top: 1px solid #ffffff20;
}

.footer-inner p,
.footer-inner > a:last-child {
  font-size: 12px;
}


/* ==========================================================
   16 — ACESSIBILIDADE
========================================================== */

.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;

  padding: 12px;

  background: #fff;
  color: #111;
}

.skip:focus {
  top: 10px;
}

:focus-visible {
  outline: 3px solid #ad8200;
  outline-offset: 5px;
}


/* ==========================================================
   17 — NOTEBOOKS E TABLETS
========================================================== */

@media (max-width: 1000px) {

  nav {
    gap: 14px;
  }

  .hero-grid {
    gap: 30px;
  }

  .four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual img {
    height: 280px;
  }

  .split {
    gap: 35px;
  }

  .faq {
    gap: 35px;
  }

}


/* ==========================================================
   18 — CELULARES E TABLETS MENORES
========================================================== */

@media (max-width: 760px) {

  header {
    position: relative;
  }

  .nav {
    flex-wrap: wrap;
    gap: 14px;

    padding: 15px 0;
  }

  .logo {
    height: 48px;
  }

  nav {
    order: 3;

    justify-content: space-between;

    width: 100%;
    padding-top: 8px;

    border-top: 1px solid #ffffff20;

    font-size: 13px;
  }

  .hero {
    padding: 48px 0;
  }

  .hero-grid,
  .split,
  .faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
  }

  .three {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 60px 0;
  }

  .benefits .container {
    flex-wrap: wrap;
    gap: 12px 24px;
  }

  .hero-visual img {
    height: auto;
    max-height: 340px;
  }

  .states {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    flex-wrap: wrap;
  }

  .footer-inner p {
    max-width: 65%;
  }

  h1 {
    font-size: 45px;
  }

  .heading p {
    font-size: 16px;
  }

}


/* ==========================================================
   19 — CELULARES MENORES
========================================================== */

@media (max-width: 420px) {

  h1 {
    font-size: 38px;
  }

  .four {
    grid-template-columns: minmax(0, 1fr);
  }

  .states article {
    padding: 16px;
  }

  .states h3 {
    font-size: 16px;
  }

  .states p {
    font-size: 12px;
  }

  .compact {
    padding: 10px 12px;
    font-size: 12px;
  }

  .hero .actions a {
    width: 100%;
  }

  .footer-inner p {
    max-width: 100%;
  }

  .tag {
    font-size: 9px;
  }

  .logo {
    max-width: 135px;
  }

}


/* ==========================================================
   20 — MOVIMENTO REDUZIDO
========================================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

}

/* VÍDEO DO PROJETO */

.hero-visual .hero-video {
  display: block;

  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;

  background: #0b1622;
  object-fit: contain;
}