#hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    background: radial-gradient(circle at 90% 10%, rgba(184, 142, 70, 0.05) 0%, transparent 40%), var(--cinza-nevoa);
    overflow: hidden;
    display: flex;
    align-items: stretch;
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}

.hero-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    touch-action: pan-y;
}

.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 5%;
    min-height: 100vh;
    min-height: 100svh;
}

.hero-content {
    padding-right: 2rem;
}

.hero-slide:not(:first-child) .hero-content {
    animation: fadeUp 1s ease-out forwards;
}

.hero-content .badge {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ouro-antigo);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    padding: 8px 16px;
}

.hero-content .hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-family: var(--font-title);
    color: var(--azul-safira);
    letter-spacing: -0.02em;
}

.hero-visual {
    position: relative;
    height: 600px;
    background-color: var(--azul-safira);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.hero-slide:not(:first-child) .hero-visual {
    animation: fadeIn 1.5s ease-out forwards;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: var(--transition);
}

.hero-visual img:hover {
    opacity: 1;
    transform: scale(1.02);
}

.hero-visual--dark {
    background-color: var(--grafite);
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: linear-gradient(45deg, transparent 40%, rgba(184, 142, 70, 0.15) 45%, rgba(184, 142, 70, 0.15) 55%, transparent 60%);
    animation: slideGlow 8s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(244, 244, 242, 0.8);
    color: var(--azul-safira);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    margin-right: 5px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.hero-nav:hover,
.hero-nav:focus-visible {
    background: var(--ouro-antigo);
    color: var(--cinza-nevoa);
    transform: translateY(-50%) scale(1.1);
    outline: none;
}

.hero-nav.prev { left: 2%; }
.hero-nav.next { right: 2%; }

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

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 12px;
    background: rgba(15, 42, 67, 0.2);
    cursor: pointer;
    transition: width 0.4s ease, background 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 0;
    padding: 0;
}

.hero-dot:focus-visible {
    outline: 3px solid var(--ouro-antigo);
    outline-offset: 4px;
}

.hero-dot.active {
    width: 30px;
    background: rgba(15, 42, 67, 0.2);
}

.hero-dot.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ouro-antigo);
    border-radius: 12px;
    transform-origin: left center;
    transform: scaleX(0);
    animation: fillProgress 15s linear forwards;
    will-change: transform;
}

@keyframes fillProgress {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

@keyframes slideGlow {
    0% { transform: translate3d(-50%, -50%, 0) rotate(45deg); }
    100% { transform: translate3d(50%, 50%, 0) rotate(45deg); }
}

#solucoes {
    padding: 8rem 5%;
    background-color: #FFFFFF;
}

#contato {
    padding: 6rem 5%;
    background-color: var(--cinza-nevoa);
    text-align: center;
}

#contato .section-header {
    margin-bottom: 2rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
    text-align: justify;
}

.card {
    padding: 2.5rem 10%;
    background: var(--cinza-nevoa);
    border-radius: 12px;
    border-top: 4px solid var(--ouro-antigo);
    transition: var(--transition);
    position: relative;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 0 0 2px var(--ouro-antigo);
    opacity: 0;
    transform: scale(0.95);
    transition: var(--transition);
    z-index: -1;
    pointer-events: none;
}

.card:hover {
    border-top-color: transparent;
    transform: translateY(-10px);
    background: #FFFFFF;
    box-shadow: var(--shadow-lg);
}

.card:hover::after {
    opacity: 1;
    transform: scale(1);
}

.card-icon {
    color: var(--ouro-antigo);
    font-size: 2.5rem;
    margin-bottom: 0.4rem;
    font-family: var(--font-title);
    font-weight: 900;
    text-align: center;
    line-height: 1;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

@media (max-width: 992px) {
    .hero-slide {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 140px;
        padding-bottom: 60px;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .hero-visual {
        height: 400px;
    }

    .hero-nav {
        display: none;
    }

    .hero-dot {
        width: 14px;
        height: 14px;
        border-radius: 14px;
    }

    .hero-dot.active {
        width: 34px;
    }

    .hero-dots {
        bottom: 18px;
        gap: 10px;
        padding: 0;
    }
}
