/* =========================================================
   VK ENGENHARIA — ESTUDOS DE PROTEÇÃO

   CSS independente.
   Identidade visual das páginas de projetos:
   azul-escuro, dourado, fundos claros e cards técnicos.
========================================================= */

/* =========================================================
   01. VARIÁVEIS
========================================================= */

:root {
  --azul-950: #06101c;
  --azul-900: #0b1622;
  --azul-850: #0e2033;
  --azul-800: #102b47;
  --azul-700: #17446f;
  --azul-500: #1675b8;

  --dourado: #d4af37;
  --dourado-hover: #e1c04f;
  --dourado-claro: #f2dc8c;
  --dourado-texto: #806210;

  --branco: #ffffff;
  --fundo: #f5f7fa;
  --fundo-claro: #f8fafc;
  --borda: #dfe6ed;

  --texto: #263442;
  --texto-suave: #5d6c7b;

  --largura-pagina: 1200px;
  --largura-hero: 1400px;
  --altura-topo: 82px;

  --raio-pequeno: 9px;
  --raio-medio: 16px;
  --raio-grande: 22px;

  --sombra-suave:
    0 14px 35px rgba(6, 25, 43, 0.06);

  --sombra-media:
    0 20px 55px rgba(6, 25, 43, 0.12);
}

/* =========================================================
   02. RESET E BASE
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--altura-topo) + 24px);
}

body {
  min-width: 280px;
  color: var(--texto);
  background: var(--branco);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3 {
  color: var(--azul-900);
  line-height: 1.2;
  text-wrap: balance;
}

p,
li,
a,
h1,
h2,
h3 {
  overflow-wrap: break-word;
}

h2 {
  margin: 16px 0 23px;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}

p {
  color: var(--texto-suave);
}

p + p {
  margin-top: 18px;
}

em {
  color: var(--dourado-claro);
  font-style: normal;
}

/* =========================================================
   03. ACESSIBILIDADE
========================================================= */

:focus-visible {
  outline: 3px solid var(--azul-500);
  outline-offset: 5px;
}

.site-header :focus-visible,
.hero :focus-visible,
.section-dark :focus-visible {
  outline-color: var(--dourado);
}

.skip-link {
  position: fixed;
  z-index: 3000;
  top: -100px;
  left: 16px;

  padding: 12px 20px;

  color: var(--azul-950);
  background: var(--branco);
  border-radius: var(--raio-pequeno);
}

.skip-link:focus {
  top: 12px;
}

/* =========================================================
   04. ESTRUTURA GLOBAL
========================================================= */

