@font-face {
    font-family: "BB_Bold";
    src: url(../assets/fonts/BancoDoBrasilTitulos_EXB.ttf);
}

@font-face {
    font-family: "BB_Medium";
    src: url(../assets/fonts/BancoDoBrasilTitulos_BBreg.ttf);
}

@font-face {
    font-family: "BBLight";
    src: url(../assets/fonts/BancoDoBrasilTitulos_BBLight.ttf);
}


:root {
    --primary-blue: #2F54CF;
    --light-blue: #e0f2fe;
    --accent-yellow: #FFF600;
    --text-dark: #333333;
    --bg-light: #FFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'BB_Medium', Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'BB_Bold', Arial, sans-serif;
}


.hero-section {
    /* COLOQUE A IMAGEM DE FUNDO DO HERO AQUI */
    background-image: url(../assets/img/bgbanner.png);
    background-color: var(--primary-blue);
    /* Fallback */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    min-height: 800px;
    border-bottom-right-radius: 150px;
}

.logo-cassi {
    width: 102px;
}

.lineyl {
    background-color: #FFDF1B;
    height: 10px;
}

.logo-cassi {
    width: 102px;
}

.hero-content {
    text-align: right;
    max-width: 27%;
    margin-left: 62%;
}

.hero-content h1 {
    color: #2F54CF;
    padding-top: 91px;
    line-height: 1;
    font-size: 4rem;
    margin-bottom: 40px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #2F54CF;
    font-weight: bold;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'BB_Bold', sans-serif;
    font-weight: bold;
    margin-right: 15px;
    cursor: pointer;
    border: none;
}

.texto-pequenomt {
    font-size: 18px;
}

.btn-yellow {
    background-color: #FFF600;
    color: var(--text-dark);
}

.btn-outline {
    background-color: transparent;
    color: #2F54CF;
    ;
    border: 2px solid #2F54CF;
    ;
}

.cardparte {
    background-color: white;
    margin-right: 11rem;
    border-radius: 23px;
    padding: 67px;
    width: 38%;
}

