/* public/assets/css/style.css */

/* --- VARIAVEIS E RESET --- */
:root {
    --header-height: 80px;
    --footer-bg: #0f172a;
    --accent: #0ea5e9;
    --text-main: #0f172a;
    --text-muted: #64748b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    display: flex; flex-direction: column; min-height: 100vh;
    background-color: #f8fafc;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    position: relative;
}

main { flex: 1; }

/* --- HEADER --- */
header {
    height: var(--header-height);
    background: rgba(255,255,255,0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: sticky; top: 0; z-index: 1000;
}

.nav-wrapper {
    height: 100%;
    display: flex; align-items: center; justify-content: space-between;
    position: relative; padding: 0 2rem;
}

/* LOGO */
.logo {
    text-decoration: none; display: flex; align-items: center; gap: 8px; color: var(--text-main);
}
.logo span:first-child { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; }
.logo .logo-sub { font-size: 1.5rem; font-weight: 400; color: #475569; }

/* MENUS */
.desktop-menu { display: flex; gap: 2rem; list-style: none; }
.desktop-menu a { text-decoration: none; color: #475569; font-weight: 500; transition: 0.3s; }
.desktop-menu a:hover { color: var(--accent); }
.header-right { display: flex; align-items: center; gap: 1rem; }

/* BOTÃO AREA DO CLIENTE */
@keyframes pulse-subtle {
    0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(14, 165, 233, 0); }
    100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
}
.btn-client {
    background: var(--accent); padding: 0.6rem 1.5rem; font-size: 0.9rem;
    color: white; text-decoration: none; border-radius: 50px;
    font-weight: 600; white-space: nowrap; transition: 0.3s;
    animation: pulse-subtle 2s infinite;
}
.btn-client:hover { transform: translateY(-2px); background: #0284c7; }

/* MOBILE NAV */
.mobile-menu-toggle { display: none; font-size: 1.6rem; color: var(--text-main); cursor: pointer; background: none; border: none; padding: 5px; }
.mobile-nav-container {
    position: absolute; top: var(--header-height); left: 0; width: 100%;
    background: white; border-top: 1px solid #eee;
    flex-direction: column; display: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); padding: 1rem 0;
}
.mobile-nav-container a {
    padding: 1rem 2rem; text-decoration: none; color: #333; font-weight: 600;
    border-bottom: 1px solid #f1f5f9; display: block;
}
.mobile-nav-container.active { display: flex; }

/* Responsividade Header Mobile */
@media (max-width: 900px) {
    .nav-wrapper { padding: 0 1.2rem; }
    .desktop-menu { display: none; }
    .mobile-menu-toggle { display: block; }
    
    /* Logo Stacked */
    .logo { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.1; }
    .logo span:first-child { font-size: 1.1rem; }
    .logo .logo-sub { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; color: var(--text-muted); }
    
    /* Botão Centralizado Absolute */
    .btn-client {
        position: absolute; left: 50%; top: 50%;
        transform: translate(-50%, -50%);
        padding: 0.5rem 1.2rem; font-size: 0.8rem;
    }
    .btn-client:hover { transform: translate(-50%, -50%); } 
    .header-right { margin-left: auto; }
}

/* --- BOTÕES DA HOME --- */
.btn-home-primary {
    display: inline-block; background: var(--text-main); color: white; padding: 1rem 2rem;
    border-radius: 8px; text-decoration: none; font-weight: 600; transition: 0.3s;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
}
.btn-home-primary:hover { transform: translateY(-3px); background: #1e293b; }

.btn-home-secondary {
    display: inline-block; background: white; color: var(--text-main); padding: 1rem 2rem;
    border-radius: 8px; text-decoration: none; font-weight: 600; transition: 0.3s;
    border: 2px solid #e2e8f0;
}
.btn-home-secondary:hover { border-color: var(--text-main); background: #f8fafc; }

/* --- SWIPER --- */
.swiper { width: 100%; height: 500px; }
.swiper-slide { background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; position: relative; }
.swiper-slide::before { content:''; position:absolute; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.5); }
.slide-content { position: relative; z-index: 2; text-align: center; color: white; padding: 0 1rem; }
.slide-content h2 { font-size: 3rem; margin-bottom: 1rem; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.slide-content p { font-size: 1.2rem; font-weight: 300; }
@media (max-width: 768px) { .swiper { height: 400px; } .slide-content h2 { font-size: 2rem; } }

/* --- CONTAINER GERAL --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* --- RODAPÉ --- */
footer { background-color: var(--footer-bg); color: #cbd5e1; padding-top: 4rem; margin-top: auto; font-size: 0.9rem; position: relative; z-index: 10; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 1.2fr 1.2fr; gap: 2rem; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.footer-col h3 { color: white; margin-bottom: 1.5rem; font-size: 1rem; text-transform: uppercase; font-weight: 700; }
.footer-logo { font-size: 1.4rem; color: white; font-weight: bold; display: block; margin-bottom: 1.5rem; text-decoration: none; }
.footer-contact p { margin-bottom: 1rem; display: flex; align-items: center; gap: 12px; }
.footer-contact i { color: var(--accent); width: 20px; text-align: center; }
.footer-menu a { display: block; color: #cbd5e1; text-decoration: none; margin-bottom: 1rem; transition: color 0.3s; }
.footer-menu a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); margin-top: 3rem; padding: 1rem 0; text-align: center; font-size: 0.8rem; background: #0b1120; }

/* GRID TECH & NEWSLETTER */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.tech-item { background: rgba(255,255,255,0.05); display: flex; flex-direction: column; align-items: center; padding: 10px; border-radius: 8px; transition: 0.3s; }
.tech-item:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.tech-item i { font-size: 1.5rem; margin-bottom: 5px; color: var(--accent); }
.tech-item span { font-size: 0.7rem; color: #aaa; }

.footer-news input { width: 100%; padding: 12px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); color: white; margin-bottom: 10px; }
.footer-news button { width: 100%; background: #25d366; color: white; border: none; padding: 12px; border-radius: 6px; cursor: pointer; font-weight: bold; }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; } }

/* --- ELEMENTOS FLUTUANTES --- */
/* Botão Topo */
.btn-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 5px 15px rgba(0,0,0,0.3); opacity: 0; visibility: hidden; transition: 0.4s; z-index: 2000; cursor: pointer; }
.btn-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* WhatsApp */
.whatsapp-float {
    position: fixed; bottom: 30px; left: 30px;
    width: 60px; height: 60px; background-color: #25d366; color: #FFF; border-radius: 50%;
    text-align: center; font-size: 32px; z-index: 2000; line-height: 60px;
    box-shadow: 2px 2px 3px #999; transition: 0.3s; text-decoration: none;
    animation: pulse-green 2s infinite; display: flex; align-items: center; justify-content: center;
}
.whatsapp-float:hover { background-color: #1ebc57; transform: scale(1.1); color: white; }
@keyframes pulse-green {
    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); }
}

/* --- PAGINAS: SERVIÇOS E CONTATO --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.service-card { background: white; padding: 2rem; border-radius: 12px; border: 1px solid #eee; text-align: center; transition: 0.3s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--accent); }
.service-card i { font-size: 2.5rem; color: var(--text-main); margin-bottom: 1.5rem; }

.contact-page-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; padding-top: 2rem; }
.compact-form { background: white; padding: 2.5rem; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.compact-form input, .compact-form textarea { width: 100%; padding: 1rem; margin-bottom: 1rem; border: 1px solid #e2e8f0; border-radius: 8px; background: #f8fafc; }
.map-frame { width: 100%; height: 280px; border-radius: 12px; border: 0; margin-top: 2rem; }
@media (max-width: 900px) { .contact-page-wrapper { grid-template-columns: 1fr; gap: 2rem; } }