/*===========================
  Alerta de Cookies
============================ */
.cookie-alert {
    font-size: 15px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #222;
    color: #fff;
    padding: 20px;
    text-align: center;
    z-index: 99999;
    opacity: 0.95;
    display: none;
}

.cookie-alert button {
    background: #bea34d;
    color: #fff;
    border: 2px solid #bea34d;
    margin-right: 4px;
    margin-bottom: 4px;
    font-family: 'Merriweather', Georgia, serif;
    /*font-family: "Playfair Display", Georgia, serif; */
    font-size: 16px;
    font-weight: 400;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    border-radius: 30px;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    padding: 8px 20px;
    cursor: pointer;
}

/*===========================
  Politica de Privacidade
============================ */
.pagina-conteudo {
    margin: 10px 0;
}

.pagina-conteudo-titulo {
    text-transform: capitalize;
    /*uppercase*/
    margin: 20px 0px 10px;
}

.pagina-conteudo-titulo h1,
.pagina-conteudo-titulo h2 {
    margin-top: 30px;
    color: var(--primaryColor);
    line-height: 115%;
}

.pagina-conteudo-texto {
    margin: 15px 0;
    text-align: justify;
}

/*===========================
  WhatsApp Button Pulse
============================ */
.btn-whatsapp-pulse {
    background: #25d366;
    color: white;
    position: fixed;
    bottom: 100px;
    right: 20px;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    padding: 35px;
    opacity: 0;
    visibility: hidden;
    text-decoration: none;
    border-radius: 50%;
    z-index: 9999;
    animation-name: pulse;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
}

.btn-whatsapp-pulse.active {
    opacity: 1;
    visibility: visible;
}

.btn-whatsapp-pulse:hover {
    text-decoration: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    80% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
}

.btn-whatsapp-pulse-border {
    bottom: 120px;
    right: 20px;
    animation-play-state: paused;
}

.btn-whatsapp-pulse-border::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    padding: 25px;
    border: 5px solid #25d366;
    opacity: 0.75;
    animation-name: pulse-border;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
}

@keyframes pulse-border {
    0% {
        padding: 25px;
        opacity: 0.75;
    }

    75% {
        padding: 50px;
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* ===== End Alerta de Cookies ===== */
/*=====================================
  Estilo para a search box
=====================================*/
.header-search-wrap {
    position: relative;
    margin: 10px 0 10px 0;
}

input[name="q"].form-control {
    border: 2px solid #C5AD60;
    border-radius: 25px;
    padding: 10px 35px 10px 20px;
    font-size: 16px;
    background: #f9f9f9;
    transition: border-color 0.3s, background 0.3s;
    box-shadow: none;
}

input[name="q"].form-control:focus {
    border-color: #C5AD60;
    background: #fff;
    outline: none;
}

/* Estilo para o botão de pesquisa */
button.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #C5AD60;
    font-size: 18px;
    padding: 0;
    cursor: pointer;
    z-index: 2;
}

.header-search-wrap {
    position: relative;
}

/* ===== Begin Blog Page Styles ===== */
/* Aplica somente na página que contém #blog-section */
.page-header {
    margin: 150px 0 60px 0;
    padding: 0;
    border: none;
}

.page-header h2 {
    text-transform: uppercase;
}

.ss-result {
    margin-bottom: 2em;
}

.ss-result__aside {
    float: right;
    margin-left: .5em;
}

.ss-result__title {
    font-weight: bold;
    margin-bottom: .5em;
}

.ss-result__badge {
    font-size: .7em;
    padding: .2em .5em;
    border-radius: 4px;
    margin-left: .75em;
    background: #657B80;
    color: white;
    display: inline-block;
}

.ss-result__text {
    text-align: justify;
    margin-bottom: .5em;
}

.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.pagination>li>a,
.pagination>li>span {
    position: relative;
    float: left;
    padding: 10px 20px;
    line-height: 1.42857;
    text-decoration: none;
    color: #c0c0c0;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px;
}

.pagination>.active>a,
.pagination>.active>a:hover,
.pagination>.active>a:focus,
.pagination>.active>span,
.pagination>.active>span:hover,
.pagination>.active>span:focus {
    z-index: 2;
    color: #fff;
    background-color: #C5AD60;
    border-color: #C5AD60;
    cursor: default;
}

#blog-section .box-blog {
    width: calc(100% - 380px);
    /* 100% - 190px (esquerda) - 190px (direita) = 380px total */
    margin: 0 auto;
    /* centraliza o conteúdo */
    padding-left: 15px;
    padding-right: 15px;
}

