/* style-contactos.css - FERTIC 2026 Contact Page */

:root {
    --space-blue: #0B0E14;
    --neon-blue: #00D4FF;
    --electric-purple: #7B2CBF;
    --silver: #E0E0E0;
    --text-gray: #94A3B8;
    --card-bg: rgba(30, 41, 59, 0.7);
    --header-height: 80px;
    --nav-width: 280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; scroll-behavior: smooth; }

body {
    background-color: var(--space-blue);
    color: var(--silver);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Background Animado */
.bg-animation {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 10s infinite ease-in-out;
}

.bg-circle:nth-child(1) {
    width: 400px; height: 400px;
    background: var(--neon-blue);
    top: -100px; right: -100px;
}

.bg-circle:nth-child(2) {
    width: 300px; height: 300px;
    background: var(--electric-purple);
    bottom: -50px; left: -50px;
    animation-delay: 3s;
}

.bg-circle:nth-child(3) {
    width: 250px; height: 250px;
    background: var(--neon-blue);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -20px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 20px) scale(1.05); }
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(11, 14, 20, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1002;
}

.logo-img {
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--neon-blue);
    letter-spacing: 2px;
}

.mobile-menu-btn {
    display: none;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue) !important;
    font-size: 1.5rem;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 10005;
    position: relative;
}

.desktop-cta { display: block; }
.mobile-only-cta { display: none; }

#navbar { display: flex; align-items: center; }
#navbar ul { display: flex; gap: 30px; }
#navbar a {
    color: var(--silver);
    font-weight: 500;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}
#navbar a:hover, #navbar a.active { color: var(--neon-blue); }

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .desktop-cta { display: none; }
    .mobile-only-cta { display: block; margin-top: 40px; width: 80%; text-align: center; }
    
    #navbar {
        position: fixed; top: 0; right: -100%;
        width: var(--nav-width); height: 100vh;
        background: rgba(11, 14, 20, 0.98);
        backdrop-filter: blur(15px);
        border-left: 1px solid rgba(0, 212, 255, 0.2);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: 80px;
        z-index: 10002;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    }
    #navbar ul { flex-direction: column; align-items: center; gap: 40px; width: 100%; }
    #navbar.active { right: 0; }
    
    .menu-overlay {
        position: fixed; top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.8);
        opacity: 0; visibility: hidden;
        transition: opacity 0.3s;
        z-index: 10003;
        backdrop-filter: blur(3px);
    }
    .menu-overlay.active { opacity: 1; visibility: visible; }
}

/* HERO SECTION */
.contact-hero {
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a1f2e 0%, var(--space-blue) 100%);
    padding: 0 20px;
    margin-top: var(--header-height);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: white;
}

.hero-content h1 span {
    color: var(--neon-blue);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.hero-content p {
    color: var(--text-gray);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* CONTACT SECTION */
.contact-section {
    padding: 80px 5%;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info, .contact-form-wrapper {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.contact-info h3, .contact-form-wrapper h3 {
    color: var(--neon-blue);
    margin-bottom: 10px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info h3 i, .contact-form-wrapper h3 i {
    font-size: 1.3rem;
}

.info-subtitle {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 20px;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.contact-item:hover .contact-icon {
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.1);
}

.contact-icon i {
    font-size: 1.4rem;
    color: var(--neon-blue);
}

.contact-details h4 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-details p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* SOCIAL SECTION */
.social-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-blue);
    font-size: 1.3rem;
    transition: all 0.3s;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--neon-blue), var(--electric-purple));
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
    border-color: transparent;
}

/* CONTACT FORM */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--silver);
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--neon-blue);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

.form-group select {
    cursor: pointer;
    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='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.form-group select option {
    background: var(--space-blue);
    color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: linear-gradient(45deg, var(--neon-blue), var(--electric-purple));
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4);
    filter: brightness(1.1);
}

.btn-submit i {
    transition: transform 0.3s;
}

.btn-submit:hover i {
    transform: translateX(5px);
}

/* MAP SECTION */
.map-section {
    padding: 80px 5%;
    background: rgba(15, 23, 42, 0.5);
}

.map-section h3 {
    text-align: center;
    color: var(--neon-blue);
    margin-bottom: 30px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.map-container iframe {
    filter: invert(90%) hue-rotate(180deg) contrast(0.9);
}

/* FAQ SECTION */
/* FAQ SECTION */
.faq-section {
    padding: 80px 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-section h3 {
    text-align: center;
    color: white;
    margin-bottom: 10px;
    font-size: 2rem;
}

.faq-section .info-subtitle {
    text-align: center;
    margin-bottom: 50px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
    user-select: none;
}

.faq-question:hover {
    background: rgba(0, 212, 255, 0.05);
}

.faq-question h4 {
    color: white;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-weight: 500;
}

.faq-question h4 i {
    color: var(--neon-blue);
}

.faq-question i {
    color: var(--neon-blue);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* Quando ativo, rotaciona o ícone */
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Resposta - IMPORTANTE: max-height para animação funcionar */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Valor suficiente para o conteúdo */
}

.faq-answer p {
    padding: 20px 25px;
    color: var(--text-gray);
    line-height: 1.8;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-section h3 {
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-answer p {
        padding: 15px 20px;
    }
}

/* CTA SECTION */
.cta-contact {
    padding: 80px 20px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.1) 0%, var(--space-blue) 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.cta-contact h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
}

.cta-contact p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* FOOTER */
footer {
    background: #05070a;
    padding: 60px 5% 30px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--neon-blue);
    margin-bottom: 20px;
    display: inline-block;
}

.social-links {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-links a {
    font-size: 1.5rem;
    color: var(--text-gray);
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: var(--neon-blue);
    transform: scale(1.2);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.footer-links a:hover {
    color: var(--neon-blue);
}

.copyright {
    font-size: 0.8rem;
    color: #555;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    margin-top: 20px;
}

/* TOAST */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, var(--neon-blue), var(--electric-purple));
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: bottom 0.5s ease;
    z-index: 10000;
}

.toast.show {
    bottom: 30px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info, .contact-form-wrapper {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info, .contact-form-wrapper {
        padding: 25px;
    }
    
    .faq-section h3 {
        font-size: 1.5rem;
    }
    
    .cta-contact h2 {
        font-size: 1.8rem;
    }
}