/* Home, estilos específicos da página inicial */

/**
 * Purpose   : Landing page styles
 * Consumed by: Landing page
 * Layer     : Presentation — Page Styles
 */

/* HERO SECTION */
.hero {
    position: relative;
    background: var(--gray-900);
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-image-placeholder {
    position: absolute;
    inset: 0;
    background: url('../../images/hero-delivery.png') center/cover no-repeat;
}

.hero-image-placeholder span {
    font-size: 13px;
    font-weight: 600;
    color: rgb(255 255 255 / 60%);
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px dashed rgb(255 255 255 / 40%);
    padding: 10px 20px;
    border-radius: 4px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgb(0 51 51 / 78%) 0%, rgb(0 0 0 / 50%) 55%, rgb(0 0 0 / 15%) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 120px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-content h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgb(0 0 0 / 20%);
    max-width: 480px;
}

.hero-subheadline {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    text-shadow: 0 2px 8px rgb(0 0 0 / 20%);
}

.hero-text-animate {
    animation: hero-fade-up 0.9s ease both;
}

@keyframes hero-fade-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

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

@media (prefers-reduced-motion: reduce) {
    .hero-text-animate {
        animation: none;
    }
}

/* ACTION CARDS */
.action-cards-wrap {
    max-width: 1200px;
    margin: -56px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.action-cards {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
    gap: 0;
}

.action-card {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 2px 8px rgb(0 0 0 / 8%);
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
}

.action-card:hover {
    box-shadow: 0 12px 24px rgb(0 0 0 / 16%);
    transform: translateY(-6px);
}

.action-card .icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    color: var(--teal);
}

/* stylelint: .stat-card-visual svg precisa vir antes de .action-card .icon svg (no-descending-specificity) */
.stat-card-visual svg {
    width: 32px;
    height: 32px;
    stroke: currentcolor;
    fill: none;
    stroke-width: 1.6;
}

.action-card .icon svg {
    width: 100%;
    height: 100%;
    stroke: currentcolor;
    fill: none;
    stroke-width: 1.6;
}

.action-card h2 {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-800);
}

.action-card p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.4;
}

/* SECTION COMMON */
.section {
    padding: 72px 0;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

#services {
    padding-top: 96px;
}

/* SERVICE BLOCK */
.service-block {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
    gap: 0;
}

.service-image {
    background: url('../../images/warehouse-loading.png') center/cover no-repeat;
    height: 380px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.service-card {
    background: #fff;
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgb(0 0 0 / 35%);
    margin-left: -30px;
    height: 350px;
    position: relative;
    z-index: 2;
}

.service-card .eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-600);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.service-card h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.1;
}

.service-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    max-width: 380px;
}

.solutions-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-800);
    margin-top: 4px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
    margin-top: 4px;
}

.solution-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-800);
}

.solution-dot {
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
    flex-shrink: 0;
}


/* STATS CAROUSEL */
.stats-carousel-section {
    background: var(--teal);
    padding: 56px 0;
    overflow: hidden;
}

.stats-carousel-track {
    display: flex;
    width: max-content;
    gap: 40px;
    list-style: none;
    animation: stats-scroll 40s linear infinite;
}

.stats-carousel-track li {
    flex-shrink: 0;
}

.stats-carousel-section:hover .stats-carousel-track {
    animation-play-state: paused;
}

.stat-card {
    width: 400px;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    cursor: pointer;
}

.stat-card-visual {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-lg);
    background: #fff;
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.stat-card-visual.number {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 800;
    flex-direction: column;
    gap: 0;
    line-height: 1;
}

.stat-card-visual.photo {
    background-size: cover;
    background-position: center;
}

.stat-card-visual.photo.van {
    background-image: url('../../images/fleet-van-square.png');
}

.stat-card-visual.photo.truck {
    background-image: url('../../images/fleet-truck-square.png');
}

.stat-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-card-label {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}

.stat-card-text {
    font-size: 12px;
    color: var(--white);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@keyframes stats-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .stats-carousel-track {
        animation: none;
        overflow-x: auto;
    }
}

@media (width <= 768px) {
    .stat-card {
        width: 280px;
    }

    .stat-card-visual {
        width: 60px;
        height: 60px;
    }
}

/* RESPONSIVE */
@media (width <= 1024px) {
    .service-card {
        padding: 24px 28px;
        margin-left: -16px;
        height: auto;
        min-height: 300px;
    }

    .service-image {
        height: 340px;
    }

    .solutions-grid {
        gap: 8px 16px;
    }
}

@media (width <= 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .service-block {
        grid-template-columns: 1fr;
    }

    .service-block.reverse {
        direction: ltr;
    }

    .service-card {
        margin-left: 0;
        margin-top: -40px;
        margin-inline: 16px;
    }
}