/* ===========================
   RESET E CONFIGURAÇÕES GLOBAIS
   =========================== */

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

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --success-color: #25d366;
    --error-color: #e74c3c;
    --warning-color: #f39c12;
    --text-dark: #333;
    --text-light: #666;
    --text-lighter: #999;
    --bg-light: #f8f9fa;
    --bg-lighter: #f0f9ff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f5f7ff 0%, #f0f4ff 50%, #fff5f7 100%);
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ===========================
   CONTAINER PRINCIPAL
   =========================== */

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ===========================
   HEADER E LOGO
   =========================== */

.header {
    padding: 40px 0 30px;
    text-align: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(240, 147, 251, 0.06) 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
}

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

.logo {
    max-width: 350px;
    height: auto;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   SEÇÃO DE INFORMAÇÕES
   =========================== */

.info-section {
    padding: 40px 0;
    animation: fadeIn 0.8s ease-out;
}

.info-section h1 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.info-content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.08);
}

.intro-text {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
    text-align: justify;
}

/* ===========================
   INFO BOX
   =========================== */

.info-box {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.05);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-item .icon {
    font-size: 24px;
    margin-right: 15px;
    min-width: 30px;
}

.info-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

/* ===========================
   SEÇÕES DE REQUISITOS
   =========================== */

.requirements-section,
.important-section {
    margin-bottom: 25px;
}

.requirements-section h3,
.important-section h3 {
    color: var(--secondary-color);
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.requirements-list,
.important-list {
    list-style: none;
    padding-left: 0;
}

.requirements-list li,
.important-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--text-light);
}

.requirements-list li:before,
.important-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 18px;
}

/* ===========================
   SEÇÃO DE MOTIVAÇÃO
   =========================== */

.motivation-section {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-motivation {
    flex: 1;
    min-width: 250px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-motivation::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-motivation:hover::before {
    left: 100%;
}

.btn-motivation:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-motivation:active {
    transform: translateY(-1px);
}

.hand-icon {
    font-size: 28px;
    display: inline-block;
    animation: wave 1.5s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(15deg);
    }
    75% {
        transform: rotate(-15deg);
    }
}

.btn-motivation:hover .hand-icon {
    animation: wave 0.8s ease-in-out infinite;
}

.motivation-text {
    font-size: 16px;
    font-weight: 700;
}

/* ===========================
   SEÇÃO DE FORMULÁRIO
   =========================== */

.form-section {
    padding: 40px 0;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.form-section h2 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.form {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* ===========================
   ELEMENTOS DO FORMULÁRIO
   =========================== */

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background-color: white;
}

.form-group input::placeholder {
    color: var(--text-lighter);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 40px;
}

.help-text {
    display: block;
    font-size: 12px;
    color: var(--text-lighter);
    margin-top: 5px;
}

.error-message {
    display: block;
    color: var(--error-color);
    font-size: 12px;
    margin-top: 5px;
    min-height: 16px;
}

/* ===========================
   CHECKBOX
   =========================== */

.checkbox-group {
    margin-top: 30px;
    padding: 20px;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
    background: rgba(240, 147, 251, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(240, 147, 251, 0.1);
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 12px;
    margin-top: 3px;
    cursor: pointer;
    accent-color: var(--primary-color);
    min-width: 20px;
}

.checkbox-label-text {
    color: var(--text-dark);
    font-weight: 600;
}

.checkbox-help {
    margin-top: 10px;
    margin-left: 32px;
    font-size: 13px;
    color: #048810;
    font-weight: 500;
}

/* ===========================
   BOTÃO SUBMIT
   =========================== */

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

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

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ===========================
   ALERTAS
   =========================== */

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-left: 4px solid var(--error-color);
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-left: 4px solid var(--success-color);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    padding: 30px 0;
    text-align: center;
    color: var(--text-lighter);
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

.footer p {
    font-size: 14px;
}

/* ===========================
   ANIMAÇÕES
   =========================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   RESPONSIVO - TABLET
   =========================== */

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header {
        padding: 30px 0 20px;
    }

    .logo {
        max-width: 280px;
    }

    .info-section {
        padding: 30px 0;
    }

    .info-section h1 {
        font-size: 24px;
    }

    .info-content {
        padding: 20px;
    }

    .form-section {
        padding: 30px 0;
    }

    .form-section h2 {
        font-size: 20px;
    }

    .form {
        padding: 20px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .info-item {
        flex-direction: column;
    }

    .info-item .icon {
        margin-right: 0;
        margin-bottom: 8px;
    }
}

/* ===========================
   RESPONSIVO - MOBILE
   =========================== */

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 12px;
    }

    .motivation-section {
        flex-direction: column;
        gap: 12px;
    }

    .btn-motivation {
        min-width: 100%;
        padding: 16px 20px;
        font-size: 14px;
    }

    .hand-icon {
        font-size: 24px;
    }

    .header {
        padding: 20px 0 15px;
    }

    .logo {
        max-width: 220px;
    }

    .info-section {
        padding: 20px 0;
    }

    .info-section h1 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .info-content {
        padding: 15px;
        border-radius: 10px;
    }

    .intro-text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .info-box {
        padding: 15px;
        margin-bottom: 20px;
    }

    .info-item {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .info-item .icon {
        font-size: 20px;
    }

    .requirements-section h3,
    .important-section h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .requirements-list li,
    .important-list li {
        padding: 8px 0 8px 25px;
        font-size: 14px;
    }

    .motivation {
        font-size: 14px;
        margin: 8px 0;
    }

    .form-section {
        padding: 20px 0;
    }

    .form-section h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .form {
        padding: 15px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group select {
        padding: 10px 12px;
        font-size: 14px;
    }

    .btn-submit {
        padding: 12px;
        font-size: 14px;
        margin-top: 15px;
    }

    .alert {
        padding: 12px;
        font-size: 13px;
    }

    .footer {
        padding: 20px 0;
        margin-top: 30px;
    }

    .footer p {
        font-size: 12px;
    }

    .checkbox-group {
        margin-top: 20px;
        padding-top: 15px;
    }

    .checkbox-group label {
        font-size: 13px;
    }

    .checkbox-help {
        font-size: 12px;
    }
}

/* ===========================
   ACESSIBILIDADE
   =========================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===========================
   MODO ESCURO (OPCIONAL)
   =========================== */

@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }

    :root {
        --text-dark: #e0e0e0;
        --text-light: #b0b0b0;
        --bg-light: #2a2a2a;
        --bg-lighter: #1f1f1f;
        --border-color: #444;
    }

    .header {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
        border-bottom-color: #444;
    }

    .info-content {
        background: #2a2a2a;
        border-left-color: var(--primary-color);
    }

    .info-box {
        background: #1f1f1f;
        border-color: #444;
    }

    .form {
        background: #2a2a2a;
        border-color: #444;
    }

    .form-group input,
    .form-group select {
        background-color: #1f1f1f;
        color: #e0e0e0;
        border-color: #444;
    }

    .form-group input:focus,
    .form-group select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    }

    .footer {
        border-top-color: #444;
    }
}
/* =========================================================
   INDEX REDESIGN (SCOPE): somente quando body.page-inscricao
   ========================================================= */

