/* ===================================
   PONTOHUB - CSS CONTATO
   Estilos específicos para a página de contato
   VERSÃO COMPLETA COM DISCORD INTEGRATION
   =================================== */

/* Page Hero */
.page-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--light-blue) 0%, transparent 70%);
    opacity: 0.3;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--dark-blue);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-wrapper {
    position: sticky;
    top: 100px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.contact-card:hover::before {
    transform: scaleY(1);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
}

.contact-text {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.9rem;
}

.contact-text strong {
    color: var(--dark-blue);
    font-weight: 600;
}

.contact-text a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-base);
}

.contact-text a:hover {
    text-decoration: underline;
}

/* Quick Contact Buttons */
.quick-contact {
    display: flex;
    gap: 1rem;
}

.quick-btn {
    flex: 1;
    padding: 1rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 600;
    transition: var(--transition-base);
}

.quick-btn i {
    font-size: 1.25rem;
}

.quick-btn.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.quick-btn.email:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   CONTACT FORM - ESTILOS COMPLETOS
   =================================== */

.contact-form {
    background: var(--gray-50);
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
}

.form-subtitle {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group.full {
    grid-column: span 2;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-blue);
}

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--dark-blue);
    transition: var(--transition-base);
}

/* Estado de foco melhorado */
.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11, 67, 135, 0.1);
}

/* Estado de erro */
.form-input.error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23737373' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    padding-right: 3rem;
    cursor: pointer;
}

/* Checkbox personalizado */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Botão de envio */
.form-submit {
    width: 100%;
    padding: 1.25rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.form-submit::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--dark-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.form-submit:hover::after {
    width: 600px;
    height: 600px;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.form-submit span {
    position: relative;
    z-index: 1;
}

/* Estado desabilitado do botão */
.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.form-submit:disabled:hover {
    transform: none;
    box-shadow: var(--shadow-lg);
}

/* ===================================
   MENSAGENS DE FEEDBACK (DISCORD)
   =================================== */

/* Animação para mensagens */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mensagens de sucesso e erro */
.form-message {
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
    animation: slideDown 0.3s ease-out;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.form-success-message,
.success-message {
    background: #10b981;
    color: white;
    animation: slideDown 0.3s ease-out;
}

.form-error-message,
.error-message {
    background: #ef4444;
    color: white;
    animation: slideDown 0.3s ease-out;
}

/* Ícones nas mensagens */
.form-message i {
    margin-right: 8px;
    font-size: 18px;
}

/* Notificações popup (do JavaScript) */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 9999;
    max-width: 400px;
    animation: slideInRight 0.3s ease-out;
}

.notification.success {
    background: var(--primary);
    color: white;
}

.notification.error {
    background: #e74c3c;
    color: white;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
    }
    to {
        transform: translateX(0);
    }
}

/* ===================================
   FAQ SECTION
   =================================== */

.faq {
    padding: 120px 0;
    background: var(--gray-50);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-base);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ===================================
   MAP SECTION
   =================================== */

.map-section {
    position: relative;
    height: 400px;
    background: var(--gray-100);
}

.map-container {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    padding: 2rem 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    z-index: 10;
}

.map-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
}

.map-overlay p {
    color: var(--gray-600);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--gray-400);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1200px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info-wrapper {
        position: static;
    }

    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group {
        grid-column: span 1 !important;
    }

    .form-group.full {
        grid-column: span 1 !important;
    }

    .quick-contact {
        flex-direction: column;
    }

    .notification {
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .form-title {
        font-size: 1.5rem;
    }
    
    .form-submit {
        font-size: 1rem;
        padding: 1rem;
    }
}