:root {
    --main-color: #d3ad7f;
    --black: #291c13;
    --bg: #130d09;
    --border: 0.1rem solid rgba(255, 255, 255, 0.3);
    font-size: 10px;    
}

* {
   margin: 0;
   padding: 0;
   outline: none;
   border: none;
   text-decoration: none;
   text-transform:capitalize;
   transition: 0.2s linear;
   font-family: "Sora", sans-serif; 
}

/* REMOVER SCROLL HORIZONTAL - ADICIONE NO INÍCIO DO CSS */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}



body {
    background-color: var(--bg);
    overflow-x: hidden;
}

section {
    padding: 0 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

/* CORREÇÃO DO HEADER PARA EVITAR SCROLL */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    border-bottom: var(--border);
    background-color: #0f0a07c7;
    width: 100vw; /* Garantir que não ultrapasse */
    max-width: 100%;
}

.header section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    margin: 0 6rem;
    max-width: 100%;
    overflow: hidden;
}

.container-menu {
    display: flex;
    align-items: center;    
    gap: 30px;
}

.navbar a {
    margin:  0 4rem;
    font-size: 1.5rem;
    color: #ffffff;
}

.navbar a:hover {
    color: var(--main-color);
    border-bottom: 0.1rem solid var(--main-color);
    padding-bottom: 0.5rem;
    font-size: 1.7rem;
}

.icons img {
    margin: 1rem;
    cursor: pointer;
}

.icons img:hover {
    width: 40px;
    height: 40px;
}

/* Menu Estilo Responsivo */

#btn-menu {
    width: 45px;
    height: 45px;
    border: 1px solid #f7dfc2;
    background: transparent;
    border-radius: 7px;
    cursor: pointer;
    transition: .2s;
    display: none;
    
}

.linha {
    width: 25px;
    height: 3px;
    background-color: #d3ad7f;
    display: block;
    margin: 6px auto;
    position: relative;
    transform-origin: center;
    cursor: pointer;
    transition: 0.3s;
}

#btn-menu.ativo {
    border: 1px solid #f9c54d;
}


#btn-menu.ativo .linha:nth-child(1){
    transform: translateY(9px) rotate(-35deg);
    background-color: #d3ad7f;
}

#btn-menu.ativo .linha:nth-child(3){
    transform: translateY(-9px) rotate(35deg);
    background-color: #d3ad7f;
}

#btn-menu.ativo .linha:nth-child(2){
    width: 0;
}

/* MENU MOBILE CORRIGIDO */
.menu-mobile {
    background-color: #130d09f6;    
    position: fixed;
    top: 113px;
    left: 0;
    width: 100vw; /* Use vw instead of % */
    max-width: 100%;
    height: 0; 
    visibility: hidden;
    transition: 0.5s;
    overflow: hidden;
    transform: translateX(-100%);
    z-index: 9999;
}

.menu-mobile.abrir {
    visibility: visible;
    height: calc(100vh - 113px);
    transform: translateX(0);
}

.menu-mobile .navbar-mobile a {
    color: #FFFFFF;
    text-decoration: none;
    display: block;
    padding: 20px 30px;
    font-size: 1.8rem;
    text-align: center;
    
}

.menu-mobile .navbar-mobile a:hover {
    background-color:#0e0906;
    color: var(--main-color);
    letter-spacing: 0.2rem;    
}

/* Estilização do Slider */

main {
    display: flex;
    width: 100vw;
    height: 100vh;
    
}

.item {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left: 0;    
    background: var(--background);
    background-size: cover;
}

.item.active {
    display: block;
}

.item .title {
    font-size: 16rem;
    color: #FFFFFF;    
    font-weight: bold;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.item .fruit {
    width: 35%;
    position: absolute;
    top: 20%;
    left: 33%;
    z-index: 3;
}

.item .refri {
    z-index: 2;
    width: 500px;
    position: absolute;
    left: 50%;
    top: 60%;
    transform: translate(-50%, -50%);

}

#prev, #next {
    position: absolute;
    top: 50%;
    transform: translate(-50%);
    width: 50px;
    height: 50px;
    background: var(--main-color);
    border: 1px solid #3e2b1d;
    font-size: x-large;
    color: #3e2b1d;
    font-family: monospace;
    cursor: pointer;
    z-index: 4;
    border-radius: 50%;    
}

#prev {
    left: 120px;
}

#next {
    right: 72px;
}

@keyframes toActive {
    from {
        top: 100%;
        opacity: 0;
    }
}

.item.active img.fruit {
    animation: toActive 0.7s ease-in-out 1;
}

.item.active .title {
    animation: toActive 0.4s ease-in-out 1;
}

