/* =========================================
   VARIÁVEIS E GLOBAIS
   ========================================= */
:root {
    --primary-dark: #003333;   
    --primary-light: #007275;  
    --accent: #CEA36A;         
    --bg-white: #FFFFFF;
    --bg-gray: #F9FAFB;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --text-light: #D1D5DB;
    --font-heading: 'Lora', serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    
    background-image: url('img/paper-test-Câmera.jpg'); /* Verifique a extensão correta */
    background-repeat: no-repeat;
    background-size: 100% auto; 
    background-position: top center; 
    
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2 { font-family: var(--font-heading); font-weight: 600; color: var(--primary-dark); }
h3, h4, h5, h6 { font-family: var(--font-body); font-weight: 600; color: var(--primary-dark); }

/* Containers padronizados para monitores maiores (1440px) */
.container-large, .container-medium { 
    width: 100%; 
    max-width: 1440px; /* Aumentado de 1280px para 1440px */
    margin: 0 auto; 
    padding: 0 5%; 
}

/* =========================================
   BOTÕES E UTILITÁRIOS
   ========================================= */
.button {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
    text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: none;
}
.button.is-primary { background: var(--primary-dark); color: var(--bg-white); }
.button.is-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 8px 15px rgba(0,51,51,0.15); }
.button.is-secondary { background: #E5E7EB; color: var(--primary-dark); }
.button.is-secondary:hover { background: #D1D5DB; }
.button.is-outline { border: 2px solid rgba(255,255,255,0.2); color: var(--bg-white); background: transparent; }
.button.is-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--bg-white); }
.button.is-text { padding: 0; background: transparent; color: var(--primary-light); }
.button.is-text:hover { color: var(--primary-dark); }
.button.w-icon { gap: 8px; }
.w-100 { width: 100%; margin-top: 10px; }

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05); padding: 15px 0;
}
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0 5%; }
.logo-img { height: 48px; width: auto; transition: transform 0.3s ease; }
.logo-img:hover { transform: scale(1.02); }
.nav-menu { display: flex; gap: 32px; }
.nav-link { color: var(--text-dark); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: 0.3s; }
.nav-link:hover { color: var(--primary-light); }
.nav-buttons { display: flex; align-items: center; gap: 15px; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; z-index: 101; }
.menu-toggle span { width: 24px; height: 2px; background: var(--primary-dark); transition: 0.3s; }
.menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,51,51,0.6); opacity: 0; visibility: hidden; transition: 0.3s; z-index: 99; }

/* =========================================
   HERO SECTION
   ========================================= */
.section-hero {
    min-height: 90vh; display: flex; align-items: center;
    background: transparent; padding-top: 100px;
}
.hero-content { max-width: 800px; text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
.hero-label { font-weight: 600; color: var(--primary-light); letter-spacing: 1px; font-size: 0.85rem; margin-bottom: 20px; display: block; }
.heading-h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 24px; letter-spacing: -1px; }
.hero-p { font-size: 1.2rem; color: var(--text-gray); margin-bottom: 40px; max-width: 600px; }
.hero-buttons { display: flex; gap: 16px; }

/* =========================================
   STATS GRID
   ========================================= */
.section-stats { 
    padding: 40px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.65); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); position: relative; z-index: 10;
}
.stats-grid { display: flex; align-items: stretch; justify-content: space-between; gap: 20px; }
.stat-item { flex: 1; padding: 10px 20px; }
.stat-divider { width: 1px; background: rgba(0, 0, 0, 0.1); }
.stat-number { font-family: var(--font-heading); font-size: 2rem; color: var(--primary-dark); font-weight: 600; margin-bottom: 8px; }
.stat-item p { color: var(--text-gray); font-size: 0.95rem; }

/* =========================================
   PRODUCTS SLIDER
   ========================================= */
