:root {
    --primary-blue: #0056b3;
    --secondary-blue: #003d80;
    --white: #ffffff;
    --light-gray: #f4f7f6;
    --dark-gray: #333;
    --whatsapp-green: #25d366;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    color: var(--primary-blue);
    font-size: 1.8rem;
}

.logo span {
    color: var(--secondary-blue);
    font-weight: 300;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--dark-gray);
    padding: 10px 15px;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links li a:hover {
    color: var(--primary-blue);
}

.btn-suporte {
    background: var(--primary-blue);
    color: var(--white) !important;
    border-radius: 5px;
    margin-left: 15px;
}

.btn-suporte:hover {
    background: var(--secondary-blue);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Carousel */
.carousel {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.carousel-container {
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    background: rgba(0, 86, 179, 0.7);
    color: white;
    padding: 20px 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 600px;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px; }

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--primary-blue);
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--dark-gray);
    line-height: 1.6;
}

.bg-light {
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* Remote Access */
.remote-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-remote {
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s;
}

.anydesk { background: #ef4444; }
.teamviewer { background: #0088ff; }

.btn-remote:hover {
    opacity: 0.9;
}

/* Footer */
footer {
    background: var(--secondary-blue);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

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

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--whatsapp-green);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .carousel {
        height: 400px;
    }
    
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary-blue);
    color: white;
    padding: 20px;
    z-index: 9999;
    display: none; /* Hidden by default, shown via JS */
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

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

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-text h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.cookie-text p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-text a {
    color: white;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie-reject, .btn-cookie-accept {
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;
    min-width: 100px;
    transition: opacity 0.3s;
}

.btn-cookie-reject {
    border: 1px solid white;
    background: rgba(255,255,255,0.2);
    color: white;
}

.btn-cookie-accept {
    border: none;
    background: var(--whatsapp-green);
    color: white;
}

.btn-cookie-reject:hover, .btn-cookie-accept:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}
