:root {
    --primary: #0195ff;
    --primary-hover: #0077cc;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --bg-body: #0a0a0a;
    --bg-nav: rgba(10, 10, 10, 0.9);
    --bg-card: #161616;
    --bg-alt: #111111;
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --border: rgba(255, 255, 255, 0.08);
    --whatsapp: #25d366;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] {
    --bg-body: #ffffff;
    --bg-nav: rgba(255, 255, 255, 0.95);
    --bg-card: #ffffff;
    --bg-alt: #f9f9f9;
    --text-main: #121212;
    --text-dim: #555555;
    --border: #eeeeee;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.05);
}

html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: var(--bg-body); color: var(--text-main); transition: background 0.5s, color 0.5s; overflow-x: hidden; }
h1, h2, h3 { font-family: 'Sora', sans-serif; }

/* NAVBAR */
nav {
    position: fixed; top: 0; width: 100%;
    background: var(--bg-nav); backdrop-filter: blur(12px);
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 10%; z-index: 1000; border-bottom: 1px solid var(--border);
}
.logo {
    width: 100%;
    max-width: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.nav-menu { display: flex; align-items: center; list-style: none; gap: 2.5rem; }
.nav-menu a { text-decoration: none; color: var(--text-main); font-weight: 500; font-size: 0.95rem; transition: var(--transition); }
.nav-menu a:hover { color: var(--primary); }

#theme-toggle {
    background: none; border: 1px solid var(--border);
    color: var(--text-main); padding: 8px; width: 38px; height: 38px;
    border-radius: 50%; cursor: pointer; transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}
#theme-toggle:hover { background: var(--border); }

/* HERO SLIDER */
.hero-slider { width: 100%; height: 100vh; position: relative; }
.swiper { width: 100%; height: 100%; }
.swiper-slide {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding: 0 10%;
    background-size: cover; background-position: center;
}
.slide-content h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 1.2rem; line-height: 1.1; }
.slide-content p { color: var(--text-dim); font-size: 1.2rem; max-width: 700px; margin-bottom: 2.5rem; }

/* SECTION UNIVERSAL */
.section { padding: 100px 10%; }

/* SERVICES CARDS */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}
.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 1rem; }

/* MAP CARDS */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; margin-top: 3rem; }
.map-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 20px; overflow: hidden; transition: var(--transition);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}
.map-card:hover { border-color: var(--primary); transform: translateY(-8px); }
.map-card img { width: 100%; height: 220px; object-fit: cover; }
.map-info { padding: 1.8rem; display: flex; flex-direction: column; flex: 1; }
.map-info h3 { font-size: 1.25rem; margin-bottom: 0.8rem; }
.map-btn {
    display: block; text-align: center; background: var(--border);
    color: var(--text-main); padding: 12px; border-radius: 8px; text-decoration: none;
    font-weight: 600; margin-top: auto; font-size: 0.95rem; transition: var(--transition);
}
.map-btn:hover { background: var(--primary); color: white; }

/* BANNER CTA */
.cta-banner {
    background: linear-gradient(135deg, rgba(1, 149, 255, 0.15) 0%, var(--bg-card) 100%);
    border: 1px solid rgba(1, 149, 255, 0.3);
    border-radius: 30px;
    padding: 5rem 2rem;
    text-align: center;
    margin: 0 10%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.cta-banner h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.cta-banner p { color: var(--text-dim); margin-bottom: 2.5rem; max-width: 650px; margin-left: auto; margin-right: auto; font-size: 1.1rem; line-height: 1.6; }

/* FAQ */
.faq-container { max-width: 800px; margin: 3rem auto 0; }
.faq-item {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; margin-bottom: 1rem; overflow: hidden;
    transition: var(--transition);
}
.faq-question {
    padding: 1.5rem; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center;
    font-weight: 600; font-size: 1.05rem;
}
.faq-question:hover { color: var(--primary); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    color: var(--text-dim); font-size: 0.95rem; padding: 0 1.5rem;
}
.faq-item.active { border-color: var(--primary); }
.faq-item.active .faq-answer { max-height: 500px; padding-bottom: 1.5rem; }
.faq-question i { transition: transform 0.3s ease; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary); }

/* SOBRE O CRIADOR */
.about-creator {
    display: flex; align-items: center; gap: 4rem; flex-wrap: wrap;
    background: var(--bg-card); padding: 4rem; border-radius: 30px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}
.creator-img {
    flex: 1; min-width: 300px;
    background: var(--bg-alt); border-radius: 50%; overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 0 30px rgba(1, 149, 255, 0.2);
}
.creator-img img { width: 100%; height: 100%; object-fit: cover; }
.creator-text { flex: 2; min-width: 300px; }

/* AJUSTES MOBILE - SOBRE O CRIADOR */
@media (max-width: 768px) {
    .about-creator {
        padding: 3rem 1.5rem;
        gap: 2.5rem;
        flex-direction: column;
        justify-content: center;
    }
    .creator-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .social-links {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .creator-img {
        width: 220px !important;
        height: 220px !important;
        min-width: auto;
    }
}

/* SOCIALS */
.social-links { display: flex; gap: 1.5rem; align-items: center; }
.social-links a { 
    color: var(--text-main) !important; 
    font-size: 1.5rem; 
    transition: var(--transition); 
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--border);
}
.social-links a:hover { 
    color: #fff !important; 
    background: var(--primary);
    transform: translateY(-5px); 
}

/* BOTÕES */
.btn {
    background: var(--primary); color: white; padding: 16px 40px;
    border-radius: 10px; text-decoration: none; font-weight: 600; 
    display: inline-block; transition: var(--transition); font-size: 1.05rem;
}
.btn:hover { background: var(--primary-hover); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(1, 149, 255, 0.3); }

footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
}
footer .logo{ max-width: 120px; }

/* WHATSAPP FLOAT */
.whatsapp-button {
    display: flex;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99;
    transition: var(--transition);
}
.whatsapp-button:hover { transform: scale(1.1); }

/* MOBILE GERAL */
.hamburger { display: none; font-size: 1.5rem; background: none; border: none; color: var(--text-main); cursor: pointer; }

@media (max-width: 768px) {
    .nav-menu {
        position: fixed; top: 70px; right: -100%; flex-direction: column;
        background: var(--bg-nav); backdrop-filter: blur(15px);
        width: 100%; height: calc(100vh - 70px); padding: 3rem 2rem;
        transition: right 0.4s ease;
    }
    .nav-menu.active { right: 0; }
    .hamburger { display: block; }
    .section { padding: 60px 5%; }
    .cta-banner { padding: 3rem 1.5rem; margin: 2rem 5%; }
    .slide-content h1 { font-size: 2.2rem; }
}