/**
 * Theme name: Pelir Engenharia
 * Author: Talbot
 * Author Uri: https://talbot.cx/
 * Version: 1.0.0
 */

/** args **/

:root {
    --theme-color-000: #EADAC5;
    --theme-color-050: #F5F4DD;
    --theme-color-100: #D8B68A;
    --theme-color-300: #C07D53;
    --theme-color-500: #DE2524;
    --theme-color-700: #B82835;
    --theme-color-900: #7B163D;

    --theme-background: #FBF9F6;
    --theme-wrapper-size: 127.0rem;
}


/** reset **/

* {
    color: inherit;

    border: 0;
    margin: 0;
    padding: 0;

    resize: none;
    outline: none;

    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    font-display: swap;

    box-sizing: border-box;
    background: transparent;

    border-radius: 0;
}

a {
    text-decoration: none;
}

img,
svg,
figure {
    width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
}

input,
select,
textarea {
    -webkit-appearance: none;
            appearance: none;
}

ol ol li,
ul, ul li {
    list-style: none;
}

html, body {
    font-size: 10px;
    background: var(--theme-background);

    -webkit-font-smoothing: antialiased;
            font-smoothing: antialiased;

    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 1440px) {
    html, body {
        font-size: 8px;
    }
}


/** flex **/

.flex {
    display: flex;
    flex-wrap: wrap;
}

.flex .grow { flex-grow: 1 }
.flex .shrink { flex-shrink: 1 }

.flex.inline { display: inline-flex }
.flex.column { flex-direction: column }

.flex.al-end { align-items: flex-end }
.flex.al-start { align-items: flex-start }
.flex.al-center { align-items: center }

.flex.jf-end { justify-content: flex-end }
.flex.jf-start { justify-content: flex-start }
.flex.jf-center { justify-content: center }
.flex.jf-around { justify-content: space-around }
.flex.jf-between { justify-content: space-between }


/** depth **/

.depth-10 { z-index: 10 }
.depth-20 { z-index: 20 }
.depth-30 { z-index: 30 }
.depth-40 { z-index: 40 }

.depth-min { z-index: 1 }
.depth-max { z-index: 100 }


/** images **/

