/* =========================================================
   YETUAYETU
   STYLE GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fff;
    color: #111;

    font-family: Verdana, Arial, sans-serif;
    font-size: 12px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   SOCIAL BAR
========================================================= */

.social-bar {
    width: 100%;

    background: #490354;
    color: #fff;
}

.social-container {
    width: min(1200px, 94%);
    margin: auto;

    min-height: 32px;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 18px;
}

.social-container a {
    font-size: 10px;

    transition: .2s;
}

.social-container a:hover {
    opacity: .7;
}


/* =========================================================
   NAVBAR
========================================================= */

.main-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: #fff;

    border-bottom: 1px solid #eee;

    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.navbar-container {
    width: min(1200px, 94%);
    min-height: 70px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* LOGO */

.site-logo {
    display: flex;
    align-items: center;

    flex-shrink: 0;
}

.site-logo img {
    width: 240px;

    object-fit: contain;
}


/* MENU */

.navbar-menu {
    display: flex;
    align-items: center;

    gap: 24px;
}

.navbar-menu a {
    position: relative;

    display: flex;
    align-items: center;

    gap: 5px;

    padding: 26px 0;

    color: #000;

    font-family: Verdana, Arial, sans-serif;
    font-size: 12px;

    white-space: nowrap;

    transition: color .2s;
}

.navbar-menu a span {
    font-size: 13px;
}

.navbar-menu a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 17px;

    width: 0;
    height: 2px;

    background: #490354;

    transition: width .2s;
}

.navbar-menu a:hover {
    color: #490354;
}

.navbar-menu a:hover::after {
    width: 100%;
}


/* MOBILE */

.mobile-menu-button {
    display: none;

    border: 0;
    background: transparent;

    font-size: 22px;

    cursor: pointer;
}


/* =========================================================
   PUBLICIDADE
========================================================= */

.advertising-area {
    padding: 18px 0;

    background: #f7f7f7;
}

.advertising-container {
    width: min(1200px, 94%);
    margin: auto;
}

.advertising-label {
    margin-bottom: 7px;

    color: #999;

    font-size: 8px;
    letter-spacing: 1px;
}

.advertising-slider {
    position: relative;

    height: 180px;

    overflow: hidden;

    border-radius: 8px;

    background: #eee;
}

.advertising-slide {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;

    padding: 35px 70px;

    opacity: 0;

    transition: opacity .5s;
}

.advertising-slide.active {
    opacity: 1;
}

.advertising-slide:nth-child(1) {
    background: linear-gradient(
        110deg,
        #490354,
        #7a2288
    );

    color: #fff;
}

.advertising-slide:nth-child(2) {
    background: linear-gradient(
        110deg,
        #151515,
        #444
    );

    color: #fff;
}

.advertising-slide:nth-child(3) {
    background: linear-gradient(
        110deg,
        #eee,
        #fff
    );

    color: #111;
}

.advertising-content small {
    font-size: 8px;
    letter-spacing: 1px;
}

.advertising-content h2 {
    margin: 8px 0;

    font-size: 25px;
}

.advertising-content p {
    max-width: 520px;

    margin-bottom: 15px;

    font-size: 11px;
}

.advertising-content a {
    display: inline-block;

    padding: 8px 14px;

    border-radius: 4px;

    background: #fff;
    color: #490354;

    font-size: 9px;
    font-weight: bold;
}

.advertising-prev,
.advertising-next {
    position: absolute;

    top: 50%;

    width: 32px;
    height: 32px;

    transform: translateY(-50%);

    border: 0;
    border-radius: 50%;

    background: rgba(0,0,0,.35);
    color: #fff;

    cursor: pointer;

    z-index: 5;
}

.advertising-prev {
    left: 15px;
}

.advertising-next {
    right: 15px;
}

.advertising-dots {
    position: absolute;

    bottom: 12px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    gap: 5px;

    z-index: 5;
}

.advertising-dots button {
    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255,255,255,.5);

    cursor: pointer;
}

.advertising-dots button.active {
    background: #fff;
}


/* =========================================================
   MAIN
========================================================= */

.site-main {
    width: min(1200px, 94%);

    margin: auto;

    padding: 35px 0 60px;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.content-section {
    margin-bottom: 50px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 20px;

    border-bottom: 1px solid #eee;

    padding-bottom: 12px;
}

.section-heading span {
    display: block;

    margin-bottom: 5px;

    color: #490354;

    font-size: 8px;
    font-weight: bold;

    letter-spacing: 1px;
}

.section-heading h1,
.section-heading h2 {
    font-size: 21px;
}

.section-heading > a {
    color: #490354;

    font-size: 9px;
    font-weight: bold;
}


/* =========================================================
   CARDS
========================================================= */

.articles-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.article-card {
    overflow: hidden;

    border: 1px solid #eee;
    border-radius: 7px;

    background: #fff;

    transition:
        transform .25s,
        box-shadow .25s;
}

.article-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(0,0,0,.08);
}

