/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Tipografia geral */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #212529;
  line-height: 1.6;
}

/* Cabeçalho */
.navbar {
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-weight: bold;
}

/* Botões */
.btn {
  border-radius: 30px;
  padding: 8px 20px;
}

.btn-primary {
  background-color: #28a745;
  border: none;
}

.btn-primary:hover {
  background-color: #218838;
}

/* Rodapé */
footer {
  background-color: #343a40;
  color: #fff;
  padding: 40px 0;
}

footer h5 {
  font-weight: bold;
  margin-bottom: 10px;
  color: #e2e1e1; 
}

footer a {
  color: #a5a5a5;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
  text-decoration: none;
}

/* Títulos */
h1, h2, h3, h4, h5 {
  margin-bottom: 15px;
  color: #928f8f;
}

/* Cards */
.card {
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
}

.card img {
  border-radius: 12px 12px 0 0;
}

/* Carrossel de campanhas */
.carousel-caption {
  background-color: rgba(0,0,0,0.5);
  padding: 10px;
  border-radius: 10px;
}

/* CRM - estilo Kanban */
.crm-kanban .card {
  background-color: #f1f1f1;
  border-left: 5px solid #28a745;
}

.crm-kanban .card-body {
  padding: 10px;
}

/* Newsletter */
.newsletter form {
  max-width: 500px;
  margin: auto;
}

.form-check-input[type=checkbox]  {
    border-color: #8b102e !important;
}

/* Logo no carrossel de logos */
.logo-carousel img {
  height: 80px;
  margin: 0 10px;
  object-fit: contain;
}

/* Tabelas */
.table th {
  background-color: #343a40;
  color: #fff;
}

.table td, .table th {
  vertical-align: middle;
}

/* Responsividade */
@media (max-width: 768px) {
  .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .navbar-nav {
    text-align: center;
  }

  .logo-carousel img {
    height: 60px;
  }
}

/* =============================================== BLOG ================================================= */

/* ========================================= BLOG HERO COMPLETO ========================================= */

.blog-hero{

    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
    linear-gradient(
        rgba(0,0,0,.60),
        rgba(0,0,0,.55)
    ),
    url('/static/images/banner_guarabira.png');

    background-size: cover;

    background-position: center;
}

/* EFEITO ESCURO */

.blog-hero::before{

    content:'';

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        90deg,
        rgba(0,0,0,.95) 0%,
        rgba(0,0,0,.85) 35%,
        rgba(0,0,0,.20) 100%
    );

    z-index:1;
}

/* DETALHE VERDE ESQUERDA */

.blog-hero::after{

    content:'';

    position:absolute;

    left:-120px;

    bottom:-120px;

    width:350px;

    height:350px;

    border:4px solid #79ff00;

    transform:rotate(45deg);

    opacity:.25;

    z-index:1;
}

/* CONTAINER */

.blog-hero .container{

    position:relative;

    z-index:3;
}

/* TEXTO */

.hero-content{

    position:relative;

    z-index:5;
}

.hero-content h5{

    color:white;

    font-size:2rem;

    font-weight:700;

    letter-spacing:2px;

    margin-bottom:10px;
}

.hero-content h1{

    color:white;

    font-size:6.5rem;

    font-weight:900;

    line-height:.9;

    margin-bottom:25px;

    text-transform:uppercase;
}

.hero-content h1 span{

    color:#79ff00;

    display:block;
}

.hero-content p{

    color:#e5e5e5;

    font-size:1.5rem;

    line-height:1.5;

    max-width:650px;

    margin-bottom:50px;
}

/* BOXES HERO */

.hero-boxes{

    display:flex;

    flex-direction:column;

    gap:28px;
}

.hero-box{

    display:flex;

    align-items:flex-start;

    gap:20px;
}

.hero-box i{

    width:70px;

    height:70px;

    min-width:70px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    border:2px solid #79ff00;

    color:#79ff00;

    font-size:2rem;

    background:rgba(121,255,0,.08);

    box-shadow:0 0 20px rgba(121,255,0,.15);
}

.hero-box h4{

    color:white;

    font-size:1.2rem;

    font-weight:900;

    margin-bottom:5px;

    text-transform:uppercase;
}

.hero-box span{

    color:#cfcfcf;

    font-size:1rem;

    line-height:1.6;
}

/* =========================================
SEÇÕES
========================================= */

.section-dark{

    background:#f4f4f4;

    padding:90px 0;
}

.section-black{

    background:
    linear-gradient(
        135deg,
        #071107,
        #0b1d0b,
        #071107
    );

    padding:90px 0;

    position:relative;

    overflow:hidden;
}

.section-black::before{

    content:'';

    position:absolute;

    top:-100px;

    right:-100px;

    width:300px;

    height:300px;

    border:3px solid rgba(121,255,0,.15);

    transform:rotate(45deg);
}

/* =========================================
HEADER DAS SEÇÕES
========================================= */

.section-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:50px;
}

