/* NEXTVANCE - Digital Strategy & Creation Agency
 * @author: Pietro Costa Cardoso
 * @link: https://github.com/PietroCostaCardoso
 * Copyright (c) 2026. Todos os direitos reservados.
 * Este código está licenciado sob a MIT License.
 * O plágio ou remoção deste cabeçalho é estritamente proibido.
 */

body{
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5;
    transition: background-color .5s ease, color .5s ease;
}
/* variaveis*/
:root{
    --primary-color: #63c6ae;
    --second-color: #fff;
    --third-color: #586165;
    
}

img{
    max-width: 100%;
}
.container{
    margin-right: auto;    
    margin-left: auto;
    padding-left: 1em;
    padding-right: 1em;
    max-width: 980px;
}

.header{
    background: var(--second-color);
    width: 100%;
    transition: background-color .5s ease;
}

.js .header{
    position: fixed;
    width: 100%;
    z-index: 10;
}

.logo-text{
    text-transform: uppercase;
    background-color: var(--primary-color);
    font-size: 24px;
    margin: 0;
    padding: 20px;
    display: block;
    text-decoration: none;
    font-weight: bold;
    color: var(--second-color);
    float: left;
    text-align: right;
    position: relative; 
    z-index: 2; 
}

.header__nav {
    background: transparent;
    clear: left;
}

.js .header__nav{
    transition: max-height 1s;
}

.header__nav ul{
    margin: 40px 80px;
    padding: 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 5px;
}

.header__nav li {
    list-style-type: none;
    text-align: center;
    border-bottom: 1px dotted rgba(255,255,255, 0.2);
}

.header__nav a {
    text-decoration: none;
    text-transform: uppercase;
    color: var(--third-color);
    font-size: 14px;
    font-weight: 600;
    display: block;
    padding: 20px 0;
    transition: color .5s ease, background-color .5s ease;
}

.header__nav a:hover {
    color: var(--primary-color);   
}

.header__nav a {
    position: relative;
}

.header__nav a::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.header__nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header__btnMenu{
    float: right;
    margin: 1.5em 1.5em 1.5em 0;
    background: transparent;
    border: none;
    font-size: 14px;
    position: relative; 
    z-index: 2; 
}

.header__btnDark{
    float: right;
    margin: 1.5em 0.5em 1.5em 1.5em;
    background: transparent;
    border: none;
    font-size: 14px;
    position: relative;
    z-index: 2;
    cursor: pointer;
    color: #586165;
}

.header__search {
    float: right;
    margin: 1.5em 0.5em;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.header__btnSearch {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--third-color);
    padding: 0;
    transition: color .3s ease;
}

.header__btnSearch:hover {
    color: #63c6ae;
}

.header__searchInput {
    width: 0;
    padding: 0;
    border: none;
    border-bottom: 1px solid transparent;
    background: transparent;
    transition: all 0.4s ease;
    outline: none;
    color: var(--third-color);
    font-family: inherit;
    font-size: 14px;
}

.header__search.active .header__searchInput {
    width: 150px;
    padding: 5px;
    border-bottom-color: var(--primary-color);
    margin-right: 10px;
}

@media (max-width: 1023px) {
    .js .header__nav {
        position: absolute;
        top: 74px; 
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.85);
        z-index: 1;
        overflow: auto;
    }
}
.hero{
    height: 90vh;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    
    background-image:url(../img/umberto-FewHpO4VC9Y-unsplash\ \(1\).jpg);

}

.hero__title{
    background-color: var(--primary-color);
    color: white;
    font-size: 22px;
    font-weight: 600;
    padding: 30px 20px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out both;
}

.hero__text{
    background-color: #242a2c;
    margin: 5px 30px 35px;
    color: white;
    padding: 20px;
    font-size: 16px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero__btn{
    border: 1px solid rgba(255,255,255,.3);
    background-color: rgba(0,0,0,.2);
    border-radius: 5px;
    padding: 15px 25px;
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all .3s ease;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero__btn:hover{
    background-color: rgba(255,255,255,0.4);
    transform: scale(1.05);
}

.hero__arrow {
    color: white;
    font-size: 2.5rem;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.hero__arrow:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-7px);
    }
}
.people-cards{
    margin-top: 2.5em;
    
}

.people-cards__card:hover{
    outline: 5px solid #97fff6;
    outline-offset: -5px;
}

.people-cards__card:hover .people-cards__avatar{
    transform: translateY(-25px);
}

.people-cards__card:hover .people-cards__title,
.people-cards__card:hover .people-cards__text{
    color: var(--primary-color);
}

.people-cards__image{
    width: 100%;
}

.people-cards__avatar{
    margin: -55px auto;
    width: 88px;
    height: 88px;
    overflow: hidden;
    transition: transform .3s ease;
}