.article-image {
    width: 100%;
    height: 190px;

    overflow: hidden;

    background: #eee;
}

.article-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .3s;
}

.article-card:hover .article-image img {
    transform: scale(1.04);
}

.article-info {
    padding: 17px;
}

.article-info > span {
    color: #490354;

    font-size: 7px;
    font-weight: bold;

    letter-spacing: .8px;
}

.article-info h2 {
    margin: 7px 0;

    font-size: 14px;

    line-height: 1.35;
}

.article-info p {
    margin-bottom: 13px;

    color: #777;

    font-size: 9px;
    line-height: 1.6;
}

.article-info a {
    color: #490354;

    font-size: 8px;
    font-weight: bold;
}


/* =========================================================
   HOME LAYOUT
========================================================= */

.home-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        290px;

    gap: 30px;
}

.main-content {
    min-width: 0;
}

.sidebar-content {
    display: flex;
    flex-direction: column;

    gap: 20px;
}

.sidebar-box {
    padding: 20px;

    border: 1px solid #eee;
    border-radius: 7px;

    background: #fff;
}

.sidebar-box h3 {
    margin-bottom: 9px;

    font-size: 12px;
}

.sidebar-box p {
    color: #777;

    font-size: 9px;
    line-height: 1.6;
}

.sidebar-ad {
    min-height: 180px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 12px;

    background: #f5f5f5;

    color: #999;

    font-size: 8px;
    letter-spacing: 1px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    margin-top: 50px;

    background: #111;

    color: #fff;
}

.footer-container {
    width: min(1200px, 94%);

    margin: auto;

    padding: 45px 0;

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1fr;

    gap: 35px;
}

.footer-logo {
    width: 125px;

    margin-bottom: 15px;
}

.footer-column p {
    max-width: 300px;

    color: #aaa;

    font-size: 9px;
    line-height: 1.7;
}

.footer-column h3 {
    margin-bottom: 14px;

    font-size: 11px;
}

.footer-column a {
    display: block;

    margin-bottom: 10px;

    color: #aaa;

    font-size: 9px;

    transition: color .2s;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    width: min(1200px, 94%);

    margin: auto;

    padding: 18px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid #333;

    color: #777;

    font-size: 8px;
}

.footer-bottom strong {
    color: #fff;
}


/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 950px) {

    .navbar-menu {
        gap: 14px;
    }

    .navbar-menu a {
        font-size: 10px;
    }

    .articles-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .home-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-content {
        display: grid;

        grid-template-columns:
            1fr 1fr;
    }

}


