/* 
   Theme: Monochrome Luxury Tech
   Agência Fille
*/

:root {
    --color-bg: #000000;
    --color-text: #ffffff;
    --font-sans: 'Outfit', sans-serif;
    --font-display: 'Syncopate', sans-serif;
    --font-mono: 'Space Grotesk', monospace;
}

@font-face {
    font-family: 'RocketWildness';
    src: url('./font/ROCKET WILDNESS.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.logo-fille { font-family: 'RocketWildness', sans-serif; }

html { scroll-behavior: auto; font-family: var(--font-sans); }
body { background-color: var(--color-bg); color: var(--color-text); }

.font-syncopate { font-family: var(--font-display); }
.font-space { font-family: var(--font-mono); }
.font-outfit { font-family: var(--font-sans); }

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

.animate-pulse-slow { animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.2; }
}

.animate-marquee {
    animation: marquee 40s linear infinite;
    display: inline-flex;
    gap: 6rem;
    padding-left: 6rem;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}
.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8);
}

h1, h2, h3, .font-syncopate { letter-spacing: -0.02em; }

input:-webkit-autofill { -webkit-box-shadow: 0 0 0 30px #0a0a0a inset !important; -webkit-text-fill-color: white !important; }

html, body { cursor: auto; overflow-x: hidden !important; max-width: 100vw; }
#cursor-dot, #cursor-outline { display: none !important; }
#hero-particles, .pointer-events-none { pointer-events: none !important; }

#rotating-text { display: block; white-space: nowrap; text-align: center; font-size: 10vw; }
@media (min-width: 768px) { #rotating-text { display: inline; font-size: inherit; } }
#rotating-text::after { content: '|'; animation: blink-cursor 0.7s infinite; margin-left: 5px; color: #4ade80; }
@keyframes blink-cursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* iOS Zoom Fix */
@media screen and (max-width: 768px) {
    input, select, textarea { font-size: 16px !important; }
    #ai-input { font-size: 16px !important; }
}

/* =================================================================
   TECH DIVIDERS - MOVIMENTOS VARIADOS
   ================================================================= */

.tech-divider {
    position: relative;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -3rem 0;
    z-index: 20;
    pointer-events: none;
    mix-blend-mode: screen;
    overflow: visible;
}

.tech-divider .core-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: relative;
    z-index: 10;
}

.tech-divider .line-vertical {
    position: absolute;
    width: 1px;
    height: 200px;
    background: linear-gradient(to bottom, transparent, currentColor, transparent);
    opacity: 0.5;
}

.tech-divider .orbit {
    position: absolute;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: 0.1;
}

.tech-divider .orbit-1 { width: 100px; height: 100px; animation: spin-slow 10s linear infinite; }
.tech-divider .orbit-2 { width: 60px; height: 60px; border-style: dashed; opacity: 0.2; animation: spin-slow 6s linear infinite reverse; }
.tech-divider .glow { position: absolute; width: 300px; height: 200px; border-radius: 50%; filter: blur(80px); opacity: 0.1; }
.tech-divider .orbits-container { transform: scaleY(0.5); opacity: 0.3; }

@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px currentColor; transform: scale(1); }
    50% { box-shadow: 0 0 40px currentColor; transform: scale(1.2); }
}
@keyframes data-flow {
    0% { opacity: 0; transform: translateY(-50px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(50px); }
}

.tech-divider.green { color: #22c55e; }
.tech-divider.green .core-dot { background: #22c55e; box-shadow: 0 0 30px rgba(34, 197, 94, 0.8); animation: pulse-glow 2s ease-in-out infinite; }
.tech-divider.green .glow { background: rgba(34, 197, 94, 0.3); }

.tech-divider.purple { color: #a855f7; }
.tech-divider.purple .core-dot { background: #a855f7; box-shadow: 0 0 30px rgba(168, 85, 247, 0.8); animation: pulse-glow 2.5s ease-in-out infinite; }
.tech-divider.purple .glow { background: rgba(168, 85, 247, 0.3); }

.tech-divider.blue { color: #3b82f6; }
.tech-divider.blue .core-dot { background: #3b82f6; box-shadow: 0 0 30px rgba(59, 130, 246, 0.8); animation: pulse-glow 3s ease-in-out infinite; }
.tech-divider.blue .glow { background: rgba(59, 130, 246, 0.3); }

.tech-divider.cyan { color: #06b6d4; }
.tech-divider.cyan .core-dot { background: #06b6d4; box-shadow: 0 0 30px rgba(6, 182, 212, 0.8); animation: pulse-glow 2.2s ease-in-out infinite; }
.tech-divider.cyan .glow { background: rgba(6, 182, 212, 0.3); }

.tech-divider.white { color: #ffffff; }
.tech-divider.white .core-dot { background: #ffffff; box-shadow: 0 0 30px rgba(255, 255, 255, 0.6); animation: pulse-glow 2.8s ease-in-out infinite; }
.tech-divider.white .glow { background: rgba(255, 255, 255, 0.2); }

.tech-divider .data-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: currentColor;
    border-radius: 50%;
    animation: data-flow 3s ease-in-out infinite;
}
.tech-divider .data-particle:nth-child(1) { left: 45%; animation-delay: 0s; }
.tech-divider .data-particle:nth-child(2) { left: 48%; animation-delay: 0.5s; }
.tech-divider .data-particle:nth-child(3) { left: 52%; animation-delay: 1s; }
.tech-divider .data-particle:nth-child(4) { left: 55%; animation-delay: 1.5s; }

/* MOVIMENTOS DIFERENTES */
@keyframes float-vertical { 0%, 100% { transform: translateY(-30px); } 50% { transform: translateY(30px); } }
@keyframes float-diagonal { 0%, 100% { transform: translate(-20px, -20px); } 50% { transform: translate(20px, 20px); } }
@keyframes float-scale { 0%, 100% { transform: scale(0.85); } 50% { transform: scale(1.15); } }
@keyframes float-rotate { 0%, 100% { transform: rotate(-3deg) translateX(-15px); } 50% { transform: rotate(3deg) translateX(15px); } }
@keyframes float-eight { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(25px, -12px); } 50% { transform: translate(0, 0); } 75% { transform: translate(-25px, 12px); } }
@keyframes float-zigzag { 0% { transform: translate(-30px, 0); } 25% { transform: translate(0, -15px); } 50% { transform: translate(30px, 0); } 75% { transform: translate(0, 15px); } 100% { transform: translate(-30px, 0); } }

.tech-divider.move-vertical { animation: float-vertical 8s ease-in-out infinite; }
.tech-divider.move-diagonal { animation: float-diagonal 10s ease-in-out infinite; }
.tech-divider.move-scale { animation: float-scale 6s ease-in-out infinite; }
.tech-divider.move-rotate { animation: float-rotate 12s ease-in-out infinite; }
.tech-divider.move-eight { animation: float-eight 14s ease-in-out infinite; }
.tech-divider.move-zigzag { animation: float-zigzag 10s ease-in-out infinite; }

/* =================================================================
   TEAM CAROUSEL - ROLETA VERTICAL
   ================================================================= */

.team-showcase {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    min-height: 550px;
}

@media (max-width: 768px) {
    .team-showcase { flex-direction: column; gap: 2rem; min-height: auto; }
}

.team-carousel-wrapper {
    position: relative;
    width: 320px;
    height: 480px;
    overflow: hidden;
    border-radius: 2rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0.5) 100%);
    border: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 768px) {
    .team-carousel-wrapper { width: 300px; height: 420px; }
}

.team-carousel-wrapper::before,
.team-carousel-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 10;
    pointer-events: none;
}
.team-carousel-wrapper::before { top: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, transparent 100%); }
.team-carousel-wrapper::after { bottom: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%); }

.team-carousel-track {
    animation: carouselScroll 12s ease-in-out infinite;
}

@keyframes carouselScroll {
    0%, 18% { transform: translateY(0); }
    22%, 48% { transform: translateY(-480px); }
    52%, 78% { transform: translateY(-960px); }
    82%, 100% { transform: translateY(0); }
}

@media (max-width: 768px) {
    @keyframes carouselScroll {
        0%, 18% { transform: translateY(0); }
        22%, 48% { transform: translateY(-420px); }
        52%, 78% { transform: translateY(-840px); }
        82%, 100% { transform: translateY(0); }
    }
}

.team-carousel-card {
    height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

@media (max-width: 768px) {
    .team-carousel-card { height: 420px; padding: 1.5rem; }
}

.team-carousel-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.1);
    position: relative;
    margin-bottom: 1.5rem;
    transition: all 0.5s;
}

.team-carousel-photo::before {
    content: '';
    position: absolute;
    inset: -10px;
    border: 2px dashed var(--member-color, rgba(255,255,255,0.15));
    border-radius: 50%;
    animation: spin-slow 15s linear infinite;
}

.team-carousel-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.team-carousel-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-align: center;
}

.team-carousel-role {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--member-color, #888);
    margin-bottom: 1rem;
    font-weight: 600;
}

.team-carousel-bio {
    font-size: 0.8rem;
    color: #777;
    text-align: center;
    line-height: 1.6;
    max-width: 260px;
}

.team-carousel-tags {
    display: flex;
    gap: 0.4rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.team-carousel-tag {
    font-size: 0.55rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 9999px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-carousel-card[data-member="ana"] { --member-color: #ef4444; }
.team-carousel-card[data-member="isa"] { --member-color: #a855f7; }
.team-carousel-card[data-member="pedro"] { --member-color: #3b82f6; }

/* Painel lateral */
.team-info-panel { max-width: 380px; }
@media (max-width: 768px) { .team-info-panel { text-align: center; padding: 1rem; } }

.team-counter {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}
@media (max-width: 768px) { .team-counter { justify-content: center; } }

.team-counter-number {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.team-counter-plus { font-size: 2.5rem; color: #22c55e; font-weight: 700; }
.team-counter-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.2em; color: #555; display: block; margin-bottom: 1.5rem; }

.team-nav-dots { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
@media (max-width: 768px) { .team-nav-dots { justify-content: center; } }

.team-nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transition: all 0.3s;
}

/* Dots sincronizados */
.team-nav-dot:nth-child(1) { animation: dotActive1 12s ease-in-out infinite; }
.team-nav-dot:nth-child(2) { animation: dotActive2 12s ease-in-out infinite; }
.team-nav-dot:nth-child(3) { animation: dotActive3 12s ease-in-out infinite; }

@keyframes dotActive1 {
    0%, 18% { background: #ef4444; box-shadow: 0 0 15px rgba(239, 68, 68, 0.6); transform: scale(1.2); }
    22%, 100% { background: rgba(255,255,255,0.15); box-shadow: none; transform: scale(1); }
}
@keyframes dotActive2 {
    0%, 18% { background: rgba(255,255,255,0.15); box-shadow: none; transform: scale(1); }
    22%, 48% { background: #a855f7; box-shadow: 0 0 15px rgba(168, 85, 247, 0.6); transform: scale(1.2); }
    52%, 100% { background: rgba(255,255,255,0.15); box-shadow: none; transform: scale(1); }
}
@keyframes dotActive3 {
    0%, 48% { background: rgba(255,255,255,0.15); box-shadow: none; transform: scale(1); }
    52%, 78% { background: #3b82f6; box-shadow: 0 0 15px rgba(59, 130, 246, 0.6); transform: scale(1.2); }
    82%, 100% { background: rgba(255,255,255,0.15); box-shadow: none; transform: scale(1); }
}

.team-specialties { display: flex; flex-wrap: wrap; gap: 0.4rem; }
@media (max-width: 768px) { .team-specialties { justify-content: center; } }

.team-specialty {
    font-size: 0.55rem;
    padding: 0.35rem 0.7rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 9999px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Glow decorativo */
.team-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    pointer-events: none;
    animation: glowColor 12s ease-in-out infinite;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes glowColor {
    0%, 18% { background: #ef4444; }
    22%, 48% { background: #a855f7; }
    52%, 78% { background: #3b82f6; }
    82%, 100% { background: #ef4444; }
}