/* Responsivo - ajusta as margens em telas menores */
@media (max-width: 1400px) {
    #blog-section .box-blog {
        width: calc(100% - 200px);
        /* reduz para 100px de cada lado */
    }
}

@media (max-width: 1200px) {
    #blog-section .box-blog {
        width: calc(100% - 120px);
        /* reduz para 60px de cada lado */
    }
}

@media (max-width: 992px) {
    #blog-section .box-blog {
        width: calc(100% - 80px);
        /* reduz para 40px de cada lado */
    }
}

@media (max-width: 768px) {
    #blog-section .box-blog {
        width: calc(100% - 40px);
        /* reduz para 20px de cada lado */
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 576px) {
    #blog-section .box-blog {
        width: calc(100% - 20px);
        /* reduz para 10px de cada lado no mobile */
        padding-left: 10px;
        padding-right: 10px;
    }

    .blog-pagination .page-link {
        padding: 0.2rem 0.5rem;
        font-size: 1.5rem;
    }
}
/* ===== End Blog Page Styles ===== */

/* Widget Categorias */
.categorias-wrapper {
    background: #F8F8F8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.categorias-titulo {
    color: #222;
    margin-bottom: 15px;
    font-size: 2.4rem;
    font-weight: bold;
}

.categorias-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.categoria-link {
    color: #fff;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.categoria-link:hover {
    color: #005fa3;
}

.categorias-list form {
    width: 100%;
}

.categorias-list select {
    width: 100%;
    box-sizing: border-box;
}

/* Widget últimos artigos */
.ultimos-artigos-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 24px 18px 18px 18px;
    margin: 20px 0 25px 0;

}

.ultimos-artigos-titulo {
    font-weight: 700;
    color: #22304a;
    font-size: 2.4rem;
    margin-bottom: 18px;
}

.ultimos-artigos-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ultimos-artigo-item {
    display: flex;
    align-items: flex-start;
    background: #F8F8F8;
    border-radius: 6px;
    padding: 18px 14px;
    margin-bottom: 0;
    border-bottom: 2px solid #f0f1f3;
}

.ultimos-artigo-item:last-child {
    border-bottom: none;
}

.artigo-numero {
    font-size: 1.6rem;
    font-weight: 700;
    color: #c3cbd6;
    margin-right: 16px;
    min-width: 32px;
    text-align: center;
    line-height: 1;
}

.artigo-conteudo {
    flex: 1;
}

.artigo-link {
    font-weight: 600;
    color: #22304a;
    font-size: 1.95rem;
    text-decoration: none;
    line-height: 1.3;
    display: block;
    margin-bottom: 8px;
}

.artigo-link:hover {
    text-decoration: underline;
}

.artigo-data {
    font-size: 0.97em;
    color: #8b98a9;
    display: flex;
    align-items: center;
    gap: 6px;
}

.artigo-data i {
    margin-right: 6px;
}

/*===========================
  Social Button CSS (Melhorado)
============================ */
.row-centered {
    text-align: center;
}

.col-centered {
    display: inline-block;
    float: none;
    margin-right: -4px;
}

