@import url('https://fonts.googleapis.com/css?family=Titillium+Web:300,400,600,700');
* {
    box-sizing: border-box;
}

::-webkit-input-placeholder {
  color: white;
  opacity: 1;
}
::-moz-placeholder {
  color: white;
  opacity: 1;
}
:-ms-input-placeholder {
  color: white;
  opacity: 1;
}
:-moz-placeholder {
  color: white;
  opacity: 1;
}

body {
    width: 100%;
    font-size: 14px;
    color: rgb(5, 21, 55);
    font-family: 'Titillium Web', sans-serif;
    background-color: white;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

h1 {
    font-weight: 300;
    font-size: 4.5em;
    letter-spacing: .01em;
    color: white;
}

h1.dark-blue {
    color: rgb(5, 21, 55);
}

h4 {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: .07em;
    color: rgb(68, 201, 255);
    margin-bottom: .8em;
}

h4.white {
    color: white;
}

p {
    font-size: 1.05em;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.7em;
}

p::selection {
    background: rgba(99, 194, 227, .5);
}

p::-moz-selection {
    background: rgba(99, 194, 227, .5);
    /* Gecko Browsers */
}

.livt-line {
    margin-top: 2em;
    width: 4em;
    height: .5em;
    background-color: rgb(68, 201, 255);
    border-radius: 1em 0 1em 0;
}

.button {
    margin: 2em 0;
    /*  color: white;*/
    /*  background-color: rgb(5, 21, 55);*/
    border: 2px solid rgb(5, 21, 55);
    border-radius: 0 1em 0 1em;
    padding: 1em 1.5em;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    font-size: .9em;
    transition: all 250ms linear;
}

.button:hover {
    cursor: pointer;
    transition: all 250ms linear;
    color: white;
    background-color: rgb(5, 21, 55);
}

/*nav {
    position: relative;
    width: 100%;
    display: flex;
    z-index: 10;
}*/

.container-menu {
    height: 7.5em;
    width: calc(100% - 220px);
    background-color: rgb(5, 21, 55);
    border-radius: 0 0 3.2em 0;
    padding: 1em 5em 1em 7em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
}

.container-menu .logo {
    width: 150px;
    height: 100%;
    background: url('../img/logo-livt.svg') left top 7px no-repeat;
    background-size: 76%;
}

.container-menu ul {
    padding: 0;
    margin: 0;
}

.container-menu a {
    text-decoration: none;
}

.container-menu ul li {
    color: white;
    display: inline-block;
    list-style: none;
    font-weight: 600;
    padding: 1em 0;
    margin: 0 1.2em;
    font-size: 1.1em;
    letter-spacing: 0.05em;
    position: relative;
    cursor: pointer;
    text-transform: lowercase;

}

li:after {
    content: '';
    height: .3em;
    width: 1.2em;
    border-radius: 4px 0 4px 0;
    background-color: rgb(99, 194, 227);
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(5px);
    transition: all 300ms linear;
}


li:hover::after {
    opacity: 1;
    cursor: pointer;
    visibility: visible;
    transform: translateX(0);
    transition: all 300ms linear;
}

.social-media {
    display: flex;
    height: 5em;
    width: 220px;
    position: absolute;
    right: 0;
    top: 0;
    background-color: white;
    justify-content: space-around;
    align-items: center;
    padding: 0 3em;
}

.social-media img {
    width: 1.6em;
}

.fixed-button-form {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 16px 30px;
    background-color: rgb(240, 105, 53);
    color: white;
    border-radius: 0 20px 0 20px;
    z-index: 99;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .03em;
    font-weight: 600;
    transition: all 250ms linear;
}

.fixed-button-form:hover {
    transition: all 250ms linear;
    border-radius: 20px 0 20px 0;
}

header {
    width: 100%;
    height: calc(100vh - 5em);
    margin-top: 70px;
    background: url('../img/car.jpg') center no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/*header:after {
    content: '';
    width: 100%;
    height: 100%;
    background-image: linear-gradient( 45deg, rgb(5, 21, 55), rgb(76, 200, 243));
    position: absolute;
    mix-blend-mode: multiply;
    opacity: .55;
}*/

.welcome-text {
    position: relative;
    z-index: 1;
    padding: 5em;
    max-width: 850px;
    text-align: left;
}

main {
    display: block;
    position: relative;
}

/*main .service:last-child {
    height: 400px;
    background-color: rgb(5, 21, 55);
    border-radius: 5em 0 5em 0;
    margin-top: -150px;
    position: relative;
    padding: 4em;
    float: right;
}*/


/* service */

#service {
    width: 75vw;
    /*height: 400px;*/
    background-color: rgb(5, 21, 55);
    border-radius: 6em 0 6em 0;
    margin-top: -10em;
    position: relative;
    padding: 5em;
    float: right;
    z-index: 9
}

#service:after {
    content: '';
    width: 25vw;
    height: 260px;
    background-color: rgb(68, 201, 255);
    border-radius: 6em 0 6em 0;
    position: absolute;
    bottom: -260px;
    left: -25vw;
}

