/* CSS Premium Master Project 2025 - Página de Contato */

/* Banner de Contato */
.contact-banner {
    background: var(--gradient-primary);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.contact-banner .holo-content {
    z-index: 3;
}

.quick-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-contact div {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--white);
}

.quick-contact i {
    font-size: var(--text-lg);
    width: 24px;
    text-align: center;
}

/* Seção de Contato */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    margin-top: var(--space-2xl);
}

.contact-form-container {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--holographic-effect);
    opacity: 0.1;
    z-index: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    position: relative;
    z-index: 2;
}

.info-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--holographic-effect);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 1;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-card:hover::before {
    opacity: 0.1;
}

.info-card .card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--space-lg);
    font-size: var(--text-xl);
}

.info-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 2;
}

.info-card p {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 2;
}

/* Seção do Mapa */
.map-section {
    padding: var(--space-3xl) 0;
    background-color: var(--gray-10);
}

body.dark .map-section {
    background-color: var(--gray-80);
}

.map-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-top: var(--space-xl);
}

.map-overlay {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    max-width: 350px;
    box-shadow: var(--shadow-md);
}

body.dark .map-overlay {
    background: rgba(26, 26, 26, 0.95);
}

.overlay-content h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
}

.overlay-content p {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--text-muted);
}

.overlay-content i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* Seção FAQ */
.faq-section {
    padding: var(--space-3xl) 0;
    background-color: var(--bg-light);
}

.faq-accordion {
    max-width: 800px;
    margin: var(--space-xl) auto 0;
}

.accordion-item {
    margin-bottom: var(--space-sm);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-header {
    width: 100%;
    padding: var(--space-lg);
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.accordion-header:hover {
    background-color: rgba(0, 102, 255, 0.05);
}

.accordion-header i {
    transition: transform var(--transition-fast);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    background-color: var(--bg-light);
}

.accordion-item.active .accordion-content {
    max-height: 300px;
}

.accordion-content p {
    padding: 0 var(--space-lg) var(--space-lg);
    margin: 0;
}

.faq-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

.faq-cta p {
    margin-bottom: var(--space-md);
    color: var(--text-muted);
}

/* Responsividade */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .map-overlay {
        position: relative;
        bottom: auto;
        left: auto;
        max-width: 100%;
        margin-top: var(--space-md);
    }
}

@media (max-width: 768px) {
    .quick-contact {
        padding: var(--space-md);
    }
    
    .contact-form-container,
    .info-card {
        padding: var(--space-lg);
    }
    
    .faq-section {
        padding: var(--space-2xl) 0;
    }
}

/* CSS Premium Master Project 2025 - Página de Contato - CORRIGIDO */

/* Variáveis CSS atualizadas para 2026 - COM MODO LIGHT */
:root {
    /* Cores para modo light */
    --hologram-blue: rgba(0, 100, 255, 0.7);
    --hologram-purple: rgba(138, 43, 226, 0.7);
    --hologram-pink: rgba(255, 20, 147, 0.7);
    --neon-blue: #0066ff;
    --neon-purple: #8a2be2;
    --neon-pink: #ff1493;
    --cyber-black: #0a0a0f;
    --cyber-dark: #12121a;
    --cyber-gray: #1a1a24;
    --light-bg: #f8f9fa;
    --light-card: #ffffff;
    --light-text: #333333;
    --light-muted: #666666;
    --glow-intensity: 0.6;
    --transition-2026: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Modo dark (quando body tem classe .dark) */
body.dark {
    --hologram-blue: rgba(0, 200, 255, 0.7);
    --hologram-purple: rgba(155, 89, 255, 0.7);
    --hologram-pink: rgba(255, 89, 218, 0.7);
    --neon-blue: #00f3ff;
    --neon-purple: #9b59ff;
    --neon-pink: #ff59da;
    --cyber-black: #0a0a0f;
    --cyber-dark: #12121a;
    --cyber-gray: #1a1a24;
    --light-bg: #0a0a0f;
    --light-card: #12121a;
    --light-text: #ffffff;
    --light-muted: #cccccc;
}

/* Banner holográfico futurista - Versão Full */
.contact-banner.neo-futuristic {
    background: linear-gradient(135deg, var(--cyber-black) 0%, var(--cyber-dark) 50%, #0c1a2d 100%);
    position: relative;
    overflow: hidden;
    padding: 8rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Modo light para o banner */
body:not(.dark) .contact-banner.neo-futuristic {
    background: linear-gradient(135deg, #ffffff 0%, #f0f2f5 50%, #e3e7ed 100%);
}

/* Luzes flutuantes ajustadas para modo light */
body:not(.dark) .light-orb-1 {
    background: rgba(0, 100, 255, 0.3);
    filter: blur(30px);
}
body:not(.dark) .light-orb-2 {
    background: rgba(138, 43, 226, 0.3);
    filter: blur(30px);
}
body:not(.dark) .light-orb-3 {
    background: rgba(255, 20, 147, 0.3);
    filter: blur(30px);
}
body:not(.dark) .light-orb-4 {
    background: rgba(0, 100, 255, 0.3);
    filter: blur(30px);
}

/* Grade holográfica ajustada para modo light */
body:not(.dark) .holo-grid-lines {
    background-image: 
        linear-gradient(rgba(0, 100, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 100, 255, 0.05) 1px, transparent 1px);
}

/* Glitch effect ajustado */
body:not(.dark) .glitch-overlay {
    background: linear-gradient(45deg, transparent 49%, var(--neon-blue) 50%, transparent 51%);
    opacity: 0.03;
}

.holo-container-full {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.holo-content-full {
    width: 100%;
    text-align: center;
    padding: 0 2rem;
}

/* Título ajustado para modo light */
.glitch-text {
    font-size: 5rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-align: center;
}

body:not(.dark) .glitch-text {
    color: var(--light-text);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body:not(.dark) .glitch-text::before {
    color: var(--neon-blue);
}

body:not(.dark) .glitch-text::after {
    color: var(--neon-purple);
}

.title-underline {
    width: 300px;
    height: 5px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    margin: 1.5rem auto;
}

/* Subtítulo ajustado para modo light */
.typing-animation {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    line-height: 1.8;
    margin: 2rem auto 4rem;
    max-width: 800px;
    text-align: center;
}

body:not(.dark) .typing-animation {
    color: var(--light-text);
    border-right-color: var(--neon-blue);
}

/* Grid de cartões GRANDES - CORRIGIDO PARA MODO LIGHT */
.quick-contact-grid-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin: 4rem auto;
    max-width: 1200px;
    padding: 0 2rem;
}

.contact-card-large {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 2.5rem 2rem; /* Reduzido padding horizontal */
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 200, 255, 0.3);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 320px;
    perspective: 1200px;
    min-height: 320px;
}

/* Modo light para cartões */
body:not(.dark) .contact-card-large {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 100, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-card-large:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--neon-blue);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 200, 255, 0.2);
}

body:not(.dark) .contact-card-large:hover {
    border-color: var(--neon-blue);
    box-shadow: 
        0 20px 40px rgba(0, 100, 255, 0.15),
        0 0 30px rgba(0, 100, 255, 0.1);
}

.contact-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.15), rgba(155, 89, 255, 0.15));
    opacity: 0;
    transition: opacity 0.5s ease;
}

