@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background: #0b0b0b;
    color: #eaeaea;
    line-height: 1.6;    
    position: relative;
}

html {
    scroll-behavior: smooth;    
}

/* HERO */
.hero {    
    min-height: 100vh;
    padding: 60px 20px;
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.2)),
                url('../img/banner.png') center center / cover no-repeat;
    
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero div {    
    max-width: 100%;
    width: 100%;    
}

.hero h1 {
    font-size: 3.5rem;
    letter-spacing: 3px;
}

.hero p {
    margin-top: 15px;
    font-size: 1.3rem;
    color: #ccc;    
}

.menu-toggle {
    display: flex;
    background-color: #000;
    color: white;
    width: 30px;    
    justify-content: center;    
    position: absolute;
    right: 50px;
    top: 30px;
    z-index: 10;
    font-size: 1.4em;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;    
}

.menu-toggle:focus {
    border: 2px solid white;
}

.nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 40px;    
    background-color: #222;    
    padding: 15px;    
    box-shadow: 1px 2px 8px blue;    
    min-width: 200px;
}

nav.active {
    display: flex;
}

nav a {
    color:whitesmoke;    
    text-decoration: none;    
}

nav a:hover {
    color: white; 
    background-color: blue;  
    font-weight: bold;    
    
}

nav a:focus {
    outline: none;    
}

/* SECTION */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    margin-top: 20px;
}

/* ABOUT */
.about p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #ccc;
    padding: 0 30px;
    
}

/* BLOCKS */
.content-block {
    display: flex;
    align-items: center;
    justify-content: space-around;    
    margin-bottom: 80px;
    gap: 40px;
    flex-wrap: wrap;
    padding: 30px;
    border-radius: 12px;
    transition: 0.3s;
}

/* PRETO */
.content-block:nth-child(odd) {
    background: #111;                    
}

.content-block .content-text {    
    max-width: 300px;        
}

.content-block .img-box {    
    width: 212px;    
}

/* VERMELHO */
.content-block:nth-child(even) {
    background: linear-gradient(135deg, #7a0000, #b30000);        
}

.content-block:nth-child(even) .content-text {
    order: 1;
}

.content-block:nth-child(even) .img-box {
    order: 2;
}

/* TEXTO */
.content-text h3 {
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.content-text ul {
    list-style: none;
}

.content-block .content-text li.contato {
    margin-bottom: 8px;    
    color: white;
}

.content-text img {
    color: white;
    vertical-align: middle;    
}

.content-text ul li:nth-child(2) img {
    width: 40px;
    margin-left: -4px;
    margin-top: -4px;
}

.content-text ul li:nth-child(3) img {
    width: 30px;
    height: 36px;
    background-color: rgba(0, 0, 0, 0);    
    margin-top: -6px;
}

/* CORES TEXTO */
.content-block:nth-child(odd) h3 {
    color: #fff;
}

.content-block:nth-child(odd) li {
    color: #bbb;
}

.content-block:nth-child(even) h3,
.content-block:nth-child(even) li {
    color: #fff;
}

/* HOVER */
.content-block:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(255,0,0,0.25);
}

.img-box {    
    width: 212px;
    min-height: 300px;    
    background-size: contain;
    background-repeat: no-repeat;       
    border-radius: 20px;    
}

.img-box > form {    
    min-width: 300px;
    min-height: 300px;            
    margin-left: -40px;        
    border-radius: 20px;
    box-shadow: 0px 0px 4px rgba(255, 100, 100, 0.288);              
}

.img-box > form input {    
    min-width: 280px;
    min-height: 38px;        
    border-radius: 10px;
    padding: 6px;
    margin: 4px auto;    
    margin-left: 8px;
    font-size: 14px;        
}

.img-box > form input[type="submit"] {    
    background-color: red;
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 4px;
    margin-top: -2px;
    cursor: pointer;
}

.img-box > form textarea {    
    min-width: 280px;
    min-height: 72px;        
    border-radius: 10px;
    padding: 2px;
    margin-top: 6px;
    margin-bottom: 16px;    
    margin-left: 8px;
    font-size: 14px;    
    resize: none;    
    margin-bottom: 2px;
}

.img-box > form input:hover, textarea:hover {
    border: 4px solid #7a0000;        
}

.img-box > form > p {        
    color: white;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.img1 { background-image: url('../img/usuarios.png');}
.img2 { background-image: url('../img/minha-garagem.png') }
.img3 { background-image: url('../img/eventos.png') }
.img4 { background-image: url('../img/rede-social.png') }
.img5 { background-image: url('../img/rankings.png') }
.img6 { background-image: url('../img/marketplace.png') }
.img7 { background-image: url('../img/prestadores.png') }
.img8 { background-image: url('../img/gamificacao.png') }

.whats-mobile {
    display: none;
}

section .img-whats {
    position: fixed;
    bottom: 8px;
    right: 8px;
    width: 40px;
}

.box-msgbox {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;    
    inset: 0;
    z-index: 10;          
}

.msgbox{
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 120px;
    background-color: black;
    box-shadow: 1px 2px 8px blue; 
    pointer-events: auto;      
}

.msgbox button {
    margin-top: 12px;
    width: 120px;
    height: 30px;
    background-color: red;
    color: white;
    font-weight: bold;
    border-radius: 12px;
    cursor: pointer;
}

/* FOOTER */
footer {
    background: #000;
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #222;
}

footer h3 {
    margin-bottom: 10px;
}

/* RESPONSIVO */
@media(max-width:768px){
    .content-block {
        flex-direction: column !important;
    }

    .hero {
        min-height: 70vh;        /* remove altura gigante */
        padding: 20px 10px;      /* menos espaço */
        background-size: 180%;   /* reduz o “zoom” */        
        background-repeat: no-repeat;
        margin-bottom: -100px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .img-box {
        width: 100%;
        height: 200px;
        background-size: contain; /* importante pras imagens internas */
        background-position: center;
        padding-bottom: 0px;
        margin-bottom: 0px;
    }

    .whats-mobile {
        display: flex;
    }

    .whats-desktop {
        display: none;
    }
}

@media(max-width:768px) and (orientation: landscape){

    .hero {
        min-height: 70vh;        /* remove altura gigante */
        padding: 0px 10px;      /* menos espaço */
        background-size: 100%;   /* reduz o “zoom” */        
        background-repeat: no-repeat;
        margin-bottom: -80px;
    }

   .content-block {
        flex-direction: row !important;
        flex-wrap: nowrap;
        gap: 20px;
    }

    .whats-mobile {
        display: flex;
    }

    .whats-desktop {
        display: none;
    }
    
}

@media(min-width:800px) {

    .menu-toggle {
        display: none;
    }

    .nav {
        display: flex;
        font-size: clamp(12px, 1.2vw, 14px);
        position: absolute;        
        flex-direction: row;
        white-space: nowrap;
        top: 10px;
        left: 0;
        right: 0;
        width: 90vw;        
        justify-content: center;        
        gap: clamp(10px, 2vw, 50px);
        margin: 0 auto;
        padding: 4px;
    }
    
}

@media(min-width:950px) {

    .nav {
        gap: 3vw;
    }

}

@media(min-width:1000px) {

    .nav {
        gap: 4vw;
    }

}