:root{
--radius:8px;
--azul:#004aad;
--azul-escuro:#002f6c;
--azul-hover:#003b8f;
--glass-bg:rgba(255,255,255,.15);
--glass-border:rgba(255,255,255,.35);
}

*{box-sizing:border-box}

body{
margin:0;
font-family:Lato,Arial,sans-serif;
background:linear-gradient(135deg,#004aad,#001f44);
}

body.menu-aberto{
position:fixed;
width:100%;
}

/* NAVBAR */
#mainNav {
    position: relative; /* ou static */
    width: 100%;
    background-color: #004aad;
    z-index: 1000;
    height: 80px;
}

.navbar-container {
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* INÍCIO DA BARRA */
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 25px; /* espaço entre logo e menu */
}

.navbar-brand img {
    height: 60px;
    width: auto;
}

/* MENU DESKTOP */
.navbar-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 20;
    justify-content: flex-start; /* força início */
}

.navbar-links li{
position:relative;
}

.navbar-links a{
color:#fff;
font-weight:bold;
text-decoration:none;
display:flex;
align-items:center;
gap:8px;
}

.navbar-toggler {
    margin-left: auto;
    display: flex;                 /* garante mesma linha */
    align-items: center;           /* alinha verticalmente */
    justify-content: center;
    gap: 8px;
}

/* SUBMENU DESKTOP */
.submenu-desktop{
position:absolute;
top:100%;
left:0;
background: #002f6c; /* azul escuro */
border: 1px solid rgba(255,255,255,.15);
min-width:260px;
list-style:none;
padding:8px 0;
opacity:0;
visibility:hidden;
transform:translateY(10px);
transition:.3s;
border-radius:8px;
}

.has-submenu:hover 
.submenu-desktop{
opacity:1;
visibility:visible;
transform:translateY(0);
}

.submenu-desktop a{
display:block;
padding:10px 16px;
}

/* HAMBURGUER */
.navbar-toggler {
    margin-left: auto; /* empurra para o lado direito */
    display: flex;
    align-items: center;
    gap: 8px;
}

@media(max-width:991px){
.navbar-links{
display:none}
.navbar-toggler{
display:block}
}

/* OVERLAY */
.overlay{
position:fixed;
inset:0;
background:rgba(0,0,0,.25);
opacity:0;
visibility:hidden;
transition:.3s;
z-index:2500;
}

.overlay.active{
opacity:1;
visibility:visible;
}

/* MENU MOBILE */
.menu-vertical{
  position:fixed;
  top:0;
  left:0;
  width:300px;
  height:100%;
  background:linear-gradient(180deg, var(--azul), var(--azul-escuro));
  border-right:1px solid rgba(255,255,255,.15);
  transform:translateX(-100%);
  transition:.35s;
  z-index:3000;
  padding-top:90px;
  display:flex;
  flex-direction:column;
}

.menu-vertical.active{
  transform:translateX(0);
}

.menu-vertical a{
  padding:14px 20px;
  color:#fff;
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:600;
}

.menu-vertical a:hover{
  background:var(--azul-hover);
}

.btn-fechar{
  position:absolute;
  top:15px;
  right:20px;
  font-size:26px;
  background:none;
  border:none;
  color:#999;
  cursor:pointer;
}

/* SUBMENU MOBILE */
.submenu-mobile{
  max-height:0;
  overflow:hidden;
  opacity:0;
  transform:translateY(-4px);
  transition:.35s ease;
  margin-left:12px;        /* recuo lateral */
  padding-left:12px;       /* espaçamento interno */
  border-left:2px solid rgba(255,255,255,.25);
}

.menu-item.active 
.submenu-mobile{
  max-height:300px;
  opacity:1;
  transform:translateY(0);
}

.submenu-mobile a{
  font-size:14px;
  padding:8px 0;
  color:#e6f0ff; /* azul bem mais claro */
  opacity:.9;
  transition:background .3s,color .3s;
}

.submenu-mobile a:hover{
  color:#ffffff;
  background:rgba(255,255,255,.18);
}

/* menu principal */
.menu-vertical > .menu-item > a{
  color:#ffffff;
}

/* submenu */
.submenu-mobile a{
  color:#e6f0ff;
}

/* ativo (selecionado) */
.submenu-mobile a.ativo{
  color:#ffffff;
  background:rgba(255,255,255,.25);
  font-weight:600;
}

.seta{
  margin-left:auto;
  transition:transform .3s ease;
  font-size:12px;
}

.menu-item.active 
.seta{
  transform:rotate(180deg);
}

.menu-vertical ul,
.menu-vertical li{
  list-style:none;
  margin:0;
  padding:0;
}

/* CONTEÚDO */
.imagem-principal {
    width: 100%;
    margin-top: 0; /* sem sobreposição */
}

