/* ===================================
   Reset e Variáveis
   =================================== */
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===================================
   Header
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===================================
   Hero Section PROFISSIONAL
   =================================== */
.hero-pro {
    margin-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #0a0a0f;
    position: relative;
    overflow: hidden;
}

/* Background animado */
.hero-bg-animated {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.sphere-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    top: -200px;
    right: -100px;
    animation: sphere-move-1 15s ease-in-out infinite;
}

.sphere-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #ec4899, #f97316);
    bottom: -100px;
    left: -100px;
    animation: sphere-move-2 12s ease-in-out infinite;
}

.sphere-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    top: 50%;
    left: 40%;
    animation: sphere-move-3 18s ease-in-out infinite;
}

@keyframes sphere-move-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, 50px) scale(1.1); }
}

@keyframes sphere-move-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
}

@keyframes sphere-move-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-pro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 2;
}

/* Texto do Hero */
.hero-pro-text {
    color: #fff;
}

.hero-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}

.hero-pro-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.text-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-pro-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* Stats */
.hero-pro-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.stat-item-pro {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number-pro {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-text-pro {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* Botões */
.hero-pro-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.btn-hero-primary svg {
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover svg {
    transform: translateX(5px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Tech Stack */
.hero-tech-stack {
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.5s backwards;
}

.tech-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.tech-icons {
    display: flex;
    gap: 12px;
}

.tech-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tech-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.tech-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Visual Side */
.hero-pro-visual {
    position: relative;
    animation: fadeInRight 1s ease 0.3s backwards;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
}

/* Main Card */
.main-visual-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.visual-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-dots {
    display: flex;
    gap: 6px;
}

.card-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.card-dots span:nth-child(1) { background: #ef4444; }
.card-dots span:nth-child(2) { background: #f59e0b; }
.card-dots span:nth-child(3) { background: #22c55e; }

.card-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
}

.visual-card-body {
    padding: 25px;
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 120px;
    margin-bottom: 20px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, #6366f1, #a855f7);
    border-radius: 6px 6px 0 0;
    animation: chart-grow 1s ease 0.8s backwards;
}

@keyframes chart-grow {
    from { height: 0 !important; }
}

.mini-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mini-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.mini-stat-icon {
    font-size: 1rem;
}

.mini-stat-icon.green { color: #22c55e; }
.mini-stat-icon.blue { color: #3b82f6; }

/* Floating Badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.badge-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.badge-1 {
    top: 5%;
    left: 0;
    animation: float-badge-1 5s ease-in-out infinite;
}

.badge-2 {
    top: 15%;
    right: -10%;
    animation: float-badge-2 6s ease-in-out infinite 0.5s;
}

.badge-3 {
    bottom: 15%;
    left: -5%;
    animation: float-badge-3 5.5s ease-in-out infinite 1s;
}

@keyframes float-badge-1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -15px); }
}

@keyframes float-badge-2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, 10px); }
}

@keyframes float-badge-3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(15px, -10px); }
}

/* Floating Notification */
.floating-notification {
    position: absolute;
    bottom: 10%;
    right: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 15px;
    color: #fff;
    animation: slide-in-notif 0.8s ease 1.5s backwards, float-notif 4s ease-in-out infinite 2.3s;
}

@keyframes slide-in-notif {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes float-notif {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.notif-icon {
    width: 35px;
    height: 35px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
}

.notif-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.notif-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.notif-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    animation: fadeInUp 1s ease 1s backwards;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.3; }
}

/* Animações */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsivo Hero Pro */
@media (max-width: 1024px) {
    .hero-pro-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-pro-title {
        font-size: 3rem;
    }
    
    .hero-pro-stats {
        justify-content: center;
    }
    
    .hero-pro-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-tech-stack {
        justify-content: center;
    }
    
    .hero-pro-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-pro-title {
        font-size: 2.2rem;
    }
    
    .hero-pro-desc {
        font-size: 1rem;
    }
    
    .hero-pro-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-divider {
        width: 50px;
        height: 1px;
    }
    
    .hero-pro-buttons {
        flex-direction: column;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .tech-icons {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Ocultar hero antigo */
.hero {
    display: none;
}

/* ===================================
   Buttons
   =================================== */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 50px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ===================================
   Sections
   =================================== */
section {
    padding: 5rem 0;
    position: relative;
    background: inherit;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* ===================================
   About Section
   =================================== */
.about {
    background: var(--white);
    position: relative;
    z-index: 2;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.benefit-card {
    background: var(--light-bg);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 3rem;
    background: var(--gradient);
    border-radius: 20px;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===================================
   Projects Section
   =================================== */
.projects-hero {
    margin-top: 80px;
    padding: 5rem 2rem 3rem;
    background: var(--gradient);
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.hero-title-alt {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle-alt {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

.projects {
    background: var(--light-bg);
    position: relative;
    z-index: 2;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-top: -2rem;
    margin-bottom: 3rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: var(--white);
    color: var(--text-dark);
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient);
    color: var(--white);
    transform: translateY(-2px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.project-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    position: relative;
    background: var(--light-bg);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.project-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.project-link:hover {
    gap: 1rem;
}

/* ===================================
   Modal
   =================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    padding: 2rem;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light-bg);
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--white);
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.modal-banner {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 15px;
    margin: 0 auto 2rem;
    background: var(--white);
    padding: 1rem;
    display: block;
}

.modal-video {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.gallery-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    background: var(--white);
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient);
    color: var(--white);
    transform: translateY(-5px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    resize: vertical;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer p {
    margin: 0.5rem 0;
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 1024px) {
    .hero {
        padding: 3rem 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-illustration {
        max-width: 400px;
        height: 400px;
    }

    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
    }

    .nav.active {
        max-height: 300px;
        padding: 1rem 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
    }

    .nav li {
        padding: 1rem 2rem;
    }

    .logo-img {
        width: 55px;
        height: 55px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1.2rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-features {
        justify-content: center;
        gap: 1rem;
        font-size: 0.85rem;
        margin-bottom: 2rem;
    }

    .feature-icon {
        font-size: 1.2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 0.9rem 2rem;
    }

    .hero-illustration {
        height: 350px;
        margin-top: 2rem;
        width: 100%;
    }

    .floating-card {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    .card-icon {
        font-size: 1.5rem;
    }

    .projects-hero {
        padding: 4rem 1rem 2rem;
    }

    .hero-title-alt {
        font-size: 2rem;
    }

    .hero-subtitle-alt {
        font-size: 1rem;
    }

    section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-top: -1.5rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit-card {
        padding: 2rem 1.5rem;
    }

    .benefit-icon {
        font-size: 3rem;
    }

    .benefit-card h3 {
        font-size: 1.3rem;
    }

    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem 1rem;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .filter-buttons {
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-image {
        height: 160px;
        padding: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info h3 {
        font-size: 1.5rem;
    }

    .social-links {
        justify-content: center;
    }

    .modal {
        padding: 1rem;
    }

    .modal-content {
        margin: 0;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-banner {
        height: 200px;
    }

    .modal-video {
        height: 220px;
    }

    .modal-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.7rem 0;
    }

    .logo-img {
        width: 50px;
        height: 50px;
    }

    .hero {
        margin-top: 70px;
        padding: 1.5rem 1rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.8rem;
        font-size: 0.85rem;
    }

    .hero-buttons {
        gap: 0.8rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-illustration {
        height: 300px;
        margin-top: 1.5rem;
    }

    .floating-card {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }

    .card-icon {
        font-size: 1.3rem;
    }

    .card-text {
        font-size: 0.85rem;
    }

    .projects-hero {
        margin-top: 70px;
        padding: 3rem 1rem 2rem;
    }

    .hero-title-alt {
        font-size: 1.6rem;
    }

    .hero-subtitle-alt {
        font-size: 0.95rem;
    }

    section {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .section-title::after {
        width: 60px;
        height: 3px;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .benefits-grid {
        gap: 1.2rem;
    }

    .benefit-card {
        padding: 1.8rem 1.2rem;
    }

    .benefit-icon {
        font-size: 2.5rem;
    }

    .benefit-card h3 {
        font-size: 1.2rem;
    }

    .benefit-card p {
        font-size: 0.95rem;
    }

    .stats-section {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.2rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .filter-buttons {
        gap: 0.4rem;
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .project-card {
        border-radius: 12px;
    }

    .project-image {
        height: 140px;
        padding: 1.2rem;
    }

    .project-content {
        padding: 1.2rem;
    }

    .project-title {
        font-size: 1.2rem;
    }

    .project-description {
        font-size: 0.9rem;
    }

    .tag {
        font-size: 0.8rem;
        padding: 0.25rem 0.7rem;
    }

    .contact-info h3 {
        font-size: 1.3rem;
    }

    .contact-info p {
        font-size: 0.95rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.9rem;
        font-size: 0.95rem;
    }

    .footer {
        padding: 1.5rem 0;
        font-size: 0.9rem;
    }

    .modal-body {
        padding: 1.2rem;
    }

    .modal-banner {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
        padding: 0.6rem;
    }

    .modal-video {
        height: 200px;
    }

    .modal-gallery {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .gallery-img {
        height: 180px;
    }

    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
        top: 0.7rem;
        right: 0.7rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-illustration {
        height: 250px;
    }

    .floating-card {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .filter-btn {
        padding: 0.45rem 0.9rem;
        font-size: 0.8rem;
    }
}

/* ===================================
   Animations & Utilities
   =================================== */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hidden {
    display: none !important;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.no-scroll {
    overflow: hidden;
}

/* ===================================
   Seção Web App Personalizado
   =================================== */
.webapp-highlight {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.webapp-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.highlight-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.highlight-text {
    color: #fff;
}

.highlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(168, 85, 247, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #a5b4fc;
}

.highlight-text h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-accent {
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.highlight-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.hf-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.hf-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5b4fc;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.hf-text strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.hf-text span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.btn-highlight {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-highlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

/* Device Mockup */
.highlight-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-mockup {
    position: relative;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #1a1a2e;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.5),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-notch {
    width: 120px;
    height: 25px;
    background: #0a0a0f;
    border-radius: 0 0 15px 15px;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-header-mock {
    padding: 40px 20px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-weight: 600;
}

.app-content-mock {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mock-card {
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

.mock-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 100px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

.mock-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 5px;
    animation: mock-bar-grow 2s ease-in-out infinite alternate;
}

.mock-bar:nth-child(2) { animation-delay: 0.2s; }
.mock-bar:nth-child(3) { animation-delay: 0.4s; }
.mock-bar:nth-child(4) { animation-delay: 0.6s; }

@keyframes mock-bar-grow {
    from { transform: scaleY(0.8); }
    to { transform: scaleY(1); }
}

.mock-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mock-item {
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.app-nav-mock {
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-around;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}

.app-nav-mock i:first-child {
    color: #fff;
}

.install-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #22c55e;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
    animation: pulse-install 2s ease-in-out infinite;
}

@keyframes pulse-install {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

/* Responsivo Web App Section */
@media (max-width: 992px) {
    .highlight-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .highlight-text h2 {
        font-size: 2.2rem;
    }
    
    .highlight-features {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 2rem;
    }
    
    .hf-item {
        justify-content: center;
        text-align: left;
    }
    
    .btn-highlight {
        margin: 0 auto;
    }
    
    .highlight-visual {
        margin-top: 3rem;
    }
    
    .phone-frame {
        width: 240px;
        height: 480px;
    }
}

@media (max-width: 576px) {
    .webapp-highlight {
        padding: 4rem 0;
    }
    
    .highlight-text h2 {
        font-size: 1.8rem;
    }
    
    .phone-frame {
        width: 200px;
        height: 400px;
    }
}
