/* CSS Principal */
/* Customizações adicionais ao Tailwind */

/* ================================================
   HERO BANNER - Premium Style
   ================================================ */

.hero-banner {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-color: #051C1A;
}

.hero-banner .hero-slide {
    position: absolute;
    inset: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-banner .hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-banner .hero-slide.inactive {
    opacity: 0;
    z-index: 1;
}

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

/* Gradient overlay - dark on left for text readability, transparent on right to show the image */
.hero-banner .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(5, 28, 26, 0.88) 0%,
        rgba(5, 28, 26, 0.65) 40%,
        rgba(5, 28, 26, 0.20) 65%,
        rgba(5, 28, 26, 0.05) 100%
    );
    z-index: 1;
}

/* Content container */
.hero-banner .hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 40px 60px;
}

/* Left text area */
.hero-text {
    flex: 0 1 560px;
    animation: heroFadeInUp 1s ease-out 0.3s both;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-text h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 20px;
    font-style: italic;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}

.hero-text .hero-desc {
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 460px;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}

/* CTA Button */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #52CBC7;
    color: #051C1A;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(82, 203, 199, 0.3);
    border: 2px solid #52CBC7;
}

.hero-cta:hover {
    background-color: transparent;
    color: #52CBC7;
    box-shadow: 0 4px 30px rgba(82, 203, 199, 0.4);
    transform: translateY(-2px);
}

.hero-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.hero-cta:hover svg {
    transform: translateX(4px);
}

/* ================================================
   BANNER INDICATORS (dots)
   ================================================ */

.hero-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot.active {
    background: #52CBC7;
    border-color: #52CBC7;
    box-shadow: 0 0 12px rgba(82, 203, 199, 0.5);
}

.hero-dot:hover:not(.active) {
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.3);
}

/* ================================================
   ANIMATIONS
   ================================================ */

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
   SOLUÇÕES INTEGRADAS SECTION
   ================================================ */

.solutions-section {
    padding: 80px 0 60px;
    background-color: #ffffff;
}

.solutions-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.solutions-header {
    text-align: center;
    margin-bottom: 60px;
}

.solutions-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    line-height: 1.5;
    color: #051C1A;
    max-width: 800px;
    margin: 0 auto 24px;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}

.solutions-subtitle {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #051C1A;
}

/* Solution Card */
.solution-card {
    border-radius: 24px;
    padding: 48px 40px;
    margin-bottom: 32px;
}

.solution-light {
    background-color: #ffffff;
}

.solution-dark {
    background-color: #0d1b1a;
    color: #ffffff;
}

/* Row layout */
.solution-row {
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

.solution-row-reverse {
    flex-direction: row-reverse;
}

/* Info side */
.solution-info {
    flex: 1;
    min-width: 0;
}

.solution-number-block {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 20px;
}

.solution-number {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    color: #051C1A;
}

.solution-dark .solution-number {
    color: #ffffff;
}

.solution-name {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    line-height: 1.15;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #051C1A;
}

.solution-dark .solution-name {
    color: #ffffff;
}

.solution-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #444;
    font-style: italic;
}

.solution-dark .solution-desc {
    color: rgba(255, 255, 255, 0.7);
}

/* Features side */
.solution-features {
    flex: 1;
    min-width: 0;
}

/* Timeline */
.feature-timeline {
    position: relative;
    padding-left: 0;
}

/* Vertical line connecting dots */
.feature-timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 14px;
    bottom: 14px;
    width: 2px;
    background-color: #d0d0d0;
}

.solution-dark .feature-timeline::before {
    background-color: rgba(255, 255, 255, 0.2);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    padding-bottom: 24px;
}

.feature-item:last-child {
    padding-bottom: 0;
}

.feature-dot {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background-color: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.solution-dark .feature-dot {
    background-color: #1e3534;
}

.feature-dot svg {
    width: 14px;
    height: 14px;
    color: #52CBC7;
}

.feature-content {
    padding-top: 4px;
}

.feature-content strong {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: #051C1A;
    margin-bottom: 4px;
}

.solution-dark .feature-content strong {
    color: #ffffff;
}

.feature-content span {
    display: block;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #666;
    font-style: italic;
}

.solution-dark .feature-content span {
    color: rgba(255, 255, 255, 0.6);
}

/* CTA */
.solutions-cta {
    text-align: center;
    padding-top: 24px;
}

/* ================================================
   RESPONSIVE - Hero Banner
   ================================================ */

@media (max-width: 1024px) {
    .hero-banner .hero-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 100px 24px 80px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-text {
        flex: 1 1 auto;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-text .hero-desc {
        margin-left: auto;
        margin-right: auto;
        max-width: 100% !important;
    }

    .hero-banner .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(5, 28, 26, 0.80) 0%,
            rgba(5, 28, 26, 0.50) 50%,
            rgba(5, 28, 26, 0.30) 100%
        );
    }
}

@media (max-width: 767px) {
    .hero-banner {
        min-height: calc(100vh - 60px) !important;
        min-height: calc(100svh - 60px) !important;
        height: auto !important;
    }

    .hero-banner .hero-content {
        min-height: calc(100vh - 60px) !important;
        min-height: calc(100svh - 60px) !important;
        height: auto !important;
        padding: 80px 16px 60px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-text h1 {
        font-size: clamp(1.4rem, 7vw, 2.1rem) !important;
        margin-bottom: 12px !important;
        line-height: 1.25 !important;
    }

    .hero-text .hero-desc {
        font-size: 0.82rem !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
        max-width: 100% !important;
    }

    .hero-cta {
        padding: 10px 24px !important;
        font-size: 0.78rem !important;
    }

    .hero-indicators {
        bottom: 20px !important;
    }
}

/* ================================================
   RESPONSIVE - Solutions Section
   ================================================ */

@media (max-width: 868px) {
    .solution-row,
    .solution-row-reverse {
        flex-direction: column;
        gap: 32px;
    }

    .solution-card {
        padding: 32px 24px;
    }

    .solution-number-block {
        justify-content: center;
    }

    .solution-info,
    .solution-features {
        text-align: center;
    }

    .feature-timeline::before {
        display: none;
    }

    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-content {
        padding-top: 0;
    }
}


/* ================================================
   MOBILE NAVIGATION - Fallback Styles
   ================================================ */

/* Hide mobile menu button by default on desktop */
#mobile-menu-btn {
    display: none;
}

/* Base styles for the drawer to work with or without Tailwind */
#mobile-menu-drawer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 100;
    background-color: rgba(5, 28, 26, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu-drawer.open {
    transform: translateX(0) !important;
}

@media (max-width: 767px) {
    /* Make sure hamburger is visible and styled on mobile */
    #mobile-menu-btn {
        display: block !important;
        background: transparent !important;
        border: none !important;
        color: #ffffff !important;
        cursor: pointer !important;
        padding: 6px !important;
        z-index: 60 !important;
    }
    
    #mobile-menu-btn svg {
        width: 28px !important;
        height: 28px !important;
        display: block !important;
    }

    /* Make header more compact on mobile */
    header .container {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    
    header a img {
        height: 40px !important;
    }
}


