@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-50:  #eff6ff;
    --primary-100: #c4ddfe;
    --primary-200: #91c1fe;
    --primary-300: #5fa4fd;
    --primary-400: #2c88fd;
    --primary-500: #036cf3;
    --primary-600: #0256c1;
    --primary-700: #023f8e;
    --primary-800: #01295c;
    --primary-900: #00132a;
    --primary: var(--primary-800);

    --secondary: #0c3eb9;
    --tertiary:  #15244f;
    --quaternary: #a3abbe;

    --white:    #fff;
    --gray-100: #eee;
    --gray-200: #ddd;
    --gray-300: #ccc;
    --gray-400: #bbb;
    --gray-500: #999;
    --gray-600: #777;
    --gray-700: #555;
    --gray-800: #333;
    --gray-900: #111;
    --gray:     var(--gray-700);
    --black:    #000;

    --danger:  #c52233;
    --success: #00795A;
    --warning: #B35F00;

    --border-radius: 8px;
    --box-shadow:    0 0 15px 5px rgba(0, 0, 0, .05);
}

body {
    background: linear-gradient(to bottom, #001357, #000a25);
    font-family: "Montserrat", sans-serif;
}
.container {
    padding-top: 10rem;
    padding-bottom: 10rem;
}
header {
    border-top: 1px solid var(--primary-700);
    border-bottom: 1px solid var(--primary-700);
    margin-top: 1rem;
    position: relative;
    & .container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    & nav {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        & h1,
        & > a {
            flex-basis: auto;
            flex-grow: 0;
        }
        & h1 {
            margin-right: auto;
            & a {
                background-image: url(/wp-content/themes/obatala-theme/images/logo-completo.svg);
                background-repeat: no-repeat;
                background-size: contain;
                display: block;
                height: 40px;
                text-indent: -9000px;
                width: 300px;
            }
        }
        & > a {
            background-color: transparent;
            border-radius: var(--border-radius);
            border: 0 none;
            color: var(--white);
            font-weight: 600;
            padding: .75rem 2rem;
            text-decoration: none;
            &:hover {
                background-color: var(--secondary);
            }
        }
    }
}
section {
    h2 {
        color: var(--white);
        font-size: 3rem;
        font-weight: 300;
        max-width: 600px;
        strong {
            font-weight: 700;
        }
    }
    p.description {
        color: var(--quaternary);
        font-size: 1.4rem;
        font-weight: 400;
        margin-top: 1rem;
        max-width: 600px;
    }
}
section.sobre {
    & .container {
        padding-top: 15rem;
    }
    & .logo {
        background-image: url(/wp-content/themes/obatala-theme/images/logo.svg);
        background-position: 0 91%;
        background-repeat: no-repeat;
        background-size: contain;
        display: block;
        height: 100px;
        text-indent: -9000px;
        width: 510px;
    }
    & .site-description {
        color: var(--gray-200);
        font-size: 1.35rem;
        margin-top: 2rem;
        max-width: 510px;
    }
    & .site-presentation {
        background-color: var(--secondary);
        color: var(--white);
        float: right;
        font-size: 1.2rem;
        line-height: 1.5em;
        max-width: 400px;
        padding: 4rem;
        position: relative;
        & .icone {
            border: 3px solid var(--white);
            border-radius: 50%;
            font-size: 2rem;
            margin-bottom: 2rem;
            padding: .7rem;
        }
        &::before {
            content: "";
            background-color: var(--tertiary);
            height: 100%;
            position: absolute;
            top: 2rem;
            right: -2rem;
            width: 100%;
            z-index: -1;
        }
    }
    & .flex-item {
        flex-basis: 510px;
        flex-grow: 1;
    }
}
section.por-que {
    & .por-que-container {
        gap: 4rem;
        & .por-que-image {
            flex-basis: 40%;
            & .print-01 {
                position: relative;
                left: 10rem;
                width: calc(100% - 10rem);
                img {
                    width: 100%;
                }
                &::before {
                    content: "";
                    background-color: var(--secondary);
                    height: 100%;
                    position: absolute;
                    top: -2rem;
                    left: -2rem;
                    width: 100%;
                    z-index: -1;
                }
            }
            & .print-02 {
                border: 30px solid var(--gray-300);
                margin-top: -2rem;
                position: relative;
                width: calc(100% - 2rem);
                img {
                    width: 100%;
                }
                &::before {
                    content: "o";
                    color: var(--secondary);
                    font-size: 30rem;
                    font-weight: 500;
                    position: absolute;
                    top: -27rem;
                    left: -2rem;
                    z-index: -1;
                }
            }
        }
        & .por-que-content {
            flex-basis: 100px;
            flex-grow: 1;
        }
    }
}
section.funcionalidades {
    & .funcionalidades-container {
        gap: 4rem;
        & .funcionalidades-content {
            flex-basis: 100px;
            flex-grow: 1;
        }
        & .funcionalidades-image {
            align-self: flex-end;
            flex-basis: 60%;
            & .print-03 {
                position: relative;
                img {
                    width: 100%;
                }
                &::before {
                    content: "";
                    background-color: var(--secondary);
                    height: 100%;
                    position: absolute;
                    bottom: -2rem;
                    right: -2rem;
                    width: 100%;
                    z-index: -1;
                }
            }
        }
    }
}
section.banners {
    background-color: var(--secondary);
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    justify-content: center;
    padding: 3rem 5rem;
    & a {
        height: 80px;
        img {
            filter: grayscale(1) brightness(900%) invert(0);
            height: 100%;
        }
        &.sm {
            height: 60px;
        }
    }
}
footer {
    background-color: var(--primary-900);
    color: var(--white);
    & .container {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    & h2 {
        color: var(--secondary);
        font-size: 1.3rem;
        font-weight: 900;
    }
    & .description {
        color: var(--quaternary);
        max-width: 400px;
    }
}
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    & .card-item {
        background-color: var(--white);
        border: 0 none;
        border-radius: var(--border-radius) var(--border-radius) 0 0;
        color: var(--primary);
        display: flex;
        align-items: center;
        flex-basis: 360px;
        flex-grow: 1;
        flex-wrap: wrap;
        gap: .5rem 2rem;
        justify-content: space-between;
        padding: 2rem;
        position: relative;
        &::after {
            content: "";
            background-color: var(--primary-200);
            height: 2px;
            position: absolute;
            left: 0;
            bottom: -.55rem;
            width: 100%;
        }
        & h2 {
            flex-basis: 380px;
        }
        & .table-responsive {
            flex-basis: 100px;
            flex-grow: 1;
        }
        &.flex-basis-100 {
            flex-basis: 100%;
        }
        &.primary-100 {
            background-color: var(--primary-100);
        }
        &.primary-800 {
            background-color: var(--primary-800);
            color: var(--white);
            & h2 {
                color: var(--white);
            }
        }
    }
    &.duo {
        gap: 1rem;
        & .card-item:first-child {
            border-radius: var(--border-radius) var(--border-radius) 0 0;
            position: relative;
        }
        & .card-item:last-child {
            border-radius: 0 0 var(--border-radius) var(--border-radius);
            &::after {
                display: none;
            }
        }
    }
}
.contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    list-style: none;
    & > li {
        color: var(--white);
        display: flex;
        align-items: center;
        flex-basis: 100%;
        flex-grow: 1;
        flex-wrap: wrap;
        font-size: 1.25rem;
        font-weight: 500;
        gap: 0 1rem;
        & a {
            flex-basis: 100%;
            padding-left: 3rem;
        }
        & small {
            color: var(--quaternary);
            flex-basis: 100%;
            padding-left: 3rem;
        }
        & .icone {
            border-radius: 50%;
            color: var(--quaternary);
            font-size: 2rem;
        }
    }
}
.concept-list {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 4rem;
    margin-bottom: 0;
    & > div {
        display: flex;
        flex-flow: column;
        & dt {
            color: var(--white);
            display: flex;
            align-items: center;
            gap: 2rem;
            font-size: 1.5rem;
            font-weight: 500;
            line-height: 1.2em;
            & .icone {
                background-color: var(--white);
                border-radius: 50%;
                color: var(--secondary);
                font-size: 2rem;
                padding: 1rem;
            }
        }
        & dd {
            color: var(--quaternary);
            line-height: 1.4em;
            margin-top: auto;
            margin-bottom: 0;
            padding-left: 6rem;
        }
    }
}
.features-list {
    list-style: none;
    padding-left: 0;
    & li {
        color: var(--primary-400);
        font-size: 1.35rem;
        font-weight: 800;
        padding: 1.5rem 0 .5rem;
        position: relative;
        &:after {
            content: "";
            background-color: var(--primary-200);
            height: 1px;
            position: absolute;
            left: 0;
            bottom: 0;
            width: calc(100% + 4rem);
        }
    }
 }
