/* ================= BASE ================= */
body {
    background: #e5e7eb;
    color: #1e293b;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* ================= NAVBAR ================= */
.navbar {
    background: #0f172a !important;
}

.navbar a {
    color: #cbd5e1 !important;
    transition: 0.3s ease;
}

.navbar a:hover {
    color: #ffffff !important;
}

/* ================= HERO ================= */
.hero {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    padding: 100px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 65%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.hero h1 {
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero p {
    color: #dbeafe;
}

.hero .text-soft {
    color: #dbeafe !important;
}

/* ================= BOTÕES ================= */
.btn-primary {
    background: #1d4ed8;
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

.btn-outline-light {
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* ================= HERO BOX ================= */
.hero-image-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, 0.15);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.hero-image-box:hover {
    transform: translateY(-6px);
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.16),
        0 10px 24px rgba(0, 0, 0, 0.10);
}

/* ================= MINI CARD ================= */
.hero-mini-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.hero-mini-card:hover {
    transform: translateY(-5px);
}

.hero-mini-card h5 {
    margin: 0 0 4px;
    color: #1d4ed8;
    font-weight: 700;
}

.hero-mini-card p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

/* ================= ÍCONE ================= */
.icon-box {
    min-width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.30);
    transition: transform 0.3s ease;
}

.hero-mini-card:hover .icon-box {
    transform: scale(1.08);
}

/* ================= SEÇÕES ================= */
section {
    padding: 60px 0;
}

.section-light {
    background: #f8fafc;
}

.section-gray {
    background: #d1d5db;
}

/* ================= TÍTULOS E TEXTOS ================= */
.section-title {
    margin-bottom: 1.75rem;
}

.section-title h2 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.text-soft {
    color: #64748b;
}

/* ================= TAG ================= */
.tag-pill {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.20);
}

/* ================= CARDS PREMIUM ================= */
.card,
.card-dark,
.form-dark,
.hero-box,
.interactive-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(30, 58, 138, 0.08);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.05),
        0 2px 5px rgba(0, 0, 0, 0.04);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* brilho guiado pelo mouse */
.card::before,
.card-dark::before,
.interactive-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        220px circle at var(--x, 50%) var(--y, 50%),
        rgba(59, 130, 246, 0.22),
        transparent 45%
    );
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

/* glow de contorno */
.card::after,
.card-dark::after,
.interactive-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    background: linear-gradient(120deg, rgba(59,130,246,0.45), rgba(37,99,235,0.20), rgba(29,78,216,0.35));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.35s ease;
}

.card:hover,
.card-dark:hover,
.interactive-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.30);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.18),
        0 10px 25px rgba(0, 0, 0, 0.08);
}

.card:hover::before,
.card-dark:hover::before,
.interactive-card:hover::before {
    opacity: 1;
}

.card:hover::after,
.card-dark:hover::after,
.interactive-card:hover::after {
    opacity: 0.22;
}

/* ================= LINKS DOS CARDS ================= */
.card-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #1e40af;
}

/* ================= BADGES ================= */
.badge {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 11px;
}

/* ================= INPUTS ================= */
label {
    color: #334155;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.form-control,
.form-select {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    color: #1e293b;
}

.form-control:focus,
.form-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* ================= TABELAS ================= */
.table {
    border-radius: 14px;
    overflow: hidden;
}

.table th {
    background: #1e3a8a;
    color: #fff;
    border-bottom: none;
}

.table td {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.table tr:hover td {
    background: #f1f5fb;
}

/* ================= FOOTER ================= */
footer {
    background: #0f172a;
    color: #cbd5e1;
}

/* ================= SCROLL ================= */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 10px;
}
.icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0d6efd, #3a8bfd);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}