@media (max-width: 700px) {

    .navbar-container {
        min-height: 60px;
    }

    .site-logo img {
        width: 110px;
    }

    .navbar-menu {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .advertising-slider {
        height: 210px;
    }

    .advertising-slide {
        padding: 25px 45px;
    }

    .advertising-content h2 {
        font-size: 20px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-content {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns:
            1fr 1fr;
    }

}


@media (max-width: 450px) {

    .social-container {
        justify-content: center;
    }

    .social-container a {
        font-size: 8px;
    }

    .advertising-slider {
        height: 230px;
    }

    .advertising-content h2 {
        font-size: 18px;
    }

    .section-heading h1,
    .section-heading h2 {
        font-size: 17px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;
    }

}


@media (max-width: 700px) {

    .navbar-menu.mobile-active {
        position: absolute;

        top: 60px;
        left: 0;
        right: 0;

        display: flex;
        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px 5%;

        background: #fff;

        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;

        box-shadow: 0 10px 20px rgba(0,0,0,.08);
    }

    .navbar-menu.mobile-active a {
        padding: 13px 0;

        font-size: 11px;
    }

    .navbar-menu.mobile-active a::after {
        display: none;
    }

}

:root {
    /* Cores controladas pelo painel administrativo */
    --yetu-lilas: var(--yetu-cor-principal, #A855F7);
    --yetu-lilas-dark: #6D28D9;
    --yetu-lilas-light: #C084FC;

    --yetu-black: #111111;
    --yetu-dark: #1A1A1A;

    --yetu-white: #FFFFFF;
    --yetu-bg: #FAFAFA;

    --yetu-text: #171717;
    --yetu-muted: #707070;

    --yetu-border: #E9E9E9;

    --yetu-cor-fundo: var(--yetu-cor-secundaria, #FFFFFF);

    --yetu-radius-sm: 10px;
    --yetu-radius-md: 16px;
    --yetu-radius-lg: 24px;

    --yetu-shadow-sm: 0 5px 20px rgba(0, 0, 0, .05);
    --yetu-shadow-md: 0 12px 35px rgba(0, 0, 0, .08);

    --yetu-transition: .25s ease;
}

/* RESET VISUAL */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
   background: var(--yetu-cor-fundo);
    color: var(--yetu-text);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* CONTAINER GLOBAL */

.container {
    width: min(1200px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}


/* LINKS */

a {
    transition: var(--yetu-transition);
}


/* BOTÕES GLOBAIS */

.btn-yetu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border: 0;
    border-radius: 30px;

    padding: 12px 20px;

    background: var(--yetu-lilas);
    color: #fff;

    font-size: 13px;
    font-weight: 800;

    text-decoration: none;
    cursor: pointer;

    transition: var(--yetu-transition);
}

.btn-yetu:hover {
    background: var(--yetu-lilas-dark);
    transform: translateY(-2px);
}

.btn-yetu-dark {
    background: var(--yetu-black);
}

.btn-yetu-dark:hover {
    background: var(--yetu-lilas);
}


/* TÍTULOS */

.yetu-section-title {
    margin-bottom: 25px;
}

.yetu-section-title small {
    display: block;

    margin-bottom: 7px;

    color: var(--yetu-lilas);

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.yetu-section-title h2 {
    margin: 0;

    color: var(--yetu-black);

    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.15;
    font-weight: 900;
}


/* CARDS GLOBAIS */

.yetu-card {
    background: var(--yetu-white);

    border: 1px solid var(--yetu-border);
    border-radius: var(--yetu-radius-md);

    overflow: hidden;

    box-shadow: var(--yetu-shadow-sm);

    transition:
        transform var(--yetu-transition),
        box-shadow var(--yetu-transition);
}

.yetu-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--yetu-shadow-md);
}


/* TAGS */

.yetu-tag {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    padding: 6px 10px;

    border-radius: 20px;

    background: #f1eaff;
    color: var(--yetu-lilas-dark);

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.2px;
}


/* SEPARADOR */

.yetu-divider {
    width: 100%;
    height: 1px;
    background: var(--yetu-border);
    margin: 30px 0;
}


/* ESTADOS */

.yetu-active {
    color: var(--yetu-lilas) !important;
}

.yetu-muted {
    color: var(--yetu-muted);
}


/* INPUTS */

.yetu-input {
    width: 100%;

    min-height: 46px;

    padding: 12px 15px;

    border: 1px solid var(--yetu-border);
    border-radius: var(--yetu-radius-sm);

    background: #fff;
    color: var(--yetu-text);

    outline: none;

    transition: var(--yetu-transition);
}

.yetu-input:focus {
    border-color: var(--yetu-lilas);

    box-shadow:
        0 0 0 3px rgba(139, 92, 246, .10);
}


/* SELEÇÃO DE TEXTO */

::selection {
    background: var(--yetu-lilas);
    color: #fff;
}


/* SCROLLBAR */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c4a9ef;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--yetu-lilas);
}


/* ESPAÇAMENTO PADRÃO DAS PÁGINAS */

.page-section {
    padding-top: 55px;
    padding-bottom: 55px;
}


/* RESPONSIVIDADE GLOBAL */

@media (max-width: 768px) {

    .container {
        width: min(100% - 28px, 1200px);
    }

    .page-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

}


@media (max-width: 480px) {

    .container {
        width: calc(100% - 22px);
    }

    .btn-yetu {
        padding: 11px 16px;
        font-size: 12px;
    }

}




/* =========================================================
   PUBLICIDADE — SIDEBAR
========================================================= */

.advertising-area-sidebar {
    padding: 0;
    background: transparent;
    min-width: 0;
}

.advertising-area-sidebar .advertising-container {
    width: 100%;
}

.advertising-area-sidebar .advertising-label {
    margin: 0 0 9px;
    color: #490354;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.advertising-area-sidebar .advertising-slider {
    height: 320px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.advertising-area-sidebar .advertising-title {
    top: 10px;
    left: 10px;
    max-width: calc(100% - 20px);
    padding: 7px 9px;
    font-size: 9px;
}

.advertising-area-sidebar .advertising-prev {
    left: 8px;
}

.advertising-area-sidebar .advertising-next {
    right: 8px;
}

.advertising-area-sidebar .advertising-prev,
.advertising-area-sidebar .advertising-next {
    width: 30px;
    height: 30px;
    font-size: 22px;
}

.advertising-area-sidebar .advertising-description {
    left: 8px;
    bottom: 10px;
    max-width: calc(100% - 16px);
    font-size: 9px;
}

.advertising-area-sidebar .advertising-dots {
    bottom: 8px;
}


/* =========================================================
   PUBLICIDADE — ANTES DO RODAPÉ
========================================================= */

.advertising-area-footer {
    padding: 25px 0 0;
    background: transparent;
}

.advertising-area-footer .advertising-container {
    width: min(1200px, 94%);
}

.advertising-area-footer .advertising-slider {
    height: clamp(150px, 18vw, 230px);
    border-radius: 12px;
}

.advertising-area-footer .advertising-title {
    top: 14px;
    left: 15px;
}

.advertising-area-footer .advertising-description {
    bottom: 14px;
}


/* Ajustes para ecrãs pequenos */

@media (max-width: 700px) {
    .advertising-area-sidebar .advertising-slider {
        height: 220px;
    }

    .advertising-area-footer {
        padding-top: 18px;
    }

    .advertising-area-footer .advertising-slider {
        height: 165px;
    }
}

/* =====================================================
   CORES CONFIGURÁVEIS — TOPBAR E NAVBAR
===================================================== */

.yetu-topbar {
    background-color: var(--yetu-topbar-fundo, #29232F);
    color: var(--yetu-topbar-texto, #FFFFFF);
}

.yetu-topbar a {
    color: var(--yetu-topbar-texto, #FFFFFF);
}

.yetu-navbar {
    background-color: var(--yetu-navbar-fundo, #FFFFFF);
    color: var(--yetu-navbar-texto, #29232F);
}

.yetu-navbar-menu a {
    color: var(--yetu-navbar-texto, #29232F);
}

.yetu-navbar-menu a:hover,
.yetu-navbar-menu a:focus-visible {
    color: var(--yetu-navbar-texto, #29232F);
    opacity: 0.75;
}

.yetu-navbar-search {
    color: var(--yetu-navbar-texto, #29232F);
}

.yetu-navbar-search svg {
    stroke: currentColor;
}

.yetu-navbar-toggle {
    color: var(--yetu-navbar-texto, #29232F);
}

.yetu-navbar-toggle span {
    background-color: currentColor;
}

/* =====================================================
   FOOTER — CORES CONTROLADAS PELO PAINEL
===================================================== */

.yetu-footer,
.yetu-footer .yetu-footer-main {
    background-color: var(--yetu-footer-fundo, #29232F);
    color: var(--yetu-footer-texto, #FFFFFF);
}

.yetu-footer .yetu-footer-bottom {
    background-color: var(--yetu-footer-fundo, #29232F);
    color: var(--yetu-footer-texto, #FFFFFF);
    border-top-color: var(--yetu-footer-texto, #FFFFFF);
}

.yetu-footer p,
.yetu-footer span,
.yetu-footer h3,
.yetu-footer a {
    color: var(--yetu-footer-texto, #FFFFFF);
}

.yetu-footer a:hover,
.yetu-footer a:focus-visible {
    opacity: 0.75;
}
/* =========================================
   CORES DINÂMICAS — TOPBAR
========================================= */

.yetu-header .yetu-topbar {
    background-color: var(--yetu-topbar-fundo, #29232F) !important;
    color: var(--yetu-topbar-texto, #FFFFFF) !important;
}

.yetu-header .yetu-topbar a,
.yetu-header .yetu-topbar span,
.yetu-header .yetu-topbar p,
.yetu-header .yetu-topbar i {
    color: var(--yetu-topbar-texto, #FFFFFF) !important;
}


/* =========================================
   CORES DINÂMICAS — NAVBAR
========================================= */

.yetu-header .yetu-navbar {
    background-color: var(--yetu-navbar-fundo, #FFFFFF) !important;
    color: var(--yetu-navbar-texto, #29232F) !important;
}

.yetu-header .yetu-navbar a,
.yetu-header .yetu-navbar button,
.yetu-header .yetu-navbar i,
.yetu-header .yetu-navbar .yetu-navbar-menu a {
    color: var(--yetu-navbar-texto, #29232F) !important;
}

.yetu-header .yetu-navbar .yetu-navbar-toggle span {
    background-color: var(--yetu-navbar-texto, #29232F) !important;
}

.yetu-header .yetu-navbar svg {
    color: var(--yetu-navbar-texto, #29232F) !important;
    stroke: var(--yetu-navbar-texto, #29232F) !important;
}


/* =========================================
   CORES DINÂMICAS — FOOTER
========================================= */

.yetu-footer,
.yetu-footer .yetu-footer-main,
.yetu-footer .yetu-footer-bottom {
    background-color: var(--yetu-footer-fundo, #29232F) !important;
    color: var(--yetu-footer-texto, #FFFFFF) !important;
}

.yetu-footer h1,
.yetu-footer h2,
.yetu-footer h3,
.yetu-footer p,
.yetu-footer span,
.yetu-footer a,
.yetu-footer i {
    color: var(--yetu-footer-texto, #FFFFFF) !important;
}