/**
 * CS Viagens & Eventos
 * Estilos específicos da página de Contato
 */

/* ========================================
   Hero Section
   ======================================== */
.contato-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .contato-hero {
        min-height: 400px;
    }
}

.contato-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(17, 66, 212, 0.7), rgba(16, 21, 34, 0.9));
    z-index: 1;
}

.contato-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.contato-hero-content {
    position: relative;
    z-index: 10;
    max-width: 48rem;
}

.contato-hero h1 {
    color: white;
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .contato-hero h1 {
        font-size: 3.75rem;
    }
}

.contato-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contato-hero p {
        font-size: 1.25rem;
    }
}

/* ========================================
   Main Content Section
   ======================================== */
.contato-main {
    position: relative;
    z-index: 20;
    margin-top: -4rem;
}

/* ========================================
   Form Card
   ======================================== */
.contato-form-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 2rem;
}

@media (min-width: 768px) {
    .contato-form-card {
        padding: 2.5rem;
    }
}

.dark .contato-form-card {
    background: #1c2333;
}

.contato-form-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contato-form-card .form-description {
    color: #64748b;
    margin-bottom: 2rem;
}

.dark .contato-form-card .form-description {
    color: #94a3b8;
}

/* Form Fields */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0d111b;
}

.dark .form-label {
    color: #e2e8f0;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #cfd5e7;
    border-radius: 0.5rem;
    padding: 0 1rem;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s;
}

.form-input,
.form-select {
    height: 3rem;
}

.form-textarea {
    padding: 1rem;
    resize: none;
}

.dark .form-input,
.dark .form-select,
.dark .form-textarea {
    background: #101522;
    border-color: #334155;
    color: #e2e8f0;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    ring: 2px;
    ring-color: var(--color-primary, #1142d4);
    border-color: var(--color-primary, #1142d4);
    box-shadow: 0 0 0 2px rgba(17, 66, 212, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #94a3b8;
}

/* Submit Button */
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--color-primary, #1142d4);
    color: white;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit:hover {
    background: #0d37b8;
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ========================================
   Contact Info Card
   ======================================== */
.contato-info-card {
    background: var(--color-primary, #1142d4);
    color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.contato-info-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contato-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contato-info-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contato-info-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
}

.contato-info-value {
    font-size: 1rem;
    font-weight: 500;
}

.contato-info-value.large {
    font-size: 1.125rem;
    font-weight: 700;
}

/* Social Icons */
.social-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-section p {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: white;
    color: var(--color-primary, #1142d4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.social-icon:hover {
    background: #f1f5f9;
    transform: scale(1.1);
}

.social-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ========================================
   Horário Card
   ======================================== */
.horario-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    border: 1px solid #e7eaf3;
}

.dark .horario-card {
    background: #1c2333;
    border-color: #334155;
}

.horario-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.horario-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e7eaf3;
}

.dark .horario-item {
    border-color: #334155;
}

.horario-item:last-child {
    border-bottom: none;
}

.horario-dia {
    font-weight: 500;
}

.horario-hora {
    color: #64748b;
}

.dark .horario-hora {
    color: #94a3b8;
}

.horario-fechado {
    color: #ef4444;
    font-weight: 500;
}

/* ========================================
   FAQ Sidebar Card
   ======================================== */
.faq-sidebar-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    border: 1px solid #e7eaf3;
}

.dark .faq-sidebar-card {
    background: #1c2333;
    border-color: #334155;
}

.faq-sidebar-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-sidebar-card p {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.dark .faq-sidebar-card p {
    color: #94a3b8;
}

.faq-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary, #1142d4);
    font-weight: 700;
    transition: gap 0.2s;
}

.faq-link:hover {
    gap: 0.75rem;
}

/* ========================================
   Map Section
   ======================================== */
.mapa-section {
    margin-bottom: 4rem;
}

.mapa-container {
    width: 100%;
    height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e7eaf3;
    background: #f1f5f9;
}

.dark .mapa-container {
    border-color: #334155;
}

.mapa-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.mapa-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    text-align: center;
    padding: 2rem;
}

.dark .mapa-placeholder {
    background: #101522;
}

.mapa-placeholder .material-symbols-outlined {
    font-size: 4rem;
    color: var(--color-primary, #1142d4);
    margin-bottom: 1rem;
}

.mapa-placeholder h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mapa-placeholder p {
    color: #64748b;
    max-width: 30rem;
}

.dark .mapa-placeholder p {
    color: #94a3b8;
}

.mapa-endereco-box {
    margin-top: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e7eaf3;
}

.dark .mapa-endereco-box {
    background: #1c2333;
    border-color: #334155;
}

.mapa-endereco-box p {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
}

.mapa-endereco-box small {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
    padding: 4rem 1.5rem;
    border-top: 1px solid #e7eaf3;
}

.dark .faq-section {
    border-color: #334155;
}

.faq-section h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.faq-section > p {
    color: #64748b;
    max-width: 42rem;
    margin: 0 auto 3rem;
    text-align: center;
}

.dark .faq-section > p {
    color: #94a3b8;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .faq-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.faq-item {
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #e7eaf3;
    transition: border-color 0.2s;
}

.dark .faq-item {
    border-color: #334155;
}

.faq-item:hover {
    border-color: rgba(17, 66, 212, 0.5);
}

.faq-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.faq-item p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.7;
}

.dark .faq-item p {
    color: #94a3b8;
}

.faq-btn-center {
    text-align: center;
    margin-top: 3rem;
}

.btn-faq {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    border: 2px solid var(--color-primary, #1142d4);
    color: var(--color-primary, #1142d4);
    font-weight: 700;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-faq:hover {
    background: var(--color-primary, #1142d4);
    color: white;
}

/* ========================================
   WhatsApp Float Button
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
    width: 2rem;
    height: 2rem;
}

/* ========================================
   Animations
   ======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* Form Success Message */
.form-success {
    background: #dcfce7;
    border: 1px solid #22c55e;
    border-radius: 0.5rem;
    padding: 1rem;
    color: #166534;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dark .form-success {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
}

/* Form Error Message */
.form-error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    border-radius: 0.5rem;
    padding: 1rem;
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dark .form-error {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
}

/* Loading Spinner */
.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
