/* RESET E ESTILOS BASE */
html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    -webkit-text-size-adjust: 100%; /* FIX SAFARI AUTO-INFLATION */
    text-size-adjust: 100%;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.overflow-wrapper {
    width: 100%;
    overflow-x: hidden;
    position: relative;
    display: block;
    contain: paint;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

img { max-width: 100%; height: auto; display: block; }

body {
    background-color: var(--creme-papel);
    color: var(--preto-grafite);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
}


/* UTILITÃRIOS */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(15px, 5%, 40px);
}

.container-texto {
    max-width: 800px;
    margin: 0 auto 3.5rem auto;
    padding: 0 clamp(15px, 5%, 40px);
}

/* FAIXA TOPO */
.faixa-topo {
    background-color: #0F4522;
    color: var(--ouro-metalico);
    text-align: center;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 10px 15px;
    text-transform: uppercase;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* HEADER */
header {
    background-color: var(--amarelo-ouro);
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    width: 100%;
    left: 0;
}


.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform var(--transition-smooth);
}

.logo img {
    height: 70px;
    max-width: 100%; /* Safety */
    width: auto;
    display: block;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

.logo:hover { transform: scale(1.02); }

nav { 
    display: flex; 
    gap: 30px; 
    align-items: center;
    max-width: 100%;
}

/* CONTAINER DO CARRINHO */
.cart-wrapper {
    position: relative;
    display: inline-block;
    padding: 5px 0;
}

.nav-carrinho {
    text-decoration: none;
    color: var(--preto-grafite) !important;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 800;

    padding: 8px 18px;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    border: 1px solid var(--verde-bandeira);

}

.nav-carrinho:hover {
    color: var(--amarelo-claro) !important;
    transform: translateY(-2px);
}

#qtd-carrinho {
    background-color: white;
    color: var(--vermelho-marca);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 800;
    transition: all 0.3s ease;
}

.nav-carrinho:hover #qtd-carrinho {
    background-color: var(--amarelo-claro);
}

/* MENU SUSPENSO DO ARMAZÃ‰M */
.cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    padding: 25px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    color: var(--preto-grafite);
    margin-top: 15px;
    text-transform: none;
    border-top: 4px solid var(--vermelho-marca);
}

.cart-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--vermelho-marca);
}

.cart-wrapper:hover .cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.cart-dropdown h4 {
    margin-bottom: 15px;
    font-family: var(--font-sans);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    color: var(--verde-bandeira);
    font-size: 1.1rem;
}

.cart-items-list {
    max-height: 280px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(181, 28, 28, 0.1);
    gap: 10px;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-nome {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--preto-grafite);
    margin-bottom: 2px;
}

.cart-item-meta {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

.cart-item-preco {
    font-weight: 700;
    color: var(--vermelho-marca);
    font-size: 0.95rem;
    white-space: nowrap;
}

.btn-remover-item {
    background: #fdf2f2;
    border: none;
    color: #cc0000;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s;
    line-height: 1;
}


.btn-remover-item:hover {
    color: var(--vermelho-marca);
}

.cart-footer {
    margin-top: 15px;
    border-top: 2px solid #f5f5f5;
    padding-top: 15px;
}

.cart-total-info {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--verde-bandeira);
}

.btn-finalizar-cart {
    display: block;
    width: 100%;
    background-color: var(--vermelho-marca);
    color: white !important;
    text-align: center;
    padding: 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 4px 0 var(--vermelho-escuro);
}

.btn-finalizar-cart:hover {
    background-color: #c92222;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 var(--vermelho-escuro);
}

.cart-empty-msg {
    text-align: center;
    padding: 30px 0;
    color: #999;
    font-style: italic;
    font-size: 0.9rem;
}

nav a {
    text-decoration: none;
    color: var(--preto-grafite) !important;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    transition: color var(--transition-smooth);
}

nav a:hover { color: var(--vermelho-marca) !important; }

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--vermelho-marca);

    transition: width var(--transition-smooth);
}

nav a:hover::after { width: 100%; }

/* HERO - CARTAZ PROPAGANDA */
.cartaz-propaganda {
    min-height: 85vh;
    background: radial-gradient(circle at center, #FFF9E3 0%, #FDF0B4 100%);


    border-bottom: 8px solid var(--vermelho-marca);

    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

/* Efeito de textura sutil */
.cartaz-propaganda::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(235, 182, 45, 0.05) 10px, rgba(235, 182, 45, 0.05) 20px);



    pointer-events: none;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    z-index: 2;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
    width: 100%;
    text-align: center;
    min-width: 0; /* Impede transbordamento flex/grid */
}

.hero-text h2 {
    color: var(--vermelho-marca) !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
    font-style: normal !important;
    font-family: var(--font-sans) !important;
}

.hero-text h1 {
    font-size: clamp(2rem, 7.5vw, 4.5rem) !important;
    line-height: 1.1 !important;
    margin-bottom: 1.5rem !important;
    color: var(--verde-bandeira) !important;
    font-family: var(--font-serif) !important;
    font-style: italic !important;
    text-shadow: 2px 2px 0px rgba(255,255,255,0.4) !important;
    word-break: break-word;
    overflow-wrap: break-word;
}

