/* CSS Reset & Variables */
:root {
    --bg-dark: #0a0a0c;
    --bg-panel: rgba(255, 255, 255, 0.03);
    --bg-panel-hover: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(255, 255, 255, 0.05);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Vibrant Yellow/Gold accent for futuristic look without being tacky */
    --accent: #facc15;
    --accent-glow: rgba(250, 204, 21, 0.3);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
}

.glass-panel:hover {
    background: var(--bg-panel-hover);
    border-color: rgba(255, 255, 255, 0.1);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.w-100 { width: 100%; }
.mt-auto { margin-top: auto; }

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--accent-glow);
    background-color: #fde047;
}

.btn-secondary {
    background-color: rgba(255,255,255,0.1);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

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

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

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    padding: 1rem 0;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-main);
}

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

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

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

.hero-bg .bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10,10,12,0.95) 0%, rgba(10,10,12,0.7) 100%);
}

.hero-content {
    max-width: 700px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

/* Services */
.services {
    padding: 8rem 0;
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

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

.service-card {
    display: flex;
    flex-direction: column;
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* Niches */
.niches {
    padding: 6rem 0;
    background: radial-gradient(circle at center, rgba(250, 204, 21, 0.05) 0%, rgba(10, 10, 12, 1) 70%);
    content-visibility: auto;
    contain-intrinsic-size: 500px;
}

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

.niches-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.tag {
    background: var(--bg-panel);
    border: 1px solid var(--border-glass);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
}

.tag:hover {
    border-color: var(--accent);
    background: rgba(250, 204, 21, 0.1);
    transform: translateY(-2px);
}

/* Plans */
.plans {
    padding: 8rem 0;
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.plan-card {
    display: flex;
    flex-direction: column;
    position: relative;
}

.plan-card.featured {
    border-color: rgba(250, 204, 21, 0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), inset 0 0 20px rgba(250, 204, 21, 0.05);
}

.badge {
    position: absolute;
    top: -12px;
    right: 2rem;
    background: var(--accent);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.plan-card ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Contact */
.contact {
    padding: 6rem 0 8rem 0;
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-form {
    padding: 3rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.input-group input, .input-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

    .input-group input:focus, .input-group select:focus {
        outline: none;
        border-color: var(--accent);
        box-shadow: 0 0 0 2px var(--accent-glow);
    }
    
    /* Radio Group */
    .radio-group {
        display: flex;
        gap: 1.5rem;
        margin-top: 0.5rem;
    }
    
    .radio-label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        cursor: pointer;
        color: var(--text-main);
    }
    
    .radio-label input[type="radio"] {
        width: 1.2rem;
        height: 1.2rem;
        accent-color: var(--accent);
        cursor: pointer;
    }
    
    /* Floating WhatsApp */
    .floating-whatsapp {
        position: fixed;
        bottom: 2rem;
        right: 2rem;
        width: 60px;
        height: 60px;
        background-color: #25D366;
        color: white;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
        z-index: 1000;
        transition: var(--transition);
    }
    
    .floating-whatsapp svg {
        width: 35px;
        height: 35px;
    }
    
    .floating-whatsapp:hover {
        transform: scale(1.1) translateY(-5px);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    }
    
    /* Success Modal */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(10, 10, 12, 0.8);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 2000;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .modal-content {
        max-width: 400px;
        width: 90%;
        text-align: center;
        transform: translateY(20px) scale(0.95);
        transition: var(--transition);
    }
    
    .modal-overlay.active .modal-content {
        transform: translateY(0) scale(1);
    }
    
    .modal-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .modal-content h3 {
        margin-bottom: 0.5rem;
    }
    
    .modal-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Animations */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.slide-up {
    transform: translateY(40px) translateZ(0);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

.reveal-text {
    opacity: 0;
    animation: revealUp 0.8s forwards;
}

@keyframes revealUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .header .nav-menu {
        display: none; /* Em um projeto real, faríamos um menu hamburguer */
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
}