.social-meta {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.share-btns {
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.share-btn_old {
    display: flex;
    align-items: center;
    gap: 0.5em;
    color: #fff;
    border: none;
    padding: 0.5em 1.2em;
    border-radius: 30px;
    font-size: 1em;
    font-weight: 600;
    margin: 0 0.2em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition:
        background 0.2s,
        box-shadow 0.2s,
        transform 0.15s,
        opacity 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.share-btn_old i {
    font-size: 1.3em;
    margin-right: 0.3em;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.4em;
    color: #fff;
    border: none;
    padding: 0.18em 0.5em;
    /* menor */
    border-radius: 12px;
    /* menor */
    font-size: 0.75em;
    /* menor */
    font-weight: 600;
    margin: 0 0.15em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition:
        background 0.2s,
        box-shadow 0.2s,
        transform 0.15s,
        opacity 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.share-btn i {
    font-size: 1em;
    /* menor */
    margin-right: 0.2em;
    /* menor */
}

.share-btn:focus,
.share-btn:hover {
    opacity: 0.92;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px) scale(1.04);
    text-decoration: none;
}

.share-btn:active {
    color: #e2e2e2;
    transform: scale(0.98);
}

.share-btn.twitter {
    background: linear-gradient(135deg, #55acee 60%, #2795e9 100%);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #3b5998 60%, #30487b 100%);
}

.share-btn.threads {
    background: linear-gradient(135deg, #444444 60%, #222222 100%);
}

.share-btn.substack {
    background: linear-gradient(135deg, #ff6719 60%, #ffb84d 100%);
    color: #fff;
}

.share-btn.reddit {
    background: linear-gradient(135deg, #ff5700 60%, #c44100 100%);
}

.share-btn.hackernews {
    background: linear-gradient(135deg, #ff6600 60%, #c44d00 100%);
}

.share-btn.linkedin {
    background: linear-gradient(135deg, #4875b4 60%, #25497d 100%);
}

.share-btn.telegram {
    background: linear-gradient(135deg, #0088cc 60%, #005f8c 100%);
}

.share-btn.pinterest {
    background: linear-gradient(135deg, #e60023 60%, #b8001b 100%);
}

.share-btn.tumblr {
    background: linear-gradient(135deg, #36465d 60%, #222f3e 100%);
}

.share-btn.pocket {
    background: linear-gradient(135deg, #ef4056 60%, #b92b3a 100%);
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #25d366 60%, #1ebc5a 100%);
}

.share-btn.email {
    background: linear-gradient(135deg, #444444 60%, #222222 100%);
}

.share-btn.link {
    background: linear-gradient(135deg, #ef4056 60%, #b92b3a 100%);
}

/* Responsivo: botões menores em telas pequenas */
@media (max-width: 480px) {
    .share-btn {
        font-size: 0.95em;
        padding: 0.35em 0.9em;
        border-radius: 22px;
    }

    .share-btn i {
        font-size: 1.1em;
        margin-right: 0.25em;
    }

    .share-btns {
        gap: 0.3em;
    }
}

/* Responsivo: ainda menores em telas pequenas */
@media (max-width: 600px) {
    .share-btn {
        font-size: 0.88em;
        padding: 0.28em 0.7em;
        border-radius: 18px;
    }

    .share-btn i {
        font-size: 1em;
    }

    .share-btns {
        gap: 0.18em;
    }
}

/*=====================================
  Estilo para a seção de tags do blog
=====================================*/
.blog-tags {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 18px 16px 12px 16px;
    margin: 20px 0 25px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.blog-tags-titulo {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    letter-spacing: 0.5px;
}

.blog-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-tag {
    display: inline-block;
    background: #e3e7ed;
    color: #2a3b4d;
    font-size: 0.90rem;
    /* Aumentado */
    padding: 10px 22px;
    /* Aumentado */
    border-radius: 28px;
    /* Aumentado */
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border: 1px solid #d1d9e6;
    box-shadow: 0 1px 2px rgba(44, 62, 80, 0.04);
    margin-bottom: 4px;
}

.blog-tag:hover,
.blog-tag:focus {
    background: #2a3b4d;
    color: #fff;
    border-color: #2a3b4d;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
    text-decoration: none;
}

/* Responsivo: .blog-tag menor em smartphones */
@media (max-width: 600px) {
    .blog-tag {
        font-size: 0.68rem;
        padding: 7px 14px;
        border-radius: 18px;
    }
}

/*===========================
  FAQ
============================ */
#accordion {
    margin: auto;
    /*max-width: 500px; */
}

.panel-heading a {
    display: block;
    position: relative;
    font-weight: bold;

    &::after {
        content: "";
        border: solid black;
        border-width: 0 3px 3px 0;
        display: inline-block;
        padding: 5px;
        position: absolute;
        right: 0;
        top: 0;
        transform: rotate(45deg);
    }

    &[aria-expanded="true"]::after {
        transform: rotate(-135deg);
        top: 5px;
    }
}