.service {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.service a {
    flex: 0 0 calc(100% / 4 - .8em);
}

.service a:hover {
    cursor: pointer;
}
.service .service-item {
    height: 240px;
    padding: 20px;
    border-radius: 1.7em;
    transition: background 300ms linear;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: column;
    font-size: 1.3em;
    font-weight: 600;
    color: white;
    flex: 0 0 calc(100% / 4 - .8em);
}

.service .icon-wrapper {
    height: 60%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-item .legenda {
    margin-top: 20px;
    display: inline-block;
}

.service .service-item:hover {
    background-color: rgba(255, 255, 255, .045);
    transition: background 300ms linear;
}


/* about */
.about-wrapper {
    position: relative;
    display: inline-block;
    /*background-color: red;*/
    margin-top: 15em;
    width: 100%;
}

.text {
    position: absolute;
    max-width: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9;
    padding-left: 7em;
}

.text p {
    font-size: 2em;
    line-height: 1.5em;
}
.about {
    position: relative;
    height: 50em;
    border-radius: 6em 0 6em 0;
    width: 65vw;
    background: rgba(92, 203, 248, .3) url('../../assets/img/beatriz-foto.png') no-repeat;
    background-size: auto 600px;
    background-position: right 10em bottom;
    float: right;
}

.flower {
    content: url('../../assets/img/livt-flower.svg');
    position: absolute;
    left: 20%;
    top: -92px; 
    transition: transform 2s linear;
    /*animation: spin 2s linear;
    animation-direction: alternate;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;*/
}

.flower:hover {
    transform: rotate(360deg);
    transition: transform 2s linear;
}

/*.flower:hover {
    animation: spin 2s;
    animation-direction: alternate;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
}
*/
@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

.about:after {
    content: '';
    width: 280px;
    height: 200px;
    background-color: rgb(68, 201, 255);
    border-radius: 6em 0 6em 0;
    position: absolute;
    right: 0;
    bottom: 0;
}

.extra-padding {
    padding: 5em;
}

footer {
    width: calc(100% - 280px);
    margin-top: -1px;
    background-color: rgb(5, 21, 55);
    border-radius: 6em 0 6em 0;
    position: relative;
    float: left;
    padding: 5em;
}

footer .phone {
    font-size: 25px;
    color: white;
    margin-top: 1em;
}
footer .mail {
    font-size: 16px;
    color: white;
    font-weight: 200;
    margin-top: .8em;
    letter-spacing: .04em;
}

.submitted input:invalid, .submitted select:invalid {
    border-bottom: 2px solid rgba(255, 0, 0, 0.45) !important;
}

.enviada {
    width: 220px;
    height: auto;
    position: absolute;
    color: rgb(68, 201, 255);
    font-size: 14px;
    line-height: 18px;
    text-align: left;
    margin-top: 9px;
    display: none;
    font-weight: 600;
}

.erro {
    width: 220px;
    height: auto;
    position: absolute;
    color: rgba(255, 0, 0, 0.85);
    font-size: 14px;
    line-height: 18px;
    text-align: left;
    margin-top: 9px;
    display: none;
    font-weight: 600;
}


.partners {
    padding: 30px 7em 20px;
    display: inline-flex;
    width: 100%;
    align-content: center;
    flex-direction: column;
}

.partners h4 {
    margin-bottom: 0;
}

.partners .logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.partners .logos img {
    margin-right: 3em;
    zoom: 36%;
}


/* select */ 
select {
    background-color: transparent;
    border: 0;
    border-bottom: 2px solid rgba(255,255,255,.2);
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.08em;
    letter-spacing: .02em;
    font-weight: 600;
    padding: .6em 0;
    color: white;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("../img/select.png");
    background-size: 10px 6px;
    background-position: right 2px center;
    background-origin: content-box;
    background-repeat: no-repeat;
    border-radius: 0;
}

/* input */

input {
    background-color: transparent;
    border: 0;
    font-size: 1.08em;
    letter-spacing: .02em;
    border-bottom: 2px solid rgba(255,255,255,.2);
    font-family: 'Titillium Web', sans-serif;
    font-weight: 600;
    padding: .6em 0;
    color: white;
    width: 100%;
    margin-bottom: .7em;
    transition: border 250ms linear;
    -webkit-appearance: none;
    border-radius: 0;
}

input:hover, select:hover {
    border-bottom: 2px solid rgba(68, 201, 255, .3);
    transition: all 250ms linear;
}

input:focus, select:focus {
    outline: 0;
    border-bottom: 2px solid rgba(68, 201, 255, 1);
    transition: all 250ms linear;
}

form button {
    position: relative;
    margin-top: .7em;
    font-family: 'Titillium Web', sans-serif;
    color: white;
    font-weight: 600;
    font-size: 1.2em;
    text-transform: lowercase;
    letter-spacing: .03em;
    text-align: left;
    width: 100%;
}

button:focus {
    outline: 0;
}

form button:hover {
    cursor: pointer;
}

form button:after {
    content: '⟶';
    position: absolute;
    color: rgb(68, 201, 255);
    margin-left: 10px;
    transition: transform 300ms ease;
}

form button:hover::after {
    transition: transform 300ms ease;
    transform: translateX(15px);
}


@media (max-width: 1280px) {
    h1 {
    font-weight: 300;
    font-size: 3.4em;
    letter-spacing: .01em;
    color: white;
}

.welcome-text {
    max-width: 750px;
}

#service {
    margin-top: -5em;
}

    main .service:after {
        height: 200px;
        bottom: -200px;
    }

    .about-wrapper {
    margin-top: 16em;
}
    .text {
        max-width: 50%;
    }

footer {
    padding: 5em 3.5em;
}
    form .columns:nth-child(1), form .columns:nth-child(2), form .columns:nth-child(3), form .columns:nth-child(4) {
        width: 50%;
    }

    .partners {
        padding: 30px 4.8em 20px;
    }
}

@media (max-width: 1024px) {
    footer a {
        color: white;
        text-decoration: none;
    }

    .about-wrapper {
    margin-top: 20em;
}

.text {
    position: absolute;
    max-width: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9;
}

.text p {
    font-size: 1.9em;
    line-height: 1.5em;
}
.about {
    height: 40em;
    border-radius: 5em 0 5em 0;
    background: rgba(92, 203, 248, .3) url('../../assets/img/beatriz-foto.png') no-repeat;
    background-size: auto 500px;
    background-position: right 4em bottom;
}

.about:after {
    width: 200px;
    height: 140px;
    border-radius: 5em 0 5em 0;
}


    footer {
        width: calc(100% - 200px);
        border-radius: 5em 0 5em 0;
        padding: 4em 1em;
        
    }
    .cotacao {
        margin-top: 4em;
    }

    .partners {
        padding: 30px 3em 20px;
    }
}

@media (max-width: 840px) {

    h1 {
        font-size: 2.5em;
    }
.container-menu {
    height: 6.8em;
    padding: 1em 0 1em 2em;
    width: calc(100% - 160px);
}
.container-menu .logo {
    background-size: 70%;
}
    .container-menu ul {
    display: none;
}

.social-media {
    width: 160px;
    padding: 0 2em;
}

.welcome-text {
    position: relative;
    z-index: 1;
    padding: 1em;
    max-width: 1000px;
    text-align: left;
}


#service {
    width: 100vw;
    padding: 3em 1em 1em;
    border-radius: 4em 0 4em 0;
}

.service {
    flex-wrap: wrap;
    margin-top: 3em;
}
.service-item {
    margin-bottom: 2em;
}

.service .service-item:hover {
    background-color: transparent;
}
.service a {
    flex: 0 0 calc(100% / 2 - .8em);
    display: flex;
    flex-direction: column;
    }


    .about-wrapper {
    margin-top: 5em;
}


.about {
    width: 85vw;
    height: 40em;
    border-radius: 5em 0 0 0;
    background: rgba(92, 203, 248, .3) url(../../assets/img/beatriz-foto.png) no-repeat;
    background-size: auto 450px;
    background-position: right -3em bottom;
    /*overflow: hidden;*/
}

.about:after {
    width: 100px;
    height: 120px;
    border-radius: 4em 0 0 0;
    right: 0;
}

.flower {
    content: url(../../assets/img/livt-flower.svg);
    position: absolute;
    left: 30%;
    top: -58px;
    transition: transform 2s linear;
    width: 110px;
}

    .text {
    position: relative;
    max-width: 100%;
    z-index: 9;
    padding-left: 2em;
    padding-right: 2em;
    top: initial;
    transform: none;
        margin-bottom: 6em;

}

.text p {
    font-size: 1.5em;
}

footer {
    border-radius: 4em 0 4em 0;
}

footer .mail {
    margin-bottom: 3em;
}

}





