/* =========================
   CSS do portal da Campanha Cidades sem Riscos em parceria com o Ministério das Cidades
========================= */

/*  Modificar o Page ID para a página funcional para resetar o Body */
.page-id-15598 {
	margin: 0 !important;
}
.btn-primary {
	background: #ff5a00;
	color: #fff;
	padding: 14px 28px;
	border-radius: 6px;
}


/* -- Topo do site e menu -- */

/* Escopo */
.csr-header,
.csr-header * {
	box-sizing: border-box;
}
.csr-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,.1);
}
.csr-header-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 20px 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.csr-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}
.csr-logo img {
	max-height: 50px;
	width: auto;
}
.csr-nav-wrap {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

/* Menu */
.csr-menu {
	list-style: none;
	display: flex;
	gap: 32px;
	margin: 0;
	padding: 0;
}
.csr-menu li a {
	cursor: pointer;
	font-weight: 500;
	color: #222;
	text-decoration: none;
	position: relative;
	font-family: 'Mighty Souly', sans-serif !important;
	letter-spacing: 0.5px;
	font-size: 19px;
}
.csr-menu li a:hover {
	color: #1a73e8;
}

/* Ativo */
.csr-menu li a.active {
	color: #1a73e8;
}
.csr-menu li a.active::after{
	content: "";
	position: absolute;
	left: 0;
	bottom: -8px;
	width: 100%;
	height: 3px;
	background: #1a73e8;
}

/* Hamburguer */
.csr-hamburger {
	display: none;
	cursor: pointer;
	gap: 6px;  
	position: relative;
	z-index: 10000;
}
.csr-hamburger span {
	display: block;
	width: 26px;
	height: 3px;
	background: #6e5c10;
}

/* Transição */
.csr-hamburger span {
	transition: .3s ease;
}

/* Vira X quando ativo */
.csr-hamburger.active span:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}
.csr-hamburger.active span:nth-child(2) {
	opacity: 0;
}
.csr-hamburger.active span:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

/* Mobile do Menu */
@media (max-width: 1200px) {
	.csr-hamburger {
		display: flex;
		flex-direction: column;
		padding: 15px;
		background-color: #FFD000;
		border: 1px solid #FFD000;
		border-radius: 10px;
	}
	.csr-menu {
		position: fixed;
		inset: 0;
		background: #fff;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 28px;
		transform: translateX(100%);
		transition: transform .4s ease;
	}
	.csr-menu.open {
		transform: translateX(0);
	}
}
@media (max-width: 410px) {
	.csr-header-inner {
		padding: 20px 10px;
	}
	.csr-hamburger {
		padding: 10px;
	}
	.csr-logo img {
		max-height: 40px;
		width: auto;	
	}
}


/* -- Estilo dos títulos com as faixas -- */

.faixa-recortada-branca {
	background-color: white;
	color: black;
	padding: 5px 50px 4px 50px;
	text-align: center;
	clip-path: polygon(100% 0, 95% 50%, 100% 100%, 0% 100%, 5% 50%, 0% 0%);
}
.faixa-recortada-amarela {
	background-color: #FFD000;
	color: black;
	padding: 5px 50px 4px 50px;
	text-align: center;
	clip-path: polygon(100% 0, 95% 50%, 100% 100%, 0% 100%, 5% 50%, 0% 0%);
}
.faixa-recortada-azul {
	background-color: #183EFF;
	color: white !important;
	padding: 5px 50px 4px 50px;
	text-align: center;
	clip-path: polygon(100% 0, 95% 50%, 100% 100%, 0% 100%, 5% 50%, 0% 0%);
}
.faixa-recortada-verde {
	background-color: #00D000;
	color: white !important;
	padding: 5px 50px 4px 50px;
	text-align: center;
	clip-path: polygon(100% 0, 95% 50%, 100% 100%, 0% 100%, 5% 50%, 0% 0%);
}
.faixa-recortada-vermelha {
	background-color: #FF0000;
	color: white !important;
	padding: 5px 50px 4px 50px;
	text-align: center;
	clip-path: polygon(100% 0, 95% 50%, 100% 100%, 0% 100%, 5% 50%, 0% 0%);
}