.hero-text p {
    font-size: 1.3rem !important;
    color: var(--preto-grafite) !important;
    margin-bottom: 2.5rem !important;
    max-width: 500px !important;
    font-family: var(--font-sans) !important;
    line-height: 1.6 !important;
}


.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInRight 1.2s ease-out;
    z-index: 1;
}

/* Efeito Muito Elegante e Sutil: Calor e Vintage */
.hero-image-container::before {
    /* Brilho quente suave e amplo */
    content: '';
    position: absolute;
    width: 100%; /* Limitado ao container para nÃ£o vazar */
    height: 100%;
    background: radial-gradient(circle, rgba(197, 100, 40, 0.25) 0%, rgba(120, 40, 15, 0.08) 50%, transparent 100%);
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: blur(20px);
    animation: respiracaoQuente 6s ease-in-out infinite alternate;
}

.hero-image-container img {
    max-width: 95%;
    height: auto;
    filter: drop-shadow(0 25px 35px rgba(60, 20, 10, 0.25)); /* Sombra quente muito suave */
    animation: floatSuave 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

/* AnimaÃ§Ãµes Sutis e ClÃ¡ssicas */
@keyframes respiracaoQuente {
    0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.7; }
    100% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
}

@keyframes floatSuave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .hero-image-container { animation: fadeInUp 1s ease-out; }
    .hero-image-container::before { display: none; } /* Remove o brilho se ele estiver vazando */
}

@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-text h1 { font-size: 3.2rem !important; }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .cartaz-propaganda { padding: 80px 0 40px; }
}

/* BOTÃ•ES */
.btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 45px;
    border-radius: 6px;
    transition: all var(--transition-quick);
    cursor: pointer;
    border: 2px solid var(--preto-grafite);
}

.btn-hero {
    background-color: #C56428;
    color: white;
    border-color: #C56428;
    box-shadow: 0 6px 0 #934B1E, 0 10px 20px rgba(0,0,0,0.2);
}

.btn-hero:hover {
    background-color: #d97232;
    color: white;
    border-color: #d97232;
    transform: translateY(2px);
    box-shadow: 0 4px 0 #934B1E, 0 8px 15px rgba(0,0,0,0.2);
}

.btn-hero:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #934B1E, 0 4px 6px rgba(0,0,0,0.2);
}

/* SEÃ‡ÃƒO HISTÃ“RIA */
.nossa-historia {
    background-color: var(--verde-bandeira);
    color: var(--creme-papel);
    padding: var(--gap-xl) 20px;
}

.historia-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.titulo-historia, .titulo-secao {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    line-height: 1.2;
}

.titulo-historia {
    color: var(--amarelo-ouro);
    margin-bottom: 2rem;
}

.nossa-historia p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.grid-processo img {
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: zoom-in;
}

.grid-processo img:hover {
    transform: scale(1.05);
    border-color: var(--amarelo-claro) !important;
}

.brasao-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brasao-historia {
    background-color: var(--verde-bandeira);
    border: 2px solid var(--ouro-metalico);
    border-radius: 50%;
    width: 340px;
    height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    position: relative;
    transition: all var(--transition-slow);
    box-shadow: inset 0 0 40px rgba(0,0,0,0.22), 0 15px 30px rgba(0,0,0,0.15);
}

.brasao-historia::before {
    content: '';
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 1px dashed var(--ouro-metalico);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.7;
}

.brasao-historia::after {
    content: '';
    position: absolute;
    top: -8px; left: -8px; right: -8px; bottom: -8px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

.brasao-historia:hover {
    transform: translateY(-10px);
    box-shadow: inset 0 0 50px rgba(0,0,0,0.3), 0 20px 40px rgba(0,0,0,0.25);
    border-color: var(--amarelo-claro);
}

.brasao-historia:hover::before {
    border-color: var(--amarelo-claro);
    animation: girar 10s linear infinite;
}

@keyframes girar {
    100% { transform: rotate(360deg); }
}

.icone-brasao {
    font-size: 2.2rem;
    margin-bottom: 10px;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.3));
}

.brasao-historia span {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
    color: var(--amarelo-ouro);
    font-size: 1.9rem;
    line-height: 1.1;
    margin-bottom: 15px;
    z-index: 2;
}

.brasao-historia small {
    font-family: var(--font-sans);
    color: var(--creme-papel);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0.9;
    z-index: 2;
    border-top: 1px solid rgba(197, 160, 89, 0.5);
    padding-top: 10px;
}

/* SEÃ‡ÃƒO PROMESSA */
.nossa-promessa {
    background-color: #F2EFE3;
    padding: var(--gap-xl) 20px;
    text-align: center;
    border-bottom: 6px solid var(--ouro-metalico);
}

.titulo-secao {
    color: var(--vermelho-marca);
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
}

.titulo-secao::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--ouro-metalico);
}

