/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

button {
    cursor: pointer;
}

b, strong {
    font-weight: 700;
}

/* CUSTOM CSS */

:root {
    --blue-800:#072C50;
    --blue-500:#43679F;
    --blue-300:#799DD7;
    --blue-100:#D8E9FF;
    --orange-800:#F24405;
    --orange-500:#F56E3D;
    --orange-300:#FFAF95;
    --orange-100:#FEECE7;
    --black-1000:#000000;
    --black-900:#171717;
    --black-800:#242424;
    --black-500:#3F4140;
    --black-300:#545655;
    --white-0:#FFFFFF;
    --white-100:#F5F5F5;
    --white-300:#E6E6E6;
    --white-500:#D6D6D6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font: 400 1rem "Roboto", sans-serif;
    background-color: var(--white-0);
    color: var(--blue-800);
}


a {
    color: inherit;
    text-decoration: none;
}

.orange-link {
    color: var(--orange-500);
    text-decoration: underline;
}

.orange-link:hover {
    color: var(--orange-800);
}

h1 {
    font-size: 2.75rem;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
    font-weight: 700;
}

h4 {
    font-size: 1.25rem;
}

p {
    font-size: 1rem;
    line-height: 125%;
}

small {
    font-size: 0.875rem;
}

img {
    max-width: 100%;
}

/* HEADER */

.shadow-head {
    -moz-box-shadow: rgba(0, 0, 0, 0.04) 0px 4px 4px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.04) 0px 4px 4px;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 4px 4px;
}

.main-header {
    width: 100%;
    padding: 1.5rem 0;
    background-color: var(--white-0);

    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    transition: all 0.2s;
}

.logged-in .main-header {
    margin-top: 1.5rem;
}

.main-header nav{
    max-width: 1120px;
    padding:0 1rem;
    margin:0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header nav li {
    display: inline-block;
    padding:0 1rem;
}

.main-header nav li a {
    color: var(--blue-800);
    font-weight: 700;
    transition: color 0.2s;
}

.main-header nav li a:hover {
    color: var(--blue-500);
}

.main-header nav li:last-child a {
    color: var(--orange-800);
}

.main-header nav li:last-child a:hover {
    color: var(--orange-800);
}

.menu-toggle {
    text-transform: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;

    position: absolute;
    top: 1.5rem;
    right: 1rem;

    width: 36px;
    height: 36px;

    cursor: pointer;
    display: none;
}

.toggle-one, .toggle-two, .toggle-three {
    background-color: var(--blue-800);
    height: 4px;
    width: 100%;
    margin: 0 auto 8px auto;
    border-radius: 2px;

    transition-duration: 0.2s;
}

.toggle-three {
    margin-bottom: 0;
}

.mobile-on .toggle-one {
    transform: rotate(45deg) translate(0px, 5px)
}

.mobile-on .toggle-two {
    display: none;
}

.mobile-on .toggle-three {
    transform: rotate(-45deg) translate(3px, -10px)
}

/* HERO CONTENT */
.hero-content {
    width: 100%;
    max-width: 1120px;
    margin: 80px auto 0 auto;
    padding:4rem 1rem;

    display: flex;
    align-content: space-between;
    align-items: center;
}

.hero-content > * {
    flex-grow: 1;
    flex-basis: 0;
}

.hero-content h1 {
    font-family: "Jost", sans-serif;
    font-weight: 300;
    font-size: 2.25rem;
    line-height: 120%;
}

.hero-content h2 {
    font-size: 1.25rem;
    padding: 2rem 0;
    font-weight: 300;
}


.cta-content a { 
    color: var(--orange-800);
    display: inline-block;
    padding:1rem 1.5rem;
    transition: all 0.2s;
}

.cta-content a:hover {
    text-decoration: underline;
}

.cta-button {
    display: inline-block;
    padding:1.25rem 2rem !important;
    font-weight: 700;
    background-color: var(--orange-800);
    color: var(--white-0) !important;
    border-radius: 2rem;

    -moz-box-shadow: rgba(0, 0, 0, 0.04) 0px 4px 4px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.04) 0px 4px 4px;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 4px 4px;
}