.section-header h2{

    font-size:3rem;

    font-weight:900;

    color:#111;

    margin:0;

    text-transform:uppercase;
}

.section-black .section-header h2{

    color:white;
}

.btn-section{

    border:2px solid #79ff00;

    color:#79ff00;

    padding:15px 35px;

    border-radius:14px;

    text-decoration:none;

    font-weight:800;

    transition:.3s;

    letter-spacing:.5px;
}

.btn-section:hover{

    background:#79ff00;

    color:black;

    transform:translateY(-3px);
}

/* =========================================
CARDS AULAS
========================================= */

.gd-card{

    background:#0a0a0a;

    border-radius:22px;

    overflow:hidden;

    border:1px solid rgba(121,255,0,.12);

    transition:.4s;

    height:100%;

    position:relative;
}

.gd-card:hover{

    transform:translateY(-10px);

    border-color:#79ff00;

    box-shadow:0 0 35px rgba(121,255,0,.18);
}

.card-thumb{

    overflow:hidden;

    position:relative;
}

.card-thumb::before{

    content:'';

    position:absolute;

    inset:0;

    background:linear-gradient(
        transparent,
        rgba(0,0,0,.45)
    );

    z-index:1;
}

.card-thumb{

    aspect-ratio:16/9;

    background:#000;

    display:flex;

    align-items:center;

    justify-content:center;
}

.card-thumb img{

    width:100%;

    height:100%;

    object-fit:contain;

    transition:.6s;
}

.gd-card:hover img{

    transform:scale(1.08);
}

.card-body{

    padding:28px;
}

.tag-green{

    display:inline-block;

    background:#79ff00;

    color:black;

    font-weight:900;

    font-size:.8rem;

    padding:7px 15px;

    border-radius:10px;

    margin-bottom:18px;
}

.card-body h3{

    color:white;

    font-size:1.7rem;

    font-weight:900;

    line-height:1.2;

    margin-bottom:18px;
}

.card-body p{

    color:#2c2c2c;

    margin-bottom:25px;

    line-height:1.7;

    min-height:85px;
}

.card-body a{

    color:#79ff00;

    text-decoration:none;

    font-weight:800;

    font-size:1rem;
}

/* =========================================
YOUTUBE CARDS
========================================= */

.youtube-card{

    background:#090909;

    border-radius:20px;

    overflow:hidden;

    border:1px solid rgba(121,255,0,.15);

    transition:.4s;

    height:100%;
}

.youtube-card:hover{

    transform:translateY(-10px);

    border-color:#79ff00;

    box-shadow:0 0 30px rgba(121,255,0,.18);
}

.youtube-card img{

    width:100%;

    aspect-ratio:16/9;

    object-fit:contain;

    background:#000;
}

.youtube-content{

    padding:24px;
}

.youtube-content h4{

    color:white;

    font-size:1.4rem;

    font-weight:900;

    line-height:1.4;

    margin-bottom:20px;
}

.youtube-content a{

    color:#79ff00;

    text-decoration:none;

    font-weight:800;
}

/* =========================================
ARTIGOS
========================================= */

.article-card{

    background:white;

    border-radius:22px;

    overflow:hidden;

    border:1px solid #e8e8e8;

    transition:.4s;

    height:100%;
}

.article-card:hover{

    transform:translateY(-8px);

    box-shadow:0 12px 35px rgba(0,0,0,.08);
}

.article-card img{

    width:100%;

    aspect-ratio:16/9;

    object-fit:contain;

    background:#f1f1f1;
}

.article-content{

    padding:26px;
}

.article-content h4{

    color:#111;

    font-size:1.5rem;

    font-weight:900;

    line-height:1.3;

    margin-bottom:18px;
}

.article-content p{

    color:#555;

    line-height:1.7;

    margin-bottom:22px;
}

.article-content a{

    color:#79ff00;

    text-decoration:none;

    font-weight:900;
}

/* =========================================
PÁGINA DA AULA
========================================= */

.aula-page{

    background:#050505;

    min-height:100vh;

    padding:100px 0;
}

.video-wrapper{

    position:relative;

    padding-bottom:56.25%;

    border-radius:24px;

    overflow:hidden;

    margin-bottom:35px;

    border:1px solid rgba(121,255,0,.15);

    box-shadow:0 0 35px rgba(121,255,0,.08);
}

.video-wrapper iframe{

    position:absolute;

    width:100%;

    height:100%;

    top:0;

    left:0;
}

.aula-content h1{

    color:white;

    font-size:3.5rem;

    font-weight:900;

    margin-top:25px;

    margin-bottom:20px;
}

.aula-content p{

    color:#d5d5d5;

    font-size:1.15rem;

    line-height:2;
}

/* SIDEBAR */

.sidebar-box{

    background:#0d0d0d;

    border:1px solid rgba(121,255,0,.15);

    border-radius:24px;

    padding:30px;
}

.sidebar-box h3{

    color:white;

    font-size:1.6rem;

    font-weight:900;

    margin-bottom:30px;
}

