@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    transition: all 0.3s ease;
}
html{
    scroll-behavior: smooth;
    width: 100vw;
}

body {
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}

header {
    background-color: white;
    display: flex;
    align-items: center;
    top: 0;
    z-index: 100;
    justify-content: space-between;
    width: 100%;
    padding: 25px 25px; 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5); 
    position: relative;
}

header .logo {
    width: 128px;
    height: auto;
    position: relative;
    left: 10vw;
}

header .logo img {
    width: 100%;
}

header nav {
    display: flex;
    align-items: center;
}

header nav a {
    margin-right: 1vw;
    color: #3a3a3a;
    text-decoration: none;
    font-weight: 600; 
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif; 
}

header nav a:hover { 
    color: rgb(0, 128, 17);
}

.header-mobile {
    display: none;
    background-color: white;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0px; 
    z-index: 101;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
    position: relative;
}

.header-mobile .logo {
    width: 90px;  
    height: auto;  
}

.header-mobile .logo img {
    width: 99%;
    height: 80%;
    position: relative;
    left: 10vw;
}

.menu {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    display: none; 
    width: 100px;
    height: 90px;
    position: relative;
}

.menu.active {
    box-shadow: inset 0px 4px 8px rgba(0, 0, 0, 0.2); 
}

.menu i {
  transition: transform 0.3s ease;
}

.menu.active i {
  transform: rotate(90deg);
}

#mobile-menu {
  position: fixed; 
  top: 80px; 
  left: 0;
  width: 100%;
  background-color: white;
  z-index: 999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(-20px);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

#mobile-menu.active {
  opacity: 1;
  transform: translateY(0);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: auto;
}

#mobile-menu a {
    color: #3a3a3a;
    text-decoration: none;
    font-weight: 600; 
    padding: 20px;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
    width: 100%;
}

#mobile-menu a:hover {
    color: #ffffff;
    background-color: #cc2a41;
}

/* CONTROLE DO SCROLL */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 60px;
}

.logo-container #logo {
    width: 200px; /* Tamanho padronizado para a home */
    height: auto;
}

.Menu{
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
  
.Menu a, .dropbtn{
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
    width: 480px;
    height: 45px;
    border-radius: 12px;
    filter: drop-shadow(1.268px 2.719px 0.5px rgba(0,0,0,0.3));
    background-color: #c92535;
    border: none;
}

.dropdown {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
  
.dropdown-content {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: none;
  min-width: 200px;
  z-index: 1;
  flex-direction: column;
  transition: opacity 0.3s ease, transform 0.3s ease, clip-path 0.3s ease;
  clip-path: inset(0 0 100% 0);
  
}
  
.dropdown-content.show {
  opacity: 1;
  pointer-events: auto;
  display: flex; /* ainda necessário para o flex layout */
  clip-path: inset(0 0 0 0);
}
 
.icon-seta{
    margin-left: 8px;
}
  
.dropdown-content a {
    color: #c62828;
    background-color: white;
    text-decoration: none;
    text-align: left;
    border-bottom: 1px solid #eee;
    filter: drop-shadow(1.268px 2.719px 0.5px rgba(0,0,0,0.3));
    border-radius: 0;
}

.decor-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden; 
}
.bg-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none; /* permite clicar nos elementos acima */
}
  
  /* As imagens decorativas */
.bg-decor img {
    position: absolute;
    min-width: 150px;
    width: 10%;
    height: auto;
    opacity: 0.9;
}
  
.bg-decor .ramo{
    top: -8px;       
}
/* Exemplos de posicionamento */
.bg-decor .folhas {
    top: 30%;
    left: 23%;
    width: 100px;
    min-width: unset;
}
  
.bg-decor .folhas2 {
    top: 35%;
    right: 20%;
    transform: scaleX(-1);
    width: 100px;
    min-width: unset;
}
  

.bg-decor .pimenta {
    left: 5%;
    bottom: 45%;
    width: 120px;
    min-width: unset;
}
  
.bg-decor .tomates {
    position: absolute;
    top: -20px;       /* empurra mais para cima */
    right: -25px;     /* empurra mais para a direita */
    transform: scale(1);
}

footer {
    position: relative;
    width: 100%;
    height: 20vh;
    z-index: 0;
    pointer-events: none;
}

footer img {
    position: absolute;
    min-width: 150px;
    width: 10%;
    height: auto;
    opacity: 0.9;
}

footer .tomate-footer {
    bottom: 155px;
    right: -10px;
    width: 120px;
    min-width: unset;
}

footer .ramo-footer {
    left: 0%;
    bottom: 80px;
}

footer .folha-footer {
    bottom: 0px;
    right: 50%;
}

footer .selo-footer {
    bottom: 20px;
    right: 20%;
}

footer .queijo-footer {
    bottom: 15px;
    left: 14%;
}

footer .folhas-footer {
    bottom: 55px;
    right: 8%;
    width: 100px;
    min-width: unset;
}

footer .ramo3-footer {
    display: none;
}

.container1 {
    position: relative;
    z-index: 1;
    padding: 3rem 1rem;
    background-color: transparent; /* ou branco, como preferir */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90vh;
    padding-top: 0;
    padding-bottom: 0;
}

