/* css/style.css - COMPLETO COM MENU MOBILE */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== HEADER E MENU ========== */
.header {
    background: linear-gradient(135deg, #1a1a7e 0%, #0a0a3e 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(26, 26, 126, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    z-index: 1002;
}

.logo a {
    color: inherit;
    text-decoration: none;
}

/* Botão Hambúrguer */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1002;
    padding: 10px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Menu Desktop */
.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00d4ff;
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #00d4ff;
}

/* Overlay do Menu Mobile */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ========== RESPONSIVO MOBILE ========== */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }
    
    /* Mostrar botão hambúrguer */
    .menu-toggle {
        display: flex;
    }
    
    /* Menu Mobile */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, #1a1a7e 0%, #0a0a3e 100%);
        flex-direction: column;
        padding: 100px 2rem 2rem 2rem;
        gap: 0;
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
        z-index: 1001;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 0;
        margin: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 1.2rem 0;
        width: 100%;
        text-align: left;
        font-size: 1.1rem;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        color: #00d4ff;
        padding-left: 15px;
        transition: all 0.3s;
    }
    
    .logo {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 0.85rem;
    }
    
    .nav-menu {
        width: 80%;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
}

/* ========== HERO ========== */
.hero {
    background: linear-gradient(135deg, rgba(26, 26, 126, 0.95) 0%, rgba(10, 10, 62, 0.9) 100%), 
                radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
                #0a0a3e;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="2" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="2" fill="white" opacity="0.1"/><circle cx="50" cy="50" r="1.5" fill="white" opacity="0.1"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    width: 280px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 40px rgba(0, 212, 255, 0.4));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 212, 255, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== BOTÕES ========== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    animation: scaleIn 0.6s ease-out 0.6s both;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

.btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* ========== TÍTULOS DE SEÇÃO ========== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a7e;
    position: relative;
    padding-bottom: 1rem;
    animation: fadeInUp 0.6s ease-out;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff 0%, #8a2be2 100%);
    border-radius: 2px;
    animation: expandWidth 0.8s ease-out 0.3s both;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100px; }
}

/* ========== DIFERENCIAIS ========== */
.diferenciais {
    background: #f8f9fa;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card.animate {
    animation: fadeInUp 0.6s ease-out both;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00d4ff 0%, #8a2be2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.card h3 {
    color: #1a1a7e;
    margin-bottom: 1rem;
}

.card p {
    color: #666;
}

/* ========== PRODUTOS ========== */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.produto-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.produto-card.animate {
    animation: fadeInUp 0.6s ease-out both;
}

.produto-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.produto-img {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #1a1a7e 0%, #2d2d9e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    transition: all 0.3s;
}

.produto-card:hover .produto-img {
    background: linear-gradient(135deg, #2d2d9e 0%, #1a1a7e 100%);
    transform: scale(1.1);
}

.produto-info {
    padding: 1.5rem;
}

.produto-info h3 {
    color: #1a1a7e;
    margin-bottom: 0.5rem;
}

.produto-info p {
    color: #666;
    font-size: 0.9rem;
}

/* ========== CONTATO ========== */
.contato {
    background: linear-gradient(135deg, #1a1a7e 0%, #0a0a3e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contato::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.contato .section-title {
    color: white;
}

.contato-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contato-item {
    padding: 2rem;
    animation: fadeInUp 0.6s ease-out both;
    transition: transform 0.3s;
}

.contato-item:hover {
    transform: translateY(-10px);
}

.contato-item-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00d4ff 0%, #8a2be2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.contato-item h3 {
    margin-bottom: 0.5rem;
}

.contato-item a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s;
}

.contato-item a:hover {
    color: #8a2be2;
}

/* ========== WHATSAPP FLUTUANTE ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1000;
    animation: pulse 2s ease-in-out infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* ========== FOOTER ========== */
.footer {
    background: #05051f;
    color: white;
    text-align: center;
    padding: 2rem;
}

/* ========== RESPONSIVO ========== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .hero-logo {
        width: 200px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-logo {
        width: 150px;
    }
}