/* =============================================================================
   Alaya Code — style.css
   Visual tecnológico/futurista: fundo escuro, glassmorphism, brilhos neon azuis.
   Mobile-first. As media queries adaptam para tablet/desktop.
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. VARIÁVEIS DE COR (extraídas do logo) e TOKENS DE DESIGN
   >>> Altere as cores aqui para mudar toda a identidade visual.
----------------------------------------------------------------------------- */
:root {
  /* Cores base do logo */
  --bg-primary:     #00030F; /* fundo principal (quase preto azulado) */
  --bg-secondary:   #010C23; /* fundo secundário */
  --card-dark:      #011C42; /* fundo de cards */
  --blue-primary:   #0384F7; /* azul principal */
  --blue-secondary: #095BAA; /* azul secundário */
  --cyan-glow:      #40C6F0; /* brilho ciano */
  --white-tech:     #F0F0F1; /* branco tech (texto) */
  --silver:         #DDE2EA; /* prata (texto secundário) */

  /* Derivadas / utilitárias */
  --text-muted:     #9FB3C8;
  --glass-bg:       rgba(1, 28, 66, 0.45);
  --glass-border:   rgba(64, 198, 240, 0.18);

  /* Raios de borda */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Sombras / brilho neon */
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-neon: 0 0 0 1px rgba(64, 198, 240, 0.25), 0 8px 30px rgba(3, 132, 247, 0.35);
  --glow-blue: 0 0 40px rgba(3, 132, 247, 0.55);

  /* Glass */
  --blur: blur(14px);

  /* Transições */
  --t-fast: 0.18s ease;
  --t: 0.3s ease;
  --t-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);

  /* Layout */
  --nav-h: 70px;        /* topbar desktop */
  --bottom-nav-h: 64px; /* bottom-nav mobile */
  --maxw: 1180px;
}

/* -----------------------------------------------------------------------------
   2. RESET / BASE
----------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Poppins', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--white-tech);
  background: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Gradientes/brilhos sutis no fundo da página inteira */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(3, 132, 247, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(9, 91, 170, 0.18), transparent 55%),
    radial-gradient(700px 700px at 50% 120%, rgba(64, 198, 240, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

/* Esconde o honeypot anti-spam de forma acessível */
.hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* -----------------------------------------------------------------------------
   3. TIPOGRAFIA / UTILITÁRIOS
----------------------------------------------------------------------------- */
.section { padding: 72px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-glow);
  font-weight: 600;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.2;
  font-weight: 700;
}
.section-head p { color: var(--text-muted); margin-top: 14px; }

.text-gradient {
  background: linear-gradient(100deg, var(--cyan-glow), var(--blue-primary) 55%, var(--white-tech));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -----------------------------------------------------------------------------
   4. BOTÕES (efeito neon + microanimações)
----------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), opacity var(--t);
  white-space: nowrap;
}
.btn:active { transform: scale(0.96); }

.btn-primary {
  background: linear-gradient(120deg, var(--blue-primary), var(--cyan-glow));
  color: #001127;
  box-shadow: var(--shadow-neon);
}
.btn-primary:hover { box-shadow: var(--glow-blue), var(--shadow-neon); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--white-tech);
  backdrop-filter: var(--blur);
}
.btn-ghost:hover { border-color: var(--cyan-glow); transform: translateY(-2px); }

.btn-sm { padding: 9px 16px; font-size: 0.85rem; }

/* Efeito ripple criado via JS (initButtonFeedback) */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.4);
  animation: ripple 0.6s linear;
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(3.5); opacity: 0; } }

/* -----------------------------------------------------------------------------
   5. TOPBAR (desktop) + MENU RESPONSIVO
----------------------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: var(--blur);
  background: rgba(0, 3, 15, 0.6);
  border-bottom: 1px solid rgba(64, 198, 240, 0.10);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; }
.brand b { font-weight: 700; font-size: 1.1rem; letter-spacing: 0.02em; }
.brand span { color: var(--cyan-glow); }

.nav-links { display: none; align-items: center; gap: 26px; }
.nav-links a {
  font-size: 0.92rem;
  color: var(--silver);
  position: relative;
  transition: color var(--t);
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--cyan-glow);
  transition: width var(--t);
}
.nav-links a:hover, .nav-links a.active { color: var(--white-tech); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.topbar-cta { display: none; }

.menu-toggle {
  display: inline-flex;
  font-size: 1.4rem;
  color: var(--white-tech);
  padding: 6px;
}

/* Menu mobile (drawer) */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 3, 15, 0.85);
  backdrop-filter: var(--blur);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-size: 1.25rem; color: var(--silver); }
