@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --black: #000000;
    --dark: #030407;
    --dark-2: #05070a;
    --cyan: #00D4FF;
    --cyan-mid: #0082FF;
    --grad-primary: linear-gradient(135deg, #00D4FF 0%, #0082FF 100%);
    --cyan-dim: rgba(0, 212, 255, 0.1);
    --cyan-border: rgba(0, 212, 255, 0.2);
    --white: #FFFFFF;
    --gray-1: #E5E5E5;
    --gray-2: #A0A0A0;
    --gray-3: #555555;
    --border: rgba(255, 255, 255, 0.07);
    --border-light: rgba(255, 255, 255, 0.12);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --t-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ================================================================
   1. LAYOUT CORE
   ================================================================ */
.container { 
    width: 100%; 
    max-width: 1200px; 
    margin-inline: auto; 
    padding-inline: 24px;
    position: relative; 
    z-index: 2; 
}

.section { padding: 120px 0; position: relative; }
.section.alt { background: rgba(255,255,255,0.01); }

.section__head { 
    text-align: center; 
    max-width: 800px; 
    margin: 0 auto 72px; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Background Blobs */
.blob {
    position: fixed; border-radius: 50%; filter: blur(120px);
    z-index: -1; pointer-events: none; opacity: 0.6;
    animation: blobDrift 15s ease-in-out infinite;
}
@keyframes blobDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -40px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}
.blob-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%); }
.blob-2 { bottom: -20%; right: -10%; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(0, 130, 255, 0.08) 0%, transparent 70%); }
.blob-3 { top: 40%; right: 10%; width: 30vw; height: 30vw; background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%); }

.hero-grid-lines {
    position: absolute; inset: 0;
    background-image: linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 100%);
    pointer-events: none;
}

/* ================================================================
   2. TYPOGRAPHY
   ================================================================ */
h1, h2, h3 { font-family: var(--font-display); font-weight: 900; line-height: 1.1; letter-spacing: -0.04em; }
p { line-height: 1.7; color: var(--gray-2); }

.grad-text, .text-gradient-accent {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* ================================================================
   3. HERO (layout próprio desta LP — landing.css tem .hero genérico)
   ================================================================ */
.hero { 
    padding: 160px 0 100px; 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    position: relative; 
    overflow: hidden; 
}
.hero__grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 4rem; 
    align-items: center; 
    width: 100%;
}
.hero__copy h1 { font-size: clamp(3.5rem, 8vw, 6rem); margin-bottom: 2rem; }
.hero__copy p { font-size: 1.25rem; margin-bottom: 3rem; max-width: 600px; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__bullets { display: flex; gap: 2rem; list-style: none; margin-top: 3rem; }
.hero__bullets li { font-weight: 700; font-size: 0.9rem; color: var(--gray-1); display: flex; align-items: center; gap: 8px; }
.hero__bullets li i { color: var(--cyan); font-size: 1.2rem; }

.hero__mockup { position: relative; width: 100%; display: flex; justify-content: center; }
#tiltCard { width: 100%; max-width: 550px; }
#tiltCard video { width: 100%; height: auto; border-radius: var(--radius-lg); filter: drop-shadow(0 0 50px rgba(0,212,255,0.3)); }

@media (max-width: 992px) {
    .hero__grid { grid-template-columns: 1fr; text-align: center; }
    .hero__copy { display: flex; flex-direction: column; align-items: center; }
    .hero__bullets { justify-content: center; flex-wrap: wrap; }
}

/* ================================================================
   5. COMPONENTS & GRIDS
   ================================================================ */

/* Badge */
.badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light); border-radius: 100px;
    font-size: 12px; font-weight: 700; color: var(--white);
    letter-spacing: 0.5px; backdrop-filter: blur(10px);
}
.badge-live { width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 10px var(--cyan); animation: livePulse 2s ease infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7); } 70% { box-shadow: 0 0 0 8px rgba(0, 212, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); } }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
    padding: 1.1rem 2.2rem; border-radius: 14px; font-weight: 700; font-size: 1rem;
    text-decoration: none; border: none; cursor: pointer; transition: all 0.4s var(--t-slow);
}
.btn--primary { background: var(--cyan); color: #000; }
.btn--primary:hover { background: #00e5ff; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4); }
.btn--ghost { background: rgba(255,255,255,0.06); color: var(--white); border: 1px solid var(--border-light); }
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); transform: translateY(-3px); }