.page-inscricao {
    min-height: 100vh;
    /* Fundo tipo imagem 2 (sem imagem, só CSS) */
    background:
        radial-gradient(1000px 700px at 85% 25%, rgba(153, 0, 255, 0.35), transparent 60%),
        radial-gradient(900px 650px at 30% 70%, rgba(64, 0, 120, 0.35), transparent 55%),
        radial-gradient(700px 500px at 10% 20%, rgba(0, 0, 0, 0.35), transparent 55%),
        linear-gradient(135deg, #05010b 0%, #0a0320 35%, #14063a 60%, #1b074a 100%);
    color: #eaeaf2;
}

.page-inscricao::before {
    /* Desliga o overlay antigo do body do seu CSS atual */
    content: none !important;
}

.page-inscricao .page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 18px;
}

.page-inscricao .split-card {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
}

.page-inscricao .panel {
    padding: 28px 28px;
}

.page-inscricao .panel-info {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.10);
    position: relative;
}

.page-inscricao .panel-form {
    background: rgba(255, 255, 255, 0.92);
    color: #222;
}

.page-inscricao .brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.page-inscricao .brand-logo {
    max-width: 260px;
    height: auto;
    display: block;
    margin: 0 auto; 
}

.page-inscricao .title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 10px;
    color: #ffffff;
}

.page-inscricao .subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 1);
    line-height: 1.7;
    margin-bottom: 18px;
}

.page-inscricao .info-box {
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 16px 16px;
    margin: 14px 0 18px;
}

.page-inscricao .info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.page-inscricao .info-item:last-child {
    border-bottom: none;
}

.page-inscricao .info-item .icon {
    font-size: 22px;
    min-width: 28px;
}

.page-inscricao .info-item strong {
    display: block;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 2px;
}

.page-inscricao .info-item span {
    display: block;
    color: rgba(255, 255, 255, 1);
    font-size: 14px;
}

.page-inscricao .requirements h3,
.page-inscricao .important h3 {
    font-size: 14px;
    font-weight: 800;
    color: rgba(255, 255, 255, 1);
    margin: 14px 0 10px;
}

.page-inscricao .requirements ul,
.page-inscricao .important ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.page-inscricao .requirements li,
.page-inscricao .important li {
    position: relative;
    padding: 8px 0 8px 26px;
    color: rgba(255, 255, 255, 1);
    font-size: 14px;
    line-height: 1.6;
}

