/* ========================================
   STYLES_GERAL.CSS - VERSÃO COMPLETA
   ======================================== */

/* ======== RESET GERAL ======== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ======== CONFIGURAÇÕES GERAIS ======== */
body {
    font-family: 'Fira Code', monospace;
    line-height: 1.6;
    position: relative;
    transition: opacity 0.5s ease;
    color: #e0e0e0;
    background-color: #282c34;
}

/* ======== CABEÇALHO COMPARTILHADO ======== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 40px;
    z-index: 20;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent;
}
.header.scrolled {
    background-color: #21252b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.logo img {
    width: 50px;
    height: auto;
    transition: transform 0.3s ease;
}
.logo:hover img {
    transform: scale(1.1);
}
.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}
.hamburger {
    font-size: 2rem;
    color: #ffffff;
    transition: color 0.3s ease;
}
.menu-btn:hover .hamburger {
    color: #00a3ff;
}
.dropdown-menu {
    display: block;
    position: fixed;
    top: -100vh; /* Escondido fora da tela */
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(45deg, #4a4a4a, #282c34);
    z-index: 10;
    transition: top 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.dropdown-menu.active {
    top: 0;
}
.dropdown-menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
}
.dropdown-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.8rem;
    transition: color 0.3s;
    font-weight: 500;
    padding: 10px 0;
    display: block;
}
.dropdown-menu a:hover {
    color: #00a3ff;
}

/* Substitua o bloco de código antigo por este */

/* ======== ESTILO DO BOTÃO DE FECHAR MENU ("Fechar") ======== */
.dropdown-close-icon {
    position: absolute;
    top: 25px;
    right: 40px;

    /* Estilo do botão (molde) */
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 20px; /* Ajusta o tamanho ao redor do texto */
    border-radius: 50px; /* Cantos bem arredondados para um visual de "pílula" */

    /* Estilo do texto "Fechar" */
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase; /* Deixa o texto em maiúsculas */

    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown-close-icon:hover {
    background-color: #00a3ff;
    color: #fff;
    border-color: #00a3ff;
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
    .dropdown-close-icon {
        top: 20px;
        right: 20px;
        padding: 6px 15px;
        font-size: 0.9rem;
    }
}
/* ======== HIERARQUIA DE TEXTO GERAL ======== */
main {
    animation: float 2s ease-in-out infinite; /* Efeito flutuante sutil */
}
@keyframes float {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-5px);
	}
	100% {
		transform: translatey(0px);
	}
}

main h1, main h2 {
    font-weight: 600;
    color: #ffffff;
}
main h1 { font-size: 2.8rem; margin-bottom: 20px; text-align: center; }
main h2 { font-size: 2.2rem; margin-bottom: 15px; color: #00a3ff; text-align: center;}
main h3 { font-size: 1.5rem; margin-bottom: 10px; color: #00a3ff; font-weight: 500;}
main p { font-size: 1.1rem; color: #c7c7c7; font-weight: 300; text-align: center;}


/* ======== PÁGINA SOBRE MIM ======== */
.about-section {
    padding: 120px 20px 60px;
    min-height: 70vh;
}
.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.about-text {
    max-width: 500px;
}
.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}
.about-text p:first-of-type {
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
}
.signature-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.profile-pic {
    width: 180px;
    height: 180px;
    border: 3px solid #00a3ff;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 163, 255, 0.3);
    margin-bottom: 20px;
}
.signature .name {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 5px;
}
.signature .name::after {
    content: "";
    display: block;
    width: 80%;
    margin: 5px auto 0;
    height: 2px;
    background: #00a3ff;
}
.signature .profession {
    font-size: 1.2rem;
    color: #00a3ff;
    font-style: italic;
    font-weight: 400;
}
.extracurricular-section {
    padding: 60px 20px;
}
.extracurricular-container {
    max-width: 1200px;
    margin: 0 auto;
}
.extracurricular-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}
.extracurricular-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}
.extracurricular-text h2 {
    color: #ffffff;
    text-align: left;
}
.extracurricular-text p {
    font-size: 1.2rem;
    color: #c7c7c7;
    line-height: 1.8;
    font-weight: 400;
    text-align: left;
}
.extracurricular-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}
.extracurricular-image-img { 
    width: 70%;
    max-width: 300px;
    border-radius: 50%;
    opacity: 0.8;
}


