/* =====================================================
   RESET + BASE
===================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f2f5;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =====================================================
   LAYOUT PRINCIPAL
===================================================== */

.container {
    display: flex;
    min-height: 100vh;
}

/* =====================================================
   SIDEBAR
===================================================== */

.sidebar {
    width: 25%;
    min-width: 280px;
    background-color: #213546;
    color: #fff;
    padding: 20px;
    overflow-y: auto;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 30px;
}

.sidebar-header img {
    max-width: 180px;
    width: 100%;
}

/* Accordion */

.accordion-item {
    border-bottom: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 10px;
}

.accordion-item summary {
    cursor: pointer;
    padding: 14px 10px;
    font-weight: 700;
    list-style: none;
}

.accordion-item summary::-webkit-details-marker {
    display: none;
}

.accordion-item summary::before {
    content: "➔ ";
    margin-right: 4px;
}

.accordion-item[open] summary {
    background-color: #4e4e9a;
    border-radius: 6px;
}

.accordion-content {
    padding: 12px 10px 18px 22px;
}

.accordion-content a {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #e4e8ff;
}

.accordion-content a:hover {
    text-decoration: underline;
}

/* =====================================================
   CONTEÚDO PRINCIPAL
===================================================== */

.main-content {
    width: 75%;
    padding: 24px;
    overflow-y: auto;
}
/* =====================================================
   HERO ENTERPRISE – FLUIDO (CLAMP)
===================================================== */

.main-banner {
    margin-bottom: clamp(32px, 4vw, 48px);
}

.banner-link {
    position: relative;
    display: block;
    border-radius: clamp(16px, 2vw, 22px);
    overflow: hidden;
    background: #000;
}

.banner-link img {
    width: 100%;
    display: block;
}

/* Overlay fluido */

.banner-overlay {
    position: absolute;
    inset: 0;

    max-width: clamp(70%, 60vw, 85%);
    padding: clamp(28px, 5vw, 72px);

    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2.5vw, 24px);

    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.78) 0%,
        rgba(0,0,0,0.58) 50%,
        rgba(0,0,0,0.28) 75%,
        rgba(0,0,0,0) 100%
    );

    color: #eefaf5;
}

/* Headline fluida */

.banner-overlay h1 {
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: clamp(1.08, 1.1, 1.15);
    font-weight: 800;
    margin: 0;

    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUp 0.8s ease-out 0.15s forwards;
}

/* ===== BLOCO TEXTO + CTA (FLUIDO) ===== */

.banner-body {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    column-gap: clamp(16px, 3vw, 32px);

    max-width: clamp(320px, 55vw, 680px);
}

/* Texto fluido */

.banner-body p {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: clamp(1.55, 1.6, 1.7);
    margin: 0;

    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUp 0.8s ease-out 0.3s forwards;
}

/* CTA fluido */

.banner-cta {
    background: linear-gradient(135deg, #1fcf8b, #14b87a);
    color: #003b2f;

    padding: clamp(12px, 1.2vw, 14px)
             clamp(24px, 3vw, 38px);

    border-radius: 999px;

    font-weight: 800;
    font-size: clamp(0.75rem, 0.9vw, 0.85rem);
    letter-spacing: clamp(0.4px, 0.08vw, 0.6px);
    text-transform: uppercase;
    white-space: nowrap;

    box-shadow: 0 clamp(10px, 1.8vw, 14px)
               clamp(22px, 3vw, 30px)
               rgba(31,207,139,0.35);

    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUp 0.8s ease-out 0.45s forwards;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.banner-link:hover .banner-cta {
    transform: translateY(-2px);
    box-shadow: 0 clamp(14px, 2vw, 18px)
               clamp(32px, 4vw, 40px)
               rgba(31,207,139,0.45);
}


/* Animação */

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

/* =====================================================
   QUICK LINKS
===================================================== */

.quick-links-bar {
    background-color: #213546;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 28px;

    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.quick-links-bar a {
    color: white;
    background-color: #213546;
    border: 1px solid #ffffff;
    border-radius: 8px;
    padding: 5px 15px;
    display: inline-block;
}
.quick-links-bar a:hover {
    color: #ffffff;
    transform: translateY(-1px);
    background-color: #0000cc;
    border: 2px solid #edf0d1;
    border-radius: 10px;
    padding: 5px 15px;
    display: inline-block;
}
/* =====================================================
   GRID DE CONTEÚDO
===================================================== */

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.left-column,
.right-column {
    display: flex;
    flex-direction: column;
}

/* =====================================================
   CARDS
===================================================== */

.card {
    background-color: #fff;
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 3px solid #fc4c02;
    color: #213546;
}

/* Links dentro dos cards */

.card-links a {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #213546;
}

.card-links a:hover {
    text-decoration: underline;
}

/* =====================================================
   BOTÕES / DOWNLOADS
===================================================== */

.btn {
    display: block;
    width: 100%;
    margin-bottom: 12px;

    padding: 14px 16px;
    border-radius: 8px;

    background-color: #213546;
    color: #fff;
    font-weight: 700;
    text-align: center;

    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #0000cc;
    transform: translateY(-1px);
}

/* Box documentação */

.documentation-box {
    margin-top: 20px;
    background-color: #f4f6fb;
    padding: 16px;
    border-radius: 8px;
}

.documentation-box h4 {
    margin-top: 0;
}

.documentation-box ul {
    padding-left: 18px;
}

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

footer {
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    border-top: 1px solid #ddd;
}

footer img {
    max-width: 160px;
    margin-bottom: 10px;
}
/* =====================================================
   RESPONSIVO – MOBILE
===================================================== */

@media (max-width: 900px) {

    .container {
        flex-direction: column;
    }

    .sidebar,
    .main-content {
        width: 100%;
    }

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

    /* HERO MOBILE */

    .banner-overlay {
        position: relative;
        max-width: 100%;
        padding: clamp(20px, 6vw, 32px);

        background: linear-gradient(
            180deg,
            rgba(0,0,0,0.85),
            rgba(0,0,0,0.55)
        );
    }

    .banner-body {
        grid-template-columns: 1fr;
        row-gap: clamp(16px, 4vw, 22px);
        max-width: 100%;
    }

    .banner-cta {
        width: 100%;
        text-align: center;
    }
}































