*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body{
    min-height: 300vh;
    color: var(--black);
    background-color: var(--black);
    overflow-x: hidden;

    --main: #006598;
    --white: #E6F7FF;
    --black: #00090d;
    --black75: #00090dbf;
    --sec50: #005680;
    --sec25: #002A40;
    --sec10: #00111a;
    --link: #0090D9;
}

/*ScrollBar*/

::-webkit-scrollbar {
    width: .25rem;
}

::-webkit-scrollbar-track {
    background-color: var(--black);
    padding: 0.25rem;
}

::-webkit-scrollbar-thumb {
    background-color: var(--main);
    border-radius: 1rem;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--sec50);
}

/* Aplicar apenas em navegadores que suportam scrollbar-width (ex: Firefox)*/

@supports not selector(::-webkit-scrollbar) {
    * {
      scrollbar-width: thin;
      scrollbar-color: var(--main) #ffffff00;
    }
}

/*Smooth Scroll Lenis*/

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/*Botão Ripple*/

button{
    position: relative;
    display: inline-flex;
    padding: 1rem 2rem;
    color: var(--btn-hover-color);
    text-decoration: none;
    overflow: hidden;
    border: 1px solid var(--btn-hover-color);
    border-radius: .5rem;
    cursor: pointer;
    font-size: 1rem;
    background-color: var(--btn-color);
    max-width: max-content;
}

.btn span{
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.btn::before{
    content: '';
    position: absolute;
    top: var(--y);
    left: var(--x);
    transform: translate(-50%, -50%);
    width: 0px;
    height: 0px;
    border-radius: 50%;
    background-color: 50%;
    background-color: var(--btn-hover-color);
    transition: width 300ms ease-in-out, height 300ms ease-in-out;
}

.btn:hover::before{
    width: 600px;
    height: 600px;
}

.btn:hover{
    color: var(--btn-color);
    border: 1px solid var(--btn-color);
    transition: color 300ms ease-in-out, border 300ms ease-in-out;
}

/* Personalização de Cores por Classe */
.btn-main{
    --btn-color: #E6F7FF;
    --btn-hover-color: #00111a;
}

.btn-sec{
    --btn-color: #00111a;
    --btn-hover-color: #E6F7FF;
}

/*Estilos*/

h1 {
    font-size: 6rem;
    line-height: 1.13;
    overflow: hidden;
}
  
h2 {
    font-size: 4rem;
    text-transform: capitalize;
    font-weight: medium;
}
  
h3 {
    font-size: 3em;
    text-transform: capitalize;
}

@media (max-width:1200px) {
    h1{
        font-size: 4rem;
    }

    h2{
        font-size: 3rem;
    }

    h3{
        font-size: 2.5rem;
    }
}

@media (max-width:768px) {
    h1{
        font-size: 2.75rem;
    }

    h2{
        font-size: 2.25rem;
    }

    h3{
        font-size: 2rem;
    }
}

p {
    font-size: 1rem;
}
  
a {
    font-size: 1rem;
    transition: color 0.3s ease-in-out;
    text-decoration: none;
    color: var(--white);
}

a:hover {
    color: var(--link);
}

ul{
    list-style: none;
}

/*Intro Animation*/

.intro{
    position: fixed;
    z-index: 100;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    background-color: var(--black);
    transition: 1s;
}

.logoHeader{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    display: flex;
    justify-content: center;
    transform: translate(-50%, -50%);
    color: var(--white);
}

.logoHeader img{
    height: 3rem;
}

.logo{
    position: relative;
    display: inline-block;
    bottom: -20px;
    opacity: 0;
}

.space{
    margin-right: .5rem;
}

.logo.active{
    bottom: 0;
    opacity: 1;
    transition: 300ms ease-in-out;
}

.logo.fade{
    bottom: 150px;
    opacity: 0;
    transition: 300ms ease-in-out;
}

/*Navbar*/

header{
    background-color: rgba(1, 9, 13, 0.75);
    backdrop-filter: blur(50px);
    transition: transform 300ms ease-in-out;
    position: fixed;
    width: 100vw;
    z-index: 10;
}

nav{
    width: 90vw;
    margin: 0 auto;
    padding-block: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav img{
    height: 2rem;
}

.hidden{
    transform: translateY(-100%);
}

#abrirMenu{
    display: flex;
    flex-direction: column;
    gap: 11px;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    z-index: 75;
    cursor: pointer;
}

#abrirMenu span{
    width: 3rem;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: transform 300ms ease-in-out, opacity 300ms ease-in-out;
}

