/*
Theme Name: Kit Escolar 1.0.1
Theme URI: https://jundiai.sp.gov.br/kitescolar/
Author: CIJUN
Author URI: https://cijun.sp.gov.br/
Template: prefeituradejundiai-capa-5.0
Description: Hotsite da campanha Kit Escolar.
Version: 1.0.1
*/

/* ----- TABELA DE CORES ----------------------------------------------------------------------- */

:root {
	--background:	#F2F8FD;
	--main:			#072380;
	--medium:		#E8F3FE;
	--accent:		#0151FB;
}	

/* ----- SOBRESCREVE O TEMA PARENT ------------------------------------------------------------- */

* {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

body {
	font-family: "Montserrat", sans-serif;
	font-size: 18px;
	font-weight: 400;

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

#header {
	margin-bottom: 40px;
}

#botao-menu,
.menu-principal-container {
	display: none;
}

#main {
	background-color: var(--background);
	max-width: none;
}

#main .container {
	min-width: 320px;
	max-width: 1400px;
	padding-top: 40px;
	padding-bottom: 40px;
	padding-inline: 20px;
}

#content {
	padding: 0;
}

#rodape {
	margin-top: 0;
}

#desenvolvido-por {
	color: #999;
}

strong, b {
	font-weight: 600;
}

@media only screen and (min-width: 1430px) {

	#main .container {
		padding-inline: 0;
	}

}


/* ----- ESTILOS GERAIS ------------------------------------------------------------------------ */

.bloco-home {}

.titulo-home {
	color: var(--main);
	margin: 0 0 0.5em;
	line-height: 1.1;
	font-size: clamp(32px, 1.75rem + 1.25vw, 52px);
	font-weight: 800;
}

.texto-home {
	color: var(--main);
}

/* ----- UNIFORME ESCOLAR ---------------------------------------------------------------------- */

#uniforme {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center right;
	aspect-ratio: 10/3;
	height: auto;
}

#uniforme .wp-block-columns {
	max-width: 450px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
}

@media only screen and (max-width: 599px) {

	#uniforme .titulo-home {
		margin-bottom: 150px;
	}

	#uniforme .texto-home p {
		background: rgba(255,255,255,0.8);
		border-radius: 5px;
		aspect-ratio: none;
		padding: 10px;
	}

}

@media only screen and (min-width: 600px) {

	#uniforme .titulo-home {
		max-width: 60%;
	}

	#uniforme .texto-home {
		max-width: 40%;
	}

}


/* ----- ÍCONES -------------------------------------------------------------------------------- */

#icones .wp-block-column {
	max-width: 900px;
	margin-inline: auto;
	align-items: center;
}

#icones .wp-block-media-text {
	max-width: 350px;
	margin-inline: auto;
}

#icones wp-block-media-text__media {
	min-width: 48px;
}

#icones .wp-block-media-text__content {
	max-width: 280px;
}

#icones .wp-block-columns,
#icones .wp-block-media-text .wp-block-paragraph {
	margin-bottom: 0;
}

#icones img {
	width: 48px;
	height: 48px;
}


/* ----- O QUE É O BENEFÍCIO ------------------------------------------------------------------- */

#beneficio {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center top;
	aspect-ratio: 10/3;
	height: auto;
}

@media only screen and (max-width: 599px) {

	#beneficio .titulo-home {
		max-width: 310px;
	}

	#beneficio .texto-home p {
		background: rgba(255,255,255,0.8);
		border-radius: 5px;
		aspect-ratio: none;
		padding: 10px;
	}

}

@media only screen and (min-width: 600px) {

	#beneficio .titulo-home {
		max-width: 60%;
	}

	#beneficio .texto-home {
		max-width: 40%;
	}

}

@media only screen and (min-width: 1020px) {
	#beneficio {
		background-color: white;
		background-position-y: -5vw;
		background-position-x: right;
		background-size: 77% 137%;
	}
}


/* ----- COMO FUNCIONA ------------------------------------------------------------------------- */

#como-funciona {}

