* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 120px;
    width: auto;
    /* margin-right: 5px; */
}

.logo-title {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: white;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    
}


/* Main content wrapper */
.main-content {
    flex: 1;
}

/* botão de lupa*/
.icon-button {
    position: absolute;
    top: 35px;
    right: 15px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color:#001372;
    transition: transform 0.2s ease;
}

.icon-button:hover {
    transform: scale(1.2);
}

/*Spinner Loading*/
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ff6e00;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    position: absolute;
    right: 15px;
    top: 35px;
    z-index: 10;
}

.checkbox-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
}

.checkbox-grid label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: normal;
  font-size: 15px;
  color: #1a1a1a;
  white-space: nowrap; /* evita quebra de linha em nomes longos */
}

.checkbox-grid input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.dica {
    font-weight: normal;
    font-size: 0.85em;
    color: rgba(255, 110, 0);
    font-style: italic;
}


/* HEADER FIXO */
.header {
    background: #001372;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    justify-content: center; 
}

/* CONTAINER INTERNO */
.header-content {
    max-width: 1750px;
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto; /* logo | centro | vazio */
    align-items: center;
    padding: 5px 40px;
}

/* LOGO SEM ALTERAR POSIÇÃO */
.header-logo {
    justify-self: start;
}

/* TEXTO CENTRALIZADO NA TELA */
.header-text {
    text-align: center;
    justify-self: center;
    width: 100%;
}

.header-spacer {
  width: 0px;   /* combine com a largura visual da logo */
  height: 0px;    /* só para existir no fluxo */
}

.logo {
    color: white;
    font-size: 28px;
    font-weight: bold;
}


/* Container principal - aumentado para acomodar melhor os campos múltiplos */
.container {
    max-width: 900px;
    background-color: rgba(0, 19, 114);
    backdrop-filter: blur(10px);
    padding: 40px;
    margin: 40px auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 5;
    margin-top: 160px; /* ajuste o valor até ficar perfeito */
}

.form-header {
    text-align: center;
    margin-bottom: 35px;
}

.form-header h2 {
    color: #ff6e00;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    margin: 0;
}

.form-header p {
    color: white;
    font-size: 16px;
    line-height: 1.5;
}

/* Aparência de campo bloqueado */
.form-field input[readonly] {
  background-color: #f8f9fa;
  cursor: not-allowed;
}

/* Campos do formulário - espaçamento reduzido */
.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 15px;
}

/* Layout para 2 colunas */
.form-row.double {
    display: flex;
    gap: 15px;
}

.form-row.double .form-field {
    flex: 1;
}

/* NOVO: Layout para 3 colunas */
.form-row.triple {
    display: flex;
    gap: 15px;
}

.form-row.triple .form-field {
    flex: 1;
}

/* Campo UF menor */
.form-row.double .form-field[style*="max-width"] {
    flex: 0 0 120px;
}

.form-field {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-field label {
    font-weight: 600;
    margin-bottom: 6px;
    color: black;
    font-size: 14px;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 11px 14px;
    /* border: 2px solid #e1e5e9; */
    border: 2px solid rgb(0, 0, 0,0.3);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: #ff6e00;
    box-shadow: 0 10px 20px rgba(255, 110, 0, 0.3)
}

/* ===== ESTILOS PARA RADIO BUTTONS ===== */
.radio-label {
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
    font-size: 16px;
    display: block;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

/* NOVO: Radio buttons inline (na horizontal) */
.radio-group-inline {
    flex-direction: row;
    gap: 30px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
}

.radio-option:hover input[type="radio"] {
    border-color: #ff6e00;
}

.radio-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 1.8rem;
    height: 1.8rem;
    border: 2px solid rgb(0, 0, 0,0.3);;
    border-radius: 50%;
    margin-right: 10px;
    cursor: pointer;
    position: relative;
    background: transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-option input[type="radio"]:checked {
    border-color: #ff6e00;
    background: transparent;
}

.radio-option input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff6e00;
}

.radio-option input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 110, 0, 0.3);
}

.radio-text {
    font-size: 15px;
    color: black;
    font-weight: 400;
}

/* ====== SOCIOS (repeater) ====== */
.socios-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.socio-card {
  background: rgba(255,255,255,0.9);
  border: 2px solid #e1e5e9;
  border-radius: 14px;
  padding: 18px;
}