/* ======== PÁGINA TRABALHOS ======== */
.trabalhos-body main {
    padding-top: 80px;
}
.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    color: #282c34;
    padding: 10px 0;
    font-size: 2.5rem;
    font-weight: bold;
    background-color: #00a3ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}
.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 30s linear infinite;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
.trabalhos-section {
    padding: 40px 20px;
    text-align: center;
}
.trabalhos-section .container {
    max-width: 2000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.projeto {
    border: 1px solid #4a4a4a;
    width: calc(20% - 40px);
    padding: 10px;
    background-color: #3a3f47;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.projeto:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.projeto-imagem {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}
.projeto-titulo {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #00a3ff;
}
.projeto-descricao {
    font-size: 1em;
    color: #c7c7c7;
    margin-bottom: 15px;
    flex-grow: 1;
}
.projeto-botao, .projeto-botao-venda {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: 500;
    cursor: pointer;
    margin-top: auto;
    font-family: 'Fira Code', monospace;
}
.projeto-botao {
    background-color: #00a3ff;
    color: #000000;
}
.projeto-botao:hover {
    background-color: #007ac1;
}
.projeto-botao-venda {
    background-color: #ff6112;
    color: #fff;
}
.projeto-botao-venda:hover {
    background-color: #d9530f;
}


/* ======== PÁGINA PREÇOS ======== */
.precos-body main {
    padding: 120px 20px 60px;
}
.pricing-section {
    color: #ffffff;
    text-align: center;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.pricing-card {
    background: #3a3f47;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease;
    border-top: 5px solid #4a4a4a;
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-top-color: #00a3ff;
}
.pricing-card .card-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background-color: #282c34;
    border: 2px solid #00a3ff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pricing-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pricing-card h3 {
    text-transform: uppercase;
}
.pricing-card ul {
    list-style: none;
    font-size: 1rem;
    color: #c9c9c9;
    margin: 20px 0;
    text-align: left;
    padding-left: 20px;
}
.pricing-card ul li {
    position: relative;
    margin-bottom: 10px;
    font-weight: 300;
}
.pricing-card ul li::before {
    content: "✔";
    color: #00a3ff;
    position: absolute;
    left: -25px;
    font-size: 1.1rem;
}
.price {
    display: block;
    font-size: 1.8rem;
    color: #42972f;
    margin-bottom: 10px;
    font-weight: 600;
}
.installments {
    display: block;
    font-size: 0.9rem;
    color: #c9c9c9;
    position: relative;
    padding-left: 25px;
}
.installments::before {
    content: "💳";
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}
.faq-section {
    padding: 60px 40px;
    color: #c9c9c9;
    text-align: center;
}
.faq-container {
    max-width: 800px;
    margin: 20px auto 0;
}
.faq-item {
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #3a3f47;
}
.faq-question {
    background: #3a3f47;
    color: #ffffff;
    width: 100%;
    padding: 15px;
    text-align: left;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    font-family: 'Fira Code', monospace;
}
.faq-question:hover {
    background-color: #4a4a4a;
}
.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: #00a3ff;
}
.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #282c34;
    color: #ffffff;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer p {
    padding: 20px;
    text-align: left;
    font-size: 1rem;
}
.faq-item.active .faq-answer {
    max-height: 200px;
}


/* ======== PÁGINA CONTATO ======== */
.contato-body main.contato {
    min-height: calc(100vh - 80px - 74px); /* header - footer */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
}
.contact-section {
    text-align: center;
    color: #ffffff;
    max-width: 600px;
    width: 100%;
}
.contact-form {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-group {
    position: relative;
}
.form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #00a3ff;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: #000000;
    border: 2px solid transparent;
    color: #ffffff;
    font-family: 'Fira Code', monospace;
    border-radius: 5px;
    resize: vertical;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #00a3ff;
    background-color: #000000;
    outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #ffffff;
}
.submit-btn {
    background: #000000;
    border: none;
    padding: 12px 20px;
    font-size: 1.1rem;
    cursor: pointer;
    color: #ffffff;
    transition: background-color 0.3s, transform 0.3s;
    font-weight: bold;
    border-radius: 5px;
    font-family: 'Fira Code', monospace;
}
.submit-btn:hover {
    background-color: #007ac1;
    transform: translateY(-2px);
}
.social-links {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 25px;
}
.social-link img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.social-link:hover img {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 163, 255, 0.5);
}