.mobile-menu a:hover { color: var(--cyan-glow); }
.mobile-menu .close {
  position: absolute; top: 20px; right: 24px;
  font-size: 1.8rem; color: var(--white-tech);
}

/* -----------------------------------------------------------------------------
   6. HERO (split: texto à esquerda, mockup de celular à direita)
----------------------------------------------------------------------------- */
.hero { padding: 50px 0 70px; }
.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

.hero-text { text-align: center; position: relative; }
.hero-logo-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  margin-bottom: 22px;
}
/* Brilho azul atrás do logo */
.hero-logo-wrap::before {
  content: "";
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3,132,247,0.55), transparent 65%);
  filter: blur(10px);
  z-index: 0;
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.12); opacity: 1; } }
.hero-logo-wrap img { position: relative; z-index: 1; width: 96px; height: 96px; object-fit: contain; }

.hero h1 {
  font-size: clamp(1.9rem, 6vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 18px;
}
.hero p.lead { color: var(--silver); font-size: 1.05rem; max-width: 560px; margin: 0 auto 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.hero-badges {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-top: 30px;
}
.hero-badges span {
  font-size: 0.8rem;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--silver);
  backdrop-filter: var(--blur);
}

/* -----------------------------------------------------------------------------
   7. MOCKUP DE SMARTPHONE (emulador de app navegável)
----------------------------------------------------------------------------- */
.phone-wrap { display: flex; justify-content: center; perspective: 1200px; }

.phone {
  position: relative;
  width: 320px;
  max-width: 86vw;
  aspect-ratio: 320 / 660;
  background: linear-gradient(160deg, #0a1020, #00030f);
  border-radius: 44px;
  padding: 14px;
  border: 1px solid rgba(64, 198, 240, 0.25);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(3, 132, 247, 0.25),
    inset 0 0 0 2px rgba(255, 255, 255, 0.03);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Notch */
.phone::before {
  content: "";
  position: absolute;
  top: 16px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 22px;
  background: #00030f;
  border-radius: 0 0 16px 16px;
  z-index: 5;
}

.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
  display: flex;
  flex-direction: column;
}

/* Barra superior do app */
.app-topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 30px 16px 12px;
  border-bottom: 1px solid rgba(64, 198, 240, 0.10);
  flex-shrink: 0;
}
.app-topbar img { width: 28px; height: 28px; object-fit: contain; border-radius: 7px; }
.app-topbar b { font-size: 0.95rem; }
.app-topbar .dot { margin-left: auto; display: flex; gap: 5px; }
.app-topbar .dot i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-primary); display: block; }
.app-topbar .dot i:nth-child(2) { background: var(--cyan-glow); }
.app-topbar .dot i:nth-child(3) { background: var(--blue-secondary); }

/* Área de telas roláveis */
.app-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 14px 16px;
  -webkit-overflow-scrolling: touch;
}
.app-body::-webkit-scrollbar { width: 0; }

/* Telas internas (apenas a .active aparece) */
.app-screen { display: none; animation: screenIn 0.4s ease; }
.app-screen.active { display: block; }
@keyframes screenIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.app-hero {
  border-radius: var(--radius-md);
  padding: 16px;
  background: linear-gradient(130deg, rgba(3,132,247,0.25), rgba(1,28,66,0.6));
  border: 1px solid var(--glass-border);
  margin-bottom: 14px;
}
.app-hero h4 { font-size: 1rem; line-height: 1.3; margin-bottom: 6px; }
.app-hero p { font-size: 0.78rem; color: var(--silver); margin-bottom: 12px; }
.app-hero .btn { width: 100%; font-size: 0.82rem; padding: 11px; }

.app-section-title { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cyan-glow); margin: 6px 2px 10px; }