.btn {
    background-image: linear-gradient(60deg, #d3ad7f, #3e2b1d);
    color: #302117;
    padding: 2rem 4rem;
    font-size: 1.7rem;
    cursor: pointer;
    z-index: 5;
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 500px;
    text-align: center;
}

.btn:before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 500px;
    background-image: linear-gradient(60deg, #3e2b1d, #d3ad7f);
    z-index: -1;
    transition: opacity 0.7s linear;
    opacity: 0;
}

.btn:hover:before {
    opacity: 1;
}

.btn-sobre {
    background: var(--main-color);
    color: #3e2b1d;
    padding: 2rem 4rem;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 500px;
    
}

.btn-sobre:hover {
    letter-spacing: 0.1rem;
}

.content {
    max-width: 60rem;
}

.content h3 {
    color: #FFFFFF;
    font-size: 4rem;
}

.content h3 span {
    color: var(--main-color);
}

.content p {
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: 100;
    line-height: 1.8;
    padding: 1rem 0;
}

.titles {
    font-size: 4rem;
    color: var(--main-color);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 4rem;
    margin-top: 6rem;
}

.titles span {
    color: #ffffff;
    text-transform: uppercase;
}

#about img{
 display:inline-block;
 height:388px;
 margin-right:20px;
 border-radius: 30px 0px 0 30px;
}

/* Image */
#about .row .container-image img{
 margin-top: 10px;
}

/* Row */
#about .row{
 height:391px;
}

.about {
    font-size: 4rem;
    color: var(--main-color);
}

.about .row {
    display: flex;
    align-items: center;
    border-radius: 30px;   
}

.about .row .content {
    padding: 2rem;
}

.about .row .content h3 {
    font-size: 3rem;
    color: #FFFFFF;
}

.about .row .content p {
    font-size: 1.6rem;
    color: #FFFFFF;
    padding: 1rem 0;
    line-height: 1.8rem;
    margin: 10px 0;
}

.box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;    
}

.menu .box-container .box {
    text-align: center;
    border: var(--border);
    padding: 5rem;
    cursor: pointer;
    border-radius: 30px;    
}

.menu .box-container .box img {
    height: 10rem;
}

.menu .box-container .box h3 {
    color: #FFFFFF;
    font-size: 2rem;
    padding: 1rem 0;
}

.menu .box-container .box .price {
    color:#FFFFFF;
    font-size: 2.5rem;
    padding: 0.5rem 0;
    margin-bottom: 40px;
}

.menu .box-container .box .price span {
    font-size: 1.5rem;
    text-decoration: line-through;
    font-weight: lighter;
}

.menu .box-container .box:hover {
    background-color: #FFFFFF;
}

.menu .box-container .box:hover>* {
    color: var(--black);
}

.review .box-container .box {
    border: var(--border);
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 30px;
}

.review .box-container .box p {
    font-size: 1.5rem;
    color: #FFFFFF;
    padding: 2rem 0;
    line-height: 1.8rem;
}

.review .box-container .box h3 {
    color:#FFFFFF;
    font-size: 2rem;
    margin: 1rem 0;
}

.review .box-container .box .user {
    height: 7rem;
    width: 7rem;
    border-radius: 50%;
}

/* Iframe */
#localization iframe{
 display:inline-block;
 width:100% !important;
}

.footer {
    text-align: center;
}

.footer .share {
    padding: 3rem 0;
}

.footer .share img {
    margin: 0,3rem;
    cursor: pointer;
    border-radius: 50%;
    padding: 1rem;
}

.footer .share img:hover {
    background: var(--main-color);

}

.footer .share p {
    font-size: 1.3rem;
    font-weight: 200;
    color: var(--main-color);
    padding: 50px 0;

}

.footer .share p a {
    color:#FFFFFF
}

.footer .share p a:hover {
    color: var(--main-color);
}

.textura {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    z-index: 9999999;
}

html {
    scroll-behavior: smooth;
}



/* GARANTIR QUE O BOTÃO FIQUE DENTRO DA TELA */
@media (max-width: 768px) {
    .container-menu {
        gap: 10px;
        max-width: 100%;
        overflow: hidden;
    }
    
    #btn-menu {
        display: block !important;
        position: relative;
        z-index: 10000;
        margin-right: 0;
    }
    
    .navbar {
        display: none !important;
    }
    
    .header section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .header section {
        margin: 0 0rem;
    }

}



/* CORREÇÃO GERAL PARA IMAGENS RESPONSIVAS */
img {
    max-width: 100%;
    height: auto;
}

/* ESPECÍFICO PARA A IMAGEM DO SOBRE NÓS NO MOBILE */
@media (max-width: 768px) {
    #about img {
        width: 100% !important;
        height: auto !important;
        border-radius: 15px 15px 15px 15px !important;
        margin-right: 0 !important;
        display: block;
    }
    
    .about .row {
        flex-direction: column;
        height: auto !important;
    }
    
    .about .row .container-image {
        width: 100%;
    }
}