.section-products { padding: 120px 0 100px 0; overflow: hidden; }
.products-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; }
.heading-h2 { font-size: 2.8rem; margin-bottom: 15px; }
.products-header p { color: var(--text-gray); font-size: 1.1rem; max-width: 500px; }
.swiper-arrows { display: flex; gap: 12px; }
.swiper-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #E5E7EB; background: var(--bg-white); color: var(--primary-dark); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; }
.swiper-arrow:hover { background: var(--primary-dark); color: var(--bg-white); border-color: var(--primary-dark); }
.products-swiper { padding-left: 5%; padding-right: 5%; overflow: visible !important; }
.product-card { background: var(--bg-gray); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; height: 400px; border: 1px solid #F3F4F6; transition: 0.4s; }
.product-card:hover { background: var(--bg-white); box-shadow: 0 20px 40px rgba(0,0,0,0.05); border-color: var(--primary-light); }
/* Base para todos os logotipos dos cards */
.product-logo-wrapper {
    height: 60px; /* Altura fixa da caixa */
    display: flex;
    align-items: center; /* Centraliza as imagens verticalmente dentro da caixa */
    margin-bottom: 24px;
}

/* Base para todos os logotipos */
.product-logo { 
    width: auto; 
    max-width: 100%; 
    display: block; 
    object-fit: contain; 
}

/* Ajuste fino individual para equilibrar o peso visual */
.logo-ip { height: 26px; } /* Reduzido porque aparentava estar muito grande */
.logo-mc { height: 45px; } 
.logo-si { height: 45px; }
.heading-h4 { font-size: 1.4rem; margin-bottom: 12px; }
.product-top p { color: var(--text-gray); font-size: 0.95rem; }

/* =========================================
   WHY US (GRID)
   ========================================= */
.section-why { padding: 100px 0; }
.why-header { margin-bottom: 60px; max-width: 600px; }
.why-header p { color: var(--text-gray); font-size: 1.1rem; }
.why-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 40px; align-items: center; }
.why-col { display: flex; flex-direction: column; gap: 30px; }
.why-item { display: flex; gap: 20px; align-items: flex-start; }
.why-icon { width: 40px; height: 40px; background: #E0F2F1; color: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-text h4 { font-size: 1.15rem; margin-bottom: 8px; }
.why-text p { color: var(--text-gray); font-size: 0.9rem; }
.why-divider { height: 1px; background: #E5E7EB; width: 100%; }
.why-img { height: 500px; background: url("img/sales-pic.webp"); border-radius: 24px; background-size: cover; background-position: center; }

/* =========================================
   STEPS
   ========================================= */
.section-steps { padding: 100px 0; background: var(--bg-gray); }
.steps-header { margin-bottom: 60px; }
.steps-header p { color: var(--text-gray); font-size: 1.1rem; }
.steps-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; }
.step-card { border-radius: 24px; padding: 50px; position: relative; overflow: hidden; }
.step-card.is-large { background: var(--primary-dark); color: var(--bg-white); height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.step-column { display: flex; flex-direction: column; gap: 30px; }
.step-card.is-small { padding: 40px; }
.step-card.dark { background: var(--primary-light); color: var(--bg-white); }
.step-card.gray { background: var(--bg-white); border: 1px solid #E5E7EB; }
.step-number { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 20px; font-weight: 600; }
.text-gold { color: var(--accent); }
.text-jade { color: var(--primary-light); }
.heading-h3 { font-size: 2.2rem; margin-bottom: 20px; color: inherit; }
.text-white { color: var(--bg-white) !important; }
.text-white-dim { color: rgba(255,255,255,0.8); }
.text-dark { color: var(--primary-dark) !important; }
.text-dark-dim { color: var(--text-gray); }

/* =========================================
   FAQ
   ========================================= */
.section-faq { padding: 120px 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; }
.faq-left { position: sticky; top: 120px; }
.faq-left p { color: var(--text-gray); margin-top: 15px; font-size: 1.1rem; }
.faq-item { border-bottom: 1px solid #E5E7EB; }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 30px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: var(--primary-dark); font-size: 1.3rem; font-weight: 500; font-family: var(--font-body); }
.faq-icon { color: var(--primary-light); transition: 0.3s; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding-bottom: 30px; color: var(--text-gray); }

/* =========================================
   CALL TO ACTION (NOVO CARD)
   ========================================= */
.section-cta { padding: 100px 0; background: var(--bg-white); }
.cta-card { 
    background: url('img/34810.jpg'); /* Caminho da imagem solicitado */
    background-size: cover; 
    background-position: center; 
    border-radius: 24px; 
    padding: 80px 60px; 
    position: relative; 
    overflow: hidden; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
/* Película de transparência para não perder leitura */
.cta-card::before { 
    content: ''; 
    position: absolute; 
    top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0, 51, 51, 0.85); /* Fundo Midnight Dreams com 85% de opacidade */
    z-index: 1; 
}
.cta-wrapper { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.cta-left { flex: 1; }
.cta-right { flex: 1; }
.cta-right p { font-size: 1.3rem; margin-bottom: 30px; }
.cta-buttons { display: flex; gap: 15px; }

/* =========================================
   CONTATO (FORMULÁRIO E INFO)
   ========================================= */
.section-contact { padding: 120px 0; background: var(--bg-gray); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.contact-desc { color: var(--text-gray); font-size: 1.1rem; margin-bottom: 40px; max-width: 450px; }
.contact-info-wrapper { display: flex; flex-direction: column; gap: 30px; }
.contact-info-item { display: flex; gap: 20px; align-items: flex-start; }
.contact-icon { width: 50px; height: 50px; background: #E0F2F1; color: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-text h4 { font-size: 1.1rem; margin-bottom: 4px; }
.contact-info-text a, .contact-info-text p { color: var(--text-gray); text-decoration: none; font-size: 1rem; line-height: 1.6; }
.contact-info-text a:hover { color: var(--primary-light); text-decoration: underline; }
.contact-form-card { background: var(--bg-white); border-radius: 24px; padding: 50px; border: 1px solid #F3F4F6; box-shadow: 0 20px 40px rgba(0,0,0,0.04); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 0.9rem; font-weight: 600; color: var(--primary-dark); }
.form-input { padding: 14px 16px; border: 1px solid #E5E7EB; border-radius: 8px; font-family: var(--font-body); font-size: 1rem; color: var(--text-dark); transition: all 0.3s ease; background: var(--bg-white); }
.form-input:focus { border-color: var(--primary-light); outline: none; box-shadow: 0 0 0 3px rgba(0, 114, 117, 0.1); }
.form-input::placeholder { color: #9CA3AF; }
.form-textarea { resize: vertical; min-height: 120px; }

/* =========================================
   FOOTER
   ========================================= */
.footer { background: var(--bg-white); padding: 80px 0 40px; border-top: 1px solid #E5E7EB; }
.footer-top { display: flex; justify-content: space-between; margin-bottom: 60px; }
.footer-tagline { color: var(--text-gray); font-size: 0.85rem; letter-spacing: 1px; margin-top: 10px; font-weight: 500; }
.footer-links { display: flex; gap: 80px; }
.link-col h4 { font-family: var(--font-body); font-size: 1.1rem; margin-bottom: 20px; }
.link-col a { display: block; color: var(--text-gray); text-decoration: none; margin-bottom: 12px; font-size: 0.95rem; }
.link-col a:hover { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid #E5E7EB; padding-top: 30px; color: var(--text-gray); font-size: 0.85rem; text-align: center; }

/* =========================================
   ANIMAÇÕES DE SCROLL
   ========================================= */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: 0.8s cubic-bezier(0.25, 1, 0.5, 1); will-change: opacity, transform; }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* =========================================
   RESPONSIVIDADE (MOBILE E TABLET)
   ========================================= */
@media (max-width: 992px) {
    .heading-h1 { font-size: 2.8rem; }
    .heading-h2 { font-size: 2.2rem; }
    .hide-mobile { display: none !important; }
    
    .nav-menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--bg-white); flex-direction: column; padding: 100px 30px; transition: 0.4s ease; z-index: 100; box-shadow: -5px 0 15px rgba(0,0,0,0.05); }
    .nav-menu.active { right: 0; }
    .menu-toggle { display: flex; }
    .menu-overlay.active { opacity: 1; visibility: visible; }
    
    .hero-content { align-items: flex-start; text-align: left; }
    
    /* === CORREÇÃO DOS BOTÕES DO HERO AQUI === */
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .button { width: 100%; justify-content: center; }
    
    .stats-grid { flex-direction: column; gap: 0; }
    .stat-divider { width: 100%; height: 1px; margin: 15px 0; }
    .stat-item { padding: 10px 0; }
    
    .why-grid, .steps-grid, .faq-grid, .cta-wrapper, .footer-top { grid-template-columns: 1fr; flex-direction: column; }
    .why-col.middle { order: -1; } 
    .why-img { height: 300px; }
    
    .products-swiper { padding-left: 5%; padding-right: 5%; }
    
    /* CTA Mobile */
    .cta-card { padding: 50px 30px; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons .button { width: 100%; justify-content: center; }
    
    .footer-links { flex-direction: column; gap: 40px; }
    /* Correção do espaçamento do Footer no Mobile */
    .footer-brand { margin-bottom: 40px; }

    /* Contato Mobile */
    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .contact-form-card { padding: 30px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    
    /* Desativa o efeito fixo do FAQ no mobile */
    .faq-left { 
        position: static; 
        margin-bottom: 30px; 
    }
}