/* ================================
   CONTATO - HERO
================================ */

.page-hero.contato-hero {
    position: relative;
    min-height: 520px;
    padding: 220px 0 110px;
    background:
        linear-gradient(rgba(15, 47, 58, .78), rgba(15, 47, 58, .78)),
        url("../img/contato.jpg") center/cover no-repeat;
}

.page-hero-content {
    max-width: 850px;
}

.page-hero-content h1 {
    color: var(--white);
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.02;
    margin-bottom: 22px;
}

.page-hero-content p {
    color: #dce8eb;
    font-size: 19px;
    line-height: 1.8;
    max-width: 720px;
}


/* ================================
   FORMULÁRIO E INFORMAÇÕES
================================ */

.contact-page {
    padding: 100px 0;
    background: var(--light);
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 36px;
    align-items: start;
}

.contact-form-box,
.contact-info-card,
.contact-whatsapp-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 36px;
    box-shadow: 0 20px 50px rgba(15,47,58,.08);
}

.contact-form-box h2 {
    margin-bottom: 26px;
}

.contact-page-form input,
.contact-page-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: var(--white);
    padding: 16px;
    border-radius: 14px;
    margin-bottom: 14px;
    font-size: 15px;
    color: var(--primary);
    outline: none;
    font-family: inherit;
}

.contact-page-form textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-page-form input:focus,
.contact-page-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(77,184,159,.13);
}

.contact-page-form button {
    width: 100%;
    border: 0;
    background: var(--accent);
    color: var(--white);
    padding: 17px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: .25s;
}

.contact-page-form button:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}


/* ================================
   CARD WHATSAPP
================================ */

.contact-info-box {
    display: grid;
    gap: 24px;
}

.contact-whatsapp-card {
    background: #16A3AF;
    color: var(--white);
}

.contact-whatsapp-card i {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,.16);
    color: var(--white);
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 34px;
    margin-bottom: 20px;
}

.contact-whatsapp-card h3 {
    font-size: 26px;
    margin-bottom: 10px;
}

.contact-whatsapp-card p {
    color: rgba(255,255,255,.88);
    line-height: 1.7;
    margin-bottom: 22px;
}

.contact-whatsapp-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary);
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: 800;
}


/* ================================
   INFORMAÇÕES
================================ */

.contact-info-card {
    display: grid;
    gap: 22px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-item i {
    width: 46px;
    height: 46px;
    background: #e8f4f6;
    color: var(--accent);
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-info-item h3 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 6px;
}

.contact-info-item p,
.contact-info-item a {
    color: var(--text);
    line-height: 1.7;
}

.contact-info-item a {
    font-weight: 800;
}


/* ================================
   MAPA
================================ */

.contact-map-section {
    padding: 100px 0;
    background: var(--white);
}

.contact-map {
    height: 460px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15,47,58,.08);
    border: 1px solid var(--border);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/* ================================
   RESPONSIVO
================================ */

@media (max-width: 980px) {
    .page-hero.contato-hero {
        padding: 180px 0 80px;
    }

    .contact-page-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .page-hero.contato-hero {
        min-height: auto;
        padding: 150px 0 70px;
    }

    .page-hero-content h1 {
        font-size: 38px;
    }

    .page-hero-content p {
        font-size: 16px;
    }

    .contact-page,
    .contact-map-section {
        padding: 70px 0;
    }

    .contact-form-box,
    .contact-info-card,
    .contact-whatsapp-card {
        padding: 26px;
        border-radius: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-map {
        height: 340px;
        border-radius: 22px;
    }
}