/* Reset e Variáveis Padrão EDCELL-TECH */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    color: #333333;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Header & Título Animado */
header {
    background-color: #f8f9fa;
    text-align: center;
    padding: 30px 20px;
    border-bottom: 2px solid #e0e0e0;
}

.animated-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    background: linear-gradient(90deg, #0044cc, #00aaff, #0044cc);
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    display: inline-block;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* Painel de Banners */
.banner-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.banner-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.ec-brand { background: linear-gradient(135deg, #0044cc, #00aaff); }
.be-brand { background: linear-gradient(135deg, #ff6b6b, #ff4757); }
.to-brand { background: linear-gradient(135deg, #2ed573, #1e90ff); }

.banner-card h3 { font-size: 1.4rem; margin-bottom: 5px; }
.banner-card p { font-size: 0.9rem; opacity: 0.9; }

/* Conteúdo da Notícia */
.news-content {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 25px;
    border-left: 5px solid #0044cc;
    padding-left: 15px;
}

.news-content h2 {
    color: #0044cc;
    margin-bottom: 15px;
    margin-top: 30px;
    font-size: 1.6rem;
}

.news-content ul {
    list-style-type: none;
}

.news-content li {
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f9f9fa;
    border-radius: 6px;
    border-left: 4px solid #e0e0e0;
}

.news-content li strong {
    color: #d32f2f;
}

/* Botão Leia Mais */
.read-more-container {
    text-align: center;
    margin: 50px 0;
}

.btn-leiamais {
    display: inline-block;
    background: linear-gradient(90deg, #d32f2f, #f44336);
    color: #fff;
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    animation: pulse 2s infinite;
}

.btn-leiamais:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.6);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* Seção de Comentários */
.comments-section {
    max-width: 800px;
    margin: 0 auto 50px auto;
    padding: 30px 20px;
    background-color: #f4f6f8;
    border-radius: 8px;
}

.comments-section h3 {
    margin-bottom: 20px;
    color: #222;
}

.form-group {
    margin-bottom: 15px;
}

input[type="text"], textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

textarea {
    resize: vertical;
}

.btn-submit {
    background-color: #0044cc;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #003399;
}

/* Lista de Comentários */
.comments-list {
    margin-top: 30px;
}

.comment-box {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 4px solid #0044cc;
}

.comment-box strong {
    display: block;
    color: #0044cc;
    margin-bottom: 5px;
}

.no-comments {
    color: #777;
    font-style: italic;
}

/* Footer */
footer {
    background-color: #222;
    color: #ccc;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

/* Responsividade */
@media (max-width: 600px) {
    .animated-title {
        font-size: 1.6rem;
    }
    .btn-leiamais {
        padding: 12px 25px;
        font-size: 1.1rem;
    }
}