#abrirMenu.aberto span:nth-child(1){
    transform: translate3d(0, 7px, 0) rotate(45deg);
}

#abrirMenu.aberto span:nth-child(2){
    transform: translate3d(0, -7px, 0) rotate(-45deg);
}

/*Menu Flutuante*/

.menu{
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    z-index: 6;

    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    visibility: visible;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0.5s;
}

/*Menu aberto*/

.menu.aberto{
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
}

/*Lista vertical*/

.menuList{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-grow: 1;
}

/*Lista horizontal*/

.menuBottom{
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/*Animação Links*/

.linkScroll{
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 2rem;
    font-size: 1rem;
    line-height: 2rem;
}

.menuList .linkScroll{
    height: 5rem;
    font-size: 4rem;
    line-height: 5rem;
}

.linkScroll:hover .block,
.linkScroll.play .block{
    transform: translateY(-100%);
}

.block{
    transition: transform 600ms cubic-bezier(.76, 0, .024, 1);
}

.linkClone{
    color: var(--sec);
}

.menuList a{
    font-size: 4rem;
}

@media (max-width:1200px) {
    .menuList .linkScroll{
        height: 4rem;
        font-size: 3rem;
        line-height: 4rem;
    }
}

@media (max-width:768px) {
    .menuList .linkScroll{
        height: 3rem;
        font-size: 2rem;
        line-height: 3rem;
    }
}

/*Hero*/

#heroBg{
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
}

#bgVideo{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    transform: translate(-50%, -50%);
}

.hero{
    width: 90vw;
    margin: 0 auto;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.heroContent{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.heroContent p{
    max-width: 864px;
    color: var(--white);
}

#heroText{
    max-width: 1200px;
    color: var(--white);
}

i{
    font-size: small;
    padding-left: .5rem;
}

.heroCta{
    display: flex;
    gap: 1rem;
}

.feature{
    overflow: hidden;
    margin: 0 auto;
    width: 90vw;
    max-width: 1600px;
    display: flex;
    position: relative;
    mask: linear-gradient(90deg, #ffffff00, white 20%, white 80%, #ffffff00);
}

.logoSlide{
    white-space: nowrap;
    display: flex;
    animation: 16s infinite linear slide;
}

.tools{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-inline: 2rem;
    cursor: pointer;
    filter: saturate(0) opacity(0.2);
    transition: filter 300ms ease-in-out;
}

.tools:hover{
    filter: saturate(1);
}

.tools img{
    height: 50px;
}

.tools span{
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
}

@keyframes slide{
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(-100%);
    }
}

@media (max-width: 1200px){
    .hero{
        height: 80vh;
    }
}

@media (max-width: 768px){
    .heroCta .btn-sec{
        display: none;
    }
}

/*Sobre*/

.bgWhite{
    background-color: var(--white);
    width: 100%;
}

.section{
    width: 90vw;
    margin: 0 auto;
    padding-top: 20rem;
}

.textScroll{
    font-size: 2.5rem;
    width: 90vw;
    max-width: 1200px;
}

#sobre{
    position: relative;
    margin: auto;
}

@media (max-width: 1200px){
    .textScroll{
        font-size: 1.75rem;
    }

    .section{
        padding-top: 10rem;
    }
}

@media (max-width: 768px){
    .textScroll{
        font-size: 1.25rem;
    }
}

/*Galeria*/

#galeria{
    scroll-margin-top: -12rem;
}