.about-section {
    background-image: url(../assets/img/bgfc.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
}

.about-section h2 {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.blocolg6 {
    width: 50%;
}

.imgfc {
    width: 70%;
}

.faqt {
    font-size: 57px;
    line-height: 1;
    color: #2F54CF;
    text-align: center;
    margin-bottom: 4rem;
}

.mgtp {
    margin-top: 48px;
}

.arvorecompleta {
    font-size: 22px;
    color: #FFF600;
    background-color: #2F54CF;
    padding: 21px 90px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
}

.fazer-parte {
    align-content: center;
    text-align: -webkit-right;
    height: 701px;
    background-image: url(../assets/img/bgfazer.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.titulocard {
    margin-bottom: 19px;
    color: #2F54CF;
    line-height: normal;
    font-family: 'BB_Bold';
    font-size: 51px;
}

.titulocard-b {
    text-align: left;
    margin-bottom: 19px;
    color: #2F54CF;
    line-height: normal;
    font-family: 'BB_Bold';
    font-size: 51px;
}

.imgmt {
    margin-top: 15px;
    width: 100%;
}

.textocard {
    margin-bottom: 21px;
    text-align: left;
}

.btncard {
    border-radius: 22px;
    padding: 13px;
    background-color: #FFF600;
    color: #2F54CF;
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

.ct {
    text-align: center;
}

.lnbt {
    padding-bottom: 15px;
    border-bottom: solid 1px #9babab;
}

.arvore {
    width: 100%;
}


.cases-section {
    background-color: var(--light-blue);
    padding: 60px 20px;
}

.cases-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cases-container h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.cards-grid {
    flex-wrap: wrap;
    display: flex;
    gap: 20px;
}

.card {
    width: 49%;
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary-blue);
}

.card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.1rem;
}


.docs-section {
    background-image: url(../assets/img/bg1920.png);
    background-color: var(--primary-blue);
    /* Fallback */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 80px 20px;
}

.docs-content {
    max-width: 600px;
    margin-left: 10%;
}

.docs-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.doc-box {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 5px solid var(--accent-yellow);
}

.doc-box.alert {
    border-left-color: #dc3545;
    background-color: #fff3f3;
}


.tree-section {
    padding: 60px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.tree-image-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    /* Placeholder styling */
    background-color: #e2e8f0;
    padding: 100px 20px;
    border-radius: 12px;
    color: #64748b;
}


.faq-section {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

details {
    background-color: white;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

summary {
    padding: 20px;
    font-family: 'BB_Bold', sans-serif;
    color: var(--primary-blue);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}

summary::-webkit-details-marker {
    display: none;
    /* Remove seta no Chrome/Safari */
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-blue);
}

details[open] summary::after {
    content: '-';
}

.faq-content {
    padding: 0 20px 20px 20px;
}

.topocard {
    padding-bottom: 0px;
    margin-bottom: 17px;
    display: flex;
}

.iconperso {
    height: 53px;
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 60px 20px 20px 20px;
    font-family: 'BB_Medium', Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h4 {
    font-family: 'BB_Bold', Arial, sans-serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-yellow);
}

.footer-col p,
.footer-col a {
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
    font-size: 0.95rem;
}

.footer-col a:hover {
    text-decoration: underline;
}

/* Logo da CASSI no Footer */
.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
    display: block;
}

/* Redes Sociais */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    text-decoration: none;
}

.social-links img {
    width: 40px;
    /* Ajuste o tamanho da bolinha branca aqui se necessário */
    height: 40px;
    object-fit: contain;
    display: block;
}

/* Direitos Autorais / Rodapé inferior */
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 0.85rem;
}

/* =========================================
   Responsividade (Media Queries)
   ========================================= */

@media (min-width: 1024px) and (max-width: 1440px) {

    .hero-content {
        text-align: right;
        max-width: 37%;
        margin-left: 53%;
    }

    .cardparte {
        background-color: white;
        margin-right: 3rem;
        border-radius: 23px;
        padding: 67px;
        width: 59%;
    }

    .titulocard-b {
        font-size: 38px;
    }

    .card {
        width: 48%;
    }

}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-col {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-logo {
        margin: 0 auto 20px auto;
    }

    .hero-content h1 {
        line-height: 1;
        font-size: 24px;
        margin-bottom: 10px;
    }

    .blocolg6 {
        width: 100%;
    }

    .cardparte {
        background-color: white;
        margin-right: 18px;
        border-radius: 23px;
        padding: 31px;
        width: 92%;
    }

    .about-section h2 {
        font-size: 39px;
        color: var(--primary-blue);
        margin-bottom: 20px;
    }

    .arvore {
        width: 96%;
    }

    .about-section {
        background-image: none;
    }

    .card {
        width: 100%;
        margin-bottom: 18px;
    }

    .hero-content {
        text-align: -webkit-center;
        max-width: 100%;
        margin-left: 0%;
    }

    .titulocard {
        font-size: 36px;
    }

    .ftmob {
        font-size: 31px !important;
    }

    .fazer-parte {
        height: 915px;
    }

    .btn {
        width: 100%;
        display: inline-block;
        padding: 12px 24px;
        border-radius: 8px;
        text-decoration: none;
        font-family: 'BB_Bold', sans-serif;
        font-weight: bold;
        margin-right: 0px;
        cursor: pointer;
        border: none;
    }

    .btn-yellow {
        margin-bottom: 11px;
    }

    .docs-content {
        max-width: 600px;
        margin-left: 2%;
    }

    .hero-section {
        background-color: var(--primary-blue);
        background-image: url(../assets/img/bgmobile.png);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        color: white;
        padding: 10px 20px;
        display: block;
        align-items: none;
        min-height: 519px;
        border-bottom-right-radius: 150px;
    }

    .faqt {
        font-size: 37px;
    }

    .arvorecompleta {
        font-size: 20px;

    }

    .topocard {
        text-align: center;
        display: block;
    }

    .card h3 {
        font-size: 15px;
    }

    .titulocard-b {
        font-size: 25px;
    }

    .cases-container h2 {
        font-size: 28px;
    }

    .hero-content h1 {
        font-size: 32px;
        color: #ffdf1b;
    }


    .hero-content p {
        color: white;
    }

    .btn-outline {
        color: white;
        border: 2px solid white;
    }
}