* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
  text-decoration: none;
}

:root {
  --primary-color: #faea31;
  --background-color: #0b0b0b;
  --text-color: #fff;
  --sombra: #ffffff62;
  --card-background: #141414;
  --button-color: linear-gradient(135deg, #e3c425, #faea31);
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--background-color);
  color: var(--text-color);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 100px;
  position: fixed;
  width: 100%;
  height: 80px;
  top: 0;
  left: 0;
  z-index: 10;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  background-color: rgba(0, 0, 0, 0.2);
}

.logo img {
  width: 150px;
  height: auto;
}

.logo-txt {
  color: var(--cor-branco);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 10.3px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  position: fixed;
  top: 0;
  right: 100px;
  height: 80px;
  z-index: 11;
}

/* === Menu mobile (hambúrguer) === */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 20;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 15;
}

.nav-overlay.active {
  display: block;
}

body.menu-open {
  overflow: hidden;
}

header {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: radial-gradient(circle at top, #111, #000);
}

h1 {
  padding: 70px 100px 0 100px;
  font-size: 4.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
}

.highlight {
  color: var(--primary-color);
}

.subtitle {
  font-size: 2rem;
  margin: 20px 0;
  color: #ccc;
  padding: 10px 100px;
}

.gancho {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.514);
  padding: 0px 100px;
}

.btn-nav {
  /* background: var(--button-color); */
  color: var(--text-color);
  padding: 7px 10px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-nav:hover {
  background: linear-gradient(135deg, #fae031, #e3c425);
  color: #fff;
}

.btn {
  background: var(--button-color);
  color: #000;
  padding: 20px 35px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-cta {
  margin-top: 5%;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--button-color);
  background: linear-gradient(135deg, #fae031, #e3c425);
  color: #fff;
  border: none;
}

.btn-form {
  width: 100%;
  padding: 16px 25px;
  font-size: 1.0rem;
  margin-top: 20px;
}

label{
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 12px;
  color: #c5c5c5;
}

section {
  padding: 50px 20px;
  text-align: center;
}

.featured-board {
  display: flex;
  justify-content: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 25px;
  margin-top: 40px;
  padding: 0 18%;
}

body .svg .grid {
  padding: 0 22%;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  margin-bottom: 50px;
}


body .main-projects .card {
  /* display: flex; */
  align-items: center;
  background: #141414;
  border-radius: 20px;
  border: 2px solid #252525 ;
  overflow: hidden;
  transition: 0.5s;
}

body .svg .card {
  display: flex;
  text-align: start;
  align-items: center;
  padding: 0px 10px;
  background: #141414;
  border-radius: 15px;
  border: 2px solid #252525;
  overflow: hidden;
  transition: 0.5s;
}

body .svg .grid .card .icon {
  width: 25px;
  height: 25px;
}

.card-extra {
  max-width: 80%;
  background: var(--card-background);
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s;
  padding: 30px;
  border: 1px solid var(--primary-color);
  box-shadow: 0 0 20px rgba(250, 233, 49, 0.315);
}

.card:hover,
.card-extra:hover {
  transform: translateY(-8px);
  border-collapse: var(--primary-color);
  box-shadow: 0px 7px 15px rgba(71, 80, 0, 0.247);
}

.card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.card-extra img {
  width: 70px;
  filter: invert(0.15) sepia(1) grayscale(1) brightness(1.2);
}

.card p {
  padding: 15px;
  color: #ccc;
}

.text-strip {
  display: inline-block;
  background-color: #252525;
  color: #dbdbdb;
  padding: 5px 15px;
  border-radius: 50px;
}

.card-extra h2 {
  color: var(--primary-color);
  font-size: 3.2rem;
  margin-bottom: 15px;
}

.badge {
  margin-top: 15px;
  color: #ccc;
  font-weight: bold;
}

.main-projects {
  border-bottom: 1px solid #252525;
  padding-bottom: 200px;
}

.svg {
  /* padding-top: 30px; */
  background: radial-gradient(circle at top, #111, #000);
} 

/* ---------- Sessão de SVG (Icones) ----------*/
 .item-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }
  .item-icon svg {
    width: 100%;
    height: 100%;
  }

.form-section {
  margin-top: 40px;
}

.form-box {
  background: var(--card-background);
  padding: 40px;
  border-radius: 15px;
  max-width: 500px;
  margin: 10px auto;
  border: solid 2px #252525
}

/* ----------------------- Formulário de leads ----------------------- */
#leadForm {
  text-align: left;
}

.form-field {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 14px;
}

#leadForm .form-field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #c5c5c5;
}

#leadForm input:not([type="checkbox"]),
#leadForm select {
  width: 100%;
  padding: 14px 16px;
  background-color: #1b1b1b;
  border: 1.5px solid #2e2e2e;
  border-radius: 10px;
  color: var(--text-color);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

#leadForm input::placeholder {
  color: #7a7a7a;
}

#leadForm input:not([type="checkbox"]):hover,
#leadForm select:hover {
  border-color: #444;
}

/* Foco visível (o reset global remove o outline, o anel abaixo o substitui) */
#leadForm input:not([type="checkbox"]):focus,
#leadForm select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(250, 234, 49, 0.15);
  background-color: #202020;
}

#leadForm select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23c5c5c5' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  padding-right: 38px;
}

/* Enquanto nenhuma UF foi escolhida, o select exibe cor de placeholder */
#leadForm select:invalid {
  color: #7a7a7a;
}

#leadForm select option {
  color: #fff;
  background-color: #1b1b1b;
}

footer {
  text-align: center;
  padding: 30px;
  color: #646363;
}

/* ----------------------- Botão Cobrinha ----------------------- */
.btn-projects {
  position: relative;
  bottom: -80px;
  padding: 15px 30px;
  /* background-color: #252525; */
  color: var(--text-color);
  border: solid 2px #646363;
  font-size: 16px;
  cursor: pointer;
  overflow: hidden; /* Importante para esconder a borda fora do botão */
  transition: all 0.3s;
  border-radius: 10px;
}

/* Pseudo-elemento da borda */
.btn-projects::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary-color);
  border-radius: 10px;
  box-sizing: border-box;
  transform: scale(0); /* Começa invisível */
  transition: transform 0.5s;
}

/* Efeito no Hover */
.btn-projects:hover::before {
  transform: scale(1); /* Borda aparece */
  animation: snake-border 1.5s linear infinite;
}

/* Animação da Cobrinha */
@keyframes snake-border {
  0% { transform: translate(-50%, -50%) scale(1); }
  25% { transform: translate(50%, -50%) scale(1); }
  50% { transform: translate(50%, 50%) scale(1); }
  75% { transform: translate(-50%, 50%) scale(1); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

/* Alternativa: Borda desenhando (melhor para bordas retas) */

.btn-projects:hover::before {
  animation: draw-border 0.5s forwards;
}
@keyframes draw-border {
  0% { width: 0; height: 0; }
  50% { width: 100%; height: 0; }
  100% { width: 100%; height: 100%; }
}

.btn-projects:hover{
  border: none;
  color: var(--primary-color);
}