/*
Theme Name: Guilherme
Description: Tema personalizado do portfólio de Guilherme Oliveira
Theme URI:   https://www.guilhermesoliveira.com.br
Author: Guilherme Oliveira
Author URI:  https://www.guilhermesoliveira.com.br
Template: salient
Version: 1.0
*/


/* =========================================================
   HELVENA
   Custom Font Family
   ========================================================= */

@font-face {
    font-family: "Helvena";
    src: url("./fonts/helvena/helvena-extralight.woff2") format("woff2");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Helvena";
    src: url("./fonts/helvena/helvena-light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Helvena";
    src: url("./fonts/helvena/helvena-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Helvena";
    src: url("./fonts/helvena/helvena-medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Helvena";
    src: url("./fonts/helvena/helvena-semibold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Helvena";
    src: url("./fonts/helvena/helvena-bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Helvena";
    src: url("./fonts/helvena/helvena-extrabold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Helvena";
    src: url("./fonts/helvena/helvena-black.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


/* =========================================================
   STORIES — SOBRE
   Borda estilo Instagram
   ========================================================= */

.story-sobre .web-stories-list.is-view-type-circles
.web-stories-list__story-poster {
    border-radius: 50% !important;
    background: conic-gradient(
        from 210deg,
        #feda75 0deg,
        #fa7e1e 70deg,
        #d62976 150deg,
        #962fbf 240deg,
        #4f5bd5 300deg,
        #feda75 360deg
    ) !important;
}

.story-sobre .web-stories-list.is-view-type-circles
.web-stories-list__story-poster a > img,
.story-sobre .web-stories-list.is-view-type-circles
.web-stories-list__story-poster > img {
    border: 2px solid #ffffff !important;
    padding: 0 !important;
    width: calc(var(--ws-circle-size) - 6px) !important;
    height: calc(var(--ws-circle-size) - 6px) !important;
    left: 3px !important;
    top: 3px !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
}


/* =========================================================
   FLUENT FORMS — FORMULÁRIO DE CONTATO
   ID: 1
   ========================================================= */

/* CAMPOS */

#fluentform_1 input[type="text"],
#fluentform_1 input[type="email"],
#fluentform_1 input[type="tel"],
#fluentform_1 input[type="url"],
#fluentform_1 textarea,
#fluentform_1 select {
    background-color: transparent !important;
    color: #202020 !important;
    border: 1px solid #202020 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease !important;
}

/* PLACEHOLDER */

#fluentform_1 input::placeholder,
#fluentform_1 textarea::placeholder {
    color: #8e8e8e !important;
    opacity: 1 !important;
}

/* FOCO */

#fluentform_1 input:focus,
#fluentform_1 textarea:focus,
#fluentform_1 select:focus {
    background-color: transparent !important;
    border-color: #202020 !important;
    box-shadow: 0 0 0 1px #202020 !important;
    outline: none !important;
}

/* AUTOFILL */

#fluentform_1 input:-webkit-autofill,
#fluentform_1 input:-webkit-autofill:hover,
#fluentform_1 input:-webkit-autofill:focus {
    -webkit-text-fill-color: #202020 !important;
    -webkit-box-shadow:
        0 0 0 1000px transparent inset !important;
    transition: background-color 9999s ease-in-out 0s !important;
}

/* TEXTAREA */

#fluentform_1 textarea {
    resize: vertical !important;
}

/* BOTÃO ENVIAR */

#fluentform_1 .ff-btn-submit {
    width: 100% !important;
    min-height: 78px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    background-color: #202020 !important;
    color: #ffffff !important;
    border: 1px solid #202020 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease !important;
}

/* HOVER */

#fluentform_1 .ff-btn-submit:hover {
    background-color: #f2f2f2 !important;
    color: #202020 !important;
    border-color: #202020 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10) !important;
}

/* ACTIVE */

#fluentform_1 .ff-btn-submit:active {
    transform: translateY(0);
    background-color: #e8e8e8 !important;
    color: #202020 !important;
}