.cta-button:hover {
    text-decoration: none !important;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.hero-content aside {
    padding-left: 4rem;
}

/* BLOG */
.blog-header h1{ 
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.blog-header p {
    font-size: 1.75rem;
    font-weight: 300;
}

.blog-articles {
    max-width: 1120px;
    padding: 1rem 1rem;
    margin: 0 auto;
    text-align: center;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.suggestion {
    max-width: 1120px;
    padding: 4rem 0;
    margin: 0 auto;
    text-align: left;
}

.suggestion .blog-articles {
    padding:2rem 0;
}

.article {
    text-align: left;
    padding:1rem;
    border-radius: 1rem;
    border:1px solid var(--white-300);
    display: inline-block;

    transition: all 0.2s;
}

.article h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.article h3 {
    font-size: 1rem;
    font-weight: 300;
    line-height: 150%;
}

.article:hover{
    border-color: var(--blue-500);
    -moz-box-shadow: rgba(0, 0, 0, 0.04) 0px 4px 4px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.04) 0px 4px 4px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 4px;
}

.article-image {
    height: 150px;
    width: 100%;
    border-radius: 0.5rem;
    margin-bottom: 1rem;

    background-image: url("../images/thumb.png");
    background-position: center;
    background-size: cover;
}

.action {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    margin:4rem 0;
}

.action a {
    padding:1rem;
    border-radius: 1rem;
    border:1px solid var(--white-300);
    display: inline-block;

    transition: all 0.2s;
}

.action a:hover {
    color: var(--orange-800);
    border-color: var(--orange-800);
    -moz-box-shadow: rgba(0, 0, 0, 0.04) 0px 4px 4px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.04) 0px 4px 4px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 4px;
}


.blog-container {
    width: 100%;
    max-width: 800px;
    margin: 150px auto 80px auto;
    padding:1rem;
    text-align: center;
    color: var(--black-900);
}

.blog-container h1 {
    font-size: 3rem;
    font-weight: 700;
    text-align: left;
    margin: 0 0 1.5rem 0;
}

.blog-container h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 1rem 0;
    text-align: left;
}

.blog-container .image-container {
    margin:3rem 0;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
}

.blog-container .image-container img {
    max-width: 100%;
    border-radius: 1rem;
}

.blog-container .text-container {
    width: 100%;
    text-align: left;
    margin:1rem 0;
}

.blog-container p {
    font-size: 1.25rem;
    padding:0 0 1rem 0;
    margin:0;
    line-height: 150%;
}

.blog-container strong {
    font-weight: 700;
}

.blog-container em {
    font-style: italic;
}

.blog-container a {
    color: var(--orange-500);
    text-decoration: underline;
}

.blog-container a:hover {
    color: var(--orange-800);
}

.link-to-article {
    color: var(--orange-800);
    display: block;
    margin-top: 1rem;
}

/* TEXT EDITOR BLOG */
.text-container sub {
    vertical-align: sub;
    font-size: small;
}

.text-container sup {
    vertical-align: super;
    font-size: small;
}

.text-container ul {
    list-style-type: disc;
    list-style-position: inside;
}

.text-container ol {
    list-style-type: decimal;
    list-style-position: inside;
}

.text-container h1, .text-container h2, .text-container h3, .text-container h4, .text-container h5 {
    margin:1.5rem 0 0.5rem 0;
}

.text-container h1 {
    font-size: 3rem;
}

.text-container h2 {
    font-size: 2rem;
}

.text-container h3 {
    font-size: 1.75rem;
}

.text-container h4 {
    font-size: 1.5rem;
}

.text-container h5{
    font-size: 1.25rem;
}

.text-container blockquote, .text-container q {
    quotes: inherit;
    display: block;
    border-left: 4px solid var(--blue-500);
    padding: 1rem 2rem;
    margin:1rem 0;
}

.text-container blockquote {
    font-style: italic;
}

.wp-block-pullquote blockquote {
    background-color: var(--orange-100);
    border-left: 4px solid var(--orange-800);
}

.text-container pre {
    background: #333;
    white-space: pre;
    word-wrap: break-word;
    overflow: auto;
    color: var(--blue-100);
}