.target-audience-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    list-style: none;
    & > li {
        background-color: var(--tertiary);
        color: var(--white);
        display: flex;
        align-items: center;
        flex-basis: 40%;
        flex-grow: 1;
        font-size: 1.25rem;
        font-weight: 500;
        gap: 2rem;
        padding: 2rem;
        &:first-child {
            background-color: var(--secondary);
        }
        & .icone {
            background-color: var(--white);
            border-radius: 50%;
            color: var(--secondary);
            font-size: 2rem;
            padding: 1rem;
        }
    }
}
.table {
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--primary-200);
    & thead th {
        color: var(--primary-600);
        font-weight: 300;
    }
}

@media screen and (max-width: 1400px) {
    .features-list {
        & li {
            &:after {
                width: 100%;
            }
        }
    }
}
@media screen and (max-width: 1200px) {
    .container {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
    header nav > a {
        display: none;
    }
}
@media screen and (max-width: 991px) { 
    section.sobre {
        & .site-presentation {
            max-width: 100%;
        }
    }
    section.funcionalidades {
        & .funcionalidades-container {
            & .funcionalidades-image {
                flex-basis: 100%;
            }
        }
    }
}
@media screen and (max-width: 768px) { 
    .container {
        padding: 4rem 2rem !important;
    }
    section h2 {
        font-size: 1.75rem;
    }
    section.sobre {
        margin-top: 0;
        & .logo {
            width: 100%;
        }
    }
    .concept-list {
        gap: 1rem;
        & > div {
            &:nth-child(odd) {
                margin-top: 0;
                margin-bottom: 0;
            }
        }
    }
}
