*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

:root {
  --primary: #008845;
  --primary-light: #07704b;
  --primary-dark: #07704b;
  --navy: #1f2d5c;
  --navy-light: #2a3a6e;
  --gray: #a0a0a0;
  --foreground: #f2f2f2;
  --muted-fg: #a0a0a0;
  --card-bg: #1a2550;
  --border: #2a3a6e;
  --dark: #141e42;
  --dark-deep: #0f1735;
  --shadow-green: 0 4px 30px hsla(153, 100%, 27%, 0.3);
  --shadow-card: 0 8px 32px hsla(222, 49%, 12%, 0.5);
}

body {
  font-family: "Open Sans", sans-serif;
  background: var(--dark);
  color: var(--foreground);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background: hsla(222, 49%, 17%, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  nav {
    padding: 0.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem; /* Adiciona uma margem de segurança entre os itens */
    align-items: center;
  }
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-logo {
  width: 55px;
  height: 55px;
  object-fit: contain;
  border-radius: 50%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--foreground);
  line-height: 1.1;
}

.brand-name em {
  color: var(--primary);
  font-style: normal;
}

.brand-slogan {
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(242, 242, 242, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .brand-slogan {
    display: block; /* Remove a trava que escondia o texto */
    font-size: 0.5rem; /* Fonte menor exclusiva para o celular */
    white-space: normal; /* Permite que o texto quebre para a linha de baixo */
    line-height: 1.2;
    max-width: 180px; /* Limita a largura para não esmagar o menu hambúrguer */
  }
}

.nav-links {
  display: none;
  list-style: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem; /* Espaço para monitores menores (notebooks) */
  }
}

@media (min-width: 1100px) {
  .nav-links {
    gap: 4rem; /* Volta a ficar bem espaçado em telas grandes */
  }
}

.nav-links a {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: hsla(0, 0%, 85%, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--primary);
}

a.nav-cta {
  display: none !important;
  font-size: 1.05rem;
  padding: 0.5rem 1rem;
}
@media (min-width: 768px) {
  a.nav-cta {
    display: inline-flex !important;
    justify-self: end; /* Força o botão para a extrema direita */
  }
}
/* ===== HAMBURGER ===== */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 66px;
  left: 0;
  right: 0;
  z-index: 49;
  background: hsla(222, 49%, 17%, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 0;
  gap: 1rem;
}
.mobile-menu.active {
  display: flex;
}
@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}
.mobile-menu a {
  font-family: "Montserrat", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsla(0, 0%, 85%, 1);
  transition: color 0.2s;
}
.mobile-menu a:hover {
  color: var(--primary);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-green);
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 40px hsla(153, 100%, 27%, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
  transition: background 0.2s;
  cursor: pointer;
}
.btn-outline:hover {
  background: hsla(153, 100%, 27%, 0.1);
}

/* ===== HERO ===== */
#inicio {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1518770660439-4636190af475?w=1920&q=80");
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    hsla(222, 49%, 17%, 0.93) 0%,
    hsla(153, 60%, 12%, 0.75) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .hero-content {
    padding: 5rem 2rem;
  }
}

/* Hero Logo - Centralizada e alinhada */
.hero-logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  animation: fall-in 0.6s ease-out both;
  animation-delay: 0s;
}
.hero-logo {
  width: 180px;
  height: 180px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 4px solid var(--primary);
  background: hsla(222, 49%, 17%, 0.5);
  box-shadow:
    0 0 30px hsla(153, 100%, 27%, 0.35),
    0 0 60px hsla(222, 49%, 24%, 0.3);

  animation: logo-glow 3s ease-in-out infinite;
  transform: translateX(4px);
  transition: transform 0.3s ease;
}

/* imagem dentro do círculo */
.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding-left: 0.5rem;
  display: block;
  transform: translateX(2px);
  animation: logo-pulse 3s ease-in-out infinite;
}
@keyframes logo-pulse {
  0% {
    transform: scale(1) translateX(3px);
  }

  50% {
    transform: scale(1.06) translateX(3px);
  }

  100% {
    transform: scale(1) translateX(3px);
  }
}