/* Reset do estilo do tema e do Elementor */
.faixa-recortada-branca h2, .faixa-recortada-amarela h2, .faixa-recortada-verde h2, .faixa-recortada-vermelha h2, .faixa-recortada-azul h2 {
	font-size: 40px;
	font-weight: 400;
	padding: 0 !important;
	margin: 0 !important;
}
/* Mobile das faixas e títulos */
@media (max-width: 1024px) {
	.faixa-recortada-branca h2, .faixa-recortada-amarela h2, .faixa-recortada-verde h2, .faixa-recortada-vermelha h2, .faixa-recortada-azul h2 {
		font-size: 28px;
		line-height: 34px;
	}
}


/* -- Estilo dos textos gerais -- */

.csr-texto-preto p {
	color: #000 !important;
	font-size: 20px !important;
}
.csr-texto-branco p {
	color: #fff !important;
	font-size: 20px !important;
}


/* -- Sessão de regulamento -- */

.csr-regulamento h4 {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
.csr-regulamento .elementor-image-box-description {
	display: flex;
	justify-content: center;
}


/* -- Subtítulos estilizados com círculo amarelo -- */

.sub-campanha-wrapper {
	position: relative;
	width: 100%;
	height: 100px;
	background: #ffffff;
	display: flex;
	align-items: center;
	overflow: hidden;
	text-align: center;
}

/* Círculo amarelo */
.sub-circulo {
	position: absolute;
	left: 0;
	width: 80px;
	height: 80px;
	background: #ffcc00;
	border-radius: 50%;
	z-index: 1;
}
.sub-circulo-verde {
	position: absolute;
	left: 0;
	width: 80px;
	height: 80px;
	background: #00D000;
	border-radius: 50%;
	z-index: 1;
}

/* Texto */
.sub-campanha-wrapper h4 {
	position: relative;
	margin: 0 0 0 30px !important;
	font-size: 32px;
	font-family: 'Chinese Rocks';
	color: #000;
	z-index: 2;
	letter-spacing: 1px;
}


/* -- Estilo da Box de materiais de apoio -- */

.csr-download-card {
	max-width: 360px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.13);
	overflow: hidden;
}
.download-card__image {
	padding: 20px;
	text-align: center;
}
.download-card__image img {
	max-width: 100%;
	height: auto;
	border: 1px solid #ccc !important;
	border-radius: 6px;
}
.download-card__content {
	padding: 0 25px 25px 25px;
}
.download-card__content h4 {
	font-family: 'Muli' !important;
	font-size: 20px !important;
	font-weight: bold !important;
	color: #111;
	margin-top:0 !important; 
	line-height: 22px !important; 
	text-align:center !important;
}
.download-card__content p {
	margin-bottom: 20px;
	font-size: 16px;
	color: #555;
	line-height: 1.4;
	text-align:center !important;
}
.download-card__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}
.download-card__button {
	display: block;
	text-align: center;
	background: #16c60c;
	color: #fff !important;
	text-decoration: none;
	padding: 12px;
	border-radius: 8px;
	transition: background 0.2s ease;
}
.download-card__button:hover {
	background: #13a80a;
}


/* -- Estilo da box do Youtube -- */

/* Wrapper para centralizar no Elementor, se necessário */
.csr-card-wrapper {
	display: flex;
	justify-content: center;
	padding: 20px 0;
}

