/* =============================================================================
   CONTATO.CSS - Estilos exclusivos da página de contato
   ============================================================================= */

/* ========== HERO CONTATO ========== */
.hero-contato {
    background: linear-gradient(135deg, #1565c0 0%, #1e88e5 50%, #2ed8b6 100%);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-contato::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* Grid tecnológico */
        linear-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.10) 1px, transparent 1px),
        /* Brilhos suaves */
        radial-gradient(circle at 20% 40%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    background-size: 
        25px 25px,
        25px 25px,
        600px 600px,
        600px 600px;
    background-position: 0 0, 0 0, 0 0, 100% 100%;
    opacity: 0.4;
    z-index: 1;
}

.hero-contato-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Conteúdo do Hero */
.hero-contato-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-contato-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
}

.hero-contato-content h1 .highlight-primary {
    color: #00d4ff;
    text-shadow: 0 2px 10px rgba(0, 212, 255, 0.3);
}

.hero-contato-content h1 .highlight-green {
    color: #00ff9d;
    text-shadow: 0 2px 10px rgba(0, 255, 157, 0.3);
}

.hero-contato-content .hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-contato .btn-white {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-contato .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-contato .btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.hero-contato .btn-outline-white:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Visual do Hero - Cards de Contato */
.hero-contato-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-contato-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.contato-cards-mockup {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.contato-mockup-header {
    background: linear-gradient(135deg, #1565c0 0%, #2ed8b6 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.contato-mockup-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.contato-mockup-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.contato-cards-grid {
    padding: 1.5rem;
    display: grid;
    gap: 1rem;
}

.contato-card-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8faff;
    border-radius: 12px;
    border-left: 3px solid #1e88e5;
    transition: all 0.3s ease;
}

.contato-card-preview:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #f0f8ff;
}

.contato-icon-preview {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e88e5, #2ed8b6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contato-icon-preview i {
    font-size: 1.5rem;
    color: white;
}

.contato-info-preview h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
}

.contato-info-preview p {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin: 0;
}

/* Floating Elements */
.floating-contato {
    position: absolute;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    animation: float 3s ease-in-out infinite;
}

.floating-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.floating-2 {
    bottom: 30%;
    left: -15%;
    animation-delay: 1s;
}

.floating-3 {
    bottom: 10%;
    right: -5%;
    animation-delay: 2s;
}

.floating-contato i {
    color: #1e88e5;
    font-size: 1rem;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
        opacity: 1;
    }
    50% {
        transform: translateY(-15px);
        opacity: 0.8;
    }
}

/* ========== CONTACT INFO SECTION ========== */
.contact-info {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #1e88e5, #2ed8b6);
    border-radius: 2px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-methods h2 {
    font-size: 2.7rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.schedule-info {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(30, 136, 229, 0.1);
    cursor: pointer;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(30, 136, 229, 0.15);
    border-color: rgba(30, 136, 229, 0.3);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e88e5, #2ed8b6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon i {
    font-size: 1.5rem;
    color: white;
}

.method-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: var(--text-dark);
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
}

.company-address {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 15px;
}

.company-address h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.address-info {
    display: flex;
    gap: 1rem;
    color: var(--text-medium);
}

.address-info i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.cnpj-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* ========== CONTACT FORM ========== */
#contato-form {
    scroll-margin-top: 80px;
}

.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(30, 136, 229, 0.1);
    transition: all 0.3s ease;
}

.contact-form-container:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    border-color: rgba(30, 136, 229, 0.2);
}

.contact-form h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
}

.contact-form h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1e88e5, #2ed8b6);
    border-radius: 2px;
}