.text-container pre {
    margin: 20px 25px;
    border-radius: 4px;
    border: 1px solid #292929;
    position: relative;
    padding:0.5rem;
}

.text-container pre label {
    font-family: sans-serif;
    font-weight: bold;
    font-size: 13px;
    color: #ddd;
    position: absolute;
    left: 1px;
    top: 15px;
    text-align: center;
    width: 60px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

.text-container pre code {
    font-family: "Inconsolata","Monaco","Consolas","Andale Mono","Bitstream Vera Sans Mono","Courier New",Courier,monospace;
    display: block;
    margin: 0 0 0 60px;
    padding: 15px 16px 14px;
    border-left: 1px solid #555;
    overflow-x: auto;
    font-size: 13px;
    line-height: 19px;
    color: var(--blue-100);
}

.text-container figcaption {
    font-size: 0.75rem;
    font-style: italic;
    color: var(--black-300);
    text-align: center;
    padding: 0.5rem 0;
}

.text-container cite {
    color: var(--black-300);
}

.wp-block-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.text-container table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 2px;
    border-color: grey;
}

.text-container table td {
    line-height: 1.4;
    padding-top: 16px;
    padding-bottom: 16px;
    color: #1e1e1e;
    padding-left:1.5em;
}

.text-container table tr, .text-container table thead {
    border-bottom: 1px solid var(--white-300);
}

.text-container table tr:nth-child(even){
    background-color: var(--white-100);
}

.text-container table thead{
    font-weight:bold;
    background-color: var(--blue-500);
    
}

.text-container table td {
    line-height: 1.4;
    padding-top: 16px;
    padding-bottom: 16px;
    color: #1e1e1e;
    padding-left:1.5em;
}

.text-container table thead td{
    color: var(--blue-100);
}


.text-container hr {
    margin:1rem 0;
}

/* CLIENTES COM QUEM JA TRABALHOU */
.alternative-section {
    background-color: var(--blue-100);
    padding:3rem 0;
    text-align: center;
}

.alternative-section ul {
    display: block;
    margin-top: 2rem;
}

.alternative-section ul li {
    padding:1rem;
    display: inline-block;
}

/* SERVIÇOS */
.services {
    max-width: 1120px;
    padding:4rem 1rem;
    margin: 0 auto;
    text-align: center;
}

.service-description {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    margin: 5rem 0;
}

.service-description > * {
    flex-grow: 1;
    flex-basis: 0;
}

.service-description:nth-child(even) {
    flex-direction: row-reverse;
}

.service-description h3 {
    font-size: 2.25rem;
}

.service-description p {
    font-size: 1.25rem;
    margin-top: 2rem;
}

.service-description .content, .service-description .image {
    padding:1rem;
}

