:root {
  --color-bg: #f4f6f8;
  --color-surface: #ffffff;
  --color-text: #263238;
  --color-muted: #5a6872;
  --color-dark: #15191d;
  --color-primary: #008fd3;
  --color-primary-dark: #0072aa;
  --color-accent: #19a974;
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 8px 22px rgba(15, 23, 42, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2000;
  transform: translateY(-150%);
  border-radius: 4px;
  background: var(--color-primary);
  color: #ffffff;
  padding: 10px 14px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

#fundo {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(21, 25, 29, 0.96);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  color: #ffffff;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #8bd7ff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
}

.section {
  width: min(1000px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
  scroll-margin-top: 86px;
}

.hero {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 520px;
  align-items: center;
  padding-top: 86px;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("imagens/hero-gcp-tecnologia.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(244, 246, 248, 0.08), rgba(244, 246, 248, 0.2) 46%, rgba(244, 246, 248, 0.08));
  content: "";
}

.hero-content {
  width: min(1000px, calc(100% - 32px));
  margin: 0 auto;
}

.hero h1 {
  max-width: 640px;
  font-size: clamp(2.35rem, 5.5vw, 3.55rem);
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--color-primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--color-text);
  line-height: 1.18;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 7vw, 4rem);
  font-weight: 900;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
}

p {
  color: var(--color-muted);
}

.hero-subtitle {
  width: min(560px, 100%);
  margin: 0;
  color: #34444f;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button,
button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button:hover,
button:hover {
  transform: translateY(-1px);
}

.button-primary,
button {
  background: var(--color-primary);
  color: #ffffff;
}

.button-primary:hover,
button:hover {
  background: var(--color-primary-dark);
}

.button-secondary {
  border: 1px solid rgba(38, 50, 56, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-text);
}

.button-secondary:hover {
  background: #ffffff;
}

.intro {
  padding-top: 28px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.intro article,
.empresa {
  border-left: 4px solid var(--color-primary);
  padding-left: 22px;
}

.section-heading {
  margin-bottom: 28px;
  text-align: center;
}

.servicos-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.servico-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--color-surface);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.servico-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.servico-card img {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  object-fit: contain;
}

.servico-card p {
  color: #2f3a40;
  font-size: 0.96rem;
}

.contato {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: 48px;
  align-items: start;
}

.contato-texto h2 {
  text-transform: none;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: #006fa8;
  font-weight: 800;
  text-decoration: none;
}

.contact-links a:hover {
  text-decoration: underline;
}

.contact-links .whatsapp-link {
  color: #008a42;
}

.formulario {
  display: grid;
  gap: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

label {
  color: #38464f;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c7d0d7;
  border-radius: 4px;
  background: #ffffff;
  color: var(--color-text);
  font: inherit;
  padding: 12px;
}

input:focus,
textarea:focus {
  border-color: var(--color-primary);
  outline: 3px solid rgba(0, 143, 211, 0.18);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  min-height: 24px;
  font-weight: 800;
}

.form-status.success {
  color: #167a3a;
}

.form-status.error {
  color: #c62828;
}

.rodape {
  width: 100%;
  background: var(--color-dark);
  color: #ffffff;
  text-align: center;
  padding: 18px 16px;
  font-size: 0.92rem;
}

.rodape a {
  color: #ffffff;
  text-decoration: none;
}

.rodape a:hover {
  text-decoration: underline;
}

@media (max-width: 840px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(21, 25, 29, 0.98);
    padding: 8px 16px 16px;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
  }

  .intro-grid,
  .contato {
    grid-template-columns: 1fr;
  }

  .servicos-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .navbar {
    width: min(100% - 24px, 1120px);
  }

  .logo {
    max-width: calc(100% - 58px);
    font-size: 1rem;
  }

  .logo-img {
    width: 36px;
    height: 36px;
  }

  .section {
    width: min(100% - 28px, 1000px);
    padding: 46px 0;
  }

  .hero {
    min-height: 440px;
    padding-top: 62px;
  }

  .hero::before {
    background-position: 72% center;
  }

  .hero::after {
    background: rgba(244, 246, 248, 0.72);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button,
  button {
    width: 100%;
  }

  .intro article,
  .empresa {
    padding-left: 16px;
  }

  .servicos-container {
    grid-template-columns: 1fr;
  }

  .servico-card {
    min-height: auto;
    padding: 24px 18px;
  }

  .formulario {
    padding: 18px;
  }

  .contact-links a {
    width: 100%;
    align-items: flex-start;
  }
}
