/* ==========================
   VAULTSERVERS — THEME FLAT
   (sem glow, sem neon)
   ========================== */

:root{
  --bg: #070A0F;
  --bg2:#0B1020;
  --surface: #0C1224;
  --surface2:#0A0F1D;
  --border: rgba(255,255,255,.10);
  --border2: rgba(255,255,255,.14);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --muted2: rgba(255,255,255,.55);
  --accent: #00CFFF; /* ciano da marca (sem glow) */
  --success: #22C55E;

  --radius: 16px;
  --radius2: 12px;
  --shadow: 0 12px 30px rgba(0,0,0,.35);

  --container-pad: 24px;
}

/* Base */
html, body{
  height:100%;
}

body{
  margin:0;
  padding:0;
  overflow-x:hidden;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(0,207,255,.08), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
}

/* Remove qualquer “brilho” herdado */
*{
  text-shadow: none !important;
  box-shadow: none;
}

/* ==========================
   Fundo / Vídeo (ATIVO)
   ========================== */
#bg-video{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;

  /* flat: escurece e tira “cara de neon” */
  filter: brightness(.30) contrast(1.05) saturate(.95);
  background: #000;
}

/* ==========================
   Header / Main bar (flat)
   ========================== */
.main-bar{
  position: fixed;
  top: 0; left: 0;
  width:100%;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(7,10,15,.72);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
}

body.has-main-bar{
  padding-top: 64px;
}

