/* CSS para a seção de notícias */

/* ================================== */
/* DESKTOP - Configuração base */
/* ================================== */

   #noticias {
    width: 100%;
    background-color: var(--branco);
    padding: clamp(1rem, 3vw, 2rem) 0 clamp(2rem, 5vw, 4rem) 0;
    overflow: visible;
}

.noticias {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 clamp(2rem, 8vw, 4rem);
    overflow: visible;
}

.noticias__titulo--titulo {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    font-family: "Nebulica-ExtraLight", sans-serif;
    margin-bottom: clamp(1rem, 3vw, 2rem);
    text-transform: uppercase;
    color: var(--preto-lavado);
    text-align: right;
    padding-right: clamp(0.5rem, 2vw, 1rem);
    transition: all 0.8s ease;
    cursor: pointer;
    transform-origin: right center; 
}

.noticias__titulo--titulo:hover {
    color: var(--amarelo-criativo);
    transform: scale(1.02) translateX(-2px); 
}

.i-accented {
    position: relative;
    display: inline-block;
    transition: all 0.8s ease;
}

.noticias__titulo--titulo:hover .i-accented {
    animation: accentFloat 1.5s ease-in-out infinite alternate;
}

@keyframes accentFloat {
    0% { 
        transform: translateY(0px) scaleY(1);
    }
    100% { 
        transform: translateY(-1px) scaleY(1.05);
    }
}

.noticias__container {
    display: flex;
    flex-direction: row;
    gap: 0;
    align-items: flex-start;
    position: relative;
    padding-bottom: clamp(2rem, 5vw, 4rem);
}

.noticias__left {
    width: clamp(250px, 25vw, 300px);
    height: clamp(300px, 35vw, 400px);
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-color: var(--branco);
    z-index: 2;
    overflow: visible;
}

.noticias__imagem {
    width: clamp(300px, 35vw, 450px);
    height: clamp(300px, 35vw, 450px);
    min-width: clamp(300px, 35vw, 450px);
    min-height: clamp(300px, 35vw, 450px);
    max-width: clamp(300px, 35vw, 450px);
    max-height: clamp(300px, 35vw, 450px);
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1/1;
    position: relative;
    left: clamp(100px, 15vw, 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.noticias__imagem img,
.noticias__imagem--principal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.noticias__numero {
    position: absolute;
    bottom: clamp(-20px, -3vw, -30px);
    left: clamp(5px, 1vw, 10px);
    transform: none;
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 100;
    color: var(--preto-lavado);
    font-family: "Nebulica-ExtraLight", sans-serif;
    line-height: 1;
    z-index: 3;
}

.noticias__numero::after {
    content: '.';
    color: var(--amarelo-criativo);
}

.noticias__right {
    flex: 1;
    background-color: #E6E6E6;
    position: relative;
    min-height: clamp(420px, 20vw, 420px);
    z-index: 1;
    padding-left: clamp(200px, 40vw, 250px);
    top: -1rem;
}

.noticias__right::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: clamp(30px, 4vw, 45px);
    background-color: var(--amarelo-criativo);
    z-index: 3;
}

.noticias__item {
    display: block;
    text-decoration: none;
    padding: clamp(0.8rem, 2vw, 1rem) clamp(2rem, 4vw, 3rem) clamp(0.8rem, 2vw, 1rem) clamp(1rem, 2vw, 1.5rem);
    position: relative;
    border-bottom: 1px solid var(--preto);
    transition: all 0.3s ease;
}

.noticias__item:first-child {
    padding-top: clamp(1.2rem, 3vw, 1.5rem);
}

.noticias__item:last-child {
    border-bottom: none;
    padding-bottom: clamp(1.2rem, 3vw, 1.5rem);
}

.noticias__item h3 {
    font-size: clamp(1.3rem, 2.8vw, 1.2rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--preto-lavado);
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin: 0;
}

.noticias__item--barra {
    display: none;
}

.noticias__item:hover {
    background-color: #D4D4D4;
}

.noticias__item:hover h3 {
    font-weight: 700;
}

.noticias__item {
    position: relative;
  }
  
  .noticias__item--leiamais {
    position: absolute;
    bottom: 0.5rem;
    left: clamp(1rem, 2vw, 1.5rem);
    color: var(--amarelo-criativo);
    font-weight: 900;
    font-size: clamp(0.7rem, 2vw, 0.85rem);
    text-transform: none; 
    transform: scale(0.8);
    opacity: 0;
    transform-origin: left bottom;
    transition: transform 0.25s ease, opacity 0.25s ease;
    pointer-events: none;
  }
  
  .noticias__item:hover .noticias__item--leiamais {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
  }

.noticias__item:hover .noticias__item--leiamais {
    display: block;
}

.noticias__verTodas {
    display: flex;
    justify-content: flex-end;
    margin-top: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
    position: relative;
    width: 100%;
    z-index: 10;
}

.noticias__verTodas .vertodos {
    display: inline-flex !important;
    align-items: center !important;
    background-color: var(--cinza-claro) !important;
    color: var(--preto-lavado) !important;
    padding: clamp(12px, 2.5vw, 16px) clamp(55px, 12vw, 65px) clamp(12px, 2.5vw, 16px) 0 !important;
    border-radius: clamp(30px, 6vw, 35px) !important;
    cursor: pointer;
    text-decoration: none;
    font-size: clamp(0.8rem, 2.5vw, 1rem) !important;
    text-transform: uppercase;
    font-weight: 500;
    position: relative !important;
    z-index: 100;
    min-width: auto !important;
    height: auto !important;
    top: 0 !important;
}

#noticias .noticias__verTodas .vertodos::before {
    content: "" !important;
    position: absolute !important;
    left: clamp(-5px, -1.5vw, -6px) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: clamp(40px, 8.5vw, 48px) !important;
    height: clamp(40px, 8.5vw, 48px) !important;
    background-color: var(--amarelo-criativo) !important;
    border-radius: 50% !important;
    z-index: 1 !important;
    transition: transform 0.3s ease !important;
}

