* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--primary-color);
    color: var(--terciary-color);
}

:root {
    --primary-color: #090410;
    --secondary-color: #2700FF;
    --terciary-color: #FFFFFF;
    --text-color: #090410;
    --backgrund-color-gray: #F5F5F5;
    --font-size-h1: clamp(1.8rem, 4vw, 3rem);
    --line-height-h1: clamp(2.5rem, 4vw, 3.8rem);
    --font-size-h2-atenction: clamp(1.15rem, 4vw, 1.25rem);
    --line-heigth-h2-atenction: clamp(1.8rem, 4vw, 2.3rem);
    --font-size-h3-atenction: clamp(1.7rem, 4vw, 1.5rem);
    --line-heigth-h3-atenction: clamp(1.7rem, 4vw, 2.5rem);
    --font-size-h2: clamp(1.5rem, 2.5vw, 2.5rem);
    --line-heigth-h2: clamp(2rem, 4vw, 3rem);
    --font-size-h3: clamp(1.375rem, 2.5vw, 1.5rem);
    --line-heigth-h3: clamp(2rem, 4vw, 2.5rem);
    --font-size-h4: clamp(1.25rem, 4vw, 1.5rem);
    --font-size-title: clamp(1.625rem, 4vw, 2.2rem);
    --line-heigth-title: clamp(2.2rem, 4vw, 2.5rem);
    --font-size-p: clamp(1rem, 3vw, 1.125rem);
    --line-heigth-p: clamp(1.7rem, 4vw, 2rem);
    --font-size-a: clamp(1rem, 3vw, 1.125rem);
    --line-heigth-a: clamp(1.7rem, 4vw, 2rem);
    --font-size-btn-header: clamp(0.625rem, 4vw, 1.125rem);
    --padding-btn-atenction: clamp(12px, 2vw, 15px);
    --padding-btn-header: clamp(.45rem, 2vw, .90rem);
    --font-size-btn-banners: clamp(1rem, 2.5vw, 1.25rem);
    --font-size-btn-form: clamp(1.15rem, 2.5vw, 1.25rem);
} 

section {
    width: 100%;
    height: 100%;
}

footer {
    width: 100%;
    height: 100%;
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
p,
a,
strong,
button,
img {
    margin: 0;
    padding: 0;
}

h2 {
    font-size: var(--font-size-h2);
    line-height: var(--line-heigth-h2);
}

h3 {
    margin-top: 1rem;
    font-size: var(--font-size-h3);
    line-height: var(--line-heigth-h3);
}

h4 {
    color: var(--terciary-color);
    font-size: var(--font-size-h4);
    margin-top: 1rem;
}

p {
    margin-top: 1rem;
    line-height: var(--line-heigth-p);
    font-size: var(--font-size-p);
    font-weight: bold;
}

strong {
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: var(--terciary-color);
    font-size: var(--font-size-a);
    color: var(--terciary-color);
    font-weight: bold;
    cursor: pointer;
}

ul {
    list-style-type: none;
}

li {
    margin-top: 1rem;
    font-size: var(--font-size-p);
    line-height: var(--line-heigth-p);
    display: flex;
    align-items: initial;
    font-weight: bold;
}

button {
    border: none;
    cursor: pointer;
    background: transparent;
}

img {
    border: none;
}

.desktop {
    display: none;
}

.container {
    width: auto;
    max-width: 1280px;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 0 20px;
    margin: auto;
    display: flex;
    box-sizing: border-box;
    justify-content: space-between;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1000;
    background-color: var(--primary-color);
    box-shadow: 0px 4px 10px var(--secondary-color);
}

header .container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: nowrap;
    flex-direction: row;
}

header .logo {
    width: 60%;
}

header .logo img {
    width: 95%;
    max-width: 300px;
    height: auto;
    margin-top: 1.4rem;
    margin-bottom: 1rem;
}

header .btn-vendas {
    width: 30%;
    background-color: var(--secondary-color);
    padding: var(--padding-btn-header);
    color: var(--terciary-color);
    font-size: var(--font-size-btn-header);
    font-family: var(--font-family-primary);
    border-radius: 0.2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    text-align: center;
     box-shadow: 0px 4px 10px var(--secondary-color);
}