.cabeca{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.cabeca p{
    max-width: 384px;
    text-align: right;
}

.galleryGrid {
    padding-bottom: 20rem;
    display: grid;
    grid-template-columns: 1fr 0.5fr 1fr;
    width: 100%;
    gap: 2rem;
    margin: 4rem auto 0;
}

.galleryBlock img {
    width: 100%;
    border-radius: .5rem;
}

.imgMotion{
    border-radius: .5rem;
    transform: scaleX(0);
    opacity: 0;
    transform-origin: center;
    transition: transform ease-in-out, opacity ease-in-out;
}

.galleryTit{
    font-weight: 500;
    font-size: 2rem;
    text-transform: capitalize;
}

.galleryBlock p{
    max-width: 640px;
}

.galleryBlock{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.block1 {
    grid-column: span 3;
    margin-bottom: 10rem;
}

.block2, .block4 {
    grid-column: span 2;
    padding-bottom: 10rem;
}

.block3, .block5 {
    grid-column: span 1;
    align-self: end;
}

@media (max-width: 1200px) {
    .galleryGrid {
        grid-template-columns: repeat(2, 1fr);
    }

    .block1 {
    grid-column: span 2;
    margin-bottom: 0;
    }

    .block2, .block4, .block3, .block5 {
    grid-column: span 1;
    padding-bottom: 0;
    }

    .galleryGrid{
        padding-bottom: 10rem;
    }
}

@media (max-width: 768px) {
  .galleryGrid {
    grid-template-columns: 1fr;
  }

  .galleryBlock {
    grid-column: span 1;
  }

  .cabeca{
    flex-direction: column;
    text-align: left;
    align-items: start;
    gap: .5rem;
    }

    .cabeca p{
        max-width: 384px;
        text-align: left;
    }
}
/*Processo*/

.darkSec{
    padding-block: 6rem;
    width: 100%;
    background-color: var(--sec10);
    color: var(--white);
}

.processoCont{
    width: 90vw;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    align-items: start;
}

.processoText{
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 6rem;
}

.processoCards{
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 10rem;
}

.bold{
    font-weight: bold;
    font-size: 1.25rem;
}

.cardText{
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.cardImg img{
    border-radius: .5rem;
    width: 100%;
}

.processoCard{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 4rem;
    border-radius: .5rem;
    gap: 1rem;
    position: sticky;
    top: 6rem;
    /* Fundo (gradiente interno) + Borda simulada (gradiente externo) */
    background: 
      radial-gradient(ellipse at top, var(--sec25), var(--black), var(--black)) padding-box, 
      radial-gradient(ellipse at top, var(--main), #39464D, #39464D) border-box;
    
    border: 1px solid transparent; /* Necessário para borda com gradiente */
}

@media (max-width: 1500px){
    .processoCard{
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 900px){
    .processoCont{
        align-items: center;
        flex-direction: column;
    }

    .processoCards{
        width: 100%;
    }

    .processoText{
        width: 100%;
    }
}

/*Duvidas*/

#duvidas{
    scroll-margin-top: -12rem;
    margin-bottom: 50vh;
}

.accordion{
    margin: 4rem auto;
    padding-bottom: 20rem;
    display: flex;
    flex-direction: column;
    text-align: start;
}

.accordionItem{
    border-bottom: 1px solid;
    border-image: linear-gradient(to right, var(--white), var(--black), var(--white)) 1;
}

.accordionHeader{
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 2rem 0;
}

.accordionHeader span{
    font-size: 2rem;
    font-weight: bold;
}

.accordionHeader i{
    font-size: 1.5rem;
    transition: transform 300ms ease-in-out;
}

.accordionHeader.active i{
    transform: rotate(45deg);
}

.accordionBody{
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease-in-out;
}

.accordionBodyContent{
    padding: 0 1rem 2rem;
    line-height: 1.5rem;
}

@media (max-width:1200px){
    .accordionHeader span{
        font-size: 1.5rem;
    }

    .accordion{
        padding-bottom: 10rem;
    }
}

@media (max-width:1200px){
    .accordionHeader span{
        font-size: 1.25rem;
    }
}

/*Footer*/

.fixedFooter{
    background-image: url(imgs/footerBg.svg);
    background-position: center;
    width: 100vw;
    position: fixed;
    bottom: 0;
    z-index: -2;
    height: 50vh;
}

.footerContent{
    width: 90vw;
    height: 100%;
    margin: 0 auto;
    color: var(--white);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cta{
    margin: 10vh auto 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.linksFooter{
    width: 90vw;
    display: flex;
    margin: 0 auto 2rem;
    justify-content: space-between;
    align-items: end;
}

.socials{
    display: none; /*flex*/
    gap: 2rem;
}

@media (max-width: 768px){
    .cta{
        gap: 1rem;
    }

    .socials{
        flex-direction: column;
        gap: .25rem;
        text-align: start;
    }
}