@keyframes fall-in {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
@keyframes logo-glow {
  0%,
  100% {
    box-shadow:
      0 0 30px hsla(153, 100%, 27%, 0.3),
      0 0 60px hsla(222, 49%, 24%, 0.3);
  }
  50% {
    box-shadow:
      0 0 50px hsla(153, 100%, 27%, 0.5),
      0 0 80px hsla(222, 49%, 24%, 0.4);
  }
}

/* No seu arquivo style.css, substitua o bloco .hero-badge por este: */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.4rem; /* Um pouco mais de respiro interno */
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem; /* Tamanho ideal para slogan */
  font-weight: 700; /* Negrito para dar mais impacto */
  letter-spacing: 0.04em; /* Espaçamento elegante entre letras */

  /* CORES E FUNDO NOVOS PARA DESTAQUE */
  background: hsla(
    153,
    100%,
    27%,
    0.25
  ); /* Fundo um pouco mais forte para separar da imagem */
  border: 1px solid var(--primary); /* Borda com a cor verde pura */
  color: #00ffaa; /* Texto BRANCO para contraste máximo */

  /* EFEITO DE BRILHO "TECH" */
  box-shadow: 0 0 20px hsla(153, 100%, 40%, 0.3); /* Um brilho verde suave ao redor */

  margin-bottom: 1.5rem;
  animation: fall-in 0.7s ease-out both;
  animation-delay: 0.1s;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00ffaa;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
.hero-content h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--foreground);
  animation: fall-in 0.8s ease-out both;
  animation-delay: 0.3s;
}
.hero-content h1 span {
  color: var(--primary);
}
.hero-content .subtitle {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: hsla(0, 0%, 75%, 1);
  animation: fall-in 0.8s ease-out both;
  animation-delay: 0.55s;
}
.hero-content .sub2 {
  font-size: 0.875rem;
  margin-bottom: 2rem;
  color: var(--gray);
  animation: fall-in 0.8s ease-out both;
  animation-delay: 0.7s;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fall-in 0.8s ease-out both;
  animation-delay: 0.9s;
}

/* ===== STATS ===== */
#stats {
  background: #f5f5f5;
}
.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 2rem;
  }
}
.stat-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  gap: 0.75rem;
  color: var(--navy);
  border-bottom: 1px solid #ddd;
}
@media (min-width: 768px) {
  .stat-card {
    border-bottom: none;
    border-right: 1px solid #ddd;
  }
  .stat-card:last-child {
    border-right: none;
  }
}
.stat-card:last-child {
  border-bottom: none;
}
.stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: hsla(153, 100%, 27%, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-icon svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}
.stat-value {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--navy);
}
.stat-label {
  font-size: 0.75rem;
  color: var(--gray);
}

/* ===== SOBRE NÓS / TESTIMONIAL ===== */
/* =========================
   SOBRE NÓS (STYLE PREMIUM)
========================= */

/* SECTION */
.about-section {
  padding: 80px 20px;
  background: #0f1f3a;
}

.about-container {
  max-width: 1200px;
  margin: auto;
}

/* GRID SUPERIOR */
.about-grid-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

/* CARDS */
.about-box,
.values-container {
  background: #162a4a;
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* HEADER */
.about-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.about-header h2 {
  color: white;
  font-size: 20px;
}

/* ICONES GRANDES */
.icon-box {
  width: 45px;
  height: 45px;
  background: rgba(0, 255, 170, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box svg {
  width: 24px;
  height: 24px;
  stroke: #00ffaa;
}

/* TEXTO */
.about-box p {
  color: #cbd5e1;
  line-height: 1.6;
}

/* HOVER APENAS MISSÃO E VISÃO */
.about-grid-top .about-box {
  transition: 0.3s;
}

.about-grid-top .about-box:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 170, 0.4);
}

/* VALORES (FIXO) */
.values-container {
  margin-top: 10px;
}

/* GRID VALORES */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}
.titulo-valores {
  margin: 0;
}
.about-header {
  display: flex;
  align-items: center;
  justify-content: center; /* ⭐ centraliza ícone + texto juntos */
  gap: 12px;
}

/* CARD VALOR */
.value-card {
  display: flex;
  align-items: flex-start; /* alinha topo do texto */
  gap: 14px;

  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);

  background: rgba(255, 255, 255, 0.02);

  transition: all 0.25s ease;
}

/* HOVER SOMENTE NOS MINI CARDS */
.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 170, 0.3);
  background: rgba(0, 255, 170, 0.04);
}

/* MINI ICON */
.mini-icon {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
  background: rgba(0, 255, 170, 0.08);

  flex-shrink: 0; /* ⭐ impede esmagar */
}

.mini-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  stroke: #00ffaa;
}

.value-card h3 {
  color: white;
  font-size: 15px;
  margin-bottom: 4px;
}

.value-card p {
  color: #94a3b8;
  font-size: 13px;
}
/* ===== SERVICES ===== */
#servicos {
  background: #f0f0f0;
  padding: 4rem 1rem;
}

