/* BBots Landing Page - Nexus Design System (LIMPO) */

/* Variáveis essenciais */
:root {
    --primary-color: #1B365D;
    --secondary-color: #FFD700;
    --text-color: #202020; /* texto padrão escuro */
    --light-bg: #FFFFFF;   /* fundo claro padrão */
    --gradient-primary: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    --font-primary: 'DM Sans', sans-serif;
    --font-secondary: 'DM Sans', sans-serif;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: #FFFFFF; /* fundo branco padrão */
    font-family: Arial, sans-serif;
    letter-spacing: 0.02em;
    padding-top: 80px; /* Espaçamento para header fixo */
}

main p, main li, main h3, main h4 {
    font-size: 1.22rem; /* Reduzido 10% */
    line-height: 1.6;
}

/* Tipografia */
h1, h2, h5, h6,
.logo span {
    font-family: var(--font-primary);
}

.section-title h2 {
    font-size: 2.7rem; /* Reduzido 10% */
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem; /* Aumenta o espaço abaixo do título */
    padding: 0.8rem 0;
    color: var(--text-color); /* Cor padrão para fundos claros */
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%; /* Adiciona 5% de espaço lateral */
}

/* Hero Section */
.hero-image-section {
    width: 100%;
    height: 90vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 30%, #334155 70%, #0f172a 100%);
}

.hero-image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(147, 197, 253, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 60% 60%, rgba(30, 58, 138, 0.1) 0%, transparent 50%);
    animation: subtleGlow 12s ease-in-out infinite;
    z-index: 0;
}

.hero-image-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    animation: patternDrift 25s linear infinite;
    z-index: 0;
}

@keyframes subtleGlow {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

@keyframes patternDrift {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-60px, -60px);
    }
}


.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: center;
    width: 100%;
}

.title {
    font-size: 1.68rem;
    line-height: 0.96;
    margin: 1rem 0;
    font-weight: 600;
    font-family: var(--font-primary);
    letter-spacing: -0.01em;
}

.subtitle {
    font-size: 1.66rem; /* Aumentado 10% */
    line-height: 1.6;
    margin-bottom: 1.4rem;
    max-width: 700px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 24px;
}

.hero-cta .nexus-btn {
    font-size: 1.3rem; /* 1.22rem + 10% */
    font-weight: 600;
}

/* Quote Section */
.quote-section {
    padding: 3rem 0 2rem 0; /* Padding reduzido em 10% */
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.55) 0%, rgba(255, 190, 50, 0.55) 50%, rgba(255, 165, 0, 0.55) 100%);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.quote-content {
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.quote-text {
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.03em;
    text-align: left;
    color: #202020;
    max-width: 800px;
}

/* Espaço entre o título em negrito e o texto subsequente */
.quote-text strong {
    display: inline-block;
    margin-bottom: 1.5rem;
}

/* Services Section */
.services {
    padding: 6rem 0;
    scroll-margin-top: 80px;
}

.services-title {
    width: 100%;
    margin: 0;
    padding: 0 0 3rem 0;
}

.services-title p {
    font-size: 0.84rem; /* Tamanho padronizado */
    color: #1B365D; 
    opacity: 0.9; 
    margin-top: 1rem; 
    max-width: 800px;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
    margin: 0;
}

.service-item {
    width: 80%;
    position: relative;
    padding-left: 5%;
}

.service-content {
    text-align: left;
    padding: 0 2rem;
    width: 100%;
    position: relative;
}

.service-content h3 {
    font-size: 2.25rem; /* Reduzido 10% */
    font-weight: 500;
    margin-bottom: 0.75rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.service-content p {
    line-height: 1.5;
    color: var(--text-color);
    width: 100%;
    opacity: 0.8;
}

/* Use Cases Section */
.use-cases {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1B365D 0%, #000000 100%);
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
}

.use-cases::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colunas */
    gap: 2rem;
    margin-top: 3rem;
}

#criterios .use-cases-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 colunas específicas para esta seção */
}

.use-case-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(5px);
}

.use-case-card h3 {
    text-transform: uppercase;
    margin-bottom: 1.5rem; /* Aumenta o espaço abaixo do título */
    font-weight: 600;
}

.use-cases .section-title h2,
.contact-section .section-title h2 {
    color: #FFFFFF; /* Títulos em seções com fundo escuro */
}

/* Botão customizado do WhatsApp */
.whatsapp-btn-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #25D366;
    color: white;
    padding: 1rem 2rem; /* Mais espaçamento interno */
    border-radius: 50px; /* Bordas bem redondas */
    font-size: 1.08rem; /* Reduzido 10% */
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #128C7E; /* Borda mais escura e visível */
    transition: background-color 0.3s, transform 0.2s;
}

.whatsapp-btn-custom:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
}

/* Footer */
footer {
    padding: 2rem 0; /* Altura drasticamente reduzida */
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.75) 0%, rgba(255, 165, 0, 0.75) 100%);
    color: #000000;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

footer a {
    color: #000000; /* Links em preto */
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 0 2rem;
    }
    
    .services-title h2 {
        font-size: 1.8rem; /* Reduzido 10% */
    }
    
    .quote-text {
        font-size: 1.8rem; /* Reduzido 10% */
    }
    
    .service-content h3 {
        font-size: 1.8rem; /* Reduzido 10% */
    }
    
    .service-content p {
        font-size: 1.08rem; /* Reduzido 10% */
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 120px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .services-title h2 {
        font-size: 1.62rem; /* Reduzido 10% */
    }
    
    .quote-text {
        font-size: 1.62rem; /* Reduzido 10% */
    }
}

.hero-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-illustration {
    max-width: 90%; /* Reduz o tamanho da imagem */
    height: auto;
    display: block;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    margin: 0 auto; /* Centraliza a imagem */
}

@media (max-width: 968px) {
    .hero-media {
        margin-top: 1rem;
    }
}
