/* ============================================
   MONTARTE - Estilos CSS
   ============================================ */

/* Configurações Base */
body {
    font-family: 'Inter', sans-serif;
    background-color: #fdfaf6;
    color: #19291f;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-outfit {
    font-family: 'Outfit', sans-serif;
}

/* ============================================
   GRADIENTES E EFEITOS
   ============================================ */

/* Gradiente de Destaque */
.text-accent-gradient {
    background: linear-gradient(135deg, #f0b91e, #dca310);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   CARDS MODERNOS
   ============================================ */
.card-modern {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(160, 150, 135, 0.2);
}

.card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(25, 41, 31, 0.1);
    border-color: #f0b91e;
}

/* ============================================
   EFEITOS DE IMAGEM
   ============================================ */

/* Zoom na Imagem ao Passar o Mouse */
.img-hover-zoom {
    overflow: hidden;
}

.img-hover-zoom img {
    transition: transform 0.6s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.08);
}

/* ============================================
   ANIMAÇÕES DE SCROLL
   ============================================ */

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   WHATSAPP PULSE
   ============================================ */
@keyframes wp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(240, 185, 30, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(240, 185, 30, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(240, 185, 30, 0);
    }
}

.wp-pulse {
    animation: wp-pulse 2s infinite;
}

/* ============================================
   ANIMAÇÃO FADE IN
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    animation: fadeInLightbox 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeInLightbox {
    from { 
        opacity: 0; 
        transform: scale(0.95);
    }
    to { 
        opacity: 1; 
        transform: scale(1);
    }
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #f0b91e;
}

.lightbox-caption {
    text-align: center;
    color: white;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 500;
}

/* Lightbox Mobile */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 100%;
        max-height: 100vh;
        padding: 10px;
    }
    
    .lightbox-content img {
        max-height: 85vh;
        border-radius: 8px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 32px;
        padding: 10px;
        min-width: 48px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
    }
    
    .lightbox-caption {
        font-size: 14px;
        padding: 12px 0;
    }
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

/* Ajustes para Mobile */
@media (max-width: 768px) {
    .card-modern:hover {
        transform: translateY(-4px);
    }
    
    .img-hover-zoom:hover img {
        transform: scale(1.05);
    }
}

/* Ajustes para Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .card-modern:hover {
        transform: translateY(-6px);
    }
}

/* ============================================
   LIGHTBOX / MODAL
   ============================================ */
#lightbox {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#lightbox-img {
    animation: lightboxFadeIn 0.3s ease-out;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Lightbox Mobile */
@media (max-width: 768px) {
    #lightbox-close {
        top: -2.5rem;
        right: 0;
        font-size: 1.5rem;
    }
    
    #lightbox-img {
        max-height: 60vh;
    }
}

/* ============================================
   GALERIA - INDICADOR DE ZOOM
   ============================================ */
.gallery-item {
    position: relative;
    cursor: pointer;
}

.gallery-item::after {
    content: '\f00e'; /* fa-search */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(25, 41, 31, 0.7);
    color: #f0b91e;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Mobile: mostrar ícone de zoom */
@media (max-width: 768px) {
    .gallery-item::after {
        opacity: 0.8;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .gallery-item:active::after {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
    
    .gallery-item:active img {
        filter: brightness(0.9);
    }
}
