/* ==================================================
   PÁGINA DE CONTATO
   ================================================== */

.contact-hero {

    background: #2c2c2c;

    min-height: 420px;

    display: flex;

    align-items: center;

}

.contact-hero .container {

    max-width: 900px;   

}

.contact-hero h1 {

    color: #fff;

    margin-top: 10px;

    margin-bottom: 12px;

    text-align: left;

}

.hero-description {

    max-width: 850px;

    margin-top: 0;

    color: rgba(255,255,255,.90);

    font-size: 1.05rem;

    line-height: 1.8;

    text-align: justify;

}

.hero-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* ==================================================
   CONTEÚDO
   ================================================== */

.contact-section {
    background: #f8f9fb;
    padding: 80px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr)
                           minmax(320px, .8fr);
    gap: 50px;
}

/* ==================================================
   CARD FORMULÁRIO
   ================================================== */

.contact-form-card {
    background: white;
    border-radius: 12px;
    padding: 45px;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

/* ==================================================
   CARD INFORMAÇÕES
   ================================================== */

.contact-info-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    padding: 45px;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.section-tag {
    display: inline-block;
    margin-bottom: 15px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #e35303;
}

.contact-info-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: #676d73;
    margin-bottom: 15px;
}

.contact-info-card p {
    color: #555;
    line-height: 1.8;
}

/* ==================================================
   DIVIDER
   ================================================== */

.divider {
    width: 90px;
    height: 4px;
    background: #e35303;
    border-radius: 20px;
    margin: 20px 0 30px;
}

/* ==================================================
   LISTA DE CONTATOS
   ================================================== */

.info-list {
    margin-top: 35px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item .icon {

    width: 55px;
    height: 55px;
    min-width: 55px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    flex-shrink: 0;
}

.info-item h4 {
    margin: 0 0 10px;
    color: #2c2c2c;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
}

.info-item p {
    margin-bottom: 5px;
}

/* ==================================================
   FORMULÁRIO
   ================================================== */
.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e35303;
    box-shadow: 0 0 0 4px rgba(227,83,3,0.10);
}

/* ==================================================
   BOTÕES
   ================================================== */
.btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #F7931E;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    transition: all .3s ease;
}

.btn-primary:hover {
    background: #2c2c2c;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ==================================================
   BOTÃO TELEFONE FLUTUANTE
   ================================================== */

.phone-floating-btn {
    position: fixed;
    right: 25px;
    bottom: 95px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #F7931E;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(0,0,0,.20);
    transition: all .3s ease;
}

.phone-floating-btn:hover {
    transform: scale(1.1);
}

/* ==================================================
   VOLTAR AO TOPO
   ================================================== */

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #2c2c2c;
    color: #fff;
    cursor: pointer;
    z-index: 999;
    transition: all .3s ease;
}

.back-to-top:hover {
    background: #F7931E;
}

/* ==================================================
   ANIMAÇÃO
   ================================================== */

.fadeInUp {
    animation: fadeInUp .9s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================================================
   RESPONSIVO
   ================================================== */

@media (max-width: 1024px) {

    .contact-grid {
        gap: 25px;
        grid-template-columns: 1fr;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 35px;
    }
}

@media (max-width: 768px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero {
        min-height: 280px;
        padding: 60px 20px;
    }

    .contact-hero h1 {
        font-size: 2.3rem;
    }

    .contact-info-card h2 {
        font-size: 1.7rem;
    }

    .contact-form-card,
    .contact-info-card {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .form-group input,
    .form-group textarea{
        font-size: 16px;
    }

    .main-nav {
        overflow-y: auto;
    }

    .main-nav.active {
        height: calc(100vh - 95px);
    }

}

@media (max-width: 480px) {

    .contact-hero h1 {
        font-size: 2rem;
    }

    .phone-floating-btn {
        width: 55px;
        height: 55px;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
    }

}

@media(prefers-reduced-motion: reduce){
    *{
        animation: none !important;
        transition: none !important;
    }

}