.page-inscricao .requirements li::before,
.page-inscricao .important li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    color: #25d366;
    font-weight: 900;
}

/*.page-inscricao .motivation-section {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}*/

.page-inscricao .motivation-section{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.page-inscricao .motivation-section .btn-motivation{
    min-width: 0; /* remove a antiga restrição */
    width: 100%;
}

.page-inscricao .btn-motivation {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 16px;
    border-radius: 12px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.page-inscricao .btn-motivation:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.16);
}

.page-inscricao .panel-footer {
    margin-top: 18px;
    padding-top: 16px;
    color: rgba(255, 255, 255, 1);
    font-size: 12px;
	text-align: center;
}

/* Form wrapper (lado direito) */
.page-inscricao .form-head h2 {
    font-size: 22px;
    margin-bottom: 14px;
    color: #222;
}

.page-inscricao .panel-form .form {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 5%;
}

.page-inscricao .panel-form .form-group label {
    color: #222;
}

.page-inscricao .panel-form .form-group input,
.page-inscricao .panel-form .form-group select {
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: #fff;
}

.page-inscricao .panel-form .form-group input:focus,
.page-inscricao .panel-form .form-group select:focus {
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.14);
}

.page-inscricao .panel-form .checkbox-group {
    background: rgba(102, 126, 234, 0.06);
    border: 1px solid rgba(102, 126, 234, 0.12);
}

/* Estados de erro (visual forte + “apontar”) */
.page-inscricao .is-invalid {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.12) !important;
}

.page-inscricao .error-message.show {
    min-height: 16px;
    display: block;
}

.page-inscricao .shake {
    animation: shake 0.18s ease-in-out 0s 2;
}

@keyframes shake {
    0% { transform: translateX(0); }
    35% { transform: translateX(-4px); }
    70% { transform: translateX(4px); }
    100% { transform: translateX(0); }
}

/* Responsivo: mobile primeiro = infos acima e form abaixo */
@media (max-width: 900px) {
    .page-inscricao .split-card {
        grid-template-columns: 1fr;
    }

    .page-inscricao .panel-info {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    }

    .page-inscricao .brand {
        justify-content: center;
        text-align: center;
    }

    .page-inscricao .brand-logo {
        max-width: 240px;
		display: block;
		margin: 0 auto; 
    }
}

/* =========================================================
   CONCLUSAO (SCOPE): somente quando body.page-success
   ========================================================= */

