:root {
    --bg-dark: #052846;
    --bg-deep: #031a2c;
    --accent: #f2af58;
    --text-main: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Urbanist', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

.aurora-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% -20%, #0c4d84 0%, var(--bg-dark) 70%);
}

.navbar {
    backdrop-filter: blur(20px);
    background: rgba(3, 26, 44, 0.8);
    padding: 20px 0;
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.navbar-brand img { 
    width: 85px; 
    filter: drop-shadow(0 0 8px rgba(242, 175, 88,0.3)); 
}

.hero-section {
    padding: 200px 0 100px;
}

.display-hero {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 35px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    max-width: 800px;
    margin: 0 auto 50px;
}

/* Ajuste otimizado para páginas internas */
.hero-internal {
    padding-top: 80px !important;
    padding-bottom: 40px !important;
}

/* Remove margens extras que o Bootstrap pode adicionar ao primeiro elemento */
.hero-internal .container {
    margin-top: 0 !important;
}

.module-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.module-card:hover {
    border-color: rgba(242, 175, 88, 0.5);
    background: rgba(242, 175, 88, 0.04);
    transform: translateY(-12px);
    box-shadow: var(--card-shadow);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(242, 175, 88, 0.15);
    color: var(--accent);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.module-card:hover .icon-box {
    background: var(--accent);
    color: var(--bg-dark);
    transform: rotate(-10deg) scale(1.1);
}

.module-card h4 {
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.module-card p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
}

.plan-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 45px 35px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
}

.plan-card.featured {
    border: 2px solid var(--accent);
    background: rgba(242, 175, 88, 0.08);
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.plan-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--bg-deep);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 25px 0;
    letter-spacing: -1px;
}

.price span { font-size: 1rem; opacity: 0.5; font-weight: 400; }

.plan-features {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.plan-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: flex-start;
}

.plan-features li i { 
    color: var(--accent); 
    margin-right: 12px; 
    margin-top: 5px;
}

.module-tag {
    font-size: 0.75rem;
    background: rgba(255,255,255,0.05);
    padding: 2px 10px;
    border-radius: 4px;
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
    color: rgba(255,255,255,0.6);
}

.btn-gold {
    background: var(--accent);
    color: #fff;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-gold:hover {
    background: #f5c37c;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(242, 175, 88,0.35);
    color: #fff;
}

html {
    scroll-behavior: smooth; /* Deixa a descida suave */
    scroll-padding-top: 100px; /* Evita que o topo da seção fique escondido atrás do menu fixo */
}

footer {
    background-color: var(--bg-deep);
    padding: 100px 0 60px;
    border-top: 1px solid var(--glass-border);
}

.footer-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.footer-link:hover { color: var(--accent); padding-left: 5px; }
/* ── Global form fixes (v2.39 — Fase 2) ─────────────────────────────── */
.custom-input { color: #fff !important; }
.custom-input::placeholder { color: rgba(255,255,255,0.45) !important; }

/* Autofill (Chrome/Edge) — mantém o input escuro */
.custom-input:-webkit-autofill,
.custom-input:-webkit-autofill:hover,
.custom-input:-webkit-autofill:focus,
.custom-input:-webkit-autofill:active {
    -webkit-text-fill-color: #fff !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(255,255,255,0.05) inset !important;
    caret-color: #fff !important;
    transition: background-color 9999s ease-in-out 0s;
}

/* Select dropdown escuro */
select.custom-input { color: #fff !important; }
select.custom-input option,
select.form-select.custom-input option { background-color: #031a2c !important; color: #fff !important; }

/* Checkbox / radio escuros */
.form-check-input {
    background-color: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(242, 175, 88,0.5) !important;
    cursor: pointer;
}
.form-check-input:checked {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
}
.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(242, 175, 88,0.25) !important;
    border-color: var(--accent) !important;
}