.people-cards__content{
    text-align: center;
    padding: 40px 25px 10px;
    border-left: 1px solid #dbe1e7;
    transition: border-color .5s ease;
}

.people-cards__title{
    color: #737c85;
    font-size: 21px;
    font-weight: normal;
}

.people-cards__text{
    color: #929da5;
    font-size: 14px;    
}
.content{
    background: #f8f9f9;
    padding: 20px 0 80px;
    border-top: 1px solid #e3e3e3;
    transition: background-color .5s ease, border-color .5s ease;
}

.content h3{
    color: #737c85;
    font-size: 21px;
    padding-top: 40px;
    font-weight: 400;
}

.content p{
    color: #929da5;
    font-size: 14px;
    word-spacing: 3px;
}

.content h4{
    color:#929da5;
    font-size: 17px;
    font-weight: 600;
}

.content li{
    color:#929da5;
    font-size: 14px;
    list-style: none;
}

.button{
    padding: 15px 40px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    margin-right: 15px;
    display: inline-block;
}

.button:hover{
    background-color: #929da5;
}

.button-primary{
    background-color: var(--primary-color);
    color: white;
}

.button-secundary{
    background-color: #455357;
    color: white;
    width: 50px;
}

.laptop-slider{
    background-color: #242a2c;
    padding: 125px 0 100px;
    width: 100%;
    overflow: auto;
}

.slideshow{
    white-space: nowrap;
}

.slideshow figure{
    display: inline-block;
}

.prev{
    margin: 0;
}

.next{
    margin: 0;
}

.js .laptop-slider{
    overflow: hidden;
    color: white;
}

.js .laptop-slider .slideshow{
    position: relative;
    width: 100%;
    margin: auto;
    max-width: 950px;
    padding: 0 60px;
    box-sizing: border-box;
}