body:not(.dark) .contact-card-large::before {
    background: linear-gradient(135deg, rgba(0, 100, 255, 0.1), rgba(138, 43, 226, 0.1));
}

.contact-card-large:hover::before {
    opacity: 1;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-card-large:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.5rem; /* Reduzido padding horizontal */
}

.card-icon-large {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 0 40px rgba(0, 200, 255, 0.6);
    transition: all 0.3s ease;
}

.contact-card-large:hover .card-icon-large {
    box-shadow: 0 0 60px rgba(0, 200, 255, 0.8);
}

body:not(.dark) .card-icon-large {
    box-shadow: 0 0 40px rgba(0, 100, 255, 0.4);
}

body:not(.dark) .contact-card-large:hover .card-icon-large {
    box-shadow: 0 0 60px rgba(0, 100, 255, 0.6);
}

.card-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

body:not(.dark) .card-label {
    color: var(--light-text);
}

.card-value-large {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

body:not(.dark) .card-value-large {
    color: var(--light-text);
}

/* Correção para email quebrado */
.email-break {
    font-size: 1.6rem !important;
    line-height: 1.4 !important;
    word-break: break-all;
    hyphens: auto;
    padding: 0 0.5rem;
}

.card-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    text-align: center;
    margin-top: 1rem;
    line-height: 1.5;
    max-width: 90%;
}

body:not(.dark) .card-description {
    color: var(--light-muted);
}

.card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-radius: 20px;
    color: white;
    padding: 3rem 2rem;
}

/* Container de CTA GRANDE - CORRIGIDO */
.holo-cta-container-large {
    display: flex;
    gap: 2rem;
    margin: 5rem auto 3rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    padding: 0 2rem;
}

/* Botão holográfico GRANDE - CORRIGIDO PARA MODO LIGHT */
.btn-holographic-large {
    position: relative;
    padding: 1.8rem 4rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 200, 255, 0.4);
    border-radius: 60px;
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    min-width: 280px;
    justify-content: center;
}

