/* =======================================================
   GUAÍBA SITES - FOLHA DE ESTILOS PRINCIPAL (STYLE.CSS)
   Padrão Mundial - Desenvolvido por Daniel Silva
   ======================================================= */

/* --- 1. VARIÁVEIS E RESET GLOBAL --- */
:root {
    --azul-principal: #295F93;
    --ciano-destaque: #30A4B8;
    --texto-escuro: #1e293b; 
    --texto-medio: #64748b; 
    --texto-claro: #ffffff;
    --fundo-claro: #f8fafc; 
    --fundo-branco: #ffffff;
    --rodape-bg: #0d131a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background-color: var(--fundo-claro); color: var(--texto-escuro); line-height: 1.6; overflow-x: hidden; }


/* --- 2. HEADER E NAVEGAÇÃO --- */
header {
    background-color: var(--azul-principal);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

nav { display: flex; align-items: center; gap: 25px; }
nav a { color: #fff; text-decoration: none; font-weight: 500; transition: 0.3s; }
nav a:hover { color: var(--ciano-destaque); }

.btn-header-cta {
    background: var(--ciano-destaque);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}
.btn-header-cta:hover { background: #fff; color: var(--azul-principal); }

/* Menu Mobile (Hamburger) */
.menu-toggle { display: none; flex-direction: column; cursor: pointer; gap: 6px; z-index: 1001; }
.menu-toggle .bar { width: 28px; height: 3px; background-color: #fff; border-radius: 3px; transition: 0.3s; }

@media (max-width: 992px) {
    .menu-toggle { display: flex; }
    nav {
        position: absolute; top: 100%; left: 0; width: 100%;
        background-color: var(--azul-principal);
        flex-direction: column; align-items: center; padding: 0;
        max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
    }
    nav.active { max-height: 400px; padding: 20px 0; }
    nav a { padding: 15px 0; width: 100%; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .btn-header-cta { margin-top: 15px; width: 80%; }
}


/* --- 3. HERO SECTION (BANNER PRINCIPAL) --- */
.hero {
    position: relative; height: 85vh; min-height: 600px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; background-color: #000;
}
.hero-slider, .hero-slider .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 6s; }
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(13, 19, 26, 0.9), rgba(13, 19, 26, 0.4)); z-index: 2;
}
.hero-content {
    position: relative; z-index: 3; color: #fff; max-width: 900px;
    padding: 0 5%; text-align: left; width: 100%;
}
.hero-tag {
    display: inline-block; background: rgba(48, 164, 184, 0.2); color: var(--ciano-destaque);
    padding: 5px 15px; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px;
    border: 1px solid rgba(48, 164, 184, 0.3);
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.1; margin-bottom: 25px; font-weight: 700; }
.hero h1 span { color: var(--ciano-destaque); }
.hero p { font-size: 1.2rem; color: #cbd5e1; margin-bottom: 40px; max-width: 600px; }
.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; }
.btn-cta-premium {
    background: linear-gradient(135deg, var(--ciano-destaque) 0%, #1e7a8a 100%);
    color: #fff; padding: 18px 35px; border-radius: 12px; text-decoration: none;
    font-weight: 600; transition: 0.3s;
}
.btn-cta-premium:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(48, 164, 184, 0.3); }
.btn-secondary {
    padding: 18px 35px; border-radius: 12px; text-decoration: none; color: #fff;
    font-weight: 600; border: 2px solid rgba(255,255,255,0.2); transition: 0.3s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

@media (max-width: 768px) {
    .hero-content { text-align: center; }
    .hero-btns { justify-content: center; }
    .hero p { margin-left: auto; margin-right: auto; }
}


/* --- 4. DIFERENCIAIS (FEATURES) --- */
.features-world { padding: 100px 5%; background: var(--fundo-branco); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.8rem; color: var(--azul-principal); line-height: 1.2; }
.section-header h2 span { color: var(--ciano-destaque); }
.section-header .subtitle { color: var(--texto-medio); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 40px; max-width: 1200px; margin: 50px auto 0; }
.feature-item { display: flex; align-items: flex-start; gap: 20px; padding: 20px; border-radius: 15px; transition: 0.3s; }
.feature-item:hover { background: var(--fundo-claro); transform: translateX(10px); }
.feature-icon { min-width: 60px; height: 60px; background: rgba(48, 164, 184, 0.1); color: var(--ciano-destaque); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.feature-text h3 { font-size: 1.3rem; color: var(--azul-principal); margin-bottom: 10px; }
.feature-text p { color: var(--texto-medio); font-size: 0.95rem; line-height: 1.5; }

@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
    .feature-item { flex-direction: column; align-items: center; text-align: center; }
    .feature-item:hover { transform: translateY(-5px); }
}


/* --- 5. SERVIÇOS (SERVICES) --- */
.services-world { padding: 100px 5%; background: var(--fundo-claro); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.service-card { padding: 40px; border-radius: 20px; background: var(--fundo-branco); border: 1px solid #e2e8f0; transition: 0.3s; }
.service-card:hover { background: var(--azul-principal); transform: translateY(-5px); }
.service-card .icon-box { font-size: 2.5rem; color: var(--ciano-destaque); margin-bottom: 20px; transition: 0.3s; }
.service-card h3 { margin-bottom: 15px; color: var(--azul-principal); transition: 0.3s; }
.service-card p { color: var(--texto-medio); transition: 0.3s; }
.service-card:hover .icon-box, .service-card:hover h3, .service-card:hover p { color: #fff; }


/* --- 6. CLIENTES (PROVA SOCIAL) --- */
.clients-world { padding: 80px 5%; background-color: var(--fundo-branco); border-top: 1px solid #f1f5f9; }
.clients-grid { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 50px; margin-top: 40px; }
.client-item { width: 180px; height: 100px; display: flex; align-items: center; justify-content: center; transition: all 0.4s ease; }
.client-item img { max-width: 100%; max-height: 80px; object-fit: contain; filter: grayscale(100%); opacity: 0.6; transition: all 0.4s ease; }
.client-item:hover { transform: scale(1.1); }
.client-item:hover img { filter: grayscale(0%); opacity: 1; }

@media (max-width: 768px) { .clients-grid { gap: 30px; } .client-item { width: 140px; } }


/* --- 7. PLANOS E PREÇOS (PRICING) --- */
.pricing-world { padding: 100px 5%; background: var(--fundo-claro); }
.pricing-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.price-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 24px; padding: 40px; flex: 1; min-width: 320px; max-width: 400px; display: flex; flex-direction: column; transition: all 0.4s ease; position: relative; }
.price-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.price-card.popular { border: 2px solid var(--ciano-destaque); box-shadow: 0 15px 30px rgba(48, 164, 184, 0.15); }
.badge-popular { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--ciano-destaque); color: #fff; padding: 6px 20px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; }
.price-value { margin: 30px 0; display: flex; align-items: flex-start; color: var(--azul-principal); }
.price-value .amount { font-size: 4rem; font-weight: 800; line-height: 1; }
.price-value .symbol { font-size: 1.5rem; margin-top: 10px; margin-right: 5px; font-weight: 600; }
.price-value .cents { font-size: 1.5rem; margin-top: 10px; font-weight: 600; }
.features { list-style: none; margin-bottom: 40px; }
.features li { margin-bottom: 15px; display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.features i { color: #10b981; }
.features i.inactive { color: #94a3b8; opacity: 0.5; }
.btn-price { display: block; text-align: center; padding: 18px; border-radius: 12px; background: #f1f5f9; color: var(--azul-principal); text-decoration: none; font-weight: 700; transition: 0.3s; }
.btn-price.featured { background: var(--azul-principal); color: #fff; }
.btn-price:hover { filter: brightness(0.9); }

@media (max-width: 768px) { .price-card.popular { transform: scale(1); } .pricing-grid { flex-direction: column; align-items: center; } .price-card { width: 100%; } }


/* --- 8. PERGUNTAS FREQUENTES (FAQ) --- */
.faq-world { padding: 100px 5%; background: var(--fundo-branco); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--fundo-claro); border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 15px; overflow: hidden; transition: all 0.3s ease; }
.faq-item:hover { border-color: var(--ciano-destaque); }
.faq-item summary { padding: 20px 25px; font-size: 1.1rem; font-weight: 600; color: var(--azul-principal); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--ciano-destaque); transition: transform 0.3s ease; }
.faq-item[open] summary::after { content: '−'; transform: rotate(180deg); }
.faq-content { padding: 0 25px 25px 25px; color: var(--texto-medio); line-height: 1.6; animation: fadeIn 0.4s ease-in-out; }
.faq-cta { text-align: center; margin-top: 50px; }
.btn-outline-primary { display: inline-block; padding: 12px 25px; border: 2px solid var(--ciano-destaque); color: var(--ciano-destaque); border-radius: 50px; text-decoration: none; font-weight: 600; transition: 0.3s; }
.btn-outline-primary:hover { background: var(--ciano-destaque); color: #fff; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }


/* --- 9. CONTATO (CONTACT WORLD) --- */
.contact-world { padding: 80px 5%; background: var(--fundo-claro); }
.contact-box { background: var(--azul-principal); border-radius: 24px; padding: 60px; display: flex; justify-content: space-between; align-items: center; gap: 50px; max-width: 1200px; margin: 0 auto; color: #fff; box-shadow: 0 20px 40px rgba(41, 95, 147, 0.2); }
.contact-info { flex: 1; }
.contact-info h2 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.2; }
.contact-info h2 span { color: var(--ciano-destaque); }
.contact-info p { color: #cbd5e1; font-size: 1.1rem; margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 25px; }
.detail-item { display: flex; align-items: center; gap: 15px; }
.detail-item i { font-size: 1.8rem; color: var(--ciano-destaque); width: 40px; }
.detail-item span { display: block; font-size: 0.85rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; }
.detail-item strong { display: block; font-size: 1.1rem; }
.contact-action { flex: 0.8; }
.action-card { background: #fff; border-radius: 20px; padding: 40px; text-align: center; color: var(--texto-escuro); }
.action-card h3 { color: var(--azul-principal); margin-bottom: 10px; }
.action-card p { color: var(--texto-medio); margin-bottom: 30px; }
.btn-whatsapp-large { display: block; background: #25d366; color: #fff; padding: 20px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 1.2rem; transition: 0.3s; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); }
.btn-whatsapp-large:hover { transform: translateY(-5px); background: #1ebd5a; }
.action-card .small-text { margin-top: 20px; font-size: 0.85rem; margin-bottom: 0; color: #64748b; }

@media (max-width: 992px) { .contact-box { flex-direction: column; padding: 40px 20px; } .contact-action { width: 100%; } }


/* --- 10. SYSTEM PAGES (COMPACTADOR PDF) --- */
.system-page { padding: 80px 5%; background: var(--fundo-claro); min-height: 70vh; }
.system-header { text-align: center; margin-bottom: 40px; }
.system-header h1 { color: var(--azul-principal); margin-bottom: 10px; }
.system-box { background: #fff; max-width: 600px; margin: 0 auto; padding: 40px; border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.05); }
.upload-area { border: 2px dashed #cbd5e1; padding: 40px; text-align: center; border-radius: 15px; cursor: pointer; margin-bottom: 25px; transition: 0.3s; }
.upload-area:hover { border-color: var(--ciano-destaque); background: #f8fafc; }
.upload-area i { font-size: 3rem; color: var(--ciano-destaque); margin-bottom: 15px; }
.compression-levels { margin-bottom: 25px; }
.compression-levels label { display: block; margin-bottom: 8px; font-weight: 600; }
.compression-levels select { width: 100%; padding: 12px; border-radius: 8px; border: 1px solid #e2e8f0; }
.btn-system { width: 100%; padding: 18px; border: none; border-radius: 10px; background: var(--azul-principal); color: #fff; font-weight: 700; cursor: pointer; transition: 0.3s; }
.btn-system:hover { background: var(--ciano-destaque); }


/* --- 11. FOOTER (RODAPÉ) --- */
.site-footer { background: var(--rodape-bg); color: #a3b1c6; padding: 80px 5% 20px; border-top: 4px solid var(--ciano-destaque); }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; margin-bottom: 60px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.footer-col img { margin-bottom: 20px; }
.footer-col h4 { color: #fff; font-size: 1.1rem; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--ciano-destaque); }
.contact-list .contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.contact-list i { color: var(--ciano-destaque); font-size: 1.2rem; width: 20px; text-align: center; }
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 12px; }
.footer-list a { color: #a3b1c6; text-decoration: none; transition: 0.3s; }
.footer-list a:hover { color: var(--ciano-destaque); padding-left: 5px; }
.ssl-badge { display: flex; align-items: center; gap: 15px; background: rgba(255,255,255,0.05); padding: 15px; border-radius: 8px; border-left: 4px solid #22c55e; }
.ssl-badge i { color: #22c55e; font-size: 2rem; }
.ssl-text strong { display: block; color: #fff; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; }


/* --- 12. BOTÃO WHATSAPP FLUTUANTE (AJUSTADO PARA A DIREITA) --- */
.whatsapp-container { 
    position: fixed; 
    bottom: 25px; 
    right: 25px; 
    z-index: 9999; 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    flex-direction: row-reverse; /* Botão na direita, texto na esquerda */
}
.whatsapp-float {
    width: 60px; 
    height: 60px; 
    background: #25d366; 
    color: #fff;
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 30px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
    text-decoration: none; 
    transition: 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-badge { 
    position: absolute; top: -5px; right: -5px; background: red; color: white; 
    width: 20px; height: 20px; border-radius: 50%; font-size: 12px; 
    display: flex; align-items: center; justify-content: center; 
    font-weight: bold; border: 2px solid #fff; 
}
.whatsapp-msg { 
    background: #fff; 
    padding: 10px 15px; 
    border-radius: 10px 10px 0 10px; /* Borda tipo balão de fala apontando para o botão */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    font-weight: 600; 
    font-size: 0.9rem; 
    color: var(--texto-escuro);
}

@media (max-width: 768px) { .whatsapp-msg { display: none; } }

/* --- DROPDOWN MENU --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 10px 0;
    z-index: 1000;
    top: 100%;
    left: 0;
    border: 1px solid #e2e8f0;
    animation: fadeIn 0.3s ease;
}

.dropdown-content a {
    color: var(--azul-principal) !important;
    padding: 12px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    transition: 0.3s;
    text-align: left;
    border-bottom: none !important;
}

.dropdown-content a i {
    color: var(--ciano-destaque);
    width: 20px;
    text-align: center;
}

.dropdown-content a:hover {
    background-color: #f8fafc;
    color: var(--ciano-destaque) !important;
    padding-left: 25px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Ajuste para o menu mobile */
@media (max-width: 992px) {
    .dropdown { width: 100%; text-align: center; }
    .dropdown-content {
        position: relative;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        border: none;
        width: 100%;
        display: block; /* No mobile ele fica sempre visível dentro do nav */
    }
    .dropdown-content a {
        color: #fff !important;
        justify-content: center;
    }
    .dropdown-toggle { justify-content: center; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .dropdown-toggle i { display: none; }
}