@charset "UTF-8";

/* =============== Reset & Variables =============== */
:root {
    --primary: #5A2E98;      /* Deep, premium purple */
    --primary-light: #804CE6;
    --secondary: #00E6A2;    /* Neon accent, high conversion */
    --bg-dark: #07070b;      /* OLED-like obsidian dark */
    --bg-surface: #12121e;
    --text-main: #fcfcfc;
    --text-muted: #a6a6b3;
    --border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(18, 18, 30, 0.65);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --glow-primary: 0 0 40px rgba(128, 76, 230, 0.4);
    --glow-secondary: 0 0 30px rgba(0, 230, 162, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

/* =============== Typograhy & Utils =============== */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-title span {
    background: linear-gradient(135deg, var(--text-main), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary), #00b3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =============== Glass Panels & Cards =============== */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* =============== Buttons =============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border-radius: 99px;
    cursor: pointer;
    font-size: 1rem;
}

.btn i {
    font-size: 1.25rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    box-shadow: 0 4px 15px rgba(128, 76, 230, 0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-primary:hover {
    box-shadow: var(--glow-primary);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.875rem;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* =============== Navigation =============== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(7, 7, 11, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.brand-logo {
    max-height: 144px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--text-main);
}

/* =============== Hero Section =============== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.5;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(0, 230, 162, 0.15);
    bottom: 10%;
    right: 5%;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1f 0.9fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Visual Abstract Graphic using CSS */
.hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-mockup-img {
    width: 100%;
    height: auto;
    display: block;
    /* Subtle float animation */
    animation: floatImage 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* --- MOCKUP AUTOREFERENCE FIXES --- */
body.is-mockup {
    overflow: hidden !important; 
    background-color: var(--bg-color);
}
body.is-mockup::-webkit-scrollbar {
    display: none;
}
.is-mockup .hero-visual {
    /* hides infinite nested loops */
    display: none !important;
}
.is-mockup .hero-container {
    /* gives full width to the copy since graphic is hidden */
    grid-template-columns: 1fr !important;
}
.is-mockup .navbar {
    position: absolute !important;
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
}
/* When viewed in mobile iframe, adjust scale automatically */
body.mockup-mobile .hero-title {
    font-size: 2.2rem;
}
body.mockup-mobile .hero-subtitle {
    font-size: 1rem;
}
body.mockup-mobile .nav-links,
body.mockup-mobile .navbar .btn {
    display: none;
}
body.mockup-mobile .navbar {
    padding: 1rem;
}
body.mockup-mobile .brand-logo {
    max-height: 40px; /* Reset logo size for mobile frame */
}

/* =============== The Reality Section =============== */
.reality-section {
    background: var(--bg-surface);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(128, 76, 230, 0.1);
    border: 1px solid rgba(128, 76, 230, 0.2);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =============== Services Section =============== */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    align-items: flex-start;
    padding: 2.5rem;
    gap: 2rem;
    transition: var(--transition);
}

.service-item:hover {
    transform: scale(1.02);
    border-color: rgba(0, 230, 162, 0.3);
    box-shadow: var(--glow-secondary);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary);
    background: rgba(0, 230, 162, 0.1);
    padding: 1rem;
    border-radius: var(--radius-md);
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-content p {
    color: var(--text-muted);
}

/* =============== Portfolio Section =============== */
.portfolio-section {
    background: var(--bg-surface);
}

.portfolio-slider {
    position: relative;
    width: 100%;
}

@media (max-width: 991px) {
    .portfolio-track {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .portfolio-track .portfolio-card.clone {
        display: none;
    }
}

@media (min-width: 992px) {
    .portfolio-slider {
        overflow: hidden;
        padding: 2rem 0;
    }

    .portfolio-track {
        display: flex;
        gap: 2.5rem;
        width: max-content;
        animation: portfolioMarquee 28s linear infinite;
        padding: 1.5rem 0.5rem; /* Espaço para efeito de hover/sombra */
    }

    .portfolio-track:hover {
        animation-play-state: paused;
    }

    .portfolio-card {
        width: 360px;
        flex-shrink: 0;
    }
}

@keyframes portfolioMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.3333%); }
}

.portfolio-card {
    display: block;
    background: var(--glass-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.15);
}

.portfolio-image {
    width: 100%;
    height: 240px;
    position: relative;
    overflow: hidden;
}

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

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.portfolio-overlay i {
    font-size: 2.5rem;
    color: #fff;
    background: var(--primary);
    padding: 1rem;
    border-radius: 50%;
    transform: scale(0.8);
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay i {
    transform: scale(1);
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    font-weight: 700;
}

.portfolio-info h3 {
    font-size: 1.3rem;
    margin: 0.5rem 0;
}

.portfolio-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =============== Final CTA =============== */
.cta-box {
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.accent-glow {
    box-shadow: 0 0 100px rgba(128, 76, 230, 0.2) inset;
    border-color: rgba(128, 76, 230, 0.4);
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* =============== Footer =============== */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.footer-column h4 {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    color: #fff;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li {
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 1.2rem 0;
}

.footer-contact-link:hover {
    color: #fff;
}

.footer-tagline {
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-size: 0.9rem;
    max-width: 240px;
}

.footer .brand-logo {
    max-height: 120px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.social-link:hover {
    background: var(--primary);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* =============== Animations & Reveal =============== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 3rem;
    }
    
    .floating-card {
        padding: 0.8rem 1rem;
    }
    
    .nav-links {
        display: none;
    }
}


/* =============== Reviews Section =============== */
.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fbbc05; /* Google Gold */
    margin-bottom: 1.5rem;
}

.google-badge i {
    font-size: 1.15rem;
    color: #4285F4; /* Google Blue */
}

.reviews-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0 4rem;
}

.reviews-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.reviews-track:hover {
    animation-play-state: paused;
}

.review-card {
    width: 360px;
    flex-shrink: 0;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.review-card:hover {
    transform: translateY(-8px);
    border-color: rgba(128, 76, 230, 0.3);
    box-shadow: 0 10px 40px rgba(128, 76, 230, 0.1);
}

.review-stars {
    color: #fbbc05;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.2rem;
}

.review-text {
    flex-grow: 1;
    color: var(--text-main);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.25rem;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.reviewer-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-main);
}

.reviewer-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .service-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .footer-content {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Esconde botão na navbar no mobile */
    .navbar .btn {
        display: none;
    }
}

/* =============== WhatsApp Flutuante com Sonar =============== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

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

.whatsapp-sonar {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #25D366;
    border-radius: 50%;
    opacity: 0.7;
    animation: sonarEffect 2s infinite;
    z-index: -1;
}

@keyframes sonarEffect {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}