body:not(.dark) .btn-holographic-large {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 100, 255, 0.3);
    color: var(--light-text);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-holographic-large:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--neon-blue);
    box-shadow: 
        0 15px 30px rgba(0, 200, 255, 0.3),
        0 0 40px rgba(0, 200, 255, 0.2);
}

body:not(.dark) .btn-holographic-large:hover {
    border-color: var(--neon-blue);
    box-shadow: 
        0 15px 30px rgba(0, 100, 255, 0.2),
        0 0 40px rgba(0, 100, 255, 0.1);
}

.btn-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    border-radius: 60px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-holographic-large:hover .btn-glow {
    opacity: 1;
}

.btn-content-large {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 1.4rem;
    z-index: 2;
}

.btn-content-large i {
    font-size: 1.6rem;
}

/* Botão secundário GRANDE - CORRIGIDO */
.btn-secondary-large {
    padding: 1.8rem 3.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 60px;
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 280px;
    justify-content: center;
}

body:not(.dark) .btn-secondary-large {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 100, 255, 0.2);
    color: var(--light-text);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-secondary-large:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--neon-pink);
    background: rgba(255, 89, 218, 0.15);
    box-shadow: 
        0 15px 30px rgba(255, 89, 218, 0.2),
        0 0 40px rgba(255, 89, 218, 0.1);
}

body:not(.dark) .btn-secondary-large:hover {
    border-color: var(--neon-pink);
    background: rgba(255, 20, 147, 0.1);
    box-shadow: 
        0 15px 30px rgba(255, 20, 147, 0.15),
        0 0 40px rgba(255, 20, 147, 0.08);
}

/* Redes sociais - CORRIGIDO */
.social-contact {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

body:not(.dark) .social-contact {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.social-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body:not(.dark) .social-label {
    color: var(--light-text);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

body:not(.dark) .social-icon {
    background: rgba(255, 255, 255, 0.9);
    color: var(--light-text);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    transform: translateY(-5px) scale(1.1);
    border-color: transparent;
    color: white;
}

/* Badge para segundo Instagram */
.social-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--neon-pink);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Indicador de scroll - CORRIGIDO */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

body:not(.dark) .scroll-line {
    background: linear-gradient(to bottom, var(--neon-blue), transparent);
}

body:not(.dark) .scroll-line::after {
    background: linear-gradient(to bottom, var(--neon-blue), var(--neon-purple));
}

body:not(.dark) .scroll-dot {
    background: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
}

body:not(.dark) .scroll-text {
    color: var(--light-text);
}

/* Responsividade */
@media (max-width: 1200px) {
    .quick-contact-grid-large {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        padding: 0 3rem;
    }
    
    .contact-card-large {
        height: 300px;
        padding: 2rem 1.5rem;
    }
    
    .email-break {
        font-size: 1.4rem !important;
    }
}

@media (max-width: 992px) {
    .quick-contact-grid-large {
        grid-template-columns: 1fr;
        max-width: 600px;
        gap: 2rem;
    }
    
    .contact-card-large {
        height: 280px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .holo-cta-container-large {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-holographic-large,
    .btn-secondary-large {
        width: 100%;
        max-width: 400px;
    }
    
    .glitch-text {
        font-size: 4rem;
    }
    
    .email-break {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 768px) {
    .contact-banner.neo-futuristic {
        padding: 6rem 0 4rem;
    }
    
    .glitch-text {
        font-size: 3rem;
    }
    
    .typing-animation {
        font-size: 1.3rem;
        margin: 1.5rem auto 3rem;
    }
    
    .contact-card-large {
        height: 260px;
        padding: 1.8rem 1.2rem;
    }
    
    .card-icon-large {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .card-value-large {
        font-size: 1.5rem;
    }
    
    .email-break {
        font-size: 1.2rem !important;
    }
    
    .holo-cta-container-large {
        gap: 1.5rem;
        margin: 4rem auto 2rem;
    }
    
    .btn-holographic-large,
    .btn-secondary-large {
        padding: 1.5rem 3rem;
        font-size: 1.2rem;
        min-width: auto;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .glitch-text {
        font-size: 2.5rem;
    }
    
    .typing-animation {
        font-size: 1.1rem;
    }
    
    .contact-card-large {
        height: 240px;
        padding: 1.5rem 1rem;
    }
    
    .card-icon-large {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    
    .card-value-large {
        font-size: 1.3rem;
    }
    
    .email-break {
        font-size: 1.1rem !important;
    }
    
    .holo-content-full {
        padding: 0 1rem;
    }
    
    .card-label {
        font-size: 1rem;
    }
}