/* Bento Grid */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.bento-card {
    background: rgba(15, 20, 31, 0.4); border: 1px solid var(--border);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg); padding: 3rem; transition: all 0.5s var(--t-slow);
}
.bento-card:hover { transform: translateY(-10px); border-color: var(--cyan-border); box-shadow: 0 30px 60px rgba(0,0,0,0.6); }
.bento-card.large { grid-column: span 2; }
.bento-card .icon {
    width: 64px; height: 64px; background: var(--cyan-dim); color: var(--cyan);
    border-radius: 18px; display: grid; place-items: center; margin-bottom: 2rem; font-size: 1.8rem; transition: all 0.3s;
}
.bento-card:hover .icon { background: var(--cyan); color: #000; transform: scale(1.1) rotate(5deg); }
@media (max-width: 992px) { .bento-grid { grid-template-columns: 1fr; } .bento-card.large { grid-column: span 1; } }

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 2rem; }
.portfolio-item {
    position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius-lg);
    background: var(--dark-2); border: 1px solid var(--border); transition: all 0.5s;
}
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--t-slow); }
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-overlay {
    position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; opacity: 0; transition: opacity 0.4s;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.pricing-card {
    background: rgba(15, 20, 31, 0.5); border: 1px solid var(--border);
    backdrop-filter: blur(12px); border-radius: var(--radius-lg); padding: 3rem;
    display: flex; flex-direction: column; transition: all 0.5s var(--t-slow); position: relative;
}
.pricing-card:hover { transform: translateY(-8px); border-color: var(--border-light); }

.pricing-header { border-bottom: 1px solid var(--border); padding-bottom: 2rem; margin-bottom: 2rem; }
.pricing-header h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--white); }
.pricing-subtitle { font-size: 0.9rem; color: var(--gray-3); text-transform: uppercase; letter-spacing: 1px; }

.pricing-setup { background: rgba(255,255,255,0.03); border-radius: 12px; padding: 1rem; margin-bottom: 2rem; display: flex; justify-content: space-between; align-items: center; }
.pricing-setup .label { font-size: 0.8rem; color: var(--gray-2); }
.pricing-setup .value { font-weight: 800; color: var(--cyan); }

.pricing-main { margin-bottom: 2rem; }
.pricing-main .price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 0.5rem; }
.pricing-main .amount { font-size: 3.5rem; font-weight: 900; color: var(--white); letter-spacing: -2px; }
.pricing-main .period { color: var(--gray-3); font-weight: 600; }
.contract-info, .total-value { display: block; font-size: 0.8rem; color: var(--gray-3); margin-top: 4px; }

.pricing-features { list-style: none; margin-bottom: 3rem; flex-grow: 1; }
.pricing-features li { margin-bottom: 1rem; color: var(--gray-2); font-size: 0.95rem; display: flex; align-items: center; gap: 10px; }
.pricing-features li i { color: var(--cyan); }

.pricing-after { border-top: 1px solid var(--border); padding-top: 2rem; margin-bottom: 2rem; font-size: 0.85rem; color: var(--gray-3); }

/* Featured Pricing Plan with Animated Border */
@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.pricing-card.featured {
    border: none; background: #05070a;
}
.pricing-card.featured::before {
    content: ''; position: absolute; inset: -1px; border-radius: var(--radius-lg);
    background: conic-gradient(from var(--angle), var(--cyan), transparent, var(--cyan-mid), transparent, var(--cyan));
    animation: rotateBorder 4s linear infinite; z-index: -1;
}
.pricing-card.featured::after {
    content: ''; position: absolute; inset: 1px; border-radius: calc(var(--radius-lg) - 1px);
    background: #05070a; z-index: -1;
}
@keyframes rotateBorder { to { --angle: 360deg; } }

.pricing-badge { 
    background: var(--grad-primary); color: #000; padding: 6px 16px; border-radius: 100px; 
    font-size: 11px; font-weight: 800; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    box-shadow: 0 5px 15px rgba(0,212,255,0.4);
}

@media (max-width: 1100px) { .pricing-grid { grid-template-columns: 1fr; } .pricing-card.featured { transform: none; } }

/* Featured Project */
.featured-wrapper {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
    background: rgba(15, 20, 31, 0.4); border: 1px solid var(--border);
    backdrop-filter: blur(10px); border-radius: var(--radius-lg); padding: 4rem;
}
.featured-content h2 { font-size: 3.5rem; margin-bottom: 1.5rem; }
.featured-metrics { display: flex; gap: 2rem; list-style: none; margin: 2rem 0; }
.featured-metrics li strong { font-size: 1.8rem; color: var(--cyan); display: block; }
.featured-metrics li span { font-size: 0.8rem; text-transform: uppercase; color: var(--gray-3); }
.featured-visual { position: relative; width: 100%; border-radius: var(--radius-md); overflow: hidden; }
.featured-visual img { width: 100%; height: auto; display: block; transition: transform 0.8s; }
.featured-wrapper:hover .featured-visual img { transform: scale(1.05); }

