/* STONE SECURITY — customizações */

.hero-section-three.hero-section-three-bg {
    background-image: url('../images/hero/hero-three.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero-section-three.hero-section-three-bg:before {
    display: none;
}

.hero-section-three.hero-section-three-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(7, 20, 45, 0.88) 0%,
        rgba(7, 20, 45, 0.65) 45%,
        rgba(7, 20, 45, 0.25) 100%
    );
    z-index: 0;
}

.hero-section-three.hero-section-three-bg .container {
    position: relative;
    z-index: 1;
}

.hero-section-three.hero-section-three-bg .hero-content-three h1,
.hero-section-three.hero-section-three-bg .hero-content-three p {
    color: #ffffff;
}

.hero-section-three.hero-section-three-bg .dots-shape,
.hero-section-three.hero-section-three-bg .tringle-shape,
.hero-section-three.hero-section-three-bg .close-shape {
    display: none;
}

@media only screen and (max-width: 991px) {
    .hero-section-three.hero-section-three-bg {
        background-position: center;
    }

    .hero-section-three.hero-section-three-bg::after {
        background: rgba(7, 20, 45, 0.78);
    }
}

/* Áreas de Actuação */
.areas-section {
    background: #f8f9fc;
}

.area-cards-grid > [class*="col-"] {
    margin-bottom: 30px;
}

.area-card {
    height: 100%;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15, 35, 80, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.area-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15, 35, 80, 0.14);
}

.area-card-image {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.area-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 20, 45, 0.15) 0%, rgba(7, 20, 45, 0.65) 100%);
}

.area-card-icon {
    position: absolute;
    left: 24px;
    bottom: 20px;
    z-index: 1;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 18px;
    box-shadow: 0 6px 16px rgba(1, 126, 255, 0.35);
}

.area-card-body {
    padding: 22px 24px 26px;
}

.area-card-body h4 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 6px;
    color: var(--heading-color);
}

.area-card-body span {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

@media only screen and (max-width: 767px) {
    .area-card-image {
        height: 170px;
    }
}

/* Missão e Valores */
.mission-values-banner {
    background-image: url('../images/shapes/solutions-bg-dots.png');
    background-position: center;
    background-repeat: no-repeat;
}

.mission-box {
    padding: 10px 24px;
    height: 100%;
}

.mission-pillars > [class*="col-"] {
    margin-bottom: 30px;
}

@media only screen and (min-width: 1200px) {
    .mission-pillars > [class*="col-"]:not(:first-child) .mission-box {
        border-left: 1px solid rgba(255, 255, 255, 0.2);
    }
}

.mission-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 14px;
}

.mission-box h3 {
    color: #ffffff;
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 16px;
}

.mission-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 0;
}

.mission-values-body {
    background: #ffffff;
}

.values-grid > [class*="col-"] {
    margin-bottom: 30px;
}

.value-card {
    height: 100%;
    padding: 32px 28px;
    border-radius: 12px;
    background: #f8f9fc;
    border: 1px solid rgba(1, 126, 255, 0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.value-card:hover {
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 35, 80, 0.1);
}

.value-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    margin-bottom: 22px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 22px;
}

.value-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--heading-color);
}

.value-card p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
    color: #5c6678;
}

@media only screen and (max-width: 1199px) {
    .mission-pillars > [class*="col-md-6"]:nth-child(odd) .mission-box {
        padding-right: 20px;
    }

    .mission-pillars > [class*="col-md-6"]:nth-child(even) .mission-box {
        border-left: 1px solid rgba(255, 255, 255, 0.2);
        padding-left: 28px;
    }
}

@media only screen and (max-width: 767px) {
    .mission-pillars > [class*="col-"] .mission-box {
        border-left: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 28px;
    }

    .mission-pillars > [class*="col-"]:first-child .mission-box {
        border-top: none;
        padding-top: 10px;
    }
}