/* O Cartão Principal */
.csr-video-card {
	width: 100%;
	max-width: 400px; 
	background-color: #28303d; 
	border-radius: 16px;
	overflow: hidden; 
	box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Área da Imagem do Topo */
.csr-card-header-image {
	position: relative;
	height: 200px;
	background-image: url('https://educacao.cemaden.gov.br/wp-content/uploads/2017/10/Preparacao-para-a-visita-a-comunidade-1.jpg'); 
	background-size: cover;
	background-position: center;
}

/* "Pill" Verde (Badge) */
.csr-badge-count {
	position: absolute;
	top: 15px;
	right: 15px;
	background-color: #00d632;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 20px;
	text-transform: lowercase;
}

/* Conteúdo do Cartão */
.csr-card-body {
	padding: 24px;
	color: #fff;
}

/* Título */
.csr-card-title {
	margin: 0 0 12px 0;
	font-family: 'Muli' !important;
	color: #fff !important;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
}

/* Descrição */
.csr-card-description {
	margin: 0 0 24px 0;
	font-size: 15px;
	color: #b0b8c4; 
	line-height: 1.4;
}

/* Linha de Metadados (Tempo e Episódios) */
.csr-meta-info-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 24px;
	color: #9ea6b4;
	font-size: 13px;
	font-weight: 500;
}

.csr-meta-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* Estilo para os SVGs dos metadados */
.csr-meta-icon-svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
	opacity: 0.8;
}

/* Botão do YouTube */
.csr-youtube-button {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	background-color: #ff0000;
	color: #fff !important;
	text-decoration: none;
	padding: 14px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	box-sizing: border-box;
	gap: 10px;
	transition: background-color 0.2s ease;
}
.csr-youtube-button:hover {
	background-color: #d40000;
}
.csr-youtube-icon-svg {
	width: 22px;
	height: 22px;
	fill: #fff;
}


/* -- Estilo da Tabela da Agenda -- */