.grid-list {
    width: 100%;
    margin: 5rem 0;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.grid-list li {
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: var(--white-100);
    text-align: left;

    display: flex;
    flex-direction: column;
}

.service-list li {
    background-color: var(--white-0);
}

.service-list li h2 {
    font-weight: 700;
}

.company-description {
    padding:1rem 0;
}

.cta-company {
    margin:auto 0 0 0;
    text-align: right;
}

.cta-company a {
    padding:1rem 0;
    color: var(--orange-800);
}

.cta-company a:hover {
    filter: brightness(70%);
}

.company-image img {
    max-width: 100%;
}

/* CONTATO */
.page-container {
    width: 100%;
    max-width: 800px;
    margin: 200px auto 80px auto;
    padding:1rem;
    text-align: center;
}

.page-container h1 {
    font-size: 3.5rem;
}

.page-container h2 {
    font-size: 1.75rem;
    font-weight: 300;
    margin: 1rem 0;
}

.page-container form {
    width: 100%;
    margin-top: 4rem;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    grid-auto-flow: dense;
}

.page-container form .input {
    position: relative;
    margin-bottom: 1rem;
    text-align: left;
}

.full-form {
    grid-column-end: span 2;
}

.page-container form input, textarea, button {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;

    width: 100%;
    padding: 1rem;

    border: 1px solid var(--white-500);
    border-radius: 0.25rem;
}

.page-container button {
    background-color: var(--blue-500);
    border:0;
    color: var(--white-0);
    font-weight: 700;
    padding:1.25rem 0;
    font-size: 1rem;

    transition: all 0.2s;
}

.page-container button:hover{
    background-color: var(--blue-800);
}

.page-container input ~ .input-name, .page-container textarea ~ .input-name {
    position: absolute;
    top: 0.65rem;
    left: 1rem;
    font-size: 1rem;
    color: var(--black-300);
    background-color: var(--white-0);
    padding:0.35rem;

    transition: 0.1s;
}

.page-container textarea {
    height: 120px;
}

.page-container input:focus,
.page-container textarea:focus {
    border-color: var(--blue-500);
}

.page-container input:focus ~ .input-name, 
.page-container input:valid ~ .input-name,
.page-container textarea:focus ~ .input-name,
.page-container textarea:valid ~ .input-name {
    transform: translateY(-1.75rem);
    color: var(--blue-500);
    font-size: 0.85rem;
}

/* PAGE CONTAINER */
.text-container {
    width: 100%;
    text-align: left;
    margin: 5rem 0 0 0;
}

.text-container figure {
    margin: 1.5rem 0;
}

.text-container h2 {
    font-weight: 700;
    margin:0 0 0.5rem 0;
}

.text-container p, .text-container li {
    font-size: 1.25rem;
    line-height: 175%;
}

.text-container li {
    padding:0.5rem 0;
}

.text-container li img {
    margin-right: 0.5rem;
}

.box-card {
    width: 100%;
    padding:2rem; 
    background-color: var(--white-100); 
    border-radius: 4px;
    margin-bottom: 2rem;
}

/* FOOTER */
footer {
    max-width: 1120px;
    margin: 0 auto;
    border-top: 1px solid var(--blue-100);
    padding: 4rem 1rem;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

footer b {
    display: inline-block;
    margin-bottom: 0.5rem;
}

footer .company-info p {
    margin-top: 0.5rem;
}

footer .more-information {
    display: flex;
    line-height: 150%;
}

footer .more-information div:first-child {
    padding-right: 4rem;
}

/* REPONSIVE */

@media (max-width: 1080px) {
    html {
        font-size: 93.75%;
    }

    .blog-articles {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .hero-content {
        display: block;
        text-align: center;
    }

    .hero-content aside {
        padding-left: 0;
        margin-top: 4rem;
    }    

    .cta-content {
        display: block;
    }

    .cta-content a {
        display: inline-block;
    }

    .cta-button {
        margin-right: 1rem;
    }

}

@media (max-width: 720px) {
    html {
        font-size: 87.5%;
    }


    .service-description {
        display: block;
        margin: 3rem 0;
    }

    .service-description .image {
        text-align: center;
        max-width: 320px;
        margin:0 auto;
    }

    .mobile-on ul {
        position: absolute;
        background-color: var(--white-0);
        width: 100%;
        padding:2rem;
        margin-top: 89px;
        top: 0;
        left: 0;
    
        -moz-box-shadow: rgba(0, 0, 0, 0.04) 0px 4px 4px;
        -webkit-box-shadow: rgba(0, 0, 0, 0.04) 0px 4px 4px;
        box-shadow: rgba(0, 0, 0, 0.04) 0px 4px 4px;
    }
    
    .mobile-on ul li {
        display: block;
        font-size: 1.25rem;
        padding:1rem 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu-links ul {
        display: none;
    }

    .mobile-on ul {
        display: block;
    }

    .page-container form .input {
        grid-column-end: span 2;
        margin-bottom: 0.1rem;
    }

    .page-container {
        margin: 120px auto 80px auto;
    }

    .grid-list li {
        grid-column-end: span 2;
    }
    
    .blog-articles {
        grid-template-columns: 1fr;
    }

    footer {
        display: block;
        text-align: center;
    }
    
    footer .more-information {
        display: block;
        margin-top: 2rem;
    }

    footer .more-information div, footer .more-information div:first-child {
        padding: 0;
        margin: 0;
    }
    
    footer b {
        margin-top: 1rem;
    }

}