/* ==========================================================================
   1. CONFIGURAÇÕES GERAIS E PALETA DE CORES
   ========================================================================== */
:root {
    --pink-branding: #C10086;
    --white: #FFFFFF;
    --light-gray: #F5F6F8;
    --medium-gray: #E2E8F0;
    --dark-gray: #1E293B;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--pink-branding);
}

/* ==========================================================================
   2. BARRA DE NAVEGAÇÃO (NAVBAR)
   ========================================================================== */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--medium-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* AJUSTE: Forçando o logotipo superior a ficar maior e nítido */
.nav-logo-img {
    height: 110px !important; 
    width: auto;
    display: block;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--pink-branding);
}

.nav-menu .btn-nav {
    background-color: var(--pink-branding);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-menu .btn-nav:hover {
    background-color: #940066;
    color: var(--white);
}

/* ==========================================================================
   3. SEÇÃO PRINCIPAL (HERO)
   ========================================================================== */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 1.0)), 
                url('imagens/bg-hero.jpg') no-repeat center center;
    background-size: cover;
    padding: 160px 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-text {
    max-width: 750px;
}

.hero-text h1 {
    font-size: 54px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 20px;
    color: #334155;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: var(--pink-branding);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-primary:hover {
    background-color: #940066;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid var(--pink-branding);
    color: var(--pink-branding);
    padding: 10px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}

.btn-secondary:hover {
    background-color: rgba(193, 0, 134, 0.05);
    transform: translateY(-2px);
}

/* ==========================================================================
   4. SEÇÃO DO ECOSSISTEMA (CARDS DOS APPS)
   ========================================================================== */
.apps-section {
    background-color: #ddd7dd;
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.app-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid var(--medium-gray);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.app-card:hover {
    transform: translateY(-5px);
    border-color: var(--pink-branding);
    box-shadow: 0 10px 20px rgba(193, 0, 134, 0.05);
}

.highlight-card {
    border: 2px solid var(--pink-branding);
}

.card-header-app {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.card-header-app h3 {
    font-size: 20px;
    margin-bottom: 0 !important;
}

/* Container inteligente para gerenciar ícone estrutural e imagem baixada */
.app-icon-wrapper {
    width: 40px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-thumb-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--medium-gray);
    position: absolute;
    z-index: 2;
    background: var(--white);
}

.fallback-icon, .card-header-app .card-icon {
    font-size: 24px;
    color: var(--pink-branding);
    display: flex;
    align-items: center;
    z-index: 1;
}

.app-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 15px;
    flex-grow: 1;
}

.btn-card {
    text-decoration: none;
    color: var(--pink-branding);
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-card:hover {
    color: #940066;
}

.btn-card-disabled {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: auto;
    border-top: 1px dashed var(--medium-gray);
    padding-top: 15px;
    display: block;
}

/* ==========================================================================
   5. SEÇÃO DE VÍDEOS & DEMONSTRAÇÕES
   ========================================================================== */
.videos-section {
    background-color: #ddd7dd; /* <--- Adicione ou mude aqui */
    padding: 80px 0;
}

/* AJUSTE: Reduzido o tamanho do container do vídeo para não ocupar a tela toda */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 680px; /* Reduzido de 800px para 680px para melhor simetria */
    margin: 0 auto 20px auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.main-video h3 {
    text-align: center;
    font-size: 20px;
    margin-top: 15px;
}

/* ==========================================================================
   6. QUEM SOMOS / HISTÓRICO (EDUARDO SONA)
   ========================================================================== */
.apps-section {
    background-color: #ddd7dd !important; /* O !important força o servidor a aceitar a sua cor nova */
    padding: 80px 0;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image, .about-text {
    flex: 1;
}

.profile-photo-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--white);
    display: block;
    object-fit: cover;
    margin: 0 auto;
}

.about-text h2 { 
    font-size: 36px; 
    margin-bottom: 15px; 
}

.about-text .lead { 
    font-size: 20px; 
    font-weight: 500; 
    color: var(--pink-branding); 
    margin-bottom: 20px; 
}

.about-text p { 
    margin-bottom: 15px; 
    color: #475569; 
}

/* SEÇÃO DO BLOG */
.blog-section {
    padding: 80px 0;
    background-color: var(--white);
}

.blog-widget-container {
    width: 100%;
    margin-top: 30px;
}

/* ==========================================================================
   7. RODAPÉ (FOOTER)
   ========================================================================== */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo-img {
    height: 55px;
    width: auto;
    margin-bottom: 10px;
}

.footer-info p { 
    color: #94A3B8; 
}

.footer-links h4 { 
    margin-bottom: 15px; 
}

.footer-links p { 
    margin-bottom: 15px; 
    color: #94A3B8; 
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.btn-whatsapp:hover {
    background-color: #1ebd58;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #334155;
    padding-top: 20px;
    color: #64748B;
    font-size: 14px;
}

/* ==========================================================================
   8. MEDIA QUERIES (RESPONSIVIDADE MOBILE)
   ========================================================================== */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero-container, .about-container, .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-menu { 
        display: none; 
    } 
    
    .hero-text h1 { 
        font-size: 34px; 
    }
    
    .hero-buttons { 
        justify-content: center; 
    }
}