/* ***************************************
FONTS
****************************************** */
@font-face {
    font-family: 'PantonRegular';
    src: url('../fonts/go-branding/PantonRegular.otf');
    src: url('../fonts/go-branding/PantonRegular.otf') format('opentype');
  }
@font-face {
    font-family: 'PantonBold';
    src: url('../fonts/go-branding/PantonBold.otf');
    src: url('../fonts/go-branding/PantonBold.otf')  format('opentype');
}
@font-face {
    font-family: 'PantonBoldItalic';
    src: url('../fonts/go-branding/PantonBoldItalic.otf');
    src: url('../fonts/go-branding/PantonBoldItalic.otf')  format('opentype');
}
@font-face {
    font-family: 'PantonLight';
    src: url('../fonts/go-branding/PantonLight.otf');
    src: url('../fonts/go-branding/PantonLight.otf')  format('opentype');
}
@font-face {
    font-family: 'PantonItalic';
    src: url('../fonts/go-branding/PantonItalic.otf');
    src: url('../fonts/go-branding/PantonItalic.otf')  format('opentype');
}
@font-face {
    font-family: 'PantonLightItalic';
    src: url('../fonts/go-branding/PantonLightItalic.otf');
    src: url('../fonts/go-branding/PantonLightItalic.otf')  format('opentype');
}
.font-panton-regular {
    font-family: PantonRegular, "sans-serif";
}
.font-panton-bold {
    font-family: PantonBold, "sans-serif";
}
.font-panton-bold-italic {
    font-family: PantonBoldItalic, "sans-serif";
}
.font-panton-light {
    font-family: PantonLight, "sans-serif";
}
.font-panton-italic {
    font-family: PantonItalic, "sans-serif";
}
.font-panton-light-italic {
    font-family: PantonLightItalic, "sans-serif";
    letter-spacing: 0.5px;
}

/* ***************************************
VARIABLES
****************************************** */
:root {
    --red: #e40017;
    --black: #000;
    --text-danger: #e50216;
    --text-disable: #dfdfdf;
    --gray: #343134;
    --gray-light: #f2f2f2;
    --green: #00B571;
    --yellow: #ffb946;
    --yellow-light: #FFF26C;
    --purple: #893ab1;
    --pink: #d0318c;
    --lime: #c8f26c;
    --green-dark: #00773c;
    --azul-marinho: #01052D;
}

/* ***************************************
GENERAL
****************************************** */
body {
    font-family: PantonRegular, sans-serif;
}
.text-justify {
    text-align: justify!;
}
.btn-lime {
    background-color: var(--lime);
    color: var(--green-dark);
}
.btn-lime:hover {
    color: #005a2d;
}
.text-lime {
    color: var(--lime);
}
.text-yellow-light {
    color: var(--yellow-light);
}
h4.title {
    font-size: 2.5em;
}
h5.title {
    font-size: 1.7em;
}
.text-underline {
    text-decoration: underline !important;
}
.text-bold {
    font-weight: bold;
}
.rounded-7 {
    border-radius: .7rem;
}
.line-h100 {
    line-height: 100%;
}
.border-w2 {
    border-width: 2px !important;
}
.fw-bold {
    font-weight: bold;
}
.fs-07 {
    font-size: 0.7em;
}
.titulo {
    font-size: 1.7em;
}
.text-amarelo-claro {
    color: var(--yellow-light);
}
.titulo-banner {
    font-size: 8rem;
    line-height: 8rem;
}
.subtitulo-banner {
    font-size: 4rem;
    line-height: 4rem;
}
@media (max-width: 520px) {
    .titulo-banner {
        font-size: 4rem;
        line-height: 4rem;
    }
    .subtitulo-banner {
        font-size: 2rem;
        line-height: 2rem;
    }
}