/* FOCO ACESSÍVEL */

#fluentform_1 .ff-btn-submit:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(32,32,32,0.20) !important;
}

/* REMOVE ESTILOS DO SALIENT */

#fluentform_1 button.ff-btn-submit,
#fluentform_1 input.ff-btn-submit {
    border-radius: 12px !important;
    background-image: none !important;
    text-transform: none !important;
}


/* =========================================================
   FONT AWESOME
   ========================================================= */

@font-face {
    font-family: "FontAwesome";
    src: url("/wp-content/themes/salient/css/fonts/fontawesome-webfont.woff?v=4.2") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* =========================================================
   GSO — SELO DE INTELIGÊNCIA ARTIFICIAL
   PORTFÓLIO | SALIENT POST LOOP BUILDER
   ========================================================= */

.nectar-post-grid-item {
    position: relative;
}

.nectar-post-grid-item .content {
    position: relative;
}

.nectar-post-grid-item .gso-selo-ia {
    position: absolute !important;
    top: 35px !important;
    right: 25px !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 30 !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 5px 10px !important;

    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.65) !important;
    border-radius: 50px !important;
    box-shadow: none !important;

    color: #ffffff !important;
    font-family: "Helvena", sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;

    pointer-events: none !important;
    opacity: 1 !important;
    transform: none !important;

    transition:
        background-color 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease !important;
}

/* HOVER */

@media (hover: hover) {
    .nectar-post-grid-item:hover .gso-selo-ia {
        background-color: #ffffff !important;
        color: #202020 !important;
        border-color: #ffffff !important;
    }
}

/* TABLET */

@media (max-width: 999px) {
    .nectar-post-grid-item .gso-selo-ia {
        top: 20px !important;
        right: 20px !important;
        padding: 5px 9px !important;
        font-size: 11px !important;
        letter-spacing: 0.8px !important;
    }
}

/* MOBILE */

@media (max-width: 690px) {
    .nectar-post-grid-item .gso-selo-ia {
        top: 26.5px !important;
        right: 15px !important;
        left: auto !important;
        bottom: auto !important;
        padding: 4px 8px !important;
        font-size: 10px !important;
        font-weight: 400 !important;
        letter-spacing: 0.5px !important;
        line-height: 1.2 !important;
        border-width: 1px !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        white-space: nowrap !important;
    }
}


/* =========================================================
   PREMIAÇÕES — MOBILE
   Layout responsivo da lista de prêmios
   ========================================================= */