@media (max-width: 640px) {
    h1 {
        font-size: 2em;
    }

    .livt-line {
        display: none;
    }

    #service {
    width: 100vw;
    padding: 3em 1em 2em;
    margin-top: 0;
    border-radius: 0;
    }

   .service-item .legenda {
       margin-top: 2em;
   }

    #residencial .icon-wrapper img {
        width: 55%;
    }

    #empresarial .icon-wrapper img {
        width: 55%;
    }

    #automovel .icon-wrapper img {
        width: 68%;
    }

    #vida .icon-wrapper img {
        width: 50%;
    }
    
    .about {
    width: 85vw;
    height: 35em;
    border-radius: 5em 0 5em 0;
    background: rgba(92, 203, 248, .3) url(../../assets/img/beatriz-foto.png) no-repeat;
    background-size: auto 400px;
    background-position: right -2.2em bottom;
}
    footer {
        width: 100%;
        margin-top: -1px;
        background-color: rgb(5, 21, 55);
        border-radius: 4em 0 0 0;
        position: relative;
        float: left;
        padding: 4em 0em;
    }

    .fixed-button-form {
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 0;
        text-align: center;
        padding: 14px 20px;
    }

    .fixed-button-whats {
        border-radius: 50%;
        width: 54px;
        height: 54px;
        position: fixed;
        padding: 13px;
        bottom: 20px;
        left: 20px;
        background-color: #25D366;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999;
        transition: all 350ms;
    }

    .fixed-button-whats:hover {
        transform: scale(1.05);
        transition: all 350ms;
    }



@media (max-width: 640px) {

.fixed-button-whats {
        bottom: 30px;
        left: initial;
        right: 10px;
    }
}

    .partners {
        padding: 30px 0 100px;
    }

    .partners h4 {
        padding: 0 2em;
        margin-bottom: 1em;
    }

    .logos {
        flex-wrap: nowrap !important;
        overflow: hidden;
        overflow-x: auto;
        padding-left: 2em;
        padding-bottom: 1em;
        -webkit-overflow-scrolling: touch;
    }
    .partners .logos img {
        zoom: 38%;
    }

#motivo {
        margin-bottom: .7em;
}
    form .columns:nth-child(1), form .columns:nth-child(2), form .columns:nth-child(3), form .columns:nth-child(4) {
        width: 100%;
    }
}