/* --- base.css --- */

/* Variáveis de Cores */
:root {
    --cgs-black: #141414;
    --cgs-gold: #FFD700;
    --cgs-white: #F5F5F5;
    --cgs-blue: #004F98;
    --gray-light: #f8f9fa;
    --gray-dark: #6c757d;
    --gray-300: #d1d5db; /* Novo */
    --gray-400: #9ca3af; /* Novo */
    --gray-500: #6b7280; /* Novo */
    --gray-600: #4b5563; /* Novo */
    --gray-700: #374151; /* Novo */
    --gray-800: #1f2937; /* Novo */
    --gray-900: #111827; /* Novo */
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--cgs-white);
    color: var(--gray-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Utilitários */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Seção Header Padrão */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    color: var(--cgs-black);
    font-size: 1.875rem; /* text-3xl */
    font-weight: bold;
    margin-bottom: 16px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background-color: var(--cgs-gold);
    margin: 0 auto;
}

/* Botões */
.btn {
    padding: 12px 32px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--cgs-gold);
    color: var(--cgs-black);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
}

.btn-primary:hover {
    background-color: #e6c200;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    border: 1px solid var(--gray-dark);
    color: var(--cgs-white);
    background-color: transparent;
}

.btn-secondary:hover {
    border-color: var(--cgs-gold);
    color: var(--cgs-gold);
}

.btn-dark {
    background-color: var(--cgs-black);
    color: var(--cgs-white);
    padding: 16px 40px;
    font-size: 1.125rem;
    font-weight: bold;
    border-radius: 4px;
}

.btn-dark:hover {
    background-color: #333;
}


/* Seção: Navbar */
.navbar {
    background-color: var(--cgs-black);
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #333;
}

.navbar-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.navbar-gold-dot {
    color: var(--cgs-gold);
    font-size: 1.875rem;
}

.navbar-menu {
    display: none;
    gap: 32px;
    color: var(--gray-300);
    font-size: 0.875rem;
    font-weight: 500;
    align-items: center;
}

@media (min-width: 768px) {
    .navbar-menu {
        display: flex;
    }
}

.navbar-link {
    transition: color 0.3s ease;
}

.navbar-link:hover {
    color: var(--cgs-gold);
}

.navbar-button {
    background-color: var(--cgs-gold);
    color: var(--cgs-black);
    padding: 8px 24px;
    border-radius: 9999px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.navbar-button:hover {
    background-color: #e6c200;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

/* Componente: Project Card (usado na Home e em Projetos) */
.projects-grid {
    display: grid;
    gap: 40px; /* gap-10 */
}

@media (min-width: 768px) { /* md:grid-cols-3 na home */
    .projects-grid-3-cols { /* Usar uma classe específica para home */
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .projects-grid-2-cols { /* Usar uma classe específica para projetos */
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.project-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.project-card-image {
    width: 100%;
    height: 192px;
    object-fit: cover;
    border-bottom: 2px solid var(--cgs-gold);
}

.project-card-content {
    padding: 24px;
}

.project-card-title {
    color: var(--cgs-black);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 12px;
}

.project-card-description {
    color: var(--gray-600);
    font-size: 1rem;
    margin-bottom: 16px;
}

.project-card-list {
    list-style: none; /* remove default bullet */
    padding: 0;
    margin: 0 0 16px 0;
}
.project-card-list li {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px; /* Space for custom bullet */
}
.project-card-list li:last-child {
    margin-bottom: 0;
}
.project-card-list li::before {
    content: '•'; /* Custom bullet */
    color: var(--cgs-gold);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
}
.project-card-list li strong {
    color: var(--cgs-black); /* Para destacar os termos "Desafio", "Solução" */
}


.project-card-link {
    color: var(--cgs-blue);
    font-weight: 600;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-card-link:hover {
    color: var(--cgs-gold);
}

.project-card-link-icon {
    width: 16px;
    height: 16px;
}


/* Componente: CTA Section */
.cta-section {
    background-color: var(--cgs-gold);
    padding-top: 64px;
    padding-bottom: 64px;
    text-align: center;
    padding-left: 24px;
    padding-right: 24px;
}

.cta-title {
    color: var(--cgs-black);
    font-size: 1.875rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-description {
    color: rgba(20, 20, 20, 0.8);
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}


/* Rodapé */
.footer {
    background-color: var(--cgs-black);
    color: var(--gray-400);
    padding-top: 48px;
    padding-bottom: 48px;
    padding-left: 24px;
    padding-right: 24px;
}

@media (min-width: 768px) {
    .footer {
        padding-left: 80px;
        padding-right: 80px;
    }
}

.footer-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.footer-brand-title {
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 16px;
}

.footer-gold-dot {
    color: var(--cgs-gold);
}

.footer-brand-description {
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.footer-social-link {
    color: var(--gray-500);
    transition: color 0.3s ease;
}

.footer-social-link:hover {
    color: var(--cgs-gold);
}

.footer-social-icon {
    width: 24px;
    height: 24px;
}

.footer-links-title,
.footer-contact-title {
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link-item {
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link-item:hover {
    color: var(--cgs-gold);
}

.footer-contact-item {
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.footer-contact-item-small {
    font-size: 0.875rem;
    margin-top: 16px;
}

.footer-copyright {
    text-align: center;
    margin-top: 48px;
    color: var(--gray-600);
    font-size: 0.875rem;
}