@media (max-width: 992px) { .featured-wrapper { grid-template-columns: 1fr; padding: 2rem; } }

/* Counters Section */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.about__counters { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.counter { display: flex; flex-direction: column; }
.counter .val { font-size: 4.5rem; font-weight: 900; line-height: 1; }
.counter small { font-size: 1rem; color: var(--gray-2); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* Form */
.contact-wrapper {
    position: relative;
    z-index: 6;
    background: rgba(12, 14, 22, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 4rem);
    isolation: isolate;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.form-field.full { grid-column: span 2; }
.form-field span { font-size: 0.8rem; font-weight: 600; color: var(--gray-2); text-transform: uppercase; letter-spacing: 0.04em; }
.form-input, .form-field select.form-input {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 1rem;
}
.form-field textarea.form-input {
    resize: vertical;
    min-height: 140px;
    line-height: 1.5;
}
.form-input:focus { border-color: var(--cyan); outline: none; background: rgba(0, 0, 0, 0.5); }

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: stretch;
}
.form-actions .btn {
    flex: 1 1 min(220px, 100%);
    box-sizing: border-box;
}
.form-actions button.btn {
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
}

@media (pointer: fine) {
    .form-actions .btn { cursor: pointer !important; }
}

.contact-wrapper select.form-input {
    cursor: pointer;
}
.contact-wrapper select.form-input option {
    background-color: #0c0e16;
    color: #f5f5f5;
}

@media (max-width: 640px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-field.full { grid-column: span 1; }
    .form-actions { flex-direction: column; }
    .form-actions .btn { flex: none; width: 100%; }
}

/* ================================================================
   6. UTILS & CURSOR
   ================================================================ */
.custom-cursor-dot { width: 6px; height: 6px; background: var(--cyan); position: fixed; border-radius: 50%; z-index: 10001; pointer-events: none; transform: translate(-50%, -50%); }
.custom-cursor-follower { width: 44px; height: 44px; border: 1px solid rgba(0, 212, 255, 0.4); position: fixed; border-radius: 50%; z-index: 10000; pointer-events: none; transform: translate(-50%, -50%); transition: width 0.4s, height 0.4s; }
.cursor-glow { position: fixed; width: 500px; height: 500px; background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%); border-radius: 50%; pointer-events: none; z-index: -1; transform: translate(-50%, -50%); mix-blend-mode: screen; }
.cursor-hover .custom-cursor-follower { width: 80px; height: 80px; background: rgba(0, 212, 255, 0.1); border-color: var(--cyan); }

/* Footer */
.footer { padding: 80px 0 40px; border-top: 1px solid var(--border); }
.footer__grid { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4rem; }
.footer__nav { display: flex; gap: 2rem; }
.footer__nav a { color: var(--gray-2); font-size: 0.9rem; text-decoration: none; transition: 0.3s; }
.footer__nav a:hover { color: var(--white); }
.footer__bottom { display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 2rem; font-size: 0.8rem; color: var(--gray-3); }
@media (max-width: 768px) { .footer__grid, .footer__bottom { flex-direction: column; gap: 2rem; text-align: center; } .footer__nav { flex-direction: column; gap: 1rem; } }

/* ================================================================
   7. PÁGINA — navbar index + hero em grid (sobrescreve landing.css)
   ================================================================ */
.desenvolvimento-web-page .navbar { z-index: 10002; }
.desenvolvimento-web-page .mobile-overlay {
    z-index: 10060;
}
.desenvolvimento-web-page .mob-close {
    z-index: 10061;
}

.desenvolvimento-web-page > .blob {
    position: fixed;
    z-index: 0;
    pointer-events: none;
}

.desenvolvimento-web-page #hero.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    padding: 160px 0 100px;
    text-align: left;
}
.desenvolvimento-web-page #hero.hero .hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: 24px;
    position: relative;
    z-index: 2;
}
.desenvolvimento-web-page #hero.hero .hero__copy h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 2rem;
}
.desenvolvimento-web-page #hero.hero .hero__copy p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 600px;
}
@media (max-width: 992px) {
    .desenvolvimento-web-page #hero.hero .hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding-inline: 20px;
    }
    .desenvolvimento-web-page #hero.hero .hero__copy {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .desenvolvimento-web-page #hero.hero .hero__bullets {
        justify-content: center;
        flex-wrap: wrap;
    }
}

