@font-face {
    font-family: 'Ango';
    src: url('/Resources/font-static/Ango.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/Resources/font-static/Montserrat.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --h1: 32px;
    --h2: 28px;
    --p: 24px;
    --p2: 20px;
    --p3: 16px;
    --titulo: 'Ango';
    --paragrafo: 'Montserrat';
    scroll-behavior: smooth;
}

#about, #service {
  scroll-margin-top: calc(90px + 12px);
}

body, html {
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    scroll-behavior: smooth;
}

body{
    background-color: #000502;
}

::-webkit-scrollbar {
  width: 0px;
}

::-webkit-scrollbar-track {
  background-color: #562525;
}

::-webkit-scrollbar-thumb {
  background-color: #FF8585;
  border-radius: 16px;
}

section, footer{
    position: relative;
    width: 100%;
    height: fit-content;
    min-height: 100vh;
    padding: 50px 100px;
}

section.hero, section.service{
    background: linear-gradient(to bottom, #000502, #008A6A);
}

section.about, footer{
    background: linear-gradient(to bottom, #008A6A, #000502);
}

h1 {
    font-family: var(--titulo);
    font-size: var(--h1);
    color: #FFFFFF;
}

h2 {
    font-family: var(--paragrafo);
    font-weight: 500;
    font-size: var(--h2);
    color: #FFFFFF;
}

h3 {
    font-family: var(--titulo);
    font-weight: normal;
    font-size: var(--p);
    color: #FFFFFF;
}

p {
    font-family: var(--paragrafo);
    font-size: var(--p);
    color: #FFFFFF;
}

.nav-shell {
    position: fixed;
    z-index: 1000;
    background: rgba(0, 57, 43, 0.32);
    border-radius: 25px;
    backdrop-filter: blur(25px);
    border: none;
}

.nav-shell::before {
  content: "";
  position: absolute;
  inset: 0;            
  border-radius: 25px;
  padding: 2px;
  background: linear-gradient(
    168deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.5) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  transition: opacity 0.35s ease;
  opacity: 1;
  pointer-events: none;
}

.nav-shell.hidden {
    opacity: 0;
    transform: translateY(-10px); 
    pointer-events: none;        
    transition: opacity 0.32s ease, transform 0.32s ease;
}

.nav-shell.hidden .nav-panel {
    max-height: 0 !important;
    overflow: hidden !important;
}

.nav-shell.hidden::before {
    opacity: 0;
    transition: opacity 0.32s ease;
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 25px;
  height: 90px;
}

.navbar .logo {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  font-family: var(--paragrafo);
  font-size: var(--p2);
}

.navbar .logo img {
  height: 42px;
}

.nav-links--desktop {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links--desktop a {
  text-decoration: none;
  color: #fff;
  font-family: var(--paragrafo);
  font-size: var(--p2);
  transition: color 0.2s;
}

.nav-links--desktop a:hover { color: #FF8585; }

.hamburger {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 3;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #fff;
  border-radius: 3px;
  margin: 3px 0;
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(2.5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(2.5px, -5px); }

.nav-panel {
  width: 100%;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s cubic-bezier(.2,.9,.2,1);
  border-radius: 0 0 25px 25px;
  background: transparent;
}

.nav-panel-inner {
  padding: 12px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-panel-inner a{
    display: block;
    width: 100%;
    padding: 14px 18px;
    text-decoration: none;
    color: #fff;
    background: transparent;
    border: none;
    text-align: left;
    font-family: var(--paragrafo);
    font-size: var(--h2);
    border-radius: 12px;
    transition: background 0.18s, color 0.18s;
}
.nav-panel-inner a:hover{color: #FF8585;}

.nav-panel-inner button.cta{
    display: block;
    width: 100%;
    padding: 8px 32px;
    font-family: var(--paragrafo);
    font-size: var(--p2);
    border-radius: 16px;
    border: none;
    background-color: #00E5AF;
    color: #001f18;
    font-family: var(--paragrafo);
    font-size: var(--h2);
}


.nav-panel.open {
}

.cloud-wrapper {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1; 
}

.cloud {
    width: 2400px;
    transition: transform 0.1s ease-out;
}

.cloud-wrapper2 {
    position: absolute;
    top: 100%;
    left: 10%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1; 
}

.cloud2 {
    width: 1100px;
    transition: transform 0.1s ease-out;
}

.cloud-wrapper3 {
    position: absolute;
    top: 35%;
    left: 90%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1; 
}

.cloud3 {
    width: 1652px;
    transition: transform 0.1s ease-out;
}

.hero-text {
    position: absolute;
    width: max-content;
    flex-direction: row;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10rem;
    font-family: var(--titulo);
    color: #FF8585;
    text-align: center;
    user-select: none;
    z-index: 1;
}

.hero-text span {
    -webkit-text-stroke: 2px #FF8585;
    color: transparent;
}

.filled {
    color: #FF8585;
}

.filledThis{
    color: #FF8585 !important;
}

.hero-text.back .filled {
    color: #ffffff26;
}

.parent {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 8px;
    z-index: 5;
}

.parent .inDiv{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

section.service .parent {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 32px;
}

footer .parent {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    border-radius: 25px;
    backdrop-filter: blur(25px);
    border: none;
    padding: 32px;
}

footer .parent::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 25px;
    padding: 2px; 
    background: linear-gradient( 168deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.5) 100% );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.Links{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.Links2{
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.Links2 span{
    background-color: #00e5b038;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.Links a, .Links2 a{
    text-decoration: none;
    color: #fff;
    font-family: var(--paragrafo);
    font-size: var(--p3);
    transition: color 0.3s;
}

.Links a:hover, .Links2 span:hover a{
    color: #00E5AF !important;
}
    
footer .parent .div1 {
    grid-row: span 3 / span 3;
}

footer .parent .div2 {
    grid-row: span 3 / span 3;
}

footer .parent .div3 {
    grid-column: span 2 / span 2;
    grid-row-start: 4;
}

footer .parent .div3 h3{
    font-size: var(--p3);
    text-align: center;
}

footer .parent .div3 p{
    font-size: var(--p3);
    text-align: center;
}

footer .parent .inDiv p{
    font-size: var(--p3);
}
  
.horizontal, .horizontal2{
    display: flex;
    flex-direction: row;
    gap: 64px;
}

footer .parent .div2 .inDiv{
    width: fit-content;
}

form{
    display: flex;
    gap: 32px;
    flex-direction: column;
}

form .horizontal{
    gap: 32px;
}

button.cta{
    padding: 8px 32px;
    font-family: var(--paragrafo);
    font-size: var(--p2);
    border-radius: 16px;
    border: none;
    background-color: #00E5AF;
    color: #001f18;
    transition: 0.35s;
}

button.cta:hover{
    background-color: #00E5AF;
    box-shadow: 0 0 0 5px #3bf6c15f;
}

.allCards{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 32px;
    height: 100%;
}

.card {
    display: flex;
    flex-direction: column;
    border-radius: 25px;
    backdrop-filter: blur(25px);
    border: none;
    padding: 32px;
    gap: 16px;
}

.cardTitle{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: var(--h2);
}

.card p{
    font-size: var(--p2);
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 25px;
    padding: 2px; 
    background: linear-gradient( 168deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.5) 100% );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.wave-group {
    position: relative;
    width: 100%;
}

.wave-group .input {
    font-size: 16px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #00E5AF;
    background: transparent;
    color: #fff;
    font-family: var(--paragrafo);
    font-size: var(--p3);
}

.wave-group .input:focus {
    outline: none;
}

.wave-group .label {
    color: #ffffff;
    font-family: var(--paragrafo);
    font-size: var(--p3);
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    display: flex;
}

.wave-group .label-char {
    transition: 0.2s ease all;
    transition-delay: calc(var(--index) * .05s);
}

.wave-group .input:focus ~ label .label-char,
.wave-group .input:valid ~ label .label-char {
    transform: translateY(-20px);
    font-size: 14px;
    color: #00E5AF;
}

.wave-group .bar {
    position: relative;
    display: block;
    width: 100%;
}

.wave-group .bar:before,.wave-group .bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: #00E5AF;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.wave-group .bar:before {
    left: 50%;
}

.wave-group .bar:after {
    right: 50%;
}

.wave-group .input:focus ~ .bar:before,
.wave-group .input:focus ~ .bar:after {
    width: 50%;
}

@media (min-width: 1001px) {
    .nav-panel { display: none; }
    .nav-shell::before { /* manter visual consistente, opaco */
        opacity: 1;
    }
    .nav-shell {
        width: calc(100vw - 200px);
    }
}

@media (max-width: 1000px) {
    .nav-shell {
        width: calc(100vw - 100px);
    }

    .nav-links--desktop { display: none; }      /* escondemos links do desktop */
    .hamburger { display: flex; }               /* mostramos hamburger */
    .nav-panel { display: block; }              /* painel disponível em mobile */

    .nav-links {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(0, 57, 43, 0.95);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        border-radius: 0 0 16px 16px;
    }

    .nav-links.show {
        max-height: 400px; /* suficiente para caber os links */
    }

    .nav-links a, .nav-links button {
        width: 100%;
        padding: 16px 24px;
        font-size: 20px;
    }

    .navbar .icon {
        display: block;
    }

    .hero {
        padding: 25px 50px;
    }

    .navbar {
        padding-inline: 25px;
    }

    .navbar::before {
        padding: 2px; 
    }

    .navbar .logo {
        font-size: 20px;
        gap: 1rem;
    }

    .navbar .logo .this{
        display: none;
    }
    

    .navbar .logo img{
        width: auto;
        height: 34px;
    }

    .navbar .nav-links {
        list-style: none;
        display: flex;
        gap: 16px;
    }

    .hero-text {
        font-size: 12vw;
    }

    .hero-text span {
        -webkit-text-stroke: 1px #FF8585;
    }

    section, footer{
        min-height: 100vh;
        height: max-content;
        padding: 50px;
    }

    .inDiv{
        width: 100%;
        height: fit-content;
    }

    .parent {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(1, 1fr); 
        gap: 64px !important;
        z-index: 5;
    }

    .allCards{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(1, 1fr);
        gap: 32px;
        height: 100%;
    }

    footer .parent {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(1, 1fr);
        gap: 32px !important;
    }
        
    footer .parent .div1 {
        grid-row: auto;
        padding-block: 32px;
    }

    footer .parent .div1 img{
        width: auto;
        height: 50px !important;
    }

    footer .parent .div2 {
        grid-row: auto;
        gap: 64px;
    }

    footer .parent .div3 {
        grid-column: auto;
    }
    
    .horizontal{
        flex-direction: column;
        gap: 32px;
    }

    .horizontal2{
        flex-direction: row;
        gap: 32px;
    }

    footer .parent .div2 .inDiv{
        width: 100%;
    }

    .cloud2 {
        width: 684px;
    }

    .cloud3 {
        width: 1100px;
    }

}

@media (max-width: 600px) {
    :root{
        --h1: 24px;
        --h2: 20px;
        --p: 16px;
        --p2: 14px;
        --p3: 12px;
    }

    .cloud-wrapper2 {
        top: 108%;
        left: -10%;
    }
}