/* =============================================================================
   NetZero Tech - Landing Page Styles
   Otimizado para performance e SEO
   ============================================================================= */

:root {
    --primary-color: #2d5a27;
    --secondary-color: #4a7c59;
    --accent-color: #6b8e23;
    --light-bg: #f8f9fa;
    --dark-text: #333;
    --white-text: #fff;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --whatsapp-green: #25D366;
}

/* Reset & Base */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background: linear-gradient(135deg, #5a7c50 0%, #4a7c59 50%, #6b8e23 100%);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* =============================================================================
   Background Animation - Sustainability Icons
   ============================================================================= */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.15);
    animation: floatUp 15s ease-in-out infinite;
}

.floating-icon:nth-child(1) { left: 5%; animation-delay: 0s; }
.floating-icon:nth-child(2) { left: 15%; animation-delay: 2s; }
.floating-icon:nth-child(3) { left: 25%; animation-delay: 4s; }
.floating-icon:nth-child(4) { left: 35%; animation-delay: 1s; }
.floating-icon:nth-child(5) { left: 45%; animation-delay: 3s; }
.floating-icon:nth-child(6) { left: 55%; animation-delay: 5s; }
.floating-icon:nth-child(7) { left: 65%; animation-delay: 2.5s; }
.floating-icon:nth-child(8) { left: 75%; animation-delay: 4.5s; }
.floating-icon:nth-child(9) { left: 85%; animation-delay: 1.5s; }
.floating-icon:nth-child(10) { left: 95%; animation-delay: 3.5s; }

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* =============================================================================
   Layout
   ============================================================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* =============================================================================
   Header
   ============================================================================= */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-text);
    padding: 15px 20px;
    box-shadow: 0 4px 15px var(--shadow-medium);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
}

header .logo h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 5px var(--shadow-medium);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-link {
    background-color: var(--white-text);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid var(--white-text);
    white-space: nowrap;
}

.site-link:hover {
    background-color: transparent;
    color: var(--white-text);
    transform: translateY(-2px);
}

.system-link {
    background-color: var(--accent-color);
    color: var(--white-text);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
    white-space: nowrap;
}

.system-link:hover {
    background-color: var(--white-text);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.language-selector {
    display: flex;
    gap: 8px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white-text);
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--white-text);
    color: var(--primary-color);
    border-color: var(--white-text);
}

/* =============================================================================
   Sections
   ============================================================================= */
section {
    padding: 80px 0;
    background-color: rgba(248, 249, 250, 0.98);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

section:nth-of-type(even) {
    background-color: rgba(255, 255, 255, 0.98);
}

/* =============================================================================
   Typography
   ============================================================================= */
h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* =============================================================================
   Hero Section
   ============================================================================= */
.hero-section {
    background: transparent;
    color: var(--white-text);
    text-align: center;
    padding: 120px 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    text-shadow: 3px 3px 6px var(--shadow-medium);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.95;
}

.btn-main {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white-text);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px var(--shadow-medium);
}

.btn-main:hover {
    background-color: #8abf2e;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-text);
}

/* =============================================================================
   Cards Grid
   ============================================================================= */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Info Cards */
.info-card {
    background-color: var(--white-text);
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.info-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.1), rgba(107, 142, 35, 0.1));
    border-radius: 50%;
}

.info-card h3 {
    margin-top: 0;
    font-size: 1.4rem;
}

/* Module Cards */
.module-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-light);
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.module-card .module-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.module-card .module-content-text h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.module-card .module-content-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #666;
}

/* Module Category Headers */
.module-category {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 40px 0 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--accent-color);
    display: inline-block;
}

.module-category i {
    margin-right: 10px;
    color: var(--accent-color);
}

/* =============================================================================
   Clients Section
   ============================================================================= */
.clients-section {
    background: rgba(255, 255, 255, 0.98) !important;
    padding: 60px 0;
}

.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.client-logo {
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.client-logo i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 0.95rem;
}

.trust-badge i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* =============================================================================
   Contact Section
   ============================================================================= */
.contact-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%) !important;
    color: var(--white-text);
    text-align: center;
    padding: 80px 20px;
}

.contact-section h2 {
    color: var(--white-text);
}

.contact-section h2::after {
    background: rgba(255, 255, 255, 0.5);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.contact-info-box h3 {
    color: var(--white-text);
    margin-bottom: 25px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info a {
    color: var(--white-text);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.contact-info a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.social-links {
    margin-top: 25px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white-text);
    font-size: 1.3rem;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--white-text);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.contact-form-box h3 {
    color: var(--white-text);
    margin-bottom: 20px;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white-text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--white-text);
    background: rgba(255, 255, 255, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    background: var(--white-text);
    color: var(--primary-color);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* =============================================================================
   Footer
   ============================================================================= */
footer {
    background-color: var(--primary-color);
    color: var(--white-text);
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white-text);
}

/* =============================================================================
   WhatsApp Button
   ============================================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float .tooltip {
    position: absolute;
    right: 70px;
    background: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* =============================================================================
   Cookie Consent
   ============================================================================= */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(45, 90, 39, 0.98);
    color: var(--white-text);
    padding: 20px;
    z-index: 10000;
    display: none;
    backdrop-filter: blur(10px);
}

.cookie-consent.show {
    display: block;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    font-size: 0.95rem;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 10px 25px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background: var(--accent-color);
    color: white;
}

.cookie-btn.accept:hover {
    background: #8abf2e;
}

.cookie-btn.decline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cookie-btn.decline:hover {
    border-color: white;
}

/* =============================================================================
   Scroll Animations
   ============================================================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================================================
   Responsive Design
   ============================================================================= */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-info p {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
    }

    .site-link,
    .system-link {
        width: 100%;
        text-align: center;
    }

    .language-selector {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .module-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .btn-secondary {
        display: block;
        margin: 15px auto 0;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    section {
        padding: 50px 0;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }
}