/* Estado inicial: invisível e deslocado para baixo */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}

/* Estado final: visível e na posição original */
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.atenction {
        width: 100%;
        height: 100vh;
        display: flex;
        background-image: url('../imagens/img-main-mobile.webp');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        background-attachment: fixed;
        justify-content: start;
        align-items: center;
        box-sizing: border-box;
 }

.atenction h1 {
    font-size: var(--font-size-h1);
    line-height: var(--line-height-h1);
    color: var(--terciary-color);
    margin-top: 40%;
}

.atenction h2 {
    font-size: var(--font-size-h2-atenction);
    color: var(--terciary-color);
    line-height: var(--line-heigth-h2-atenction);
    margin-top: 2rem;
    max-width: 90%;
}

.atenction .btn {
    background-color: var(--secondary-color);
    padding: 0.7rem 2rem;
    display: inline-block;
    margin-top: 2rem;
    text-align: center;
    border-radius: 0.4rem;
    box-shadow: 0 4px 10px var(--secondary-color);
    margin-bottom: 5rem;
}

.services h2 {
    margin-top: 2rem;
}

.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    border: solid 0.2rem var(--secondary-color);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 4px 10px 1px var(--secondary-color);
    background-color: var(--primary-color);
}

.btn {
    background-color: var(--secondary-color);
    padding: 0.7rem 2rem;
    display: inline-block;
    text-align: center;
    border-radius: 0.4rem;
    margin-top: 1rem;
    box-shadow: 0 4px 10px var(--secondary-color);
}

.beneficios .slides-container {
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    box-sizing: border-box;
}

.beneficios h2 {
    margin-top: 5rem;
    padding: 0 20px;
}

.slides-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 2rem;
    position: relative;
    box-sizing: border-box;
    padding: 0 20px;
    margin: auto;
    scrollbar-width: none; /* Firefox */
}

.slides-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.slide {
    width: 90%;
    flex: 0 0 auto;
    border: solid 0.2rem var(--secondary-color);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 4px 10px 1px var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 2rem;
    box-sizing: border-box; 
}

.prev, 
.next {
    display: none;
}

.beneficios h3 {
    margin-top: -1rem;
}

.icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: top ;
  margin-top: 0.3rem;
}

#call-to-action .content {
    background-color: var(--primary-color);
    padding: 1rem;
    color: var(--terciary-color);
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-radius: 1.25rem;
    border: solid 0.2rem var(--secondary-color);
    box-shadow: 0px 4px 10px var(--secondary-color);
}

#contatoSite,
#btnVendaSite {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Espaçamento entre os elementos */
    margin-top: 2rem;
}

#call-to-action h3 {
    font-size: 1.15rem;
    line-height: 1.8rem;
    max-width: 80%;
} 

label {
    font-weight: bold;
}

input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid var(--quaternary-color);
    border-radius: 5px;
    box-sizing: border-box;
    font-family: var(--font-family);
}

form .checkbox-container {
    width: auto;
    display: flex;
    margin: 0 auto;
    padding: 0 0;
    box-sizing: border-box;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px;
}

form .checkbox-container .aceite {
    width: 5%;
    display: flex;
    margin-top: 0.15rem;
}

form .checkbox-container label a {
    font-size: 0.85rem;
    text-decoration: underline;
}

form .checkbox-container .texto-aceite {
    width: 92%;
}

.aceite input[type="checkbox"] {
    width: 15px; /* Largura do checkbox */
    height: 15px; /* Altura do checkbox */
    cursor: pointer; /* Adiciona um cursor de ponteiro ao passar sobre o checkbox */
}

.texto-aceite {
    font-size: 0.85rem;
    color: var(--terciary-colo);
}

#contatoSite button,
#btnVendaSite button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    font-family: var(--font-family);
    color:var(--terciary-color);
    background-color: var(--secondary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    align-self: center; /* Centraliza o botão */
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    box-shadow: 0px 4px 10px var(--secondary-color);
}