#noticias .noticias__verTodas .vertodos:hover::before {
    transform: translateY(-50%) translateX(calc(100% + clamp(190px, 24vw, 230px))) !important;
}

#noticias .noticias__verTodas a[href="page/noticias.html"] .circle {
    display: none !important;
}

.noticias__verTodas .vertodos span {
    margin-left: clamp(40px, 8vw, 55px) !important;
    margin-right: 0 !important;
    font-size: clamp(0.8rem, 2.5vw, 1rem) !important;
    text-transform: uppercase;
    font-weight: 700;
    position: static !important;
    z-index: auto !important;
    color: var(--preto-lavado) !important;
    transition: color 0.3s ease !important;
}

.noticias__verTodas .vertodos:hover span {
    color: var(--preto-lavado) !important;
}

.noticias__verTodas .vertodos:hover {
    background-color: var(--amarelo-criativo) !important;
}

@media (max-width:767px){
.noticias__verTodas{justify-content:center}
.noticias__verTodas .vertodos{padding:8px 28px 8px 0!important;border-radius:22px!important;font-size:.8rem!important}
#noticias .noticias__verTodas .vertodos::before{left:-4px!important;width:28px!important;height:28px!important}
.noticias__verTodas .vertodos span{margin-left:36px!important;font-size:.8rem!important}
#noticias .noticias__verTodas .vertodos:hover::before{transform:translateY(-50%) translateX(calc(100% + 140px))!important}
}
    
@media (max-width:1024px){
.noticias{padding:0 clamp(1rem,8vw,6rem)}
.noticias__container{flex-direction:column-reverse;gap:.5rem}
.noticias__left{width:100%;height:auto;justify-content:center;align-items:center}
.noticias__imagem{width:clamp(320px,85vw,800px)!important;height:clamp(320px,85vw,800px)!important;min-width:clamp(320px,85vw,800px)!important;min-height:clamp(320px,85vw,800px)!important;max-width:clamp(320px,85vw,800px)!important;max-height:clamp(320px,85vw,800px)!important;left:0!important;top:clamp(-6rem,-8vw,-4rem)!important;margin:clamp(-10rem,-12vw,-8rem) auto 0 auto!important}
.noticias__imagem img,.noticias__imagem--principal{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;display:block!important}
.noticias__numero{display:none}
.noticias__right{width:100%;padding-left:0;padding-bottom:clamp(16rem,35vw,28rem);max-width:clamp(400px,70vw,600px);margin:0 auto}
.noticias__right::after{width:clamp(15px,4vw,25px)}
.noticias__titulo--titulo{text-align:center;padding-right:0;max-width:clamp(400px,70vw,600px);margin:2rem auto}
.noticias__verTodas{justify-content:center;margin-top:clamp(-4rem,-12vw,-6rem)!important}
}

