/**
 * Pets Premium Styles
 * Design corporativo premium com refinamento visual
 * Fontes: Montserrat (principal) e Inter (modal)
 */

/* ========================================
   FONTES DO PROJETO
   ======================================== */

/* Importar Montserrat e Inter do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* Aplicar Montserrat como fonte padrão da página */
body,
.font-montserrat {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ========================================
   MODAL DE PERFIL - PREMIUM
   ======================================== */

/* Bloquear scroll quando modal aberto */
body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

/* Overlay - Escurece e desfoca TODO o fundo */
.profile-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 999998 !important;
    background: rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 40px 20px !important;
    animation: overlayFadeIn 0.3s ease-out;
}

.profile-modal-overlay[style*="display: none"] {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

.profile-modal-overlay.hidden {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

/* Modal Container */
.profile-modal {
    position: relative !important;
    z-index: 999999 !important;
    width: min(920px, calc(100vw - 40px)) !important;
    max-height: calc(100vh - 80px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-overflow-scrolling: touch;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Header do Modal */
.profile-modal-header {
    background: linear-gradient(135deg, #10AD31 0%, #0d9129 100%);
    padding: 32px 40px;
    position: relative;
}

.profile-modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 8px 0;
    color: #ffffff;
}

.profile-modal-header p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

/* Botão Fechar */
.profile-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.profile-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.profile-modal-close svg {
    width: 20px;
    height: 20px;
}

/* Body do Modal */
.profile-modal-body {
    padding: 32px 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Cards de Perfil */
.profile-option {
    padding: 32px 24px;
    border-radius: 16px;
    border: 2px solid #E5E7EB;
    background: #FFFFFF;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: left;
    position: relative;
    overflow: visible;
}

.profile-option:hover {
    border-color: #10AD31;
    box-shadow: 0 12px 32px -8px rgba(16, 173, 49, 0.15);
    transform: translateY(-2px);
}

.profile-option:active {
    transform: translateY(0);
}

/* Ícones dos Cards */
.profile-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.profile-icon svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
}

/* Títulos dos Cards */
.profile-option h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: #1e3a8a;
    margin: 0 0 8px 0;
}

/* Descrições */
.profile-option p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #6B7280;
    margin: 0;
}

/* Footer do Modal */
.profile-modal-footer {
    background: #F9FAFB;
    padding: 20px 40px;
    border-top: 1px solid #E5E7EB;
    text-align: center;
}

.profile-modal-footer p {
    font-size: 13px;
    color: #6B7280;
    font-weight: 400;
    margin: 0;
}

/* Animações dos Cards */
.profile-option:nth-child(1) { animation: slideUp 0.4s ease-out 0.05s backwards; }
.profile-option:nth-child(2) { animation: slideUp 0.4s ease-out 0.1s backwards; }
.profile-option:nth-child(3) { animation: slideUp 0.4s ease-out 0.15s backwards; }
.profile-option:nth-child(4) { animation: slideUp 0.4s ease-out 0.2s backwards; }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .profile-modal-overlay {
        padding: 20px !important;
    }
    
    .profile-modal {
        width: calc(100vw - 40px) !important;
    }
    
    .profile-modal-header {
        padding: 24px;
    }
    
    .profile-modal-header h2 {
        font-size: 22px;
    }
    
    .profile-modal-header p {
        font-size: 14px;
    }
    
    .profile-modal-body {
        padding: 24px;
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .profile-option {
        padding: 24px 20px;
    }
    
    .profile-modal-footer {
        padding: 16px 24px;
    }
}

/* ========================================
   MELHORIAS GERAIS - PÁGINA PETS
   ======================================== */

/* Breadcrumb - Refinamento */
.font-\[\'Montserrat\'\] {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

/* Títulos de Seção - Hierarquia Clara */
/* section h1,
section h2,
section h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
} */

section p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

/* Cards de Produtos - Sombras Suaves */
.shadow-md {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.hover\:shadow-lg:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Cards de Blog - Transições Suaves */
.group:hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Botões - Refinamento */
button, a.inline-flex {
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: all 0.2s ease;
}

/* FAQ - Tipografia Figma */
.faq-section-title {
    font-family: 'roca', sans-serif !important;
    font-size: 28px !important;
    line-height: 36px !important;
    color: #1E3A8A !important;
    font-weight: 600 !important;
    margin-bottom: 24px !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.faq-toggle {
    padding: 18px 20px !important;
}

.faq-question {
    font-family: 'Poppins', sans-serif !important;
    font-style: normal !important;
    font-weight: 600 !important;
    font-size: 17px !important;
    line-height: 26px !important;
    color: #1E3A8A !important;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.faq-answer {
    font-family: 'Poppins', sans-serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    line-height: 24px !important;
    color: #4A5565 !important;
    padding: 0 20px 18px 20px !important;
}

.faq-cta-button {
    font-family: 'Poppins', sans-serif !important;
    font-style: normal !important;
    font-weight: 600 !important;
    font-size: 17px !important;
    line-height: 26px !important;
    text-align: center !important;
}

/* Newsletter - Design Refinado */
#newsletter-form input[type="email"] {
    font-size: 15px;
    font-weight: 400;
    padding: 14px 18px;
    border: 1px solid #D1D5DB;
}

#newsletter-form input[type="email"]:focus {
    border-color: #10AD31;
    box-shadow: 0 0 0 3px rgba(16, 173, 49, 0.1);
}

#newsletter-form button {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
}

/* ========================================
   ANIMAÇÕES SUAVES
   ======================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aplicar animações em elementos */
section {
    animation: fadeIn 0.6s ease-out;
}

.profile-option {
    animation: slideUp 0.4s ease-out backwards;
}

.profile-option:nth-child(1) { animation-delay: 0.05s; }
.profile-option:nth-child(2) { animation-delay: 0.1s; }
.profile-option:nth-child(3) { animation-delay: 0.15s; }

/* ========================================
   HERO SLIDER - OVERFLOW FIX
   ======================================== */

.hero-slider,
.slick-slider,
.slick-list,
.slick-track {
    overflow: hidden !important;
}

.slick-slide {
    overflow: hidden !important;
}

.slick-slide img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}