@media only screen and (max-width: 690px) {

    body #ajax-content-wrap #clients
    .nectar-hor-list-item.multiple-columns[data-columns="4"] {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "projeto projeto"
            "premio ano"
            "descricao descricao";
        column-gap: 12px !important;
        row-gap: 10px !important;
        align-items: start;
    }

    body #ajax-content-wrap #clients
    .nectar-hor-list-item.multiple-columns[data-columns="4"]
    > .nectar-list-item {
        width: auto !important;
        max-width: none !important;
        min-width: 0;
        flex: initial !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body #ajax-content-wrap #clients
    .nectar-hor-list-item .nectar-list-item:nth-child(1) {
        grid-area: projeto;
        text-align: left !important;
    }

    body #ajax-content-wrap #clients
    .nectar-hor-list-item .nectar-list-item:nth-child(2) {
        grid-area: premio;
        text-align: left !important;
    }

    body #ajax-content-wrap #clients
    .nectar-hor-list-item .nectar-list-item:nth-child(3) {
        grid-area: descricao;
        text-align: left !important;
        margin-top: 8px !important;
    }

    body #ajax-content-wrap #clients
    .nectar-hor-list-item .nectar-list-item:nth-child(4) {
        grid-area: ano;
        text-align: right !important;
        white-space: nowrap;
    }
}


/* =========================================================
   MENU MOBILE — SVG +5521 E TEXTO
   ========================================================= */

@media only screen and (max-width: 999px) {

    body #slide-out-widget-area.fullscreen-alt
    .nectar-header-text-content.mobile-only,

    body #slide-out-widget-area.fullscreen-alt
    .nectar-header-text-content.mobile-only > div,

    body #slide-out-widget-area.fullscreen-alt
    .nectar-header-text-content.mobile-only p {
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body #slide-out-widget-area.fullscreen-alt
    .nectar-header-text-content.mobile-only {
        text-align: center !important;
    }

    body #slide-out-widget-area.fullscreen-alt
    .nectar-header-text-content.mobile-only p::before {
        content: "";
        display: block;
        width: 180px;
        height: 80px;
        background-image: url("./marca/5521-white.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        margin: 0 auto 20px auto;
    }

    body #slide-out-widget-area.fullscreen-alt
    .nectar-header-text-content.mobile-only p {
        color: #ffffff !important;
        text-align: center !important;
        margin-bottom: 0 !important;
    }
}


/* ==========================================
   GUI - LANGUAGE SWITCHER
   ========================================== */

#header-outer .gui-lang-switch {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    gap: 7px;
    margin-left: 20px;
    white-space: nowrap;
    line-height: 1;
	font-size: 12px;
}

#header-outer .gui-lang-switch a {
    color: inherit !important;
    font: inherit;
    text-decoration: none !important;
    opacity: 0.45;
    transition: opacity 0.25s ease;
}

#header-outer .gui-lang-switch a:hover,
#header-outer .gui-lang-switch a[aria-current="page"] {
    opacity: 1;
}

#header-outer .gui-lang-switch a::after {
    display: none !important;
}

#header-outer .gui-lang-divider {
    opacity: 0.45;
}

/* MOBILE */

@media (max-width: 999px) {

    #header-outer .gui-lang-switch {
        margin-left: 10px;
        gap: 5px;
        font-size: 11px;
    }

}

/* Evita duplicar o seletor dentro
   do menu lateral mobile */

#slide-out-widget-area .gui-lang-switch {
    display: none !important;
}

/* ==========================================
   PT | EN - TEXT REVEAL HOVER
   ========================================== */

#header-outer .gui-lang-switch a {
    position: relative;
    display: inline-block !important;
    width: 19px;
    height: 15px;
    overflow: hidden;
    vertical-align: middle;
    font-size: 0 !important;
    line-height: 15px !important;
    padding: 0 !important;
}

/* Duas camadas de texto */

#header-outer .gui-lang-switch a::before,
#header-outer .gui-lang-switch a::after {
    position: absolute;
    display: flex !important;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: inherit;
    font-size: 12px !important;
    font-weight: inherit;
    line-height: 15px !important;
    color: inherit;
    opacity: 1;
    visibility: visible;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Textos PT */

#header-outer .gui-lang-switch a[lang^="pt"]::before,
#header-outer .gui-lang-switch a[lang^="pt"]::after {
    content: "PT";
}

/* Textos EN */

#header-outer .gui-lang-switch a[lang^="en"]::before,
#header-outer .gui-lang-switch a[lang^="en"]::after {
    content: "EN";
}

/* Posições iniciais */

#header-outer .gui-lang-switch a::before {
    transform: translateY(0);
}

#header-outer .gui-lang-switch a::after {
    transform: translateY(100%);
}

/* Movimento ao passar o mouse */

#header-outer .gui-lang-switch a:hover::before,
#header-outer .gui-lang-switch a:focus-visible::before {
    transform: translateY(-100%);
}

#header-outer .gui-lang-switch a:hover::after,
#header-outer .gui-lang-switch a:focus-visible::after {
    transform: translateY(0);
}

/* Acessibilidade */

@media (prefers-reduced-motion: reduce) {
    #header-outer .gui-lang-switch a::before,
    #header-outer .gui-lang-switch a::after {
        transition: none;
    }
}
