/* ==========================================================================
   OPENDEV - CSS STYLESHEET
   Design System: Gray Mode, Neon Blue Accents, Glassmorphism
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-dark: #07070a;
    --bg-card: #121218;
    --bg-card-hover: #1a1a24;
    --neon-blue: #00f3ff;
    --neon-blue-dark: #00b8c2;
    --neon-glow: rgba(0, 243, 255, 0.3);

    /* Typography Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a0ab;
    --text-muted: #6c6c77;

    /* Radii & Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-glow: rgba(0, 243, 255, 0.15);

    /* Glassmorphism */
    --glass-bg: rgba(7, 7, 10, 0.7);
    --glass-blur: blur(12px);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
    max-width: 700px;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #b0b0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

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

.text-neon {
    color: var(--neon-blue);
    text-shadow: 0 0 20px var(--neon-glow);
    -webkit-text-fill-color: var(--neon-blue);
}

.bg-dark {
    background-color: rgba(12, 12, 16, 0.5);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--neon-blue);
    color: var(--bg-dark);
    box-shadow: 0 4px 14px var(--neon-glow);
}

.btn-primary:hover {
    background-color: #fff;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-primary:hover .spinner {
    border-top: 3px solid white;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Base Card */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    border-color: var(--border-glow);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
}

.header.scrolled {
    padding: 1rem 0;
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-subtle);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.75rem;
    letter-spacing: -0.5px;
}

.logo img {
    height: 48px;
    width: auto;
}


.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--neon-blue);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--border-glow);
    color: var(--neon-blue);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    opacity: 0.7;
    animation: bounce 2s infinite ease-in-out;
}

.scroll-indicator .mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-primary);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--neon-blue);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

.scroll-indicator .text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

/* ==========================================================================
   ABOUT / IDENTIDADE
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--neon-blue);
}

.values-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.values-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--neon-blue);
    font-weight: bold;
}

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

.service-card {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(18, 18, 24, 0.5) 100%);
}

.service-icon {
    color: var(--neon-blue);
    margin-bottom: 1.5rem;
}

.service-list {
    margin-top: 1.5rem;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.service-list svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================================================
   DEVELOPMENT FLOW (TIMELINE)
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--neon-blue), transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item.right {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 44px;
    height: 44px;
    right: -22px;
    background-color: var(--neon-blue);
    border: 4px solid var(--bg-dark);
    box-shadow: 0 0 15px var(--neon-glow);
    top: 15px;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--bg-dark);
}

.timeline-item.right .timeline-dot {
    left: -22px;
}

.timeline-content {
    padding: 2rem;
    background-color: var(--bg-card);
    position: relative;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.timeline-item.right .timeline-content {
    margin-left: 20px;
}

.timeline-item:not(.right) .timeline-content {
    margin-right: 20px;
}

.timeline-content h3 {
    color: var(--neon-blue);
    font-size: 1.25rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tags span {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    color: var(--text-secondary);
}

/* ==========================================================================
   METRICS
   ========================================================================== */
.gradient-bg {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    border-top: 1px solid var(--border-glow);
    border-bottom: 1px solid var(--border-glow);
    padding: 4rem 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 2rem;
}

.metric-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: var(--neon-blue);
    text-shadow: 0 0 20px var(--neon-glow);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   TEAM
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.team-img-wrapper {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
    filter: grayscale(80%) contrast(1.1);
}

.team-card:hover .team-img {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1);
}

.team-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--bg-card) 0%, transparent 100%);
}

.status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff88;
}

.status-badge.master .status-dot {
    background-color: var(--neon-blue);
    box-shadow: 0 0 8px var(--neon-blue);
}

.team-info {
    padding: 1.5rem 2rem 2.5rem;
    position: relative;
    z-index: 2;
}

.team-name {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--neon-blue);
    font-weight: 500;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 1.5rem;
}

.team-details p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.team-details strong {
    color: var(--text-primary);
}

/* ==========================================================================
   MODELS (PRICING/HIRING)
   ========================================================================== */
.models-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 3rem;
    position: relative;
    transition: var(--transition);
}