.container {
  width: min(
    var(--largura-pagina),
    calc(100% - 40px)
  );

  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.section-light {
  background: var(--fundo-claro);
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 54px;
  text-align: center;
}

.eyebrow {
  color: var(--dourado-texto);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

/* =========================================================
   05. CABEÇALHO
========================================================= */

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;

  background: rgba(6, 16, 28, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  width: min(
    var(--largura-hero),
    calc(100% - 40px)
  );

  min-height: var(--altura-topo);
}

.logo {
  width: 165px;
  height: 60px;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-header nav a {
  position: relative;
  padding-block: 12px;

  color: #e4edf5;
  font-size: 0.85rem;
  font-weight: 600;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;

  height: 2px;
  background: var(--dourado);

  content: "";

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.2s ease;
}

.site-header nav a:hover::after {
  transform: scaleX(1);
}

.mobile-nav {
  display: none;
}

/* =========================================================
   06. BOTÕES E LINKS
========================================================= */

.button,
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  max-width: 100%;
  min-height: 50px;
  padding: 14px 22px;

  border: 1px solid transparent;
  border-radius: var(--raio-pequeno);

  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.button {
  color: #111111;
  background: var(--dourado);
}

.button:hover {
  background: var(--dourado-hover);
  transform: translateY(-2px);
}

.button-small {
  min-height: 44px;
  padding: 11px 18px;
  font-size: 0.84rem;
  white-space: nowrap;
}

.button-outline {
  color: var(--branco);
  border-color: rgba(255, 255, 255, 0.3);
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;

  color: var(--dourado-texto);
  font-size: 0.88rem;
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* =========================================================
   07. HERO
========================================================= */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  padding: 80px 0 88px;

  color: var(--branco);
  background: var(--azul-950);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;

  background:
    radial-gradient(
      ellipse at 84% 20%,
      rgba(23, 68, 111, 0.4),
      transparent 60%
    ),
    linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    );

  background-size:
    auto,
    70px 70px,
    70px 70px;

  content: "";
}

.hero-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(0, 0.85fr);

  align-items: center;
  gap: 70px;

  width: min(
    var(--largura-hero),
    calc(100% - 40px)
  );
}

.hero-copy,
.hero-panel {
  min-width: 0;
}

.tag {
  display: inline-block;
  padding: 8px 13px;

  color: var(--dourado-claro);
  background: rgba(212, 175, 55, 0.07);

  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;

  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 26px 0;
  color: var(--branco);

  font-size: clamp(2.8rem, 4.6vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.hero h1 em {
  display: block;
}

.hero-copy > p {
  color: #bdcbd8;
}

.hero-copy .hero-lead {
  margin-bottom: 18px;
  color: #edf3f8;
  font-size: 1.12rem;
}

.hero-copy .hero-note {
  margin-top: 23px;
  color: #aebfcd;
  font-size: 0.76rem;
}

/* =========================================================
   08. PAINEL DO HERO
========================================================= */

.hero-panel {
  padding: 34px;

  color: var(--texto);
  background: var(--branco);

  border: 1px solid var(--borda);
  border-top: 3px solid var(--dourado);
  border-radius: var(--raio-grande);

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.23);
}

.panel-label {
  color: var(--dourado-texto);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.hero-panel h2 {
  margin: 17px 0 20px;
  font-size: 1.7rem;
}

.hero-panel > p {
  font-size: 0.91rem;
}

.panel-list {
  display: grid;
  gap: 12px;

  margin: 23px 0 13px;
  padding: 22px 0;

  border-block: 1px solid var(--borda);
}

.panel-list li {
  position: relative;
  padding-left: 22px;

  color: var(--azul-800);
  font-size: 0.86rem;
}

.panel-list li::before {
  position: absolute;
  top: 10px;
  left: 0;

  width: 6px;
  height: 6px;

  background: var(--dourado-texto);
  border-radius: 50%;

  content: "";
}

/* =========================================================
   09. FAIXA DE DESTAQUES
========================================================= */

.benefits {
  background: var(--branco);
  border-bottom: 1px solid var(--borda);
}

.benefits-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;

  padding-block: 27px;
}

.benefits-inner span {
  padding-left: 20px;

  color: var(--azul-800);
  border-left: 1px solid var(--borda);

  font-size: 0.83rem;
  font-weight: 650;
}

.benefits-inner span:first-child {
  padding-left: 0;
  border: 0;
}

/* =========================================================
   10. GRIDS E CARDS
========================================================= */

.grid {
  display: grid;
  gap: 22px;
}

.grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.application-card {
  min-width: 0;
  padding: 29px;

  background: var(--branco);

  border: 1px solid var(--borda);
  border-top: 3px solid var(--dourado);
  border-radius: var(--raio-medio);

  box-shadow: var(--sombra-suave);
}

.card p,
.application-card p {
  font-size: 0.92rem;
}

.card-tag {
  display: block;
  margin-bottom: 22px;

  color: var(--dourado-texto);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.number {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;
  margin-bottom: 23px;

  color: var(--azul-800);
  background: #f6f1df;
  border-radius: 10px;

  font-size: 0.78rem;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 23px 0 0;
}

.check-list li {
  position: relative;
  padding-left: 23px;

  color: var(--azul-800);
  font-size: 0.86rem;
}

.check-list li::before {
  position: absolute;
  left: 0;

  color: #167b53;
  font-weight: 800;

  content: "✓";
}

.application-card {
  padding: 25px;
  background: var(--fundo-claro);
  box-shadow: none;
}

.application-card h3 {
  font-size: 1.15rem;
}

/* =========================================================
   11. BLOCOS EM DUAS COLUNAS
========================================================= */

.split {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  align-items: center;
  gap: 65px;
}

.split > * {
  min-width: 0;
}

.split .text-link {
  margin-top: 25px;
}

.split > div > .button {
  margin-top: 28px;
}

/* =========================================================
   12. COORDENOGRAMA
========================================================= */

.chart-card {
  overflow: hidden;

  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio-grande);

  box-shadow: var(--sombra-media);
}

.chart-card > a {
  display: block;
  padding: 18px;
}

.chart-card img {
  width: 100%;
  height: 470px;
  object-fit: contain;
}

.chart-card figcaption {
  padding: 20px 23px;

  color: #dbe6ef;
  background: var(--azul-950);

  border-top: 2px solid var(--dourado);

  font-size: 0.77rem;
}

/* =========================================================
   13. ENTREGÁVEIS E SEÇÕES ESCURAS
========================================================= */

.section-dark {
  color: var(--branco);

  background:
    linear-gradient(
      120deg,
      var(--azul-950),
      var(--azul-800)
    );
}

.section-dark h2,
.section-dark h3 {
  color: var(--branco);
}

.section-dark p {
  color: #c5d2de;
}

.section-dark .eyebrow {
  color: var(--dourado-claro);
}

.deliverables article {
  display: flex;
  gap: 22px;

  padding: 24px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.deliverables article:first-child {
  padding-top: 0;
}

.deliverables article > span {
  flex-shrink: 0;

  color: var(--dourado-claro);
  font-size: 0.77rem;
  font-weight: 800;
}

.deliverables h3 {
  font-size: 1.15rem;
}

.deliverables p {
  font-size: 0.9rem;
}

/* =========================================================
   14. METODOLOGIA
========================================================= */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.process-grid li {
  min-width: 0;
  text-align: center;
}

.process-grid .number {
  width: 64px;
  height: 64px;

  color: #111111;
  background: var(--dourado-claro);

  border: 6px solid var(--fundo-claro);
  border-radius: 50%;
}

.process-grid h3 {
  font-size: 1.1rem;
}

.process-grid p {
  font-size: 0.88rem;
}

/* =========================================================
   15. PARCERIAS
========================================================= */

.partnership {
  background: var(--fundo-claro);
}

.partnership-box {
  padding: 32px;

  background: var(--branco);

  border: 1px solid var(--borda);
  border-top: 3px solid var(--dourado);
  border-radius: var(--raio-grande);

  box-shadow: var(--sombra-suave);
}

.partnership-box h3 {
  font-size: 1.5rem;
}

.partnership-box p {
  margin-bottom: 24px;
}

/* =========================================================
   16. ATENDIMENTO REGIONAL
========================================================= */

.states-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.states-grid article {
  min-width: 0;
  padding: 24px;

  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio-medio);
}

.states-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 16px;
  padding: 4px 10px;

  color: var(--dourado-texto);
  background: #f6f1df;
  border-radius: 6px;

  font-size: 0.7rem;
  font-weight: 800;
}

.states-grid h3 {
  margin-bottom: 7px;
  font-size: 1.15rem;
}

.states-grid p {
  font-size: 0.87rem;
}

.regional-note {
  max-width: 880px;
  margin: 30px auto 0;

  color: var(--texto-suave);
  font-size: 0.85rem;
  text-align: center;
}

/* =========================================================
   17. PERGUNTAS FREQUENTES
========================================================= */

.faq-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.85fr)
    minmax(0, 1.15fr);

  gap: 65px;
}