/* ***************************************
HEADER
****************************************** */
#header {
    background: var(--azul-marinho);
}
#header nav .nav-link {
    color: var(--white);
    padding: .0rem 1.5rem;
    font-size: 1.1em;
    font-weight: bold;
}
#header nav .nav-link.disabled {
    color: var(--text-disable);
}
#header nav .nav-item {
    line-height: 2em;
    display: inherit;
}
#header nav .nav-item::after {
    content: "";
    color: #fff;
}
#header nav .nav-item:last-child::after {
    content: "";
}
#header nav .nav-item.active a {
    color: var(--yellow-light);
}
#header nav i {
    font-size: 2em;
}
#header .navbar-toggler {
    padding: .2rem 0.3rem;
    font-size: .6rem;
}
#header .navbar-toggler div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    border-radius: 5px;
}
#header .logo img {
    width: 70px;
    height: 70px;
}
@media (max-width: 520px) {
    #header nav .nav-item::after {
        content: "";
    }
    #header .logo img {
        width: 50px;
        height: 50px;
    }
}
@media (min-width: 1024px) and (max-width: 1365px) {
    #header nav .nav-link {
        color: var(--white);
        padding: .0rem 0.4rem;
        font-size: 1em;
        font-weight: bold;
    }
}

/* ***************************************
FOOTER
****************************************** */
#footer {
    background-color: var(--gray);
    color: var(--white);
    font-size: 16px;
}
#footer i {
    color: var(--green);
    font-size: 1.1em;
}
#footer .logo {
    max-height: 80px;
}

/* ***************************************
BANNER
****************************************** */
#banner {
    background: rgb(94 23 168);
    background: linear-gradient(90deg, rgba(199,78,116,1) 0%, rgb(93 24 164) 100%);
    height: 690px;
    position: relative;
    z-index: 1;
}
#banner:before {
    display: block;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* HOME */
#banner.home:before {
    background: transparent url('/site/img/layout/banner-home.webp') left top no-repeat;
    background-size: cover;
}
#banner.home img {
    width: calc(100vw / 4);
}

/* SOBRE */
#banner.sobre:before {
    background: transparent url('/site/img/layout/banner-sobre.webp') left top no-repeat;
    background-size: cover;
}
#banner.sobre img {
    width: calc(100vw / 9);
    margin-top: -30%;
    margin-right: -11%;
}

/* SEGURO RESIDENCIAL */
#banner.residencial:before {
    background: transparent url('/site/img/layout/banner-seguro-residencial.webp') left top no-repeat;
    background-size: cover;
}
#banner.residencial img {
    width: calc(100vw / 9);
    margin-top: -14%;
    margin-right: -6%;
}

/* SEGURO VIDA */
#banner.vida:before {
    background: transparent url('/site/img/layout/banner-seguro-vida.webp') left top no-repeat;
    background-size: cover;
}
#banner.vida img {
    width: calc(100vw / 9);
    margin-top: -24%;
    margin-right: -10%;
}

/* SEGURO AUTO */
#banner.auto:before {
    background: transparent url('/site/img/layout/banner-seguro-auto.webp') left top no-repeat;
    background-size: cover;
}
#banner.auto img {
    width: calc(100vw / 9);
    margin-top: -15%;
    margin-right: 0;
}
#banner.auto.cliente img {
    width: calc(100vw / 9);
    margin-top: -15%;
    margin-right: 0%;
}
@media (max-width: 520px) {
    #banner {
        height: 400px;
    }
    #banner.home img {
        width: calc(100vw / 1.6);
    }
    #banner.sobre img {
        width: calc(100vw / 4);
    }
    #banner.residencial img {
        width: calc(100vw / 4);
    }
    #banner.vida img {
        width: calc(100vw / 4);
    }
    #banner.auto img {
        width: calc(100vw / 4);
    }
}