#como-funciona .wp-block-columns {
	align-items: center;
}

#como-funciona .wp-block-media-text {
	background: #fff;
	border-radius: 18px;
	margin-inline: auto;
	padding: 20px;
	font-size: 16px;
	box-shadow: 0px 3px 6px #00000029;
	flex: 1;
	display: flex;
	align-items: center;
}

#como-funciona .wp-block-columns,
#como-funciona .wp-block-media-text .wp-block-paragraph {
	margin-bottom: 0;
}

#como-funciona .wp-block-media-text figure {
	background-color: var(--medium);
	border-radius: 50%;
	aspect-ratio: 1/1;
	width: fit-content;
	height: auto;
	padding: 20px;
}

#como-funciona .wp-block-media-text img {
	width: 48px;
	height: 48px;
	margin-inline: auto;
}

@media only screen and (min-width: 800px) {
	
	#como-funciona .wp-block-media-text {
		max-width: 350px; 
	}

}


/* ----- APLICATIVO ---------------------------------------------------------------------------- */

#aplicativo {
	background-repeat: no-repeat;
	background-size: auto 84%;
	background-position: left bottom;
}

#aplicativo .wp-block-media-text {
	background: #fff;
	font-size: 16px;
	padding: 20px;
	box-shadow: 0px 3px 6px #00000029;
	border-radius: 18px;
	margin-bottom: 20px;
}

#aplicativo .wp-block-media-text figure {
	margin-inline: auto;
	max-width: 60px;
}

#aplicativo .wp-block-media-text img {
	width: 48px;
	height: 48px;
	margin-inline: auto;
}

#aplicativo .wp-block-group,
#aplicativo .wp-block-group .wp-block-paragraph {
	margin-bottom: 0;
}

@media only screen and (min-width: 600px) {

	#aplicativo {
		background-repeat: no-repeat;
		background-size: auto 100%;
		background-position: calc(100% + 300px) center;
	}

	#aplicativo .titulo-home {
		max-width: 60%;
	}

	#aplicativo .texto-home {
		max-width: 600px;
	}

}

@media only screen and (min-width: 1180px) {
	
	#aplicativo {
		background-position: calc(100% + 100px) center;
	}

}


/* ----- VOCÊ É LOJISTA? ----------------------------------------------------------------------- */

#lojista {}

#lojista .container {
	background: var(--medium);
	border-radius: 18px;
	padding-inline: 20px;	
}

@media only screen and (min-width: 1430px) {
	#lojista .container {
		max-width: 1440px;
	}
}

#lojista .wp-block-columns {
	margin-bottom: 0;
}

#lojista .wp-element-button,
#lojista .wp-block-button__link {
	background: var(--accent);
	border-radius: 13px;
	padding: 20px 30px;
	line-height: 1;
	font-weight: 600;
	font-size: 16x;
	text-transform: uppercase;
}


/* ----- DÚVIDAS FREQUENTES -------------------------------------------------------------------- */

#duvidas-frequentes .wp-block-details {
	background: #fff;
	font-size: 16px;
	padding: 20px;
	box-shadow: 0px 3px 6px #00000029;
	border-radius: 18px;
	margin-bottom: 20px;
}

#duvidas-frequentes details summary {
	font-weight: 600;
}

#duvidas-frequentes details[open] > summary {
	margin-bottom: 20px;
}

#duvidas-frequentes details p:last-of-type {
	margin-bottom: 0;
}


/* ----- NÃO ENCONTROU O QUE PRECISAVA? ATENDIMENTO -------------------------------------------- */

#atendimento {
	margin-bottom: 40px;
}

#atendimento .container {
	background: var(--medium);
	border-radius: 18px;
	padding-inline: 40px;
}

#atendimento .wp-block-columns {
	margin-bottom: 0;
}

#atendimento .wp-element-button,
#atendimento .wp-block-button__link {
	background: var(--accent);
	border-radius: 13px;
	padding: 20px 30px;
	line-height: 1;
	font-weight: 600;
	font-size: 16x;
	text-transform: uppercase;
}