/*
Theme Name: Xcondo
Description: Tema WordPress moderno para o marketplace Xcondo, focado em condomínios. Design elegante com foco em experiência do usuário para moradores, síndicos e investidores.
Author: Xcondo Team
Version: 1.0
License: GPL v2 or later
Text Domain: xcondo
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Nova paleta de cores Xcondo */
    --azul-escuro: #0A2559;
    --azul-medio: #1E3D7B;
    --laranja: #F5A26C;
    --laranja-claro: #FFB88C;
    --preto: #000000;
    --branco: #ffffff;
    --cinza-claro: #f5f5f5;
    --cinza-medio: #e0e0e0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--branco);
    color: var(--azul-escuro);
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    z-index: 1000;
    border-bottom: 1px solid rgba(245, 162, 108, 0.3);
    box-shadow: 0 2px 10px rgba(10, 37, 89, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: var(--azul-escuro);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--laranja);
}

.btn-destaque {
    background: linear-gradient(45deg, var(--azul-escuro), var(--azul-medio));
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    color: var(--branco);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-destaque:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(10, 37, 89, 0.3);
    background: linear-gradient(45deg, var(--azul-medio), var(--azul-escuro));
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 5%;
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(245, 162, 108, 0.2) 0%, transparent 70%);
    transform: rotate(-30deg);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(245, 162, 108, 0.1) 0%, transparent 70%);
    transform: rotate(30deg);
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--laranja-claro);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--branco);
    text-shadow: 0 0 30px rgba(10, 37, 89, 0.5);
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(45deg, var(--laranja), var(--laranja-claro));
    color: var(--azul-escuro);
}

.btn-secondary {
    border: 2px solid var(--laranja);
    color: var(--branco);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(245, 162, 108, 0.4);
}

.btn-secondary:hover {
    background: var(--laranja);
    color: var(--azul-escuro);
}

/* Sobre Section */
.sobre {
    padding: 5rem 5%;
    background: var(--branco);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--azul-escuro);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, var(--azul-escuro), var(--laranja));
    border-radius: 2px;
}

.sobre-content {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--azul-escuro);
}

.diferencial {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(245, 162, 108, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(245, 162, 108, 0.3);
}

/* Como Funciona Section */
.como-funciona {
    padding: 5rem 5%;
    background: var(--cinza-claro);
}

.processo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.processo-item {
    background: var(--branco);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(10, 37, 89, 0.1);
    transition: all 0.3s;
    text-align: center;
}

.processo-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 37, 89, 0.15);
}

.processo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 162, 108, 0.1);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--laranja);
}

.processo-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--azul-escuro);
}

.processo-item p {
    color: var(--azul-medio);
    line-height: 1.6;
}

/* Solicitação de Implantação Section */
.implantacao {
    padding: 5rem 5%;
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio) 100%);
    color: var(--branco);
}

.implantacao .section-title {
    color: var(--branco);
}

.implantacao-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.implantacao-info {
    padding: 2rem;
}

.implantacao-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--laranja);
}

.implantacao-info p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.implantacao-info ul {
    list-style: none;
    margin-bottom: 2rem;
}

.implantacao-info ul li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.implantacao-info ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--laranja);
    font-weight: bold;
}

.implantacao-form {
    background: var(--branco);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.implantacao-form h3 {
    color: var(--azul-escuro);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Casos de Sucesso Section */
.casos-sucesso {
    padding: 5rem 5%;
    background: var(--branco);
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.depoimento {
    padding: 2rem;
    background: var(--cinza-claro);
    border-radius: 15px;
    position: relative;
    transition: all 0.3s;
}

.depoimento:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(10, 37, 89, 0.1);
}

.depoimento::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(245, 162, 108, 0.2);
    font-family: serif;
    line-height: 1;
}

.depoimento p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--azul-escuro);
    position: relative;
    z-index: 1;
}

.depoimento-autor {
    display: flex;
    align-items: center;
}

.depoimento-autor img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.depoimento-autor-info h4 {
    color: var(--azul-escuro);
    margin-bottom: 0.2rem;
}

.depoimento-autor-info p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--azul-medio);
    font-style: normal;
}

/* Para Investidores Section */
.investidores {
    padding: 5rem 5%;
    background: var(--cinza-claro);
}

.investidores-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.investidores-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--azul-escuro);
}

.investidores-info p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--azul-medio);
}

.metricas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.metrica-item {
    background: var(--branco);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(10, 37, 89, 0.05);
}

.metrica-valor {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--laranja);
    margin-bottom: 0.5rem;
}

.metrica-label {
    color: var(--azul-escuro);
    font-weight: 500;
}

