/* ================================================= */
/* CSS PÁGINA DE CONTATO (VERSÃO 2.0)       */
/* ================================================= */

/* Definindo algumas cores base para consistência */
:root {
    --brand-purple: #973CBF;
    --brand-orange: #FF6F00;
    --brand-green: #6B8C79;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-100: #f8f9ff;
    --background-light: #e8f0ff;
}

/* ===========================
   HERO SECTION
=========================== */
.hero-section {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--background-light) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-text {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 24px;
    animation: slideUp 0.8s ease-out both;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 32px;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.cta-buttons .btn {
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 12px;
}

.cta-buttons .btn-primary {
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-orange));
    color: white;
}
.cta-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(151, 60, 191, 0.3);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--brand-purple);
    border: 2px solid var(--brand-purple);
}
.cta-buttons .btn-secondary:hover {
    background: var(--brand-purple);
    color: white;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 450px;
    height: 450px;
}

.floating-dots .dot {
    position: absolute;
    border-radius: 50%;
    animation: floatDot 4s ease-in-out infinite alternate;
}
.dot-1 { width: 25px; height: 25px; background: rgba(151, 60, 191, 0.3); top: 15%; left: 10%; animation-delay: 0s; }
.dot-2 { width: 20px; height: 20px; background: rgba(107, 140, 121, 0.4); top: 70%; right: 15%; animation-delay: 1.5s; }
.dot-3 { width: 30px; height: 30px; background: rgba(255, 111, 0, 0.2); bottom: 20%; left: 15%; animation-delay: 3s; }

.contact-image {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 45% 55% 60% 40% / 60% 45% 55% 40%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(151, 60, 191, 0.2);
    animation: fadeInZoom 1s ease-out 0.5s both, morphShape 10s ease-in-out infinite;
    margin: auto;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.contact-image:hover img {
    transform: scale(1.05);
}

/* ===========================
   CANAIS OFICIAIS
=========================== */
.contact-methods-section {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-method {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-orange));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.contact-method:hover::before {
    transform: scaleX(1);
}

.contact-method:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(151, 60, 191, 0.15);
}

.method-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gray-100), var(--background-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: var(--brand-purple);
}

.method-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.method-text {
    font-size: 1.1rem;
    color: var(--gray-700);
    font-weight: 500;
    margin-bottom: 8px;
    text-decoration: none;
    transition: color 0.3s;
}
.contact-method a.method-text:hover {
    color: var(--brand-purple);
}

.method-note {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-style: italic;
}


/* ===========================
   FORMULÁRIO DE CONTATO
=========================== */
.contact-form-section {
    padding: 100px 0;
    background: var(--gray-100);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-purple);
    box-shadow: 0 0 0 4px rgba(151, 60, 191, 0.1);
}

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

.form-submit {
    text-align: center;
}

.submit-btn {
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-orange));
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    min-width: 250px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(151, 60, 191, 0.4);
}

.submit-btn .btn-spinner {
    display: none;
}
.submit-btn.loading .btn-text {
    opacity: 0;
}
.submit-btn.loading .btn-spinner {
    display: block;
    position: absolute;
    top: 50%; left: 50%;
    margin-top: -12px; margin-left: -12px;
    width: 24px; height: 24px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.submit-btn.success {
    background: #28a745;
}

.form-feedback {
    margin-top: 16px;
    font-weight: 500;
    color: var(--brand-purple);
}

/* ===========================
   ANIMAÇÕES
=========================== */
@keyframes fadeInZoom { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
@keyframes floatDot { from { transform: translateY(0px); } to { transform: translateY(-20px); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes morphShape {
  0%, 100% { border-radius: 45% 55% 60% 40% / 60% 45% 55% 40%; }
  25% { border-radius: 60% 40% 45% 55% / 45% 60% 40% 55%; }
  50% { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; }
  75% { border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%; }
}

/* ===========================
   RESPONSIVIDADE
=========================== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    .hero-visual {
        order: -1; /* Imagem vai para cima no mobile */
    }
    .hero-image-container { width: 350px; height: 350px; }
    .contact-image { width: 320px; height: 320px; }
    .cta-buttons { justify-content: center; }
}

@media (max-width: 768px) {
    .section-title { font-size: 2.2rem; }
    .form-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
}

@media (max-width: 480px) {
    .hero-section { padding: 80px 0 60px; }
    .contact-methods-grid, .form-grid { padding: 0 15px; }
}