/*
   Novidades / acoes (#acoes) 
*/

#acoes.actions {
    --news-gap: 18px;
    --news-card: clamp(270px, 28vw, 390px);
    --gallery-text: #f5e7d3;
    position: relative;
    margin: 0;
    padding: 42px 0 62px;
    overflow: hidden;
    background: #f8f0e8;
    color: var(--wine);
    font-family: var(--font-primary);
    line-height: 1.5;
    letter-spacing: normal;
}

/* Cabecalho + controles */
#acoes .news-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding: 0 6vw;
    margin-bottom: 30px;
}
#acoes .news-caption { display: flex; align-items: flex-end; gap: 35px; }
#acoes .news-controls { display: flex; gap: 8px; }
#acoes .news-controls button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 1px solid #54162844;
    border-radius: 50%;
    background: transparent;
    color: var(--wine);
    font: inherit;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s;
}
#acoes .news-controls button:hover { background: #ead7c8; }
#acoes .news-controls button:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }

/* Janela rolavel + trilho */
#acoes .news-window {
    overflow-x: auto;
    padding: 4px 0 6px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
}
#acoes .news-window::-webkit-scrollbar { display: none; }
#acoes .actions-grid {
    display: flex;
    gap: var(--news-gap);
    width: max-content;
    margin: 0 0 25px;
    padding: 0 0 0 6vw;
}

/* Card (as medidas internas em cqw acompanham a largura do card) */
#acoes .action-card {
    container-type: inline-size;
    position: relative;
    isolation: isolate;
    display: block;
    flex: 0 0 var(--news-card);
    width: var(--news-card);
    aspect-ratio: 1;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0 22px 0 0;
    background: #282222;
    box-shadow: none;
    color: var(--gallery-text);
    font-family: var(--font-primary);
    text-align: left;
    text-transform: none;
    /* cursor: pointer; -- desativado enquanto os cards nao tem detalhes (ver Index.cshtml, Novidades) */
}
#acoes .action-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

#acoes .action-photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}
#acoes .action-photo-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(34, 25, 18, .76) 0%, rgba(39, 29, 21, .58) 48%, rgba(39, 29, 21, .22) 100%),
        linear-gradient(rgba(233, 154, 85, .055), rgba(233, 154, 85, .055));
}

#acoes .action-card h3 {
    position: absolute;
    top: 25%;
    left: 7.6%;
    margin: 0;
    font-size: 9.5cqw;
    font-weight: 300;
    line-height: .95;
    letter-spacing: calc(-.055em + var(--track-300));
    color: inherit;
    text-transform: none;
}
#acoes .action-card h3 > span { display: block; font-family: var(--font-primary); font-weight: 300; }
#acoes .action-card h3 > em {
    display: block;
    margin-left: -.35cqw;
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 600;
    font-size: 14cqw;
    line-height: .94;
    letter-spacing: -.055em;
}
#acoes .action-standup h3 { top: 24.5%; }
#acoes .action-standup h3 > em { font-size: 20cqw; line-height: .85; }
#acoes .action-mindful h3 { top: 23.5%; }
#acoes .action-mindful h3 > em { font-size: 14.5cqw; }
#acoes .action-sound h3 { top: 28.5%; }
#acoes .action-sound h3 > em { font-size: 13.2cqw; }
#acoes .action-immersive h3 { top: 31%; }
#acoes .action-immersive h3 > span { font-size: 8.6cqw; }
#acoes .action-immersive h3 > em { font-size: 12.4cqw; }
#acoes .action-clinical h3 > em { font-size: 12.8cqw; }

#acoes .action-description {
    position: absolute;
    top: 57.8%;
    left: 7.8%;
    margin: 0;
    font-size: 4.15cqw;
    font-weight: 300;
    line-height: 1.35;
    letter-spacing: calc(-.015em + var(--track-300));
    color: inherit;
}
#acoes .action-mindful .action-description { top: 53.3%; }
#acoes .action-sound .action-description { top: 56.4%; }
#acoes .action-immersive .action-description { top: 56.3%; }
#acoes .action-clinical .action-description { top: 49%; }

#acoes .action-more {
    position: absolute;
    left: 7.8%;
    right: 7.8%;
    bottom: 7.5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding-top: 2.2cqw;
    border-top: 1px solid #f5e7d36b;
    font-size: 4cqw;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: var(--track-300);
    color: inherit;
}
#acoes .action-more > span { font-size: 4.6cqw; line-height: 1; transition: transform .4s ease; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    #acoes .action-photo { transition: transform .85s cubic-bezier(.2, .65, .25, 1); }
    #acoes .action-card:hover .action-photo { transform: scale(1.085); }
    #acoes .action-card:hover .action-more > span { transform: translate(4px, -4px); }
}
@media (prefers-reduced-motion: reduce) {
    #acoes .action-more > span { transition: none; }
}

@media (max-width: 700px) {
    #acoes.actions { --news-card: 78vw; --news-gap: 14px; padding: 26px 0 30px; }
    #acoes .news-heading { display: block; padding: 0 7vw; margin-bottom: 24px; }
    #acoes .news-caption { justify-content: space-between; margin-top: 20px; }
    #acoes .actions-grid { padding-left: 7vw; }
}
