/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    --color-black: #0a0a0a;
    --color-white: #ffffff;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #eeeeee;
    --color-gray-800: #1f1f1f;
    --color-gray-900: #141414;
    
    --font-primary: 'Inter', sans-serif;
    
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

/* ==========================================================================
   Typography
   ========================================================================== */
h1 {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

p {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 1rem;
}

.subtitle {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #666;
}

.text-white p, .text-white .subtitle {
    color: #ccc;
}

.huge-text {
    font-size: clamp(2.5rem, 8vw, 7rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.section-logo-mobile {
    display: none !important;
}

.mt-2 {
    margin-top: 2rem;
}

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

.section-padding {
    padding: 8rem 0;
}

.bg-black {
    background-color: var(--color-black);
}

.bg-gray {
    background-color: var(--color-gray-100);
}

.text-white {
    color: var(--color-white);
}

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

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

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

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .section-logo-mobile {
        display: block !important;
        height: 70px;
        margin: 0 auto 2rem auto;
    }
    .hero .section-logo-mobile {
        margin: 0 0 2rem -20px; /* Alinhado à esquerda na hero com margem negativa */
    }

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

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

    .huge-text {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 5rem 0;
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 100px; /* Pill shape */
    transition: var(--transition-fast);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-black);
    color: var(--color-white);
    border: 2px solid var(--color-black);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-black);
}

.bg-black .btn-primary {
    background-color: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

.bg-black .btn-primary:hover {
    background-color: transparent;
    color: var(--color-white);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

.process .btn-outline {
    color: var(--color-black);
    border-color: rgba(0,0,0,0.3);
}

.process .btn-outline:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-text {
    padding: 1rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.btn-text:hover {
    color: #666;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        width: auto;
        white-space: nowrap;
    }
}

/* ==========================================================================
   Components
   ========================================================================== */
/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-gray-800);
}

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

.logo {
    height: 80px;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    color: #ccc;
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--color-white);
}

@media (max-width: 900px) {
    .header {
        display: none !important;
    }
    .hero {
        padding-top: 15vh;
        align-items: flex-start;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; 
    background-image: linear-gradient(to right, rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.4)), url('bg1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
}

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

.hero .description {
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    max-width: 700px;
    margin-bottom: 3rem;
    color: var(--color-gray-100);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

@media (max-width: 900px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .hero .btn-text {
        text-align: center;
    }
}

.hero .btn-primary {
    background-color: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

.hero .btn-primary:hover {
    background-color: transparent;
    color: var(--color-white);
}

.hero .btn-text {
    color: var(--color-white);
}

.hero .btn-text:hover {
    color: #ccc;
}

/* Agitation Section */
.visual-box {
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.visual-box h3 {
    margin-bottom: 1.5rem;
}

.visual-box ul {
    list-style: none;
}

.visual-box li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: #555;
}

.visual-box li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #ff3b30;
    font-weight: bold;
}

/* Solution / Features */
.section-header {
    margin-bottom: 4rem;
}

.features-grid {
    margin-top: 4rem;
}

.feature-card {
    border-top: 1px solid var(--color-gray-800);
    padding-top: 2rem;
}

.feature-icon {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-gray-800);
    margin-bottom: 1rem;
    line-height: 1;
}

/* Process Section */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background-color: var(--color-gray-100);
    border-radius: 20px;
    transition: var(--transition-fast);
}

.step-item:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.step-item:hover p {
    color: #ccc;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: #ccc;
    transition: var(--transition-fast);
}

.step-item:hover .step-number {
    color: var(--color-white);
}

/* Pure CSS Marquee Section */
.portfolio-swiper {
    width: 100%;
    padding: 1rem 0;
    pointer-events: none;
    overflow: hidden;
}

.pure-marquee .swiper-wrapper {
    display: flex;
    width: max-content;
    animation: marqueeScroll 25s linear infinite;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.pure-marquee .swiper-slide {
    width: 76vw; /* ~1.3 items */
    flex-shrink: 0;
    margin-right: 16px;
    height: 85vh;
    display: flex;
}

@media (min-width: 600px) {
    .pure-marquee .swiper-slide {
        width: 38vw; /* ~2.5 items */
        margin-right: 24px;
    }
}
@media (min-width: 900px) {
    .pure-marquee .swiper-slide {
        width: 27vw; /* ~3.5 items */
        margin-right: 32px;
    }
}
@media (min-width: 1200px) {
    .pure-marquee .swiper-slide {
        width: 19vw; /* ~5 items */
        margin-right: 40px;
    }
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
    /* Removido o box-shadow pesado para resolver os travamentos (lag) */
    border: 1px solid rgba(0,0,0,0.05);
    background: var(--color-white);
}

@media (max-width: 900px) {
    .marquee-set img {
        width: calc(45vw - 1.5rem);
        height: 60vh;
    }
}

@media (max-width: 600px) {
    .swiper-slide {
        height: 75vh;
    }
    .hide-mobile {
        display: none !important;
    }
}



/* About Section */
.image-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: var(--color-gray-100);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--color-black);
    font-size: 1.125rem;
    transition: var(--transition-fast);
}

.social-link i {
    font-size: 1.5rem;
}

.social-link:hover {
    color: #666;
}

/* CTA Section */
.cta-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80vh;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--color-gray-200);
}

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

.social-links {
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
    color: var(--color-white);
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 1.75rem;
    }
}