.js .laptop-slider figure{
    opacity: 0;
    transition: 1s opacity;
    position: absolute;
    top: 0;
    left: 60px;
    right: 60px;
    box-sizing: border-box;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.js .laptop-slider figure img {
    max-height: 450px;
    width: auto;
    max-width: 100%;
}

.js .laptop-slider figure.show{
    opacity: 1;
    position: static;
}

.js .laptop-slider .prev, .js .laptop-slider .next{
    z-index: 3;
    position: absolute;
    top: 50%;
    cursor: pointer;
}

.js .laptop-slider .prev{
    left: 10px;
}

.js .laptop-slider .next{
    right: 10px;
}
.quote-container{
    background-color: var(--primary-color);
    padding: 50px 0;
    border-bottom: 12px solid #48b9a1;
}

.quote-slideshow h2{
    color: white;
    font-size: 30px;
    font-style: italic;
    font-weight: normal;
}

.quote-slideshow figcaption{
    color: white;
    font-size: 18px;
    text-align: center;
}

.no-js .quote-slideshow figure + figure{
    margin-top: 5em;
}

.js .quote-slideshow{
    position: relative;
    width: 100%;
    margin: auto;
    max-width: 950px;
    box-sizing: border-box;
    padding: 0 50px;
    color: white;
}

.js .quote-slideshow figure h2{
    margin-top: 0;
}

.js .quote-slideshow figure{
    opacity: 0;
    transition: 1s opacity;
    position: absolute;
    top: 0;
    left: 50px;
    right: 50px;
    box-sizing: border-box;
    margin: 0;
}

.js .quote-slideshow figure.show{
    opacity: 1;
    position: static;
}

.js .quote-slideshow .prev, .js .quote-slideshow .next{
    z-index: 3;
    position: absolute;
    top: 50%;
    cursor: pointer;
}

.js .quote-slideshow .prev{
    left: 10px;
}

.js .quote-slideshow .next{
    right: 10px;
}


.gallery {
    padding: 0 0 40px 0;
}

.article-title {
    background-color: var(--primary-color);
    padding: 20px;
    margin-bottom: 40px;
}

.article-title h2 {
    font-size: 24px;
    color: white;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0;
}

.gallery__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.gallery__item {
    display: flex;
    flex-direction: column;
}

.miniatura {
    position: relative;
    width: 100%;
    padding-top: 56.25%; 
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.miniatura img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery__title {
    color: white;
    font-size: 18px;
    text-align: center;
    padding: 10px;
    margin: 0;
    font-weight: 600;
}

.miniatura:hover .gallery__overlay,
.miniatura:active .gallery__overlay {
    opacity: 1;
}

.miniatura:hover img {
    transform: scale(1.05);
}

.legenda {
    margin-top: 10px;
    font-size: 14px;
    color: #606060;
    font-weight: 500;
    line-height: 1.4;
}

.footer{
    background-color: #242a2c;
    padding: 50px 0 20px;
    color: #929da5;
    font-size: 14px;
    text-align: center;
}

.footer h2, .footer h3 {
    color: white;
    margin-top: 0;
}

.footer-brand, .footer-links, .footer-contact {
    margin-bottom: 35px;
}

.footer-links ul {
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a{
    color: #929da5;
    text-decoration: none;
    font-weight: 600;
    transition: color .3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: white;
    margin-right: 15px;
    transition: color .3s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: #63c6ae;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Dark-mode */

body.dark-mode {
    background-color: #1a1d1e;
    color: #c8d6e5;
}

body.dark-mode .header {
    background-color: #242a2c;
    border-bottom: 1px solid #333;
}

body.dark-mode .header__nav a {
    color: #c8d6e5;
}

body.dark-mode .header__nav a:hover,
body.dark-mode .header__btnDark:hover {
    color: var(--primary-color);
}

body.dark-mode .header__btnDark {
    color: #c8d6e5;
}

body.dark-mode .header__btnSearch {
    color: #c8d6e5;
}

body.dark-mode .header__btnSearch:hover {
    color: #63c6ae;
}

body.dark-mode .header__searchInput {
    color: #c8d6e5;
}

body.dark-mode .content {
    background-color: #242a2c;
    border-top-color: #333;
}

body.dark-mode .content h3,
body.dark-mode .people-cards__title {
    color: #e2e8f0;
}

body.dark-mode .content p,
body.dark-mode .people-cards__text {
    color: #a0aec0;
}

body.dark-mode .people-cards__content {
    border-left-color: #4a5568;
}

body.dark-mode .legenda {
    color: #a0aec0;
}

/* animações */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

     
@media screen and (min-width: 1024px){
    .header{
        position: fixed;
    }
    
    .logo-text{
        width: 20%;
        box-sizing: border-box;
    }
    
    .header__btnMenu{
        display: none;
    }

    .header__btnDark{
        margin: 1.5em;
    }

    .header__search.active {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #fff;
        margin: 0;
        padding: 0 40px;
        box-sizing: border-box;
        z-index: 20;
        justify-content: center;
    }

    .header__search.active .header__searchInput {
        width: 50%;
        margin-right: 15px;
    }

    body.dark-mode .header__search.active {
        background-color: #242a2c;
    }
    
    .header__nav{
        float: left;
        width: 70%;
        clear: none;
        max-width: 800px;
    }
    
    .header__nav{ 
        background: transparent;
    }

    .header__nav ul{
        display: flex;
        justify-content: space-around;
        margin: 0;
        background: transparent;
        border-radius: 0;
    }
    
    .header__nav li {
        border-bottom: none;
        flex-grow: 1;
    }
    
    .header__nav a{
        background-color: white;        
    }

    body.dark-mode .header__nav a {
        background-color: #242a2c;
    }
    
    
    .people-cards{
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 30px;
    }
    
    
    .content .container{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 30px;
    }

    .footer {
        text-align: left;
    }
    
    .footer .container{
        display: flex;
    }
    .footer .container > * {
        margin: 1.5em;
    }
}

@media (min-width: 600px) {
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Para tablets (ipad) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .people-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 30px;
    }

    .content .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 30px;
    }
}

/* Mobile Search Fix  */

@media (max-width: 767px) {
    .header__search.active {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #fff;
        margin: 0;
        padding: 0 15px;
        box-sizing: border-box;
        z-index: 20;
        justify-content: space-between;
    }

    .header__search.active .header__searchInput {
        width: auto;
        flex: 1;
        margin-right: 10px;
    }

    body.dark-mode .header__search.active {
        background-color: #242a2c;
    }
}

/* Idioma */
.language-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 15vh;
    box-sizing: border-box;
    z-index: 99999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.language-modal.active {
    visibility: visible;
    opacity: 1;
}

.language-modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.language-modal.active .language-modal-content {
    transform: scale(1);
}

.language-modal-content h2 {
    color: #2b3674;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.language-modal-content p {
    color: #586165;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.language-btn {
    margin: 0 10px;
    padding: 12px 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s;
}

#btn-yes {
    background-color: #4361ee;
    color: white;
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
}

#btn-yes:hover {
    background-color: #2b3674;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(67, 97, 238, 0.4);
}

#btn-no {
    background-color: #e2e8f0;
    color: #4a5568;
}

#btn-no:hover {
    background-color: #cbd5e0;
    transform: translateY(-2px);
}

/* Dark mode para o modal */
body.dark-mode .language-modal-content {
    background-color: #242a2c;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

body.dark-mode .language-modal-content h2 {
    color: #e2e8f0;
}

body.dark-mode .language-modal-content p {
    color: #a0aec0;
}

body.dark-mode #btn-no {
    background-color: #4a5568;
    color: #e2e8f0;
}

body.dark-mode #btn-no:hover {
    background-color: #2d3748;
}

@media (max-width: 600px) {
    .language-modal-content {
        padding: 1.5rem;
        width: 85%;
    }
}