body.page-success {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;

    /* fundo igual ao index (page-inscricao) */
    background:
        radial-gradient(1000px 700px at 85% 25%, rgba(153, 0, 255, 0.35), transparent 60%),
        radial-gradient(900px 650px at 30% 70%, rgba(64, 0, 120, 0.35), transparent 55%),
        radial-gradient(700px 500px at 10% 20%, rgba(0, 0, 0, 0.35), transparent 55%),
        linear-gradient(135deg, #05010b 0%, #0a0320 35%, #14063a 60%, #1b074a 100%);
}

/* desliga o overlay antigo do body::before (do css base) */
body.page-success::before { content: none !important; }

.page-success .success-container{
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

.page-success .success-card{
    width: 100%;
    background: #fff;
    border-radius: 25px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 25px 70px rgba(0,0,0,.25);
    animation: slideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 10;
}

.page-success .checkmark-container{
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
    box-shadow: 0 15px 40px rgba(102,126,234,.4);
}

.page-success .checkmark-container svg{
    width: 70px;
    height: 70px;
    stroke: #fff;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.page-success .checkmark-path{
    animation: checkmark 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s both;
}

.page-success .success-card h1{
    color: #333;
    font-size: 36px;
    margin: 20px 0 15px;
    animation: fadeIn 0.8s ease-out 0.6s both;
    font-weight: 800;
}

.page-success .success-card > p{
    color: #666;
    font-size: 16px;
    margin: 15px 0;
    line-height: 1.8;
    animation: fadeIn 0.8s ease-out 0.8s both;
}

.page-success .success-message{
    background: linear-gradient(135deg, #f0f9ff 0%, #e8f4ff 100%);
    border-left: 5px solid #667eea;
    padding: 20px;
    margin: 25px 0;
    border-radius: 10px;
    animation: fadeIn 0.8s ease-out 1s both;
    box-shadow: 0 5px 15px rgba(102,126,234,.1);
}

.page-success .success-message strong{
    display: block;
    color: #667eea;
    font-size: 18px;
    margin-bottom: 8px;
}

.page-success .success-message p{
    color: #555;
    font-size: 14px;
    margin: 0;
}

.page-success .whatsapp-section{
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
    animation: fadeIn 0.8s ease-out 1.2s both;
    box-shadow: 0 10px 30px rgba(37,211,102,.3);
}

.page-success .whatsapp-section h3{
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.page-success .whatsapp-section p{
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: .95;
}

.page-success .btn-whatsapp{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    color: #25d366;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all .3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,.2);
    margin: 0 auto;
	border-radius: 8px;
}

.page-success .btn-whatsapp:hover{
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,.3);
    background: #f0f0f0;
}

.page-success .info-box-success{
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    animation: fadeIn 0.8s ease-out 1.4s both;
    font-size: 13px;
    color: #856404;
}

@media (max-width: 600px){
    .page-success .success-card{ padding: 35px 25px; }
    .page-success .success-card h1{ font-size: 28px; }
    .page-success .checkmark-container{ width: 100px; height: 100px; }
    .page-success .checkmark-container svg{ width: 60px; height: 60px; }
    .page-success .whatsapp-section{ padding: 25px; }
    .page-success .btn-whatsapp{ padding: 14px 30px; font-size: 14px; }
}

/* =========================================================
    GERIR (login) - full width + alinhamento
========================================================= */

.page-gerir .success-card { text-align: left; }

/* Mantém título/descrição centralizados */
.page-gerir .success-card h1,
.page-gerir .success-card > p {
	text-align: center;
}

/* Form ocupa toda a largura do card */
.page-gerir .form {
	width: 100%;
	margin-top: 16px;
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
}

/* Menos espaço entre campos + sem limite de largura */
.page-gerir .form-group {
	width: 100%;
	max-width: none;
	margin-bottom: 10px;
}

/* Labels à esquerda */
.page-gerir .form-group label {
	text-align: left;
	margin-bottom: 6px;
}

/* Inputs 100% (e fonte 16px ajuda no mobile também) */
.page-gerir .form-group input {
	width: 100%;
	font-size: 16px;
}

/* Botão entrar 100% */
.page-gerir .btn-submit {
	width: 100%;
	max-width: none;
}

/* Botão baixar CSV 100% */
.page-gerir .btn-whatsapp {
	width: 100%;
	max-width: none;
	border-radius: 8px;
}

/* =========================================================
	 MOBILE/TABLET: ícone + título na mesma linha e subtexto abaixo
	 (somente na página de inscrição)
	 ========================================================= */
@media (max-width: 768px) {
	.page-inscricao .info-box .info-item{
		flex-direction: row !important;	 /* sobrescreve o .info-item { flex-direction: column } */
		align-items: flex-start;
		gap: 12px;
	}

	.page-inscricao .info-box .info-item .icon{
		margin: 0 !important;
		min-width: 28px;
		line-height: 1;
		margin-top: 2px;
	}

	.page-inscricao .info-box .info-item > div{
		display: flex;
		flex-direction: column;
		gap: 2px;
		min-width: 0;
	}

	.page-inscricao .info-box .info-item strong{
		margin: 0;
		line-height: 1.2;
	}

	.page-inscricao .info-box .info-item span{
		margin: 0;
		line-height: 1.4;
	}
}

/* Modal "inscrições encerradas" */
.modal-backdrop{
	position: fixed; inset: 0;
	background: rgba(0,0,0,.60);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	z-index: 9999;
}
.modal-backdrop.show{ display: flex; }

.modal-card{
	width: min(520px, 100%);
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 18px 60px rgba(0,0,0,.35);
	overflow: hidden;
}
.modal-head{
	padding: 16px 18px;
	border-bottom: 1px solid rgba(0,0,0,.08);
	display: flex;
	gap: 10px;
	align-items: center;
}
.modal-icon{
	width: 38px; height: 38px;
	border-radius: 12px;
	display: grid; place-items: center;
	background: rgba(0,0,0,.06);
	font-size: 20px;
}
.modal-body{ padding: 14px 18px 6px; }
.modal-body h3{ margin: 0 0 8px; font-size: 18px; }
.modal-body p{ margin: 0 0 10px; line-height: 1.45; opacity: .9; }
.modal-foot{
	padding: 12px 18px 16px;
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}
.btn-modal{
	border: 0;
	padding: 10px 14px;
	border-radius: 10px;
	cursor: pointer;
	font-weight: 600;
}
.btn-modal-primary{ background: #111; color: #fff; }
.btn-modal-ghost{ background: rgba(0,0,0,.06); color: #111; }
.form-locked{
	opacity: .55;
	pointer-events: none; /* impede clicar */
	filter: grayscale(.1);
}

/* Modal controlado pelo BODY (robusto) */
body.modal-open { overflow: hidden; } /* trava scroll */

body.modal-open .modal-backdrop{
	display: flex; /* mostra */
}

body.modal-open .panel-form{
	opacity: .55;
	pointer-events: none;
	filter: grayscale(.1);
}

/* Modal: força texto preto dentro do card */
.modal-card,
.modal-card *{
	color: #111 !important;
}

.modal-body p{
	opacity: 0.9; /* mantém legível */
}