/* ============================================= */
/* STYLE.CSS – Site CIPA Linoforte 2025          */
/* Baseado exatamente no www.linoforte.com.br    */
/* ============================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    background: #f8f9fa;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #003087;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* HEADER */
header {
    background: #5a89e0;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo img {
    height: auto;
}

.menu ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.menu li {
    margin: 0 15px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: 0.3s;
    padding: 8px 0;
}

.menu a:hover {
    color: #00a2e8;
}

/* CARROSSEL */
.carousel {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 40px;
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide .caption {
    position: absolute;
    bottom: 50px;
    left: 50px;
    background: rgba(0, 48, 135, 0.8);
    color: white;
    padding: 20px 30px;
    font-size: 28px;
    font-weight: 700;
    border-radius: 5px;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 40px;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
}

.prev { left: 20px; }
.next { right: 20px; }

/* BOTÃO */
.btn {
    display: inline-block;
    background: #003087;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: 0.3s;
}

.btn:hover {
    background: #00a2e8;
    transform: translateY(-3px);
}

/* HOME CONTENT */
.home-content {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* TABELA APURAÇÃO */
.apuracao {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.apuracao th {
    background: #003087;
    color: white;
    padding: 15px;
    text-align: left;
}

.apuracao td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.apuracao tr:nth-child(even) {
    background: #f9f9f9;
}

.eleito { color: #28a745; font-weight: bold; }
.suplente { color: #ffc107; font-weight: bold; }

/* FORMULÁRIO REQUISIÇÕES */
.form-requisicao {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    max-width: 700px;
    margin: 0 auto;
}

.form-requisicao label {
    display: block;
    margin: 20px 0 8px;
    font-weight: 600;
    color: #003087;
}

.form-requisicao select,
.form-requisicao input,
.form-requisicao textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.form-requisicao textarea {
    resize: vertical;
}

/* NOTÍCIAS */
.noticias .redes {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 40px;
}

.instagram, .facebook {
    flex: 1;
    min-width: 400px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* FOOTER */
footer {
    background: #5a89e0;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 80px;
}

/* RESPONSIVO */
@media (max-width: 992px) {
    .carousel { height: 400px; }
    .slide .caption { font-size: 22px; left: 20px; bottom: 30px; }
}

@media (max-width: 768px) {
    header .container { flex-direction: column; text-align: center; }
    .menu ul { justify-content: center; margin-top: 15px; }
    .menu li { margin: 0 10px; }
    .carousel { height: 300px; }
    .slide .caption { font-size: 18px; padding: 15px; }
}