/* === Main Cards Section (adaptado do Secgoiana, usando paleta SECCV) === */
.main-cards-section {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.main-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 340px);
    gap: 15rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.main-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.main-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(23,96,143,0.15), 0 15px 35px rgba(0,0,0,0.12);
    border-color: var(--primary);
}

.main-card-clickable {
    cursor: pointer;
}

.main-card-link {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.main-card-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.main-card-image-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
}

.main-card-image::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(23,96,143,0.08) 0%, transparent 70%);
    animation: shine 3s infinite;
    z-index: 2;
}

@keyframes shine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.main-card-content {
    padding: 1.25rem 1.25rem 1.5rem;
    text-align: center;
}

.main-card-title {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 0.6rem;
    font-weight: bold;
    text-shadow: none;
}

.main-card-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .main-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
/* home.css */

/* Hero */
.hero {
    background:
        linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)),
        url('../midia/imagens/imagem-principal.png') center center/cover no-repeat;
    color: var(--white);
    padding: 80px 0;
    /* Azul acinzentado: #2c3e50 com overlay */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Featured Cards */
.featured-cards {
    padding: 80px 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.card-large {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.card-large:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.card-large h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.card-large p {
    color: var(--text-light);
}

/* Stats */
.stats {
    background: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* === Features Section (importado do Sindecom) === */
.features-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 80px 20px;
}

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

.features-content h2 {
    text-align: center;
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-item h3 {
    color: var(--secondary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--body-text);
    font-size: 1rem;
    line-height: 1.6;
}

/* RESPONSIVE - Features Section */
@media (max-width: 768px) {
    .features-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .features-content h2 {
        font-size: 1.5rem;
    }
}

/* === Fim Features Section === */

/* Responsividade */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}