/* Tablet */
@media (min-width: 768px) {
  #servicos {
    padding: 5rem 2rem;
  }
}

/* =========================
   TÍTULO
========================= */

.section-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  text-align: center;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

/* divisor */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.section-divider .line {
  height: 1px;
  width: 70px;
  background: #bbb;
}

.section-divider .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* =========================
   GRID
========================= */

.services-grid {
  max-width: 1280px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}

/* mobile grande */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* desktop */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================
   CARD
========================= */

.service-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e2e2;

  padding: 2rem 1.5rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  gap: 0.6rem;

  box-shadow: 0 8px 24px hsla(222, 20%, 60%, 0.15);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: hsla(153, 100%, 27%, 0.45);
  box-shadow: 0 14px 34px hsla(222, 20%, 50%, 0.18);
}

/* =========================
   ÍCONE
========================= */

.service-icon {
  width: 70px;
  height: 70px;

  border-radius: 18px;
  background: hsla(153, 100%, 27%, 0.1);

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 0.8rem;

  transition: all 0.3s ease;
}

/* ícone lucide */
.service-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 2;
  color: var(--primary);
  display: block;
}

/* micro interação */
.service-card:hover .service-icon {
  background: hsla(153, 100%, 27%, 0.18);
  transform: scale(1.08);
}

/* =========================
   TEXTO
========================= */

.service-card h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin: 0.4rem 0;
}

.service-card p {
  font-size: 0.8rem;
  line-height: 1.7;
  color: #666;
  max-width: 260px;
}

/* ===== DESTAQUE / MOTIVACIONAL ===== */
#destaque {
  padding: 3rem 1rem; /* Espaço reduzido no mobile */
  background: var(--dark-deep);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
  #destaque {
    padding: 3.5rem 2rem; /* Espaço reduzido no desktop */
  }
}

.impact-container {
  max-width: 800px; /* Container mais estreito */
  margin: 0 auto;
}

.impact-container h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600; /* Peso reduzido para chamar menos atenção */
  color: var(--foreground);
  opacity: 2rem;
  line-height: 1.4;
  font-size: clamp(1rem, 1.5vw, 1.35rem); /* Fonte bem menor */
}

.impact-container h2 span {
  color: var(--primary);
}

.impact-line {
  width: 50px;
  height: 3px; /* Linha mais fina */
  background: var(--primary);
  margin: 1.2rem auto 0; /* Aproximou a linha do texto */
  border-radius: 2px;
  box-shadow: 0 0 15px hsla(153, 100%, 27%, 0.5);
}

/* ===== CTA ===== */
#contato {
  padding: 4rem 1rem;
  background: linear-gradient(
    135deg,
    var(--dark) 0%,
    hsla(153, 50%, 12%, 1) 100%
  );
}
@media (min-width: 768px) {
  #contato {
    padding: 5rem 2rem;
  }
}
.cta-inner {
  max-width: 896px;
  margin: 0 auto;
  text-align: center;
}
.cta-inner h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}
@media (min-width: 768px) {
  .cta-inner h2 {
    font-size: 1.875rem;
  }
}
.cta-inner p {
  color: var(--gray);
  margin-bottom: 2rem;
}
.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--gray);
}
@media (min-width: 768px) {
  .contact-info {
    gap: 2rem;
  }
}
.contact-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-info svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

/* ===== FOOTER ===== */
footer {
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray);
  background: var(--dark-deep);
  border-top: 1px solid var(--border);
}
/* ===== MODAL ===== */

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: #0f172a;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  animation: modalFade 0.3s ease;
}
.modal-content form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-content h2 {
  margin-bottom: 20px;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 6px;
  border: none;
  background-color: #2a3a6e;
  color: #fff;
}

.modal-content textarea {
  height: 120px;
  resize: none;
}
/* cor do placeholder */
.modal-content input::placeholder,
.modal-content textarea::placeholder {
  color: #bfc8e6;
  opacity: 1;
}
.close-modal {
  float: right;
  font-size: 26px;
  cursor: pointer;
}

@keyframes modalFade {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* TOAST */
/* ===== TOAST SUCESSO ===== */
/* TOAST CENTRAL TOPO */
.toast {
  position: fixed;
  top: 30px; /* distância do topo da tela */
  left: 50%; /* centraliza horizontalmente */
  transform: translateX(-50%) translateY(-20px); /* centraliza + anima de cima */

  background: linear-gradient(135deg, #4f7cff, #6fa3ff);
  color: white;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);

  opacity: 0;
  pointer-events: none;

  transition: all 0.35s ease;
  z-index: 1050; /* acima do modal */
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0); /* anima para posição final */
}