/* ======== RODAPÉ ======== */
.footer {
    background-color: #21252b;
    text-align: center;
    padding: 15px;
    color: #a0a0a0;
}
.footer p {
    font-size: 1rem;
    font-weight: 300;
}
.footer .footer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 10px;
}
.footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    width: auto;
}
.footer .social-icons img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}
.footer .social-icons a:hover img {
    transform: scale(1.15);
}

/* ======== ESTILOS DO MODAL (POP-UP) ======== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}
.modal-content {
    background-color: #282c34;
    padding: 30px;
    border-radius: 10px;
    border-top: 5px solid #00a3ff;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.4s ease-in-out;
}
.modal-close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}
.modal-close:hover,
.modal-close:focus {
    color: #fff;
}
.modal-body {
    display: flex;
    gap: 30px;
}
.modal-img {
    width: 45%;
    max-width: 350px;
    border-radius: 8px;
    object-fit: cover;
    align-self: flex-start;
}
.modal-text {
    width: 55%;
    text-align: left;
}
.modal-text h2 {
    text-align: left;
    margin-top: 0;
    margin-bottom: 20px;
}
.modal-text h4 {
    color: #00a3ff;
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 1.2rem;
    text-align: left;
}
.modal-text p, .modal-text li {
    text-align: left;
    font-size: 1rem;
    color: #c7c7c7;
}
.tech-list, .feature-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}
.tech-list li {
    background-color: #3a3f47;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    display: inline-block;
    margin: 2px;
}
.feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}
.feature-list li::before {
    content: '✔';
    color: #00a3ff;
    position: absolute;
    left: 0;
}
.price-tag {
    font-size: 1.4rem !important;
    color: #5dff12 !important;
    margin-top: 20px !important;
    font-weight: 600;
}
.modal-botao {
    margin-top: 30px;
    display: inline-block; /* Garante que o botão não ocupe a largura toda */
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}


/* ======== RESPONSIVIDADE GERAL ======== */

/* Telas de Tablet */
@media (max-width: 1024px) {
    .projeto { 
        width: calc(33.33% - 20px); 
        padding: 15px;
    }
}

/* Telas de Tablet (menores) e Celulares (paisagem) */
@media (max-width: 768px) {
    .header { padding: 10px 20px; }
    main h1 { font-size: 2.2rem; }
    main h2 { font-size: 1.8rem; }

    .about-container, .extracurricular-content { 
        flex-direction: column; 
        text-align: center; 
    }
    .about-text p, .extracurricular-text p, .extracurricular-text h2 { 
        text-align: center; 
    }
    .extracurricular-image-img {
        width: 50%;
    }

    .projeto { 
        width: calc(50% - 20px); 
    }

    .pricing-grid { 
        grid-template-columns: 1fr; 
    }
    .faq-question { font-size: 1rem; }
    .social-link img { width: 50px; height: 50px; }

    .modal-body {
        flex-direction: column;
        max-height: 80vh;
        overflow-y: auto;
    }
    .modal-img, .modal-text {
        width: 100%;
        max-width: none;
    }
}

/* Telas de Celular (retrato) */
@media (max-width: 480px) {
    .dropdown-menu a { font-size: 1.3rem; }
    .projeto { 
        width: 100%; 
        gap: 10px;
    }
    .projeto-titulo { font-size: 1.3em; }
    .price { font-size: 1.5rem; }
    .contact-form input, .contact-form textarea { padding: 10px 10px 10px 40px; }
    .form-icon { font-size: 1rem; }
    .submit-btn { padding: 10px 15px; font-size: 1rem; }
    .social-link img { width: 45px; height: 45px; }
    .modal-content {
        padding: 20px;
    }
}
/* Adicione ao final de styles_geral.css */

/* ======== ESTILOS DA MENSAGEM DE STATUS DO FORMULÁRIO ======== */
#form-status {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    font-size: 1rem;
    display: none; /* Escondido por padrão, aparece com o JS */
}

/* Estilo para a mensagem de sucesso */
#form-status.status-success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Estilo para a mensagem de erro */
#form-status.status-error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}