.csr-agenda .cronograma {
	width: 100%;
	border-collapse: collapse;
	font-family: Arial, sans-serif;
}
.csr-agenda .cronograma thead {
	background: linear-gradient(90deg, #00c853, #1a3cff);
}
.csr-agenda .cronograma thead th {
	padding: 15px 30px;
	text-align: left;
	color: #fff;
	font-size: 20px;
	font-weight: 600;
}
.csr-agenda .cronograma tbody tr {
	border-bottom: 1px solid #e2e8f0;
}
.csr-agenda .cronograma .data-col,
.csr-agenda .cronograma .atividade {
	padding: 20px 20px;
	vertical-align: middle;
}

/* Coluna de data */
.csr-agenda .data-col {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 180px;
}
.csr-agenda .data-badge {
	width: 60px;
	height: 60px;
	border-radius: 12px;
	color: #fff;
	text-align: center;
	font-weight: bold;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.csr-agenda .data-badge .mes {
	font-size: 14px;
	line-height: 1;
}
.csr-agenda .data-badge .dia {
	font-size: 18px;
	line-height: 1.2;
}
.csr-agenda .data-texto {
	font-size: 16px;
	color: #1f2937;
}

/* Atividade */
.csr-agenda .atividade strong {
	display: block;
	font-size: 20px;
	color: #0f172a;
	margin-bottom: 4px;
}
.csr-agenda .atividade p {
	font-size: 18px;
	color: #475569;
	margin: 0;
}

/* Cores dos badges */
.csr-agenda .verde {
	background: #00c853;
}
.csr-agenda .azul {
	background: #1a3cff;
}
.csr-agenda .amarelo {
	background: #facc15;
	color: #1f2937;
}
.csr-agenda .vermelho {
	background: #ff0000;
}

/* Wrapper para scroll horizontal */
.csr-agenda .cronograma-wrapper {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* Garante largura mínima da tabela */
.csr-agenda .cronograma {
	min-width: 700px;
}
.csr-agenda .cronograma-wrapper::-webkit-scrollbar {
	height: 6px;
}
.csr-agenda .cronograma-wrapper::-webkit-scrollbar-thumb {
	background: #cbd5f5;
	border-radius: 10px;
}

/* Configurações Mobile da tabela */
@media(max-width:775px) {
	.csr-agenda .data-col {
		display: block;
		min-width: 80px;
		gap: 5px;
	}
	.csr-agenda .cronograma .data-col,
	.csr-agenda .cronograma .atividade {
		padding: 15px 10px;
	}
	.csr-agenda .cronograma thead th {
		padding: 10px 20px;
		font-size: 16px;
	}
	.csr-agenda .data-badge {
		width: 40px;
		height: 40px;
		border-radius: 5px;
		margin: 0 auto !important;
		text-align: center !important;
	}
	.csr-agenda .data-texto {
		font-size: 12px;
		margin-top:10px;
		text-align: center !important;
	}
	.csr-agenda .data-badge .mes {
		font-size: 11px;
	}
	.csr-agenda .data-badge .dia {
		font-size: 12px;
	}
	.csr-agenda .atividade strong {
		font-size: 16px;
	}
	.csr-agenda .atividade p {
		font-size: 14px;
	}
	.csr-agenda .cronograma {
		min-width: 330px;
	}
}
@media(max-width:445px) {
	.csr-agenda .atividade strong {
		font-size: 14px;
	}
	.csr-agenda .atividade p {
		font-size: 13px;
	}
}


/* -- Grid de postagens -- */

.csr-noticias .eael-entry-header h2 {
	padding-top: 0 !important;
	margin-top: 0 !important;
}
.csr-noticias .eael-grid-post .eael-entry-wrapper {
	padding: 25px 0 0 0 !important;
}

.csr-noticias .eael-entry-media img {
	border: 1px solid #ccc !important;
}


/* -- Reset de margens dos títulos -- */

.csr-participantes h4, .csr-quem-promove h4 {
	margin: 0 !important;
}


/* -- CSS dos itens de quem pode participar --  */
.csr-qp-wrapper {
	display: inline-block;
	padding: 20px;
}

.csr-qp-title {
	position: relative;
	font-family: 'Chinese Rocks', sans-serif !important;
	font-size: 28px !important;
	color: #000000;
	margin: 0;
	padding: 0;
	line-height: 1;
	letter-spacing: 2px;
	text-transform: uppercase;
	z-index: 1;
}

/* A tarja amarela */
.csr-qp-title::before {
	content: "";
	position: absolute;
	top: -10%; 
	left: -12px;
	right: -10px;
	height: 70%; 
	background-color: #FFD000;
	z-index: -1;
}
.csr-qp-text {
	max-width: 500px;
	padding: 0 0 0 30px;
	margin: -15px 0 0 0;
	font-size: 16px;
}
.csr-qp-conteiner {
	position: relative;
	z-index: 1;
}
@media (max-width: 968px) {
	.csr-qp-conteiner::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		/* Ajuste o 0.6 (60%) para mais ou menos transparência */
		background-color: rgba(255, 255, 255, 1); 
		z-index: -1; /* Fica atrás do texto, mas na frente da imagem */
	}
	.csr-qp-text {
		font-weight: bold;
		text-shadow: 
		-1px -1px 0 #fff,  
		1px -1px 0 #fff,
		-1px  1px 0 #fff,
		1px  1px 0 #fff;
	}
	.csr-qp-title {
		  font-size: 20px !important;
	}
	.csr-qp-title::before {
		content: "";
		top: -10%; 
		left: -12px;
		right: -10px;
		bottom: -10%;
		height: 100%; 
	}
}



/* -- O que é a campanha? --  */
.sub-campanha-wrapper p {
	position: relative;
	margin: 0 0 0 20px !important;
	font-size: 16px;
	font-family: 'Muli';
	text-align:left;
	color: #000;
	font-weight: bold;
	z-index: 2;
	letter-spacing: 1px;
	line-height: 22px;
}


/* -- Eixos temáticos -- */

/* lista */
.csr-eixos {
	background: #00d632; 
	padding: 10px; 
	border-radius: 50%; 
	color: #fff; 
	font-weight: bold; 
	margin-right: 10px;
}


/* -- Slider com Swiper -- */
.hero-slider {
	position:relative;
	color:#fff;
	width:100%;
}
.hero-slide > img {
	width:100% !important;
	height:700px !important;
	object-fit:cover !important;
	display:block !important;
}
.hero-slide .csr-img-logotipo {
	width: 100%;
	max-width: 400px;
	margin-bottom: 20px;
}
.hero-content {
	position:absolute;
	left:10%;
	right:10%;
	bottom:20%;
	z-index:2;
	max-width:800px;
}
.hero-content h2 {
	font-family: 'Mighty Souly', sans-serif !important;
	font-size:48px !important;
	font-weight:400 !important;
	margin-bottom:20px !important;
	color: #fff !important;
}
.hero-content p {
	font-size:20px;
	margin-bottom:30px;
	color: #fff;
	padding-right: 40px;
}
.hero-btn {
	display:inline-block;
	padding:12px 25px;
	border:1px solid #fff;
	border-radius: 10px;
	color:#fff;
	text-decoration:none;
	transition: 0.5s;
}
.hero-btn:hover {
	background: #fff;
}
.hero-slide::before {
	content:"";
	position:absolute;
	inset:0;
	background:rgba(0,0,0,0.65); /* controla a escuridão aqui */
	z-index:1;
}
.hero-content {
	position:absolute;
	left:10%;
	bottom:20%;
	width: 100%;
	z-index:2;
}
.swiper-button-next,
.swiper-button-prev {
	color:#fff;
}
.swiper-button-next::after,
.swiper-button-prev::after {
	font-size:30px;
}
.swiper-button-next {
	right:30px;
}
.swiper-button-prev {
	left:30px;
}

/* Mobile do slide/carrossel */
@media(max-width:768px) {
	.hero-slider,
	.hero-slide > img {
		height:450px;
	}
	.hero-content {
		left:5%;
		right:5%;
		bottom:15%;
		max-width:100%;
	}
	.hero-content h2 {
		font-size:32px;
	}
	.hero-content p {
		font-size:15px;
	}
	.swiper-button-next {
		right:0px;
	}
	.swiper-button-prev {
		left:0px;
	}
}
@media(max-width:450px) {
	.hero-slide .csr-img-logotipo {
		max-width: 250px;
	}
}

/* -- CSS do formulário - janela flutuante -- */
#lp-mc-popup {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 320px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0,0,0,.2);
	padding: 20px;
	z-index: 99999;
	font-family: 'Muli', sans-serif;
	display: none;
}
#lp-mc-popup.hidden {
	display: none;
}
#lp-mc-close {
	position: absolute;
	top: 8px;
	right: 10px;
	cursor: pointer;
	font-size: 18px;
	font-weight: bold;
}
#lp-mc-popup input {
	width: 100%;
	font-size: 14px;
	padding: 5px 8px;
	margin-bottom: 5px;
	border-radius: 6px;
	border: 1px solid #ccc;
}
#lp-mc-popup input::placeholder {
	font-size: 14px;
}
#lp-mc-popup::placeholder {
	font-size: 10px;
}
#mc-embedded-subscribe {
	margin-top: 10px;
	width: 100%;
	background: #FF0000;
	color: white;
	border: none;
	padding: 5px;
	font-size: 16px;
	border-radius: 6px;
	cursor: pointer;
	transition:0.5s;
}
#mc-embedded-subscribe:hover {
	background: #ad0000;
}
#lp-success {
	display: none;
	text-align: center;
	font-weight: bold;
	padding: 20px 0;
}
.indicates-required {
	margin-bottom: 10px;
}


/* -- Esconder Sessões -- */

.csr-webnarios {
	display: none !important;
}