/* Mobile-first, paleta mantida. */

/* === VARIÁVEIS === */
:root{
  --primary: #3b82f6;
  --bg: #0c0f14;
  --card: #11141a;
  --muted: #9ca3af;
  --light: #e6e9ee;
  --glass: rgba(255,255,255,0.04);
  --container: 1100px;
  --radius: 12px;
  --transition: 320ms cubic-bezier(.22,.9,.3,1);
}

/* === RESET SIMPLES === */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: var(--bg);
  color: var(--light);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
}

/* container */
.container{
  width:calc(100% - 32px);
  max-width:var(--container);
  margin:0 auto;
  padding:24px 16px;
}

/* header */
.site-header{
  position:fixed;
  top:0; left:0; right:0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.12));
  border-bottom:1px solid rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  z-index:50;
}

.header-inner{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo{
  margin:0;
  color:var(--primary);
  font-weight:800;
  letter-spacing:0.6px;
  font-size:1.05rem;
}

/* nav */
.nav{
  margin-left:auto;
  display:none; /* mobile-first, appears on larger screens */
  gap:18px;
}
.nav a{
  color: #ddd;
  text-decoration:none;
  font-weight:600;
  font-size:0.95rem;
  padding:8px 4px;
  transition: var(--transition);
}
.nav a:hover{ color: var(--primary); transform: translateY(-2px); }

/* mobile toggle */
.mobile-toggle{
  background:transparent;
  border:0;
  color:#ddd;
  font-size:1.1rem;
  margin-left:10px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px;
}

/* buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
  border-radius:10px;
  padding:8px 14px;
  font-weight:700;
  cursor:pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}
.btn.large{ padding:12px 20px; font-size:1rem; }

.btn.primary{
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(59,130,246,0.12), 0 2px 6px rgba(0,0,0,0.5);
}
.btn.primary:hover{
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 30px rgba(59,130,246,0.18);
}

.btn.outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.7); /* glow azul */
  transition: 0.3s; /* deixa o efeito suave */
}

.btn.outline:hover {
  box-shadow: 0 0 20px rgba(0, 123, 255, 1); /* glow mais forte ao passar o mouse */
}

/* HERO */
.hero{
  padding-top: 110px; /* espaço para header fixo */
  padding-bottom: 28px;
}
.hero-inner{
  display:flex;
  flex-direction:column;
  gap:20px;
  align-items:center;
  text-align:center;
}

/* hero copy */
.hero-copy h2{
  font-size:1.9rem;
  margin:0;
  line-height:1.04;
  font-weight:900;
}
.hero-copy .accent{ color:var(--primary); }

.lead{ color: #c9cbd1; margin-top:10px; max-width:800px; }

/* feature grid */
/* feature grid */
.feature-grid {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
}

.feature-grid li {
  background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.6)); /* fundo mais escuro */
  padding: 12px 15px;
  border-radius: 10px;
  font-weight: 600;
  color: #fff; /* mais visível */
  text-align: center;
  cursor: pointer;
  border: 1px solid rgba(0,180,255,0.4); /* borda azul suave */
  transform-origin: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease, background 0.3s ease;
}

.feature-grid li:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 
    0 8px 22px rgba(0,0,0,0.6), 
    0 0 12px rgba(0,180,255,0.5); /* glow leve azul */
  border: 1px solid rgba(0,180,255,0.8); /* borda azul mais forte no hover */
  background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.8)); /* fundo mais destacado */
}



/* sections */
.section{ padding: 36px 0 48px 0; }
.section.alt{ background: rgba(255,255,255,0.01); }
.section .section-title{ font-size:1.35rem; margin:0; font-weight:800; text-align:center; }
.section .section-sub{ color:var(--muted); text-align:center; margin-top:8px; }

/* cards grid */
.cards-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.card {
  background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.6)); /* fundo mais escuro */
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,180,255,0.4); /* borda azul suave */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 16px 40px rgba(0,0,0,0.6), 
    0 0 15px rgba(0,180,255,0.5); /* glow leve azul */
  border-color: rgba(0,180,255,0.8); /* borda azul mais forte no hover */
  background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.85)); /* fundo mais destacado */
}

/* testimonials */
.test-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.testimonial {
  padding: 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.6)); /* fundo mais escuro */
  border-radius: 10px;
  border: 1px solid rgba(0,180,255,0.4); /* borda azul suave */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 12px 30px rgba(0,0,0,0.6), 
    0 0 12px rgba(0,180,255,0.5); /* glow leve azul */
  border-color: rgba(0,180,255,0.8); /* borda azul mais forte no hover */
  background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.85)); /* fundo mais destacado */
}

/* footer */
.site-footer{
  padding:28px 0 56px;
  border-top:1px solid rgba(255,255,255,0.03);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:18px;
}
.footer-grid h4{ margin:0; color:var(--primary); }
.footer-grid a{ display:block; color:#bdbfc6; text-decoration:none; margin:6px 0; }

/* === REVEAL ANIMATION (scroll) === */
.reveal{
  opacity:0;
  transform: translateY(18px) scale(0.995);
  transition: opacity 560ms cubic-bezier(.2,.9,.3,1), transform 560ms cubic-bezier(.2,.9,.3,1);
  will-change: transform, opacity;
}
.reveal.active{
  opacity:1;
  transform: translateY(0) scale(1);
}

/* Micro-motion for hero features (subtle) */
@keyframes floaty {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}
.hero-features li{ animation: floaty 6s ease-in-out infinite; animation-delay: calc(var(--i,0) * 180ms); }

/* Accessibility: user requests reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal{ transition:none; opacity:1; transform:none; }
}

/* === RESPONSIVIDADE (mobile-first -> larger screens) === */
@media(min-width:720px){
  .nav{ display:flex; }
  .mobile-toggle{ display:none; }

  .hero-inner{ flex-direction:row; align-items:center; text-align:left; gap:40px; }
  .hero-copy{ flex:1; }
  .hero-features{ flex:1; }

  .feature-grid{ grid-template-columns: repeat(2,1fr); }

  .cards-grid{ grid-template-columns: repeat(2,1fr); }
  .test-grid{ grid-template-columns: repeat(3,1fr); }

  .footer-grid{ grid-template-columns: repeat(4,1fr); }
  .container{ padding: 28px; }
  .hero{ padding-top: 140px; padding-bottom:60px; }
  .hero-copy h2{ font-size: 3rem; }
}

/* Larger screens */
@media(min-width:1100px){
  .hero-copy h2{ font-size:3.6rem; }
  .cards-grid{ gap:24px; }
}
/* Logo alinhada */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* Tamanho da imagem da logo */
.logo-img {
  width: 38px;
  height: 38px;
}

/* Texto do GuiTech */
.logo-text {
  margin: 0;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.15rem;
}

/* Mobile (telas pequenas) */
@media (max-width: 600px) {
  .logo-img {
    width: 28px;
    height: 28px;
  }

  .logo-text {
    font-size: 1rem;
  }
}
/* Mobile menu funcional */
.nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 16px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  padding: 18px;
  border-radius: 12px;
  gap: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}

.mobile-toggle.open {
  transform: rotate(90deg);
}
@media (max-width: 720px) {
  .mobile-toggle {
    margin-left: auto;  /* empurra o botão totalmente pra direita */
  }
}