.grid-promessas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.card-promessa {
    background-color: white;
    border-radius: 8px;
    border-top: 6px solid var(--vermelho-marca);
    padding: 2.5rem 1.5rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.card-promessa:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-promessa .icone {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.card-promessa h4 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--verde-bandeira);
    margin-bottom: 1rem;
}

.card-promessa p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* SEÃ‡ÃƒO GALERIA/SLIDER */
.galeria-carrossel {
    background-color: var(--verde-escuro);
    padding: 7rem 20px;
    text-align: center;
}

.galeria-carrossel .titulo-secao {
    color: var(--amarelo-ouro);
    margin-bottom: 2rem;
}

.galeria-carrossel .titulo-secao::after {
    background-color: var(--amarelo-ouro);
}

.galeria-carrossel p {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    color: var(--creme-papel);
    opacity: 0.95;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.galeria-mosaico {
    width: 100%;
    max-width: 1500px;
    margin: 40px auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0; /* Zero espaçamento vertical entre linhas */
}

.mosaico-row {
    display: flex;
    width: 100%;
    align-items: stretch; /* Garante que todos na linha tenham a mesma altura */
    gap: 0; /* Zero espaçamento horizontal entre imagens */
}

.item-mosaico {
    position: relative;
    overflow: hidden;
    flex: 1; /* Divide o espaço da linha proporcionalmente */
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    background-color: #000;
}

/* Classes de largura baseada na PROPORÇÃO EXATA (Magic Ratio) */
/* flex: <aspect-ratio> 1 0; garante que todas as imagens na linha tenham a mesma altura sem cortes! */
.item-mosaico.video-yt { flex: 1.778 1 0; } /* 16:9 = 1.778 */
.item-mosaico.video-globo { flex: 1 1 0; } /* 1:1 = 1.0 */
.item-mosaico.foto { flex: 1.5 1 0; } /* 3:2 Landscape = 1.5 */
.item-mosaico.foto-sm { flex: 1.5 1 0; } /* 3:2 Landscape = 1.5 */
.item-mosaico.foto-retrato { flex: 0.667 1 0; } /* 2:3 Portrait = 0.667 */

/* Removemos aspect-ratio fixo do container, deixamos o Flexbox e a imagem ditarem o formato perfeitamente */
.item-mosaico.video-globo, 
.item-mosaico.video-yt, 
.item-mosaico.foto, 
.item-mosaico.foto-sm { 
    aspect-ratio: auto; 
    min-height: 0; 
}


@media (max-width: 768px) {
    .mosaico-row {
        flex-wrap: wrap !important;
    }
    
    .item-mosaico {
        flex: 1 1 50% !important;
        min-height: 150px;
        -webkit-tap-highlight-color: transparent;
    }

    .item-mosaico.video-yt {
        flex: 1 1 100% !important;
    }

    .play-overlay {
        pointer-events: none;
    }

    /* Redução do Botão Play no Mobile */
    .item-mosaico.video::before {
        width: 44px !important;
        height: 44px !important;
        pointer-events: none;
    }
    .item-mosaico.video::after {
        border-left-width: 14px !important;
        border-top-width: 9px !important;
        border-bottom-width: 9px !important;
        pointer-events: none;
    }
}



.item-mosaico img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important; /* Como o container tem a proporção exata, o cover não corta nada, apenas mata frestas de pixel */
    filter: saturate(0.6) brightness(0.9) sepia(0.05);
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease;
}

/* Sem regra separada de contain para vídeo, para evitar as barras pretas */

.item-mosaico:hover img {
    transform: scale(1.08);
    filter: saturate(1) brightness(1) sepia(0);
}



/* Legendas Modernas */
.item-mosaico .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    z-index: 5;
}

.item-mosaico:hover .caption {
    transform: translateY(0);
}

.item-mosaico .caption h4 {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin: 0;
    color: var(--amarelo-ouro);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Overlay de Vídeo */
.play-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, transparent 70%);
    z-index: 2;
    transition: all 0.3s ease;
}

.item-mosaico.video::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 64px;
    height: 64px;
    background: var(--vermelho-marca);
    border-radius: 50%;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(184, 29, 29, 0.4);
    border: 2px solid white;
}

/* Ícone do triângulo do play */
.item-mosaico.video::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid white;
    z-index: 11;
    transition: all 0.4s ease;
}

.item-mosaico.video:hover::before {
    background: var(--amarelo-ouro);
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 0 30px rgba(235, 182, 45, 0.6);
    border-color: var(--verde-escuro);
}

.item-mosaico.video:hover::after {
    border-left-color: var(--verde-escuro);
}

.item-mosaico.video .caption h4 {
    color: var(--amarelo-ouro);
}

/* Ajuste no Lightbox para VÃ­deo */
.video-container {
    position: relative;
    width: 90vw;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    border: 6px solid var(--ouro-metalico);
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    display: none;
    background-color: #000;
}

.video-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--amarelo-ouro);
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 1;
    display: none;
    text-align: center;
    width: 100%;
}