details {
  padding: 22px 0;
  border-bottom: 1px solid var(--borda);
}

summary {
  padding-right: 10px;

  color: var(--azul-800);
  font-size: 1rem;
  font-weight: 700;

  cursor: pointer;
}

summary::marker {
  color: var(--dourado-texto);
}

details p {
  padding-top: 16px;
  font-size: 0.92rem;
}

/* =========================================================
   18. CONTATO
========================================================= */

.contact-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(0, 0.9fr);

  align-items: center;
  gap: 65px;
}

.contact-note {
  margin-top: 25px;
  font-size: 0.76rem;
}

.contact-checklist {
  padding: 32px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--raio-grande);
}

.contact-checklist h3 {
  font-size: 1.4rem;
}

.contact-checklist ul {
  display: grid;
  gap: 11px;
  margin: 24px 0;
}

.contact-checklist li {
  position: relative;
  padding-left: 23px;

  color: #d5e0e9;
  font-size: 0.86rem;
}

.contact-checklist li::before {
  position: absolute;
  left: 0;

  color: var(--dourado-claro);

  content: "✓";
}

.contact-checklist > p {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
}

/* =========================================================
   19. RODAPÉ
========================================================= */

.site-footer {
  padding-bottom: 60px;
  color: var(--branco);
  background: var(--azul-950);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  padding-block: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-inner p {
  color: #b8c6d2;
  font-size: 0.75rem;
}

.footer-inner > a:last-child {
  font-size: 0.8rem;
}

/* =========================================================
   20. WHATSAPP FLUTUANTE
========================================================= */

.whatsapp-fixo {
  position: fixed;
  z-index: 1100;
  right: 20px;
  bottom: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 56px;
  height: 56px;

  color: var(--branco);
  background: #16834b;

  border: 3px solid var(--branco);
  border-radius: 50%;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.whatsapp-fixo svg {
  width: 32px;
  height: 32px;
}

/* =========================================================
   21. RESPONSIVIDADE — ATÉ 1100 PX
========================================================= */

@media (max-width: 1100px) {
  .hero-grid {
    gap: 35px;
  }

  .hero-panel {
    padding: 28px;
  }

  .site-header nav {
    gap: 18px;
  }

  .grid-four,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .faq-grid,
  .contact-grid {
    gap: 38px;
  }

  .card {
    padding: 25px;
  }
}

/* =========================================================
   22. RESPONSIVIDADE — ATÉ 900 PX
========================================================= */

@media (max-width: 900px) {
  :root {
    --altura-topo: 110px;
  }

  .header-inner {
    min-height: 72px;
  }

  .logo {
    width: 145px;
    height: 55px;
  }

  .site-header .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
    padding: 0 0 8px;
    border: 0;
  }

  .mobile-nav summary {
    min-height: 30px;
    color: #e3edf5;
    font-size: 0.8rem;
  }

  .mobile-nav[open] nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding-top: 7px;
  }

  .mobile-nav nav a {
    padding: 6px 0;
  }

  .hero {
    padding: 55px 0 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hero-copy,
  .hero-panel {
    width: 100%;
    max-width: 740px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 7vw, 4.1rem);
  }

  .grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .chart-card {
    width: 100%;
    max-width: 740px;
    margin-inline: auto;
  }

  .footer-inner {
    flex-wrap: wrap;
  }
}

