/* Estilos para o novo site O DESIGNLOVER */

:root {
    --primary-color: #0066cc;
    --primary-light: #4d94ff;
    --primary-dark: #004c99;
    --secondary-color: #121212;
    --text-color: #ffffff;
    --text-secondary: #e0e0e0;
    --dark-bg: #000000;
    --dark-bg-secondary: #0a0a0a;
    --card-bg: #0f0f0f;
    --accent-color: #ffd700;
    --accent-color-hover: #ffcc00;
    --border-radius: 4px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
    --font-accent: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 1.5px;
}

h3 {
    font-size: 1.8rem;
    letter-spacing: 1px;
}

p {
    margin-bottom: 1rem;
    font-size: 1.15rem;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

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

section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.highlight {
    color: var(--primary-color);
}

.separator {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto 30px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn.primary {
    background-color: var(--primary-color);
    color: var(--text-color);
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.5);
}

.btn.primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.7);
}

.btn.secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.3);
}

.btn.secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-color);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.5);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 102, 204, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    box-shadow: none;
    border-radius: 0;
}

.nav-list {
    display: flex;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

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

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-list li a:hover::after {
    width: 100%;
}

.portal-menu-item a {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.login-menu-item a {
    background-color: var(--accent-color);
    color: var(--dark-bg) !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-menu-item a:hover {
    background-color: var(--accent-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.login-menu-item a::after {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color);
    padding-top: 100px;
    overflow: hidden;
    background-color: var(--dark-bg);
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
    animation: fadeIn 1s ease-in-out;
}

.hero-content h1 {
    margin-bottom: 20px;
    position: relative;
    font-size: 3.5rem;
    text-shadow: 0 0 10px rgba(0, 102, 204, 0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
    z-index: 1;
}

/* About Section */
.about {
    background-color: var(--dark-bg-secondary);
    position: relative;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.about-image {
    width: 45%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-text {
    width: 45%;
}

.about-text h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

/* Services Section */
.services {
    background-color: var(--dark-bg);
}

.services-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-image {
    width: 40%;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    width: 60%;
    padding: 30px;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* Pricing Section */
.pricing {
    background-color: var(--dark-bg-secondary);
}

.pricing-container, .pricing-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    width: 32%;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--accent-color);
    color: var(--dark-bg);
    padding: 5px 30px;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 2;
}

.pricing-image {
    height: 200px;
    overflow: hidden;
}

.pricing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.pricing-card:hover .pricing-image img {
    transform: scale(1.05);
}

.pricing-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-header h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.pricing-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pricing-features {
    padding: 20px;
}

.pricing-features ul li {
    margin-bottom: 10px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.pricing-features ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.pricing-footer {
    padding: 20px;
    text-align: center;
}

.pricing-card.featured {
    transform: scale(1.05);
    z-index: 2;
    border: 1px solid var(--primary-color);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

/* Portfolio Section */
.portfolio {
    background-color: var(--dark-bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.portfolio-image {
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    text-align: center;
    padding: 20px;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-content h3 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.portfolio-content p {
    color: var(--text-secondary);
}

/* Portal Promo Section */
.portal-promo {
    background-color: var(--dark-bg-secondary);
    text-align: center;
}

.portal-promo-content {
    max-width: 800px;
    margin: 0 auto;
}

.portal-promo-image {
    max-width: 600px;
    margin: 0 auto 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.portal-promo-content h2 {
    color: var(--primary-color);
}

.portal-promo-content p {
    margin-bottom: 30px;
}

.portal-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.portal-feature {
    background-color: var(--card-bg);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: calc(33.33% - 20px);
    text-align: left;
    transition: var(--transition);
}

.portal-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.portal-feature i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Contact Section */
.contact {
    background-color: var(--dark-bg);
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.contact-form {
    width: 60%;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-info {
    width: 40%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.contact-social {
    margin-top: 30px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--card-bg);
    border-radius: 50%;
    color: var(--text-color);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background-color: var(--dark-bg-secondary);
    padding: 60px 0 30px;
}

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

.footer-logo {
    width: 30%;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
    border-radius: 0;
}

.footer-logo p {
    color: var(--text-secondary);
}

.footer-links, .footer-contact {
    width: 30%;
}

.footer-links h4, .footer-contact h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
        letter-spacing: 1.5px;
    }
    
    h2 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .header {
        padding: 10px 0;
    }
    
    .pricing-card {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(0, 0, 0, 0.95);
        transition: var(--transition);
        z-index: 999;
        overflow-y: auto;
        padding: 20px 0;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-list li {
        margin: 15px 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        padding-top: 120px;
        min-height: 100vh;
        height: auto;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
        letter-spacing: 1.5px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        width: 100%;
    }
    
    .service-card {
        flex-direction: column;
    }
    
    .service-image, .service-content {
        width: 100%;
    }
    
    .pricing-container {
        flex-direction: column;
    }
    
    .pricing-card {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-form, .contact-info {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo, .footer-links, .footer-contact {
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .pricing-container {
        flex-wrap: wrap;
    }
    
    .pricing-card {
        width: 48%;
        margin-bottom: 30px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