.main-bar .navbar{
  height:100%;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Header mobile */
.mobile-header{
  height: 64px;
  background: rgba(7,10,15,.72);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Links navbar */
.navbar a{
  color: var(--text) !important;
  opacity: .85;
  text-decoration:none;
}
.navbar a:hover{
  opacity: 1;
}

/* ==========================
   Hero / Conteúdo
   ========================== */
.conteudo{
  position: relative;
  z-index: 1;
  padding-bottom: 80px;
}

.hero-section{
  min-height: 100vh;
  padding-top: 14vh;
  padding-bottom: 8vh;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

@media (max-width: 576px){
  .hero-section{
    padding-top: 18vh;
  }
}

/* Logo */
.logo-container{
  display:flex;
  justify-content:center;
  align-items:center;
  padding: 24px 16px;
}
.logo-img{
  width:100%;
  max-width: 360px;
  height:auto;
}

/* Headline */
h1,h2,h3,h4,p,li,span,a{
  color: var(--text);
}

.hero-section h3{
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 10px;
  margin-bottom: 12px;
}

.lead{
  color: var(--muted) !important;
  font-size: 1.05rem;
}

/* Typewriter (flat: desativa animação e cursor) */
.typewriter-container{
  border: 0 !important;
  animation: none !important;
  width: auto !important;
  white-space: normal !important;
}

/* ==========================
   Cards do topo (3 serviços)
   ========================== */
.servicos-detalhes-top{
  margin-top: 28px;
}

.m2{
  /* desliga o “tron framework” sem quebrar HTML */
  background: transparent !important;
  animation: none !important;
  padding: 0 !important;
  height: auto !important;
  width: 100% !important;
  box-shadow: none !important;
}

.m2::before,
.m2::after{
  content:none !important; /* mata o glow */
}

.m2.m2-servico{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
}

.card-servico{
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding: 22px !important;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  cursor:pointer;
}

.card-servico h3{
  font-size: 1.05rem;
  margin: 12px 0 10px 0;
  letter-spacing: -0.01em;
}

.card-servico p{
  color: var(--muted);
  margin: 0;
}

.icone-servico{
  font-size: 26px;
  color: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
}

/* Hover flat */
.m2.m2-servico:hover .card-servico{
  transform: translateY(-2px);
  background: rgba(255,255,255,.05);
}

/* ==========================
   Chip / CTA
   ========================== */
.m2.m2-chip,
.m2.m2-cta{
  width: max-content !important;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 !important;
  height: 40px !important;
  background: rgba(255,255,255,.03) !important;
}

.m2.m2-chip:hover,
.m2.m2-cta:hover{
  border-color: var(--border2);
  background: rgba(255,255,255,.05) !important;
}

.m2 .chip-inner{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--text);
  text-decoration:none;
  font-weight: 600;
  letter-spacing: .01em;
  border: 0 !important;
  background: transparent !important;
}

.m2 .chip-inner:hover{
  color: var(--text);
}

/* WhatsApp CTA: verde flat, sem glow */
.m2 .chip-inner.chip-cta{
  background: rgba(34,197,94,.14) !important;
  color: var(--text) !important;
}

.m2 .chip-inner.chip-cta .material-symbols-outlined{
  color: rgba(34,197,94,.95);
}

/* ==========================
   Seções detalhadas
   ========================== */
.servicos-detalhes{
  margin-top: 44px;
  margin-bottom: 24px;
}

.custom-card{
  background: rgba(255,255,255,.03) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  color: var(--text) !important;
}

.servico-detalhe{
  border-radius: var(--radius);
}

.servico-detalhe h2{
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.servico-detalhe p{
  color: var(--muted);
}

.servico-detalhe ul{
  padding-left: 1.2rem;
  margin-top: 0.75rem;
}
.servico-detalhe li{
  color: var(--muted);
  margin-bottom: .35rem;
}

/* Highlights da coluna direita: flat */
.servico-highlight{
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 14px 16px;
  color: var(--muted);
}

.servico-highlight-title{
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  color: var(--muted2);
  margin-bottom: 6px;
}

.servico-highlight strong{
  color: var(--text);
}

/* ==========================
   Offcanvas / Menu lateral
   ========================== */
.offcanvas.text-bg-dark{
  background: #0A0F1D !important;
  border-right: 1px solid var(--border);
}

.btn-outline-info{
  border-color: rgba(0,207,255,.45) !important;
  color: var(--text) !important;
}
.btn-outline-info:hover{
  background: rgba(0,207,255,.12) !important;
  border-color: rgba(0,207,255,.55) !important;
}

/* ==========================
   Modal (flat)
   ========================== */
.modal-backdrop{
  background: rgba(0,0,0,.55) !important;
}

.modal-content.custom-card{
  background: #0A0F1D !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
}

.modal-header .material-symbols-outlined{
  color: var(--accent);
}

/* Inputs */
.form-control{
  background: rgba(255,255,255,.04) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}
.form-control::placeholder{
  color: rgba(255,255,255,.45);
}
.form-control:focus{
  border-color: rgba(0,207,255,.55) !important;
  box-shadow: none !important;
}

/* ==========================
   Footer (flat)
   ========================== */
.footer-vault-tron{
  background: rgba(7,10,15,.72);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer-vault-tron a{
  color: rgba(255,255,255,.85);
  text-decoration:none;
}
.footer-vault-tron a:hover{
  color: var(--text);
  text-decoration: underline;
}

.footer-vault-tron .material-symbols-outlined{
  font-size: 18px;
  color: rgba(255,255,255,.70);
  margin-right: 6px;
  vertical-align: middle;
}

/* ==========================
   Acessibilidade / motion
   ========================== */
@media (prefers-reduced-motion: reduce){
  *{
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* Restaurar arredondados (flat) */
.m2.m2-servico{
  border-radius: var(--radius) !important;
}

.card-servico{
  border-radius: var(--radius) !important;
}

.m2.m2-chip,
.m2.m2-cta{
  border-radius: 999px !important;
}

.m2.m2-chip .chip-inner,
.m2.m2-cta .chip-inner{
  border-radius: 999px !important;
}

/* Botão flutuante Área do Usuário – flat e transparente */
.vs-user-fab {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1100;

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  border: none;
  border-radius: 50%;

  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;

  transition: background 0.2s ease, color 0.2s ease;
}

/* Ícone */
.vs-user-fab .material-symbols-outlined {
  font-size: 28px;
}

/* Hover suave */
.vs-user-fab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* Remove qualquer sombra herdada */
.vs-user-fab,
.vs-user-fab:focus,
.vs-user-fab:active {
  box-shadow: none !important;
  outline: none;
}

/* =======================================================
   PATCH — Calculadora / Orçamento (antes do footer)
   - visual igual ao print (colunas claras + painel direito escuro)
   - radios/inputs mais “limpos”
   - todos os campos do form: obrigatórios
   ======================================================= */

/* Seção */
#calculadora .custom-card{
  background: rgba(255,255,255,.02) !important;
}

/* Título e texto */
#calculadora h2{ margin-bottom: .25rem; }
#calculadora p{ margin-bottom: 0; }

/* Cards de seleção (3 colunas) mais claros */
#calculadora .vs-pick-card{
  background: rgba(255,255,255,.035) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: var(--radius) !important;
}

/* Painel direito escuro (igual ao print) */
#calculadora .vs-summary-card{
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: var(--radius) !important;
}

/* Separadores */
#calculadora hr{
  border-color: rgba(255,255,255,.10) !important;
  opacity: 1;
}

/* Radios mais bonitos */
#calculadora .vs-radio.form-check-input{
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background-color: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: none !important;
}
#calculadora .vs-radio.form-check-input:checked{
  background-color: rgba(0,207,255,.22);
  border-color: rgba(0,207,255,.65);
}
#calculadora label{
  cursor: pointer;
  user-select: none;
}
#calculadora label:hover span{
  color: rgba(255,255,255,.92);
}

/* Inputs/textarea mais alinhados com o tema */
#calculadora .form-control{
  background: rgba(255,255,255,.05) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: rgba(255,255,255,.92) !important;
}
#calculadora .form-control:focus{
  border-color: rgba(0,207,255,.60) !important;
  outline: none !important;
}

/* Botão vermelho igual ao print (flat) */
#calculadora .vs-btn-orcamento{
  background: rgba(220,53,69,.85) !important;
  border: 1px solid rgba(220,53,69,.95) !important;
  color: #fff !important;
  font-weight: 800;
  letter-spacing: .02em;
  height: 44px;
  border-radius: 10px;
}
#calculadora .vs-btn-orcamento:hover{
  background: rgba(220,53,69,.95) !important;
}

/* Pequenos ajustes de responsividade */
@media (max-width: 992px){
  #calculadora .vs-summary-card{ margin-top: 6px; }
}
