

/*Estrutura*/

section[data-section="contato_acesso"] {
    background-image: url(https://imagens.gimba.com.br/Images/InstitucionalPortal/img/bg_contato.png);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    z-index: 0;
}

section[data-section="contato_acesso"]::before{
content: '';
    background: #0000009c;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
}

section[data-section="contato_formulario"] {
    background-image: url(https://imagens.gimba.com.br/Images/InstitucionalPortal/img/bg_contato.png);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: top;
    min-height: 130vh;
    z-index: 0;
    background-size: cover;
}

section[data-section="contato_formulario"]::before{
content: '';
    background: #0000009c;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
}


/* Tela inicial de seleção */
        #initial-screen {
            max-width: 800px;
            width: 100%;
            background: rgb(0 0 0 / 25%);
            backdrop-filter: blur(10px);
            border-radius: 1.5rem;
            padding: 60px 50px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
            text-align: center;
            z-index: 2;
        }

        #initial-screen h2 {
            font-size: 28px;
            font-weight: 700;
            color: white;
        }

        #initial-screen .subtitle {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.7);
            font-weight: 500;
            width: 540px;
            margin: 14px auto 30px auto;
            line-height: 31px;
        }

        #initial-screen select {
    width: 100%;
    max-width: 750px;
    padding: 15px 25px;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    background-color: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
        }

        #initial-screen select:focus {
            outline: none;
            border-color: white;
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
            background-color: white;
        }

        .hidden {
            display: none !important;
        }

        /* Bloco de texto introdutório */
        .intro-header {
            max-width: 880px;
            width: 100%;
            background-color: #ffffff;
            color: #4b5563;
            padding: 1.5rem 1.8rem;
            border-radius: 1rem 1rem 0 0;
            text-align: right;
            margin-bottom: 0;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            z-index: 10;
            border-bottom: none;
        }

        .intro-header div {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .intro-header h2 {
            font-weight: 800;
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            color: #4B5563;
            display: flex;
            align-items: center;
            justify-content: flex-end;
        }

        .intro-header p {
            font-weight: 400;
            font-size: 0.8rem;
            line-height: 1.4;
            opacity: 0.8;
            margin: 0;
        }

/* Formulario */

.FormContatoCorp{
  z-index: 2;
  background: rgb(0 0 0 / 25%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  padding: 60px 50px;
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  max-width: 1279px;
  width: 98%;
  margin: 160px 0 40px 0;
}

.FormContatoCorp .ChamadaSecao {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    text-align: center;
    color: #ffffff;
}

.FormContatoCorp .ChamadaSecao h1 {
    font-size: 35px;
    font-weight: bold;
}

.FormContatoCorp .ChamadaSecao h4 {
    width: 42%;
    font-size: 17px;
    line-height: 26px;
    margin: 10px auto;
}


.FormContatoCorp .PcFormCadastro {
    position: relative;
    width: 1050px;
    margin: 30px auto 0 auto;
    color: #ffffff;
}

.FormContatoCorp .formstel {
    display: flex;
    flex-wrap: wrap;
}

.FormContatoCorp .form_line {
    margin: 10px 0px;
    line-height: 19px;
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.FormContatoCorp .form_line .boxes {
    display: inline-block;
}

.FormContatoCorp .form_line .obrigatorio {
    font-size: 10px;
    color: #75C123;
}

.FormContatoCorp .campsinput {
    border: 1px solid #7a7a7a;
    border-radius: 5px;
    width: 100%;
    transition: all 400ms;
    background: #e9e9e9;
    height: 47px;
    padding: 0 8px;
    font-weight: bold;
    margin-top: 0px;
    font-size: 14px;
}

.FormContatoCorp .formstel:nth-child(1) .form_line:nth-child(2).CampoCentral {
    margin: 10px 0 0 10px;
}

.FormContatoCorp .CampoCnpj {
    width: 300px;
    color: #333738;
    font-weight: 400;
}

.FormContatoCorp .CampoRazao {
    width: 510px;
    color: #333738;
    font-weight: 400;
}

.FormContatoCorp .CampoFuncionario {
    width: 200px;
    color: #333738;
    font-weight: 400;
}

.FormContatoCorp .CampoRazao {
    width: 740px;
}

.FormContatoCorp .CampoFuncionario {
    width: 520px;
}

.FormContatoCorp .CampoUnidades {
    margin: 10px 0 0 10px;
}

.FormContatoCorp .CampoFuncionario {
    width: 520px;
}

.FormContatoCorp .CampoNome {
    width: 265px;
}

.FormContatoCorp .CampoNome {
    color: #333738;
    font-weight: 400;
}

.FormContatoCorp .CampoCentral {
    margin: 10px 10px;
}

.FormContatoCorp .CampoEmail {
    width: 265px !important;
}

.FormContatoCorp .CampoEmail {
    width: 410px;
    color: #333738;
    font-weight: 400;
}

.FormContatoCorp .CampoZap {
    width: 120px;
}

.FormContatoCorp .CampoZap {
    width: 140px;
    color: #333738;
    font-weight: 400;
}

.FormContatoCorp .SerChamado {
    margin: 10px 0 0 10px;
    width: 290px;
    display: flex;
    justify-content: flex-end;
}

.FormContatoCorp .SerChamado .boxes {
    text-align: right;
}

.FormContatoCorp .SerChamado .Checks {
    height: 47px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 12px;
    justify-content: end;
}

.FormContatoCorp .SerChamado .Checks label {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.FormContatoCorp .SerChamado .Checks input[type=checkbox] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #e1e1e1;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), accent-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    padding: 0;
}

.FormContatoCorp .FormTxtArea {
    width: 100%;
    display: block;
}

.FormContatoCorp .TextAreaCadastro {
    border: 1px solid #7a7a7a;
    border-radius: 5px;
    width: 100%;
    transition: all 400ms;
    background: #e9e9e9;
    height: 75px;
    padding: 0 8px;
    font-weight: normal;
    margin-top: 5px;
    font-size: 14px;
    padding: 10px;
}

.FormContatoCorp .CampoContagemCaracteres.sku {
    display: flex;
    justify-content: end;
    margin: 10px 0 0 0;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
}

.FormContatoCorp .PcLeiGeralAceite {
    border: 1px solid #cccccc;
    border-radius: 5px;
    width: 100%;
    transition: all 400ms;
    background: #ffffff;
    height: 120px;
    padding: 0 8px;
    font-weight: normal;
    font-size: 13px;
    margin-top: 0px;
    overflow: auto;
    color: #333738;
    margin: 10px 0;
}

.FormContatoCorp .Privacidade, .FormContatoCorp .Privacidade h2, .FormContatoCorp .Privacidade h3, .FormContatoCorp .Privacidade p, .FormContatoCorp .Privacidade strong, .FormContatoCorp .Privacidade ul {
    font-size: 15px;
    text-align: justify;
    line-height: 26px;
}

.FormContatoCorp .Privacidade {
    padding: 30px;
    color: #8d8d8d;
}

.FormContatoCorp .Privacidade h2, .FormContatoCorp .Privacidade h3, .FormContatoCorp .Privacidade strong {
    font-weight: 700;
}

.FormContatoCorp .button-primary {
    background: #75C123;
    color: #ffffff;
}

.FormContatoCorp .button {
    border-radius: 5px;
    border: 2px solid transparent;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    padding: 15px 30px;
    text-align: center;
    -webkit-transition: all 400ms;
    -moz-transition: all 400ms;
    transition: all 400ms;
}

.FormContatoCorp .button-primary:hover {
    background: #a71e26;
}

.FormContatoCorp .bte {
    float: right;
    cursor: pointer;
}

/* Modal de Sucesso */
.modal-sucesso {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-sucesso.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-sucesso-content {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 50px 60px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
    position: relative;
}

.modal-sucesso-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
}

.modal-sucesso-icon svg {
    width: 100%;
    height: 100%;
}

.modal-sucesso-icon circle {
    stroke: #75C123;
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.modal-sucesso-icon path {
    stroke: #75C123;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

.modal-sucesso-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: #191919;
    margin-bottom: 15px;
}

.modal-sucesso-content p {
    font-size: 16px;
    color: #666666;
    line-height: 24px;
    margin-bottom: 30px;
}

.btn-fechar-modal {
    background: #D42631;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-fechar-modal:hover {
    background: #a71e26;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 38, 49, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

/* Modal de Privacidade */
.modal-privacidade {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.modal-privacidade.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-privacidade-content {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 50px 60px;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
    position: relative;
    margin: 20px;
}

.close-privacy-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 35px;
    font-weight: 300;
    color: #666666;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-privacy-modal:hover {
    color: #D42631;
}

.modal-privacidade-content .Privacidade {
    padding: 0;
    color: #666666;
    font-size: 15px;
    line-height: 25px;
}

.modal-privacidade-content .Privacidade *:not(h2):not(h3):not(strong):not(a) {
    font-size: 15px;
    color: #666666;
    text-align: justify;
    line-height: 26px;
    font-weight: 400;
}

.modal-privacidade-content .Privacidade br + text,
.modal-privacidade-content .Privacidade > text {
    font-size: 15px;
    color: #666666;
    line-height: 26px;
}

.modal-privacidade-content .Privacidade h2 {
    font-size: 24px;
    color: #191919;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 0;
}

.modal-privacidade-content .Privacidade h3 {
    font-size: 16px;
    color: #191919;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-privacidade-content .Privacidade strong {
    font-weight: 700;
    color: #191919;
}

.modal-privacidade-content .Privacidade p {
    margin-bottom: 15px;
}

.modal-privacidade-content .Privacidade ul {
    margin: 10px 0;
    padding-left: 25px;
}

.modal-privacidade-content .Privacidade li {
    margin-bottom: 8px;
}

.modal-privacidade-content .Privacidade a {
    color: #D42631;
    text-decoration: underline;
    font-weight: 600;
}

.AceitePrivacidade {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.AceitePrivacidade input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #75C123;
    cursor: pointer;
}

.AceitePrivacidade label {
    font-size: 14px;
    color: #ffffff;
    cursor: pointer;
    margin: 0;
}

.AceitePrivacidade a {
    color: #75C123;
    text-decoration: underline;
    font-weight: 600;
}

.AceitePrivacidade a:hover {
    color: #ffffff;
}


/* Botões flutuantes */
body:has(section[data-section="contato_acesso"]) button.contato,
body:has(section[data-section="contato_acesso"]) button.back-to-top {
    display: none;
}

body:has(section[data-section="contato_formulario"]) button.contato,
body:has(section[data-section="contato_formulario"]) button.back-to-top {
    display: none;
}

button.contato,
button.back-to-top {
    position: fixed;
    background: #D42631;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    z-index: 999;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

button.contato {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

button.back-to-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

button.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

button.contato {
    right: 30px;
    bottom: 30px;
    padding: 15px 25px;
    height: 60px;
    font-size: 18px;
    justify-content: center;
    transition: right 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

button.contato.shift-left {
    right: 100px;
}

button.contato.hidden {
    opacity: 0;
    visibility: hidden;
}

button.back-to-top {
    right: 30px;    
    bottom: 30px;
    width: 60px;
    height: 60px;
    padding: 0;
    justify-content: center;
}

button.contato img {
    width: 30px;
    height: 30px;
}

button.back-to-top img {
    width: 30px;
    height: auto;
    transform: rotate(-90deg);
}

/*
button.contato:hover,
button.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 38, 49, 0.4);
    background: #D42631;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 38, 49, 0.4);
    animation: pulse 2s infinite;
}*/