.sidebar-card{

    display:flex;

    gap:15px;

    margin-bottom:20px;

    text-decoration:none;

    align-items:center;
}

.sidebar-card img{

    width:120px;

    height:80px;

    object-fit:cover;

    border-radius:14px;
}

.sidebar-card h4{

    color:white;

    font-size:1rem;

    font-weight:700;

    line-height:1.4;

    transition:.3s;
}

.sidebar-card:hover h4{

    color:#79ff00;
}

/* =========================================
RESPONSIVO
========================================= */

@media(max-width:991px){

    .blog-hero{

        padding:120px 0;
    }

    .hero-content h1{

        font-size:4.5rem;
    }

    .section-header{

        flex-direction:column;

        align-items:flex-start;

        gap:20px;
    }

    .section-header h2{

        font-size:2.2rem;
    }

    .aula-content h1{

        font-size:2.5rem;
    }
}

@media(max-width:768px){

    .hero-content h1{

        font-size:3.2rem;
    }

    .hero-content h5{

        font-size:1.4rem;
    }

    .hero-content p{

        font-size:1.1rem;
    }

    .hero-box{

        gap:15px;
    }

    .hero-box i{

        width:60px;
        height:60px;
        min-width:60px;

        font-size:1.5rem;
    }

    .section-header h2{

        font-size:1.8rem;
    }

    .card-body h3{

        font-size:1.3rem;
    }

    .aula-content h1{

        font-size:2rem;
    }
}


/* ==========================================================
   BREJO TECH
========================================================== */

.timeline-status{

display:flex;

justify-content:space-between;

align-items:center;

margin-top:50px;

flex-wrap:wrap;

}

.status{

padding:20px;

border-radius:12px;

background:#ececec;

font-weight:700;

min-width:180px;

text-align:center;

margin-bottom:20px;

}

.status.ativo{

background:#28a745;

color:white;

}

.brejo-menu{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    justify-content:center;
}

.brejo-menu a{
    text-decoration:none;
    font-weight:600;
    color:#198754;
}

.brejo-menu a:hover{
    color:#146c43;
}

/* ======================================
PUBLICAÇÕES DOS VEREADORES
====================================== */

.vereador-publicacao-img{

    width:100%;

    height:auto;

    object-fit:cover;
}

.card h5{

    font-weight:700;
}

.card-body p{

    min-height:80px;
}

.acao-card {
    overflow: hidden;
    border-radius: 15px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.acao-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 30px
        rgba(0, 0, 0, 0.12) !important;
}

.acao-imagem {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.modal-acao-imagem {
    width: 100%;
    max-height: 390px;
    object-fit: cover;
}

.conteudo-acao {
    font-size: 1.04rem;
    line-height: 1.75;
    color: #343a40;
}

.modal-content {
    overflow: hidden;
    border-radius: 16px;
}

.calendario-card {
    top: 20px;
}

.calendario-acoes {
    table-layout: fixed;
}

.calendario-acoes th {
    padding: 8px 2px;
    font-size: 0.76rem;
    color: #6c757d;
}

.calendario-acoes td {
    height: 64px;
    padding: 3px;
    vertical-align: middle;
}

.calendario-dia {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 55px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    border-radius: 8px;
    color: #212529;
    text-decoration: none;
}

.calendario-dia:hover {
    color: #198754;
    background: rgba(25, 135, 84, 0.1);
}

.dia-hoje .calendario-dia {
    border: 2px solid #198754;
}

.dia-selecionado .calendario-dia {
    color: #ffffff;
    background: #198754;
}

.dia-selecionado .calendario-dia .badge {
    color: #198754 !important;
    background: #ffffff !important;
}

@media (max-width: 991px) {
    .calendario-card {
        position: static !important;
    }
}



/* ======================================
          PUBLICIDADES ANUNCIOS
====================================== */
/* ==========================
    Grid de Publicidades
========================== */
.publicidade-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin: 30px 0;
}

/* ==========================
    Card da Publicidade
========================== */
.publicidade-item {
    aspect-ratio: 25 / 18;
    border-radius: 10px;
    overflow: hidden;
    background: whitesmoke;
    border: 1px solid #ddd;
    

    /* Sombra suave */
    box-shadow: 0 2px 8px rgba(35, 180, 25, 40%);

    /* Animação */
    transition: transform .25s ease,
                box-shadow .25s ease;
}

.publicidade-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.publicidade-item img{
    width:100%;
    height:100%;
    display:block;
    object-fit:contain;
}

/* ==========================
    Conteúdo da Publicidade
========================== */
.publicidade-item .conteudo {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    background: linear-gradient(135deg, #198754, #28a745);
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}

/* ==========================
    Responsividade
========================== */

/* Tablet */
@media (max-width: 992px) {
    .publicidade-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Celular */
@media (max-width: 768px) {
    .publicidade-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Celular pequeno */
@media (max-width: 480px) {
    .publicidade-grid {
        grid-template-columns: 1fr;
    }
}