.contact-form > p {
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    margin-bottom: 0.65rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(64, 153, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
    line-height: 1.6;
}

/* Melhoria no estado de validação */
.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: #10b981;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

/* Loading state para botões */
.contact-form .btn-primary:active {
    transform: scale(0.98);
}

.contact-form .btn-outline:active {
    transform: scale(0.98);
}



.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions .btn {
    flex: 1;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, #1e88e5, #2ed8b6);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.4);
}

.contact-form .btn-outline {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.contact-form .btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Melhorias no select */
.form-group select {
    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='%234099ff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* Animação no focus dos campos */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    transform: translateY(-1px);
}

/* Estilo para campos obrigatórios */
.form-group label::after {
    content: '';
}

.form-group:has([required]) label::after {
    content: ' *';
    color: #e74c3c;
    font-weight: bold;
}

/* Melhoria visual no placeholder */
.form-group textarea::placeholder {
    color: #9ca3af;
    font-style: italic;
}

/* ========== QUICK SUPPORT ALTERNATIVO ========== */
.quick-support-alt {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.quick-support-alt::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 136, 229, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.quick-support-alt .container {
    position: relative;
    z-index: 2;
}

/* Grid Moderno */
.support-grid-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

/* Card Principal - Destaque */
.support-card-modern {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.support-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.support-primary {
    background: linear-gradient(135deg, #1e88e5 0%, #2ed8b6 100%);
    color: white;
}

.card-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.support-icon-modern {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.support-icon-modern i {
    font-size: 2.5rem;
    color: white;
}

.support-card-modern h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.support-card-modern p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.support-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.support-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
}

.support-features i {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.support-card-modern .btn {
    background: white;
    color: var(--primary-color);
    width: 100%;
    justify-content: center;
}

.support-card-modern .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card-decoration {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

/* Cards Secundários Compactos */
.support-cards-secondary {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.support-card-compact {
    background: white;
    padding: 1.75rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.support-card-compact:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-left-color: var(--primary-color);
}

.compact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f0f8ff, #e3f2fd);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.compact-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.compact-content {
    flex: 1;
}

.compact-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: var(--text-dark);
}

.compact-content p {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin: 0 0 0.5rem 0;
}

.compact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.compact-link:hover {
    color: var(--secondary-color);
    gap: 0.75rem;
}

.compact-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.compact-link:hover i {
    transform: translateX(4px);
}

/* Stats de Atendimento */
.support-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f0f8ff, #e3f2fd);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-medium);
    line-height: 1.3;
}

/* ========== FAQ SECTION ========== */
.faq-section {
    padding: 5rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: white;
    transition: all 0.3s ease;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, #1e88e5, #2ed8b6);
    color: white;
}

.faq-item.active .faq-question h4,
.faq-item.active .faq-question i {
    color: white;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 1.5rem 2rem;
    margin: 0;
    color: var(--text-medium);
    font-weight: 500;
    line-height: 1.65;
    font-size: 1rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .hero-contato-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-contato-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .visual-contato-container {
        max-width: 450px;
        margin: 0 auto;
    }
}

@media (max-width: 968px) {
    .hero-contato {
        padding: 6rem 0 4rem;
    }
    
    .hero-contato-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-contato-content .hero-description {
        font-size: 1.1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .support-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .support-grid-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .support-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-contato {
        padding: 5rem 0 4rem;
    }
    
    .hero-contato-content h1 {
        font-size: 2rem;
    }
    
    .hero-contato-content .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .floating-contato {
        display: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-form h2 {
        font-size: 1.8rem;
    }
    
    .contact-info {
        padding: 4rem 0;
    }
}

@media (max-width: 640px) {
    .hero-contato-content h1 {
        font-size: 1.75rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .support-options {
        grid-template-columns: 1fr;
    }
    
    .faq-question h4 {
        font-size: 1.1rem;
    }
    
    .support-card-modern {
        padding: 2rem;
    }
    
    .support-card-modern h3 {
        font-size: 1.5rem;
    }
    
    .support-stats {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .stat-item {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-light);
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .hero-contato {
        padding: 4rem 0 3rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .contato-cards-mockup {
        border-radius: 15px;
    }
    
    .contato-mockup-header {
        padding: 1rem;
    }
    
    .contato-cards-grid {
        padding: 1rem;
    }
}