/* Mini-cards de serviço dentro do app */
.app-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  margin-bottom: 10px;
  transition: transform var(--t-fast), border-color var(--t);
}
.app-card:hover { transform: translateX(3px); border-color: var(--cyan-glow); }
.app-card .ic {
  width: 38px; height: 38px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
  color: #fff; font-size: 0.95rem;
  overflow: hidden;
}
/* Quando o mini-card usa o ícone real do app (imagem) */
.app-card .ic img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
.app-card h5 { font-size: 0.84rem; }
.app-card p { font-size: 0.72rem; color: var(--text-muted); }

/* Chips / indicadores */
.app-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.app-chips span {
  font-size: 0.7rem; padding: 5px 11px; border-radius: var(--radius-pill);
  background: rgba(64,198,240,0.12); border: 1px solid var(--glass-border); color: var(--silver);
}
.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.app-stats div {
  text-align: center; padding: 12px 6px; border-radius: var(--radius-sm);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
}
.app-stats b { display: block; font-size: 1.1rem; color: var(--cyan-glow); }
.app-stats small { font-size: 0.62rem; color: var(--text-muted); }

/* Mini formulário dentro do app */
.app-field { margin-bottom: 10px; }
.app-field label { font-size: 0.68rem; color: var(--text-muted); display: block; margin-bottom: 4px; }
.app-field input, .app-field textarea {
  width: 100%; padding: 9px 11px; font-size: 0.78rem;
  border-radius: 10px; color: var(--white-tech);
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border);
}

/* Bottom-nav DO APP (dentro do mockup) */
.app-nav {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  padding: 10px 6px;
  border-top: 1px solid rgba(64, 198, 240, 0.12);
  background: rgba(0, 3, 15, 0.7);
  backdrop-filter: var(--blur);
}
.app-nav button {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 0.58rem; color: var(--text-muted);
  transition: color var(--t), transform var(--t-fast);
  flex: 1;
}
.app-nav button i { font-size: 1rem; }
.app-nav button.active { color: var(--cyan-glow); }
.app-nav button.active i { filter: drop-shadow(0 0 8px rgba(64,198,240,0.8)); }
.app-nav button:active { transform: scale(0.9); }

/* -----------------------------------------------------------------------------
   8. CARDS GLASS (seções Soluções / Diferenciais / IA / Projetos)
----------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-card);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(400px 200px at 50% -20%, rgba(3,132,247,0.18), transparent 60%);
  opacity: 0; transition: opacity var(--t);
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: rgba(64,198,240,0.45); box-shadow: var(--glow-blue), var(--shadow-card); }
.card:hover::after { opacity: 1; }

.card .icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 16px;
  font-size: 1.4rem;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
  box-shadow: var(--shadow-neon);
  margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.92rem; }

/* -----------------------------------------------------------------------------
   9. COMO TRABALHAMOS (timeline / fluxo)
----------------------------------------------------------------------------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute;
  left: 26px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(var(--blue-primary), var(--cyan-glow), transparent);
}
.step {
  position: relative;
  display: flex; gap: 20px; align-items: flex-start;
  padding: 0 0 28px 0;
}
.step:last-child { padding-bottom: 0; }
.step .num {
  position: relative; z-index: 1;
  width: 54px; height: 54px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  font-weight: 700; font-size: 1.1rem;
  color: #001127;
  background: linear-gradient(135deg, var(--cyan-glow), var(--blue-primary));
  box-shadow: var(--shadow-neon);
}
.step .step-body {
  padding: 12px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: var(--blur);
  flex: 1;
  transition: transform var(--t), border-color var(--t);
}
.step .step-body:hover { transform: translateX(4px); border-color: var(--cyan-glow); }
.step h4 { font-size: 1.02rem; margin-bottom: 3px; }
.step p { font-size: 0.88rem; color: var(--text-muted); }

/* -----------------------------------------------------------------------------
   10. PROJETOS (cards com imagem)
----------------------------------------------------------------------------- */
.project {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--blur);
  display: flex; flex-direction: column;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.project:hover { transform: translateY(-6px); border-color: rgba(64,198,240,0.45); box-shadow: var(--glow-blue); }