.socio-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.socio-title {
  font-weight: 700;
  color: #001372;
  font-size: 16px;
}

.socio-remove {
  background: transparent;
  border: none;
  font-weight: 700;
  cursor: pointer;
  color: #e74c3c;
  font-size: 14px;
}

.socio-remove:hover { text-decoration: underline; }

.btn-add-socio {
  background: #ff6e00;
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 19, 114, .2);
}

.btn-add-socio:hover { transform: translateY(-1px); }

.socio-actions { margin: 8px 0 10px; }

/* card reutilizável p/ qualquer step */
.step-card{
  background: rgba(255,255,255,.9);
  border: 2px solid #e1e5e9;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 18px rgba(0, 19, 114, .12);
}

/* Afinar inputs dentro do card do sócio */
.step-card .form-row { margin-bottom: 12px; }
.step-card .form-field label { color: black; }
.step-card .form-field input,
.step-card .form-field select { background: rgba(255,255,255,0.9); }


@media (max-width:768px){
  .socio-head { flex-direction: column; gap: 8px; align-items: flex-start; }
}

.hidden { display: none !important; }

.btn-secondary {
  background: #e1e5e9;
  color: #001372;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}
.btn-secondary:hover { transform: translateY(-1px); }

.form-progress { margin: 4px 0 18px; }
.progress-text { color: white; font-size: 14px; margin-bottom: 8px; }
.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,.25);
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: #ff6e00;
  border-radius: 999px;
  transition: width .25s ease;
}


/* Botão de envio */
.submit-container {
    text-align: center;
    margin-top: 35px;
}

.submit-btn {
    background: #ff6e00;
    color: white;
    padding: 14px 50px;
    border: none;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 19, 114, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 225, 255, 0.5);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        max-width: 95%;
        margin: 20px auto;
        padding: 25px 18px;
        border-radius: 15px;
    }

    .form-row.double,
    .form-row.triple {
        flex-direction: column;
        gap: 12px;
    }

    .form-row.double .form-field[style*="max-width"] {
        max-width: 100% !important;
    }

    .form-header h2 {
        font-size: 24px;
    }

    .form-header {
        margin-bottom: 25px;
    }

    .submit-btn {
        width: 100%;
        padding: 14px;
    }

    .radio-group-inline {
        flex-direction: column;
        gap: 12px;
    }

    .radio-option {
        padding: 8px 12px;
    }

    .radio-text {
        font-size: 15px;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: fadeInUp 0.6s ease-out;
}

/* Estilo para campos obrigatórios */
.form-field.required label::after {
    content: " *";
    color: red;
}

/* Feedback visual para campos preenchidos automaticamente */
.auto-filled {
    background-color: #f8f9fa !important;
    border-color: #28a745 !important;
}

/* Footer Styles - Modelo Escuro */
footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
    position: relative;
    z-index: 5;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-column h3 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #ff9500;
}

.footer-column p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #cccccc;
    font-size: 14px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: #ff9500;
}

.footer-column ul li:not(:has(a)) {
    color: #cccccc;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cccccc;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #ff9500;
    color: white;
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid #333333;
    color: #999999;
    font-size: 14px;
}

.copyright a {
    color: #ff9500;
    text-decoration: none;
    font-weight: 600;
}

.copyright a:hover {
    color: white;
}

/* Responsive para footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .footer-column h3 {
        font-size: 16px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
    }
}

/* Indica erro de validação visualmente */
.input-error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15) !important;
}

/* Melhor foco global */
input:focus, select:focus {
  outline: none;
  border-color: #001372;
  box-shadow: 0 0 0 3px rgba(0, 19, 114, 0.18);
}

/* Feedback textual discreto para leitores de tela / status */
.sr-feedback {
  margin-top: 10px;
  font-size: 14px;
  color: #1a1a1a;
}

/* === CUSTOMIZAÇÃO DO BOTÃO SWEETALERT2 === */
.swal2-confirm {
    background-color: #20a1c1 !important; /* cor do botão */
    box-shadow: none !important;
}

.swal2-confirm:hover {
    background-color: #1a8ca7 !important; /* cor no hover */
}