.video-container.carregando .video-loader {
    display: block;
}

.video-container.carregando iframe {
    opacity: 0;
}

#video-iframe {
    transition: opacity 0.5s ease;
}

.lightbox.video-ativo .video-container {
    display: block;
}

.lightbox.video-ativo .lightbox-img {
    display: none;
}

.video-container iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: black;
}


.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 20px;
    transition: opacity 0.4s ease;
}


.lightbox.ativo {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 100%;
    max-height: 100%;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    border: 4px solid white;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    object-fit: contain;
}

.btn-fechar-lightbox {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 50px;
    cursor: pointer;
    line-height: 1;
    z-index: 100;
    transition: transform 0.3s ease;
}

.btn-fechar-lightbox:hover {
    transform: scale(1.1);
}

/* Setas de Navegação Lightbox */
.nav-lightbox {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 3rem;
    padding: 20px;
    cursor: pointer;
    z-index: 99;
    transition: all 0.3s ease;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    backdrop-filter: blur(5px);
}

.nav-lightbox:hover {
    background: var(--amarelo-ouro);
    color: var(--verde-escuro);
    transform: translateY(-50%) scale(1.1);
}

.nav-lightbox.prev { left: -100px; }
.nav-lightbox.next { right: -100px; }

/* Dica de Navegação Mobile */
.lightbox-nav-hint {
    display: none;
    position: absolute;
    bottom: 25px; /* Posição fixa no rodapé do modal */
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 30px;
    white-space: nowrap;
    z-index: 10000; /* Garantir que fique sobre tudo */
    pointer-events: none; /* Não interferir com cliques/swipes */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 1100px) {
    .nav-lightbox.prev { left: 10px; background: rgba(0,0,0,0.4); }
    .nav-lightbox.next { right: 10px; background: rgba(0,0,0,0.4); }
}

@media (max-width: 768px) {
    .nav-lightbox {
        display: none;
    }
    .lightbox-nav-hint {
        display: block;
    }
    .btn-fechar-lightbox {
        top: 20px;
        right: 20px;
        background: rgba(0,0,0,0.6);
        border-radius: 50%;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        z-index: 10001;
    }
    .lightbox {
        padding: 60px 20px 80px 20px; /* Mais padding para garantir espaço para botões e dicas */
    }
    .lightbox-img, .video-container {
        max-height: 65vh; /* Reduzido um pouco mais para garantir que não chegue na dica */
        object-fit: contain;
    }
}

/* Botão Play dentro do Lightbox */
.lightbox-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: var(--amarelo-ouro);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 28px solid var(--verde-escuro);
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    margin-left: 10px;
}

.lightbox-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.15);
    background: white;
}

.lightbox.video-aguardando .lightbox-play-btn {
    display: flex;
}

.lightbox.video-aguardando .lightbox-img {
    filter: brightness(0.5) blur(2px);
    cursor: pointer;
}

/* Navegação Mobile com Setas Discretas nas Bordas */
.mobile-nav-controls {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Deixa passar clique para o conteúdo se necessário */
    z-index: 10001;
}

.m-nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    backdrop-filter: blur(2px);
    transition: all 0.2s ease;
    pointer-events: auto; /* Reativa clique nas setas */
    -webkit-tap-highlight-color: transparent;
}

.m-nav.up {
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
}

.m-nav.down {
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
}

