 /* ===== Paleta GATE120 (roxo/azul/branco/azul-claro) ===== */
    :root{
      --brand-purple:#6c5ce7; --brand-blue:#2563eb; --brand-sky:#93c5fd; --brand-white:#fff;
      --bg-grad-1:#eef2ff; --bg-grad-2:#e0e7ff;
      --card-bg:rgba(255,255,255,.78); --card-border:rgba(255,255,255,.6);
      --text-1:#0f172a; --text-2:#475569;
      --accent:var(--brand-purple); --accent-strong:#5b4bf0; --accent-soft:rgba(108,92,231,.15);
      --radius-xl:18px; --radius-sm:12px;
      --shadow-lg:0 20px 40px rgba(31,41,55,.15); --shadow-md:0 10px 24px rgba(31,41,55,.12);
      --gap:16px; --field-h:56px;
      --font:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    }
    *{box-sizing:border-box}
    html,body{height:100%}
    body{
      margin:0; font-family:var(--font); color:var(--text-1);
      background:
        radial-gradient(1100px 700px at 10% -10%, rgba(147,197,253,.35), transparent 70%),
        radial-gradient(900px 600px at 100% 0%, rgba(108,92,231,.22), transparent 60%),
        linear-gradient(180deg, var(--bg-grad-1), var(--bg-grad-2));
      display:flex; flex-direction:column; min-height:100vh;animation: opac 1s;
    }


    @keyframes opac{

    0%{
       opacity: 0;
    }
    100%{
        opacity: 1;
    }
  }



     /* ====== Header ====== */
    .header-evento,
    .navigation_header{
      font-family: var(--font);
      display: flex;
      flex-direction: row;
      align-items: center;
      z-index: 10;
    }

    .header-evento{
    background-image: linear-gradient(to bottom, var(--brand-purple),
     var(--bg-grad-1), var(--brand-purple));
    justify-content: space-between;
    padding: 5px 10%;
    width: 100%;
    height: 80px;
    color: #FFF;
    }

    .header-evento .logo{
        width: 30%;
    }

    .esquerda header{
    font-family: var(--font);
}

    .btn_icon_header{
        display: none;
        background-color: transparent;
        border: none;
        color: var(--text-1);
        cursor: pointer;
    }

    .logo-header{
        display: flex;
        flex-direction: row;
        gap: 20px;
        padding: 20px;
        align-items: center;
    }

    .navigation_header a{
      font-family: var(--font);
      text-decoration: none;
      color: var(--text-1);
      transition: 0.5s;
      /*text-shadow: 1px 1px 2px #000;*/
    }
    .navigation_header a:hover{

        background-color: var(--brand-purple);
        padding: 10px;
        border-radius: 6px;
        color: var(--text-1);
        /*text-shadow: 2px 2px 2px #000;*/   
    }
    /* ====== Header ====== */


    .menu-header{
        display: flex;
        flex-direction: row;
        gap: 20px;
        }




    /* ===== Layout ===== */
    .page{ flex:1; display:flex; align-items:center; justify-content:center; padding:24px; }
    .shell{
      width:100%; max-width: 900px;
      backdrop-filter: blur(8px);
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow-lg);
      overflow:hidden;
    }
    .header{
      padding: 28px 28px 12px;
      background:
        linear-gradient(180deg, rgba(147,197,253,.25), transparent 40%),
        linear-gradient(90deg, rgba(108,92,231,.25), transparent 60%);
    }
    .title{ margin:0; font-size: clamp(20px, 2.4vw, 28px); letter-spacing:-0.01em; }
    .subtitle{ margin:6px 0 0; color:var(--text-2); font-size:14px; }
    .divider{ height:1px; background:#eef2ff; margin:8px 20px 0; }

    form{ padding: 12px 20px 24px; }
    .grid{ display:grid; gap:var(--gap); grid-template-columns:1fr; }
    @media (min-width: 720px){
      .grid{ grid-template-columns: 1fr 1fr; }
      .grid .col-span-2{ grid-column: span 2; }
    }

    /* ===== Campos (label flutuante) ===== */
    .field{ position:relative; }
    .control{
      height: var(--field-h); width:100%;
      padding:22px 14px 8px;
      border:1px solid #e5e7eb; border-radius:var(--radius-sm);
      background:#fff; outline:none; font-size:16px;
      transition:border-color .2s, box-shadow .2s; box-shadow:0 1px 0 rgba(0,0,0,.02);
    }
    .control:hover{ border-color:#d6d8dd; }
    .field:focus-within .control{ border-color:var(--accent); box-shadow:0 0 0 4px var(--accent-soft); }
    .label{
      position:absolute; top:50%; left:14px; transform:translateY(-50%);
      color:var(--text-2); pointer-events:none; transition:all .18s ease; background:transparent; padding:0 6px;
    }
    .control::placeholder{ color:transparent; }
    .control:focus + .label,
    .control:not(:placeholder-shown) + .label{
      top:8px; transform:none; font-size:12px; color:var(--accent-strong); background:#fff; border-radius:6px;
    }

    /* Textarea maior (Motivo) */
    .control.textarea{
      height:auto; min-height:140px; resize:vertical; padding:14px;
    }
    .label.ta{ top:16px; transform:none; }
    .control.textarea:focus + .label.ta,
    .control.textarea:not(:placeholder-shown) + .label.ta{
      top:-8px; font-size:12px; color:var(--accent-strong); background:#fff; padding:0 6px; border-radius:6px;
    }
    .hint{ margin-top:6px; font-size:12px; color:var(--text-2); }
    .counter{ font-size:12px; color:#64748b; text-align:right; margin-top:4px; }

    /* ===== Termos (LGPD + Política) ===== */
    .terms{
      grid-column:1 / -1;
      border:1px dashed var(--brand-sky);
      background:linear-gradient(180deg, rgba(147,197,253,.20), rgba(108,92,231,.10));
      border-radius:14px; padding:16px;
    }
    .terms h3{
      margin:0 0 8px; font-size:16px;
      background:linear-gradient(90deg, var(--brand-purple), var(--brand-blue));
      -webkit-background-clip:text; background-clip:text; color:transparent;
    }
    .terms .content{
      background: rgba(255,255,255,.78);
      border:1px solid rgba(37,99,235,.12);
      border-radius:12px; padding:12px; color:#1f2a44;
      max-height: 260px; overflow:auto; line-height:1.5; font-size:14px;
    }
    .terms a{ color: var(--brand-blue); text-decoration:none; }
    .terms a:hover{ text-decoration:underline; }

    /* ===== Aceite obrigatório ===== */
    .legal-block{
      grid-column: 1 / -1;
      border: 1px solid rgba(99,102,241,.20);
      background: linear-gradient(180deg, rgba(147,197,253,.15), rgba(108,92,231,.08));
      border-radius: 14px; padding: 14px 16px; display:grid; gap:10px;
    }
    .legal-inline{ display:flex; align-items:flex-start; gap:12px; }
    #ck-cancel{ width:22px; height:22px; accent-color:var(--brand-purple); margin-top:2px; cursor:pointer; }
    .legal-text{ font-size:14px; line-height:1.45; color:#1f2a44; }
    .error-msg{ font-size:13px; color:#e11d48; display:none; }

    /* ===== Botões ===== */
    .actions{ display:flex; gap:12px; margin-top: 6px; grid-column:1 / -1; }
    .btn{
      flex:1; height:52px; border:0; border-radius:var(--radius-sm);
      font-weight:600; font-size:16px; cursor:pointer;
      transition:transform .05s, box-shadow .2s, filter .2s;
    }
    .btn:active{ transform: translateY(1px); }
    .btn-ghost{ background:#fff; border:1px solid #e5e7eb; color:var(--text-1); }
    .btn-primary{ background:linear-gradient(90deg, var(--brand-purple), var(--brand-blue)); color:#fff; box-shadow:var(--shadow-md); }
    .btn-primary:hover{ filter: brightness(1.03); }
    .btn[disabled]{ opacity:.6; cursor:not-allowed; }

    /* ===== Rodapé ===== */
    footer{
      background:linear-gradient(180deg, rgba(37,99,235,.08), rgba(108,92,231,.08));
      color:#0b1020;
      border-top:3px solid; border-image:linear-gradient(90deg, var(--brand-purple), var(--brand-blue), var(--brand-sky)) 1;
    }
    .footer-content{
      max-width:1100px; margin:0 auto; padding:28px 20px 8px;
      display:flex; align-items:center; justify-content:center; gap:24px; flex-wrap:wrap;
    }
    .footer-content .titulo_logo img{ display:block; height:auto; max-width:220px; filter:drop-shadow(0 4px 10px rgba(37,99,235,.18)); }
    .footer-bottom{ text-align:center; padding:8px 20px 24px; }
    .footer-bottom p{ margin:0 0 8px; font-size:13px; color:#1f2a44; }
    .footer-bottom a{ color:#0b3bff; text-decoration:none; font-size:13px; }
    .footer-bottom a:hover{ text-decoration:underline; }



     @media screen and (max-width: 768px){
    .btn_icon_header{
        display: block;
    }

    .navigation_header{
        position: absolute;
        flex-direction: column;
        top: 0;
        background-color: var(--brand-blue);
        height: 100%;
        width: 45vw;
        padding: 16px;
        animation-duration: 0.7s;
        margin-left: -100vw;
    }

    .menu-header{
      margin-top: 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
}



@keyframes showSideBar{

    from{
        margin-left: -100vw;
    }
    top{
        margin-left: -10vw;
    }

}

@keyframes showSideBarBack{
    from{
        margin-left: -10vw;}
    top{
        margin-left: -100vw;}

}





/* spinner */
.container-spinner{

    position: fixed;
    width: 100%;
    margin-top: 200px;
    align-items: center;
    z-index: 1;
    display: none;
 }
.spinner{
    width: 10em;
    height: 10em;
    border-top: 1em solid red;
    border-right: 1em solid transparent;
    border-radius: 50%;
    margin: 0 auto;
    animation: spinner .3s linear infinite;
    align-items: center;
    text-align: center;
    
}
@keyframes spinner{

    100%{
        transform: rotate(360deg);
    }
}

.bg{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .7);
    position: fixed;   
  }

  .bg_m_d{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    z-index: 1; 
  }
  /* spinner */




/* botão desativado por ainda não ter aceitado os termos */
.btn.is-disabled,
.btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  pointer-events: none;
}

/* campo inválido (classe aplicada no JS) */
.is-invalid {
  outline: 2px solid #d93025 !important;
  border-color: #d93025 !important;
}

  


