/* ====== HW Creative Cards 4 (home-section-dedicada-4) ====== */
.hw-cr4-section {
    position: relative;
    padding: 40px 0 20px;
    margin-top: 2rem;
}

.hw-cr4-container {
    width: 100%;
    margin: 0 auto;
    padding-left: 12px;
    padding-right: 12px;
}

.hw-cr4-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.hw-cr4-col {
    flex: 0 0 auto;
    width: 50%;
    padding: 0 15px;
    margin-bottom: 30px;
}

.hw-cr4-card {
    background: #b2c6c383;
    margin-bottom: 0;
    border-radius: 20px;
    transition: background-color 0.5s ease-in-out;
    padding: 28px 24px;
}

.hw-cr4-card.hw-cr4-card--active {
    background-color: rgba(17, 44, 46, 0.06);
}

.hw-cr4-card-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.hw-cr4-icon {
    position: relative;
    max-width: 100px;
    max-height: auto;
}

.hw-cr4-icon-symbol {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(3, 97, 86, 0.9);
    line-height: 1.2;
}

.hw-cr4-heading {
    position: relative;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
    margin: 0 0 12px;
    transition: all 0.5s ease-in-out;
    color: #112c2e;
}

.hw-cr4-heading::after {
    content: '';
    width: 67px;
    height: 2px;
    display: block;
    margin-top: 10px;
    background-color: rgba(17, 44, 46, 0.15);
    transition: all 0.5s ease-in-out;
}

.hw-cr4-card.hw-cr4-card--active .hw-cr4-heading::after,
.hw-cr4-card:hover .hw-cr4-heading::after {
    width: 100%;
    background-color: rgb(3, 97, 86);
}

.hw-cr4-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    color: #4b5563;
    transition: color 0.5s ease-in-out;
}

.hw-cr4-card.hw-cr4-card--active .hw-cr4-desc {
    color: #374151;
}

.hw-cr4-count {
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1;
    text-align: right;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: rgba(17, 44, 46, 0.18);
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-top: 0;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .hw-cr4-section {
        padding: 24px 0 10px;
    }

    .hw-cr4-col {
        width: 50%;
        margin-bottom: 20px;
    }

    .hw-cr4-card {
        padding: 20px 16px;
    }
}

@media (max-width: 600px) {
    .hw-cr4-col {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 16px;
        padding-left: 0;
        padding-right: 0;
    }

    .hw-cr4-card {
        padding: 22px 16px;
    }

    .hw-cr4-heading {
        font-size: 1.05rem;
    }

    .hw-cr4-desc {
        font-size: 0.9rem;
    }

    .hw-cr4-count {
        font-size: 2.2rem;
    }
}

/* ====== SVG / Page animations (complementares) ====== */
.svg {
    width: 100%;
    height: auto;
    max-height: 400px;
    /* Isso limita o "buraco" abaixo da imagem */
    display: block;
}

@media (max-width: 950px) {
    .svg {
        max-height: 150px;
        display: block;
    }
}

#line {
    transform: scaleX(0);
    transform-origin: 50% 100%;
    animation: grow 1s forwards;
}

.draw {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    fill: none;
    stroke: #ccc;
    stroke-width: 4;
    animation: draw 3s 2s forwards, fill 1s 2.5s forwards;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.page .frame {
    fill: #ccc;
    stroke: none;
}

.page .background {
    fill: white;
    stroke: none;
}

.page .background,
.page .frame,
.page rect {
    transform: scaleY(0);
    transform-origin: 50% 100%;
    animation: grow 1s 1s forwards;
}

.page-center .content-group {
    animation: contentScroll 8s 3.5s infinite;
}

.page-sidebar .content-group {
    animation: contentScrollTwo 8s 4s infinite;
}

.page-form .outline-container {
    fill: #ccc;
}

.page-form .field-content {
    animation: draw 3s 2s forwards, fillTwo 1s 2.5s forwards
}

.page-form .field {
    animation: draw 3s 2s forwards, fill 1s 2.5s forwards, highlight 1s 3.5s;
}

.page-form .field-two {
    animation: draw 3s 2s forwards, fill 1s 2.5s forwards, highlight 1s 4.5s;
}

.page-form .button-container .button {
    animation: draw 3s 2s forwards, fill 1s 2.5s forwards, highlight 1s 5.5s;
}

.page-form .check-mark {
    fill: #10B500;
    animation: none;
}

.page-slider .image-slider-group {
    animation: sliderScroll 8s 3.5s infinite;
}

.page-hero .images-container {
    animation: heroImagesOne 6s 3.5s infinite;
}

.page-hero .images-container-two {
    animation: heroImagesTwo 6s 3.5s infinite;
}

@keyframes grow {

    100% {
        transform: scale(1);
    }

}

@keyframes draw {

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes fill {

    100% {
        fill: #ccc;
        stroke-width: 0;
    }

}

@keyframes fillTwo {

    100% {
        fill: white;
        stroke-width: 0;
    }

}

@keyframes contentScroll {

    50% {
        transform: translateY(-165px);
    }

}

@keyframes contentScrollTwo {

    50% {
        transform: translateY(-140px);
    }

}

@keyframes highlight {
    0% {
        fill: #ccc;
    }

    50% {
        fill: #10B500;
    }

    100% {
        fill: #ccc;
    }
}

@keyframes fadeIn {

    100% {
        opacity: 1;
    }

}

@keyframes fadeOut {

    100% {
        opacity: 0;
    }

}

@keyframes sliderScroll {

    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-13.99%);
    }

    45% {
        transform: translateX(-13.99%);
    }

    50% {
        transform: translateX(-27.95%);
    }

    70% {
        transform: translateX(-27.95%);
    }

    75% {
        transform: translateX(13.95%);
    }

    95% {
        transform: translateX(13.95%);
    }

}

@keyframes heroImagesOne {

    0% {
        transform: translateX(0);
    }

    10%,
    50% {
        transform: translateX(-459px);
    }

    60%,
    100% {
        transform: translateX(0);
    }

}

@keyframes heroImagesTwo {

    0% {
        transform: translateX(459px);
    }

    10%,
    50% {
        transform: translateX(0);
    }

    60%,
    100% {
        transform: translateX(459px);
    }

}

#form-sent {
    opacity: 0;
    transition: opacity 1000ms;
    animation: fadeIn 1s 6.5s forwards, fadeOut 2s 10s forwards;
}

.is-hidden {
    opacity: 0;
}