﻿:root {
  --noite: #050505;
  --grafite: #0d0d0d;
  --grafite-card: #151515;
  --grafite-claro: #1f1f1f;
  --bege: #f7f0d8;
  --bege-suave: #d7d1c0;
  --dourado: #c59b3c;
  --dourado-brilho: #f1c376;
  --preto: #030303;
  --branco: #ffffff;
  --texto: #f5f2e9;
  --texto-suave: #c5c0b3;
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--noite);
  background-image: linear-gradient(160deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.82) 40%, rgba(5, 5, 5, 0.94) 100%), url('assets/foto1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--texto);
  line-height: 1.7;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.01em;
  color: var(--texto);
}

p {
  color: var(--texto-suave);
}

a {
  color: var(--dourado-brilho);
  text-decoration: none;
}

a:hover {
  color: var(--bege);
}

:focus-visible {
  outline: 2px solid var(--dourado-brilho);
  outline-offset: 3px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: rgba(3, 3, 3, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-name {
  color: var(--texto);
}

.site-nav {
  position: fixed;
  inset: 0;
  /* usar imagem de fundo (foguete) no menu móvel com overlay escuro para manter legibilidade */
  background-color: var(--preto);
  background-image: linear-gradient(rgba(3,3,3,0.72), rgba(3,3,3,0.72)), url('assets/foguete.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 5rem 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 60;
}

.site-nav a {
  color: var(--texto);
  font-size: 1.3rem;
  font-weight: 500;
}

.site-nav.open {
  opacity: 1;
  pointer-events: all;
}

.menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  color: var(--texto);
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
}

.menu-close:focus-visible {
  outline: 2px solid var(--dourado-brilho);
  outline-offset: 3px;
}

.cta-header {
  display: none;
}

.menu-toggle {
  background: linear-gradient(135deg, var(--dourado-brilho), var(--dourado));
  color: var(--preto);
  border: none;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

main {
  padding: 0 1.25rem 4rem;
}

.hero {
  display: grid;
  gap: 1.5rem;
  padding-top: 2.5rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--dourado-brilho);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero-subtext {
  color: var(--texto-suave);
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.btn.primary {
  background: linear-gradient(135deg, #f0cf83, #9c6a21);
  color: #120b05;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--texto);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-illustration {
  background: linear-gradient(145deg, var(--grafite-card), var(--grafite));
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-illustration img {
  width: 100%;
  border-radius: calc(var(--radius) - 6px);
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  filter: contrast(1.05) saturate(0.95);
}

.section {
  margin-top: 4rem;
}

.section-heading h2 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  margin: 0.3rem 0 1.5rem;
}

.cards-grid {
  display: grid;
  gap: 1rem;
}

.card {
  padding: 1.9rem;
  border-radius: var(--radius);
  background: var(--grafite-card);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card p {
  margin: 0.75rem 0 1rem;
}

.card ul {
  padding-left: 1.2rem;
  margin: 0;
  color: var(--texto-suave);
}

.section.muted {
  background: radial-gradient(circle at top, rgba(197, 155, 60, 0.25), rgba(3, 3, 3, 0.95));
  color: var(--texto);
  border-radius: var(--radius);
  padding: 3rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section.muted .eyebrow {
  color: var(--bege);
}

.projects {
  display: grid;
  gap: 1rem;
}

.projects article {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.tag {
  display: inline-flex;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(245, 205, 124, 0.2);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--bege);
}

.contact {
  display: flex;
  justify-content: center;
}

.contact-card {
  width: 100%;
  background: var(--grafite-card);
  border-radius: calc(var(--radius) + 6px);
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--texto);
}

.contact-form input,
.contact-form textarea {
  margin-top: 0.35rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.95rem 1rem;
  font: inherit;
  background: var(--grafite-claro);
  color: var(--texto);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-weight: 600;
  color: var(--texto);
}

.site-footer {
  padding: 2.5rem 1.25rem;
  text-align: center;
  color: var(--texto-suave);
  font-size: 0.95rem;
}

.footer-socials {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .site-header {
    padding: 1rem 3rem;
    gap: 1.5rem;
  }

  .site-nav {
    position: static;
    flex-direction: row;
    padding: 0;
    background: transparent;
    opacity: 1;
    pointer-events: all;
    gap: 1.5rem;
  }

  .site-nav a {
    color: var(--texto-suave);
    font-size: 1rem;
  }

  .cta-header {
    display: inline-flex;
    padding: 0.7rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    color: var(--texto);
  }

  .menu-toggle {
    display: none;
  }

  .menu-close {
    display: none;
  }

  main {
    padding: 0 3rem 4rem;
  }

  .hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .projects {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-card {
    padding: 3rem;
  }
}

@media (min-width: 1080px) {
  :root {
    font-size: 17px;
  }

  body {
    background-image: radial-gradient(circle at top, rgba(30, 23, 12, 0.55), rgba(5, 5, 5, 0.9)), url('assets/foto1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
  }

  main {
    max-width: 1200px;
    margin: 0 auto;
  }

  .section.muted {
    padding: 3.5rem;
  }
}