.imagem-principal img {
    display: block;
    width: 100%;
    height: auto;
}

/* WHATSAPP */
#whatsapp-btn{
position:fixed;
right:18px;
bottom:18px;
width:80px;
height:80px;
z-index:4000;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
animation:pulse 2.2s infinite;
}

#whatsapp-btn img{
width:100%;
transition:.3s;
}

#whatsapp-btn:hover img{
transform:scale(1.1);
}

.tooltip-whats{
position:absolute;
right:90px;
background:rgba(0,0,0,.85);
color:#fff;
padding:6px 12px;
border-radius:8px;
font-size:13px;
white-space:nowrap;
opacity:0;
transform:translateY(5px);
transition:.3s;
pointer-events:none;
}

#whatsapp-btn:hover 
.tooltip-whats{
opacity:1;
transform:translateY(0);
}

.tooltip-whats small{
display:block;
font-size:11px;
opacity:.85;
}

@keyframes pulse{
0%{transform:scale(1)}
50%{transform:scale(1.06)}
100%{transform:scale(1)}
}

/* RODAPÉ */
footer{
background:rgba(0,0,0,.35);
backdrop-filter:blur(8px);
color:#cde0ff;
text-align:center;
padding:20px 10px;
}

footer a{
color:#9fc6ff;
text-decoration:none;
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none;
    }
}

.icon-menu {
    font-size: 20px;
    display: flex;                 /* remove baseline */
    align-items: center;
    line-height: 1;
}

.texto-menu {
    display: flex;
    align-items: center;
    line-height: 1;
}

.btn-menu-campeonato {
    background-color: #ffffff;
    color: #004aad;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 13px;          /* base do texto */
    padding: 10px 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;                 /* proporção equilibrada */
}

.texto-menu {
    line-height: 1;
    display: flex;
    align-items: center;
}

.icon-menu {
    font-size: 18px;          /* +38% em relação ao texto */
    line-height: 1;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

/* estado aberto */
.menu-aberto .icon-menu {
    transform: rotate(90deg) scale(1.1);
}

/* ===== CONFIGURAÇÃO GERAL PARA CAMPOS E BOTÕES ===== */

/* ===== CONTAINER E GRID (simples, sem Bootstrap real) ===== */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

/* ===== COLUNAS ===== */
.col-xs-12 {
    width: 100%;
}

.col-md-3 {
    width: 25%;
}

.col-md-4 {
    width: 33.333%;
}

.col-lg-10 {
    width: 83.333%;
    margin: 0 auto;
}

/* Responsivo */
@media (max-width: 768px) {
    .col-md-3,
    .col-md-4,
    .col-lg-10 {
        width: 100%;
    }
}

/* ===== FORMULÁRIO ===== */
.form-group {
    margin-bottom: 10px;
}

.form-control {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    box-sizing: border-box;
    border-radius: 8px; /* <<< ALTERAÇÃO: bordas arredondadas */
    border: 1px solid #ccc; /* opcional, para padronizar */
}

.form-control:focus {
    outline: none;
    border-color: #004aad;
    box-shadow: 0 0 0 3px rgba(0,74,173,.25); /* destaque azul suave */
    background-color: #ffffff;
}

input,
select,
textarea {
    border-radius: 8px;
    transition: border-color .25s ease, box-shadow .25s ease;
}

input:disabled,
textarea:disabled,
input[readonly],
textarea[readonly] {
    background-color: #f1f1f1;
    color: #666;
    cursor: not-allowed;
    opacity: 0.9;
}

.input-glass {
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.35);
    color: #ffffff;
}

/* ===== BOTÃO ===== */
.btn {
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 8px; /* <<< ALTERAÇÃO */
}

.btn-primary {
    background-color: #0066cc;
    border: none;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #004c99;
}

/* ===== TÍTULOS (inputs readonly) ===== */
#m_texto1,
#m_texto2 {
    text-align: center;
    font-weight: bold;
    background-color: #e9e9e9;
    border: none;
    border-radius: 8px; /* <<< ALTERAÇÃO */
}

/* ===== TEXTOS E TÍTULOS ===== */
.titulo-cadastro input {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    background-color: #ffffff;
    border: none;
    border-radius: 8px; /* <<< ALTERAÇÃO */
}

.subtitulo-campeonato textarea {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    background-color: #e9e9e9;
    border: none;
    resize: none;
    border-radius: 8px; /* <<< ALTERAÇÃO */
}

/* Labels */
.form-control-label {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff; /* <<< ALTERAÇÃO Cor Formulario */
}

/* Asterisco obrigatório */
.form-asterisk {
    color: red;
}

.alinhar-botao {
    display: flex;
    align-items: flex-end;
    height: 100%;
}