.m-nav.left {
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.m-nav.right {
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.m-nav:active {
    background: rgba(255,255,255,0.2);
    color: white;
    transform: scale(0.9) translateX(var(--tx, 0)) translateY(var(--ty, 0)); /* Preserva o transform original no active */
}

/* Ajuste de transform para active individual */
.m-nav.up:active { transform: translateX(-50%) scale(0.9); }
.m-nav.down:active { transform: translateX(-50%) scale(0.9); }
.m-nav.left:active { transform: translateY(-50%) scale(0.9); }
.m-nav.right:active { transform: translateY(-50%) scale(0.9); }

@media (max-width: 768px) {
    .mobile-nav-controls {
        display: block; /* Mostra o container que agora é fullscreen e transparente */
    }
    .lightbox {
        padding: 40px 10px;
    }
}


/* Estilos da galeria mobile removidos para evitar conflito com flexbox */


/* SEÃ‡ÃƒO PRATELEIRA (PRODUTOS) */
.prateleira {
    padding: var(--gap-xl) 20px;
    background-image: linear-gradient(to bottom, var(--creme-papel), #EAE5D4);
}

.grid-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.card-produto {
    background-color: var(--amarelo-ouro);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 4px solid var(--vermelho-marca);
    outline: 2px solid var(--ouro-metalico);
    outline-offset: -10px;
    display: flex;
    flex-direction: column;
}

.card-produto:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    z-index: 2;
}

.tarja-qtd {
    position: absolute;
    top: 30px;
    right: -50px;
    width: 180px;
    text-align: center;
    color: white;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 6px 0;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: 1px dashed rgba(255,255,255,0.5);
    z-index: 10;
}

.faixa-nome {
    background-color: var(--vermelho-marca);
    color: white;
    padding: 35px 20px 45px 20px;
    text-align: center;
    border-bottom: 5px solid var(--ouro-metalico);
    border-bottom-left-radius: 50% 15px;
    border-bottom-right-radius: 50% 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.faixa-nome h3 {
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 1.8rem;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.peso-liq {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--amarelo-claro);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-top: 5px;
    font-weight: 600;
}

.centro-ilustracao {
    width: 150px;
    height: 150px;
    background-color: var(--creme-papel);
    border: 6px solid var(--ouro-metalico);
    border-radius: 50%;
    margin: -40px auto 25px auto;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 5px 10px rgba(0,0,0,0.1), 0 10px 20px rgba(0,0,0,0.25);
}

.centro-ilustracao span {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--verde-bandeira);
    font-size: 1.3rem;
    font-weight: 700;
}

.faixa-info {
    padding: 0 30px 30px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.faixa-info p {
    font-size: 1.05rem;
    color: var(--preto-grafite);
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.5;
}

.preco-wrapper {
    margin-top: auto;
    margin-bottom: 20px;
}

.preco-antigo {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: #888;
    text-decoration: line-through;
    display: block;
    margin-bottom: -5px;
    font-weight: 600;
}

.preco-vintage {
    font-family: var(--font-sans);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--verde-bandeira);
    display: inline-block;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.5);
    line-height: 1;
}

.badge-desconto {
    display: inline-block;
    background-color: var(--vermelho-marca);
    color: var(--amarelo-claro);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    vertical-align: middle;
    margin-left: 8px;
    position: relative;
    top: -8px;
    box-shadow: 2px 2px 0px var(--vermelho-escuro);
    border: 1px solid var(--ouro-metalico);
}

.btn-comprar {
    display: block;
    width: 100%;
    background-color: var(--verde-bandeira);
    color: white;
    box-shadow: 0 6px 0 var(--verde-escuro), 0 10px 20px rgba(0,0,0,0.2);
}

.btn-comprar:hover {
    background-color: #155c2d;
    transform: translateY(2px);
    box-shadow: 0 4px 0 var(--verde-escuro), 0 8px 15px rgba(0,0,0,0.2);
}

.btn-comprar:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 var(--verde-escuro), 0 4px 6px rgba(0,0,0,0.2);
}

/* SEÃ‡ÃƒO CONTATO */
.contato {
    background-color: var(--amarelo-ouro);
    padding: var(--gap-xl) 20px;
    text-align: center;
    border-top: 10px solid var(--vermelho-marca);
    background-image: radial-gradient(circle at top right, rgba(255,255,255,0.2), transparent);
}

.contato .titulo-secao {
    color: var(--verde-bandeira);
    margin-bottom: 2rem;
}

.contato .titulo-secao::after {
    background-color: var(--verde-bandeira);
}

.desc-contato {
    font-family: var(--font-serif) !important;
    font-style: italic !important;
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
    margin-bottom: 60px !important;
    color: var(--preto-grafite) !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 15px !important;
}



.grid-contato {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1050px;
    margin: 0 auto;
    align-items: stretch;
}

.card-contato {
    background-color: var(--verde-bandeira) !important;
    color: white !important;
    padding: 3rem 1.5rem !important;
    border-radius: 8px !important;
    border: 4px solid var(--preto-grafite) !important;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15) !important;
    transition: transform var(--transition-smooth) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important; /* Center content now that it's just icon+title+btn */
    text-align: center !important;
    min-height: 280px !important; /* Compact height */
}


.card-contato .icone-contato {
    font-size: 3.5rem !important;
    margin-bottom: 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 70px !important; /* Fixed icon area */
}

.card-contato h4 {
    font-family: var(--font-sans) !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--amarelo-ouro) !important;
    margin-bottom: 1.5rem !important;
    height: 35px !important; /* Fixed title area */
    display: flex !important;
    align-items: center !important;
}

.card-contato p.txt-contato {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    color: white !important;
    margin: 0 0 20px 0 !important;
    flex-grow: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 50px !important; /* Ensure same text area height */
}

.email-link {
    word-break: keep-all !important;
    white-space: nowrap !important;
    font-size: 0.95rem !important;
}

.btn-card-contato {
    display: inline-block !important;
    background-color: transparent !important;
    color: var(--amarelo-ouro) !important;
    padding: 10px 22px !important;
    border-radius: 30px !important;
    font-family: var(--font-sans) !important;
    font-weight: 600 !important;
    text-transform: none !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    margin-top: auto !important; /* Push to bottom */
    transition: all 0.3s ease !important;
    border: 1.5px solid var(--amarelo-ouro) !important;
    width: fit-content !important;
}

.btn-card-contato:hover {
    background-color: var(--amarelo-ouro) !important;
    color: var(--verde-bandeira) !important;
    transform: translateY(-3px) !important;
}


/* FOOTER */
footer {
    background-color: var(--preto-grafite);
    color: var(--creme-papel);
    text-align: center;
    padding: 4rem 20px;
    border-top: 8px solid var(--ouro-metalico);
}

