/* ============================================
   Big Central Lojista - Seção de Contato
   Formulário Centralizado e Estilizado
   ============================================ */

/* ============================================
   HOME CONTACT SECTION - Estilo igual ao "Why Choose" e "Produtos Destaque"
   ============================================ */
.home-contact-section {
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 50%, #F3F4F6 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 80px 0;
}

.home-contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.home-contact-header-container {
    position: relative;
    z-index: 2;
    margin-bottom: var(--spacing-3xl);
}

.home-contact-header {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.home-contact-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-black);
    line-height: 1.2;
    color: var(--color-gray-900);
    margin-bottom: var(--spacing-md);
}

.home-contact-title .highlight-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-contact-intro {
    font-size: 1.5rem;
    color: var(--color-gray-600);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    font-weight: var(--font-weight-regular);
}

/* Container principal da seção de contato */
.contact-section {
    width: 100%;
    position: relative;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    padding: 80px 0;
}

.contact-container {
    position: relative;
    width: 100%;
    z-index: 2;
}

.contact-container .container {
    max-width: 1200px;
}

/* Cabeçalho da seção */
.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-section-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1F2937;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.contact-section-subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Wrapper do formulário - centralizado */
.contact-form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Formulário estilizado */
.contact-form-bg {
    background-color: #ffffff;
    padding: 56px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    max-width: 700px;
    width: 100%;
    border: 1px solid #E5E7EB;
    transition: box-shadow 0.3s ease;
}

.contact-form-bg:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Labels do formulário */
.contact-label {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
    margin-bottom: 8px;
    display: block;
}

/* Inputs do formulário */
.contact-input {
    border: 2px solid #E5E7EB !important;
    font-weight: 400;
    line-height: 1.5;
    color: #1F2937;
    font-size: 16px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.contact-input:focus {
    border-color: #DC143C !important;
    outline: none;
    box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.1);
    background-color: #ffffff;
}

.contact-input::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

.contact-input:hover {
    border-color: #D1D5DB;
}

/* Textarea específico */
.contact-input[type="textarea"],
textarea.contact-input {
    resize: vertical;
    min-height: 120px;
}

/* Select específico */
select.contact-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Checkbox */
.contact-check {
    width: 20px;
    height: 20px;
    border: 2px solid #D1D5DB;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 8px;
}

.contact-check:checked {
    background-color: #DC143C;
    border-color: #DC143C;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%23ffffff' d='M11.7 3.3c.4.4.4 1 0 1.4l-6 6c-.4.4-1 .4-1.4 0l-3-3c-.4-.4-.4-1 0-1.4s1-.4 1.4 0L5 8.6l5.3-5.3c.4-.4 1-.4 1.4 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.contact-check:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

.form-check-label {
    cursor: pointer;
    color: #4B5563;
    font-size: 14px;
    line-height: 1.5;
}

/* Botões */
.contact-submit-container {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.contact-submit-btn {
    background: linear-gradient(135deg, #DC143C 0%, #B71C1C 100%);
    width: 100%;
    color: white;
    height: 52px;
    flex: 1;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
}

.contact-submit-btn:hover {
    background: linear-gradient(135deg, #B71C1C 0%, #991B1B 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 20, 60, 0.4);
}

.contact-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(220, 20, 60, 0.3);
}

.contact-whats-btn {
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    color: white;
    border-radius: 12px;
    border: none;
    min-width: 160px;
    font-weight: 600;
    font-size: 16px;
    height: 52px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 24px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.contact-whats-btn i {
    font-size: 20px;
}

.contact-whats-btn:hover {
    background: linear-gradient(135deg, #20BA5A 0%, #1DA851 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.contact-whats-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

/* Responsivo - Desktop grande */
@media (min-width: 1200px) {
    .contact-section-title {
        font-size: 48px;
    }
    
    .contact-section-subtitle {
        font-size: 22px;
    }
    
    .contact-form-bg {
        padding: 64px;
    }
}

/* Responsivo - Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .home-contact-section {
        padding: 60px 0;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .home-contact-title {
        font-size: 2.5rem;
    }
    
    .home-contact-intro {
        font-size: 1.25rem;
    }
    
    .contact-header {
        margin-bottom: 48px;
    }
    
    .contact-section-title {
        font-size: 36px;
    }
    
    .contact-section-subtitle {
        font-size: 18px;
    }
    
    .contact-form-bg {
        padding: 48px;
        max-width: 650px;
    }
}

/* Responsivo - Mobile */
@media (max-width: 767px) {
    .home-contact-section {
        padding: 48px 0;
    }
    
    .home-contact-title {
        font-size: 2rem;
    }
    
    .home-contact-intro {
        font-size: 1.125rem;
    }
    
    .contact-section {
        padding: 48px 0;
    }
    
    .contact-header {
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .contact-section-title {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .contact-section-subtitle {
        font-size: 16px;
    }
    
    .contact-form-wrapper {
        padding: 0 20px;
    }
    
    .contact-form-bg {
        padding: 32px 24px;
        border-radius: 16px;
    }
    
    .contact-container .row > .col-md-6 > .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .contact-container .row > .col-md-6 > .row > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 16px;
    }
    
    .contact-submit-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .contact-submit-btn,
    .contact-whats-btn {
        width: 100%;
        height: 52px;
    }
    
    .contact-input {
        padding: 12px 14px;
        font-size: 16px;
    }
}

/* Ajustes para campos lado a lado no desktop */
@media (min-width: 768px) {
    .contact-form-bg .row {
        margin-left: -8px;
        margin-right: -8px;
    }
    
    .contact-form-bg .row > [class*="col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .contact-form-bg .row > .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Animações suaves */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form-bg {
    animation: fadeInUp 0.6s ease-out;
}

.contact-header {
    animation: fadeInUp 0.4s ease-out;
}
