/*========== Css Pai - Início ==========*/
@import url("style.css");
/*========== Css Pai - Fim ==========*/

/*========== Banner - Total Format ==========*/
.total-format {
    border-radius: none;
    background-repeat: no-repeat;
    background-position-x: right;
    background-size: 60%;
    border-color: transparent;
    box-shadow: none;
    margin-top: 1rem;
    box-shadow: var(--shadow-app);
}

.total-format-image {
    display: none;
}

/*========== Media Query - Banner - Total Format ==========*/
@media (max-width: 768px) {
    .total-format {
        padding: 10px 20px;
        margin-top: 2rem;
    }

    .total-format-image {
        display: block;
    }
}

/*========== Services ==========*/
.services {
    margin-top: -12rem;
}

.services-content {
    display: grid;
    gap: 2.2rem;
    margin-top: -4rem;
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

.services-content i {
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.services-content h3 {
    margin-bottom: 0.5rem;
}

.services-content p {
    font-size: 1.06rem;
    line-height: 1.55;
    margin-bottom: 0;
}

.services-box {
    position: relative;
    margin: 60px 0;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-app);
    display: grid;
    gap: 14px;
}

.services-box p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.services-box i {
    color: var(--accent-blue);
    font-size: 1.1rem;
}

.services-box i {
    color: var(--accent-blue);
}

.services-info h2 {
    text-align: center;
    letter-spacing: 1px;
    animation: fadeDown 0.7s ease forwards;
}

.services-info p {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}


@keyframes fadeUp {
    from {
        transform: translateY(25px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeDown {
    from {
        transform: translateY(-25px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/*========== Mobile Services - APP ==========*/
@media (max-width: 768px) {
    .services {
        margin-top: -11rem;
    }

    .services-content h3 {
        color: var(--accent-blue);
    }

    .services-content p {
        margin-top: -2.5rem;
        color: var(--dark);
    }

    .services-box {
        background: var(--white);
        border: 1px solid var(--gray);
        box-shadow: var(--shadow-app);
    }

    .services-box {
        color: var(--dark);
    }

    .services-info {
        color: var(--dark);
    }
}

/*========== Media Query ==========*/
@media (min-width: 768px) {
    .services-content {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ========= Total Format - Page ========= */
.total-format-page {
    background: var(--bg-gradient);
    margin-bottom: 10rem;
}

.total-format-page .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: nowrap;
    min-height: 100vh;
}

.total-format-content-page-text h1 {
    font-size: clamp(2.2rem, 3vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--accent-blue);
}

.total-format-content-page-text p {
    line-height: 1.6;
}

.total-format-content-page-text p b {
    color: var(--accent-blue);
    font-weight: 600;
}

.modal {
    position: relative;
    max-width: 520px;
    margin: 2.5rem 0 0;
    padding: 2.8rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-app);
}

.modal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 4px;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(90deg, var(--accent-blue), #3388ff);
}

.input-group {
    position: relative;
    margin-top: 18px;
}

.input-group i {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    font-size: 1.15rem;
    color: var(--accent-blue);
    opacity: 0.85;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 17px 18px 17px 54px;
    border: 1px solid var(--border);
    background: #f8fafc;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    resize: none;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: var(--banner-color-p);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(0,102,255,0.12);
}

.modal button {
    margin-top: 28px;
    width: 100%;
    letter-spacing: 0.2px;
}

.total-format-content-page-image img {
    max-width: 520px;
    width: 100%;
    filter: drop-shadow(0 30px 40px rgba(0,0,0,0.25));
}

/*========== Media Query -Total Format - Page ==========*/
@media (max-width: 1024px) {
    .total-format-page .container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .modal {
        margin-top: 2rem;
        border: 1px solid var(--gray);
    }
}

/*========== Media Query - Total Format - Page ==========*/
@media (max-width: 480px) {
    .modal {
        padding: 2rem 1.6rem;
        border-radius: 22px;
    }

    .modal button {
        font-size: 1rem;
    }
}

.modalContratar-btn {
    padding-top: 2rem;
    display: flex;
    justify-content: center;
}