footer .titulo-rodape {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
    font-size: 2rem;
    color: var(--ouro-metalico);
    margin-bottom: 15px;
    display: block;
}

footer p {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
}

footer .links-rodape {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

footer .links-rodape a {
    color: var(--ouro-metalico);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 10px;
    border: 1px solid transparent;
    transition: all var(--transition-smooth);
}

footer .links-rodape a:hover {
    border-color: var(--ouro-metalico);
    background-color: rgba(197, 160, 89, 0.1);
}

/* SEÃ‡ÃƒO SOBRE A CIDADE */
.sobre-cidade {
    padding: 100px 0;
    background-color: var(--creme-papel);
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

.sobre-cidade .container-texto p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--preto-grafite);
    margin-bottom: 1.5rem;
}

/* SEÃ‡ÃƒO FAQ */
.faq {
    background-color: #F2EEE3; /* Bege claro sofisticado */
    padding: var(--gap-xl) 20px;
}


.faq .titulo-secao {
    margin-bottom: 4rem;
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.faq-categoria {
    margin-bottom: 5rem;
}

.faq-categoria h3 {
    font-family: var(--font-sans);
    color: var(--verde-bandeira);
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    padding: 8px 15px;
    background-color: rgba(15, 69, 34, 0.05);
    border-left: 4px solid var(--ouro-metalico);
    display: block;
    width: fit-content;
}

.faq-item {
    background-color: white;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    border-color: rgba(15, 69, 34, 0.15);
}

.faq-item.ativo {
    border-left: 6px solid var(--verde-bandeira);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.faq-pergunta {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 25px;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--preto-grafite);
    transition: all 0.3s ease;
}

.faq-item.ativo .faq-pergunta {
    color: var(--verde-bandeira);
    padding-bottom: 10px;
}

.faq-pergunta .seta {
    position: relative;
    width: 32px;
    height: 32px;
    background-color: rgba(15, 69, 34, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-pergunta .seta::before {
    content: '+';
    font-size: 1.5rem;
    color: var(--verde-bandeira);
    font-weight: 400;
}

.faq-item.ativo .faq-pergunta .seta {
    background-color: var(--verde-bandeira);
    transform: rotate(45deg);
}

.faq-item.ativo .faq-pergunta .seta::before {
    color: white;
}

.faq-resposta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.ativo .faq-resposta {
    max-height: 800px;
}

.faq-resposta p {
    padding: 10px 25px 25px 25px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* RESPONSIVO */



@media (max-width: 900px) {
    .historia-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 3rem; 
    }
    .brasao-container { order: -1; }
    .slider-wrapper { height: 450px; }
}

@media (max-width: 768px) {
    .faixa-topo { 
        font-size: 0.75rem; 
        letter-spacing: 0.5px; 
        padding: 8px; 
    }
    .header-content { 
        flex-direction: column; 
        gap: 8px; 
        align-items: stretch; /* Impede que os itens excedam a largura centralizando */
    }
    nav { 
        gap: 8px; 
        flex-wrap: wrap; 
        justify-content: center; 
        width: 100%; /* Força a quebra de linha se não couber */
    }
    nav a { font-size: 0.85rem; }

    /* Header compacto ao rolar: transiÃ§Ã£o suave para nÃ£o piscar a tela */
    .header-content {
        transition: padding 0.3s ease;
    }
    header .logo {
        transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease, padding 0.3s ease;
        overflow: hidden;
        max-height: 100px;
        opacity: 1;
        max-width: 100%;
        display: block;
        text-align: center;
    }
    header .logo img {
        max-width: 100%;
        width: 100%;
        height: auto;
        max-height: 60px; /* Reduz altura p/ garantir fit horizontal */
        object-fit: contain;
    }
    header nav > a {
        display: inline-block; /* NecessÃ¡rio para max-height e overflow funcionarem e colapsarem a altura */
        transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease, padding 0.3s ease;
        overflow: hidden;
        max-height: 50px; 
        opacity: 1;
    }
    header.compacto .logo, header.compacto nav > a {
        max-height: 0;
        opacity: 0;
        margin: 0;
        padding: 0;
        border: none;
        line-height: 0; /* Garante que nÃ£o ocupe espaÃ§o residual */
    }
    header.compacto .header-content {
        flex-direction: row;
        justify-content: center;
        padding: 0 10px; /* Sem padding vertical */
        height: 46px;    /* ForÃ§a uma altura bem fina */
        gap: 0;
    }
    header.compacto nav {
        gap: 0;
    }
    header.compacto .nav-carrinho {
        padding: 2px 12px;
        font-size: 0.8rem;
    }

    /* â•â• ARMAZÃ‰M MOBILE: bottom sheet â•â•
       position:fixed;bottom:0 funciona em todos os browsers,
       incluindo iOS Safari â€” sem depender de containing block */
    .cart-wrapper {
        position: static;
    }
    /* Cancela hover (touch nÃ£o tem hover real) */
    .cart-wrapper:hover .cart-dropdown {
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(100%) !important;
    }
    .cart-dropdown {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 80vh;
        overflow-y: auto;
        border-radius: 20px 20px 0 0 !important;
        border-top: 4px solid var(--vermelho-marca) !important;
        border-left: none;
        margin-top: 0;
        padding: 28px 20px 32px;
        /* comeÃ§a fora da tela abaixo */
        transform: translateY(100%) !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        z-index: 1001 !important;
    }
    .cart-dropdown::before { display: none; }
    /* Aberto via JS: slide-up */
    .cart-dropdown.aberto {
        transform: translateY(0) !important;
    }
    /* Overlay escuro por trÃ¡s do painel */
    .cart-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        backdrop-filter: blur(2px);
    }
    .cart-overlay.ativa { display: block; }

    .hero-text h2 {
        letter-spacing: 1px !important;
        margin-right: -1px !important; /* Compensação para centralização perfeita */
        text-align: center;
        word-break: break-word;
        white-space: normal;
        overflow-wrap: break-word;
    }
    .hero-text h1 {
        text-align: center;
        width: 100%;
    }
    .cartaz-propaganda { 
        padding: 5rem 0; 
        width: 100%;
        overflow-x: hidden;
        min-width: 0;
    }
    .cartaz-propaganda h1 { 
        font-size: clamp(1.5rem, 8vw, 2.5rem) !important;
        margin-bottom: 1rem; 
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .cartaz-propaganda p { 
        font-size: 1.2rem; 
        padding: 0; 
        margin-bottom: 2.5rem; 
    }

    .titulo-historia, .titulo-secao { 
        font-size: clamp(1.6rem, 8vw, 2.2rem); 
        margin-bottom: 2.5rem; 
    }

    .brasao-historia { 
        width: 260px; 
        height: 260px; 
    }
    .brasao-historia span {
        font-size: 1.6rem;
    }
    .prateleira, .nossa-promessa, .nossa-historia, .contato, .galeria-carrossel { 
        padding: 4rem 0; 
        min-width: 0;
    }

    .slider-wrapper { height: 350px; }
    .btn-slide { 
        width: 45px; 
        height: 45px; 
        font-size: 1.2rem; 
        opacity: 1; 
    }

    .grid-contato { 
        grid-template-columns: 1fr; 
        gap: 2.5rem; 
    }
    .card-contato { padding: 2.5rem 1.5rem; }
    .contato > p { margin-bottom: 60px; }
}

@media (max-width: 480px) {
    .cartaz-propaganda h1 { font-size: clamp(1.2rem, 9vw, 2rem) !important; }
    .cartaz-propaganda h2 { 
        font-size: 0.95rem; 
        letter-spacing: 1px; 
    }
    .cartaz-propaganda p { font-size: 1.1rem; }

    .btn-hero { 
        width: 100%; 
        text-align: center; 
        padding: 15px; 
    }

    .titulo-historia, .titulo-secao { 
        font-size: clamp(1.4rem, 10vw, 1.8rem); 
        margin-bottom: 2.5rem; 
        text-align: center;
        width: 100%;
    }
    .contato > p { 
        font-size: 1.15rem; 
        margin-bottom: 50px; 
    }
    .galeria-carrossel p { 
        font-size: 1.1rem; 
        margin-bottom: 2.5rem; 
    }

    .slider-wrapper { height: 280px; }
    .btn-prev { left: 10px; }
    .btn-next { right: 10px; }

    .grid-produtos { 
        grid-template-columns: 1fr; 
        gap: 2.5rem; 
    }
    .grid-promessas { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
    }

    .badge-desconto { 
        font-size: 0.75rem; 
        padding: 2px 6px; 
        top: -5px; 
    }
    .preco-vintage { font-size: 2.4rem; }
}


.cart-dropdown h4 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--vermelho-marca);
    font-family: var(--font-sans);
    font-size: 1.4rem;
    border-bottom: 2px dashed rgba(181, 28, 28, 0.2);
    padding-bottom: 12px;
    text-align: center;
}


.cart-items-list {
    max-height: 280px;
    overflow-y: auto;
    margin-bottom: 15px;
    padding-right: 5px; /* EspaÃ§o para o scrollbar */
}

/* CustomizaÃ§Ã£o do Scrollbar */
.cart-items-list::-webkit-scrollbar {
    width: 6px;
}
.cart-items-list::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 10px;
}
.cart-items-list::-webkit-scrollbar-thumb {
    background: #ccc; 
    border-radius: 10px;
}

