:root {
    --my-primary: #FC0F1B;
    --footer-color: #1C1C1C;
}

.wrap-loading {width: 100%; height: 100%; top: 0; left: 0; position: fixed; background: rgba(0,0,0,.6) url(../images/loading.svg) center no-repeat; z-index: 10000; display: none;}

main {
    margin-top: 5rem;
}

button {
    border: none;
    outline: none !important;
    cursor: pointer;
}

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

.text-primary {
    color: var(--my-primary) !important;
}

.bg-primary {
    background-color: var(--my-primary) !important;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.appbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 998;
}
.appbar button {
    background: none;
    font-size: 1.7em;
}

footer {
    background-color: var(--footer-color);
}
footer h2 {
    font-family: 'Maven Pro', sans-serif;
    font-size: 3em;
}
footer form .input {
    display: block;
    width: 100%;
    border: none;
    border-bottom: 2px solid white;
    border-radius: 0px;
    padding: 0.5rem 0;
    font-family: 'Open Sans';
    color: white;
    background-color: transparent;
}
footer form .input::-moz-placeholder {
	opacity: 1;
}
footer form .input::-webkit-input-placeholder {
	color: #FFF;
}
footer form .input:focus {
	outline: none;
}
footer form .input option {
	color: #000;
}
footer form .row .input {
    width: 90%;
}
footer form button {
    color: white;
    background-color: var(--my-primary);
    padding: 0.7rem 2rem;
    font-weight: bold;
}
footer address {
    display: block;
    width: fit-content;
    width: -moz-fit-content;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}
footer address a {
    display: block;
    margin: 0;
}
footer address a span {
    display: table-cell;
    width: fit-content;
    padding: 0.5em;
    background-color: var(--my-primary);
    color: white;
    line-height: 1em;
    font-size: 14px;
    text-transform: uppercase;
}

header h1,
section h2 {
    font-family: 'Maven Pro', sans-serif;
    font-size: 4em;
    color: var(--my-primary);
}

#projetos h2 {
    margin-left: 10%;
}
.link-button {
    display: block;
    width: fit-content;
    width: -moz-fit-content;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--my-primary);
    color: white !important;
    padding: 0.7rem 1.5rem;
    font-weight: bold;
}

#somos-red p {
    font-size: 17px;
}

.projetos header {
    background-image: url("../images/bg-projetos.jpg");
    background-size: cover;
}

.banner video,
.banner .item .video-banner { width: 100%; }

#projetos .row img { display: block; width: 100%; height: auto; object-fit: cover; }

#case video {height: 56vw; max-width: 100%; margin: 0 auto; display: block; }
.item-imagem img{width: 100%; height: auto;}

#case.notFound { padding: 50px 100px; }
#case.notFound h1 { color: var(--my-primary); font-size: 2.5em; font-family: 'Maven Pro', sans-serif; margin: 0 0 25px; }
#case.notFound .btn { color: white !important; background-color: var(--my-primary); padding: 0.7rem 2rem; font-weight: bold; }

.imagem-end img{width: 100%; height: auto;}

/* iPhone Duo e tablets (aberto ~670 px, deitado ~950 px). Abaixo de 600 px e acima de 1150 px nada muda. */
@media (min-width: 600px) and (max-width: 767.98px) {
    /* grade de projetos (home e /projetos) em 2 colunas, não 1 esticada */
    main .row.p-0.m-0 > .col-12.col-md-4.p-0 { flex: 0 0 50%; max-width: 50%; }
    /* "últimos projetos" da página do case: são 3, ficam em 3 colunas como no computador */
    #ultimos-projetos .row > .col-12.col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
}
@media (min-width: 768px) and (max-width: 1150px) {
    /* formulário "vamos conversar": com col-md-4 os campos Empresa/Cidade/UF ficavam com ~80 px */
    footer .row > .col-md-4.order-1 { flex: 0 0 50%; max-width: 50%; }
    /* "SOMOS RED" cabe na coluna sem encostar na foto */
    #somos-red h2 { font-size: 3em; }
}