.project .thumb {
  height: 150px;
  display: grid; place-items: center;
  font-size: 2.6rem; color: #fff;
  position: relative;
  background-size: cover; background-position: center;
}
.project .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,3,15,0.55)); }
.project .thumb i { position: relative; z-index: 1; filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5)); }
/* Ícone real do app (imagem) centralizado sobre o gradiente */
.project .thumb .app-icon {
  position: relative; z-index: 1;
  width: 96px; height: 96px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 10px 26px rgba(0,0,0,0.5);
  transition: transform var(--t);
}
.project:hover .thumb .app-icon { transform: scale(1.06) translateY(-2px); }
.project .pbody { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project .pbody h3 { font-size: 1.08rem; }
.project .pbody p { font-size: 0.86rem; color: var(--text-muted); flex: 1; }
.project .pbody .btn { align-self: flex-start; margin-top: 6px; }

/* Gradientes variados para os thumbs dos projetos */
.g1 { background-image: linear-gradient(135deg, #0384F7, #095BAA); }
.g2 { background-image: linear-gradient(135deg, #40C6F0, #0384F7); }
.g3 { background-image: linear-gradient(135deg, #095BAA, #011C42); }
.g4 { background-image: linear-gradient(135deg, #0a7cd1, #40C6F0); }
.g5 { background-image: linear-gradient(135deg, #0384F7, #011C42); }

/* -----------------------------------------------------------------------------
   11. SEÇÃO IA (destaque)
----------------------------------------------------------------------------- */
.ia-wrap {
  display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center;
}
.ia-list { display: grid; gap: 14px; }
.ia-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--blur);
  transition: transform var(--t), border-color var(--t);
}
.ia-item:hover { transform: translateY(-3px); border-color: var(--cyan-glow); }
.ia-item i {
  font-size: 1.1rem; color: var(--cyan-glow);
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 12px;
  background: rgba(64,198,240,0.10); border: 1px solid var(--glass-border);
}
.ia-item h4 { font-size: 0.98rem; margin-bottom: 2px; }
.ia-item p { font-size: 0.85rem; color: var(--text-muted); }

.ia-panel {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(3,132,247,0.20), rgba(1,28,66,0.55));
  border: 1px solid var(--glass-border);
  text-align: center;
  box-shadow: var(--shadow-card);
}
.ia-panel .big-ic {
  width: 84px; height: 84px; margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 24px; font-size: 2.2rem; color: #fff;
  background: linear-gradient(135deg, var(--blue-primary), var(--cyan-glow));
  box-shadow: var(--glow-blue);
}
.ia-panel h3 { font-size: 1.3rem; margin-bottom: 10px; }
.ia-panel p { color: var(--silver); font-size: 0.95rem; margin-bottom: 20px; }

/* -----------------------------------------------------------------------------
   12. CONTATO (formulário)
----------------------------------------------------------------------------- */
.contact-wrap { display: grid; grid-template-columns: 1fr; gap: 30px; }
.contact-form {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-card);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; margin-bottom: 6px; color: var(--silver); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  color: var(--white-tech);
  transition: border-color var(--t), box-shadow var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan-glow);
  box-shadow: 0 0 0 3px rgba(64,198,240,0.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select option { background: var(--card-dark); color: var(--white-tech); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff6b6b; }
.field .err { display: none; font-size: 0.78rem; color: #ff8c8c; margin-top: 5px; }
.field.invalid .err { display: block; }
.contact-form .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 14px; }

.contact-info { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.info-card {
  display: flex; gap: 14px; align-items: center;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--blur);
  transition: transform var(--t), border-color var(--t);
}
.info-card:hover { transform: translateY(-3px); border-color: var(--cyan-glow); }
.info-card i {
  width: 46px; height: 46px; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 14px;
  font-size: 1.2rem; color: #fff;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
}
.info-card small { color: var(--text-muted); font-size: 0.78rem; display: block; }
.info-card b { font-size: 0.95rem; word-break: break-word; }

/* -----------------------------------------------------------------------------
   13. RODAPÉ
----------------------------------------------------------------------------- */
.footer {
  margin-top: 30px;
  padding: 50px 0 calc(40px + var(--bottom-nav-h));
  border-top: 1px solid rgba(64,198,240,0.10);
  background: rgba(0,3,15,0.5);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 10px; margin-bottom: 12px; }
.footer-brand b { font-size: 1.1rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; margin-top: 8px; max-width: 320px; }
.footer h5 { font-size: 0.95rem; margin-bottom: 14px; color: var(--cyan-glow); }
.footer-links a { display: block; color: var(--silver); font-size: 0.9rem; padding: 4px 0; transition: color var(--t); }
.footer-links a:hover { color: var(--cyan-glow); }
.footer-social { display: flex; gap: 12px; margin-top: 6px; }
.footer-social a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px; background: var(--glass-bg); border: 1px solid var(--glass-border);
  transition: transform var(--t), border-color var(--t), color var(--t);
}
.footer-social a:hover { transform: translateY(-3px); border-color: var(--cyan-glow); color: var(--cyan-glow); }
.copyright {
  text-align: center;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--text-muted);
  font-size: 0.84rem;
}

/* -----------------------------------------------------------------------------
   14. FAB WHATSAPP + BOTTOM-NAV MOBILE (site real)
----------------------------------------------------------------------------- */
.fab-whats {
  position: fixed;
  right: 18px;
  bottom: calc(var(--bottom-nav-h) + 16px);
  z-index: 150;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 1.6rem; color: #fff;
  background: #25D366;
  box-shadow: 0 8px 24px rgba(37,211,102,0.5);
  transition: transform var(--t);
  animation: pulse-whats 2.4s infinite;
}
.fab-whats:hover { transform: scale(1.08); }
@keyframes pulse-whats {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Bottom-nav fixa do SITE (estilo app no mobile) */
.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 140;
  height: var(--bottom-nav-h);
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(0, 3, 15, 0.85);
  backdrop-filter: var(--blur);
  border-top: 1px solid rgba(64,198,240,0.14);
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 0.62rem; color: var(--text-muted);
  flex: 1; padding: 6px 0;
  transition: color var(--t-fast), transform var(--t-fast);
}
.bottom-nav a i { font-size: 1.15rem; }
.bottom-nav a.active { color: var(--cyan-glow); }
.bottom-nav a.active i { filter: drop-shadow(0 0 8px rgba(64,198,240,0.8)); }
.bottom-nav a:active { transform: scale(0.9); }

/* -----------------------------------------------------------------------------
   15. ANIMAÇÃO ON-SCROLL (revelar elementos)
----------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--t-slow), transform var(--t-slow); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Página de status do contato.php */
.status-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; }
.status-card {
  max-width: 480px; width: 100%; text-align: center;
  padding: 44px 30px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-card);
}
.status-card .big-ic { width: 84px; height: 84px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 24px; font-size: 2.4rem; color: #fff; }
.status-card.ok .big-ic { background: linear-gradient(135deg, #1fbf75, #3ddc97); box-shadow: 0 0 40px rgba(61,220,151,0.5); }
.status-card.err .big-ic { background: linear-gradient(135deg, #c0392b, #ff6b6b); box-shadow: 0 0 40px rgba(255,107,107,0.4); }
.status-card h1 { font-size: 1.5rem; margin-bottom: 10px; }
.status-card p { color: var(--silver); margin-bottom: 22px; }
.status-card ul { text-align: left; display: inline-block; margin: 0 auto 22px; color: #ff9c9c; font-size: 0.9rem; }
.status-card ul li { padding: 3px 0; }

/* -----------------------------------------------------------------------------
   16. RESPONSIVO — TABLET / DESKTOP
----------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .section { padding: 90px 0; }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1.2fr 0.8fr; }
  .ia-wrap { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 992px) {
  /* No desktop mostramos o menu superior e escondemos a bottom-nav mobile */
  .nav-links { display: flex; }
  .topbar-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .bottom-nav { display: none; }
  .fab-whats { bottom: 24px; right: 24px; }
  .footer { padding-bottom: 50px; }

  /* Hero vira split: texto à esquerda, celular à direita */
  .hero .container { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
  .hero-text { text-align: left; }
  .hero-logo-wrap { justify-self: start; }
  .hero p.lead { margin-left: 0; }
  .hero-actions, .hero-badges { justify-content: flex-start; }

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

/* Acessibilidade: reduzir movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