footer {
    background-color: var(--primary-color);
    border-top: solid 1rem var(--secondary-color);
}

.container-social {
    width: auto;
    max-width: 1180px;
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: space-between;
    gap: 5px;
}

footer .logo img {
    width: 80%;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

footer .container-wrapper {
    width: auto;
    max-width: 1180px;
    display: flex;
    flex-direction: column;
    border-top: solid .1rem var(--terciary-color);
    border-bottom: solid .1rem var(--terciary-color);
    margin: 0 20px;
    padding: 1rem 0;
    justify-content: space-between;
    box-sizing: border-box;
}

footer .endereco h4 {
    margin-top: 0;
}

footer address {
    font-style: normal;
}

.contato a {
    font-weight: normal;
    margin-top: 0;
    font-size: 1rem;
}

footer p {
    color: var(--terciary-color);
    font-size: 1rem;
    font-weight: normal;
}

footer .legal a {
    display: inline-block;
    font-size: 1rem;
    font-weight: normal;
}

footer .container-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
}

footer .copy {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

footer .copy p {
    font-size: clamp(.60rem, 3vw, 1rem);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    color: var(--terciary-color);
    padding: 20px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, .1);
    z-index: 1000;
}

.cookie-banner .container-cookie {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.cookie-banner .container-cookie p {
    color: var(--terciary-color);
    font-size: clamp(0.70rem, 3vw, 0.85rem);
    line-height: 1rem;
    margin: 0;
    padding: 0;
}

.cookie-banner a {
    color: var(--terciary-color);
    font-size: clamp(0.70rem, 3vw, 0.85rem);
    text-decoration: underline;
    line-height: clamp(1rem, 3vw, 1.2rem);
    margin: 0;
    padding: 0;
}

.cookie-banner button {
    padding: 10px 20px;
    font-size: var(--footer-a);
    font-weight: bold;
    font-family: var(--font-family);
    color: var(--secondary-color);
    background-color: var(--terciary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.cookie-banner {
    display: none;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-color); 
    color: var(--terciary-color);
    z-index: 1000;
    opacity: 1;
    display: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow: auto;
}

.close-popup,
.popup-form .close-popup {
    text-align: right;
    margin-top: 1rem;
}

.popup-form .close-popup {
    margin-top: 0;
    margin-bottom: 1rem;
}

.close-popup button,
.popup-form .close-popup button {
    color: var(--terciary-color);
    font-family: var(--font-family-primary);
}

.popup h2 {
    margin-top: 2rem;
    font-size: 1.8rem;
    line-height: 2.2rem;
}

.popup h3 {
    width: 80%;
    font-size: 1.15rem;
    line-height: 1.8rem;
}

#btnVendaSite button {
    margin-bottom: 5rem;
}

.popup-ebook .container,
.popup-form .container {
    align-items: center;
    justify-content: center;
}

.popup-form {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-color); 
    color: var(--terciary-color);
    display: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.button {
    padding: 10px 20px;
    font-size: 16px;
    display: block;
    font-weight: bold;
    text-align: center;
    font-family: var(--font-family);
    color:var(--terciary-color);
    background-color: var(--secondary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    align-self: center; /* Centraliza o botão */
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

@media screen and (min-width:744px) {

    .atenction {
        width: 100%;
        height: 100vh;
        display: flex;
        background-image: url('../images/img-main-tablet.webp');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        background-attachment: fixed;
        justify-content: center;
        align-items: center;
        box-sizing: border-box
    }

    .atenction h1 {
        width: 60%;
    }

    .atenction h2 {
        width: 60%
    }

    .cards {
        grid-template-columns: 1fr 1fr;
    }

    footer .logo img {
        width: 100%
    }

    footer .container-wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        box-sizing: border-box
    }

    footer .endereco {
        width: 28%
    }

    footer .solutions {
        width: 28%
    }

    footer .contato {
        width: 28%
    }

    footer .solutions h4 {
        margin-top: 0
    }

    footer .contato h4 {
        margin-top: 0
    }

    footer .legal {
        width: 48%
    }

    .popup,
    .popup-form {
        background-color: rgba(0, 0, 0, 0.8); /* Fundo semitransparente */
    }

    .popup .content,
    .popup-form .content {
        background-color: var(--primary-color);
        margin: 0 auto;
        padding: 2rem;
        display: flex;
        flex-direction: column;
        width: 500px;
        margin-top: 2rem;
        margin-bottom: 2rem;
        border-radius: 1.25rem;
    }

    #pop-up .close-popup {
        margin-top: 0;
    }

    #pop-up h2 {
        margin-top: 1rem;
    }

    #btnVendaSite button {
        margin-bottom: 0;
    }

}