.cart-empty-msg {
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 30px 0;
    font-family: 'Montserrat', sans-serif;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-nome {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--texto-escuro);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 3px;
}

.cart-item-meta {
    font-size: 0.85rem;
    color: #777;
}

.cart-item-preco {
    font-weight: 800;
    color: var(--verde-bandeira);
    margin: 0 15px;
    font-size: 1rem;
}

/* BOTÃƒO DE REMOVER "X" */
.btn-remover-item {
    color: #ff4444;
    cursor: pointer;
    font-size: 1.8rem; /* Bem maior como solicitado */
    font-weight: bold;
    line-height: 1;
    transition: all 0.2s ease;
    padding: 5px 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remover-item:hover {
    background-color: rgba(255, 68, 68, 0.1);
    transform: scale(1.1);
}

.cart-footer {
    border-top: 2px dashed rgba(181, 28, 28, 0.2);
    padding-top: 15px;
}

.cart-total-info {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--texto-escuro);
    margin-bottom: 20px;
}

.btn-finalizar-cart {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--verde-bandeira);
    color: white !important;
    padding: 15px;
    border-radius: 8px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 0 #1b4d3e;
    letter-spacing: 1px;
}

.btn-finalizar-cart:hover {
    background-color: #2d8a6e;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #1b4d3e;
}