.investidores-grafico {
    background: var(--branco);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(10, 37, 89, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Blog Section */
.blog {
    padding: 5rem 5%;
    background: var(--branco);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-post {
    background: var(--cinza-claro);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(10, 37, 89, 0.05);
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(10, 37, 89, 0.1);
}

.blog-img {
    height: 200px;
    background: var(--azul-escuro);
    position: relative;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-post:hover .blog-img img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--laranja);
    margin-bottom: 0.5rem;
}

.blog-post h4 {
    color: var(--azul-escuro);
    margin-bottom: 0.8rem;
}

.blog-post h4 a {
    color: var(--azul-escuro);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-post h4 a:hover {
    color: var(--laranja);
}

.blog-post p {
    color: var(--azul-medio);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-link {
    color: var(--laranja);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
}

.blog-link:hover {
    color: var(--azul-escuro);
}

.blog-link span {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.blog-link:hover span {
    transform: translateX(5px);
}

/* Contato Section */
.contato {
    padding: 5rem 5%;
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio) 100%);
    color: var(--branco);
}

.contato .section-title {
    color: var(--branco);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--laranja);
}

/* Correção para inputs, textareas e selects */
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--branco);
    font-family: inherit;
    transition: all 0.3s;
}

/* CORREÇÃO PARA SELECTS - CONTRASTE MELHORADO */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--branco);
    font-weight: 500;
    padding-right: 3rem;
}

/* CORREÇÃO PARA SELECTS EM FUNDOS CLAROS - CONTRASTE MELHORADO */
.implantacao-form .form-group select {
    color: var(--azul-escuro);
    background-color: var(--branco);
    border: 1px solid rgba(10, 37, 89, 0.2);
    font-weight: 500;
}

/* CORREÇÃO PARA OPÇÃO PLACEHOLDER DO SELECT */
.form-group select option[value=""] {
    color: rgba(10, 37, 89, 0.5);
}

/* CORREÇÃO PARA OPÇÕES DE SELECT */
.form-group select option {
    background-color: var(--branco);
    color: var(--azul-escuro);
    padding: 10px;
    font-weight: 500;
}

/* ESTILO PARA SELECT QUANDO ABERTO */
.form-group select:focus {
    outline: none;
    border-color: var(--laranja);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(245, 162, 108, 0.3);
}

/* ESTILO PARA SELECT EM FUNDOS CLAROS QUANDO EM FOCO */
.implantacao-form .form-group select:focus {
    background-color: var(--branco);
    border-color: var(--laranja);
    box-shadow: 0 0 0 2px rgba(245, 162, 108, 0.3);
}

/* ESTILO PARA OPÇÃO SELECIONADA */
.form-group select:not(:focus):invalid {
    color: rgba(255, 255, 255, 0.7);
}

.implantacao-form .form-group select:not(:focus):invalid {
    color: rgba(10, 37, 89, 0.7);
}

/* Animações */
.animate-target {
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0.7;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-submit {
    background: linear-gradient(45deg, var(--laranja), var(--laranja-claro));
    color: var(--azul-escuro);
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(245, 162, 108, 0.4);
}

.contato-info {
    padding: 2rem;
}

.contato-info h3 {
    color: var(--laranja);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contato-info p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.contato-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contato-icon {
    width: 40px;
    height: 40px;
    background: rgba(245, 162, 108, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--laranja);
}

.contato-text {
    flex: 1;
}

.contato-text h4 {
    margin-bottom: 0.3rem;
    color: var(--branco);
}

.contato-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.site-footer {
    background: var(--azul-escuro);
    padding: 3rem 5% 1rem;
    color: var(--branco);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-column h3 {
    color: var(--laranja);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--laranja);
    border-radius: 1.5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--laranja);
}

.footer-links a span {
    margin-right: 0.5rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--branco);
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--laranja);
    color: var(--azul-escuro);
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
}

.newsletter-input {
    flex: 1;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px 0 0 5px;
    color: var(--branco);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--laranja);
}

.newsletter-button {
    background: var(--laranja);
    color: var(--azul-escuro);
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-button:hover {
    background: var(--laranja-claro);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* WordPress Specific Styles */
.aligncenter {
    text-align: center;
}

.alignleft {
    float: left;
    margin-right: 1rem;
}

.alignright {
    float: right;
    margin-left: 1rem;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.9rem;
    color: var(--azul-medio);
    text-align: center;
    margin-top: 0.5rem;
}

/* Responsividade */
@media (max-width: 992px) {
    .implantacao-content,
    .investidores-content,
    .contato-content {
        grid-template-columns: 1fr;
    }
    
    .metricas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .metricas-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .processo-grid,
    .depoimentos-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--azul-escuro);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--azul-escuro);
    z-index: 2000;
    padding: 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--branco);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu-items {
    list-style: none;
    margin-top: 3rem;
}

.mobile-menu-items li {
    margin-bottom: 1.5rem;
}

.mobile-menu-items a {
    color: var(--branco);
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s;
}

.mobile-menu-items a:hover {
    color: var(--laranja);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

/* Investidores Logos Section */
.investidores-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
}

.investidor-item {
    width: 200px;
    height: 120px;
    background: var(--branco);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(10, 37, 89, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.investidor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(10, 37, 89, 0.15);
}

.investidor-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.investidor-nome {
    font-weight: 600;
    color: var(--azul-escuro);
    text-align: center;
}

.investidor-placeholder {
    border: 2px dashed var(--cinza-medio);
    background: var(--cinza-claro);
}

.investidores-cta {
    text-align: center;
    margin-top: 2rem;
}

.investidores-cta p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--azul-medio);
    margin-top: -1.5rem;
    margin-bottom: 2rem;
}

.nossos-investidores {
    padding: 5rem 5%;
    background: var(--branco);
}