@media screen and (min-width:1280px) {
    
    .container {
        width: 1180px;
        padding: 0;
    }

    header .container {
        width: 1180px;
        padding: 0;
    }

    header .btn-vendas {
        width: 12%;
    }

    .atenction {
        width: 100%;
        height: 100vh;
        display: flex;
        background-image: url('../imagens/img-main-desktop.webp');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        background-attachment: fixed;
        justify-content: center;
        align-items: center;
        box-sizing: border-box
    }

    .atenction h1 {
        margin-top: 20%;
        width: 70%;
    }

    .atenction h2 {
        width: 50%
    }

    .services h2 {
        margin-top: 2rem;
    }

    .cards {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .beneficios h2 {
        padding: 0 85px;
    }

    .slides-wrapper {
        padding: 0 85px;
    }

    .slide {
        width: 31.2%;
    }

    .icon {
        width: 24px;
        height: 24px;
    }

    .prev, 
    .next {
        display: block;
        cursor: pointer;
        position: absolute;
        top: 60%;
        transform: translateY(-50%);
        padding: 1rem;
        color: var(--terciary-color);
        font-weight: bold;
        font-size: 18px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        z-index: 10;
        color: var(--backgrund-color-gray);
        border-radius: 3rem;
    }

    .prev:hover, 
    .next:hover {
         background-color: var(--backgrund-color-gray);
         color: var(--primary-color);
    }

    .prev {
        left: 20px;
    }

    .next {
        right: 50px;
    }

    .sobre .card {
        display: flex;
        margin-top: 4rem;
    }

    .sobre .text {
        width: 50%;
    }

    .sobre .desktop {
        width: 100;
        height: 100%;
        display: flex;
    }

    #call-to-action .container {
        flex-direction: row;
        border: solid 0.3rem var(--secondary-color);
        margin-top: 4rem;
        margin-bottom: 4rem;
        border-radius: 1.25rem;
        box-shadow: 0px 4px 10px var(--secondary-color);
    }
    
    #call-to-action .content {
        flex: 1;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-left: none;
        padding: 2rem;
        border: none;
        box-shadow: none;
    }

    #call-to-action button{
        margin-bottom: 0;
    }

    #call-to-action .desktop {
        width: 38%;
        display: flex;
        padding: 0;
        flex-shrink: 0;
        justify-content: center;
        border: none;
    }

    #call-to-action .desktop img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
        border-top-left-radius: 1rem;
        border-bottom-left-radius: 1rem;
        border-right: none;
    }

    footer .container-social {
        width: 1180px;
        padding: 0;
    }

    footer .logo img {
        width: 100%;
        margin-top: 2rem;
        margin-bottom: 2rem
    }

    .linkedin img,
    .instagram img,
    .facebook img,
    .share img {
        width: 32px;
        height: 32px
    }

    footer .container-wrapper {
        width: 1180px;
        margin: 0 auto;
    }

    footer .endereco {
        width: 22%;
    }

    footer .solutions {
        width: 24%
    }

    .solutions p {
        cursor: pointer;
    }

    footer .contato {
        width: 20%
    }

    footer .legal {
        width: 20%
    }

    footer h4 {
        margin-top: 0
    }

    .solutions p:hover, 
    .legal a:hover {
        text-decoration-line: underline;    
        text-decoration-color: var(--secondary-color);
    }
}