/* ***************************************
POR QUE ESCOLHER?
****************************************** */
#porque-escolher {
    background: linear-gradient(0deg, rgba(254, 213, 53, 1) 0%, rgba(238, 57, 104, 1) 100%);
    font-size: 1.1em;
}
#porque-escolher h3 {
    font-size: 3em;
}
#porque-escolher .icon-porque {
    width: 100px;
    height: 100px;
    margin: auto;
}
#porque-escolher .icon-porque img {
    max-height: 100px;
}
#porque-escolher .list-group-item {
    background-color: transparent;
    border: 0 none;
}
@media (min-width: 1024px) {
    #porque-escolher .list-group-1 li {
        width: 20%;
        padding: 0;
        margin: 0;
    }
    #porque-escolher .list-group-2 li {
        width: 33%;
        padding: 0;
        margin: 0;
    }
    #porque-escolher .list-group-2 li.item-sorteios {
        width: 25%;
    }
}

/* **************************************************************
QUEM SOMOS / SEGURO VIDA/ SUPORTE TÉCNICO / ORIENTAÇÃO SAÚDE
************************************************************** */
#quem-somos {
    background-color: #A41890;
    position: relative;
    z-index: 1;
}
#quem-somos:after {
    content: "";
    background: transparent url('../img/layout/marca-da-agua.svg') center top no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: opacity(0.1);
    mix-blend-mode: multiply;
}
#seguro-vida,
#assistencia-auto,
#suporte-tecnico,
#orientacao-saude,
#seguro-auto {
    background: rgb(88,65,207);
    background: linear-gradient(0deg, rgba(88,65,207,1) 0%, rgba(124,24,127,1) 100%);
}
#quem-somos,
#seguro-vida,
#assistencia-auto,
#suporte-tecnico,
#orientacao-saude {
    color: var(--white);
    font-size: 1.1em;
    position: relative;
}
#seguro-auto {
    color: var(--white);
    font-size: 1.1em;
    position: initial;
}
#quem-somos .floating-image,
#seguro-vida .floating-image,
#assistencia-auto .floating-image,
#suporte-tecnico .floating-image,
#orientacao-saude .floating-image,
#seguro-auto .floating-image {
    position: relative;
}
#quem-somos .floating-image img,
#seguro-vida .floating-image img,
#assistencia-auto .floating-image img,
#suporte-tecnico .floating-image img,
#orientacao-saude .floating-image img,
#seguro-auto .floating-image img {
    position: absolute;
    text-align: right;
    top: -6rem;
    right: 0;
    max-width: 50%;
}

/* ***************************************
FORM
****************************************** */
form input.form-control,
form textarea.form-control,
form select.form-control {
    background-color: var(--gray-light);
    border-radius: 0;
    border: 0 none;
}
form .custom-file-label {
    background-color: var(--gray-light);
    border: 0 none;
    border-radius: 0;
}
form .custom-file-label:before {
    content: "\F0339";
    font-family: "Material Design Icons";
}
form .error-message {
    color: var(--text-danger);
}
form button.form-control {
    background-color: var(--red);
    color: var(--white);
}

/* ***************************************
IMG ROBÔ, POSSO AJUDAR?
****************************************** */
.section-posso-ajudar {
    color: var(--white);
    font-size: 1.1em;
    position: relative;
}
.img-posso-ajudar {
    margin: -9em 0;
    padding: 1em 15px;
    max-width: 100%;
    transition-duration: 1s;
}
.img-posso-ajudar.active {
    opacity: 0.5;
}
@media (max-width: 480px) {
    .img-posso-ajudar {
        margin-top: 0;
    }
}

/* ***************************************
FLASH MESSAGE
****************************************** */
.content-flash-message {
    position: fixed;
    width: 500px;
    max-width: 100%;
    top: 5%;
    left: 50%;
    padding: 0 15px;
    transform: translateY(-50%) translateX(-50%);
    z-index: 9;
}
.content-flash-message .message {
    position: relative;
    padding: 0.75rem 1rem;
    border: 1px solid transparent;
    border-radius: 4px;
}
.content-flash-message .message.hidden {
    display: none;
}
.content-flash-message .message.success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.content-flash-message .message.error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* ***************************************
CUSTOM CARD
****************************************** */
.content-card {
    background-color: transparent;
}

@media (min-width: 768px) {
    .content-card {
        max-width: 360px;
    }
}

.content-icons-xs i {
    width: 23px;
    font-size: 16px;
}
