/* =========================================================
   RESET BÁSICO
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fb;
    color: #1e293b;
    line-height: 1.6;
}

/* =========================================================
   VARIÁVEIS
========================================================= */
:root {
    --primary: #0b3d86;
    --primary-dark: #072c63;
    --primary-soft: #e9f1ff;

    --accent: #f5b800;
    --accent-dark: #d69d00;

    --text: #1e293b;
    --text-soft: #475569;
    --text-light: #64748b;

    --white: #ffffff;
    --border: #dbe3ef;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;

    --container: 1200px;
    --transition: 0.25s ease;
}

/* =========================================================
   ESTRUTURA GERAL
========================================================= */
.wrapper {
    min-height: 100vh;
}

.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.section {
    padding: 72px 0;
}

.section-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.section-header {
    max-width: 820px;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-soft);
    max-width: 760px;
}

/* =========================================================
   HEADER
========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(219, 227, 239, 0.9);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #dbe3ef;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    flex-shrink: 0;
    padding: 6px;
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--text);
}

.brand-sub {
    font-size: 0.9rem;
    color: var(--text-light);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-soft);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--primary);
}

.main-nav a.is-active::after,
.main-nav a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 999px;
}

.cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
}

/* =========================================================
   BOTÕES
========================================================= */
.btn-academico {
    background: linear-gradient(135deg, #c62828 0%, #e53935 100%);
    color: #ffffff;
    border: 1px solid rgba(198, 40, 40, 0.22);
    box-shadow: 0 10px 22px rgba(198, 40, 40, 0.24);
}

.btn-academico:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #a81f1f 0%, #cf2f2f 100%);
    color: #ffffff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #1758b3 100%);
    color: var(--white);
    box-shadow: 0 10px 22px rgba(11, 61, 134, 0.24);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--primary-dark) 0%, #114999 100%);
}

.btn-outline {
    background: var(--white);
    color: var(--primary);
    border-color: rgba(11, 61, 134, 0.18);
}

.btn-outline:hover {
    transform: translateY(-2px);
    background: var(--primary-soft);
}

/* =========================================================
   HERO
========================================================= */
.hero-shell {
    padding-top: 26px;
}

.hero {
    padding: 46px 0 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 34px;
    align-items: center;
}

.hero-content,
.hero-media {
    min-width: 0;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(11, 61, 134, 0.08);
    color: var(--primary);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.03;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 18px;
}

.hero-title span {
    color: var(--primary);
}

.hero-text {
    font-size: 1.05rem;
    color: var(--text-soft);
    max-width: 640px;
    margin-bottom: 18px;
}

.ldb {
    background: linear-gradient(135deg, rgba(11, 61, 134, 0.08), rgba(245, 184, 0, 0.11));
    border: 1px solid rgba(11, 61, 134, 0.09);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    color: var(--text-soft);
    margin-bottom: 18px;
    font-size: 0.97rem;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text-soft);
    padding: 10px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    font-weight: 600;
    font-size: 0.94rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.hero-kpis {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.hero-kpi {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    min-width: 210px;
    box-shadow: var(--shadow);
    color: var(--text-soft);
    font-size: 0.95rem;
}

.hero-kpi span {
    display: block;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-media .photo {
    position: relative;
    background: var(--white);
    border: 1px solid rgba(219, 227, 239, 0.9);
    border-radius: var(--radius-lg);
    padding: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-media .photo img {
    width: 100%;
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

.hero-floating {
    position: absolute;
    right: 24px;
    bottom: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(219, 227, 239, 0.85);
    border-radius: 20px;
    padding: 14px 16px;
    box-shadow: var(--shadow);
    max-width: 220px;
}

.hero-floating span {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.hero-floating small {
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.35;
}

.grid4 {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.thumb {
    background: var(--white);
    border: 1px solid rgba(219, 227, 239, 0.9);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.thumb:hover {
    transform: translateY(-4px);
}

.thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.thumb .label {
    padding: 14px 16px 16px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

/* =========================================================
   CARDS DE CONTEÚDO
========================================================= */
.section-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.feature-card {
    background: var(--white);
    border: 1px solid rgba(219, 227, 239, 0.9);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-tag {
    display: inline-block;
    margin-bottom: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(245, 184, 0, 0.14);
    color: #8a6400;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.feature-title {
    font-size: 1.18rem;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 12px;
    font-weight: 800;
}

.feature-text {
    color: var(--text-soft);
    font-size: 0.97rem;
}

/* =========================================================
   CTA FINAL
========================================================= */
.section-cta {
    padding-top: 30px;
    padding-bottom: 84px;
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
    background: #0b1830;
    color: rgba(255, 255, 255, 0.86);
    padding: 26px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

/* =========================================================
   RESPONSIVIDADE
========================================================= */
@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .section-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta {
        display: none;
    }

    .main-nav {
        gap: 16px;
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 18px;
        padding: 18px;
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
    }

    .main-nav a::after,
    .main-nav a.is-active::after,
    .main-nav a:hover::after {
        display: none;
    }

    .section-grid {
        grid-template-columns: 1fr;
    }

    .grid4 {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .header-inner {
        min-height: 76px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 20px, var(--container));
    }

    .hero {
        padding-top: 26px;
    }

    .hero-text,
    .section-subtitle,
    .feature-text,
    .thumb .label,
    .ldb {
        font-size: 0.95rem;
    }

    .hero-actions,
    .badges,
    .hero-kpis {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-kpi {
        min-width: auto;
    }

    .grid4 {
        grid-template-columns: 1fr;
    }

    .thumb img {
        height: auto;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-title {
        font-size: 1rem;
    }

    .brand-sub {
        font-size: 0.82rem;
    }

    .circle {
        width: 48px;
        height: 48px;
    }

    .circle img {
        width: 34px;
        height: 34px;
    }

    .section {
        padding: 56px 0;
    }
}