/* ==========================================================================
   BOTÃ•ES DOS CARDS (COMPRAR E VER CARRINHO)
   ========================================================================== */

.botoes-container {
    margin-top: 15px;
}

.btn-comprar {
    display: block !important;
    width: 100% !important;
    padding: 15px 20px !important;
    background-color: var(--vermelho-marca) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 0 var(--vermelho-escuro) !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    text-decoration: none !important;
}

.btn-comprar:hover {
    background-color: #c92222 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 0 var(--vermelho-escuro) !important;
}



/* ==========================================================================
   NOVO FLUXO: QUANTIDADE E ADICIONAR (DESIGN VINTAGE E REFINADO)
   ========================================================================== */

.secao-quantidade {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
}

.secao-quantidade.escondido {
    display: none !important;
}

.controle-qtd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bege-fundo);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 0;
    height: 48px;
    width: 110px;
    flex-shrink: 0;
}

.btn-qtd-menos, .btn-qtd-mais {
    background-color: transparent;
    border: none;
    color: var(--texto-escuro);
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s;
    font-family: 'Montserrat', sans-serif;
    padding: 0;
    width: 35px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-qtd-menos:hover, .btn-qtd-mais:hover {
    color: var(--vermelho-marca);
}

.input-qtd {
    width: 35px;
    text-align: center;
    border: none;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--vermelho-marca);
    font-family: 'Montserrat', sans-serif;
    outline: none;
    background-color: transparent;
    -moz-appearance: textfield;
}

/* Remove as setinhas padrÃ£o do input type number */
.input-qtd::-webkit-outer-spin-button,
.input-qtd::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-adicionar {
    flex-grow: 1;
    height: 48px;
    background-color: var(--verde-bandeira) !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 0 #1b4d3e !important;
    transition: all 0.3s ease !important;
    padding: 0 5px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-adicionar:hover {
    background-color: #2d8a6e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 0 #1b4d3e !important;
}

/* ==========================================================================
   BOTÃƒO FLUTUANTE WHATSAPP
   ========================================================================== */
.whatsapp-float {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    left: auto !important;
    z-index: 99999 !important;
    text-decoration: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    background-color: transparent !important;
    animation: bouncy 3s ease-in-out infinite !important;
    transition: all 0.3s ease !important;
}

.whatsapp-float:hover {
    transform: scale(1.1) !important;
}

.whatsapp-icon-img {
    width: 42px !important;
    height: 42px !important;
    display: block !important;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)) !important;
    animation: shadowPulse 2s infinite !important;
    border-radius: 50% !important;
}

.whatsapp-text-below {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background-color: var(--verde-bandeira) !important;
    padding: 2px 7px !important;
    border-radius: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    margin-top: 3px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
    animation: textMoving 3s ease-in-out infinite !important;
    display: inline-block !important;
    opacity: 1 !important;
    white-space: nowrap !important;
}






@keyframes textMoving {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}


/* Removido textGlow para manter legibilidade com mix-blend-mode */








@keyframes shadowPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}




@keyframes bouncy {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 20px !important;
        right: 15px !important;
        width: 45px !important;
        height: 45px !important;
    }
    .whatsapp-icon-img {
        width: 26px !important;
        height: 26px !important;
    }
}



.whatsapp-text {
    display: none !important;
}



@keyframes bobbing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}




@keyframes pulseWhatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 25px;
        right: 25px !important;
    }
    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
}


/* ==========================================================================
   REFINAMENTOS MOBILE (CART & HEADER)
   ========================================================================== */
.cart-header-mobile {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.btn-fechar-cart {
    background: #f5f5f5;
    border: none;
    font-size: 1.8rem;
    color: var(--preto-grafite);
    cursor: pointer;
    line-height: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.btn-fechar-cart:hover {
    background: #e0e0e0;
}

@media (max-width: 768px) {
    .cart-header-mobile {
        display: flex;
    }
    .cart-dropdown {
        box-shadow: 0 -5px 25px rgba(0,0,0,0.1) !important;
    }
}

/* EstabilizaÃ§Ã£o do Header */
header {
    transition: height 0.3s ease, background-color 0.3s ease;
    will-change: height, background-color;
}

.header-content {
    transition: padding 0.3s ease;
}
