/* =========================================================
   RT•NEXUS — Responsive Layer (GLOBAL)
========================================================= */

/* evita zoom iOS em inputs */
input, select, textarea{ font-size:16px; }

img, video, canvas, svg{ max-width:100%; height:auto; }

@media (max-width:768px){

  .container{ padding: 0 16px; }

  /* HERO vira card de produto */
  .hero{
    padding: 18px 0 18px !important;
  }
  .hero > *:first-child{
    /* caso você tenha wrapper interno, não quebra;
       se não tiver, ignore (não impacta) */
  }

  /* Ajuste geral de tipografia */
  h1{
    font-size: 30px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;
  }
  .lead, .lede{
    font-size: 14.8px !important;
    line-height: 1.55 !important;
  }

  /* Kicker como chip */
  .kicker{
    font-size: 12.5px;
    padding: 10px 12px;
    background: rgba(7,10,16,.40);
    border-color: rgba(234,240,255,.12);
    color: rgba(234,240,255,.86);
  }

  /* Brand block mais compacto */
  .nexus-brand-block{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap: 12px;
  }
  .nexus-logo{
    font-size: 20px;
    margin: 0;
    white-space: nowrap;
  }

  /* Selo em chips já é bonito no global; aqui só garante quebra certa */
  .infra-badge-inline{
    margin-top: 10px;
    gap: 8px;
  }

  /* CTAs (se sua página usar .heroCtas e .btn) */
  .heroCtas{
    display:grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }
  .heroCtas .btn{
    width: 100%;
    padding: 14px 14px;
    justify-content:center;
    border-radius: 999px;
  }

  /* Meta pills (se existir no Nexus) */
  .metaRow{
    display:grid;
    gap: 8px;
    margin-top: 16px;
  }
  .pill{
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding: 12px 12px;
    border-radius: 16px;
    border: 1px solid rgba(234,240,255,.10);
    background: rgba(7,10,16,.22);
    font-size: 13px;
    line-height: 1.25;
    color: rgba(234,240,255,.82);
  }
  .pill::before{
    content:"";
    width:10px;
    height:10px;
    margin-top: 2px;
    border-radius: 99px;
    background: rgba(94,234,212,.95);
    box-shadow: 0 0 0 6px rgba(94,234,212,.10);
    flex: 0 0 auto;
  }

  /* Safe area iPhone */
  .safe-bottom{
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }
}/* =========================================================
   RT•NEXUS — RESPONSIVE.CSS (mobile premium)
   ========================================================= */

input, select, textarea{ font-size:16px; }

@media (max-width: 980px){
  .container{ padding-left:18px; padding-right:18px; }
}

@media (max-width: 768px){

  section{ padding: 46px 0; }

  /* HERO card feel no mobile */
  .hero{ padding: 22px 0 18px !important; }

  .heroPremium{
    padding: 18px !important;
    border-radius: 22px;
  }

  /* top do hero vira stack */
  .heroTop{
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* nav vira grid 2 colunas */
  .heroNav{
    width: 100%;
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .heroNav a{
    width: 100%;
    text-align:center;
    padding: 10px 12px;
    font-size: 13px;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  /* tipografia */
  h1{
    font-size: 30px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;
  }

  .kicker{
    font-size: 12.5px;
    padding: 10px 12px;
    background: rgba(7,10,16,.40);
    border-color: rgba(234,240,255,.12);
    color: rgba(234,240,255,.86);
  }

  .nexus-brand-block{
    margin-top: 10px;
    margin-bottom: 8px;
  }

  .infra-badge-inline{
    margin-top: 8px;
    gap: 8px;
  }

  .lede{
    font-size: 14.8px !important;
    line-height: 1.55 !important;
  }

  /* CTAs 100% */
  .heroCtas{
    display:grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .heroCtas .btn{
    width: 100%;
    padding: 14px 14px;
    justify-content:center;
  }

  /* metas em stack premium */
  .metaRow{
    display:grid;
    gap: 8px;
  }
  .pill{
    width:100%;
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding: 12px 12px;
    border-radius: 16px;
    border: 1px solid rgba(234,240,255,.10);
    background: rgba(7,10,16,.22);
    font-size: 13px;
    line-height: 1.25;
    color: rgba(234,240,255,.82);
  }
  .pill::before{
    content:"";
    width:10px;
    height:10px;
    margin-top: 2px;
    border-radius: 99px;
    background: rgba(94,234,212,.95);
    box-shadow: 0 0 0 6px rgba(94,234,212,.10);
    flex: 0 0 auto;
  }

  /* safe area iPhone */
  .safe-bottom{
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }
  @media (max-width: 768px){
  .container{ padding-left: 18px; padding-right: 18px; }

  .hero{ padding: 42px 0 18px; }
  .hero h1{ font-size: clamp(28px, 7vw, 40px); }

  /* CTA do hero em coluna */
  .heroCtas{
    display:grid;
    grid-template-columns: 1fr;
    gap:10px;
  }
  .heroCtas .btn{ width:100%; }
}
}