@media screen and (max-width:1024px){
    
    #mobile-menu.active{
        display: grid; 
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .menu {
        display: block;
    }

    .header-mobile .navbar{
        display: none;
    }

    #mobile-menu a:hover{
        color: #ffffff;
        background-color: #cc2a41;
    }

    .header-mobile{
        display: flex;
    }
      
    header .navbar{
        display: none;
    }

    header nav.rolagem{
        display: none;
    }

    header{
        display: none;
    }

    .header #logo{
        display: none;
    }

    .bg-decor img {
        min-width: 150px;
        width: 10%;
    }

    footer img {
        min-width: unset;
        width: 9%;
    }

    footer .tomate-footer  { bottom: 120px; width: 100px; }
    footer .ramo-footer    { bottom: 65px; }
    footer .folhas-footer  { bottom: 40px; width: 85px; }

    .bg-decor .tomates {
        top: 90px;
    }

    .bg-decor .ramo{
        top: 85px;
    }

    .bg-decor .pimenta{
        top: 55%;
        left: 2%;
        width: 110px;
    }

    .bg-decor .folhas{
        left: 14%;
        top: 35%;
        width: 100px;
    }

    .bg-decor .folhas2{
        top: 50%;
        right: 10%;
        width: 100px;
    }
}

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

    .Menu a, .dropbtn{
        width: 450px;
    }

    .bg-decor img {
        min-width: 100px;
        width: 10%;
    }

    .bg-decor .pimenta  { width: 85px; }
    .bg-decor .folhas   { top: 30%; width: 78px; }
    .bg-decor .folhas2  { top: 50%; right: 5%; width: 78px; }

    footer {
        height: 100px;
    }

    footer img {
        min-width: unset;
        width: 8%;
    }

    footer .tomate-footer  { bottom: 80px; right: 0; width: 70px; }
    footer .ramo-footer    { bottom: 50px; width: 65px; }
    footer .folha-footer   { bottom: 0px; right: 50%; width: 60px; }
    footer .selo-footer    { bottom: 15px; right: 22%; width: 60px; }
    footer .queijo-footer  { bottom: 10px; left: 16%; width: 60px; }
    footer .folhas-footer  { bottom: 35px; right: 9%; width: 70px; }
}

@media screen and (max-width:480px){
    .bg-decor .pimenta  { width: 68px; }
    .bg-decor .folhas   { width: 62px; }
    .bg-decor .folhas2  { width: 62px; }

    footer {
        height: 80px;
    }

    footer .tomate-footer  { bottom: 55px; width: 55px; }
    footer .ramo-footer    { bottom: 35px; width: 55px; }
    footer .folha-footer   { bottom: 0px; width: 50px; }
    footer .folhas-footer  { display: none; }
    footer .queijo-footer  { bottom: 10px; left: 16%; width: 50px; }
    footer .selo-footer    { bottom: 10px; right: 20%; width: 50px; }
}

@media screen and (max-width:470px){
    .Menu a, .dropbtn{
        width: 350px;
    }

    .logo-container #logo {
        width: 170px; /* Tamanho padronizado para a home */
        height: auto;
    }

}

@media screen and (max-width:430px){
    .logo-container #logo {
        width: 150px; /* Tamanho padronizado para a home */
        height: auto;
    }
}

@media screen and (max-width:375px){
    .Menu a, .dropbtn{
        width: 300px;
    }

    .logo-container #logo {
        width: 120px; /* Tamanho padronizado para a home */
        height: auto;
    }
}

/* ─── Store Modal ─── */
.store-overlay {
    position: fixed;
    inset: 0;
    background: rgba(226, 226, 226, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.store-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.store-modal {
    max-height: 90vh;
    width: 85vw;
    max-width: 400px;
    background: white;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.store-overlay:not(.active) .store-modal {
    transform: scale(0.92);
}

.store-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s ease;
}

.store-modal-close:hover {
    background: rgba(0, 0, 0, 0.75);
}

.store-modal-img-wrap {
    height: 280px;
    flex-shrink: 0;
    overflow: hidden;
}

.store-modal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.store-modal-body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    background: url('/Imagens/BG.png') center/cover no-repeat;
}

.store-modal-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 30px 20px 30px;
    width: 100%;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    justify-content: flex-start;
    z-index: 1;
}

.modal-decor {
    position: absolute;
    pointer-events: none;
    opacity: 0.85;
    height: auto;
    z-index: 0;
}

.modal-decor-ramo {
    width: 55px;
    top: -5px;
    left: 0;
}

.modal-decor-tomates {
    width: 80px;
    top: -12px;
    right: -15px;
}

.modal-decor-folhas {
    width: 55px;
    top: 30%;
    left: 5%;
}

.modal-decor-folhas2 {
    width: 55px;
    top: 35%;
    right: 5%;
    transform: scaleX(-1);
}

.modal-decor-pimenta {
    width: 48px;
    left: 5%;
    bottom: 30%;
}

.modal-decor-queijo {
    width: 60px;
    bottom: -8px;
    left: 40%;
}

.modal-decor-folha {
    width: 50px;
    bottom: 0px;
    right: 10%;
}

.modal-decor-ramo2{
    width: 50px;
    bottom: -5px;
    left: 0%;
}

#store-modal-name {
    color: #c62828;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
    position: relative;
    z-index: 1;
}

.store-modal-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.store-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    transition: opacity 0.2s ease, transform 0.15s ease;
    color: white;
}

.store-btn:hover {
    transform: translateY(-1px);
    color: white;
}

.store-btn-ifood {
    background: #ea1d2c;
    border: none;
    cursor: pointer;
    width: 100%;
}

.store-ifood-wrap {
    position: relative;
    width: 100%;
}

.store-ifood-dropdown {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.store-ifood-dropdown.show {
    max-height: 200px;
    opacity: 1;
    transition: max-height 0.6s ease, opacity 0.5s ease;
}

.store-ifood-dropdown a {
    background: rgba(234, 29, 44);
    color: white;
    text-decoration: none;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 0.76rem;
    font-weight: 500;
    text-align: center;
    transition: opacity 0.2s ease;
}

.store-ifood-dropdown a:hover {
    color: white;
}

.store-btn-site {
    text-align: center;
    background: #c62828;
}

.store-btn-whatsapp {
    background: #25d366;
}