/* =========================================================
   23. RESPONSIVIDADE — ATÉ 650 PX
========================================================= */

@media (max-width: 650px) {
  .container,
  .hero-grid,
  .header-inner {
    width: calc(100% - 32px);
  }

  .section {
    padding: 65px 0;
  }

  .hero {
    padding: 42px 0 50px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 9.5vw, 3.4rem);
  }

  .hero-copy .hero-lead {
    font-size: 1.03rem;
  }

  .tag {
    padding: 8px 10px;
    font-size: 0.58rem;
    letter-spacing: 0.045em;
  }

  .hero-panel {
    padding: 26px 23px;
  }

  .hero-panel h2 {
    font-size: 1.55rem;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions a {
    width: 100%;
  }

  .benefits-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .benefits-inner span {
    padding-left: 13px;
    font-size: 0.76rem;
  }

  .benefits-inner span:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  h2 {
    font-size: 2rem;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .section-heading br {
    display: none;
  }

  .eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }

  .grid-three,
  .grid-four,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    gap: 32px;
  }

  .states-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .states-grid article {
    padding: 20px 15px;
  }

  .states-grid h3 {
    font-size: 1rem;
  }

  .states-grid p {
    font-size: 0.78rem;
  }

  .partnership-box,
  .contact-checklist {
    padding: 25px;
  }

  .chart-card img {
    height: 360px;
  }

  .footer-inner {
    gap: 22px;
  }

  .footer-inner p {
    width: 100%;
  }

  .whatsapp-fixo {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }
}

/* =========================================================
   24. RESPONSIVIDADE — ATÉ 360 PX
========================================================= */

@media (max-width: 360px) {
  .logo {
    width: 125px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .states-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   25. REDUÇÃO DE MOVIMENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================================
   26. IMPRESSÃO
========================================================= */

@media print {
  .site-header,
  .skip-link,
  .actions,
  .button,
  .button-outline,
  .whatsapp-fixo {
    display: none !important;
  }

  .hero,
  .section-dark,
  .site-footer {
    color: #000000;
    background: #ffffff;
  }

  .hero::before {
    display: none;
  }

  .hero h1,
  .section-dark h2,
  .section-dark h3,
  em {
    color: #000000;
  }

  .hero-copy > p,
  .section-dark p,
  .contact-checklist li,
  .footer-inner p {
    color: #333333;
  }

  .section,
  .hero {
    padding: 25px 0;
  }

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .application-card,
  .hero-panel,
  .chart-card {
    break-inside: avoid;
    box-shadow: none;
  }
}

/* CHAMADA DE ATENDIMENTO NACIONAL */

.atendimento-actions {
  justify-content: center;
  margin-top: 30px;
}