/* ========================================================================== */
/*  ARMA — CSS (organizado e comentado)                                       */
/*  Base dark + glass UI + upgrades: buttons hover, carousel, select, contato */
/*  arma: ARMA-SITE-CSS-v2-HERO-FIX                                           */
/* ========================================================================== */

/* -------------------------------------------------------------------------- */
/*  1) TOKENS / VARIÁVEIS                                                     */
/* -------------------------------------------------------------------------- */
:root{
    --arma-bg: #0b1220;
    --arma-bg2: #0a0f1a;
  
    --arma-card: rgba(255,255,255,.04);
    --arma-border: rgba(255,255,255,.10);
  
    --arma-text: rgba(255,255,255,.92);
    --arma-muted: rgba(255,255,255,.68);
  
    /* Accent (Bootstrap primary) — usado em sombras/glow */
    --arma-primary: rgba(13,110,253,1);
    --arma-primary-soft: rgba(13,110,253,.15);
  }
  
  /* -------------------------------------------------------------------------- */
  /*  2) BASE / LAYOUT                                                         */
  /* -------------------------------------------------------------------------- */
  .arma-body{
    /* fundo institucional dark com highlights */
    background:
      radial-gradient(1200px 600px at 20% 10%, rgba(13,110,253,.18), transparent 60%),
      radial-gradient(900px 500px at 80% 20%, rgba(0,255,170,.08), transparent 55%),
      linear-gradient(180deg, var(--arma-bg), var(--arma-bg2));
  
    color: var(--arma-text);
  
    /* compensa navbar fixa */
    padding-top: 70px;
  }
  
  .arma-main{
    min-height: calc(100vh - 140px);
  }
  
  .arma-muted{
    color: var(--arma-muted);
  }
  
  /* -------------------------------------------------------------------------- */
  /*  3) NAVBAR                                                                */
  /* -------------------------------------------------------------------------- */
  .arma-nav{
    background: rgba(0,0,0,.55);
    border-bottom: 1px solid var(--arma-border);
  
    /* glass */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .arma-brand-text{
    font-weight: 700;
    letter-spacing: .3px;
  }
  
  /* -------------------------------------------------------------------------- */
  /*  4) HERO / SLIDER                                                         */
  /* -------------------------------------------------------------------------- */
  .arma-hero-slider{
    /* sem margin-top aqui (conforme sua nota) */
  }
  
  .arma-hero-slide{
    position: relative;
    height: 620px;
  
    background-size: cover;
    background-position: center top; /* preserva topo */
    display: flex;
    align-items: flex-start;
  }
  
  /* overlay elegante (depth) */
  .arma-hero-slide::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(
      to right,
      rgba(6,12,22,.88),
      rgba(6,12,22,.55),
      rgba(6,12,22,.25)
    );
  }
  
  .arma-hero-slide .container{
    position: relative;
    z-index: 2;
    padding-top: 90px;
  }
  
  .arma-hero-slide h1,
  .arma-hero-slide h2,
  .arma-hero-slide p{
    color: #fff;
  }
  
  /* seção hero (quando usada fora do slider também) */
  .arma-hero{
    padding: 64px 0 36px 0;
  }
  
  /* -------------------------------------------------------------------------- */
  /*  5) CARDS / GLASS                                                         */
  /* -------------------------------------------------------------------------- */
  .arma-card{
    background: var(--arma-card);
    border: 1px solid var(--arma-border);
    border-radius: 16px;
  }
  
  /* hover sutil, mantém feel premium */
  .arma-card:hover{
    border-color: rgba(13,110,253,.40);
    transform: translateY(-2px);
    transition: .15s ease;
  }
  
  /* -------------------------------------------------------------------------- */
  /*  6) FOOTER                                                                */
  /* -------------------------------------------------------------------------- */
  .arma-footer{
    border-top: 1px solid var(--arma-border);
    background: rgba(0,0,0,.35);
  }
  
  .arma-footer a.text-secondary:hover{
    color: rgba(255,255,255,.9) !important;
  }
  
  /* -------------------------------------------------------------------------- */
  /*  7) CONTEÚDO RICO (HTML vindo do banco)                                    */
  /* -------------------------------------------------------------------------- */
  .arma-content{
    color: rgba(255,255,255,.90);
  }
  
  .arma-content h2,
  .arma-content h3,
  .arma-content h4{
    margin-top: 18px;
    margin-bottom: 10px;
  }
  
  .arma-content p,
  .arma-content li{
    color: rgba(255,255,255,.78);
  }
  
  .arma-content a{
    color: #0d6efd;
    text-decoration: none;
  }
  
  .arma-content a:hover{
    text-decoration: underline;
  }
  
  /* -------------------------------------------------------------------------- */
  /*  8) FORMS (tema dark)                                                     */
  /* -------------------------------------------------------------------------- */
  .form-control,
  .form-select,
  textarea{
    background-color: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.92);
  }
  
  /* placeholder claro (dark UX) */
  .form-control::placeholder,
  textarea::placeholder{
    color: rgba(255,255,255,.45);
    opacity: 1;
  }
  
  .form-control:focus,
  .form-select:focus,
  textarea:focus{
    background-color: rgba(255,255,255,.08);
    border-color: rgba(13,110,253,.45);
    box-shadow: 0 0 0 .2rem rgba(13,110,253,.15);
    color: rgba(255,255,255,.92);
  }
  
  .form-label{
    color: rgba(255,255,255,.75);
  }
  
  /* -------------------------------------------------------------------------- */
  /*  9) BOTÕES — ULTRA PREMIUM (SOMENTE HOVER / FEEDBACK)                      */
  /* -------------------------------------------------------------------------- */
  .btn{
    position: relative;
    overflow: hidden;
  
    transition:
      transform .18s ease,
      box-shadow .18s ease,
      filter .18s ease;
  
    will-change: transform;
  }
  
  /* 9.1) Primary: hover premium + brilho animado */
  .btn-primary:hover{
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow:
      0 10px 28px rgba(13,110,253,.35),
      0 6px 18px rgba(0,0,0,.35);
  }
  
  .btn-primary::after{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(
      120deg,
      transparent 30%,
      rgba(255,255,255,.18),
      transparent 70%
    );
    opacity: 0;
    transform: translateX(-100%);
    transition: .45s ease;
  }
  
  .btn-primary:hover::after{
    opacity: 1;
    transform: translateX(100%);
  }
  
  /* 9.2) Outline light: hover sem “estourar” (fica dark-friendly) */
  .btn-outline-light{
    transition:
      transform .18s ease,
      box-shadow .18s ease,
      background-color .18s ease,
      border-color .18s ease;
  }
  
  .btn-outline-light:hover{
    transform: translateY(-2px);
  
    /* ✅ corrigido: antes estava branco sólido */
    background-color: rgba(255,255,255,.10);
  
    border-color: rgba(255,255,255,.40);
    box-shadow:
      0 10px 26px rgba(0,0,0,.45),
      inset 0 0 0 1px rgba(255,255,255,.08);
  }
  
  /* 9.3) Outline primary */
  .btn-outline-primary{
    transition:
      transform .18s ease,
      box-shadow .18s ease,
      background-color .18s ease;
  }
  
  .btn-outline-primary:hover{
    transform: translateY(-2px);
    background-color: rgba(13,110,253,.12);
    box-shadow:
      0 10px 26px rgba(13,110,253,.25),
      inset 0 0 0 1px rgba(13,110,253,.35);
  }
  
  /* 9.4) Botões small (downloads etc.) */
  .btn-sm:hover{
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,0,0,.35);
  }
  
  /* 9.5) Feedback de clique */
  .btn:active{
    transform: translateY(0) scale(.98);
    box-shadow: inset 0 4px 10px rgba(0,0,0,.35);
  }
  
  /* 9.6) Disabled */
  .btn:disabled,
  .btn.disabled{
    opacity: .55;
    filter: grayscale(.2);
    box-shadow: none !important;
    transform: none !important;
  }
  
  /* -------------------------------------------------------------------------- */
  /*  10) CAROUSEL — SLIDE PREMIUM (SEM FADE / SEM ZOOM)                         */
  /* -------------------------------------------------------------------------- */
  
  /* se alguém esquecer e deixar carousel-fade, não “mata” o slide */
  .arma-carousel-slide.carousel-fade .carousel-item{
    opacity: 1 !important;
  }
  
  /* suaviza deslocamento */
  .arma-carousel-slide .carousel-item{
    transition: transform .85s cubic-bezier(.22,.8,.22,1) !important;
  }
  
  /* indicadores (bolinhas) */
  .arma-carousel-slide .carousel-indicators{
    gap: 10px;
    margin-bottom: 18px;
  }
  
  .arma-carousel-slide .carousel-indicators [data-bs-target]{
    width: 10px;
    height: 10px;
    border-radius: 999px;
  
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.10);
  
    opacity: 1;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
  }
  
  .arma-carousel-slide .carousel-indicators .active{
    background: rgba(255,255,255,.80);
    border-color: rgba(255,255,255,.55);
    transform: scale(1.15);
  }
  
  /* setas com glass */
  .arma-carousel-slide .carousel-control-prev-icon,
  .arma-carousel-slide .carousel-control-next-icon{
    width: 44px;
    height: 44px;
    border-radius: 999px;
  
    background-color: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
  
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  
    box-shadow: 0 10px 26px rgba(0,0,0,.35);
    background-size: 55% 55%;
  
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
  }
  
  .arma-carousel-slide .carousel-control-prev:hover .carousel-control-prev-icon,
  .arma-carousel-slide .carousel-control-next:hover .carousel-control-next-icon{
    transform: translateY(-1px) scale(1.04);
    background-color: rgba(255,255,255,.12);
    border-color: rgba(13,110,253,.35);
  }
  
  /* -------------------------------------------------------------------------- */
  /*  11) SELECT — CATEGORIA (dark consistente)                                 */
  /* -------------------------------------------------------------------------- */
  .form-select{
    background-color: rgba(255,255,255,.06) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    color: rgba(255,255,255,.92) !important;
    border-radius: 14px;
  }
  
  /* seta (bootstrap) — desenhada via background-image */
  .form-select{
    background-image:
      linear-gradient(45deg, transparent 50%, rgba(255,255,255,.65) 50%),
      linear-gradient(135deg, rgba(255,255,255,.65) 50%, transparent 50%),
      linear-gradient(to right, rgba(255,255,255,.15), rgba(255,255,255,.15));
    background-position:
      calc(100% - 18px) calc(50% - 4px),
      calc(100% - 13px) calc(50% - 4px),
      calc(100% - 2.2rem) 50%;
    background-size:
      6px 6px,
      6px 6px,
      1px 60%;
    background-repeat: no-repeat;
  }
  
  /* focus */
  .form-select:focus{
    border-color: rgba(13,110,253,.55) !important;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.15);
    background-color: rgba(255,255,255,.08) !important;
    color: #fff !important;
  }
  
  /* dropdown options (limitação: depende do browser, mas melhora bem) */
  .form-select option{
    background-color: #0b1220;
    color: rgba(255,255,255,.92);
  }
  
  .form-select option:checked,
  .form-select option:hover{
    background-color: rgba(13,110,253,.85) !important;
    color: #fff !important;
  }
  
  .form-select:disabled{
    background-color: rgba(255,255,255,.04) !important;
    color: rgba(255,255,255,.45) !important;
  }
  
  /* -------------------------------------------------------------------------- */
  /*  12) CONTATO — refinamentos premium                                        */
  /* -------------------------------------------------------------------------- */
  .arma-card p,
  .arma-card label{
    letter-spacing: .1px;
  }
  
  .arma-hero .lead{
    max-width: 62ch;
  }
  
  .form-label.text-secondary{
    color: rgba(255,255,255,.70) !important;
    font-size: .92rem;
  }
  
  .form-control,
  textarea{
    border-radius: 14px;
  }
  
  /* alerts no dark */
  .alert{
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.92);
  }
  
  .alert-success{
    border-color: rgba(25,135,84,.35);
    background: rgba(25,135,84,.10);
  }
  
  .alert-danger{
    border-color: rgba(220,53,69,.35);
    background: rgba(220,53,69,.10);
  }
  
  /* botão enviar (classe usada no contato) */
  .arma-btn-send{
    position: relative;
    overflow: hidden;
  }
  
  .arma-btn-send:hover{
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 10px 28px rgba(13,110,253,.35), 0 6px 18px rgba(0,0,0,.35);
  }
  
  .arma-btn-send::after{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.18), transparent 70%);
    opacity: 0;
    transform: translateX(-100%);
    transition: .45s ease;
  }
  
  .arma-btn-send:hover::after{
    opacity: 1;
    transform: translateX(100%);
  }
  
  /* WhatsApp botão premium */
  .arma-btn-whats{
    display: inline-flex;
    align-items: center;
    gap: 10px;
  
    padding: 12px 16px;
    border-radius: 14px;
  
    background: linear-gradient(180deg, rgba(34,197,94,.20), rgba(34,197,94,.10));
    border: 1px solid rgba(34,197,94,.30);
    color: rgba(255,255,255,.92) !important;
  
    box-shadow: 0 12px 28px rgba(0,0,0,.35);
    text-decoration: none !important;
  
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, filter .18s ease;
  }
  
  .arma-btn-whats i{
    font-size: 1.2rem;
    line-height: 1;
    transform: translateY(1px);
  }
  
  .arma-btn-whats span{
    font-weight: 800;
    letter-spacing: .2px;
  }
  
  .arma-btn-whats:hover{
    transform: translateY(-2px);
    filter: brightness(1.06);
    border-color: rgba(34,197,94,.55);
    background: linear-gradient(180deg, rgba(34,197,94,.26), rgba(34,197,94,.12));
    box-shadow:
      0 16px 38px rgba(0,0,0,.45),
      0 0 0 6px rgba(34,197,94,.10);
  }
  
  .arma-btn-whats:active{
    transform: translateY(0) scale(.98);
    box-shadow: inset 0 6px 14px rgba(0,0,0,.35);
  }
  
  /* -------------------------------------------------------------------------- */
  /*  13) RESPONSIVO                                                            */
  /* -------------------------------------------------------------------------- */
  @media (max-width: 768px){
    .arma-hero-slide{
      height: 420px;
      background-position: center top;
    }
  
    .arma-hero-slide h1,
    .arma-hero-slide h2{
      font-size: 1.6rem;
    }
  
    .arma-hero-slide p{
      font-size: 1rem;
    }
  
    .arma-hero-slide .container{
      padding-top: 70px;
    }
  }
  