/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6A1B9A; /* Roxo da logo */
    --secondary-color: #00BCD4; /* Azul/verde da logo */
    --background-light: #F0F2F5; /* Fundo mais claro */
    --text-dark: #333333;
    --text-light: #666666;
    --border-light: #E0E0E0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-img {
    height: 40px;
    /* filter: brightness(0) invert(1); */ /* Remover este filtro para a nova logo colorida */
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--background-light) 0%, #e0e5ec 50%, #dbe0e7 100%);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
    color: var(--text-dark);
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--primary-color);
}

/* Floating Elements */
.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 100px;
    height: 200px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
    transform: rotate(45deg);
}

.element-2 {
    width: 150px;
    height: 80px;
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
    transform: rotate(-30deg);
}

.element-3 {
    width: 80px;
    height: 120px;
    top: 60%;
    right: 20%;
    animation-delay: 4s;
    transform: rotate(15deg);
}

/* Philosophy Section */
.philosophy {
    padding: 8rem 2rem;
    background: var(--background-light);
    position: relative;
}

.philosophy-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.quote-symbol {
    font-size: 4rem;
    color: var(--primary-color);
    font-weight: 300;
}

.philosophy-quote h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    text-align: left;
    color: var(--text-dark);
}

.philosophy-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 6rem 0;
}

.column h3 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.philosophy-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.arrow-symbol {
    font-size: 4rem;
    color: var(--primary-color);
    font-weight: 300;
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-number {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-light);
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
}

.section-tag {
    color: var(--text-light);
    margin-left: auto;
}

.section-title {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

/* Portfolio Section */
.portfolio {
    padding: 8rem 2rem;
    background: #ffffff;
}

.portfolio-content {
    max-width: 1400px;
    margin: 0 auto;
}

.cta-button {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cta-button:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    color: #ffffff;
}

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

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

.portfolio-tags {
    font-size: 0.8rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

/* Services Section */
.services {
    padding: 8rem 2rem;
    background: var(--background-light);
}

.services-content {
    max-width: 1400px;
    margin: 0 auto;
}

.services-intro {
    font-size: 1.2rem;
    margin-bottom: 4rem;
    opacity: 0.8;
    max-width: 800px;
    color: var(--text-light);
}

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

.service-item {
    padding: 2rem;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.service-item:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.service-item:hover h3 {
    color: #ffffff;
}

.service-item:hover p {
    color: #ffffff;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* About Section */
.about {
    padding: 8rem 2rem;
    background: #ffffff;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
    color: var(--text-light);
}

/* Clients Section */
.clients {
    padding: 8rem 2rem;
    background: var(--background-light);
}

.clients-content {
    max-width: 1400px;
    margin: 0 auto;
}

.clients-content p {
    font-size: 1.2rem;
    margin-bottom: 4rem;
    opacity: 0.8;
    color: var(--text-light);
}

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

.client-group h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.client-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.client-brands span {
    background: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--border-light);
    color: var(--text-dark);
}

/* Contact Section */
.contact {
    padding: 8rem 2rem;
    background: #ffffff;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.contact-content p {
    font-size: 1.2rem;
    margin-bottom: 4rem;
    opacity: 0.8;
    color: var(--text-light);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.contact-item {
    text-align: center;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: #333333;
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo img {
    height: 30px;
    /* filter: brightness(0) invert(1); */ /* Remover este filtro para a nova logo colorida */
    margin-bottom: 1rem;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        color: var(--text-dark);
    }
    
    .philosophy-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .philosophy-quote {
        flex-direction: column;
        text-align: center;
    }
    
    .philosophy-quote h2 {
        text-align: center;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .section-tag {
        margin-left: 0;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Preloader styles for light theme */
body:not(.loaded) {
    overflow: hidden;
}

body:not(.loaded)::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-light);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

body:not(.loaded)::after {
    content: "CONVERT360";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 900;
    z-index: 10000;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