.pricing-card.highlighted {
    background: linear-gradient(145deg, rgba(20, 20, 26, 0.9) 0%, rgba(0, 243, 255, 0.05) 100%);
    border-color: var(--border-glow);
    transform: scale(1.05);
}

.popular-tag {
    position: absolute;
    top: -12px;
    right: 3rem;
    background-color: var(--neon-blue);
    color: var(--bg-dark);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px var(--neon-glow);
}

.pricing-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-title {
    font-size: 1.75rem;
}

.pricing-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background-color: transparent;
}

.blog-img {
    height: 220px;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    background-color: var(--bg-card);
    position: relative;
    overflow: hidden;
    display: block;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.8;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
    opacity: 1;
}

/* Opcional: overlay para escurecer as imagens e dar vibe dark */
.blog-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(7, 7, 10, 0.8) 100%);
    pointer-events: none;
}

.blog-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    opacity: 0.7;
    mix-blend-mode: luminosity;
}

.blog-card:hover .blog-img::before {
    transform: scale(1.05);
    opacity: 1;
    mix-blend-mode: normal;
}

/* Fallback backgrounds for blog */
.placeholder-1::before {
    background-image: linear-gradient(45deg, #1a1a24, #00f3ff22);
}

.placeholder-2::before {
    background-image: linear-gradient(45deg, #1a1a24, #1a1a24);
}

.placeholder-3::before {
    background-image: linear-gradient(45deg, #00f3ff11, #1a1a24);
}

.blog-category {
    color: var(--neon-blue);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.blog-title a:hover {
    color: var(--neon-blue);
}

.blog-excerpt {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.blog-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.blog-link:hover {
    color: var(--neon-blue);
    gap: 0.75rem;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-wrapper {
    background: linear-gradient(135deg, var(--bg-card), rgba(10, 10, 14, 0.9));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    justify-content: center; /* centraliza horizontal */
    align-items: center;     /* centraliza vertical */
}

.contact-title {
    font-size: 2.5rem;
    color: var(--neon-blue);
    margin-bottom: 1rem;
}

.contact-desc {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: rgba(255, 255, 255, 0.02);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.form-group {
     position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background-color: rgba(115, 115, 115, 0.5);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--neon-blue);
    background-color: rgba(0, 243, 255, 0.05);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--border-glow);
    background-color: rgba(0, 243, 255, 0.05);
}

.contact-icon {
    color: var(--neon-blue);
    padding: 0.75rem;
    background: rgba(0, 243, 255, 0.1);
    border-radius: var(--radius-sm);
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-family: var(--font-body);
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.input-error {
    border: 2px solid #ff4d4f !important;
    padding-right: 40px;
}

.error-icon {
        position: absolute;
        right: 12px;
        top: 65%;
        transform: translateY(-50%);
        color: #ff4d4f;
        font-size: 25px;
        display: none;
}

.show-icon {
        display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #040406;
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.footer-links ul li a:hover {
    color: var(--neon-blue);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ==========================================================================
   WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    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: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-green 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    color: white;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

/* Intersection Observer Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {

    .about-grid,
    .team-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .metrics-grid {
        gap: 1rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-card);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        border-left: 1px solid var(--border-subtle);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-cta {
        margin-top: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .about-grid,
    .team-grid,
    .blog-grid,
    .models-grid {
        grid-template-columns: 1fr;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }

    .timeline-item.right {
        left: 0;
    }

    .timeline-item.right .timeline-content,
    .timeline-item:not(.right) .timeline-content {
        margin: 0;
    }

    .timeline-dot {
        left: 9px !important;
    }

    .contact-wrapper {
        padding: 2rem;
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-card.highlighted {
        transform: none;
    }
}
/* ==========================================================================
   SPINNER ANIMADO
   ========================================================================== */
 .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  cursor: pointer;
}

.spinner {
  display: none;

  width: 20px;
  height: 20px;

  min-width: 20px;
  min-height: 20px;

  box-sizing: border-box;

  border: 3px solid var(--bg-card);
  border-top: 3px solid var(--neon-blue);
  border-radius: 50%;

  animation: spin 0.8s linear infinite;

  flex-shrink: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