.cover,
.contain {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.cover.left,
.contain.left {
    object-position: left center;
}

.cover.right,
.contain.right {
    object-position: right center;
}

.contain { object-fit: contain }


/** wrapper **/

.wrapper {
    width: calc(100% - 40px);

    margin-left: auto;
    margin-right: auto;

    max-width: var(--theme-wrapper-size);
}

.wrapper.inner-wrapper {
    max-width: calc(var(--theme-wrapper-size) * 0.6666);
}


/** position **/

.fixed { position: fixed }
.relative { position: relative }
.absolute { position: absolute }


/** accessibility **/

.for-display { speak: none }

.for-sreader {
    overflow: hidden;

    width: 0;
    height: 0;

    font-size: 14px;
    line-height: 14px;
    text-indent: -200vw;
}


/** theme helpers **/

.color-white { color: white }

.color-faded { color: #707070 }
.color-default { color: #323334 }

.color-000 { color: var(--theme-color-000) }
.color-050 { color: var(--theme-color-050) }
.color-100 { color: var(--theme-color-100) }
.color-300 { color: var(--theme-color-300) }
.color-500 { color: var(--theme-color-500) }
.color-700 { color: var(--theme-color-700) }
.color-900 { color: var(--theme-color-900) }

.border-000 { border-color: var(--theme-color-000) }
.border-050 { border-color: var(--theme-color-050) }
.border-100 { border-color: var(--theme-color-100) }
.border-300 { border-color: var(--theme-color-300) }
.border-500 { border-color: var(--theme-color-500) }
.border-700 { border-color: var(--theme-color-700) }
.border-900 { border-color: var(--theme-color-900) }

.background-000 { background: var(--theme-color-000) }
.background-050 { background: var(--theme-color-050) }
.background-100 { background: var(--theme-color-100) }
.background-300 { background: var(--theme-color-300) }
.background-500 { background: var(--theme-color-500) }
.background-700 { background: var(--theme-color-700) }
.background-900 { background: var(--theme-color-900) }

.lowercase { text-transform: lowercase }
.uppercase { text-transform: uppercase }

.cta {
    padding: 1.6rem 2.4rem;

    border-width: 1px;
    border-style: solid;
    border-radius: 0.8rem;

    transition: transform 0.3s ease-out;
}

.editor,
.editor-small,
.editor-medium {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 152%;
    font-family: 'Nunito';
}

.editor-small {
    font-size: 12px;
    line-height: 142%;
}

.editor-medium {
    font-size: 1.4rem;
    line-height: 142%;
}

.editor a,
.editor-small a,
.editor-medium a {
    color: var(--theme-color-900);
    text-decoration: underline;
}

.editor p:not(:last-child),
.editor ul:not(:last-child),
.editor-small p:not(:last-child),
.editor-small ul:not(:last-child),
.editor-medium p:not(:last-child),
.editor-medium ul:not(:last-child) { margin-bottom: 1em }

.editor ul,
.editor-small ul,
.editor-medium ul { margin-left: 2rem }
.editor ul li,
.editor-small ul li,
.editor-medium ul li { list-style: disc }

.editor.full hr {
    margin: 5rem 0;
    border-top: 1px solid rgba(0,0,0, 0.2);
}

.editor.full h3 {
    margin: 5rem 0 2rem;
    font-size: 2em;
    font-weight: 600;
}

.editor.full h4,
.editor strong,
.editor-small strong,
.editor-medium strong { font-weight: 600 }

.lead-medium-bold,
.lead-medium-regular {
    font-size: 4.8rem;
    font-weight: 400;
    line-height: 100%;
    font-family: Termina;
}

.title-small-bold,
.title-small-regular {
    font-size: 2.0rem;
    font-weight: 400;
    line-height: 130%;
    font-family: Termina;
}

.title-medium-bold,
.title-medium-regular {
    font-size: 2.6rem;
    font-weight: 400;
    line-height: 130%;
    font-family: Termina;
}

.title-large-bold,
.title-large-regular {
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 130%;
    font-family: Termina;
}

.label-small-bold,
.label-small-regular {
    font-size: 12px;
    font-weight: 400;
    line-height: 100%;
    font-family: 'Termina';
}

.label-medium-bold,
.label-medium-regular {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 100%;
    font-family: 'Termina';
}

.cta,
.label-large-bold,
.label-large-regular {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 100%;
    font-family: 'Termina';
}

.lead-medium-bold,
.lead-medium-regular strong,
.title-small-bold,
.title-small-regular strong,
.title-medium-bold,
.title-medium-regular strong,
.title-large-bold,
.title-large-regular strong,
.label-small-bold,
.label-small-regular strong,
.label-medium-bold,
.label-medium-regular strong,
.label-large-bold,
.label-large-regular strong { font-weight: 600 }

.padding-small {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
}

.padding-equal {
    padding-top: 13.0rem;
    padding-bottom: 13.0rem;
}

.padding-default {
    padding-top: 6.0rem;
    padding-bottom: 15.0rem;
}


body .splide:not(.is-overflow) .splide__pagination { display: flex }
body .splide:not(.is-initialized) .splide__slide:not(:first-child) { display: none }

body .splide {
    display: flex;
    flex-direction: column;
}

body .splide .splide__arrows {
    z-index: 3;
    top: 50%;
    left: 0%;
    right: 0%;
    position: absolute;
}

body .splide .splide__arrows .splide__arrow,
body .splide .splide__arrows .splide__arrow svg {
    width: 4.0rem;
    height: 4.0rem;
    background: transparent;
}

body .splide .splide__pagination {
    order: -2;

    width: var(--theme-wrapper-size);
    height: 0.6rem;
    margin: 0 0 5.4rem;
    padding: 0;

    display: flex;
    position: static;
    justify-content: flex-start;

    border-bottom: 1px solid #D1D1D1;
}

body .splide .splide__pagination li {
    width: auto;
    display: block;
    flex-grow: 1;
    flex-shrink: 1;
}

body .splide .splide__pagination .splide__pagination__page {
    display: block;

    width: 100%;
    height: 0.6rem;
    margin: 0;
    opacity: 1;

    position: relative;
    transform: none;
    background: transparent;
    transition: background 0.3s ease-out;

    border-radius: 0%;
}

body .splide .splide__pagination .splide__pagination__page.is-active {
    background: var(--theme-color-100);
}

body .splide.white-arrows .splide__arrows .splide__arrow svg path {
    fill: white;
}


@media (max-width: 1100px) {
    .lead-medium-bold,
    .lead-medium-regular {
        font-size: 3.2rem;
    }

    .title-small-bold,
    .title-small-regular {
        font-size: 12px;
    }

    .title-medium-bold,
    .title-medium-regular {
        font-size: 1.8rem;
    }

    .title-large-bold,
    .title-large-regular {
        font-size: 2.2rem;
    }

    .padding-small {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .padding-equal {
        padding-top: 6.0rem;
        padding-bottom: 6.0rem;
    }

    .padding-default {
        padding-top: 4.0rem;
        padding-bottom: 7.0rem;
    }


    body .splide .splide__arrows .splide__arrow,
    body .splide .splide__arrows .splide__arrow svg {
        display: none;
    }
}


/** theme site-header **/

.site-header {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 12.0rem;

    background: white;
    transition: height 0.3s ease-out;
    box-shadow: 0 0.2rem 0.4rem rgba(0,0,0, 0.04);
}

.site-header .brand {
    width: 16.5rem;
    display: block;
}

.site-header .toggle {
    width: 5.8rem;
    height: 5.8rem;
    padding: 1.3rem;

    border-style: solid;
    border-width: 1px;
    border-radius: 50%;

    transition: border 0.3s ease-out;
}

.site-header .toggle .line {
    width: 100%;
    height: 2px;
    margin: 0.6rem 0;

    transition: opacity 0.3s ease-out,
                transform 0.3s ease-out,
                background 0.3s ease-out;
}

.site-header .navigation {
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
	overflow-y: auto;

    clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
    transition: clip-path 0.3s ease-out;

    -webkit-pointer-events: none;
            pointer-events: none;
}

.site-header .navigation .links li,
.site-header .navigation .social li {
    opacity: 0;
    transform: translateY(20%);
    transition: opacity 0.3s ease-out,
                transform 0.3s ease-out;
}

.site-header .navigation .links li a svg { display: none }

.site-header .navigation .links { margin: 4rem 0 8rem }
.site-header .navigation .links li:not(:first-child) { margin: 6.5rem 0 0 }

.site-header .navigation .social {
    left: 0;
    right: 0;
    bottom: 7.5rem;
}

.site-header .navigation .social li { margin: 0 1.6rem }
.site-header .navigation .social li svg { width: 3.2rem }

.site-header .navigation .scroller {
	margin: auto;
	padding-bottom: 4rem;
}

@media (max-width: 1100px) {
    .site-header .navigation .links li:not(:first-child) { margin: 3.5rem 0 0 }
}


/** theme site-header menu-visible **/

body.menu-visible .site-header .toggle .line { background: var(--theme-color-000) }

body.menu-visible .site-header .toggle .line:nth-child(2) { opacity: 0 }
body.menu-visible .site-header .toggle .line:nth-child(1) { transform: translateY(calc(0.6rem + 2px)) rotate(45deg) }
body.menu-visible .site-header .toggle .line:nth-child(3) { transform: translateY(calc(-0.6rem - 2px)) rotate(-45deg) }

body:not(.menu-visible) .site-header .toggle {
    border-color: transparent;
}

body.menu-visible .site-header .navigation {
    -webkit-pointer-events: auto;
            pointer-events: auto;

    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

body.menu-visible .site-header .navigation .links li,
body.menu-visible .site-header .navigation .social li {
    opacity: 1;
    transform: translateY(0%);
}

body.menu-visible .site-header .navigation .links li:nth-child(1) { transition-delay: 0.05s }
body.menu-visible .site-header .navigation .links li:nth-child(2) { transition-delay: 0.10s }
body.menu-visible .site-header .navigation .links li:nth-child(3) { transition-delay: 0.15s }
body.menu-visible .site-header .navigation .links li:nth-child(4) { transition-delay: 0.20s }
body.menu-visible .site-header .navigation .links li:nth-child(5) { transition-delay: 0.25s }
body.menu-visible .site-header .navigation .links li:nth-child(6) { transition-delay: 0.30s }
body.menu-visible .site-header .navigation .links li:nth-child(7) { transition-delay: 0.35s }
body.menu-visible .site-header .navigation .links li:nth-child(8) { transition-delay: 0.40s }

body.menu-visible .site-header .navigation .social li:nth-child(1) { transition-delay: 0.50s }
body.menu-visible .site-header .navigation .social li:nth-child(2) { transition-delay: 0.55s }
body.menu-visible .site-header .navigation .social li:nth-child(3) { transition-delay: 0.60s }
body.menu-visible .site-header .navigation .social li:nth-child(4) { transition-delay: 0.65s }
body.menu-visible .site-header .navigation .social li:nth-child(5) { transition-delay: 0.70s }


/** theme site-footer **/

.site-footer {
    padding: 8.0rem 0 6.0rem;
}

.site-footer .sep {
    height: 1px;
    margin: 4.5rem 0 4.0rem;
}

.site-footer .brand {
    width: 22.5rem;
}

.site-footer .social li { margin: 0 1.6rem }
.site-footer .social li svg { width: 2.4rem }
.site-footer .social li svg path { fill: var(--theme-color-100) }

.site-footer .links li { margin: 0 2.3rem }

.site-footer .legal {
    margin: 7.5rem 0 0;
}

.site-footer .legal,
.site-footer .legal a {
    color: white;
}

@media (max-width: 1100px) {
    .site-footer .brand {
        margin: 0 0 6rem;
    }

    .site-footer .links li {
        margin: 1.4rem 0;
    }

    .site-footer .legal {
        text-align: center;
    }

    .site-footer .legal div:last-child {
        margin: 1rem 0 0;
    }

    .site-footer .wrapper {
        flex-wrap: wrap;
    }

    .site-footer .wrapper > .flex {
        flex-direction: column;
        justify-content: center;
    }
}


/** theme page-banner **/

.page-banner {
    width: 100%;
    height: 60.0rem;
    margin: 12.0rem 0 0;
    overflow: hidden;
}

.page-banner .image,
.page-banner .shadow {
    inset: 0;
}

.page-banner .shadow { background: rgba(0,0,0, 0.4) }

.page-banner .crumbs {
    color: white;
    margin: 0 0 3.4rem;
}

.page-banner .crumbs li svg {
    width: auto;
    height: 12px;
    margin: 0 1.8rem;
}

@media (max-width: 1100px) {
    .page-banner {
        height: 45rem;
    }

    .page-banner .lead-medium-regular br {
        display: none;
    }
}


.error-message.text {
    color: #990000 !important;
    margin: 0.5rem 0 0 !important;
}

.error-message.success {
    margin: 3rem 0 0 !important;
}

